/* Opt-in navigation layer. Native errors and validation stay visible. */
.ha-presentation-entry{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #df0073;border-radius:7px;background:#fff4f9;color:#b80060;font:600 12px/1.25 Arial,sans-serif;text-decoration:none;white-space:nowrap;gap:5px;max-width:100%}.ha-presentation-entry:before{content:"▶";font-size:10px}.ha-presentation-entry[hidden]{display:none!important}
#ha-presentation{position:relative;z-index:40;margin:12px 20px 0;padding:12px 16px;border:1px solid #eed5e3;border-left:4px solid #df0073;border-radius:10px;background:#fff;box-shadow:0 3px 15px #26333f08;color:#263d4d;font-family:Arial,sans-serif;min-width:0}
.ha-presentation-top{display:flex;align-items:center;gap:12px;font-size:10px;letter-spacing:.3px}.ha-presentation-top>[data-presentation-kicker]{font-weight:800;color:#b80060}.ha-presentation-simulation{color:#657681}.ha-presentation-top>[data-presentation-action=exit]{margin-left:auto;border:0;background:transparent;padding:4px;color:#637584;font-size:11px;cursor:pointer}
.ha-presentation-main{display:flex;align-items:center;justify-content:space-between;gap:20px}.ha-presentation-copy{min-width:0;max-width:860px}.ha-presentation-copy h2{font-size:18px;line-height:1.3;font-weight:700;margin:7px 0 4px}.ha-presentation-copy h2:focus{outline:0}.ha-presentation-copy p{font-size:12px;line-height:1.5;margin:0;color:#607481}.ha-presentation-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}
#ha-presentation .ha-presentation-actions button,#ha-presentation .ha-presentation-context button{border:1px solid #ccd7df;border-radius:6px;background:#fff;padding:9px 12px;min-height:36px;color:#24465a;font:600 12px/1.25 Arial,sans-serif;cursor:pointer}#ha-presentation button.ha-presentation-primary{border-color:#df0073;background:#df0073;color:#fff}#ha-presentation button:disabled{opacity:.45;cursor:not-allowed}#ha-presentation button:focus-visible,.ha-presentation-entry:focus-visible{outline:3px solid #e891bd;outline-offset:2px}#ha-presentation [data-presentation-action=restart]{font-size:11px;background:#f5f7f9}
.ha-presentation-context{display:flex;align-items:center;gap:10px;margin-top:8px}.ha-presentation-context:empty{display:none}.ha-presentation-context label{font-size:11px;font-weight:700}.ha-presentation-context select{font:12px Arial,sans-serif;color:#24465a;padding:8px 10px;border:1px solid #bfcdd7;border-radius:6px;background:#fff;max-width:500px;min-width:200px;width:100%}.ha-presentation-status{font-size:11px;color:#536e80;margin:6px 0 0;line-height:1.45}.ha-presentation-status:empty{display:none}
.ha-presentation-progress{display:flex;gap:6px;list-style:none;padding:0;margin:10px 0 0}.ha-presentation-progress[hidden]{display:none}.ha-presentation-progress li{flex:1;font-size:10px;color:#7b8b98;border-top:2px solid #e4e9ed;padding-top:5px;min-width:0}.ha-presentation-progress li[aria-current]{border-color:#df0073;color:#b80060;font-weight:700}.ha-presentation-progress li[data-complete]{border-color:#97adba}
.ha-presentation-mode .navigation,.ha-presentation-mode .hmi-floating-launcher,.ha-presentation-mode .top-actions,.ha-presentation-mode .panel-mode-switch,.ha-presentation-mode .cosmoline-guard-toggle,.ha-presentation-mode .machine-hmi-link,.ha-presentation-mode .line-hmi-card,.ha-presentation-mode .quote-details,.ha-presentation-mode [data-filler-archive],.ha-presentation-mode .support-service-button,.ha-presentation-mode .education-space,.ha-presentation-mode [data-open-machine],.ha-presentation-mode .workspace-add-client,.ha-presentation-mode .workspace-delete-client{display:none!important}
.ha-presentation-mode .app-layout{grid-template-columns:minmax(0,1fr)!important}.ha-presentation-mode[data-presentation-step=machine] .settings-panel,.ha-presentation-mode[data-presentation-step=machine] .panel-resizer,.ha-presentation-mode[data-presentation-step=run] .settings-panel,.ha-presentation-mode[data-presentation-step=run] .panel-resizer{display:none!important}.ha-presentation-mode[data-presentation-step=machine] .work-grid,.ha-presentation-mode[data-presentation-step=run] .work-grid{grid-template-columns:minmax(0,1fr)!important}.ha-presentation-mode .workspace{min-width:0}
@media(max-width:1050px){#ha-presentation{margin:8px 10px 0;padding:10px 12px}.ha-presentation-main{align-items:flex-start;gap:12px}.ha-presentation-actions{max-width:310px}.ha-presentation-actions [data-presentation-action=restart]{flex-basis:100%}.ha-presentation-top{flex-wrap:wrap;gap:4px 10px}.ha-presentation-copy h2{font-size:16px}}
@media(max-width:600px){.ha-presentation-entry{font-size:10px;padding:7px 8px;white-space:normal}.ha-presentation-main{display:block}.ha-presentation-actions{max-width:none;justify-content:flex-start;margin-top:9px}.ha-presentation-actions [data-presentation-action=restart]{flex-basis:auto}.ha-presentation-top{font-size:9px}.ha-presentation-simulation{flex-basis:100%;order:3}.ha-presentation-context{align-items:stretch;flex-direction:column;gap:5px}.ha-presentation-context select{min-width:0;max-width:100%}.ha-presentation-progress{gap:4px}.ha-presentation-progress li{font-size:8px;overflow-wrap:anywhere}.ha-presentation-copy p{font-size:11px}.ha-presentation-status{font-size:10px}#ha-presentation .ha-presentation-actions button{padding:9px;font-size:11px}}

/* Keep the live machine above the fold on a presentation laptop. Capacity has
   its own later step; real configuration warnings and playback stay visible. */
.ha-presentation-mode .page-heading{display:none!important}
.ha-presentation-mode[data-presentation-step=machine] .metrics,.ha-presentation-mode[data-presentation-step=run] .metrics{display:none!important}
@media(min-width:801px){.ha-presentation-mode[data-presentation-step=machine] .viewport,.ha-presentation-mode[data-presentation-step=run] .viewport{height:clamp(270px,calc(100dvh - 330px),560px)!important;min-height:270px!important}.ha-presentation-mode[data-presentation-step=machine] .workspace,.ha-presentation-mode[data-presentation-step=run] .workspace{padding-top:10px!important}.ha-presentation-mode[data-presentation-step=machine] #ha-presentation,.ha-presentation-mode[data-presentation-step=run] #ha-presentation{padding-top:9px;padding-bottom:9px}}

@media(max-width:800px){.ha-presentation-mode .changeover-comparison{grid-template-columns:minmax(0,1fr)}.ha-presentation-mode .changeover-sku-card,.ha-presentation-mode .changeover-sku-card>header{min-width:0;max-width:100%}.ha-presentation-mode .changeover-sku-card select{width:0;min-width:0;max-width:100%;flex:1 1 0}.ha-presentation-mode .changeover-sku-identity{overflow-wrap:anywhere}}

[data-presentation-run-summary]{display:block;font:600 12px/1.5 Arial,sans-serif;color:#345a70;padding:7px 10px;border-radius:6px;background:#f1f6f8;white-space:normal}
