.workflow-page{max-width:1440px;margin:auto;padding:0 48px}.workflow-opening{padding:48px 0 24px}.workflow-opening h1{font-size:clamp(36px,4vw,56px);text-align:center;line-height:1.12}.workflow-deck{font-size:23px;line-height:1.5;text-align:center;color:var(--muted);margin:16px auto 26px}.workflow-opening form{max-width:1100px;margin:auto}.workflow-opening label{display:block;font-size:15px;font-weight:650;margin-bottom:10px}.goal-controls{display:flex;align-items:center;gap:12px}.goal-controls input{min-width:0;flex:1;height:56px;padding:0 18px;border:1px solid var(--field-border);border-radius:7px;background:var(--white);color:var(--ink);font-size:17px}.goal-controls input::placeholder{color:var(--placeholder);opacity:1}.goal-controls .button{min-height:56px;gap:12px}.goal-controls>button:not(.button){background:none;border:0;color:var(--blue);min-height:44px;padding:8px}#match-message{font-size:14px;color:var(--muted);min-height:22px;margin-top:8px}.example-prompts{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 22px;margin-top:16px;font-size:14px}.example-prompts>span{color:var(--muted)}.example-prompts button{min-height:44px;border:0;background:none;color:var(--ink);font-size:14px;padding:7px 0;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:6px}.example-prompts button:hover{color:var(--blue)}.selection{border-top:1px solid var(--line);padding:24px 0 28px;display:grid;grid-template-columns:1fr auto;gap:12px 32px;align-items:start}.selection h2{font-size:20px;line-height:1.35}.selection p{font-size:16px;line-height:1.6;color:var(--muted);margin-top:6px}.refine{min-height:44px;background:none;border:0;padding:8px 0;color:var(--blue);font-size:14px;text-decoration:underline;text-underline-offset:4px}#clarify{grid-column:1/-1}#clarify-question{color:var(--ink);font-weight:650}#clarify-choices{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}#walkthrough{scroll-margin-top:90px}#steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:28px}#steps button{min-height:48px;text-align:left;padding:12px 18px;border:1px solid var(--line);border-radius:6px;background:var(--white);color:var(--ink);font-size:16px;font-weight:600}#steps button[aria-current=step]{background:var(--blue);color:var(--action-text);border-color:transparent}.scene-heading{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:start;margin-bottom:28px}.scene-heading h2{font-size:clamp(30px,2.8vw,40px);line-height:1.16;max-width:27ch;scroll-margin-top:100px}.scene-heading p{color:var(--muted);font-size:17px;margin-top:14px;line-height:1.65;max-width:72ch}.step-actions{display:flex;flex-wrap:wrap;justify-content:end;gap:10px;max-width:330px}.step-actions .button{font-size:14px}.dashboard{margin:0}.dashboard-frame{position:relative;background:var(--image-paper);border:1px solid var(--line);border-radius:12px;overflow:hidden}.dashboard-frame>img{display:block;width:100%;height:auto}.insight{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:60px;padding:28px 0 44px}.insight h3{font-size:24px;line-height:1.3}.insight p{font-size:17px;line-height:1.65;color:var(--muted);margin-top:12px;max-width:65ch}.insight details{min-width:0}.insight summary{font-size:16px;min-height:44px;font-weight:650;cursor:pointer}.detail-crop{margin-top:12px;width:100%;aspect-ratio:var(--crop-aspect,338/318);position:relative;overflow:hidden;background:var(--image-paper);border:1px solid var(--line);border-radius:8px}.detail-crop img{position:absolute;max-width:none;width:var(--crop-width,454.55%);left:var(--crop-left,-227.27%);top:var(--crop-top,-100%);height:auto}.browse{padding:24px 0;border-block:1px solid var(--line)}.browse summary{cursor:pointer;min-height:44px;font-size:18px}.browse p{color:var(--muted);font-size:15px;margin:12px 0 18px}#browse-choices{display:flex;flex-wrap:wrap;gap:10px}#browse-choices .button{font-size:14px}#browse-choices [aria-pressed=true]{background:var(--blue);color:var(--action-text)}.workflow-close{padding:64px 0 72px;max-width:72ch}.workflow-close h2{font-size:clamp(30px,3vw,42px)}.workflow-close p{font-size:17px;line-height:1.7;color:var(--muted);margin:20px 0 22px}.workflow-close .text-link{margin-left:22px;min-height:46px}.section-links [aria-current=page]{color:var(--blue);text-decoration:underline;text-underline-offset:6px}
@media(max-width:1000px){.workflow-page{padding-inline:28px}.scene-heading{grid-template-columns:1fr;gap:20px}.step-actions{max-width:none;justify-content:start}.insight{gap:30px}.workflow-opening{padding-top:48px}.workflow-deck{font-size:21px}}
@media(max-width:600px){.workflow-page{padding-inline:20px}.workflow-opening{padding-top:38px}.workflow-opening h1{font-size:38px}.workflow-deck{font-size:19px;margin:16px auto 28px}.workflow-deck br{display:none}.goal-controls{flex-wrap:wrap}.goal-controls input{flex-basis:100%;height:56px;font-size:16px;padding-inline:12px}.goal-controls .button{flex:1;min-height:48px;font-size:14px}.example-prompts{justify-content:start;gap:0 18px;margin-top:10px}.example-prompts>span{flex-basis:100%}.example-prompts button{font-size:13px}.selection{grid-template-columns:1fr;gap:0;padding:22px 0}.selection h2{font-size:19px}.selection p{font-size:15px}.refine{justify-self:start}#steps{gap:7px;margin-bottom:22px;padding-bottom:18px}#steps button{font-size:13px;text-align:center;padding:10px 5px;min-height:54px}.scene-heading{gap:18px;margin-bottom:22px}.scene-heading h2{font-size:30px;max-width:none}.scene-heading p{font-size:16px;line-height:1.65}.step-actions{gap:8px}.step-actions .button{font-size:13px;padding:11px 14px}.insight{grid-template-columns:1fr;gap:24px;padding-top:22px;padding-bottom:32px}.insight h3{font-size:23px}.insight p{font-size:16px}.workflow-close{padding:44px 0 52px}.workflow-close h2{font-size:31px}.workflow-close p{font-size:16px}.workflow-close .text-link{display:flex;margin:12px 0 0}.browse summary{font-size:17px}#browse-choices .button{font-size:13px}.dashboard-frame{border-radius:8px}}

.step-actions button:disabled{cursor:default}



/* Draw the measured region exactly; enlarge only its transparent hit target. */
.dashboard-highlight{position:absolute;left:var(--focus-cx,61%);top:var(--focus-cy,46.5%);width:max(44px,var(--focus-w,22%));height:max(44px,var(--focus-h,31%));min-width:0;min-height:0;transform:translate(-50%,-50%);border:0;border-radius:0;background:transparent;padding:0;z-index:2}
.dashboard-highlight:hover{border:0}.dashboard-highlight:focus-visible{outline:none}
.dashboard-outline{position:absolute;left:var(--focus-x,50%);top:var(--focus-y,31%);width:var(--focus-w,22%);height:var(--focus-h,31%);border:2px solid var(--image-focus);border-radius:6px;pointer-events:none}
.dashboard-highlight:hover+.dashboard-outline{border-width:3px}.dashboard-highlight:focus-visible+.dashboard-outline{outline:3px solid var(--image-focus);outline-offset:4px}

@media(forced-colors:active){.dashboard-outline{border-color:Highlight}.dashboard-highlight:focus-visible+.dashboard-outline{outline-color:Highlight}}

html.workflow-document{scroll-behavior:auto}

#matching-security:not(:empty){margin-top:12px}#matching-security-message{font-size:13px;line-height:1.6;color:var(--muted);margin-top:8px}#matching-security-message:empty{display:none}#retry-matching{min-height:44px;padding:8px 0;border:0;background:none;color:var(--blue);font-size:14px;text-decoration:underline;text-underline-offset:4px}

/* Small interaction and reading refinements, without additional motion. */
.scene-heading h2,.insight h3,.workflow-close h2{text-wrap:balance}
.scene-heading p,.insight p{text-wrap:pretty}
#steps button,.insight summary,.browse summary{scroll-margin-top:100px}
.insight summary{line-height:1.5;padding-block:4px}
.insight summary:hover,.browse summary:hover{color:var(--blue)}
@media(hover:hover){#steps button:not([aria-current=step]):hover{background:var(--wash);border-color:var(--field-border)}}

/* Local selection feedback only; final state remains immediate and visible. */
@media(prefers-reduced-motion:no-preference){
 #steps button,.refine,.insight summary,.browse summary{transition:background-color 140ms ease-out,border-color 140ms ease-out,color 140ms ease-out}
 .insight summary:after,.browse summary:after{top:50%;transform:translateY(-50%) rotate(45deg);transition:transform 160ms cubic-bezier(.16,1,.3,1)}
 .insight details[open]>summary:after,.browse[open]>summary:after{top:50%;transform:translateY(-50%) rotate(225deg)}
}

/* Keep the walkthrough usable while inspecting its dashboard. */
.walkthrough-controls{position:sticky;top:var(--explore-header-height,65px);z-index:20;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:12px 0;background:var(--white);border-bottom:1px solid var(--line);margin-bottom:28px}
.walkthrough-controls #steps{margin:0;padding:0;border:0;gap:8px}
.walkthrough-controls #steps button{padding:10px 12px;font-size:14px}
.walkthrough-controls .step-actions{flex-wrap:nowrap;max-width:none;gap:8px}
.walkthrough-controls .step-actions .button{padding:11px 14px}
.scene-heading{display:block}
#scene-title,#dashboard-highlight,.insight summary,.detail-crop{scroll-margin-top:calc(var(--explore-header-height,65px) + var(--explore-controls-height,80px) + 24px)}
.insight{display:block}.insight>div{max-width:72ch}.insight details{margin-top:24px}
.detail-crop{display:block;position:relative;aspect-ratio:auto;height:auto;max-height:68vh;max-width:min(100%,calc(var(--detail-readable-width,100%) + 2px));overflow:auto;overscroll-behavior-x:contain;margin-top:12px;scrollbar-color:var(--scroll-thumb) var(--image-paper)}
.detail-region{position:relative;width:max(100%,var(--detail-readable-width,640px));aspect-ratio:var(--crop-aspect,338/318);overflow:hidden}
@media(max-width:1000px){.walkthrough-controls{grid-template-columns:1fr;gap:8px}.walkthrough-controls .step-actions{justify-content:flex-end}.walkthrough-controls #steps button{font-size:14px}}
@media(max-width:600px){.walkthrough-controls{padding:8px 0;margin-bottom:22px}.walkthrough-controls #steps button{font-size:12px;min-height:48px;padding:8px 5px}.walkthrough-controls .step-actions .button{font-size:12px;min-height:44px;padding:8px 12px}.insight details{margin-top:20px}.detail-crop{max-height:60vh}}
/* Fit the complete context image in the space left beneath the controls. */
.dashboard-frame{width:min(100%,max(180px,calc((100svh - var(--explore-header-height,65px) - var(--explore-controls-height,80px) - 32px)*1.5)));margin-inline:auto}
