/* Same-screen physical parts and their shared software controller. */
html body.lab-layout-v14 .lab-main{grid-template-rows:auto minmax(0,1fr) 190px 18px!important;gap:8px!important;padding:10px 16px 8px!important}
html body.lab-layout-v14 .lab-title-row{min-height:34px;gap:10px}
html body.lab-layout-v14 .lab-title-copy{gap:10px}
html body.lab-layout-v14 .lab-title-row h1{font-size:22px!important}
html body.lab-layout-v14 .lab-title-copy p{font-size:12px;line-height:1.4}
html body.lab-layout-v14 .lab-taskbar{margin-top:4px!important;margin-bottom:0!important}
html body.lab-layout-v14 .playback-controls{margin-top:5px;height:30px;gap:7px}
html body.lab-layout-v14 .lab-stage,html body.lab-layout-v14 .lab-stage.overview{grid-template-columns:minmax(0,1fr) minmax(310px,1.15fr) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) 23px;overflow:hidden;border-radius:10px}
html body.lab-layout-v14 .scene-panel,html body.lab-layout-v14 .v14-fan-panel{display:grid;grid-template-rows:34px minmax(0,1fr) 29px 40px;min-width:0;min-height:0;position:relative;background:#f6f7f6;overflow:hidden}
html body.lab-layout-v14 .scene-topline,html body.lab-layout-v14 .scene-bottomline,html body.lab-layout-v14 .scene-3d-tools,html body.lab-layout-v14 .scene-3d-note{display:none!important}
html body.lab-layout-v14 .scene-canvas,html body.lab-layout-v14 .v14-fan-canvas{position:relative;min-width:0;min-height:0;width:100%;height:100%;overflow:hidden}
html body.lab-layout-v14 .v14-component-frame{position:absolute;inset:0;width:100%;height:100%;display:block;border:0;background:#f6f7f6}
.v14-component-heading{display:flex;align-items:center;justify-content:space-between;padding:7px 12px;gap:6px;background:#fafbf9;border-bottom:1px solid #e1e6e3}
.v14-component-heading h2{font-size:16px;font-weight:500;margin:0;white-space:nowrap;color:#34424d}
.v14-component-heading>span{font-size:13px;color:#64717b;white-space:nowrap}
.v14-component-reading{display:flex;justify-content:center;align-items:center;gap:6px;font-size:14px;color:#52636e;white-space:nowrap}
.v14-component-reading strong{font:17px "Times New Roman",serif;font-weight:400;color:#364855}
.v14-component-reading small{font-size:11px;color:#7b858e;margin-left:7px}
.v14-structure-toolbar{display:flex;align-items:center;justify-content:center;gap:2px;background:#f6f7f6;padding:4px 6px;border-top:1px solid #e2e6e3}
html body.lab-layout-v14 .v14-structure-toolbar .board-button,html body.lab-layout-v14 .v14-structure-toolbar button{font-size:13px!important;min-height:30px!important;line-height:20px!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:#718078!important;padding:5px 10px!important;white-space:nowrap}
html body.lab-layout-v14 .v14-structure-toolbar button[aria-pressed="true"]{background:#53636f!important;color:#fff!important}
html body.lab-layout-v14 .v14-structure-toolbar button:hover{background:#e9edf0!important;color:#3c4d5b!important}
html body.lab-layout-v14 .v14-structure-toolbar button[aria-pressed="true"]:hover{background:#53636f!important;color:#fff!important}
html body.lab-layout-v14 .fadec-panel,html body.lab-layout-v14 .fadec-panel[hidden]{display:flex!important;flex-direction:column;gap:4px!important;padding:7px 10px!important;border-left:1px solid #dce4de;border-right:1px solid #dce4de;border-top:0;min-width:0;min-height:0;overflow:hidden;background:#fff}
html body.lab-layout-v14 .fadec-heading{min-height:20px;height:20px}
html body.lab-layout-v14 .fadec-heading h2{font-size:17px;font-weight:500;letter-spacing:.04em}
.v14-fadec-logic{min-width:0;flex:1;min-height:90px;max-height:139px}
.v14-fadec-logic svg{display:block;height:100%;width:100%;overflow:visible}
.v14-control-lines path{fill:none;stroke:#65747f;stroke-width:1.6;marker-end:url(#v14-loop-arr)}
.v14-control-lines .v14-feedback-lines{stroke:#929ca6;stroke-dasharray:4 3}
#v14-loop-arr path{fill:#65747f}
.v14-control-boxes rect{fill:#f5f6f7;stroke:#b4bec6;stroke-width:1.4}
.v14-control-sums circle{fill:#fff;stroke:#9ca9b2;stroke-width:1.4}
.v14-signs text{font:19px "Times New Roman",serif;fill:#435464}
.v14-logic-captions text{font-size:15px;fill:#75818c}
.v14-error-node{fill:#65747f}
.v14-wire-label{font-size:21px;line-height:1.1;color:#364c5c;height:30px;display:flex;align-items:center;justify-content:center}
.v14-wire-label .katex{font-size:1em}
.v14-fadec-logic[data-selected="engine"] .v14-control-boxes rect:first-child,.v14-fadec-logic[data-selected="fan"] .v14-control-boxes rect:last-child{fill:#eef0f2;stroke:#65747f;stroke-width:2}
html body.lab-layout-v14 .pi-tabs{min-height:28px;flex:none}
html body.lab-layout-v14 .pi-tabs .board-button,html body.lab-layout-v14 .pi-tabs button{font-size:14px!important;min-height:28px!important;line-height:20px!important;padding:3px 7px!important}
html body.lab-layout-v14 .pi-equation{font-size:18px!important;line-height:1.2;min-height:22px;margin:1px 0!important;text-align:center}
html body.lab-layout-v14 .pi-purpose,html body.lab-layout-v14 .pi-other{display:none!important}
html body.lab-layout-v14 .pi-field{min-height:27px;grid-template-columns:25px minmax(0,1fr) 70px;gap:6px;padding:0!important}
html body.lab-layout-v14 .pi-field label{font-size:17px!important}
html body.lab-layout-v14 .pi-field input[type="number"]{height:27px;padding:2px 5px;font-size:15px}
.v14-energy-strip{grid-column:1/-1;text-align:center;font-size:12px;color:#74857b;background:#fafbf9;border-top:1px solid #e1e7e2;line-height:22px}
.v14-trial-menu{position:relative;z-index:15}
.v14-trial-menu summary{font-size:15px;color:#546c60;padding:7px 10px;cursor:pointer;list-style:none;border:1px solid #d5dfd8;border-radius:9px;background:#fafbf9;white-space:nowrap}
.v14-trial-menu summary::after{content:'⌄';font-family:"Times New Roman",serif;margin-left:8px;color:#829288}
.v14-trial-menu summary::-webkit-details-marker{display:none}
.v14-trial-menu-panel{display:flex;position:absolute;right:0;top:calc(100% + 7px);min-width:180px;padding:6px;flex-direction:column;gap:3px;background:#fff;border:1px solid #d5dfd8;border-radius:12px;box-shadow:0 12px 35px #283e321a}
html body.lab-layout-v14 .v14-trial-menu-panel button{display:flex!important;justify-content:flex-start;font-size:15px!important;min-height:34px!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body.lab-layout-v14 .v14-trial-menu-panel button:hover{background:#edf3ee!important}
html body.lab-layout-v14 .lab-actions{flex-wrap:nowrap;gap:8px}
html body.lab-layout-v14 .lab-actions>[data-engine-knowledge]{min-height:30px!important;font-size:14px!important;padding:4px 8px!important}
@media(min-width:1500px){html body.lab-layout-v14 .lab-main{grid-template-rows:auto minmax(0,1fr) 220px 20px!important}.v14-fadec-logic{max-height:160px}.v14-component-heading h2{font-size:18px}}
@media(max-width:950px){html body.lab-layout-v14 .lab-stage{grid-template-columns:minmax(0,1fr) 300px minmax(0,1fr)!important}.v14-component-heading{padding:6px 8px}.v14-component-heading>span{display:none}.v14-component-reading small{display:none}html body.lab-layout-v14 .v14-structure-toolbar button{font-size:12px!important;padding:5px 6px!important}}
@media(max-width:700px){
  html body.lab-layout-v14 .lab-main{grid-template-rows:auto auto auto 25px!important;padding:10px!important;overflow:auto}
  html body.lab-layout-v14 .lab-title-row{flex-wrap:wrap}.lab-layout-v14 .lab-title-row .lab-actions{max-width:100%;width:100%;justify-content:flex-end}
  html body.lab-layout-v14 .lab-stage{grid-template-columns:1fr 1fr!important;grid-template-rows:240px auto 23px!important}
  html body.lab-layout-v14 .scene-panel{grid-column:1;grid-row:1;height:auto!important}
  html body.lab-layout-v14 .v14-fan-panel{grid-column:2;grid-row:1}
  html body.lab-layout-v14 .fadec-panel{grid-column:1/-1;grid-row:2;display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:auto 140px 30px 28px 30px!important;overflow:visible;padding:10px!important}
  .lab-layout-v14 .fadec-heading,.lab-layout-v14 .v14-fadec-logic,.lab-layout-v14 .pi-tabs,.lab-layout-v14 .pi-equation{grid-column:1/-1}
  html body.lab-layout-v14 .pi-field{grid-column:auto!important}.v14-fadec-logic{min-height:140px;max-height:140px}
  .v14-energy-strip{grid-row:3;font-size:10px}
  html body.lab-layout-v14 .lab-plots{grid-template-columns:1fr 1fr!important;gap:7px}
  html body.lab-layout-v14 .plot-panel{height:220px}
}

html body.lab-layout-v14 .v14-hidden-task-buttons{display:none!important}
html body.lab-layout-v14 .v14-task-select{display:flex;align-items:center;gap:6px;white-space:nowrap;margin-right:auto;font-size:16px}
html body.lab-layout-v14 .v14-task-select select{height:32px;font-size:16px;padding:3px 8px;border:1px solid #cbd3da;border-radius:8px;background:#fff;color:#42515c}
html body.lab-layout-v14 .playback-controls{height:36px;gap:8px}
html body.lab-layout-v14 .v14-structure-toolbar button{font-size:14px!important;min-height:32px!important;padding:5px 10px!important}
html body.lab-layout-v14 .v14-fadec-logic{min-height:130px;max-height:160px}
html body.lab-layout-v14 .v14-wire-label{font-size:24px;height:30px}
html body.lab-layout-v14 .v14-signs text{font-size:22px}
html body.lab-layout-v14 .pi-equation{font-size:16px!important}
html body.lab-layout-v14 .lab-plots .plot-summary{font-size:14px!important;gap:6px}
html body.lab-layout-v14 .plot-summary strong{font-size:14px!important}
