.embedded.app-presentation .viewer-header{display:flex}
:root{color-scheme:light;--paper:#f3f0ea;--surface:#fbfaf6;--ink:#1b1a17;--muted:#6d695f;--line:#e2ddd3;--accent:#1c5f4e;--soft:#e4efe9}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.45 'Segoe UI',system-ui,sans-serif}a{color:var(--accent)}button,select,summary{font:inherit}button,.action{border:1px solid var(--line);background:var(--surface);color:var(--ink);min-height:44px;padding:9px 14px;border-radius:10px;cursor:pointer;text-decoration:none}button:disabled{color:#aaa89f;background:#e9e5dc;cursor:default}.primary{background:var(--accent);border-color:var(--accent);color:#fff}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #6f9a86;outline-offset:3px}[hidden]{display:none!important}.viewer{max-width:1200px;margin:auto;padding:16px;container-type:inline-size}.viewer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.lockup{font-size:26px;font-weight:700;line-height:1.05;color:var(--accent)}.lockup small{display:block;font-size:11px;font-weight:500;letter-spacing:.06em;margin-top:4px}.header-actions{display:flex;align-items:center;gap:12px}.audience{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}.audience label{font-size:12px;font-weight:650;color:var(--muted)}.audience select{display:block;width:100%;min-width:0;margin-top:5px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:16px;padding:10px 30px 10px 12px;min-height:44px}.stage{border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:clamp(20px,4vw,46px);min-height:490px;touch-action:pan-y pinch-zoom;position:relative;overflow-wrap:anywhere}.slide-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;margin-bottom:24px}.industry-mark{display:flex;gap:7px;align-items:center;font-size:12px;color:var(--muted)}.industry-mark svg{width:24px;height:24px;flex-shrink:0;stroke:var(--accent);fill:none;stroke-width:1.6}.erp-logo{max-width:156px;max-height:40px;object-fit:contain}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--accent);font-size:12px;font-weight:700;margin:0 0 10px}h1{font-size:clamp(28px,4.8vw,50px);font-weight:650;letter-spacing:-.04em;line-height:1.1;max-width:24ch;margin:0 0 14px}.subtitle{font-size:clamp(16px,2vw,20px);color:var(--muted);margin:0 0 25px;max-width:55ch}.visual{margin:28px 0}.flow{display:grid;grid-template-columns:repeat(var(--steps,3),minmax(0,1fr));gap:26px;list-style:none;padding:0;margin:0}.flow li{border-top:3px solid var(--accent);padding:15px 0 0;position:relative;min-width:0}.flow li+li:before{content:'›';position:absolute;left:-20px;top:22px;color:var(--accent);font-size:26px}.flow strong{display:block;font-size:clamp(17px,2.5vw,24px);line-height:1.25}.flow em{display:block;color:var(--muted);font-style:normal;font-size:11px;margin-bottom:10px;letter-spacing:.08em}.flow li:last-child{border-color:#b19354}.exception{margin:18px 0 0;text-align:center;color:#805b24;font-size:14px}.points{display:grid;grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:24px;list-style:none;padding:0;margin:25px 0}.points strong{display:block;font-size:clamp(18px,2.3vw,23px);font-weight:650;margin-bottom:6px;color:var(--accent)}.points span{font-size:16px;line-height:1.4;display:block}.takeaway{font-size:clamp(18px,2.3vw,24px);font-weight:600;margin:28px 0 0;max-width:58ch}.evidence{margin-top:20px;color:var(--muted);font-size:14px}.evidence summary{cursor:pointer;width:fit-content;padding:8px 0}.evidence p{max-width:78ch}.evidence img{display:block;width:100%;max-height:70vh;object-fit:contain;margin-top:14px}.assistant-query{font-size:clamp(19px,3vw,30px);color:var(--accent);border-left:3px solid var(--accent);padding:12px 20px;margin:0;max-width:34ch}.truth .points{gap:30px}.truth .points li+li{border-left:2px solid #b19354;padding-left:25px}.slide.enter{animation:appear .25s ease-out}.controls{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 0 8px;flex-wrap:wrap}.counter{min-width:52px;text-align:center;font-size:14px;font-variant-numeric:tabular-nums}.progress{height:3px;background:var(--line);border-radius:3px;overflow:hidden;margin-top:12px}.progress span{height:100%;display:block;background:var(--accent);transition:width .2s}.downloads{font-size:13px;margin-top:15px}.downloads>summary{cursor:pointer;padding:10px 0;text-align:center}.download-links{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:12px 0}.download-help{max-width:750px;margin:12px auto;text-align:center;color:var(--muted)}.notice{font-size:13px;text-align:center;margin:8px 0;min-height:0}.slide-count{font-size:12px;color:var(--muted);white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.embedded .viewer-header{display:none}.embedded .viewer{padding:2px}.embedded .stage{min-height:470px}@keyframes appear{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.slide.enter{animation:none}.progress span{transition:none}}@media(max-width:600px){.viewer{padding:10px}.viewer-header{margin-bottom:12px}.lockup{font-size:23px}.stage{padding:22px 18px;min-height:0;border-radius:12px}.slide-top{margin-bottom:22px}.erp-logo{max-width:120px;max-height:33px}.industry-mark{max-width:48%;font-size:11px}.audience{gap:8px}.audience select{padding-left:8px;font-size:14px}.points{grid-template-columns:1fr;gap:17px;margin:24px 0}.points li{display:grid;grid-template-columns:minmax(100px,32%) 1fr;gap:12px}.points strong{font-size:18px;margin:0}.points span{font-size:16px}.flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}.flow li+li:before{display:none}.flow strong{font-size:18px}.flow li{padding-top:10px}.flow em{margin-bottom:5px}.flow li:nth-child(3){grid-column:1}.takeaway{margin-top:22px}.subtitle{margin-bottom:18px}.visual{margin:22px 0}.truth .points li+li{padding:14px 0 0;border-left:0;border-top:2px solid #b19354}.controls{gap:7px;position:sticky;bottom:0;background:var(--paper);z-index:2;padding-bottom:max(8px,env(safe-area-inset-bottom))}.controls button{padding:9px 11px}.counter{min-width:44px}.embedded .stage{min-height:0}.embedded .viewer{padding:0}.embedded .audience{padding:0 2px}.embedded .controls{position:sticky}.slide-count{display:none}.header-actions .home{display:none}}@media(max-height:500px) and (min-width:601px){.audience select{min-height:36px;padding-top:5px;padding-bottom:5px}.stage{padding:16px 24px;min-height:0}h1{font-size:30px;max-width:none}.subtitle{font-size:16px;margin-bottom:12px}.slide-top{margin-bottom:10px;min-height:25px}.erp-logo{max-height:25px}.visual,.points{margin:15px 0}.takeaway{margin-top:14px;font-size:18px}.flow strong{font-size:19px}.controls{padding:6px 0 0}.controls button{min-height:36px;padding:5px 12px}}@media print{.viewer-header,.audience,.controls,.progress,.downloads,.evidence summary{display:none}.viewer{padding:0;max-width:none}.stage{border:0;padding:20px;min-height:0}.slide,.slide[hidden]{display:block!important;break-after:page}.evidence{display:none}h1{font-size:34px}.points strong{font-size:22px}.points span{font-size:18px}@page{size:landscape;margin:12mm}}
/* Screenshot-led story. The graphic explains the flow; the original screen stays inspectable. */
.screen-story{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,1fr);gap:28px;align-items:center}.screen-figure{margin:0;min-width:0}.screen-open{position:relative;display:block;width:100%;padding:0;overflow:hidden;border:1px solid #c6d3c8;border-radius:12px;background:#f3f0ea;box-shadow:0 10px 28px #19362b10;text-align:left}.screen-open img{display:block;width:100%;height:auto;max-height:410px;object-fit:contain;object-position:center}.screen-enlarge{position:absolute;right:8px;bottom:8px;padding:5px 9px;border:1px solid #cad5c9;border-radius:7px;background:#fbfaf6f2;color:var(--accent);font-size:12px;font-weight:650}.screen-figure figcaption{margin:9px 2px 0;font-size:11px;color:var(--muted)}.story-graphic{min-width:0}.has-screen .assistant-query{font-size:clamp(17px,2vw,23px);padding:8px 0 8px 14px;margin-bottom:20px}.has-screen .subtitle{max-width:none}.has-screen .points{grid-template-columns:1fr;margin:0;gap:22px}.has-screen .points strong{font-size:20px}.has-screen .points span{font-size:15px}.has-screen .evidence .points{margin:16px 0}.workflow-chart{margin:0;min-width:0}.chart-diagram{display:grid;grid-template-columns:minmax(0,1fr);gap:20px 30px;align-items:stretch}.chart-diagram.has-branch{grid-template-columns:minmax(0,1.1fr) minmax(110px,.9fr)}.chart-main{display:contents;list-style:none;margin:0;padding:0}.chart-node{grid-column:1;display:flex;align-items:center;gap:10px;min-height:60px;border:1px solid #cddbcf;border-left:3px solid var(--accent);border-radius:9px;padding:10px 12px;background:#edf3ee;position:relative;animation:node-focus 1.8s ease-out both;animation-delay:calc(var(--step,0)*.8s);animation-play-state:paused}.chart-node:not(:last-child):after{content:'↓';position:absolute;left:20px;bottom:-23px;font-size:21px;line-height:20px;color:var(--accent)}.chart-node:last-child{border-color:#cabb98;border-left-color:#a68b4d;background:#f4f0e6}.node-number{font-size:10px;font-weight:700;color:var(--accent);font-variant-numeric:tabular-nums;letter-spacing:.02em}.chart-node strong{font-size:15px;font-weight:650;line-height:1.2;display:block}.chart-node small{display:block;color:#62695e;font-size:12px;line-height:1.3;margin-top:4px}.chart-branch{grid-column:2;align-self:stretch;display:flex;flex-direction:column;justify-content:center;position:relative;border:1px dashed #b69b65;background:#f8f3e8;border-radius:9px;padding:12px 10px;color:#735928}.chart-branch:before,.chart-branch:after{position:absolute;left:-28px;width:26px;line-height:20px;font-size:23px;text-align:center;color:#a1844b}.chart-branch:before{content:'→';bottom:7px}.chart-branch:after{content:'←';top:5px}.chart-branch strong{font-size:13px;line-height:1.25}.chart-branch>span{font-size:12px;line-height:1.35;margin-top:6px}.chart-branch small{font-size:10px;line-height:1.4;margin-top:10px;color:#856e40}.workflow-chart figcaption{font-size:12px;margin-top:15px;color:var(--muted);max-width:38ch}.truth .chart-diagram{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.truth .chart-node{grid-row:1!important;grid-column:auto;min-height:105px}.truth .chart-node:not(:last-child):after{content:'→';left:auto;right:-24px;bottom:38px}.truth .points{margin:24px 0 0}.architecture .flow li{background:#edf3ee;border-radius:12px;border:1px solid #cddbcf;border-top:4px solid var(--accent);padding:22px 20px;min-height:130px;animation:node-focus 1.8s ease-out both;animation-delay:calc(var(--step,0)*.8s);animation-play-state:paused}.architecture .flow li:last-child{background:#f4f0e6;border-color:#cabb98;border-top-color:#a68b4d}.architecture .flow li+li:before{top:48px}.viewer[data-motion="playing"] .slide:not([hidden]) .chart-node,.viewer[data-motion="playing"] .slide:not([hidden]).architecture .flow li{animation-play-state:running}.slide[hidden] .chart-node,.slide[hidden].architecture .flow li{animation:none}.slide.enter{animation:none}.close .points li{border-top:3px solid var(--accent);padding-top:18px}.close .points strong{font-size:26px}.close .points span{font-size:19px}.screen-dialog{position:fixed;inset:0;width:min(1280px,calc(100vw - 24px));height:calc(100dvh - 24px);max-width:none;max-height:none;margin:auto;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);z-index:20000;box-shadow:0 20px 100px #172d2380}.screen-dialog[open]{display:flex;flex-direction:column}.screen-dialog::backdrop{background:#172d23bf}.screen-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.screen-dialog h2{font-size:20px;line-height:1.2;margin:0}.screen-dialog header>div{display:flex;gap:8px;flex-shrink:0}.screen-scroll{overflow:auto;min-height:0;flex:1;display:flex;align-items:flex-start;justify-content:center;border:1px solid var(--line);border-radius:8px;background:var(--paper);touch-action:pan-x pan-y pinch-zoom}.screen-scroll:focus-visible{outline:3px solid #6f9a86;outline-offset:2px}.screen-scroll img{display:block;max-width:100%;max-height:100%;object-fit:contain;margin:auto;width:auto;height:auto}.screen-dialog.is-zoomed .screen-scroll{display:block}.screen-dialog.is-zoomed .screen-scroll img{max-width:none;max-height:none;width:max(1100px,100%);height:auto;margin:0}.screen-dialog>p{font-size:12px;color:var(--muted);margin:12px 0 0}.screen-is-open{overflow:hidden}@keyframes node-focus{0%,100%{box-shadow:0 0 0 0 #1c5f4e00}40%{box-shadow:0 0 0 4px #1c5f4e28;border-color:var(--accent)}}
@media(max-width:800px){.screen-story{grid-template-columns:1fr;gap:24px}.screen-open img{max-height:360px}.has-screen .assistant-query{max-width:none}.has-screen .workflow-chart{max-width:540px;width:100%;margin:auto}.has-screen .chart-diagram:not(.has-branch){grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.has-screen .chart-diagram:not(.has-branch) .chart-node{grid-row:1!important;grid-column:auto;display:block;padding:12px 10px}.has-screen .chart-diagram:not(.has-branch) .node-number{display:block;margin-bottom:6px}.has-screen .chart-diagram:not(.has-branch) .chart-node:not(:last-child):after{content:'→';left:auto;right:-20px;bottom:42%}.has-screen .points{gap:16px}.has-screen .points li{display:grid;grid-template-columns:minmax(115px,35%) 1fr;gap:12px}.screen-story+.takeaway{margin-top:22px}.has-screen h1{max-width:26ch}}
@media(max-width:600px){.screen-story{gap:22px}.screen-open{border-radius:9px}.screen-enlarge{font-size:11px}.screen-open img{max-height:none}.screen-figure figcaption{font-size:10px}.chart-node{min-height:60px;padding:10px}.chart-node strong{font-size:15px}.chart-node small{font-size:12px}.chart-diagram.has-branch{grid-template-columns:minmax(0,1.15fr) minmax(110px,.85fr);gap:20px 28px}.truth .chart-diagram{grid-template-columns:1fr;gap:20px}.truth .chart-node{grid-column:1;grid-row:auto!important;min-height:68px}.truth .chart-node:not(:last-child):after{content:'↓';left:20px;right:auto;bottom:-23px}.architecture .flow{grid-template-columns:1fr;gap:20px}.architecture .flow li{min-height:90px;padding:14px 18px;display:flex;align-items:center;gap:15px}.architecture .flow em{margin:0}.architecture .flow li:nth-child(3){grid-column:auto}.architecture .flow li+li:before{display:block;content:'↓';left:26px;top:-29px}.screen-dialog{padding:12px;width:calc(100vw - 12px);height:calc(100dvh - 12px);border-radius:10px}.screen-dialog header{align-items:flex-start;gap:8px;flex-direction:column}.screen-dialog h2{font-size:18px}.screen-dialog header>div{width:100%;justify-content:space-between}.screen-dialog header button{padding:8px 12px}.close .points strong{font-size:22px}.close .points span{font-size:17px}}
@media(prefers-reduced-motion:reduce){.chart-node,.architecture .flow li{animation:none!important}.screen-open,.progress span{transition:none}}
@media print{.screen-dialog{display:none!important}.screen-story{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.screen-enlarge{display:none}.chart-node,.architecture .flow li{animation:none!important}}
/* The app launch has an explicit way back, including on a phone. */
.back-to-nexa{font-size:14px;font-weight:600;color:var(--accent);white-space:nowrap}.embedded .viewer{height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto auto;overflow:hidden}.embedded .stage{min-height:0;overflow:auto}.embedded .audience{margin-top:2px}.embedded .controls{position:static}.embedded .downloads{margin-top:4px}.embedded .downloads>summary{padding:7px 0}.embedded .download-help{margin:8px auto}.embedded .notice:empty{margin:0}@media(max-width:600px){.header-actions{gap:6px}.back-to-nexa{font-size:13px;padding:9px 10px}.embedded .stage{min-height:0}}

/* Normal embeds fit their content; only the slide scrolls when the parent's budget is reached. */
html:not(:fullscreen) body.embedded:not(.immersive) .viewer{height:auto;display:flow-root;overflow:visible}
html:not(:fullscreen) body.embedded:not(.immersive) .stage{max-height:var(--slide-height-limit,500px);min-height:0;overflow:auto}
html:not(:fullscreen) body.embedded:not(.immersive){overflow:hidden}


/* Nexa is the focal point; ECAP and the ERP explain how work stays connected. */
.architecture-map{display:grid;gap:24px;max-width:940px;margin:auto}
.nexa-focus{position:relative;isolation:isolate;overflow:hidden;min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:26px 20px;border-radius:22px;background:radial-gradient(ellipse at 90% 0%,#5d978670,transparent 52%),#163e34;color:#fff;text-align:center}
.nexa-focus:before,.nexa-focus:after{content:"";position:absolute;z-index:-1;width:340px;height:340px;border:1px solid #b9dace25;border-radius:50%;right:-85px;top:-110px;transform:rotate(-20deg)}
.nexa-focus:after{width:430px;height:430px;right:-130px;top:-155px}
.focus-spark{position:absolute;width:54px;height:54px;left:24px;top:22px;fill:#bdded0;opacity:.8}
.focus-label{text-transform:uppercase;letter-spacing:.16em;font-size:10px;color:#bbd8ce}
.nexa-focus>strong{font-size:clamp(56px,8vw,86px);font-weight:650;line-height:1.05;letter-spacing:-.065em;margin:4px 0 8px}
.focus-caption{font-size:clamp(14px,1.8vw,18px);color:#e4efe9}
.focus-context{display:flex;gap:20px;margin-top:20px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#b7d7c9}
.focus-context span+span:before{content:"·";margin-right:20px;color:#86b09d}
.architecture .flow{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.architecture .flow li{display:block;min-height:0;padding:16px 18px;border-width:0 0 0 2px;border-radius:0;background:#edf3ee80}
.architecture .flow li:last-child{border-left-color:#b19354;background:#f4f0e6}
.architecture .flow li+li:before{display:none}
.architecture .flow em{font-size:10px;margin-bottom:6px}
.architecture .flow strong{font-size:clamp(14px,2vw,20px)}
.architecture .takeaway{color:var(--accent)}
.options-toggle[hidden]{display:none!important}
.options-toggle{position:absolute;right:22px;top:20px;z-index:12;display:flex;align-items:center;gap:7px;font-size:12px;min-height:36px;padding:6px 10px;border-radius:999px;background:#fbfaf6e8;color:var(--accent);box-shadow:0 2px 10px #173e3310}
.slide-notes{width:min(720px,90vw);max-height:86dvh;border:1px solid var(--line);border-radius:18px;padding:22px;background:var(--surface);color:var(--ink)}
.slide-notes::backdrop{background:#142d25b8;backdrop-filter:blur(4px)}
.slide-notes[open]{display:flex;flex-direction:column}
.slide-notes header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.slide-notes h2{font-size:21px;line-height:1.2;margin:0}
.notes-content{overflow:auto;min-height:0;padding-top:14px;font-size:16px;line-height:1.5}
.notes-content img{display:block;max-width:100%;height:auto}
.notes-content .points{grid-template-columns:1fr;gap:16px}
.presentation-fullscreen{overflow:hidden}
.presentation-fullscreen .viewer{position:relative;width:100%;height:var(--presentation-vh,100dvh);max-width:none;margin:0;display:grid;grid-template-rows:minmax(0,1fr) auto 3px;gap:8px;overflow:hidden;padding:max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}
.presentation-fullscreen .presentation-settings{position:absolute;z-index:11;top:8px;left:10px;right:10px;padding:16px 14px 10px;border:1px solid #d4ddd4;border-radius:16px;background:#f3f0eaf5;box-shadow:0 12px 45px #173e332b;backdrop-filter:blur(18px);opacity:0;visibility:hidden;transform:translateY(-10px);transition:opacity .22s,transform .22s,visibility 0s .22s;max-height:70%;overflow:auto}
.presentation-fullscreen.options-visible .presentation-settings{opacity:1;visibility:visible;transform:translateY(0);transition-delay:0s}
.presentation-fullscreen .viewer-header{display:flex;padding-right:102px;margin-bottom:12px}
.presentation-fullscreen .header-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}
.presentation-fullscreen .header-actions .slide-count{display:none}
.presentation-fullscreen .audience{margin-bottom:0}
.presentation-fullscreen .stage{display:flex;align-items:flex-start;justify-content:center;min-width:0;min-height:0;width:100%;overflow:hidden;padding:clamp(16px,3vw,34px);border-radius:18px}
.presentation-fullscreen .slide{flex:0 0 100%;width:100%;height:100%;min-height:0;max-width:1240px;margin:0;display:flex;flex-direction:column;transform:scale(var(--slide-scale,1));transform-origin:top center}
.presentation-fullscreen .slide-heading{flex:0 0 auto}
.presentation-fullscreen .slide-top{min-height:26px;margin-bottom:clamp(10px,2vh,20px);padding-right:92px}
.presentation-fullscreen .erp-logo{max-height:30px;max-width:130px}
.presentation-fullscreen .eyebrow{font-size:11px;margin-bottom:8px}
.presentation-fullscreen h1{font-size:clamp(28px,4.4vw,52px);line-height:1.05;margin-bottom:10px;max-width:27ch}
.presentation-fullscreen .subtitle{font-size:clamp(14px,1.8vw,19px);line-height:1.35;margin-bottom:0}
.presentation-fullscreen .visual{flex:1 1 auto;min-height:0;margin:clamp(12px,2.6vh,26px) 0;display:flex;align-items:center}
.presentation-fullscreen .visual>.story-graphic{width:100%;min-width:0}
.presentation-fullscreen .screen-story{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px}
.presentation-fullscreen .screen-figure{min-height:0;max-height:100%;display:flex;flex-direction:column}
.presentation-fullscreen .screen-open{min-height:0;flex:0 1 auto}
.presentation-fullscreen .screen-open img{width:100%;height:auto;max-height:38vh;object-fit:contain}
.presentation-fullscreen .screen-figure figcaption{font-size:10px;margin-top:6px}
.presentation-fullscreen .assistant-query{font-size:clamp(16px,2vw,23px);line-height:1.25;margin-bottom:14px;padding:7px 12px}
.presentation-fullscreen .chart-diagram{gap:14px 22px}
.presentation-fullscreen .chart-node{min-height:48px;padding:8px 10px}
.presentation-fullscreen .chart-node strong{font-size:14px}
.presentation-fullscreen .chart-node small{font-size:11px;margin-top:3px}
.presentation-fullscreen .chart-node:not(:last-child):after{bottom:-18px;font-size:17px;line-height:15px}
.presentation-fullscreen .chart-branch{padding:10px 8px}
.presentation-fullscreen .chart-branch strong{font-size:12px}
.presentation-fullscreen .chart-branch>span{font-size:11px}
.presentation-fullscreen .chart-branch small{font-size:10px;margin-top:7px}
.presentation-fullscreen .chart-branch:before,.presentation-fullscreen .chart-branch:after{left:-22px;width:20px;font-size:20px}
.presentation-fullscreen .workflow-chart figcaption{font-size:11px;line-height:1.3;margin-top:9px}
.presentation-fullscreen .points{margin:0;gap:20px}
.presentation-fullscreen .points strong{font-size:clamp(17px,2vw,23px)}
.presentation-fullscreen .points span{font-size:clamp(13px,1.5vw,17px)}
.presentation-fullscreen .takeaway{flex:0 0 auto;font-size:clamp(16px,2.2vw,23px);line-height:1.3;margin:0;padding-top:12px;border-top:1px solid #1c5f4e24;max-width:none}
.presentation-fullscreen .evidence,.presentation-fullscreen .downloads,.presentation-fullscreen #player-status{display:none}
.presentation-fullscreen .controls{position:static;display:grid;grid-template-columns:auto auto minmax(45px,64px) auto 44px;justify-content:center;align-items:center;gap:10px;flex-wrap:nowrap;margin:0;padding:0;background:transparent;min-width:0}
.presentation-fullscreen .controls button{min-height:44px;white-space:nowrap}
.presentation-fullscreen .progress{margin:0;height:3px}
.presentation-fullscreen .architecture-map{width:100%;gap:18px}
.presentation-fullscreen .nexa-focus{min-height:0;height:clamp(170px,31vh,300px);padding:20px}
.presentation-fullscreen .focus-context{margin-top:14px}
.presentation-fullscreen .architecture .flow li{padding:12px 14px}
.presentation-fullscreen .compact-slide .slide-top{margin-bottom:8px}
.presentation-fullscreen .compact-slide h1{font-size:clamp(25px,4vw,42px)}
.presentation-fullscreen .compact-slide .visual{margin:10px 0}
.presentation-fullscreen .compact-slide .subtitle{font-size:14px}
.presentation-fullscreen .compact-slide .nexa-focus{height:155px}
.presentation-fullscreen .compact-slide .takeaway{font-size:15px;padding-top:8px}
@media(max-width:600px){
  .architecture-map{gap:18px}.nexa-focus{min-height:205px}.focus-spark{width:36px;height:36px;left:18px;top:18px}.architecture .flow{gap:10px}.architecture .flow li{padding:10px 8px}.architecture .flow strong{font-size:14px}
  .presentation-fullscreen .options-toggle{right:18px;top:17px;width:36px;padding:6px;justify-content:center}.presentation-fullscreen .options-toggle>span+span{display:none}
  .presentation-fullscreen .viewer-header{padding-right:38px}.presentation-fullscreen .header-actions{gap:6px}.presentation-fullscreen .header-actions button,.presentation-fullscreen .header-actions a{min-height:36px;font-size:12px;padding:7px 8px}.presentation-fullscreen .lockup{font-size:23px}
  .presentation-fullscreen .stage{padding:18px 16px 16px}.presentation-fullscreen .slide-top{padding-right:38px;margin-bottom:14px}.presentation-fullscreen .erp-logo{max-width:100px;max-height:25px}.presentation-fullscreen .industry-mark{font-size:10px;max-width:55%}.presentation-fullscreen .industry-mark svg{width:19px;height:19px}
  .presentation-fullscreen h1{font-size:clamp(28px,7.8vw,42px);max-width:22ch}.presentation-fullscreen .eyebrow{font-size:10px;letter-spacing:.1em}.presentation-fullscreen .subtitle{font-size:15px}
  .presentation-fullscreen .screen-story{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:14px}
  .presentation-fullscreen .screen-figure{flex:0 1 auto}.presentation-fullscreen .screen-open{width:100%;max-width:430px;margin:auto}.presentation-fullscreen .screen-open img{max-height:24vh;object-fit:contain}.presentation-fullscreen .screen-figure figcaption{text-align:center}
  .presentation-fullscreen .screen-story>.story-graphic{flex:0 0 auto}.presentation-fullscreen .has-screen .chart-diagram,.presentation-fullscreen .has-screen .chart-diagram.has-branch{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
  .presentation-fullscreen .has-screen .chart-main{display:contents}.presentation-fullscreen .has-screen .chart-node{grid-column:auto!important;grid-row:1!important;display:block;min-height:60px;padding:9px 7px;border-left:0;border-top:2px solid var(--accent)}
  .presentation-fullscreen .has-screen .chart-node:first-child:nth-last-child(3),.presentation-fullscreen .has-screen .chart-node:first-child:nth-last-child(3)~.chart-node{grid-column:auto!important}
  .presentation-fullscreen .has-screen .chart-diagram:not(.has-branch){grid-template-columns:repeat(3,minmax(0,1fr))}
  .presentation-fullscreen .has-screen .node-number{font-size:9px;margin-bottom:4px;display:block}.presentation-fullscreen .has-screen .chart-node strong{font-size:12px;line-height:1.15}.presentation-fullscreen .has-screen .chart-node small{font-size:10px;line-height:1.2}
  .presentation-fullscreen .has-screen .chart-node:not(:last-child):after{content:'›';left:auto;right:-10px;bottom:auto;top:24px;font-size:17px}
  .presentation-fullscreen .has-screen .chart-branch{grid-column:1/-1;grid-row:2!important;display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:center;padding:8px 10px}.presentation-fullscreen .has-screen .chart-branch>span{margin:0}.presentation-fullscreen .has-screen .chart-branch small{grid-column:1/-1;margin:0;font-size:9px}.presentation-fullscreen .has-screen .chart-branch small br{display:none}.presentation-fullscreen .has-screen .chart-branch:before,.presentation-fullscreen .has-screen .chart-branch:after{display:none}
  .presentation-fullscreen .assistant-query{font-size:17px;margin-bottom:12px}.presentation-fullscreen .takeaway{font-size:17px;padding-top:10px}
  .presentation-fullscreen .points{grid-template-columns:1fr;gap:14px}.presentation-fullscreen .points li{grid-template-columns:minmax(94px,31%) 1fr;gap:12px}.presentation-fullscreen .points strong{font-size:16px}.presentation-fullscreen .points span{font-size:14px}
  .presentation-fullscreen .truth .chart-diagram{grid-template-columns:1fr;gap:16px}.presentation-fullscreen .truth .chart-node{grid-row:auto!important;min-height:58px}.presentation-fullscreen .truth .chart-node:after{content:'↓';right:auto;left:18px;bottom:-19px}
  .presentation-fullscreen .nexa-focus{height:clamp(205px,32vh,330px)}.presentation-fullscreen .nexa-focus>strong{font-size:74px}.presentation-fullscreen .architecture .flow li{padding:12px 9px}.presentation-fullscreen .architecture .flow strong{font-size:14px}.presentation-fullscreen .focus-caption{font-size:14px}.presentation-fullscreen .focus-context{font-size:9px;gap:14px}.presentation-fullscreen .focus-context span+span:before{margin-right:14px}
  .presentation-fullscreen .controls{grid-template-columns:44px 88px 50px 44px 44px;gap:6px}.presentation-fullscreen .controls button{padding:6px;font-size:14px}.presentation-fullscreen .controls #previous>span,.presentation-fullscreen .controls #next>span{display:none}.presentation-fullscreen .controls #previous,.presentation-fullscreen .controls #next{font-size:25px}.presentation-fullscreen .counter{font-size:13px;min-width:0}
  .presentation-fullscreen .compact-slide h1{font-size:27px}.presentation-fullscreen .compact-slide .slide-top{margin-bottom:8px}.presentation-fullscreen .compact-slide .screen-open img{max-height:20vh}.presentation-fullscreen .compact-slide .nexa-focus{height:170px}.presentation-fullscreen .compact-slide .nexa-focus>strong{font-size:60px}.presentation-fullscreen .compact-slide .focus-context{margin-top:10px}.presentation-fullscreen .compact-slide .visual{margin:12px 0}.presentation-fullscreen .compact-slide .takeaway{font-size:15px}
}
@media(min-aspect-ratio:4/3) and (max-height:650px){
  .presentation-fullscreen .stage{padding:18px 24px}.presentation-fullscreen .slide{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);grid-template-rows:minmax(0,1fr) auto;gap:14px 28px}
  .presentation-fullscreen .slide-heading{grid-column:1;grid-row:1;align-self:center}.presentation-fullscreen .slide-top{padding-right:0;margin-bottom:14px}.presentation-fullscreen .visual{grid-column:2;grid-row:1/3;align-self:center;width:100%;height:100%;margin:0;padding-top:20px}.presentation-fullscreen .takeaway{grid-column:1;grid-row:2;font-size:15px}
  .presentation-fullscreen h1{font-size:clamp(26px,3.5vw,42px)}.presentation-fullscreen .subtitle{font-size:15px}.presentation-fullscreen .erp-logo{max-height:26px;max-width:105px}
  .presentation-fullscreen .screen-story{gap:12px}.presentation-fullscreen .screen-open img{max-height:55vh}.presentation-fullscreen .screen-figure figcaption{font-size:9px}.presentation-fullscreen .screen-story>.story-graphic{min-width:0}.presentation-fullscreen .chart-node{min-height:40px;padding:6px 8px}.presentation-fullscreen .chart-node strong{font-size:12px}.presentation-fullscreen .chart-node small{font-size:10px}.presentation-fullscreen .chart-branch>span{font-size:10px}.presentation-fullscreen .chart-branch small{font-size:9px}.presentation-fullscreen .assistant-query{font-size:15px;margin-bottom:10px}
  .presentation-fullscreen .nexa-focus{height:clamp(125px,42vh,245px);padding:14px}.presentation-fullscreen .nexa-focus>strong{font-size:clamp(48px,8vh,72px)}.presentation-fullscreen .focus-label{font-size:9px}.presentation-fullscreen .focus-caption{font-size:13px}.presentation-fullscreen .focus-context{margin-top:10px;font-size:9px}.presentation-fullscreen .focus-spark{width:30px;height:30px;top:14px;left:14px}.presentation-fullscreen .architecture-map{gap:12px}.presentation-fullscreen .architecture .flow li{padding:8px}.presentation-fullscreen .architecture .flow strong{font-size:12px}.presentation-fullscreen .architecture .flow em{font-size:9px}
  .presentation-fullscreen .points{gap:14px}.presentation-fullscreen .points strong{font-size:17px}.presentation-fullscreen .points span{font-size:13px}.presentation-fullscreen .truth .chart-diagram{gap:12px}.presentation-fullscreen .truth .chart-node{min-height:78px;padding:8px}.presentation-fullscreen .truth .chart-node:after{right:-12px;font-size:16px}.presentation-fullscreen .truth .points{grid-template-columns:1fr;gap:8px;margin-top:14px}.presentation-fullscreen .truth .points li+li{border:0;padding:0}
}
@media(prefers-reduced-motion:reduce){.presentation-fullscreen .presentation-settings{transition:none}.nexa-focus:before,.nexa-focus:after{animation:none}}
.architecture .flow strong{overflow-wrap:normal}.architecture .flow strong span{display:block;white-space:nowrap;font-size:.86em;font-weight:500;line-height:1.5}
/* Navigation keeps a single row in the normal viewer as well as fullscreen. */
.controls{display:grid;grid-template-columns:auto auto minmax(45px,64px) auto 44px;flex-wrap:nowrap}.controls button{height:44px;line-height:1.2;white-space:nowrap}
@media(max-width:600px){.controls{grid-template-columns:44px 88px 50px 44px 44px;gap:6px}.controls button{padding:6px;font-size:14px}.controls #previous>span,.controls #next>span{display:none}.controls #previous,.controls #next{font-size:25px}.counter{font-size:13px;min-width:0}}
/* Override legacy embedded/native fullscreen row definitions together. */
html body.presentation-fullscreen.embedded .viewer,html:fullscreen body.presentation-fullscreen .viewer{grid-template-rows:minmax(0,1fr) auto 3px;height:var(--presentation-vh,100dvh)}
html body.presentation-fullscreen .stage .slide{margin:0}
@media(min-aspect-ratio:4/3) and (max-height:650px){
  .presentation-fullscreen .has-screen .screen-story{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:10px}
  .presentation-fullscreen .has-screen .screen-figure{flex:0 1 auto;min-height:0;max-height:42%;align-items:center}
  .presentation-fullscreen .has-screen .screen-open{width:100%;max-width:400px;min-height:0}
  .presentation-fullscreen .has-screen .screen-open img{max-height:25vh;object-fit:contain}
  .presentation-fullscreen .has-screen .screen-figure figcaption{font-size:9px;margin:4px 0 0;line-height:1.15}
  .presentation-fullscreen .has-screen .chart-diagram,.presentation-fullscreen .has-screen .chart-diagram.has-branch{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .presentation-fullscreen .has-screen .chart-diagram:not(.has-branch){grid-template-columns:repeat(3,minmax(0,1fr))}
  .presentation-fullscreen .has-screen .chart-node{grid-column:auto!important;grid-row:1!important;display:block;min-height:54px;padding:7px 6px;border-left:0;border-top:2px solid var(--accent)}
  .presentation-fullscreen .has-screen .chart-node strong{font-size:12px;line-height:1.15}
  .presentation-fullscreen .has-screen .chart-node small,.presentation-fullscreen .has-screen .workflow-chart figcaption,.presentation-fullscreen .has-screen .chart-branch small{display:none}
  .presentation-fullscreen .has-screen .node-number{font-size:9px;display:block;margin-bottom:4px}
  .presentation-fullscreen .has-screen .chart-node:not(:last-child):after{content:'›';top:20px;bottom:auto;left:auto;right:-8px;font-size:16px}
  .presentation-fullscreen .has-screen .chart-branch{grid-column:1/-1;grid-row:2!important;display:flex;flex-direction:row;align-items:center;gap:10px;padding:7px 9px}
  .presentation-fullscreen .has-screen .chart-branch strong{font-size:11px}.presentation-fullscreen .has-screen .chart-branch>span{font-size:10px;margin:0}.presentation-fullscreen .has-screen .chart-branch:before,.presentation-fullscreen .has-screen .chart-branch:after{display:none}
  .presentation-fullscreen .has-screen .assistant-query{font-size:15px;margin-bottom:10px;padding:4px 10px}
  .presentation-fullscreen .has-screen .points{gap:9px}.presentation-fullscreen .has-screen .points li{display:grid;grid-template-columns:minmax(80px,32%) 1fr;gap:10px}.presentation-fullscreen .has-screen .points strong{font-size:14px;margin:0}.presentation-fullscreen .has-screen .points span{font-size:12px}
}

.options-toggle{min-height:44px}
@media(max-width:600px){.presentation-fullscreen .options-toggle{width:44px;padding:8px;top:12px;right:12px}}
@media print{
  .presentation-settings,.options-toggle,.controls,.progress,.downloads,.slide-notes{display:none!important}
  html body.presentation-fullscreen .viewer{display:block;height:auto;overflow:visible;padding:0}
  .presentation-fullscreen .stage{display:block;overflow:visible;border:0;padding:20px}
  .presentation-fullscreen .slide{display:block!important;height:auto;min-height:0;transform:none!important;break-after:page}
  .presentation-fullscreen .visual{display:block}.presentation-fullscreen .screen-story{display:grid}
}

/* The workflow story is a native diagram, not a miniature editor screenshot. */
.workflow-slide h1{max-width:none;font-size:clamp(26px,3.4vw,42px)}
.workflow-slide .slide-top{margin-bottom:14px}.workflow-slide .subtitle{margin-bottom:0}
.workflow-slide .visual{margin:24px 0}.workflow-slide .story-graphic{width:100%}
.workflow-hierarchy,.workflow-rule-map{margin:0;min-width:0}
.workflow-groups{display:grid;grid-template-columns:1fr 2.18fr 2.18fr;gap:28px;align-items:stretch}
.workflow-group{min-width:0}.workflow-group h2{margin:0 0 13px;padding:9px 0;border-top:2px solid var(--accent);font-size:13px;font-weight:650;letter-spacing:.01em;color:var(--accent);min-height:41px}
.workflow-group ol{display:flex;gap:28px;list-style:none;margin:0;padding:0}
.workflow-step{position:relative;flex:1;min-width:0;min-height:135px;padding:13px 11px;border:1px solid #bacdc2;border-radius:10px;background:#edf3ef;display:flex;flex-direction:column;gap:8px}
.workflow-group-record .workflow-step{background:var(--surface)}.workflow-group-erp .workflow-step{background:#f5f1e7;border-color:#d5c7a6}
.flow-number{font-size:11px;line-height:1;color:var(--accent);font-variant-numeric:tabular-nums;letter-spacing:.06em}
.workflow-step>strong{font-size:clamp(14px,1.5vw,18px);line-height:1.22;font-weight:650;overflow-wrap:normal}
.flow-step-detail{font-size:12px;line-height:1.35;color:var(--muted)}
.flow-connector{position:absolute;width:28px;height:20px;right:-29px;top:calc(50% - 10px);z-index:1}
.flow-connector svg,.rule-outcome svg{display:block;width:100%;height:100%;fill:none;stroke:var(--accent);stroke-width:1.7}
.flow-record-links{position:relative;margin-top:24px;border-top:1px dashed #799989;padding-top:11px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.flow-record-links:before{content:'';position:absolute;top:-14px;left:50%;height:13px;border-left:1px dashed #799989}
.flow-record-links>strong{font-size:12px;font-weight:600;color:var(--accent)}
.flow-record-links ul{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px 14px;list-style:none;padding:0;margin:0}
.flow-record-links li{font-size:11px;color:var(--muted);white-space:nowrap}
.flow-record-links li+li:before{content:'·';margin-right:14px;color:#799989}
.workflow-hierarchy figcaption,.workflow-rule-map figcaption{font-size:11px;color:var(--muted);margin-top:10px;line-height:1.3}
.rule-decision{position:relative;display:flex;align-items:center;justify-content:center;gap:18px;min-height:64px;margin:0 auto 12px;max-width:460px}
.decision-diamond{width:38px;height:38px;flex:0 0 38px;border:2px solid var(--accent);background:var(--soft);transform:rotate(45deg);border-radius:3px}
.rule-decision strong{display:block;font-size:20px;line-height:1.2}.rule-decision div>span{display:block;font-size:13px;color:var(--muted);margin-top:5px}
.rule-match{display:flex;justify-content:center;gap:22px;font-size:11px;color:var(--muted);margin-bottom:24px}.rule-match>span:first-child{color:var(--accent)}
.rule-branches{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding-top:18px}
.rule-branches:before{content:'';position:absolute;left:16.67%;right:16.67%;top:0;border-top:1.5px solid var(--accent)}
.rule-branches:after{content:'';position:absolute;left:50%;top:-15px;height:15px;border-left:1.5px solid var(--accent)}
.rule-branch{position:relative;min-width:0;padding:15px 14px 12px;border:1px solid #b9cec1;background:#edf3ef;border-radius:10px}
.rule-branch:before{content:'';position:absolute;left:50%;height:17px;top:-19px;border-left:1.5px solid var(--accent)}
.rule-branch h2{display:flex;align-items:center;gap:8px;font-size:17px;line-height:1.2;margin:0 0 11px;color:var(--accent)}
.rule-cue{display:inline-flex;align-items:center;justify-content:center;flex:0 0 23px;height:23px;border:1px solid currentColor;border-radius:50%;font-size:15px}
.rule-branch p{font-size:13px;line-height:1.3;color:var(--muted);margin:0 0 14px}
.rule-warning{background:#f8f3e6;border-color:#d9c89d}.rule-warning h2{color:#86631e}
.rule-block{background:#f8eeeb;border-color:#ddbab2}.rule-block h2{color:#994936}
.rule-outcome{display:flex;align-items:flex-start;gap:6px;border-top:1px solid #1c5f4e24;padding-top:10px}
.rule-outcome svg{width:21px;flex:0 0 21px;height:17px}.rule-outcome strong{font-size:12px;line-height:1.35;font-weight:600}
.workflow-slide .evidence .screen-figure{max-width:720px;margin:18px 0}.workflow-slide .evidence .screen-open img{max-height:440px}
.slide-notes .workflow-hierarchy,.slide-notes .workflow-rule-map{margin:18px 0}
/* Fullscreen dedicates the available width to the diagram in either orientation. */
.presentation-fullscreen .workflow-slide{display:flex;flex-direction:column;gap:0}
.presentation-fullscreen .workflow-slide .slide-heading{width:100%;flex:0 0 auto}
.presentation-fullscreen .workflow-slide .visual{grid-column:auto;grid-row:auto;width:100%;height:auto;padding:0;flex:1 1 auto;margin:14px 0;align-self:auto}
.presentation-fullscreen .workflow-slide .takeaway{grid-column:auto;grid-row:auto;flex:0 0 auto;font-size:clamp(15px,1.8vw,20px)}
.presentation-fullscreen .workflow-slide h1{font-size:clamp(25px,3.4vw,39px)}
.presentation-fullscreen .workflow-slide .subtitle{font-size:15px}
@media(max-width:700px){
  .workflow-slide .visual{margin:18px 0}.workflow-slide .slide-top{margin-bottom:12px}
  .workflow-groups{display:flex;flex-direction:column;gap:10px}
  .workflow-group{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px}
  .workflow-group h2{border-top:0;border-left:2px solid var(--accent);margin:0;padding:6px 0 6px 8px;font-size:12px;line-height:1.3;display:flex;align-items:center}
  .workflow-group ol{flex-direction:column;gap:10px}
  .workflow-step{min-height:56px;padding:8px 10px;display:grid;grid-template-columns:22px minmax(0,1fr);gap:3px 8px;align-content:center}
  .flow-number{grid-column:1;grid-row:1/3;align-self:center}.workflow-step>strong{grid-column:2;font-size:15px;line-height:1.2}.flow-step-detail{grid-column:2;font-size:12px;line-height:1.2}
  .flow-connector{width:12px;height:20px;right:auto;left:calc(50% - 6px);top:auto;bottom:-16px;transform:rotate(90deg)}
  .flow-record-links{display:block;margin-top:18px;padding-top:9px}.flow-record-links>strong{display:block;font-size:12px;margin-bottom:5px}
  .flow-record-links ul{justify-content:flex-start;gap:3px 10px}.flow-record-links li{font-size:11px}.flow-record-links li+li:before{margin-right:10px}
  .rule-decision{justify-content:flex-start;gap:17px;margin-left:14px;min-height:54px}.rule-decision strong{font-size:18px}.rule-decision div>span{font-size:12px}.decision-diamond{width:30px;height:30px;flex-basis:30px}
  .rule-match{display:block;margin:10px 0 15px 14px;font-size:11px}.rule-match>span{display:block}.rule-match>span+span{margin-top:3px}
  .rule-branches{display:flex;flex-direction:column;gap:10px;padding:0 0 0 24px}
  .rule-branches:before{left:8px;right:auto;top:-12px;bottom:50px;border-top:0;border-left:1.5px solid var(--accent)}.rule-branches:after{display:none}
  .rule-branch{padding:10px 12px}.rule-branch:before{left:-17px;top:calc(50% - 1px);width:16px;height:0;border-left:0;border-top:1.5px solid var(--accent)}
  .rule-branch h2{font-size:15px;margin:0 0 5px;gap:7px}.rule-cue{height:19px;flex-basis:19px;font-size:13px}.rule-branch p{font-size:12px;margin:0 0 6px}.rule-outcome{padding-top:6px}.rule-outcome strong{font-size:12px}
  .presentation-fullscreen .workflow-slide h1{font-size:27px}.presentation-fullscreen .workflow-slide .eyebrow{margin-bottom:6px}.presentation-fullscreen .workflow-slide .subtitle{font-size:13px;line-height:1.3}
  .presentation-fullscreen .workflow-slide .visual{margin:12px 0}.presentation-fullscreen .workflow-slide .slide-top{margin-bottom:10px}
}
@media(min-width:701px) and (max-height:650px){
  .presentation-fullscreen .workflow-slide .slide-top{margin-bottom:6px;min-height:20px}.presentation-fullscreen .workflow-slide .eyebrow{font-size:10px;margin:0 0 4px}
  .presentation-fullscreen .workflow-slide h1{font-size:25px;margin-bottom:5px}.presentation-fullscreen .workflow-slide .subtitle{font-size:12px}
  .presentation-fullscreen .workflow-slide .visual{margin:9px 0}.presentation-fullscreen .workflow-group h2{font-size:11px;min-height:28px;padding:5px 0;margin-bottom:8px}
  .presentation-fullscreen .workflow-step{min-height:92px;padding:9px 8px;gap:5px}.presentation-fullscreen .workflow-step>strong{font-size:13px}.presentation-fullscreen .flow-step-detail{font-size:11px}
  .presentation-fullscreen .flow-record-links{margin-top:16px;padding-top:7px}.presentation-fullscreen .flow-record-links>strong{font-size:10px}.presentation-fullscreen .flow-record-links li{font-size:10px}
  .presentation-fullscreen .workflow-hierarchy figcaption,.presentation-fullscreen .workflow-rule-map figcaption{font-size:10px;margin-top:6px}
  .presentation-fullscreen .rule-decision{min-height:42px;gap:13px;margin-bottom:6px}.presentation-fullscreen .rule-decision strong{font-size:16px}.presentation-fullscreen .rule-decision div>span{font-size:11px;margin-top:3px}.presentation-fullscreen .decision-diamond{width:27px;height:27px;flex-basis:27px}
  .presentation-fullscreen .rule-match{font-size:10px;margin-bottom:16px}.presentation-fullscreen .rule-branches{padding-top:11px;gap:16px}.presentation-fullscreen .rule-branch{padding:9px 10px}.presentation-fullscreen .rule-branch:before{height:10px;top:-12px}
  .presentation-fullscreen .rule-branch h2{font-size:13px;gap:6px;margin-bottom:6px}.presentation-fullscreen .rule-cue{height:18px;flex-basis:18px;font-size:12px}.presentation-fullscreen .rule-branch p{font-size:11px;margin-bottom:6px}.presentation-fullscreen .rule-outcome{padding-top:6px}.presentation-fullscreen .rule-outcome strong{font-size:11px}
  .presentation-fullscreen .workflow-slide .takeaway{font-size:14px;padding-top:7px}
  .presentation-fullscreen .red-flags .rule-decision{min-height:32px;margin-bottom:2px}
  .presentation-fullscreen .red-flags .rule-match{margin-bottom:10px}
  .presentation-fullscreen .red-flags .flow-record-links{margin-top:11px;padding-top:5px}
}

/* ECAP Native uses the platform wordmark in the existing ERP brand slot. */
.erp-native-mark{display:inline-flex;align-items:baseline;justify-content:flex-end;gap:.35em;color:var(--accent);white-space:nowrap;font-size:14px;line-height:1.15}.erp-native-mark strong{font-size:1.25em;letter-spacing:.02em}.erp-native-mark>span{font-size:.8em}

/* The slide owns its available paper. Portrait screenshots use its full width;
   short landscape keeps the heading beside a large screenshot and readable flow. */
.presentation-fullscreen .screen-story{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:clamp(16px,2vw,28px);align-content:center;align-items:center}
.presentation-fullscreen .screen-figure{max-height:none;min-width:0;align-items:stretch}
.presentation-fullscreen .screen-open{max-width:none;width:100%;margin:0}
.presentation-fullscreen .has-screen .screen-open img{width:100%;height:auto;max-height:none}
.presentation-fullscreen .chart-node{min-width:0}
.node-number,.flow-number{white-space:nowrap;flex-shrink:0}
.presentation-fullscreen .chart-node strong{font-size:clamp(13px,1.35vw,17px)}
.presentation-fullscreen .chart-node small{display:block;font-size:clamp(11px,1.1vw,13px)}
.presentation-fullscreen .chart-branch>span{font-size:clamp(11px,1.1vw,13px)}
.presentation-fullscreen .chart-branch small{display:block;font-size:11px}
.presentation-fullscreen .has-screen .workflow-chart figcaption{display:block}
@media(max-aspect-ratio:1/1){
  .presentation-fullscreen .has-screen .screen-story{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;align-content:center;gap:clamp(12px,1.5vh,20px)}
  .presentation-fullscreen .has-screen .screen-figure{width:100%;max-height:none;align-items:stretch}
  .presentation-fullscreen .has-screen .screen-open{max-width:none}
  .presentation-fullscreen .has-screen .screen-open img{max-height:none}
  .presentation-fullscreen .has-screen .chart-diagram,.presentation-fullscreen .has-screen .chart-diagram.has-branch{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
  .presentation-fullscreen .has-screen .chart-diagram:not(.has-branch){grid-template-columns:repeat(3,minmax(0,1fr))}
  .presentation-fullscreen .has-screen .chart-node{grid-column:auto!important;grid-row:1!important;display:block;min-height:70px;padding:10px 8px;border-left:0;border-top:2px solid var(--accent)}
  .presentation-fullscreen .has-screen .chart-node strong{font-size:clamp(12px,1.7vw,18px)}
  .presentation-fullscreen .has-screen .chart-node small{font-size:clamp(11px,1.4vw,14px)}
  .presentation-fullscreen .has-screen .chart-node:not(:last-child):after{content:'›';top:28px;bottom:auto;left:auto;right:-10px}
  .presentation-fullscreen .has-screen .chart-branch{grid-column:1/-1;grid-row:2!important;display:grid;grid-template-columns:auto 1fr;gap:4px 12px;padding:10px 12px;align-items:center}
  .presentation-fullscreen .has-screen .chart-branch strong{font-size:13px}
  .presentation-fullscreen .has-screen .chart-branch>span{margin:0;font-size:12px}
  .presentation-fullscreen .has-screen .chart-branch small{grid-column:1/-1;margin:0}
  .presentation-fullscreen .has-screen .chart-branch small br{display:none}
  .presentation-fullscreen .has-screen .chart-branch:before,.presentation-fullscreen .has-screen .chart-branch:after{display:none}
}
@media(min-aspect-ratio:4/3) and (max-height:650px){
  .presentation-fullscreen .has-screen{grid-template-columns:minmax(170px,.68fr) minmax(0,2fr);gap:12px 22px}
  .presentation-fullscreen .has-screen .screen-story{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);grid-template-rows:auto;gap:18px;align-content:center;align-items:center;padding-top:0}
  .presentation-fullscreen .has-screen .screen-figure{max-height:none;align-items:stretch}
  .presentation-fullscreen .has-screen .screen-open{max-width:none}
  .presentation-fullscreen .has-screen .screen-open img{max-height:none}
  .presentation-fullscreen .has-screen .chart-diagram,.presentation-fullscreen .has-screen .chart-diagram.has-branch{grid-template-columns:minmax(0,1fr);gap:12px}
  .presentation-fullscreen .has-screen .chart-main{display:contents}
  .presentation-fullscreen .has-screen .chart-node{grid-column:1!important;grid-row:auto!important;display:flex;min-height:36px;padding:6px 8px;border-left:2px solid var(--accent);border-top:1px solid #cddbcf;gap:8px}
  .presentation-fullscreen .has-screen .node-number{display:block;margin:0;font-size:10px}
  .presentation-fullscreen .has-screen .chart-node strong{font-size:13px}
  .presentation-fullscreen .has-screen .chart-node small{display:block;font-size:11px}
  .presentation-fullscreen .has-screen .chart-node:not(:last-child):after{content:'↓';left:13px;right:auto;top:auto;bottom:-15px;font-size:15px}
  .presentation-fullscreen .has-screen .chart-branch{grid-column:1;grid-row:auto!important;display:block;padding:6px 8px}
  .presentation-fullscreen .has-screen .chart-branch strong{font-size:12px}
  .presentation-fullscreen .has-screen .chart-branch>span{font-size:11px;display:block;margin-top:3px}
  .presentation-fullscreen .has-screen .chart-branch small{font-size:10px;display:block;margin-top:4px}
  .presentation-fullscreen .has-screen .workflow-chart figcaption{font-size:10px;margin-top:6px}
}

/* Match the About Nexa return CTA and the app's paper loading screen. */
.header-actions .back-to-nexa{background:var(--accent);color:var(--surface);border:0;border-radius:9px;padding:8px 16px;font-size:13px;font-weight:900;transition:opacity .15s,transform .1s}
.header-actions .back-to-nexa:hover{opacity:.9;transform:translateY(-1px)}
.nexa-return-loading{position:fixed;inset:0;z-index:300;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--paper);color:var(--ink);font-family:system-ui,sans-serif}

/* Categorized workflow: three levels, with explicit conditional link labels.
   Full detail uses normal vertical scrolling instead of shrinking the diagram. */
.workflow-groups{display:flex;flex-direction:column;gap:0;max-width:1080px;margin:auto}
.workflow-group{position:relative;display:grid;grid-template-columns:140px minmax(0,1fr);gap:10px 18px;align-items:stretch}
.workflow-group h2{border-top:0;border-left:3px solid var(--accent);margin:0;padding:10px 12px;min-height:0;display:flex;align-items:center;font-size:14px;line-height:1.3;background:#edf3ee70}
.workflow-group ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:76px}
.workflow-group-record ol{grid-template-columns:1fr}
.workflow-step{min-height:72px;display:grid;grid-template-columns:24px minmax(0,1fr);align-content:center;gap:4px 10px;padding:12px 14px}
.flow-number{grid-column:1;grid-row:1/3;align-self:center;font-size:11px}
.workflow-step>strong{grid-column:2;font-size:16px;line-height:1.2}
.flow-step-detail{grid-column:2;font-size:13px;line-height:1.3}
.flow-connector{position:absolute;top:50%;left:100%;right:auto;width:76px;height:auto;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;gap:4px}
.flow-connector>span{width:76px;text-align:center;font-size:10px;line-height:1.25;color:var(--accent);padding:0 3px}
.flow-connector svg{width:40px;height:18px}
.category-connector{grid-column:2;display:flex;align-items:center;justify-content:center;gap:8px;height:29px;color:var(--accent);font-size:11px;line-height:1.2}
.category-connector svg{width:22px;height:17px;fill:none;stroke:var(--accent);stroke-width:1.7;transform:rotate(90deg)}
.workflow-open{display:flex;align-items:center;justify-content:center;gap:12px;min-height:38px;margin:12px auto 0;padding:7px 14px;font-size:13px;color:var(--accent);background:var(--surface);border:1px solid #b9cabe;border-radius:9px}
.workflow-open>span{font-size:18px}
.workflow-source{margin-top:18px}
.workflow-source>summary{cursor:pointer;color:var(--accent);font-size:13px}
.workflow-effects{margin:24px 0 16px;padding-top:18px;border-top:1px solid #c8d6ca}
.workflow-effects>h3{margin:0 0 18px;font-size:18px;color:var(--accent)}
#screen-image[hidden],#workflow-detail[hidden],#screen-zoom[hidden]{display:none}
.workflow-dialog .screen-scroll{display:block;overflow-x:hidden;padding:22px;scrollbar-gutter:stable;overscroll-behavior:contain}
.workflow-dialog #workflow-detail{width:100%;max-width:1080px;margin:auto;min-width:0}
.workflow-dialog .workflow-hierarchy{width:100%}
.workflow-dialog .workflow-group h2{font-size:16px}
.workflow-dialog .workflow-step>strong{font-size:17px}
.workflow-dialog .flow-step-detail{font-size:14px}
.workflow-dialog .flow-connector>span,.workflow-dialog .category-connector{font-size:12px}
.workflow-dialog .flow-record-links{margin-top:20px}
.workflow-dialog .flow-record-links>strong,.workflow-dialog .flow-record-links li{font-size:13px}
.workflow-dialog .rule-branch p,.workflow-dialog .rule-outcome strong{font-size:14px}
.workflow-dialog .workflow-hierarchy figcaption,.workflow-dialog .workflow-rule-map figcaption{font-size:12px}
@media(max-width:700px){
  .workflow-group{grid-template-columns:1fr;gap:8px}
  .workflow-group h2{padding:4px 9px;font-size:12px}
  .workflow-group ol{gap:38px}
  .workflow-step{padding:9px 8px;min-height:65px;grid-template-columns:18px minmax(0,1fr);gap:4px 6px}
  .workflow-step>strong{font-size:13px}
  .flow-step-detail{font-size:11px}
  .flow-connector{width:38px}
  .flow-connector>span{font-size:9px;width:38px;padding:0 2px}
  .flow-connector svg{width:28px;height:15px}
  .category-connector{grid-column:1;height:23px;font-size:10px}
  .workflow-open{min-height:40px;margin-top:10px}
  .workflow-dialog .screen-scroll{padding:12px}
  .workflow-dialog .workflow-group ol{grid-template-columns:1fr;gap:46px}
  .workflow-dialog .workflow-step{min-height:76px;padding:12px}
  .workflow-dialog .flow-connector{width:auto;height:46px;top:100%;left:0;right:0;transform:none;gap:0;justify-content:center}
  .workflow-dialog .flow-connector>span{width:auto;font-size:12px}
  .workflow-dialog .flow-connector svg{transform:rotate(90deg);height:18px;width:22px}
  .workflow-dialog .category-connector{font-size:12px;height:36px}
}
@media(min-width:701px) and (max-height:650px){
  .presentation-fullscreen .workflow-slide{display:grid;grid-template-columns:minmax(190px,.65fr) minmax(0,1.6fr);grid-template-rows:minmax(0,1fr) auto;gap:10px 22px}
  .presentation-fullscreen .workflow-slide .slide-heading{grid-column:1;grid-row:1;align-self:center}
  .presentation-fullscreen .workflow-slide .visual{grid-column:2;grid-row:1/3;margin:0;align-self:center}
  .presentation-fullscreen .workflow-slide .takeaway{grid-column:1;grid-row:2;font-size:14px}
  .presentation-fullscreen .workflow-group{grid-template-columns:105px minmax(0,1fr);gap:0 10px}
  .presentation-fullscreen .workflow-group h2{font-size:12px;padding:5px 8px;min-height:0}
  .presentation-fullscreen .workflow-group ol{gap:48px}
  .presentation-fullscreen .workflow-step{min-height:58px;padding:7px;gap:3px 6px;grid-template-columns:18px minmax(0,1fr)}
  .presentation-fullscreen .workflow-step>strong{font-size:13px}
  .presentation-fullscreen .flow-step-detail{font-size:11px}
  .presentation-fullscreen .flow-connector{width:48px}
  .presentation-fullscreen .flow-connector>span{width:48px;font-size:9px}
  .presentation-fullscreen .category-connector{height:22px;font-size:10px}
  .presentation-fullscreen .flow-record-links{margin-top:8px;padding-top:6px;gap:8px}
  .presentation-fullscreen .flow-record-links li{font-size:10px}
  .presentation-fullscreen .workflow-open{min-height:32px;padding:4px 10px;margin-top:7px;font-size:12px}
}

/* Short landscape screens reserve a full-height screenshot column. Keep the
   step labels visible; supporting detail remains in the slide notes. */
@media (min-aspect-ratio:4/3) and (max-height:650px) {
  .presentation-fullscreen .has-screen{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);grid-template-rows:auto auto auto;gap:10px 22px;height:auto;min-height:100%;align-self:start}
  .presentation-fullscreen .has-screen .slide-heading{grid-column:2;grid-row:1;align-self:start}
  .presentation-fullscreen .has-screen .visual{display:contents}
  .presentation-fullscreen .has-screen .screen-figure{grid-column:1;grid-row:1/4;align-self:center;max-height:100%;width:100%;min-height:0}
  .presentation-fullscreen .has-screen .screen-open{width:100%;max-width:none;min-height:0}
  .presentation-fullscreen .has-screen .screen-open img{max-height:calc(var(--presentation-vh,100dvh) - 128px);width:100%;height:auto;object-fit:contain}
  .presentation-fullscreen .has-screen .story-graphic{grid-column:2;grid-row:2;align-self:start;min-height:min-content}
  .presentation-fullscreen .has-screen .takeaway{grid-column:2;grid-row:3;font-size:12px;padding-top:6px}
  .presentation-fullscreen .has-screen .slide-top{min-height:18px;margin-bottom:6px;gap:6px;padding-right:0}
  .presentation-fullscreen .has-screen .industry-mark{font-size:9px}
  .presentation-fullscreen .has-screen .industry-mark svg{width:16px;height:16px}
  .presentation-fullscreen .has-screen .erp-logo{max-width:78px;max-height:20px}
  .presentation-fullscreen .has-screen .eyebrow{font-size:9px;margin-bottom:4px}
  .presentation-fullscreen .has-screen h1{font-size:clamp(18px,2.5vw,26px);line-height:1.06;margin-bottom:5px}
  .presentation-fullscreen .has-screen .subtitle,.presentation-fullscreen .has-screen .points span{display:none}
  .presentation-fullscreen .has-screen .assistant-query{font-size:13px;line-height:1.2;margin-bottom:8px;padding:4px 8px}
  .presentation-fullscreen .has-screen .points{gap:7px}
  .presentation-fullscreen .has-screen .points li{display:block}
  .presentation-fullscreen .has-screen .points strong{font-size:13px;margin-bottom:2px}
  .presentation-fullscreen .has-screen .chart-main{display:contents}
  .presentation-fullscreen .has-screen .chart-diagram{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
  .presentation-fullscreen .has-screen .chart-diagram:not(.has-branch){grid-template-columns:repeat(3,minmax(0,1fr))}
  .presentation-fullscreen .has-screen .chart-node{grid-column:auto!important;grid-row:auto!important;display:flex;align-items:center;gap:5px;min-height:30px;padding:4px 6px}
  .presentation-fullscreen .has-screen .chart-node .node-number{font-size:9px;display:inline;margin:0;flex-shrink:0}
  .presentation-fullscreen .has-screen .chart-node strong{font-size:11px}
  .presentation-fullscreen .has-screen .chart-node small{display:none}
  .presentation-fullscreen .has-screen .chart-diagram:not(.has-branch) .chart-node{grid-row:1!important}
  .presentation-fullscreen .has-screen .chart-node:not(:last-child):after{content:'›';left:auto;right:-11px;top:50%;bottom:auto;line-height:12px;font-size:16px}
  .presentation-fullscreen .has-screen .has-branch .chart-node:nth-child(3){grid-column:2!important;grid-row:2!important}
  .presentation-fullscreen .has-screen .has-branch .chart-node:nth-child(4){grid-column:1!important;grid-row:2!important}
  .presentation-fullscreen .has-screen .has-branch .chart-node:nth-child(2):after{content:'↓';top:auto;bottom:-12px;right:40%}
  .presentation-fullscreen .has-screen .has-branch .chart-node:nth-child(3):after{content:'‹';left:-11px;right:auto}
  .presentation-fullscreen .has-screen .chart-branch{display:block;grid-column:1/-1;grid-row:3!important;padding:6px}
  .presentation-fullscreen .has-screen .chart-branch strong{font-size:10px}
  .presentation-fullscreen .has-screen .chart-branch>span,.presentation-fullscreen .has-screen .chart-branch:before,.presentation-fullscreen .has-screen .chart-branch:after{display:none}
  .presentation-fullscreen .has-screen .chart-branch small{font-size:9px;margin-top:3px}
  .presentation-fullscreen .has-screen .chart-branch small br{display:none}
  .presentation-fullscreen .has-screen .workflow-chart figcaption{font-size:10px;margin-top:6px}
}

/* Motion layer: static emphasis always; movement only while playing, transform/opacity only. */
.eyebrow:before{content:"";display:inline-block;width:22px;height:3px;margin-right:10px;vertical-align:middle;background:var(--accent);border-radius:2px;transform-origin:left}
h1{position:relative;padding-bottom:14px}
h1:after{content:"";position:absolute;left:0;bottom:0;width:72px;height:4px;border-radius:2px;background:linear-gradient(90deg,var(--accent),#b19354);transform-origin:left}
.takeaway{position:relative;padding:12px 0 12px 18px;border-left:5px solid var(--accent);color:var(--accent);font-weight:700;background:linear-gradient(90deg,var(--soft),transparent 70%)}
.presentation-fullscreen .takeaway{border-top:0;padding:8px 0 8px 14px}
.node-number,.flow-number{display:inline-grid;place-items:center;width:26px;min-width:26px;height:26px;border-radius:50%;background:var(--accent);color:#fff;font-size:11px;font-weight:700;flex:0 0 auto}
.viewer .slide .chart-node .node-number{display:inline-grid;justify-self:start;color:#fff}
.viewer .slide .flow-number{width:18px;min-width:18px;height:18px;justify-self:start;color:#fff}
.chart-node{overflow:hidden}
.chart-node:before{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--accent),#7fb29f);transform-origin:left}
.chart-node:last-child:before{background:#a68b4d}
.flow-rail{position:relative;height:14px;margin:-6px 0 0;display:flex;justify-content:space-around;align-items:center}
.flow-rail{container-type:inline-size}.flow-rail:before{content:"";position:absolute;left:16.667%;right:16.667%;top:6px;height:2px;background:linear-gradient(90deg,var(--accent),#b19354);border-radius:2px}
.flow-rail b{position:relative;width:10px;height:10px;border-radius:50%;background:var(--surface);border:2px solid var(--accent)}
.flow-rail b:last-child{border-color:#a68b4d}
.flow-rail i{position:absolute;left:calc(16.667% - 5px);top:2px;width:10px;height:10px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px #1c5f4e30;opacity:0}
.rule-cue{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;margin-right:8px;font-weight:700;background:var(--accent);color:#fff}
.rule-warning .rule-cue{background:#a68b4d}.rule-block .rule-cue{background:#9b3b2e}
.workflow-step,.rule-branch{transform-origin:left center}
@keyframes mo-draw{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes mo-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes mo-travel{0%{opacity:0;transform:translateX(0)}10%,90%{opacity:1}100%{opacity:0;transform:translateX(calc(var(--rail,640px)))}}
@keyframes mo-beat{0%,100%{transform:scale(1)}50%{transform:scale(1.18)}}
@keyframes mo-spin{to{transform:rotate(340deg)}}
.viewer[data-motion="playing"] .slide:not([hidden]) h1:after,.viewer[data-motion="playing"] .slide:not([hidden]) .eyebrow:before{animation:mo-draw .8s ease-out both}
.viewer[data-motion="playing"] .slide:not([hidden]) .takeaway{animation:mo-rise .7s ease-out 1.2s both}
.viewer[data-motion="playing"] .slide:not([hidden]) .chart-node:before{animation:mo-draw 1.2s ease-out both;animation-delay:calc(var(--step,0)*.8s)}
.viewer[data-motion="playing"] .slide:not([hidden]) .flow-rail i{--rail:66.667cqw;animation:mo-travel 3.4s ease-in-out 6}
.viewer[data-motion="playing"] .slide:not([hidden]) .flow-rail b{animation:mo-beat 2.4s ease-in-out 6}
.viewer[data-motion="playing"] .slide:not([hidden]) .flow-rail b:nth-of-type(2){animation-delay:.8s}
.viewer[data-motion="playing"] .slide:not([hidden]) .flow-rail b:nth-of-type(3){animation-delay:1.6s}
.viewer[data-motion="playing"] .slide:not([hidden]) .focus-spark{animation:mo-spin 18s linear 6;transform-origin:center}
.viewer[data-motion="playing"] .slide:not([hidden]) .workflow-step{animation:mo-rise .6s ease-out both}
.viewer[data-motion="playing"] .slide:not([hidden]) .workflow-step:nth-child(2){animation-delay:.3s}
.viewer[data-motion="playing"] .slide:not([hidden]) .rule-branch{animation:mo-rise .6s ease-out both}
.viewer[data-motion="playing"] .slide:not([hidden]) .rule-branch:nth-child(2){animation-delay:.3s}
.viewer[data-motion="playing"] .slide:not([hidden]) .rule-branch:nth-child(3){animation-delay:.6s}
.viewer[data-motion="playing"] .slide:not([hidden]) .rule-cue,.viewer[data-motion="playing"] .slide:not([hidden]) .flow-number{animation:mo-beat 2.4s ease-in-out 6}
@media(prefers-reduced-motion:reduce){.viewer *,.viewer *:before,.viewer *:after{animation:none!important}}
@media print{.flow-rail i{display:none}}

@media(max-width:600px){.flow-rail{display:none}}
@keyframes mo-stage{0%{transform:scaleX(0);opacity:1}25%,65%{transform:scaleX(1);opacity:1}90%,100%{transform:scaleX(1);opacity:.25}}
@keyframes mo-hand{0%,100%{opacity:.35;transform:none}12%{opacity:1;transform:scale(1.5)}30%{opacity:.35;transform:none}}
@keyframes mo-nudge{0%,100%{transform:translateX(0);opacity:.45}15%{transform:translateX(6px);opacity:1}35%{transform:translateX(0);opacity:.45}}
.viewer[data-motion="playing"] .slide:not([hidden]) .chart-node:before{animation:mo-stage 4s ease-out 6;animation-delay:calc(var(--step,0)*.9s)}
.viewer[data-motion="playing"] .slide:not([hidden]) .chart-node:not(:last-child):after{animation:mo-hand 4s ease-in-out 6;animation-delay:calc(var(--step,0)*.9s + .6s)}
.viewer[data-motion="playing"] .slide:not([hidden]) .flow-connector svg,.viewer[data-motion="playing"] .slide:not([hidden]) .category-connector svg,.viewer[data-motion="playing"] .slide:not([hidden]) .rule-outcome svg{animation:mo-nudge 3.2s ease-in-out 6}
.viewer[data-motion="playing"] .slide:not([hidden]) .workflow-group:nth-child(2) svg{animation-delay:.8s}
.viewer[data-motion="playing"] .slide:not([hidden]) .workflow-group:nth-child(3) svg,.viewer[data-motion="playing"] .slide:not([hidden]) .rule-branch:nth-child(2) svg{animation-delay:1.6s}
.viewer[data-motion="playing"] .slide:not([hidden]) .rule-branch:nth-child(3) svg{animation-delay:2.4s}
.viewer[data-motion="playing"] .slide:not([hidden]) .workflow-group:nth-child(2) .flow-number{animation-delay:.8s}
.viewer[data-motion="playing"] .slide:not([hidden]) .workflow-group:nth-child(3) .flow-number{animation-delay:1.6s}

/* Refinement: finite entrance; looping diagrams remain tied to data-motion=playing. */
.architecture .nexa-focus>strong{animation:nexa-rise .7s cubic-bezier(.2,.8,.2,1) both}
.architecture .nexa-focus:before{animation:orbit-drift 2.4s ease-out both}
.architecture .nexa-focus:after{animation:orbit-drift 2.4s ease-out both reverse}
.architecture .focus-spark{animation:spark-breathe 1.6s ease-out both}
.architecture .focus-context span{animation:nexa-rise .6s ease-out both}
.architecture .focus-context span:nth-child(2){animation-delay:.2s}.architecture .focus-context span:nth-child(3){animation-delay:.4s}
.architecture .flow li{animation:node-focus 1.8s ease-out both;animation-delay:calc(var(--step,0)*.8s)}
@keyframes orbit-drift{from{transform:rotate(-20deg) scale(.9);opacity:0}to{transform:rotate(-20deg)}}
@keyframes spark-breathe{0%{transform:scale(.5) rotate(-30deg);opacity:0}60%{transform:scale(1.12)}}
@keyframes nexa-rise{from{opacity:0;transform:translateY(10px) scale(.96)}}
@media(prefers-reduced-motion:reduce){.architecture .nexa-focus:before,.architecture .nexa-focus:after,.architecture .focus-spark,.architecture .nexa-focus>strong,.architecture .focus-context span,.architecture .flow li{animation:none!important}}
.slide h1,.slide .subtitle,.takeaway,.points li,.chart-node,.flow li{min-width:0;overflow-wrap:break-word}
.slide-top{flex-wrap:wrap}.industry-mark{min-width:0}
.focus-context{flex-wrap:wrap;justify-content:center;gap:6px 20px}
.flow-record-links,.rule-match{flex-wrap:wrap}.flow-record-links li{white-space:normal}
.header-actions .back-to-nexa,.header-actions .home{display:inline-flex;align-items:center;justify-content:center;min-height:0;padding:8px 16px;border-radius:9px;font-size:13px;font-weight:900;box-sizing:border-box;background:#1c5f4e;color:#fbfaf6;border:0;text-decoration:none}
@media(max-width:600px){.viewer-header{flex-wrap:wrap}.flow-record-links{display:block}.flow-record-links ul{justify-content:flex-start;margin-top:6px}.rule-branches{grid-template-columns:1fr}.rule-branches:before,.rule-branches:after,.rule-branch:before{display:none}.workflow-group ol{flex-direction:column;gap:22px}}
@media(max-width:360px){h1{font-size:26px}.lockup{font-size:21px}.audience{grid-template-columns:1fr}}
/* Compact fullscreen reflow: drop secondary copy before any scaling. */
.presentation-fullscreen .compact-slide .flow-record-links,.presentation-fullscreen .compact-slide .workflow-chart figcaption,.presentation-fullscreen .compact-slide .workflow-hierarchy figcaption,.presentation-fullscreen .compact-slide .flow-step-detail,.presentation-fullscreen .compact-slide .chart-node small{display:none}
.presentation-fullscreen .compact-slide .workflow-step{min-height:0}
@media(max-width:400px){
  .presentation-fullscreen .has-screen .chart-diagram,.presentation-fullscreen .has-screen .chart-diagram.has-branch,.presentation-fullscreen .has-screen .chart-diagram:not(.has-branch){grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .presentation-fullscreen .has-screen .chart-node{grid-row:auto!important;overflow-wrap:normal;hyphens:auto;min-height:0}
  .presentation-fullscreen .has-screen .chart-node:not(:last-child):after{display:none}
  .presentation-fullscreen .has-screen .chart-node small{display:none}
  .presentation-fullscreen .has-screen .chart-branch{grid-row:auto!important;display:block}
  .presentation-fullscreen .has-screen .chart-branch>span{display:block;margin-top:3px}
  .presentation-fullscreen .has-screen .screen-open img{max-height:14vh}
}
/* Content owns its height; the fit step then reflows (compact) and scales as a last resort. */
.presentation-fullscreen .slide>.visual{flex:1 0 auto;min-height:min-content;overflow:visible}
.presentation-fullscreen .screen-open,.presentation-fullscreen .screen-figure{flex-shrink:0}
.presentation-fullscreen .compact-slide .screen-figure figcaption{display:none}
.presentation-fullscreen .compact-slide .evidence{display:none}
@media(min-aspect-ratio:4/3) and (max-height:650px){
  .presentation-fullscreen .has-screen .chart-diagram,.presentation-fullscreen .has-screen .chart-diagram.has-branch,.presentation-fullscreen .has-screen .chart-diagram:not(.has-branch){grid-template-columns:repeat(2,minmax(0,1fr))}
  .presentation-fullscreen .has-screen .chart-node{grid-row:auto!important}
  .presentation-fullscreen .has-screen .chart-node:not(:last-child):after{display:none}
}
.presentation-fullscreen .stage{height:100%;max-height:100%}
@media(min-aspect-ratio:4/3) and (max-height:650px){
  .presentation-fullscreen .has-screen .chart-node:nth-child(odd){grid-column:1!important}
  .presentation-fullscreen .has-screen .chart-node:nth-child(even){grid-column:2!important}
  .presentation-fullscreen .slide-top{padding-right:110px}
}
@media(min-aspect-ratio:4/3) and (max-height:650px){
  html body.presentation-fullscreen .has-screen .chart-main>li.chart-node:nth-child(odd){grid-column:1!important}
  html body.presentation-fullscreen .has-screen .chart-main>li.chart-node:nth-child(even){grid-column:2!important}
}
@media(min-aspect-ratio:4/3) and (max-height:650px){html body.presentation-fullscreen .slide .slide-top{padding-right:120px}}


/* Presentation link sharing is the same public action in both decks. */
.header-actions{flex-wrap:wrap;justify-content:flex-end}
.presentation-sharing{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.audience.audience-share-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end}
.audience-share-controls>label{min-width:0}
.audience-share-controls .presentation-sharing{align-self:end}
.presentation-sharing button{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.presentation-sharing svg{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.embedded:not(.presentation-fullscreen) .viewer-header{display:flex}
.embedded:not(.app-presentation):not(.presentation-fullscreen) .viewer-header{display:none}
.embedded:not(.app-presentation):not(.presentation-fullscreen) .viewer-header>.lockup,.embedded:not(.app-presentation):not(.presentation-fullscreen) .header-actions>.slide-count,.embedded:not(.app-presentation):not(.presentation-fullscreen) .header-actions>.home{display:none}
.presentation-share{position:fixed;inset:0;width:min(580px,calc(100vw - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);z-index:20000;overflow:auto;box-shadow:0 20px 100px #172d2380}
.presentation-share::backdrop{background:#142d25b8;backdrop-filter:blur(4px)}
.presentation-share header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.presentation-share h2{font-size:22px;line-height:1.2;margin:0}
.presentation-share header button{flex-shrink:0}
.presentation-share .share-focus{font-size:14px;color:var(--muted);margin:12px 0 18px}
.share-apps{display:flex;flex-wrap:wrap;gap:8px}
.share-help{font-size:13px;color:var(--muted);margin:16px 0}
.presentation-share label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}
.share-direct-link{display:flex;flex-wrap:wrap;gap:8px}
.share-direct-link input{flex:1 1 260px;min-width:0;width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);padding:9px 12px;font:16px/1.4 'Segoe UI',system-ui,sans-serif}
.share-direct-link button{flex:0 0 auto}
.presentation-share .notice{margin:12px 0 0;min-height:1.45em}
@media(max-width:600px){.audience-share-controls .presentation-sharing button{width:44px;padding:8px}.audience-share-controls .presentation-sharing button>span{display:none}.presentation-sharing{gap:6px}.presentation-sharing button{font-size:13px;padding:8px 10px}.presentation-share{padding:16px}.presentation-share h2{font-size:20px}.share-direct-link button{width:100%}}
@media print{.presentation-sharing,.presentation-share{display:none!important}}

/* The same sales-style player serves the walkthroughs and both guides. */
.guide-controls{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0}
.guide-controls button{min-height:40px;font-size:13px;color:var(--accent)}
@media(max-width:480px){.guide-controls .guide-label{flex-basis:100%;text-align:center}}
.guide-controls button[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--surface)}
.guide-presentation .slide-top{margin-bottom:18px}
.guide-presentation .technical-mark{font-weight:700;color:var(--accent);font-size:19px;letter-spacing:.04em}
.guide-presentation .slide h1{max-width:30ch}
.guide-presentation .subtitle{max-width:70ch}
.guide-presentation .points{gap:18px}
.guide-presentation .points li{border-top:2px solid #a9c5b8;padding-top:14px}
.guide-presentation .points strong{font-size:clamp(18px,2.1vw,23px)}
.guide-presentation .points span{font-size:clamp(15px,1.45vw,17px)}
.guide-presentation .flow{margin-bottom:24px}
.presentation-read-all .stage{display:block;height:auto;max-height:none;overflow:visible}
.presentation-read-all .stage>.slide{display:block;position:relative;height:auto;min-height:0;max-height:none;transform:none!important;animation:none!important;padding:28px 0;margin:0;border-bottom:1px solid var(--line)}
.presentation-read-all .stage>.slide:first-child{padding-top:0}
.presentation-read-all .stage>.slide:last-child{border-bottom:0}
.presentation-read-all .stage>.slide .evidence{display:block}
html body.presentation-fullscreen.presentation-read-all .stage{display:block;overflow:auto;height:100%;max-height:100%;overscroll-behavior:contain}
html body.presentation-fullscreen.presentation-read-all .stage>.slide{display:block;height:auto;min-height:0;max-height:none;overflow:visible}
html body.presentation-fullscreen.presentation-read-all .stage>.slide .visual{display:block;height:auto;min-height:0;max-height:none}
html body.presentation-fullscreen.presentation-read-all .stage>.slide .screen-story{display:grid}
html body.presentation-fullscreen.presentation-read-all .stage>.slide .screen-figure{height:auto;max-height:none}
html body.presentation-fullscreen.presentation-read-all .stage>.slide .screen-open{height:auto;width:100%;aspect-ratio:auto}
html body.presentation-fullscreen.presentation-read-all .stage>.slide .screen-open img{height:auto;width:100%;max-height:420px;object-fit:contain}
@media(max-width:600px){.guide-presentation .points li{display:block}.guide-presentation .points strong{margin-bottom:6px}.guide-presentation .flow{grid-template-columns:1fr;gap:18px}.guide-presentation .flow li:nth-child(3){grid-column:auto}.guide-presentation .flow li+li:before{display:block;content:'↓';left:0;top:-20px;font-size:18px}.guide-controls{margin:4px 0}.presentation-read-all .stage>.slide{padding:24px 0}}
@media print{.guide-controls{display:none!important}.presentation-read-all .stage>.slide{border:0}}

/* Keep slide movement and fullscreen reachable on a short landscape screen. */
@media screen and (max-height:600px) and (min-width:601px){
  body:not(.embedded):not(.presentation-fullscreen){padding-bottom:68px}
  body:not(.embedded):not(.presentation-fullscreen) .viewer{container-type:normal}
  body:not(.embedded):not(.presentation-fullscreen) .controls{position:fixed;bottom:0;left:0;right:0;z-index:20;margin:0;padding:8px 16px;background:var(--paper);border-top:1px solid var(--line)}
}

