
.arena-catalog{max-width:1300px;margin:12px auto 36px}.arena-catalog header{max-width:850px;margin-bottom:24px}.arena-catalog header p{font-size:20px;line-height:1.6}.arena-level-key{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:22px;color:#c8e5d8;font-size:16px}.arena-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.arena-choice{display:flex;flex-direction:column;padding:24px;background:linear-gradient(145deg,#163e33,#102d27);border:1px solid #4b7f69;border-radius:20px}.arena-choice-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.arena-number{font-size:22px;color:#a0d4b8}.difficulty{display:inline-block;padding:6px 12px;border:1px solid #719a86;border-radius:20px;font-size:14px;font-weight:800;color:#def7e7;background:#214d3b}.difficulty-developing{color:#c7ecff;background:#143e47}.difficulty-intermediate{color:#a5edca;background:#204e3c}.difficulty-advanced{color:#ffe0a2;background:#493922}.arena-choice h2{font-size:25px;line-height:1.25;margin:20px 0 10px}.arena-choice p{font-size:18px;line-height:1.6;margin:0 0 18px}.arena-skills{margin-top:auto;padding-top:14px;border-top:1px solid #436656;display:grid;gap:8px;font-size:16px;line-height:1.5;color:#c0d9ce}.arena-skills strong{color:#97e6bd}.arena-choice>.btn{margin-top:20px;align-self:flex-start}.arena-challenge-meta p{font-size:18px;line-height:1.5;margin:10px 0 0}.level-details{border-top:1px solid #426858;padding-top:12px;margin:18px 0}.level-details summary,.academy-review-group>summary{font-weight:750;cursor:pointer}.level-details p{font-size:18px;line-height:1.6}.academy-review-group{border:1px solid #446e5a;border-radius:14px;padding:16px;margin:14px 0}.academy-review-group>summary{font-size:22px;padding:6px}.academy-review-group[open]>summary{margin-bottom:16px}

.walkthrough-shade{background:transparent}.walkthrough-spot{border:4px solid #ffe599;box-shadow:0 0 0 5px #ffe59935,0 0 22px #ffdb74aa,0 0 0 9999px #010c09b8}.plc-walkthrough{border-color:#ffe599}.plc-walkthrough p strong{color:#fff0bd;font-weight:850}.walkthrough-hidden{visibility:hidden!important;pointer-events:none!important}.walkthrough-open{padding-bottom:var(--walkthrough-space,360px)}.walkthrough-open .lab-workbar:not(.walkthrough-target){visibility:hidden}.walkthrough-open #ladder.walkthrough-target{max-height:calc(100vh - var(--walkthrough-space,360px) - 40px);overflow-y:auto}

@media(min-width:1050px){.workbench-grid,.workbench-grid.with-palette{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.workbench-grid .task-card{grid-column:1/-1;grid-row:1}.workbench-grid .process-card{grid-column:1;grid-row:2;min-width:0;padding:18px}.workbench-grid .editor-card{grid-column:2;grid-row:2;min-width:0}.workbench-grid .requirements{grid-template-columns:repeat(3,minmax(0,1fr))}.workbench-top{grid-template-columns:minmax(0,1fr) minmax(280px,.65fr)}.workbench-grid .scene{max-width:none;width:100%}.workbench-grid .scene-tank svg{min-height:0}.content:has(.workbench-grid){padding-left:20px;padding-right:120px}.instruction-tab{width:96px}.workbench-grid .heading-actions{flex-wrap:wrap}.workbench-grid .editor-actions{gap:8px}}
@media(min-width:1050px) and (max-width:1500px){body:has(.workbench-grid) .shell{grid-template-columns:172px minmax(0,1fr)}body:has(.workbench-grid) .sidebar{padding:18px 10px}body:has(.workbench-grid) .brand{flex-wrap:wrap}body:has(.workbench-grid) .brandname{font-size:18px}body:has(.workbench-grid) .nav button{font-size:16px;padding:13px 8px;gap:7px}.content:has(.workbench-grid){padding-left:14px;padding-right:120px}.instruction-tab{width:102px;padding-left:4px;padding-right:4px}.instruction-tab span{font-size:15px}.workbench-grid .process-card{padding:12px}.workbench-grid{gap:12px}}
.workbench-grid.stacked-workbench{grid-template-columns:minmax(0,1fr)}.workbench-grid.stacked-workbench .process-card,.workbench-grid.stacked-workbench .editor-card{grid-column:1;grid-row:auto;max-width:none}.rung-svg.v4-rung{width:min(100%,var(--rung-width));min-width:0;max-width:100%;display:block}.ladder-wrap{overflow-x:hidden}.editor-card .ladder-wrap{max-height:650px;overscroll-behavior:contain}.workbench-grid .editor-card{overflow:hidden}.workbench-grid .editor-actions{flex-wrap:wrap}.workbench-grid .editor-shortcut{margin-bottom:0}
.expansion-scene{background:radial-gradient(ellipse at 50% 48%,#235448,#0d2b27 80%)}.expansion-scene svg{display:block;width:100%;height:auto}.expansion-scene .scenecaption{padding:14px 16px;border-top:1px solid #416b58;background:#102c27;line-height:1.55;font-size:16px}.machine-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:14px 0}.machine-inputs .io-button>span{min-width:0}.machine-inputs .io-button{min-width:82px;min-height:70px;padding:10px 12px;flex:1;background:#1a4437;display:flex;align-items:center;gap:10px;text-align:left;touch-action:none}.machine-inputs .io-button::before{content:'';flex:0 0 25px;width:25px;height:25px;border:4px solid #badac6;background:radial-gradient(circle at 30% 25%,#82b995,#35634d);border-radius:50%;box-shadow:0 3px 0 #0b251c}.machine-inputs .io-button[aria-pressed=true]::before{background:#a6ffca;box-shadow:0 0 14px #85ffc399;transform:translateY(2px)}.machine-inputs .io-button[data-io=STOP]::before,.machine-inputs .io-button[data-io=CANCEL]::before{background:radial-gradient(circle at 30% 25%,#e6a18a,#974f40)}.machine-inputs b{font-size:15px;overflow-wrap:anywhere}.machine-inputs small{display:block;font-size:14px;font-weight:500;color:#bfd8ca}.machine-guide{margin:12px 0;font-size:17px;line-height:1.6}.machine-readiness{padding:12px 14px;border-left:4px solid #7bdfb1;background:#1e3a35;font-size:16px;line-height:1.5}.machine-readiness strong{color:#f7dfb0}.machine-live-status{display:flex;gap:8px;flex-wrap:wrap;padding:12px 14px;background:#09251f;border-top:1px solid #456f5a}.machine-live-status span{font-size:15px;padding:5px 9px;border-radius:6px;background:#1c4335}.machine-live-status .fault{background:#654039;color:#ffe0c8}.exp-equipment{border-top:1px solid #496e5b;margin-top:16px}.exp-equipment summary{font-size:17px;font-weight:750;cursor:pointer;margin-bottom:12px}.exp-equipment .field{font-size:16px}.exp-equipment .field select{max-width:100%}.exp-equipment .test-tools{display:grid;gap:14px}.exp-diagnosis{font-size:16px}.metricrow{gap:12px}.metricrow .metric{min-width:100px}.metricrow .metric strong{font-size:25px}
@media(max-width:1200px){.arena-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.arena-cards{grid-template-columns:1fr}.arena-choice{padding:20px}.arena-catalog header h1{font-size:32px}.workbench-top{grid-template-columns:1fr}.plc-walkthrough{max-height:45dvh}.machine-inputs .io-button{min-width:100px}.workbench-grid .requirements{grid-template-columns:1fr}}
