/* Platform · the workspace walkthrough. The stage is the app itself: a charcoal sidebar and a warm
   work surface that fills the frame edge to edge. One ink, one warm grey, charcoal for progress; no green.
   Loaded after interface-details.css. */
body.platform-next .pn-stage{--st-surface:#efe9df;--st-paper:#fbf9f6;--st-ink:#26231f;--st-muted:#6a645b;--st-line:#dcd4c7;--st-track:#ddd5c8;--st-fill:#302e2b;padding:0;overflow:hidden;border-radius:24px}
body.platform-next .pn-stage .pn-workspace{background:transparent;box-shadow:none;border-radius:0;overflow:visible;grid-template-columns:216px minmax(0,1fr);min-height:clamp(620px,78svh,740px)}
/* Sidebar, straight on the charcoal */
body.platform-next .pn-stage .pn-sidebar{background:transparent;border-right:0;padding:30px 16px 24px 18px;font-size:13px;color:#a8a299}
body.platform-next .pn-stage .pn-product-wordmark{filter:invert(1);opacity:.94;width:76px;height:32px;margin:0 10px 34px}
body.platform-next .pn-stage .pn-workspace-name,body.platform-next .pn-stage .pn-side-label{font-size:11px;color:#989288}
body.platform-next .pn-stage .pn-side-label{margin-top:28px}
body.platform-next .pn-stage .pn-side-item,body.platform-next .pn-stage .pn-side-item:not(.is-active){min-height:38px;padding:8px 10px;border-radius:8px;color:#bcb6ac;transition:background-color 200ms ease-out,color 200ms ease-out}
body.platform-next .pn-stage .pn-side-item.is-active{background:rgba(255,255,255,.09);color:#fff;font-weight:500}
body.platform-next .pn-stage .pn-side-item i{background:#746e66}
body.platform-next .pn-stage .pn-side-item.is-active i{background:#e9e3d8}
/* Work surface: flush with the frame, no card inside a card */
body.platform-next .pn-stage .pn-app-main{display:flex;flex-direction:column;background:var(--st-surface);border-radius:0;padding:0 clamp(28px,3.4vw,52px) 0;color:var(--st-ink)}
body.platform-next .pn-stage .pn-app-bar{flex:none;height:64px;border-bottom-color:var(--st-line);font-size:12px;color:var(--st-muted)}
body.platform-next .pn-stage .pn-example{font-size:11px;color:var(--st-muted)}
body.platform-next .pn-stage .pn-panels{flex:1}
body.platform-next .pn-stage .pn-panel{display:flex!important;flex-direction:column;padding:38px 0 34px;min-height:0}
body.platform-next .pn-stage .pn-app-heading{margin-bottom:30px;align-items:center}
body.platform-next .pn-stage .pn-app-heading h2{font-size:clamp(28px,2.6vw,36px);letter-spacing:-.04em;line-height:1.1}
body.platform-next .pn-stage .pn-app-heading p{font-size:14px;margin-top:9px;color:var(--st-muted)}
body.platform-next .pn-stage .st-label{display:flex;gap:10px;font-size:11.5px;color:var(--st-ink);font-weight:500;margin-bottom:12px}
body.platform-next .pn-stage .st-label em{font-style:normal;font-weight:400;color:var(--st-muted)}
/* Status chip, as in the engagement films */
body.platform-next .pn-stage .st-chip{flex:none;display:inline-flex;align-items:center;gap:9px;height:36px;padding:0 15px 0 11px;border-radius:999px;background:var(--st-paper);box-shadow:0 0 0 1px rgba(60,45,25,.07),0 1px 2px -1px rgba(60,45,25,.08),0 2px 4px 0 rgba(60,45,25,.04);font-size:12.5px;font-weight:500;white-space:nowrap}
body.platform-next .pn-stage .st-chip.is-done svg{width:18px;height:18px;padding:3px;border-radius:50%;background:var(--st-fill);color:#fff}
body.platform-next .pn-stage .st-spin{display:inline-block;width:12px;height:12px;border-radius:50%;border:1.6px solid var(--st-fill);border-right-color:transparent;flex:none}
/* 1 · Foundation */
body.platform-next .pn-stage .st-docs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:30px}
body.platform-next .pn-stage .st-doc{display:flex;flex-direction:column;padding:20px 20px 22px;border-radius:14px;background:var(--st-paper);box-shadow:0 0 0 1px rgba(60,45,25,.07),0 1px 2px -1px rgba(60,45,25,.08),0 2px 4px 0 rgba(60,45,25,.04)}
body.platform-next .pn-stage .st-doc img{width:34px;height:34px;margin-bottom:auto}
body.platform-next .pn-stage .st-doc strong{font-size:16px;font-weight:500;line-height:1.3;letter-spacing:-.015em;margin-top:44px}
body.platform-next .pn-stage .st-doc span{font-size:12.5px;line-height:1.45;color:var(--st-muted);margin-top:6px}
body.platform-next .pn-stage .st-context{display:flex;align-items:center;gap:16px;padding:18px 20px;border-radius:14px;background:transparent;box-shadow:inset 0 0 0 1px var(--st-line)}
body.platform-next .pn-stage .st-context>i{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#e4dccf;color:var(--st-ink)}
body.platform-next .pn-stage .st-context strong{display:block;font-size:15px;font-weight:500}
body.platform-next .pn-stage .st-context div>span{display:block;font-size:12.5px;color:var(--st-muted);margin-top:3px}
body.platform-next .pn-stage .st-tag{margin-left:auto;font-size:11.5px;color:var(--st-muted);white-space:nowrap}
/* 2 · Agents at work: every workstream shows how far along it is */
body.platform-next .pn-stage .st-works{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:1fr 1fr;gap:14px;flex:1}
body.platform-next .pn-stage .st-work{display:flex;flex-direction:column;padding:20px 22px;border-radius:14px;background:var(--st-paper);box-shadow:0 0 0 1px rgba(60,45,25,.07),0 1px 2px -1px rgba(60,45,25,.08),0 2px 4px 0 rgba(60,45,25,.04)}
body.platform-next .pn-stage .st-work-main{grid-row:1/3}
body.platform-next .pn-stage .st-work-head{display:flex;align-items:flex-start;gap:14px}
body.platform-next .pn-stage .st-work-head img{width:30px;height:30px;flex:none}
body.platform-next .pn-stage .st-work-head strong{display:block;font-size:15.5px;font-weight:500;letter-spacing:-.015em}
body.platform-next .pn-stage .st-work-head div>span{display:block;font-size:12.5px;line-height:1.4;color:var(--st-muted);margin-top:3px}
body.platform-next .pn-stage .st-count{margin-left:auto;font-size:12.5px;color:var(--st-muted);white-space:nowrap;font-variant-numeric:tabular-nums}
body.platform-next .pn-stage .st-count b{font-size:20px;font-weight:500;letter-spacing:-.03em;color:var(--st-ink)}
body.platform-next .pn-stage .st-check{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--st-fill);color:#fff}
body.platform-next .pn-stage .st-dots{display:grid;grid-template-columns:repeat(10,1fr);gap:9px;margin:auto 0;padding:22px 0}
body.platform-next .pn-stage .st-dots i{aspect-ratio:1;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--st-track)}
body.platform-next .pn-stage .st-dots i.is-on{background:var(--st-fill);box-shadow:none}
body.platform-next .pn-stage .st-dots i.is-live{box-shadow:inset 0 0 0 1.5px var(--st-fill)}
body.platform-next .pn-stage .st-bar{height:6px;border-radius:99px;background:var(--st-track);margin:auto 0 0;overflow:hidden}
body.platform-next .pn-stage .st-bar i{display:block;height:100%;border-radius:inherit;background:var(--st-fill);transform:scaleX(var(--to));transform-origin:0 50%}
body.platform-next .pn-stage .st-work-foot{display:flex;align-items:center;gap:9px;margin-top:14px;font-size:12px;color:var(--st-muted)}
body.platform-next .pn-stage .st-work.is-done .st-work-foot{color:var(--st-ink);font-weight:500}
body.platform-next .pn-stage .st-outputs{margin-top:24px}
body.platform-next .pn-stage .st-outputs>div{display:flex;flex-wrap:wrap;gap:10px}
body.platform-next .pn-stage .st-outputs>div>span{display:flex;align-items:center;gap:8px;padding:9px 14px 9px 11px;border-radius:9px;background:var(--st-paper);box-shadow:0 0 0 1px rgba(60,45,25,.07),0 1px 2px -1px rgba(60,45,25,.08),0 2px 4px 0 rgba(60,45,25,.04);font-size:12.5px}
/* 3 · Consultant review: where the recommendation stands */
body.platform-next .pn-stage .st-steps{list-style:none;display:flex;gap:0;margin:0 0 28px;padding:0}
body.platform-next .pn-stage .st-steps li{flex:1;position:relative;display:flex;align-items:center;gap:10px;padding-top:16px;font-size:12.5px;color:var(--st-muted)}
body.platform-next .pn-stage .st-steps li::before{content:"";position:absolute;left:0;right:8px;top:0;height:3px;border-radius:99px;background:var(--st-track)}
body.platform-next .pn-stage .st-steps li::after{content:"";position:absolute;left:0;right:8px;top:0;height:3px;border-radius:99px;background:var(--st-fill);transform:scaleX(0);transform-origin:0 50%;transition:transform 600ms cubic-bezier(.25,.46,.45,.94)}
body.platform-next .pn-stage .st-steps li.is-done::after{transform:none}
body.platform-next .pn-stage .st-steps li.is-now::after{transform:scaleX(.5)}
body.platform-next .pn-stage .st-steps li>i{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--st-track);color:transparent;font-style:normal;transition:background-color 300ms,color 300ms,box-shadow 300ms}
body.platform-next .pn-stage .st-steps li>i svg{width:12px;height:12px}
body.platform-next .pn-stage .st-steps li.is-done{color:var(--st-ink)}
body.platform-next .pn-stage .st-steps li.is-done>i{background:var(--st-fill);box-shadow:none;color:#fff}
body.platform-next .pn-stage .st-steps li.is-now{color:var(--st-ink);font-weight:500}
body.platform-next .pn-stage .st-steps li.is-now>i{box-shadow:none}
body.platform-next .pn-stage .st-steps li.is-now>i svg{display:none}
body.platform-next .pn-stage .pn-panel:has(.pn-approve.is-approved) .st-steps li::after{transform:none}
body.platform-next .pn-stage .pn-panel:has(.pn-approve.is-approved) .st-steps li{color:var(--st-ink);font-weight:400}
body.platform-next .pn-stage .pn-panel:has(.pn-approve.is-approved) .st-steps li>i{background:var(--st-fill);box-shadow:none;color:#fff}
body.platform-next .pn-stage .pn-panel:has(.pn-approve.is-approved) .st-steps li.is-now>i svg{display:block}
body.platform-next .pn-stage .pn-panel:has(.pn-approve.is-approved) .st-steps .st-spin{display:none}
body.platform-next .pn-stage .pn-review-layout{gap:16px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);flex:1}
body.platform-next .pn-stage .st-rec{padding:24px 26px;border-radius:14px;background:var(--st-paper);box-shadow:0 0 0 1px rgba(60,45,25,.07),0 1px 2px -1px rgba(60,45,25,.08),0 2px 4px 0 rgba(60,45,25,.04)}
body.platform-next .pn-stage .pn-small-label{font-size:11.5px;color:var(--st-muted)}
body.platform-next .pn-stage .pn-recommendation h3{font-size:clamp(23px,2.1vw,29px);line-height:1.16;letter-spacing:-.035em;margin:14px 0 12px}
body.platform-next .pn-stage .pn-recommendation>p{font-size:14px;line-height:1.6;color:var(--st-muted);max-width:42ch}
body.platform-next .pn-stage .pn-source-controls{gap:8px;margin-top:24px;font-size:11.5px;color:var(--st-muted)}
body.platform-next .pn-stage .pn-source-controls button{background:transparent;border-radius:8px;padding:6px 13px;font-size:12.5px;min-height:34px;color:var(--st-ink);box-shadow:inset 0 0 0 1px var(--st-line)}
body.platform-next .pn-stage .pn-source-controls button[aria-pressed=true]{background:var(--st-fill);color:#fff;box-shadow:none}
body.platform-next .pn-stage .pn-evidence{align-self:stretch;background:transparent;border-radius:14px;padding:24px 26px;box-shadow:inset 0 0 0 1px var(--st-line)}
body.platform-next .pn-stage .pn-evidence p{font-size:16px;line-height:1.5;letter-spacing:-.01em;margin:14px 0 16px;color:var(--st-ink)}
body.platform-next .pn-stage .pn-evidence>span:last-child{font-size:11.5px;color:var(--st-muted)}
body.platform-next .pn-stage .pn-review-action{border-top:0;margin-top:20px;padding-top:0}
body.platform-next .pn-stage .pn-review-action>p{display:flex;align-items:center;gap:9px;font-size:12.5px;color:var(--st-muted)}
body.platform-next .pn-stage .pn-approve{font-size:13px;min-height:44px;padding:11px 20px 11px 16px;border-radius:999px;gap:9px}
body.platform-next .pn-stage .pn-approve.is-approved{background:#e2dacd;color:var(--st-ink)}
/* Chapter tabs live under the frame now, on the page */
body.platform-next .pn-stage{overflow:visible}
body.platform-next .pn-stage .pn-workspace{border-radius:24px;overflow:hidden}
body.platform-next .pn-stage .pn-demo-tabs{position:absolute;top:100%;bottom:auto;left:0;right:auto;margin-top:14px;padding:0;justify-content:flex-start;gap:26px}
body.platform-next .pn-stage .pn-demo-tabs button{position:relative;font-size:13px;color:var(--id-muted,#6c6d67);border-bottom-color:transparent;min-height:40px}
body.platform-next .pn-stage .pn-demo-tabs button[aria-selected=true]{color:var(--pn-ink);border-bottom-color:var(--pn-ink)}
body.platform-next .pn-stage .pn-demo-tabs button:focus-visible{outline-color:var(--pn-ink)}
@media(hover:hover){body.platform-next .pn-stage .pn-demo-tabs button:hover{color:var(--pn-ink)}}
body.platform-next .pn-stage .pn-demo-tabs button::before{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:var(--pn-ink);transform:scaleX(0);transform-origin:0 50%}
body.platform-next .pn-stage.st-auto .pn-demo-tabs button[aria-selected=true]{border-bottom-color:#17171626}
body.platform-next .pn-stage.st-auto .pn-demo-tabs button[aria-selected=true]::before{animation:st-progress var(--st-dwell,7500ms) linear both}
body.platform-next .pn-stage.st-auto.st-paused .pn-demo-tabs button[aria-selected=true]::before{animation-play-state:paused}
body.platform-next .pn-product .pn-demo-caption{justify-content:flex-end;min-height:40px;align-items:center;margin-top:14px}
body.platform-next .pn-product .pn-demo-caption>span:first-child{display:none}
@keyframes st-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes st-in{from{opacity:0;transform:translateY(8px);filter:blur(5px)}}
@keyframes st-spin{to{rotate:360deg}}
@keyframes st-dot{from{background:transparent;box-shadow:inset 0 0 0 1.5px var(--st-track);scale:.6}}
@keyframes st-live{50%{box-shadow:inset 0 0 0 1.5px var(--st-track)}}
@keyframes st-bar{from{transform:scaleX(0)}}
@media(prefers-reduced-motion:no-preference){
 body.platform-next .pn-stage .st-spin{animation:st-spin 900ms linear infinite}
 body.platform-next .pn-stage .pn-panel.st-play [data-st]{animation:st-in 620ms cubic-bezier(.25,.46,.45,.94) both;animation-delay:calc(90ms + var(--st-i,0) * 70ms)}
 body.platform-next .pn-stage .pn-panel.st-play .st-dots i.is-on{animation:st-dot 380ms cubic-bezier(.25,.46,.45,.94) both;animation-delay:calc(500ms + var(--d) * 90ms)}
 body.platform-next .pn-stage .pn-panel:not([hidden]) .st-dots i.is-live{animation:st-live 1.2s ease-in-out infinite;animation-delay:calc(var(--d) * 160ms)}
 body.platform-next .pn-stage .pn-panel.st-play .st-bar i{animation:st-bar 2.4s cubic-bezier(.25,.46,.45,.94) both;animation-delay:500ms}
}
@media(max-width:1100px){
 body.platform-next .pn-stage .pn-workspace{grid-template-columns:172px minmax(0,1fr)}
 body.platform-next .pn-stage .st-docs{grid-template-columns:1fr;gap:10px}
 body.platform-next .pn-stage .st-doc{flex-direction:row;align-items:center;gap:14px;padding:14px 16px}
 body.platform-next .pn-stage .st-doc img{margin:0}
 body.platform-next .pn-stage .st-doc strong{margin-top:0;font-size:15px}
 body.platform-next .pn-stage .st-doc span{display:none}
 body.platform-next .pn-stage .st-works{grid-template-columns:1fr;grid-template-rows:auto}
 body.platform-next .pn-stage .st-work-main{grid-row:auto}
 body.platform-next .pn-stage .st-dots{grid-template-columns:repeat(25,1fr);gap:5px;padding:16px 0 4px}
 body.platform-next .pn-stage .st-bar{margin-top:16px}
}
@media(max-width:760px){
 body.platform-next .pn-stage :is(.pn-app-main,.pn-panels,.pn-panel){min-width:0}
 body.platform-next .pn-stage .st-doc>*{min-width:0}
 body.platform-next .pn-stage{border-radius:20px}
 body.platform-next .pn-stage .pn-workspace{display:block;min-height:0;border-radius:20px}
 body.platform-next .pn-stage .pn-app-main{padding:0 18px;min-height:620px}
 body.platform-next .pn-stage .pn-app-bar{height:48px;font-size:11px}
 body.platform-next .pn-stage .pn-panel{padding:24px 0 22px}
 body.platform-next .pn-stage .pn-app-heading{display:block;margin-bottom:20px}
 body.platform-next .pn-stage .pn-app-heading h2{font-size:24px}
 body.platform-next .pn-stage .pn-app-heading p{font-size:13px}
 body.platform-next .pn-stage .st-chip{margin-top:14px}
 body.platform-next .pn-stage .st-context{flex-wrap:wrap}
 body.platform-next .pn-stage .st-tag{margin-left:52px}
 body.platform-next .pn-stage .st-dots{grid-template-columns:repeat(10,1fr);gap:7px}
 body.platform-next .pn-stage .st-steps{flex-direction:column;gap:12px;margin-bottom:20px}
 body.platform-next .pn-stage .st-steps li{padding-top:12px}
 body.platform-next .pn-stage .pn-review-layout{display:block}
 body.platform-next .pn-stage .pn-evidence{margin-top:12px;padding:18px 20px}
 body.platform-next .pn-stage .st-rec{padding:20px}
 body.platform-next .pn-stage .pn-review-action{align-items:flex-start;flex-direction:column;gap:12px}
 body.platform-next .pn-stage .pn-demo-tabs{gap:18px}
 body.platform-next .pn-stage .pn-demo-tabs button{font-size:12px}
 body.platform-next .pn-product .pn-demo-caption{display:none}
 body.platform-next .pn-product{padding-bottom:54px}
}

/* Foundation fills the frame: the three library cards take the free height. */
@media(min-width:1101px){
 body.platform-next .pn-stage .st-docs{flex:1;max-height:300px}
 body.platform-next .pn-stage .st-doc strong{margin-top:auto;padding-top:44px}
}

/* Each library item contains one document, shown at a consistent preview scale. */
body.platform-next .pn-stage .st-docs{max-height:none;min-height:340px}
body.platform-next .pn-stage .st-doc{min-width:0;padding:18px;gap:0}
body.platform-next .pn-stage .st-doc-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.platform-next .pn-stage .st-doc-heading img{width:27px;height:27px;margin:0;flex:none}
body.platform-next .pn-stage .st-doc-heading small{font-size:10px;line-height:1.4;color:var(--st-muted);text-align:right}
body.platform-next .pn-stage .st-doc>strong{margin:18px 0 0;padding:0;font-size:15px;line-height:1.3}
body.platform-next .pn-stage .st-doc>span{display:block;margin-top:6px;font-size:12px}
body.platform-next .pn-stage .st-file-preview{position:relative;display:flex;flex-direction:column;width:100%;height:230px;min-height:230px;margin:18px auto 0;padding:15px 13px 12px;border:1px solid #e3ded5;border-radius:3px;background:#fff;box-shadow:0 2px 4px #33291d07;color:var(--st-ink);overflow:hidden}
body.platform-next .pn-stage .st-file-preview span{display:block;margin:0;font-size:8px;line-height:1.45;color:inherit}
body.platform-next .pn-stage .st-file-topline{display:flex;justify-content:space-between;gap:6px;padding-bottom:9px;border-bottom:1px solid #e7e2d9;font-size:6px;letter-spacing:.07em;color:#8c8172;line-height:1.4}
body.platform-next .pn-stage .st-file-topline>span{font-size:6px;white-space:nowrap}
body.platform-next .pn-stage .st-file-preview h3{font-size:17px;font-weight:500;line-height:1.15;letter-spacing:-.025em;margin:10px 0 5px}
body.platform-next .pn-stage .st-file-preview p{font-size:7px;line-height:1.5;color:#8b8174;margin:0}
body.platform-next .pn-stage .st-file-section{margin-top:10px}
body.platform-next .pn-stage .st-file-section b{display:block;font-size:8px;font-weight:500;line-height:1.4}
body.platform-next .pn-stage .st-file-section span{font-size:6.5px;color:#8b8174;margin-top:3px}
body.platform-next .pn-stage .st-file-lines{display:grid;gap:4px;margin-top:9px}
body.platform-next .pn-stage .st-file-lines i{height:2px;background:#eeeae4;width:90%}
body.platform-next .pn-stage .st-file-lines i:last-child{width:65%}
body.platform-next .pn-stage .st-file-footer{display:flex;justify-content:space-between;gap:8px;margin-top:auto;padding-top:8px;font-size:6px;line-height:1.4;color:#9a8e7d}
body.platform-next .pn-stage .st-file-footer span{font-size:6px}
body.platform-next .pn-stage .st-file-slide{background:#f3eee6}
body.platform-next .pn-stage .st-slide-content{display:flex;align-items:center;gap:12px;margin-top:12px;flex:1}
body.platform-next .pn-stage .st-slide-content p{flex:1;max-width:15ch;color:#8d7e6b}
body.platform-next .pn-stage .st-slide-chart{display:flex;align-items:flex-end;gap:5px;height:66px;flex:0 0 45%}
body.platform-next .pn-stage .st-slide-chart i{flex:1;background:#c8ceca;height:38%;border-radius:1px 1px 0 0}
body.platform-next .pn-stage .st-slide-chart i:nth-child(2){height:57%;background:#a8b1ad}
body.platform-next .pn-stage .st-slide-chart i:nth-child(3){height:76%;background:#818c87}
body.platform-next .pn-stage .st-slide-chart i:nth-child(4){height:94%;background:#343b37}
body.platform-next .pn-stage .st-file-model h3{font-size:14px}
body.platform-next .pn-stage .st-model-table{display:grid;margin-top:12px;font-size:7px;font-variant-numeric:tabular-nums}
body.platform-next .pn-stage .st-model-table>div{display:grid;grid-template-columns:1.5fr .65fr .65fr;border-bottom:1px solid #ede9e2;min-height:21px;align-items:center}
body.platform-next .pn-stage .st-model-table span{font-size:7px}
body.platform-next .pn-stage .st-model-table b{font-size:7px;font-weight:400;text-align:right}
body.platform-next .pn-stage .st-model-table>div:first-child{background:#f2efe9;color:#8d8070;padding-inline:4px}
body.platform-next .pn-stage .st-model-table>div:first-child span:not(:first-child){text-align:right}
body.platform-next .pn-stage .st-model-total{font-weight:500;background:#f8f5ef}
body.platform-next .pn-stage .st-model-total b{font-weight:500}
/* Activity spans the chapter, then resolves shortly before the next view. */
body.platform-next .pn-stage .pn-panel.st-play .st-dots i.is-on{animation:none;transition:background-color 180ms ease-out,box-shadow 180ms ease-out}
body.platform-next .pn-stage .pn-panel.st-play .st-bar i{animation:none;transition:transform 120ms linear}
body.platform-next .pn-stage .st-agents-complete .st-spin{display:none}
body.platform-next .pn-stage [data-st-agent-chip].is-done::before{content:'✓';display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--st-fill);color:#fff;font-size:11px}
body.platform-next .pn-stage.st-auto .pn-demo-tabs button[aria-selected=true]::before{animation:none;transform:scaleX(var(--st-progress,0))}
body.platform-next .pn-stage .pn-app-bar{gap:16px}
body.platform-next .pn-stage .pn-example{margin-left:auto}
body.platform-next .pn-stage .st-motion-toggle{display:grid;place-items:center;flex:none;width:30px;height:30px;padding:0;border:1px solid var(--st-line);border-radius:50%;background:transparent;color:var(--st-ink)}
body.platform-next .pn-stage .st-motion-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
body.platform-next .pn-stage .st-play-icon{display:none}
body.platform-next .pn-stage.st-paused .st-pause-icon{display:none}
body.platform-next .pn-stage.st-paused .st-play-icon{display:block}
body.platform-next .pn-stage:is(.st-paused,.st-out-of-view) :is(.st-spin,.st-dots i.is-live){animation-play-state:paused!important}
body.platform-next .pn-stage.st-paused .pn-panel.st-play [data-st]{animation:none}
/* The consultant changes the recommendation; approval preserves that revised result. */
body.platform-next .pn-stage .st-consultant-note{display:flex;gap:10px;align-items:flex-start;padding-top:20px;margin-top:22px;border-top:1px solid var(--st-line);opacity:0;transform:translateY(5px);transition:opacity 250ms ease-out,transform 250ms ease-out}
body.platform-next .pn-stage [data-review-phase]:not([data-review-phase=draft]) .st-consultant-note{opacity:1;transform:none}
body.platform-next .pn-stage .st-consultant-mark{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:#e8dfd2;font-size:11px;font-weight:500}
body.platform-next .pn-stage .st-consultant-note p{font-size:13px;line-height:1.5;margin-top:5px;color:var(--st-ink)}
body.platform-next .pn-stage .st-rec>h3{min-height:2.32em}
body.platform-next .pn-stage .st-rec>p{min-height:3.2em}
body.platform-next .pn-stage .st-evidence-conclusion{padding-top:20px;margin-top:24px;border-top:1px solid var(--st-line)}
body.platform-next .pn-stage .st-evidence-conclusion>span{font-size:10px;font-weight:500;color:var(--st-muted)}
body.platform-next .pn-stage .st-evidence-conclusion>p{font-size:13px;line-height:1.5;margin:8px 0 0}
body.platform-next .pn-stage .st-steps li>i>span{display:none}
body.platform-next .pn-stage .st-steps li.is-done>i>span{display:block}
body.platform-next .pn-stage .st-steps li.is-done .st-spin{display:none}
body.platform-next .pn-stage .pn-approve:disabled:not(.is-approved){opacity:.45;cursor:default}
body.platform-next .pn-stage .pn-panel:has(.pn-approve.is-approved) .st-steps li>i{font-size:12px}
@keyframes st-in{from{opacity:0;transform:translateY(6px)}}
@media(max-width:1100px){
 body.platform-next .pn-stage .st-docs{min-height:0}
 body.platform-next .pn-stage .st-doc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:20px;padding:16px 18px}
 body.platform-next .pn-stage .st-doc-heading{grid-column:1;grid-row:1;justify-content:flex-start}
 body.platform-next .pn-stage .st-doc>strong{grid-column:1;grid-row:2;margin-top:12px}
 body.platform-next .pn-stage .st-doc>span{grid-column:1;grid-row:3;display:block;font-size:11px}
 body.platform-next .pn-stage .st-slide-chart{height:65px;flex-basis:44px}
}
@media(max-width:760px){
 body.platform-next .pn-stage .pn-app-bar .pn-example{display:none}
 body.platform-next .pn-stage .pn-app-bar .st-motion-toggle{margin-left:auto}
 body.platform-next .pn-stage .st-doc{column-gap:14px;padding:15px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 body.platform-next .pn-stage .st-doc-heading small{display:none}
 body.platform-next .pn-stage .st-doc>strong{font-size:13px;margin-top:10px}
 body.platform-next .pn-stage .st-doc>span{display:none}
 body.platform-next .pn-stage .st-slide-chart{height:48px;flex-basis:32px;gap:3px}
 body.platform-next .pn-stage .st-review-chip{display:none}
 body.platform-next .pn-stage .st-rec>h3,body.platform-next .pn-stage .st-rec>p{min-height:0}
 body.platform-next .pn-stage .pn-review-action>p{font-size:12px}
}
@media(prefers-reduced-motion:reduce){body.platform-next .pn-stage .st-consultant-note{transition:none}}
body.platform-next .pn-stage .st-rec>h3{max-width:20ch;text-wrap:balance}
body.platform-next .pn-stage [data-evidence-meta]{display:block;font-size:11.5px;line-height:1.5;color:var(--st-muted)}
@media(max-width:760px){
 body.platform-next .pn-stage .st-context{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px 12px}
 body.platform-next .pn-stage .st-context>i{width:28px;height:28px;border-radius:8px}
 body.platform-next .pn-stage .st-context .st-tag{grid-column:2;margin:0;font-size:10px;white-space:normal}
}

@media(max-width:1100px){
 body.platform-next .pn-stage .st-doc{grid-template-columns:minmax(0,1fr) 190px;column-gap:24px}
 body.platform-next .pn-stage .st-file-preview{grid-column:2;grid-row:1/4;width:190px;height:190px;min-height:190px;margin:0;padding:12px}
 body.platform-next .pn-stage .st-file-preview h3{font-size:14px;margin-top:8px}
 body.platform-next .pn-stage .st-file-section{margin-top:7px}
 body.platform-next .pn-stage .st-file-lines{display:none}
 body.platform-next .pn-stage .st-slide-chart{height:48px;flex-basis:45%}
 body.platform-next .pn-stage .st-model-table{margin-top:7px}
 body.platform-next .pn-stage .st-model-table>div{min-height:17px}
}
@media(max-width:760px){
 body.platform-next .pn-stage .st-doc{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);column-gap:14px;align-items:center}
 body.platform-next .pn-stage .st-file-preview{width:100%;height:188px;min-height:188px;padding:10px}
 body.platform-next .pn-stage .st-file-preview h3{font-size:12px}
 body.platform-next .pn-stage .st-file-topline{font-size:5px;padding-bottom:6px;letter-spacing:.03em}
 body.platform-next .pn-stage .st-file-topline>span{font-size:5px}
 body.platform-next .pn-stage .st-file-preview p{font-size:6px}
 body.platform-next .pn-stage .st-file-section b{font-size:7px}
 body.platform-next .pn-stage .st-file-section span{font-size:6px}
 body.platform-next .pn-stage .st-slide-content{gap:7px;margin-top:8px}
 body.platform-next .pn-stage .st-slide-chart{height:48px;gap:3px}
 body.platform-next .pn-stage .st-model-table span,body.platform-next .pn-stage .st-model-table b{font-size:6px}
}
@media(max-width:400px){
 body.platform-next .pn-stage .st-doc{grid-template-columns:28px minmax(0,1fr);gap:0 12px}
 body.platform-next .pn-stage .st-doc-heading{grid-column:1;grid-row:1}
 body.platform-next .pn-stage .st-doc>strong{grid-column:2;grid-row:1;margin:0;font-size:12px}
 body.platform-next .pn-stage .st-file-preview{grid-column:1/-1;grid-row:2;width:100%;max-width:280px;height:210px;min-height:210px;margin:14px auto 0;padding:14px}
 body.platform-next .pn-stage .st-file-preview h3{font-size:16px}
 body.platform-next .pn-stage .st-file-topline,body.platform-next .pn-stage .st-file-topline>span{font-size:6px}
 body.platform-next .pn-stage .st-file-section{margin-top:12px}
 body.platform-next .pn-stage .st-file-section b{font-size:8px}
 body.platform-next .pn-stage .st-file-section span,body.platform-next .pn-stage .st-file-preview p{font-size:7px}
 body.platform-next .pn-stage .pn-demo-tabs{right:0;gap:8px;justify-content:space-between}
 body.platform-next .pn-stage .pn-demo-tabs button{font-size:10px;white-space:nowrap}
}
/* Stone surrounds the library. Paper is reserved for the document previews. */
body.platform-next .pn-stage{--st-surface:#efeee9;--st-paper:#fdfcf9;--st-line:#dedbd4;--st-muted:#68655f}
body.platform-next .pn-stage .st-doc{background:transparent;border:0;box-shadow:none}
body.platform-next .pn-stage .st-file-preview{background:#fcfbf8;border-color:transparent;box-shadow:0 0 0 1px #302e2b0c,0 2px 4px -1px #302e2b12,0 8px 16px -12px #302e2b30}
body.platform-next .pn-stage .st-file-slide{background:#f5f2eb}
body.platform-next .pn-stage .st-slide-chart{height:74px;flex-basis:48%;border-bottom:1px solid #a4aba5;padding-inline:2px}
body.platform-next .pn-stage .st-slide-chart i{height:28%;background:#ced2cd}
body.platform-next .pn-stage .st-slide-chart i:nth-child(2){height:43%;background:#b1bab4}
body.platform-next .pn-stage .st-slide-chart i:nth-child(3){height:62%;background:#8b9790}
body.platform-next .pn-stage .st-slide-chart i:nth-child(4){height:80%;background:#65716a}
body.platform-next .pn-stage .st-slide-chart i:nth-child(5){height:100%;background:#303732}
/* A film of the consultant making decisions, with no visitor approval action. */
body.platform-next .pn-stage .st-review-film{position:relative;background:var(--st-paper);border:1px solid #dedbd4;border-radius:12px;box-shadow:0 2px 4px -3px #302e2b16;min-width:0;overflow:hidden}
body.platform-next .pn-stage .st-review-film-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;border-bottom:1px solid var(--st-line)}
body.platform-next .pn-stage .st-review-film-head>div{display:flex;align-items:center;gap:12px;min-width:0}
body.platform-next .pn-stage .st-review-agent{font-size:24px;line-height:1;color:var(--st-ink)}
body.platform-next .pn-stage .st-review-film-head strong{font-size:14px;font-weight:500;line-height:1.4;display:block}
body.platform-next .pn-stage .st-review-film-head div>span:not(.st-review-agent){display:block;font-size:11px;line-height:1.5;color:var(--st-muted);margin-top:3px}
body.platform-next .pn-stage .st-review-demo{font-size:10px;line-height:1.4;color:var(--st-muted);white-space:nowrap}
body.platform-next .pn-stage .st-review-points{margin:0;padding:0;list-style:none}
body.platform-next .pn-stage .st-review-point{display:grid;grid-template-columns:24px minmax(0,1fr) 148px;gap:14px;align-items:start;padding:22px;border-bottom:1px solid var(--st-line);min-height:128px;transition:background-color 150ms ease-out}
body.platform-next .pn-stage .st-review-point.is-active{background:#f4f3ef}
body.platform-next .pn-stage .st-point-index{font-size:10px;line-height:24px;color:var(--st-muted);font-variant-numeric:tabular-nums}
body.platform-next .pn-stage .st-point-content h3{font-size:17px;line-height:1.4;font-weight:500;letter-spacing:-.015em;text-wrap:pretty}
body.platform-next .pn-stage .st-point-content>p{font-size:12px;line-height:1.5;color:var(--st-muted);margin-top:5px}
body.platform-next .pn-stage .st-point-note{display:flex;align-items:center;gap:8px;min-height:24px;margin-top:12px;font-size:12px;line-height:1.5;color:var(--st-ink);opacity:0;transition:opacity 200ms ease-out}
body.platform-next .pn-stage .is-decided .st-point-note{opacity:1}
body.platform-next .pn-stage .st-review-person{display:grid;place-items:center;width:16px;height:20px;color:#87837b;flex:none}.st-review-person svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
body.platform-next .pn-stage .st-point-decision{position:relative;min-height:32px;align-self:center}
body.platform-next .pn-stage .st-point-options{display:flex;justify-content:flex-end;gap:2px;width:max-content;margin-left:auto;padding:3px;border:1px solid #e5e2db;border-radius:999px;background:#f3f2ed;transition:opacity 150ms ease-out;pointer-events:none}
body.platform-next .pn-stage .st-choice{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:0;background:transparent;color:#77736c;transition:background-color 150ms ease-out,scale 150ms ease-out,color 150ms ease-out}
body.platform-next .pn-stage .st-choice svg,body.platform-next .pn-stage .st-point-result svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
body.platform-next .pn-stage .st-choice.is-pressed{background:#302e2b;color:#fff;scale:.94}
body.platform-next .pn-stage .is-decided .st-point-options{opacity:0}
body.platform-next .pn-stage .st-point-result{position:absolute;inset:0;display:flex;justify-content:flex-end;align-items:center;gap:8px;font-size:12px;font-weight:500;line-height:1.5;opacity:0;pointer-events:none;transition:opacity 200ms ease-out;color:#44413c}
body.platform-next .pn-stage .is-decided .st-point-result{opacity:1}
body.platform-next .pn-stage .st-point-result svg{width:22px;height:22px;padding:4px;border-radius:50%;background:#ebe9e2;color:#49463f;stroke-width:1.5}
body.platform-next .pn-stage [data-outcome=aside] .st-point-result{color:#77736b}
body.platform-next .pn-stage .st-review-chip{height:30px;padding:0;background:transparent;box-shadow:none;color:var(--st-muted);font-size:11px;font-weight:400}
body.platform-next .pn-stage .st-work{box-shadow:0 0 0 1px #302e2b0d}
body.platform-next .pn-stage .st-review-summary{background:#f8f7f3}
body.platform-next .pn-stage .st-review-summary{display:flex;align-items:center;gap:10px;padding:16px 22px;min-height:60px}
body.platform-next .pn-stage .st-review-summary-dot{width:6px;height:6px;border-radius:50%;background:#7e8880;flex:none}
body.platform-next .pn-stage .st-review-summary p{font-size:12px;line-height:1.5;color:var(--st-muted)}
body.platform-next .pn-stage .st-review-tally{font-size:11px;font-variant-numeric:tabular-nums;color:var(--st-muted);white-space:nowrap;margin-inline-start:auto}
body.platform-next .pn-stage .st-review-pointer{position:absolute;left:0;top:0;width:24px;height:28px;transform:translate(var(--review-x,70px),var(--review-y,90px));opacity:0;pointer-events:none;transition:opacity 150ms ease-out,transform 550ms cubic-bezier(.2,0,0,1);z-index:4}
body.platform-next .pn-stage .st-review-pointer.is-visible{opacity:1}
body.platform-next .pn-stage .st-review-pointer>svg{display:block;width:22px;height:26px;fill:#302e2b;stroke:#fbfaf6;stroke-width:1.2;filter:drop-shadow(0 2px 3px #0003)}
body.platform-next .pn-stage .st-review-pointer>i{position:absolute;left:-9px;top:-9px;width:24px;height:24px;border:1px solid #302e2b66;border-radius:50%;opacity:0;scale:.4;transition:opacity 250ms ease-out,scale 300ms cubic-bezier(.2,0,0,1)}
body.platform-next .pn-stage .st-review-pointer.is-clicking>i{opacity:1;scale:1}
body.platform-next .pn-stage.st-paused .st-review-pointer{transition:none}
@media(max-width:1100px){
 body.platform-next .pn-stage .st-review-point{grid-template-columns:20px minmax(0,1fr) 116px;gap:10px;padding:20px 18px}
 body.platform-next .pn-stage .st-point-content h3{font-size:15px}
 body.platform-next .pn-stage .st-point-content>p{font-size:11px}
 body.platform-next .pn-stage .st-point-result{font-size:11px}
 body.platform-next .pn-stage .st-slide-chart{height:54px}
}
@media(max-width:760px){
 body.platform-next .pn-stage .st-review-film-head{padding:15px}
 body.platform-next .pn-stage .st-review-film-head strong{font-size:13px}
 body.platform-next .pn-stage .st-review-demo{display:none}
 body.platform-next .pn-stage .st-review-point{grid-template-columns:16px minmax(0,1fr);padding:17px 15px;gap:0 10px;min-height:0}
 body.platform-next .pn-stage .st-point-content h3{font-size:14px}
 body.platform-next .pn-stage .st-point-content>p{font-size:10px}
 body.platform-next .pn-stage .st-point-decision{grid-column:2;grid-row:2;margin-top:12px;min-height:30px}
 body.platform-next .pn-stage .st-point-options{justify-content:flex-start;margin-left:0}
 body.platform-next .pn-stage .st-point-result{justify-content:flex-start;font-size:11px}
 body.platform-next .pn-stage .st-point-note{font-size:11px;margin-top:9px}
 body.platform-next .pn-stage .st-review-summary{padding:15px;align-items:flex-start;flex-wrap:wrap;gap:8px}
 body.platform-next .pn-stage .st-review-summary-dot{margin-top:6px}
 body.platform-next .pn-stage .st-review-summary p{font-size:11px;flex:1;min-width:0}
 body.platform-next .pn-stage .st-review-tally{font-size:10px;margin-left:14px;width:100%}
 body.platform-next .pn-stage .st-review-pointer{width:18px;height:22px}
 body.platform-next .pn-stage .st-review-pointer>svg{width:17px;height:21px}
 body.platform-next .pn-stage .st-slide-chart{height:50px}
}
@media(prefers-reduced-motion:reduce){
 body.platform-next .pn-stage .st-review-pointer,body.platform-next .pn-stage .st-point-options{display:none}
 body.platform-next .pn-stage .st-point-note,body.platform-next .pn-stage .st-point-result{opacity:1;transition:none}
}

/* On a phone, chapters use their own height. Keep the selectors before the content
   so changing scenes never leaves the reader below the new scene. */
@media(max-width:760px){
 body.platform-next .pn-stage{display:flex;flex-direction:column;overflow:visible;background:transparent}
 body.platform-next .pn-stage .pn-demo-tabs{position:relative;order:-1;top:auto;left:auto;right:auto;margin:0 0 14px;gap:8px;padding:0}
 body.platform-next .pn-stage .pn-workspace{overflow:hidden;background:var(--st-surface)}
 body.platform-next .pn-stage .pn-panels{display:block;flex:none}
 body.platform-next .pn-stage .pn-panel[hidden]{display:none!important}
 body.platform-next .pn-stage .pn-app-main{min-height:0}
}
