/* Bilingual heat engines 0.20 beta — shared styling. */
.he-layout{grid-template-columns:minmax(260px,318px) minmax(0,1fr)}
.he-form{display:grid;grid-template-columns:1fr;gap:10px}
.he-presets{display:grid;gap:8px;padding:12px;margin:0 0 12px;border:1px solid #dce7f4;border-radius:9px;background:#f0f6ff}
.he-presets label{font-size:.86rem;font-weight:800;color:#2b4b6d}
.he-presets select,.he-form select,.he-speed select{width:100%;padding:8px;border:1px solid #afc3dc;border-radius:7px;background:#fff;font:inherit}
.he-wide{grid-column:1/-1}.he-field-hidden{display:none!important}
.he-topline{display:flex;align-items:center;justify-content:space-between;gap:10px}.he-topline h2{margin:0}
.he-info{background:#eaf7f4;color:#245e56;font-size:.83rem;line-height:1.55;padding:10px;border-radius:8px}
.he-caution{background:#fff6e6;color:#73521b;padding:10px;font-size:.84rem;border-radius:8px;line-height:1.5}
.he-viewport{border:1px solid #dbe7f5;border-radius:9px;background:#fbfdff;overflow-x:auto}
.he-viewport svg{display:block;width:100%;height:auto;aspect-ratio:860/350}
.he-speed{display:flex;align-items:center;gap:10px;margin:12px 0;font-size:.85rem}.he-speed select{width:82px}
.he-readouts{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.he-quick{display:flex;gap:8px;flex-wrap:wrap;font-size:.78rem}.he-quick-link{border:0;padding:0;background:none;color:#1b5da6;cursor:pointer;text-decoration:underline;font:inherit}
.he-jump{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;border:1px solid #deebf6;border-radius:10px;background:#f6faff;margin:12px 0}
.he-jump label{font-size:.85rem;font-weight:700}.he-jump input{width:110px;padding:7px;border:1px solid #afc3d7;border-radius:6px}
.he-jump span{font-size:.83rem}.he-jump [role=alert]{color:#a12f31}
.he-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.he-table-scroll{max-height:450px;overflow:auto;border:1px solid #e3ebf4;border-radius:8px}
.he-table-scroll table{width:100%;white-space:nowrap;border-collapse:collapse;font-size:.72rem}
.he-table-scroll th,.he-table-scroll td{padding:6px 7px;border-bottom:1px solid #e6edf5;text-align:right;font-variant-numeric:tabular-nums}
.he-table-scroll th{background:#f3f7fd;position:sticky;top:0;z-index:1}.he-table-scroll td:first-child,.he-table-scroll th:first-child{text-align:left}
#he-export{margin-top:10px}.he-conditions{font-size:.9rem;line-height:1.6}.he-graphs .phys-graph{cursor:crosshair}
.he-guide-list{padding-left:24px}.he-guide-item{border:1px solid #dce8f5;border-radius:9px;padding:15px;margin:12px 0;list-style-position:outside}
.he-guide-item::marker{color:#2464b9;font-weight:bold}.he-guide-item h3{margin:0 0 9px;font-size:1rem;color:#1d4d81}.he-guide-item p{font-size:.85rem}
.he-guide-row{border-top:1px solid #e8eef5;padding:8px 6px;overflow-x:auto}.he-guide-row:nth-last-child(1){background:#eaf7f1;border-radius:5px}
.he-guide-key{font-size:.67rem;font-weight:750;color:#4d6685;display:block;margin-bottom:6px;text-transform:uppercase;letter-spacing:.025em}
.he-guide-line{display:block;text-align:left;margin:4px 0;min-width:0;font-size:.9rem}.he-guide-line mjx-container{max-width:none!important;text-align:left!important}
.he-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:.75rem;margin-bottom:6px}
@media(max-width:840px){.he-layout{grid-template-columns:1fr}.he-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:630px){.he-form{grid-template-columns:1fr}.he-viewport svg{width:610px;max-width:none;aspect-ratio:auto}.he-readouts{grid-template-columns:repeat(2,minmax(0,1fr))}.he-bottom{grid-template-columns:1fr}}
@media(max-width:360px){.he-readouts{grid-template-columns:1fr}}

.he-language-link{font-size:.85rem;margin-left:12px;color:#225c9a;text-decoration:underline;font-weight:650}
