/* Stage 7 additions only. Existing type, camera, materials and timing stay in their own files. */
.wbh-refined .wbh7-process{position:relative;isolation:isolate;background:radial-gradient(ellipse at 15% 20%,rgba(202,165,94,.065),transparent 65%),#0b1012}
.wbh7-process::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(rgba(220,194,140,.027) 1px,transparent 1px),linear-gradient(90deg,rgba(220,194,140,.027) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(transparent,#000 25%,#000 80%,transparent)}
.wbh7-process::after{content:"";position:absolute;top:0;left:max(20px,calc((100% - 1180px)/2));right:max(20px,calc((100% - 1180px)/2));height:1px;background:linear-gradient(90deg,transparent,rgba(220,194,140,.5),transparent);pointer-events:none}
.wbh-refined .wbh7-process .process-grid{position:relative;gap:1.4rem;--wbh7-build-progress:1}
.wbh7-process .process-grid::before,.wbh7-process .process-grid::after{content:"";position:absolute;top:61px;left:12%;right:12%;height:1px;background:rgba(220,194,140,.24);pointer-events:none}
.wbh7-process .process-grid::after{background:#d7bb80;transform-origin:left;transform:scaleX(var(--wbh7-build-progress));transition:transform .36s ease}
.wbh-refined .wbh7-process .process-grid article{position:relative;display:block;min-width:0;padding:0 1rem 1.3rem;border:0;border-bottom:1px solid rgba(220,194,140,.22);border-radius:0;background:transparent;box-shadow:none}
.wbh-refined .wbh7-process .process-grid article::before{display:none}
.wbh7-stage-drawing{position:relative;z-index:1;width:132px;height:105px;margin:0 auto 1rem;background:#0b1012;display:grid;place-items:center;color:#d5b97f}
.wbh7-stage-drawing svg{width:128px;height:80px;overflow:visible}
.wbh7-draft-guide{stroke:currentColor;opacity:.3;stroke-width:.7;stroke-dasharray:2 3}
.wbh7-draft-main{stroke:currentColor;stroke-width:1.35;fill:none;stroke-linecap:round;stroke-linejoin:round}
.wbh7-process .wbh7-step-number{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid rgba(220,194,140,.5);border-radius:50%;color:#ecd39c;font-size:.78rem;font-weight:750;margin-bottom:.8rem;background:#101719}
.wbh-refined .wbh7-process .process-grid h3{font-size:1.1rem;margin:0 0 .7rem;max-width:none}
.wbh-refined .wbh7-process .process-grid p{font-size:.93rem;margin:0;color:var(--muted)}
.wbh7-process[data-wbh7-motion="running"] .wbh7-stage-drawing{color:#777d74}
.wbh7-process[data-wbh7-motion="running"] :is(.wbh7-stage-current,.wbh7-stage-complete) .wbh7-stage-drawing{color:#e0c38a}
.wbh7-process .wbh7-stage-current{border-bottom-color:#e2c68c!important}
.wbh7-process .wbh7-stage-current .wbh7-step-number{color:#14140f;background:#e4c68b;border-color:#e4c68b}
.wbh7-process[data-wbh7-motion="static"] .process-grid{--wbh7-build-progress:1!important}
.wbh-refined .wbh7-service-visual{position:relative;height:auto;min-height:94px;margin:.25rem 0 1.25rem;display:flex;flex-direction:column;gap:6px;padding:8px 7px 6px;align-items:center;justify-content:center;border-block:1px solid rgba(220,194,140,.15);background:linear-gradient(90deg,rgba(220,194,140,.035),transparent);overflow:hidden;color:#d8bd88}
.wbh7-service-visual::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(90deg,rgba(220,194,140,.035) 1px,transparent 1px);background-size:24px 100%}
.wbh7-service-visual svg{width:min(100%,230px);height:82px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease,color .2s ease}
.wbh7-service-visual .wbh7-fine{opacity:.4;stroke-width:.7}
.wbh7-service-visual .wbh7-wash{fill:rgba(220,194,140,.07)}
.wbh-refined .wbh7-service-visual figcaption{position:static;align-self:flex-end;margin:0;color:#bdc1ba;font-size:.56rem;letter-spacing:.07em;text-transform:uppercase;line-height:1.5}
.wbh7-illustrated{min-width:0}
@media(hover:hover) and (pointer:fine){html[data-wbh-motion="running"] .wbh7-illustrated:is(:hover,:focus-within) .wbh7-service-visual svg{transform:translateY(-2px);color:#f0d8a4}}
.rs14-preview figcaption .wbh7-tour-trigger{display:inline-flex;align-items:center;min-height:44px;gap:.35rem;color:#ecd39c;font-size:.85rem;line-height:1.4;text-underline-offset:5px}
.wbh7-tour:not([open]){display:none}
.wbh7-tour{width:min(1180px,calc(100vw - 32px));max-width:none;max-height:92svh;padding:0;margin:auto;border:1px solid #796b4e;border-radius:18px;background:#0c1113;color:#f3f0e8;box-shadow:0 24px 90px rgba(0,0,0,.6);overflow:auto;overscroll-behavior:contain;font-family:inherit}
.wbh7-tour::backdrop{background:rgba(3,6,7,.85)}
body.wbh7-tour-open{overflow:hidden;padding-inline-end:var(--wbh7-scrollbar-gap,0px)}
.wbh7-tour-header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 1.5rem;background:#0c1113;border-bottom:1px solid rgba(220,194,140,.22)}
.wbh7-tour-header h2{font-family:Georgia,serif;font-size:1.65rem;line-height:1.2;letter-spacing:-.025em;margin:0}
.wbh7-tour-header p{margin:.25rem 0 0;color:#bdc1ba;font-size:.85rem;line-height:1.5}
.wbh7-tour-close{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;flex-shrink:0;min-width:48px;min-height:48px;padding:.6rem .85rem;border:1px solid #796b4e;border-radius:8px;background:#171d1e;color:#f3f0e8;font:inherit;font-size:.9rem;cursor:pointer}
.wbh7-tour-close span[aria-hidden]{font-size:1.5rem;line-height:1}
.wbh7-tour-tools{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.5rem;border-bottom:1px solid rgba(220,194,140,.15)}
.wbh7-tour-views{border:0;padding:0;margin:0;display:flex;gap:.35rem;min-width:0}
.wbh7-tour-views label{position:relative;display:flex;align-items:center;gap:.4rem;min-height:44px;padding:.55rem .85rem;border:1px solid #52605a;border-radius:7px;cursor:pointer;font-size:.9rem;line-height:1.4}
.wbh7-tour-views input{accent-color:#d5b577;width:16px;height:16px;margin:0}
.wbh7-tour-views label:has(input:checked){background:#e4c68b;border-color:#e4c68b;color:#17140e}
.wbh7-tour a{color:#e4c68b;text-underline-offset:4px}
.wbh7-tour .wbh7-original-link{display:inline-flex;align-items:center;min-height:44px;font-size:.85rem;line-height:1.5}
.wbh7-tour-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:1.7rem;padding:1.5rem;align-items:start}
.wbh7-tour-stage{min-width:0;margin:0;background:radial-gradient(ellipse at 50% 70%,rgba(205,174,109,.07),transparent 70%),#080d0f;border:1px solid rgba(220,194,140,.13);border-radius:10px;padding:1rem}
.wbh7-tour-media{position:relative;display:grid;place-items:center;min-height:220px}
.wbh7-tour-media picture{display:block;position:relative;z-index:1;width:100%}
.wbh7-tour-media img{display:block;width:100%;height:auto;max-height:58svh;object-fit:contain;position:relative}
.wbh7-tour-media[data-view="mobile"] picture{max-width:360px;margin-inline:auto}
.wbh7-tour-media[data-view="mobile"] img{max-height:62svh}
.wbh7-tour-media[data-view="desktop"]{aspect-ratio:1895/859}
.wbh7-tour-media[data-view="mobile"]{min-height:380px}
.wbh7-tour-image-fallback{position:absolute;inset:0;display:grid;place-content:center;text-align:center;padding:2rem;color:#bdc1ba;line-height:1.7}
.wbh7-tour-image-fallback strong{display:block;font-family:Georgia,serif;font-size:1.5rem;color:#ecd39c}
.wbh7-tour-media[data-image-state="loaded"] .wbh7-tour-image-fallback{visibility:hidden}
.wbh7-tour-media[data-image-state="unavailable"] picture{display:none}
.wbh7-tour-stage figcaption{font-size:.8rem;line-height:1.6;color:#bdc1ba;text-align:center;padding-top:.9rem}
.wbh7-tour-notes>p{margin:0 0 1rem;font-size:.75rem;color:#e0c38a;letter-spacing:.1em;text-transform:uppercase}
.wbh7-tour-points{list-style:none;counter-reset:tour;padding:0;margin:0;display:grid;gap:1.3rem}
.wbh7-tour-points li{counter-increment:tour;position:relative;padding:0 0 1.25rem 2.4rem;border-bottom:1px solid rgba(220,194,140,.18)}
.wbh7-tour-points li::before{content:"0" counter(tour);position:absolute;left:0;top:0;color:#e0c38a;font-size:.75rem;line-height:1.8;letter-spacing:.04em}
.wbh7-tour-points strong{font-size:.95rem;line-height:1.5;font-weight:700;display:block}
.wbh7-tour-points p{font-size:.9rem;color:#bdc1ba;line-height:1.7;margin:.4rem 0 0}
.wbh7-tour-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;padding:1.1rem 1.5rem 1.4rem;border-top:1px solid rgba(220,194,140,.18)}
.wbh7-tour-footer>div{display:flex;gap:1.1rem;align-items:center;flex-wrap:wrap}
.wbh7-tour-footer a:not(.btn){min-height:44px;display:inline-flex;align-items:center;font-size:.9rem;line-height:1.5}
.wbh7-tour :focus-visible{outline:3px solid #f4d79c;outline-offset:4px}
@media(max-width:1100px) and (min-width:601px){.wbh7-process .process-grid::before,.wbh7-process .process-grid::after{display:none}.wbh7-stage-drawing{margin-left:0}.wbh-refined .wbh7-process .process-grid article{border-left:1px solid rgba(220,194,140,.25);padding-left:1.3rem}}
@media(max-width:760px){.wbh7-tour{width:calc(100vw - 20px);max-height:94svh;border-radius:12px}.wbh7-tour-layout{grid-template-columns:minmax(0,1fr);padding:1rem;gap:1.4rem}.wbh7-tour-header{padding:.85rem 1rem}.wbh7-tour-header h2{font-size:1.35rem}.wbh7-tour-header p{font-size:.75rem}.wbh7-tour-tools{padding:.75rem 1rem;gap:.65rem;flex-wrap:wrap}.wbh7-tour-notes>p{margin-bottom:.9rem}.wbh7-tour-points{gap:1rem}.wbh7-tour-points li{padding-bottom:1rem}.wbh7-tour-stage{padding:.65rem}.wbh7-tour-media[data-view="mobile"]{min-height:300px}.wbh7-tour-media img{max-height:52svh}.wbh7-tour-media[data-view="mobile"] img{max-height:58svh}.wbh7-tour-footer{padding:1rem}.wbh7-tour-footer>.btn{width:100%;justify-content:center}.wbh7-tour-footer>div{justify-content:space-between;width:100%}.wbh7-tour-close .wbh7-close-word{display:none}}
@media(max-width:600px){.wbh7-process::before{background-size:36px 36px;opacity:.65}.wbh-refined .wbh7-process .process-grid{gap:0}.wbh7-process .process-grid::before,.wbh7-process .process-grid::after{left:17px;right:auto;top:20px;bottom:20px;width:1px;height:auto}.wbh7-process .process-grid::after{transform-origin:top;transform:scaleY(var(--wbh7-build-progress))}.wbh-refined .wbh7-process .process-grid article{padding:1.2rem 0 1.3rem 3.6rem;border-bottom:1px solid rgba(220,194,140,.15)}.wbh7-process .wbh7-step-number{position:absolute;left:0;top:20px;z-index:2;margin:0}.wbh7-stage-drawing{float:right;width:65px;height:46px;margin:0 0 .6rem .6rem;background:transparent}.wbh7-stage-drawing svg{width:65px;height:46px}.wbh-refined .wbh7-process .process-grid h3{min-height:44px;max-width:calc(100% - 76px);margin-bottom:.5rem;font-size:1rem}.wbh-refined .wbh7-process .process-grid p{clear:right;font-size:.9rem}.wbh-refined .wbh7-service-visual{height:auto;min-height:78px;margin-bottom:1rem}.wbh7-service-visual svg{height:68px}.rs14-preview figcaption{align-items:flex-start;gap:.5rem;flex-wrap:wrap}.rs14-preview figcaption .wbh7-tour-trigger{font-size:.8rem}}
html[data-wbh-motion="paused"] :is(.wbh7-process *,.wbh7-service-visual svg),html[data-wbh-motion="reduced"] :is(.wbh7-process *,.wbh7-service-visual svg),html[data-wbh-motion="hidden"] :is(.wbh7-process *,.wbh7-service-visual svg){transition:none!important;animation:none!important}
@media(prefers-reduced-motion:reduce){.wbh7-process *,.wbh7-service-visual svg,.wbh7-tour *{transition:none!important;animation:none!important}}

.wbh-refined .wbh7-tour-views input{min-height:16px;min-width:16px;width:16px;height:16px;padding:0;border:0;background:transparent}

/* Keep native radio targets compact, and raw phone captures at full available width. */
body.wbh-refined .wbh7-tour .wbh7-tour-views input[type=radio]{min-height:16px;min-width:16px;width:16px;height:16px;padding:0;border:0;background:transparent}
.wbh7-stage-drawing{background:transparent}
@media(max-width:760px){.wbh7-tour-media img,.wbh7-tour-media[data-view="mobile"] img{max-height:none}}

/* Inspection captures retain their natural proportions; the dialog scrolls normally. */
.wbh7-tour-media img,.wbh7-tour-media[data-view="mobile"] img{max-height:none}
.wbh7-tour{scroll-padding-top:140px}
.wbh7-tour :is(a,button,input){scroll-margin-block:140px 20px}

/* Text can enlarge without forcing the new controls beyond their containers. */
.wbh7-tour-header>div{min-width:0}
.wbh7-tour-header h2{overflow-wrap:anywhere}
.wbh7-tour-views{flex-wrap:wrap}
.wbh7-process .wbh7-step-number{line-height:1}
@media(max-width:600px){.wbh7-process .process-grid :is(h3,p){overflow-wrap:anywhere}.wbh7-tour-close{padding:10px}}

@media(max-width:600px){.wbh7-tour-header{padding:12px 16px;gap:12px}.wbh7-tour-header h2{font-size:1.2rem}.wbh7-tour-header p{display:none}}
