@charset "UTF-8";
:root{--plot-h:148px}
:root{--navy:#102d41;--ink:#17374b;--muted:#667f8e;--line:#dce5eb;--paper:#fff;--bg:#f0f4f7;--teal:#007f78;--mint:#d9f5eb;--amber:#b66c16;--blue:#407dcc;--shadow:0 2px 7px #15354a08; font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:16px}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #20adba;outline-offset:2px}button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:6px;padding:7px 12px;font-size:.875rem;font-weight:600;transition:background .15s}button:hover:not(:disabled){background:#eef5f7}input,select{width:100%;min-height:36px;border:1px solid #cbd8e1;border-radius:5px;background:#fff;color:var(--ink);padding:6px 8px;font-size:.875rem;font-variant-numeric:tabular-nums}input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--teal)}input:invalid{border-color:#ba3838}label{font-size:.875rem}small{font-size:.75rem}.hidden{display:none!important}.topbar{height:78px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.brand{display:flex;align-items:center;gap:12px;font-size:1.48rem;font-weight:650;letter-spacing:-.6px}.brand>div>span{font-weight:350;color:#9cdfcf}.brand small{display:block;font-weight:500;letter-spacing:1.8px;font-size:.625rem;color:#92adbc;margin-top:4px}.brand-mark{position:relative;color:#73e4c2;font-weight:800;font-size:2.5rem;line-height:1}.brand-mark>span{position:absolute;font-size:1.2rem;right:-5px;bottom:-4px}.header-right{display:flex;gap:24px;align-items:center}.local-label{font-size:.75rem;letter-spacing:1.2px;color:#a6c1ce}.language{display:flex;border:1px solid #4b6373;border-radius:6px;padding:3px}.language button{padding:5px 9px;border:0;background:transparent;color:#c5d8e0}.language button.selected{background:#fff;color:var(--navy)}.workspace{display:grid;grid-template-columns:340px minmax(0,1fr);gap:22px;max-width:1780px;margin:0 auto;padding:22px 28px 12px}.inputs{align-self:start;position:sticky;top:16px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);max-height:calc(100vh - 145px);display:flex;flex-direction:column}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 12px}h1{font-size:1.05rem;margin:0;font-weight:650}.text-button{border:0;padding:4px 0;background:none;color:var(--muted);font-size:.75rem}.input-tabs{display:flex;padding:0 16px;border-bottom:1px solid var(--line);gap:15px}.input-tabs button,.view-tabs button{border:0;border-radius:0;background:none;padding:11px 1px;color:var(--muted);border-bottom:2px solid transparent}.input-tabs button.active,.view-tabs button.active{color:var(--teal);border-bottom-color:var(--teal)}#input-content{padding:18px;overflow:auto;scrollbar-width:thin}.input-footer{padding:12px 18px;border-top:1px solid var(--line);color:var(--muted);font-size:.75rem;display:flex;flex-direction:column;gap:4px}.field{display:block;margin-bottom:12px}.field>span{display:block;margin-bottom:6px;color:var(--muted);font-size:.8125rem}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.full{grid-column:1/-1}.section-label{font-size:.75rem;letter-spacing:1.3px;font-weight:700;margin:22px 0 12px;color:var(--muted)}.section-label:first-child{margin-top:0}.span-count{display:flex;gap:7px}.span-count button{flex:1;padding:7px 0}.span-count .active{background:var(--navy);color:#fff;border-color:var(--navy)}.span-row{display:grid;grid-template-columns:64px 1fr 22px;align-items:center;gap:10px;margin-bottom:8px;font-size:.875rem}.span-tag{border-left:3px solid var(--teal);padding-left:9px}.unit{font-size:.75rem;color:var(--muted)}.support-row{display:grid;grid-template-columns:64px 1fr;align-items:center;margin-bottom:8px;gap:10px;font-size:.875rem}.help{font-size:.8125rem;line-height:1.5;color:var(--muted);margin:10px 0}.note{padding:10px 12px;background:#eef5f7;border-left:3px solid #86b8c5;font-size:.8125rem;line-height:1.5;color:#486777}.toggle-row{display:flex;align-items:center;gap:8px;font-size:.875rem; margin:12px 0}.results{min-width:0}.result-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}.segmented{display:inline-flex;padding:3px;background:#e2eaf0;border-radius:7px;gap:2px}.segmented button{border:0;background:transparent;padding:6px 12px;white-space:nowrap}.segmented .active{background:#fff;box-shadow:0 1px 4px #20374718}.segmented.small button{font-size:.8125rem;padding:5px 9px}#status{color:var(--muted);font-size:.75rem;max-width:45%;text-align:right}#status.busy:before{content:"";display:inline-block;width:9px;height:9px;border:2px solid #b2cbd5;border-top-color:var(--teal);border-radius:50%;margin-right:8px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.structure-panel{background:var(--navy);border-radius:9px;padding:14px 18px 9px;color:#fff;overflow:hidden}.structure-heading{display:flex;justify-content:space-between;font-size:.6875rem;letter-spacing:1.2px;color:#b4cbd5}.structure-heading span:last-child{letter-spacing:0;font-size:.8125rem}#beam{width:100%;display:block;height:136px}.load-caption{font-size:.75rem;color:#c0d4df;min-height:18px;white-space:normal}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-top:14px}.metric{background:#fff;padding:12px 15px;border:0;border-radius:0;text-align:left;min-width:0}.metric-label{font-size:.6875rem;letter-spacing:.8px;font-weight:600;text-transform:uppercase;color:var(--muted)}.metric-value{display:flex;gap:7px;align-items:baseline;margin-top:4px;font-size:1.48rem;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.6px}.metric-value small{font-size:.75rem;font-weight:400;letter-spacing:0;color:var(--muted)}.metric-location{font-size:.6875rem;color:var(--muted);margin-top:2px}.metric:nth-child(1) .metric-value{color:var(--teal)}.metric:nth-child(2) .metric-value{color:var(--amber)}.chart-toolbar{display:flex;align-items:center;justify-content:space-between;margin-top:12px;border-bottom:1px solid var(--line);gap:8px}.view-tabs{display:flex;gap:20px}.export-buttons{display:flex;gap:6px}.export-buttons button{font-size:.75rem;padding:5px 9px}.result-view{background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 8px 8px;padding:12px 16px 0}.display-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;flex-wrap:wrap}.legend{color:var(--muted);font-size:.75rem;display:flex;align-items:center;gap:6px}.legend i{display:inline-block;width:19px;height:9px;background:#d2eee5;border-top:2px solid var(--teal);border-bottom:1px solid var(--teal)}.chart-row{position:relative;display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;border-top:1px solid #edf1f4;min-height:var(--plot-h)}.chart-label{font-size:.875rem;font-weight:600}.chart-label small{display:block;color:var(--muted);font-size:.6875rem;font-weight:400;margin-top:3px}.plot{width:100%;height:var(--plot-h);overflow:visible;touch-action:pan-y;cursor:crosshair}.plot text{font-family:"Segoe UI",sans-serif;font-size:calc(11.5px / var(--k,1));fill:#8097a3}.station-readout{border-top:1px solid var(--line);min-height:37px;font-size:.75rem;display:flex;align-items:center;gap:20px;color:var(--muted);flex-wrap:wrap}.station-readout b{color:var(--ink);font-variant-numeric:tabular-nums;font-weight:600}.result-footer{display:flex;justify-content:space-between;font-size:.6875rem;color:var(--muted);padding:10px 0;gap:12px;flex-wrap:wrap}.warning{display:flex;justify-content:center;align-items:center;gap:9px;padding:9px 20px 14px;color:#6f7471;font-size:.75rem}.warning-symbol{width:15px;height:15px;border:1px solid #bd943d;border-radius:50%;text-align:center;line-height:14px;color:#99751d;font-weight:bold;font-size:.625rem}.error{background:#ffebe7;color:#9c3325;border:1px solid #e9b5aa;padding:12px;border-radius:6px;margin-bottom:12px;font-size:.875rem}.section-card,.load-card{border:1px solid var(--line);padding:12px;border-radius:7px;margin-bottom:12px}.card-head{display:flex;gap:8px;align-items:center;margin-bottom:12px}.card-head input{font-weight:600;background:#f7fafb}.icon-button{padding:3px 8px;font-size:1.2rem;color:var(--muted)}.add-button{width:100%;border-style:dashed;color:var(--teal);margin-bottom:10px}.section-svg{width:100%;height:125px;display:block;margin:0 auto 10px}.section-props{background:#e8f5ef;padding:9px;border-radius:5px;display:flex;gap:10px;justify-content:space-between;color:#166358;font-size:.6875rem;margin-bottom:12px}.dimensions{gap:0 10px}.dimensions .field{margin-bottom:8px}.dimensions input{padding:5px 7px}.dimensions .field>span{font-size:.75rem}.zone{padding:10px 0;border-top:1px solid var(--line)}.zone .field{margin-bottom:6px}.zone-heading{display:flex;align-items:center;justify-content:space-between;font-size:.75rem;font-weight:600;margin-bottom:6px}.position-controls{display:flex;align-items:center;gap:8px}.position-controls input{width:85px;min-height:29px;padding:3px 6px}.position-controls label{font-size:.75rem}.position-controls button{padding:4px 8px;font-size:.75rem}.governing{background:#eaf6f2;color:#266556;padding:8px 10px;margin-bottom:9px;border-radius:5px;font-size:.75rem;line-height:1.5;display:flex;justify-content:space-between;align-items:center;gap:8px}.table-options{display:flex;align-items:center;gap:12px;margin-bottom:10px;font-size:.875rem}.table-options input{width:75px}.table-scroll{overflow:auto;max-height:390px}table{border-collapse:collapse;width:100%;font-size:.75rem;font-variant-numeric:tabular-nums;white-space:nowrap}th{text-align:right;padding:10px 8px;background:#edf3f6;color:#547285;position:sticky;top:0;font-weight:600;z-index:1}td{text-align:right;padding:8px;border-bottom:1px solid #edf2f5}td:first-child,th:first-child{text-align:left}tr:hover td{background:#f0f8f5}.support-station td{background:#f2f6f9;font-weight:600}.table-footnote{font-size:.75rem;color:var(--muted);padding:12px 0;line-height:1.5}.method-content{font-size:.875rem;line-height:1.65;max-height:430px;overflow:auto;padding-bottom:16px}.method-content h3{font-size:.95rem;margin:12px 0 5px}.method-content p{margin:0 0 12px}.method-content a{color:var(--teal)}.factor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:10px 0}.factor-grid div{background:#edf5f7;border-radius:5px;padding:8px;text-align:center;font-size:.75rem}.factor-grid b{display:block;color:var(--teal);font-size:1rem;margin-top:2px}.stale{opacity:.55;pointer-events:none}.axle-table input{min-height:30px;padding:3px 5px;width:82px}.axle-table td,.axle-table th{padding:4px;font-size:.75rem}.case-breakdown{font-size:.75rem;padding:8px 0;color:var(--muted)}
@media(min-width:1500px){.workspace{grid-template-columns:365px minmax(0,1fr)}:root{--plot-h:172px}#beam{height:154px}.metric-value{font-size:1.7rem}}
@media(max-width:1100px){.workspace{grid-template-columns:300px minmax(0,1fr);gap:14px;padding:18px}.metric{padding:10px}.metric-value{font-size:1.2rem}.view-tabs{gap:12px}.view-tabs button{font-size:.8125rem}.chart-row{grid-template-columns:75px minmax(0,1fr)}.legend{display:none}.topbar{padding:0 20px}}
@media(max-width:800px){.workspace{grid-template-columns:1fr;padding:14px;gap:16px}.inputs{position:static;max-height:520px}.topbar{height:70px;padding:0 16px}.brand{font-size:1.25rem}.local-label{display:none}.header-right{gap:10px}.brand small{font-size:.5rem}.metrics{grid-template-columns:repeat(2,1fr)}.metric-value{font-size:1.4rem}.result-toolbar{align-items:flex-start}#status{font-size:.6875rem}.chart-toolbar{flex-wrap:wrap}.view-tabs{gap:15px}.export-buttons{padding-bottom:6px}.station-readout{gap:9px;padding:8px 0}.result-view{padding:10px 10px 0}.chart-row{grid-template-columns:64px minmax(0,1fr)}.chart-label{font-size:.8125rem}.warning{font-size:.6875rem;line-height:1.5}.structure-panel{padding:12px}#beam{height:125px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.collapse-inputs{display:none;font-size:1.25rem;padding:0 12px;margin-right:12px}.inputs.collapsed .input-tabs,.inputs.collapsed #input-content,.inputs.collapsed .input-footer{display:none}
@media(max-width:800px){.collapse-inputs{display:inline-block}.inputs{max-height:340px}.metrics{grid-template-columns:repeat(4,1fr)}.metric-label{font-size:.625rem;letter-spacing:.4px}.metric-value{font-size:1.2rem;gap:4px}.metric-value small{font-size:.625rem}.metric-location{font-size:.625rem}}
@media(max-width:500px){.metrics{grid-template-columns:repeat(2,1fr)}.metric-value{font-size:1.4rem}}
@media(min-width:801px) and (max-height:950px){.topbar{height:66px}.workspace{padding-top:16px;gap:18px}.structure-panel{padding-top:10px;padding-bottom:7px}#beam{height:108px}.metric{padding:10px 13px}.metric-value{font-size:1.4rem}.metrics{margin-top:10px}:root{--plot-h:124px}.result-toolbar{margin-bottom:10px}.chart-toolbar{margin-top:7px}.result-footer{padding:8px 0}.inputs{max-height:calc(100vh - 110px)}}

input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
input[type=number]{appearance:textfield;-moz-appearance:textfield}
.release-info{display:flex;flex-direction:column;gap:4px;font-size:.8rem;text-align:right;color:#ecf6f5}.release-info small{font-size:.75rem;color:#b5cbd6}
.disclaimer{max-width:1300px;margin:0 auto;padding:0 28px 20px;font-size:.8rem;line-height:1.5;color:#617884}
.project-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 18px 12px;border-bottom:1px solid var(--line)}.project-identity{min-width:0;display:flex;align-items:center;gap:6px;font-size:.75rem;flex:1}.project-identity input{min-width:0;min-height:28px;border:0;background:transparent;padding:3px 2px;font-weight:650}.project-identity span{color:var(--amber);font-size:.68rem;white-space:nowrap}.project-actions{display:flex;gap:5px}.project-actions button{padding:4px 7px;font-size:.7rem}.primary{background:var(--navy);color:#fff;border-color:var(--navy)}dialog{border:0;border-radius:10px;box-shadow:0 18px 60px #102d4140;max-width:430px;color:var(--ink);padding:0}dialog::backdrop{background:#102d4170}dialog form{padding:22px}dialog h2{font-size:1.05rem;margin:0 0 8px}dialog p{font-size:.875rem;line-height:1.5;color:var(--muted);margin:0 0 18px}.dialog-actions{display:flex;justify-content:flex-end;gap:7px}.thermal-card{border-left:3px solid #d17739;background:#fffaf5}.thermal-gradient{height:54px;border-radius:6px;margin:8px 0 14px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:7px 12px;font-size:.72rem;color:#163b4d}.thermal-gradient.positive{background:linear-gradient(#ef9a6c,#f5e8cf 48%,#9ac8dc)}.thermal-gradient.negative{background:linear-gradient(#9ac8dc,#f5e8cf 48%,#ef9a6c)}.thermal-gradient.neutral{background:#f5e8cf}.thermal-badge{display:inline-flex;align-items:center;gap:6px;color:#ffd4ad}.thermal-badge:before{content:"";width:28px;height:7px;border-radius:4px;background:linear-gradient(90deg,#78bad5,#f2d8b8,#e88357)}
.ei-symbol{display:flex;align-items:center;justify-content:center;gap:12px;font-size:2.4rem;color:#008378}.ei-symbol small{font-size:.9rem}.section-props{flex-wrap:wrap;gap:8px}
.excel-file{font-size:.75rem;color:#007f78;align-self:center;padding:6px}
@media(max-width:600px){.release-info{font-size:.65rem}.release-info small{font-size:.6rem}.header-right{gap:8px}.brand small{display:none}.local-label{display:none}}

/* Manual vehicle-position slider */
.position-controls input[type=number]{width:85px;min-height:29px;padding:3px 6px}.position-controls input[type=range]{width:clamp(110px,18vw,220px);min-height:22px;padding:0;accent-color:var(--teal)}
.focus-results .inputs{display:none}.focus-results .workspace{grid-template-columns:minmax(0,1fr);max-width:1900px}.focus-results{--plot-h:190px}#focus-results[aria-pressed=true]{background:var(--navy);color:#fff;border-color:var(--navy)}

.stiffness-warning{background:#fff6e5;color:#7a4b00;border:1px solid #efcf8f;border-radius:6px;padding:8px 10px;margin:0 0 10px;font-size:.8125rem;line-height:1.5}.stiffness-warning small{color:#8a6a2f}.stiffness-plot{width:100%;height:var(--plot-h);overflow:visible}.stiffness-plot text,.plot text.peak-label{font-family:"Segoe UI",sans-serif;font-size:calc(11.5px / var(--k,1))}.plot text.peak-label{font-weight:600;paint-order:stroke;stroke:#fff;stroke-width:calc(3px / var(--k,1))}.stiffness-plot text{fill:#8097a3}
.grid-line{stroke:#edf2f5;stroke-width:.8}.plot text.tick,.il-plot text.tick{font-size:calc(10px / var(--k,1));fill:#9fb1bb;paint-order:stroke;stroke:#fff;stroke-width:calc(3px / var(--k,1))}.il-plot{width:100%;height:var(--plot-h);overflow:visible;cursor:crosshair}.il-plot text{font-family:"Segoe UI",sans-serif;font-size:calc(11.5px / var(--k,1));fill:#8097a3}.il-plot text.peak-label{font-weight:600;paint-order:stroke;stroke:#fff;stroke-width:calc(3px / var(--k,1))}.il-hint{margin:6px 0 2px}
.span-tag{white-space:nowrap}.span-row{grid-template-columns:78px 1fr 22px}
.uplift-warning{background:#ffebe7;color:#9c3325;border:1px solid #e9b5aa;border-radius:6px;padding:8px 10px;margin:0 0 10px;font-size:.8125rem;line-height:1.5}


.fixed-note{margin-top:8px}.play-button{font-weight:600}
.spring-row{display:flex;gap:10px;align-items:flex-end;margin:-2px 0 8px}.spring-row .field{flex:1;margin:0}.fixity{font-size:.75rem;color:#b07a1f;font-weight:600;white-space:nowrap;padding-bottom:10px}
#qb-splash{position:fixed;inset:0;z-index:9999;background:#061520;display:flex;align-items:center;justify-content:center;transition:opacity .55s ease,transform .6s cubic-bezier(.2,.7,.2,1);--sp-letter:.35em}
#qb-splash svg{width:100%;height:100%;display:block}
#qb-splash.sp-out{opacity:0;transform:scale(1.035);pointer-events:none}
#qb-splash .sp-small{font:500 11px "Segoe UI",system-ui,sans-serif;fill:#8fb3c4;letter-spacing:.06em}
#qb-splash .sp-dim{fill:#5f8699;font-size:10px}
#qb-splash .sp-amber{fill:#ffc978;font-weight:600;letter-spacing:.12em}
#qb-splash .sp-axle{font:600 10.5px "Segoe UI",system-ui,sans-serif;fill:#ffd99e}
#qb-splash .sp-word{font:700 46px "Segoe UI",system-ui,sans-serif;letter-spacing:var(--sp-letter)}
#qb-splash .sp-tag{font:500 13px "Segoe UI",system-ui,sans-serif;fill:#9cc2d2;letter-spacing:.28em;text-transform:uppercase}
#qb-splash .sp-support{opacity:0;transform-box:fill-box;transition:opacity .45s ease,translate .5s cubic-bezier(.2,1.6,.4,1);translate:0 14px}
#qb-splash.sp-supports-in .sp-support{opacity:1;translate:0 0}
#qb-splash-skip{position:absolute;right:22px;bottom:18px;border:1px solid #2c5b72;background:transparent;color:#8fb3c4;border-radius:50%;width:30px;height:30px;font-size:18px;line-height:1;cursor:pointer;opacity:.6}
#qb-splash-skip:hover{opacity:1;border-color:#56e0bb;color:#56e0bb}
@media (prefers-reduced-motion:reduce){#qb-splash{transition:opacity .2s}}
#qb-splash .sp-warn{fill:#f3b561}
#qb-splash .sp-error{position:absolute;left:50%;bottom:14%;transform:translateX(-50%);width:min(620px,calc(100% - 32px));background:rgba(40,16,14,.92);border:1px solid #e2725b;color:#ffe3dc;border-radius:10px;padding:16px 18px;font:14px/1.55 "Segoe UI",system-ui,sans-serif;box-shadow:0 18px 50px rgba(0,0,0,.45)}
#qb-splash .sp-error small{color:#f4b3a6;word-break:break-word}
#qb-splash .sp-error .text-button{color:#8ff3d6;font-weight:600;margin-top:10px;margin-right:18px;background:none;border:0;cursor:pointer;font-size:14px}
#qb-splash .sp-error .sp-close{color:#c9dbe3}
#excel.excel-off{opacity:.55;text-decoration:line-through}
/* v0.8 vibration modes (modes.js) */
#modes-mode{margin-left:6px;border-left:1px solid #c8d5de!important;border-radius:0 5px 5px 0}
.modal-mode .metrics,.modal-mode .chart-toolbar,.modal-mode .result-footer{display:none}
.modal-mode #modes-view{border-top:1px solid var(--line);border-radius:8px;margin-top:14px}
.modal-title{margin:4px 0 10px;font-size:.8125rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600}
.modal-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 18px;margin-bottom:10px}
.modal-controls{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;font-size:.8125rem}.modal-controls label{display:flex;align-items:center;gap:6px}
.modal-controls select,.modal-controls input{min-height:30px;padding:3px 6px;font-size:.8125rem}.modal-controls input{width:80px}
.modal-actions{display:flex;gap:10px;align-items:center}
.modal-spectrum-wrap{border-top:1px solid #edf1f4;padding-top:6px}
.modal-spectrum{display:block;overflow:visible}.modal-spectrum text{font-family:"Segoe UI",sans-serif;font-size:10px;fill:#8097a3}
.modal-spectrum .spec-label{font-size:10.5px;font-weight:600;fill:#17374b}
.modal-spectrum .spectrum-mode{cursor:pointer}.modal-spectrum .spectrum-mode.selected .spec-label{fill:#c0392b}
.modal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:10px 0 4px;transition:opacity .2s}
.modal-grid.stale{opacity:.45}
.modal-card{display:flex;flex-direction:column;gap:2px;text-align:left;padding:7px 8px 6px;border:1px solid var(--line);border-radius:8px;background:#fbfdfe}
.modal-card:hover{border-color:#9fd9cf;background:#f4fbf9}
.modal-card.selected{border-color:#008378;box-shadow:0 0 0 1px #008378 inset;background:#effaf6}
.modal-card svg{width:100%;height:54px;display:block}
.mc-head{display:flex;justify-content:space-between;align-items:baseline;font-size:.8125rem}.mc-head b{color:#008378;font-size:.9375rem}
.mc-foot{font-size:.6875rem;color:var(--muted);font-variant-numeric:tabular-nums}
.modal-hint{margin:6px 0 10px}
.modal-table{max-height:none}.modal-table tr[data-mode-index]{cursor:pointer}.modal-table tr.selected td{background:#effaf6;font-weight:600}
.plot path,.plot line,.il-plot path,.il-plot line,.stiffness-plot path,.stiffness-plot line,.stiffness-plot circle{vector-effect:non-scaling-stroke}

#beam{height:146px;overflow:visible}
.delta-toggle{display:inline-flex;align-items:center;gap:6px;font-size:.8125rem;color:var(--ink,#17374b);white-space:nowrap;cursor:pointer;padding:4px 9px;border:1px solid var(--line);border-radius:7px;background:#fff}.delta-toggle:has(input:checked){border-color:#c0392b;color:#a33329;background:#fdf1ef}.delta-toggle.hidden{display:none}.legend.delta i{background:#e8e2f3;border-top:2px solid #7a5bb5;border-bottom:0}
/* v0.8.6: isostatic span toggle beside each span length */
.span-row:has(.simple-toggle){grid-template-columns:78px 1fr 22px auto}.simple-toggle{display:inline-flex;align-items:center;gap:4px;font-size:.75rem;color:var(--muted);white-space:nowrap;cursor:pointer}.simple-toggle:has(input:checked){color:#a86a12;font-weight:600}.self-weight-card .field-row{margin-top:4px}
.modal-mode .chart-toolbar{display:flex}.modal-mode .view-tabs,.modal-mode #focus-results{display:none}
.compare-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 0 12px;font-size:.8125rem}.compare-head span{overflow-wrap:anywhere}
.compare-note{color:var(--muted);font-size:.75rem;margin:0 0 10px}.compare-legend{display:flex;flex-wrap:wrap;gap:18px;font-size:.75rem;margin:8px 0;color:var(--teal)}.compare-legend span+span{color:#b96f17}
.comparison-table{margin-bottom:14px}.comparison-table th,.comparison-table td{text-align:right}.comparison-table td:first-child{text-align:left}
.comparison-mode .metrics{display:none}

@media(max-width:650px){.result-toolbar{flex-wrap:wrap}.result-toolbar .segmented{flex-wrap:wrap;max-width:100%}.result-toolbar #status{max-width:100%;text-align:left}.structure-heading{letter-spacing:.5px}.compare-head{flex-wrap:wrap}.compare-head>div{display:flex;gap:5px}.compare-head button{font-size:.75rem}}

/* v0.9: the Δ switch stays next to the display modes, whatever the legend text */
.display-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.display-controls #legend{margin-left:auto}.delta-toggle{box-sizing:border-box;min-height:32px}
/* v0.9: S6-25 truck load fraction FT */
.axle-card{position:relative;margin:4px 0 14px;padding:12px 12px 10px;border-radius:9px;border:1px solid #d9c592;background:linear-gradient(135deg,#fffaf0,#f6fbf9);box-shadow:0 1px 6px #8a6d2414}
.axle-card.on{border-color:#c9a24f;box-shadow:0 2px 10px #8a6d2422}
.axle-head,.axle-view-head{display:flex;align-items:center;gap:10px;margin-bottom:4px}.axle-head b,.axle-view-head b{display:block;font-size:.9rem;color:#17374b}.axle-head small,.axle-view-head small{display:block;font-size:.72rem;color:var(--muted)}
.axle-badge{flex:none;display:inline-flex;align-items:center;justify-content:center;padding:4px 7px;border-radius:6px;background:#102d41;color:#ffd49a;font-size:.7rem;font-weight:700;letter-spacing:.04em}
.axle-card .toggle-row{margin:8px 0}
.axle-derived{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:.75rem;color:var(--muted);margin:6px 0 10px}.axle-derived b{color:#17374b;font-weight:600}
.axle-result{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding:8px 10px;margin:8px 0;border-radius:7px;background:#102d41;color:#dceaf0}
.axle-ft-label{font-size:.8rem;color:#9fc3d2}.axle-ft{font-size:1.45rem;color:#ffd49a;font-variant-numeric:tabular-nums}.axle-result small{flex-basis:100%;font-size:.72rem;color:#bdced7}
.axle-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.axle-actions button:not(.text-button){font-size:.8rem;padding:5px 9px}
.axle-warning{font-size:.75rem;color:#9a5b12;margin:6px 0 0}
.axle-tab{color:#8a6214}
.axle-view{max-width:1100px}.axle-view h3{margin:18px 0 6px;font-size:.95rem;color:#17374b}
.axle-table-view{border-collapse:collapse;font-size:.8rem;font-variant-numeric:tabular-nums}.axle-table-view th,.axle-table-view td{padding:4px 10px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.axle-table-view thead th{text-align:center;background:#102d41;color:#fff}.axle-table-view thead th small{display:block;font-weight:400;color:#ffd49a}
.axle-table-view tbody th{text-align:left;font-weight:500;color:var(--muted)}.axle-table-view td small{display:block;font-size:.65rem;color:var(--muted)}
.axle-group th{background:#eef4f7;color:#17374b!important;font-weight:600!important;text-align:left}
.axle-ftrow th{color:#17374b!important;font-weight:600!important}.axle-ftcell{font-weight:700;color:#8a4d0f;background:#fff7e8}.axle-ftcell sup{font-size:.6rem;color:#a33329;margin-left:2px}/* v0.9.1: FT tab — data first, compact full-width tables without scrolling */
.axle-inputs{display:grid;grid-template-columns:minmax(0,3fr) minmax(220px,1.3fr);gap:6px 18px;align-items:start;margin:10px 0 4px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fbfcfd}
.axle-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:4px 10px}.axle-grid .field,.axle-choice .field{margin:0}.axle-choice .toggle-row{margin:6px 0 0}
@media (max-width:760px){.axle-inputs{grid-template-columns:1fr}}
.axle-table-view{width:100%;table-layout:fixed;font-size:.72rem;margin:0 0 4px}.axle-table-view th,.axle-table-view td{padding:2px 5px;overflow:hidden;text-overflow:ellipsis}
.axle-table-view .axle-labelcol{width:9.5em}.axle-table-view thead th{font-weight:600;line-height:1.25}.axle-table-view thead th small{display:inline;font-size:.66rem}
.axle-table-view td small{display:inline;font-size:.62rem}.axle-table-view.selected{outline:2px solid #c9a24f;outline-offset:1px}
.axle-zones td{text-align:center;font-size:.8rem;color:#8a4d0f;background:#fff7e8}.axle-zones thead th small{display:block}
.axle-view h3{margin:12px 0 4px;font-size:.85rem}.axle-blocks{display:grid;gap:4px}
.axle-notes{margin-top:10px;font-size:.8rem}.axle-notes summary{cursor:pointer;color:var(--muted)}
.axle-mini{display:flex;gap:12px;flex-wrap:wrap;font-size:.75rem;color:var(--muted);margin:6px 0}.axle-mini b{color:#8a4d0f}
.axle-open{font-size:.8rem}.axle-apply{font-weight:600}.axle-replaces{font-size:.72rem;color:#8a6214;margin-top:-4px}
.axle-mark{font-size:calc(9.5px / var(--k,1));fill:#a47a1c}.axle-caption{color:#ffd49a}/* v0.9.2: collapsible input subsections */
.input-group{margin:0 0 10px;border:1px solid var(--line);border-radius:9px;background:#fff;overflow:hidden}
.input-group>summary{display:flex;align-items:center;gap:8px;padding:9px 12px;cursor:pointer;list-style:none;background:linear-gradient(180deg,#f6f9fb,#eef3f6);user-select:none}
.input-group>summary::-webkit-details-marker{display:none}
.input-group>summary::before{content:"";flex:none;width:7px;height:7px;border-right:2px solid #5d7d8c;border-bottom:2px solid #5d7d8c;transform:rotate(-45deg);transition:transform .15s;margin-right:2px}
.input-group[open]>summary::before{transform:rotate(45deg)}
.input-group>summary:hover{background:#e8f0f4}
.group-title{display:flex;align-items:center;gap:7px;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#17374b}
.group-title .axle-badge{font-size:.62rem;padding:2px 5px;letter-spacing:.04em}
.group-meta{margin-left:auto;font-size:.72rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55%}
.input-group[open]>summary{border-bottom:1px solid var(--line)}
.group-body{padding:10px 12px 4px}.group-body>.load-card:last-child,.group-body>.section-card:last-child{margin-bottom:8px}
.group-body .axle-card{margin:0 0 8px;border:0;box-shadow:none;background:none;padding:0}.axle-sub{display:block;font-size:.72rem;color:var(--muted)}
/* FT tab: inputs aligned on one baseline even when a label wraps */
.axle-grid{align-items:end}.axle-grid .field{display:flex;flex-direction:column;justify-content:flex-end;height:100%}
.axle-defs{display:grid;grid-template-columns:max-content 1fr;gap:3px 12px;margin:4px 0 10px}.axle-defs dt{font-weight:700;color:#17374b}.axle-defs dd{margin:0}/* v0.9.3bis: section properties window */
.sp-open{display:block;margin:2px 0 8px;font-size:.8rem;font-weight:600;color:#007f78}
.section-dialog{max-width:none;width:min(1440px,97vw);max-height:94vh;padding:0;border:0;border-radius:12px;box-shadow:0 20px 60px #0b1e2b66;overflow:auto;background:#fff;color:#17374b}
.section-dialog::backdrop{background:#0b1e2b99;backdrop-filter:blur(2px)}
.sp-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;padding:12px 16px;background:linear-gradient(180deg,#f6f9fb,#eef3f6);border-bottom:1px solid var(--line)}
.sp-head b{display:block;font-size:1rem}.sp-head small{display:block;font-size:.72rem;color:var(--muted)}.sp-close{margin-left:auto;font-size:1.3rem}
.sp-body{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.2fr) minmax(0,1.25fr);gap:16px;padding:14px 16px}
.sp-body>*{min-width:0}
@media (max-width:1180px){.sp-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.sp-results{grid-column:1 / -1}.sp-body .sp-figure{position:static}}
@media (max-width:720px){.sp-body{grid-template-columns:minmax(0,1fr)}.sp-body .sp-figure{position:static}}
.sp-body h3{margin:10px 0 6px;font-size:.74rem;letter-spacing:.06em;text-transform:uppercase;color:#5d7d8c}
.sp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px;align-items:end}.sp-grid .field{margin:0}
.sp-bars{display:grid;grid-template-columns:70px repeat(3,minmax(0,1fr));gap:4px 8px;align-items:end;margin-bottom:4px}.sp-bars b{font-size:.75rem;padding-bottom:10px}.sp-bars .field{margin:0}
.sp-toggle{margin:12px 0 4px;font-weight:600}
.sp-figure{position:sticky;top:64px;align-self:start;border:1px solid var(--line);border-radius:10px;background:#fbfcfd;padding:6px}
.sp-svg{width:100%;height:auto;display:block}#sp-figure .sp-svg{max-height:calc(94vh - 110px);margin:0 auto}
.sp-steel{fill:#cfe0e8;stroke:#36596b;stroke-width:1}.sp-haunch{fill:#e7e2d6;stroke:#a7987a;stroke-width:.8}.sp-concrete{fill:#efeae0;stroke:#a7987a;stroke-width:1}.sp-bar{fill:#8a4d0f}
.sp-axis{stroke:#5d7d8c;stroke-width:1.2}.sp-axis-label{font-size:10px;fill:#5d7d8c;text-anchor:end}
.sp-na-steel{stroke:#36596b;stroke-dasharray:4 3;fill:#36596b}.sp-na-3n{stroke:#7a5bb5;stroke-dasharray:4 3;fill:#7a5bb5}.sp-na-1n{stroke:#008378;stroke-dasharray:4 3;fill:#008378}
.sp-na-label{font-size:8.5px;stroke:none}.sp-point{stroke:#c0392b;stroke-width:1.2}.sp-point-label{font-size:9px;fill:#c0392b;font-weight:700}
.sp-table{width:100%;border-collapse:collapse;font-size:.76rem;font-variant-numeric:tabular-nums;margin-bottom:6px}
.sp-table th,.sp-table td{padding:3px 6px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.sp-table thead th{background:#102d41;color:#fff;font-weight:600;text-align:center}.sp-table tbody th{text-align:left;font-weight:500;color:var(--muted)}
.sp-table td small{color:var(--muted);font-size:.66rem}.sp-misc td{text-align:right}
.sp-class{font-weight:700;text-align:center!important}.sp-class-1,.sp-class-2{color:#0b7a4b}.sp-class-3{color:#a86a12}.sp-class-4{color:#a33329}
.sp-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.sp-actions button{font-size:.78rem;padding:5px 9px}
.sp-notes{margin:0 16px 14px;font-size:.78rem}.sp-notes summary{cursor:pointer;color:var(--muted)}
.sp-break{fill:none;stroke:#a7987a;stroke-width:1}.sp-dim{font-size:9px;fill:#5d7d8c;text-anchor:middle}
.sp-table{table-layout:auto}.sp-table tbody th{white-space:normal}
/* v0.9.4: stresses over the depth */
.stress-dialog{width:min(1100px,96vw)}
.st-controls{display:flex;flex-wrap:wrap;gap:6px 16px;padding:10px 16px 0}.st-controls .field{margin:0;min-width:220px}
.st-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;padding:10px 16px 16px}
@media (max-width:900px){.st-body{grid-template-columns:minmax(0,1fr)}}
.st-max{fill:none;stroke:#008378;stroke-width:2}.st-min{fill:none;stroke:#c97a1c;stroke-width:2}.st-fill{stroke-width:1;stroke-dasharray:2 2}
.st-dot.st-max{fill:#008378}.st-dot.st-min{fill:#c97a1c}
.st-label{font-size:9px;font-weight:700}.st-max-text{fill:#008378}.st-min-text{fill:#c97a1c}.st-legend{font-size:10px;font-weight:600}
.st-table td{font-size:.74rem}.st-table td[data-total]{font-weight:700}.st-tension{color:#a33329}.st-compression{color:#2f5f9e}
/* v0.9.5: staggered arrival of the workspace panels after the intro */
@keyframes qbArrive{from{opacity:0;transform:translateY(14px) scale(.985);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
.qb-reveal .topbar,.qb-reveal .inputs,.qb-reveal .result-toolbar,.qb-reveal .structure-panel,.qb-reveal .metrics,.qb-reveal .chart-toolbar,.qb-reveal #diagrams-view,.qb-reveal .result-footer,.qb-reveal .warning{animation:qbArrive .75s cubic-bezier(.2,.75,.25,1) both}
.qb-reveal .topbar{animation-delay:.05s}.qb-reveal .inputs{animation-delay:.18s}.qb-reveal .result-toolbar{animation-delay:.3s}.qb-reveal .structure-panel{animation-delay:.42s}.qb-reveal .metrics{animation-delay:.56s}.qb-reveal .chart-toolbar{animation-delay:.68s}.qb-reveal #diagrams-view{animation-delay:.8s}.qb-reveal .result-footer,.qb-reveal .warning{animation-delay:1.05s}
@media (prefers-reduced-motion:reduce){.qb-reveal *{animation:none!important}}
/* v0.9.5: region selector, cracked slab (negative region) */
.sp-region{margin:0 0 6px}.sp-region .segmented{display:flex}.sp-region .segmented button{flex:1}.sp-region .help{margin:6px 0 2px;font-size:.76rem}
.sp-cracked{opacity:.38}.sp-crack{fill:none;stroke:#8d7a57;stroke-width:.9}.sp-na-neg{stroke:#b5501f;stroke-dasharray:4 3;fill:#b5501f}
/* v0.9.5: stress entry, hover preview and station controls */
#diagrams-view{position:relative}
.st-cta{border:1px solid #0a8f84;background:linear-gradient(180deg,#14a597,#008378);color:#fff;font-size:.8rem;padding:6px 12px;border-radius:999px;box-shadow:0 2px 8px #00837833}.st-cta:hover:not(:disabled){background:#007066;color:#fff}

.st-peek{position:absolute;z-index:6;width:300px;pointer-events:none;background:#ffffffee;backdrop-filter:blur(3px);border:1px solid #cfe0e8;border-radius:12px;box-shadow:0 12px 34px #0b1e2b2e;padding:9px 11px 8px;opacity:0;transform:translateY(6px) scale(.98);transition:opacity .18s ease,transform .18s ease}
.st-peek.show{opacity:1;transform:none}
.st-peek-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:.78rem}.st-peek-head span{color:var(--muted);font-variant-numeric:tabular-nums}
.st-peek-svg{margin:4px 0 2px}.st-mini-area{stroke-width:1.6}.st-mini-area.st-max{fill:#00837822}.st-mini-area.st-min{fill:#c97a1c1c}
.st-peek-table{font-size:.72rem;margin:2px 0 4px}.st-peek-table th,.st-peek-table td{padding:2px 5px;background:none;position:static}.st-peek-table thead th{color:var(--muted);font-weight:600}
.st-peek-hint{margin:4px 0 0;font-size:.7rem;color:#006b62;font-weight:600}
.st-station{min-width:300px!important}.st-station-row{display:flex;align-items:center;gap:6px}.st-station-row input[type=number]{width:96px}.st-station-row input[type=range]{flex:1;min-width:120px;min-height:auto;padding:0}
.st-y{min-width:190px!important}
@media (max-width:640px){.st-peek{display:none}}
#st-content>.help,#st-content>.axle-warning{margin:10px 16px}
.st-area{stroke-width:2;stroke-linejoin:round}.st-area.st-max{fill:#00837818}.st-area.st-min{fill:#c97a1c14}
.st-body .sp-figure{position:static}
.st-zone-c{fill:#2f5f9e0d}.st-zone-t{fill:#a333290b}.st-zone-label{font-weight:700;letter-spacing:.02em}.st-compression-text{fill:#2f5f9e}.st-tension-text{fill:#a33329}
.st-ena{stroke:#6a4fa3;stroke-width:1;stroke-dasharray:5 3}.st-ena-label{font-size:9.5px;font-weight:600;fill:#6a4fa3;paint-order:stroke;stroke:#fbfcfd;stroke-width:3px}
.st-bar-band{stroke-width:1.2;stroke-linejoin:round}.st-bar-band.st-max{fill:#008378aa}.st-bar-band.st-min{fill:#c97a1caa}
/* v0.9.6: stress values coloured by sign, S1–S5 guides, wider preview */
.st-val{font-size:11px;font-weight:700;paint-order:stroke;stroke:#fbfcfd;stroke-width:3px}.st-val-mini{font-size:12px}
.st-v-t{fill:#b3261e}.st-v-c{fill:#1f5fae}.st-v-0{fill:#5d7d8c}
.st-spoint{stroke:#9fb3be;stroke-width:.8;stroke-dasharray:1.5 3}.st-spoint-dot{fill:#c0392b}.st-spoint-label{font-size:11px;font-weight:700;fill:#c0392b}
.st-scale-note{font-size:9.5px;fill:#5d7d8c}
.st-peek{width:340px}.st-peek-hint{font-size:.72rem}
.axle-enable{margin:0 0 0 auto;font-weight:600}.axle-off{padding:12px 14px;background:#f6f9fb;border:1px dashed #b9cbd5;border-radius:8px;color:#486777;font-size:.85rem}
.toggle-row.disabled{opacity:.55}
/* v0.9.6: readout in the diagram colours, values next to the dots, method window */
.station-readout{font-size:.85rem;gap:22px}.station-readout .ro-val b{color:var(--c,#17374b);font-size:1.08rem;font-weight:750}.station-readout .ro-val{color:var(--c,#5d7d8c)}
.plot text.cursor-val{font-size:calc(13px / var(--k,1));font-weight:750;paint-order:stroke;stroke:#fff;stroke-width:calc(3.5px / var(--k,1));pointer-events:none}
.method-open{background:transparent;border:1px solid #4b6373;color:#c5d8e0;font-size:.78rem;padding:6px 11px;border-radius:999px}.method-open:hover:not(:disabled){background:#17384c;color:#fff}
.method-dialog{width:min(860px,94vw)}.method-dialog-body{padding:6px 22px 18px}.method-dialog-body .method-content{max-height:none}
/* v0.9.6: FT summary in the left panel, settings in the tab */
.axle-state{margin:6px 0;font-size:.82rem;font-weight:650;padding:6px 9px;border-radius:6px}.axle-state.off{background:#f1f4f6;color:#5d7d8c}.axle-state.computed{background:#fff6e5;color:#8a5a00}.axle-state.applied{background:#e6f6f3;color:#006b62}
.axle-choice-summary{margin:4px 0;font-size:.8rem;color:#486777}.axle-open-button{width:100%;margin-top:8px;border-color:#0a8f84;color:#006b62;font-size:.8rem}
.peak-label{transition:opacity .12s}.peak-label.peak-dim{opacity:.12}
/* v0.9.6: floating, draggable, non-modal windows */
dialog.qb-float{position:fixed;inset:auto;margin:0;max-height:calc(100vh - 24px);overflow:auto;box-shadow:0 18px 50px #0b1e2b40,0 0 0 1px #c9d8e0;resize:both}
dialog.qb-float .sp-head{cursor:move;user-select:none}dialog.qb-float.dragging{opacity:.94;box-shadow:0 24px 60px #0b1e2b55}

/* v0.9.7: imposed deformations, section inset, stress window beam sketch, preview legend. */
.imposed-pick{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:2px 0 6px}
.imposed-pick button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px 7px;font-size:.72rem;line-height:1.15;text-align:center;border-radius:8px}
.imposed-pick button.active{background:#fff6ee;border-color:#d17739;box-shadow:inset 0 0 0 1px #d17739;color:#7a3c12}
.imposed-icon{flex:none;vertical-align:middle}
.group-title .imposed-icon{margin-right:6px;margin-top:-2px}
.imposed-on{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:9px;background:#d17739;color:#fff;font-size:.62rem;font-weight:700;letter-spacing:.3px;text-transform:uppercase;vertical-align:middle}
.imposed-card{border-left:3px solid #d17739;background:#fffaf5}
.imposed-card.imposed-shrinkage,.imposed-card.imposed-creep{border-left-color:#c4502f}
.imposed-card:not(.on){background:#fff;opacity:.92}
.imposed-illu{display:block;width:100%;height:auto;margin:0 0 10px;border:1px solid #e3ebef;border-radius:8px}
.thermal-badge .imposed-icon{background:#fff;border-radius:4px;padding:1px}
#beam-section{pointer-events:none}
.st-beam-wrap{margin:2px 0 6px}
#st-beam{display:block;width:100%;max-width:820px;height:auto;margin:0 auto;cursor:ew-resize;touch-action:none;border-radius:8px}
#st-beam:focus-visible{outline:3px solid #20adba;outline-offset:2px}

.st-peek-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:.72rem;font-weight:600;margin:0 0 2px}
.st-peek-legend span{display:inline-flex;align-items:center;gap:5px}
.st-peek-legend i{display:inline-block;width:16px;height:0;border-top:2.4px solid currentColor}
.st-peek-legend .st-max-text{color:#008378}.st-peek-legend .st-min-text{color:#c97a1c}.st-peek-legend .st-bar-key{color:var(--muted);font-weight:500}

.reaction-plot{width:100%;height:var(--plot-h);overflow:visible}
.reaction-plot text{font-family:"Segoe UI",sans-serif;font-size:calc(11.5px / var(--k,1));fill:#8097a3}
.reaction-plot text.rv,.reaction-plot text.rm{font-weight:650;paint-order:stroke;stroke:#fff;stroke-width:calc(3px / var(--k,1))}
.reaction-plot text.rl{font-size:calc(11px / var(--k,1));font-weight:600;fill:#5d7d8c}
.reaction-plot text.rm{fill:#b5577a}
.reaction-plot line,.reaction-plot polygon,.reaction-plot path{vector-effect:non-scaling-stroke}
.reaction-plot .r-hit{cursor:pointer}.reaction-plot .r-hit:hover{opacity:.75}
.reaction-row .chart-label small+small{margin-top:2px;font-size:.6rem}
