/* PetWatch foundations v1.0 — shared by story and live prototype */
:root{--pw-neutral-950:#090e12;--pw-neutral-900:#111c24;--pw-neutral-850:#182933;--pw-neutral-600:#435965;--pw-neutral-300:#a8bbc7;--pw-neutral-50:#edf3f5;--pw-sage:#a3c7b3;--pw-amber:#e6bd78;--pw-red:#ee938b;--pw-canvas:var(--pw-neutral-950);--pw-surface:var(--pw-neutral-900);--pw-raised:var(--pw-neutral-850);--pw-border:var(--pw-neutral-600);--pw-text:var(--pw-neutral-50);--pw-muted:var(--pw-neutral-300);--pw-running:var(--pw-sage);--pw-attention:var(--pw-amber);--pw-urgent:var(--pw-red);--pw-font:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;--pw-space-1:8px;--pw-space-2:16px;--pw-space-3:24px;--pw-space-4:32px;--pw-radius:8px;--pw-target:48px;--pw-motion:180ms;--bg:var(--pw-canvas);--ink:var(--pw-text);--muted:var(--pw-muted);--green:var(--pw-running);--amber:var(--pw-attention);--red:var(--pw-urgent)}
body{font-family:var(--pw-font);background:var(--pw-canvas);color:var(--pw-text)}.pw-icon{width:24px;height:24px;display:inline-block;flex:none;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.pw-label{display:inline-flex;gap:10px;align-items:center}.pw-label .pw-icon{width:20px;height:20px;color:var(--pw-muted)}button,.button{min-height:var(--pw-target)}button.primary,.button,.ds-button{background:var(--pw-running);color:#14271f;border:0;border-radius:var(--pw-radius)}.secondary,.ds-button.secondary{background:var(--pw-raised);color:var(--pw-text);border:1px solid var(--pw-border);border-radius:var(--pw-radius)}.danger,.ds-button.danger{background:var(--pw-urgent);color:#301b19;border-radius:var(--pw-radius)}.primary,.secondary,.danger,.ds-button{display:inline-flex;align-items:center;justify-content:center;gap:10px}.phone .primary,.phone .secondary,.phone .danger{display:flex}.primary .pw-icon,.secondary .pw-icon,.danger .pw-icon{width:20px;height:20px}.primary:focus-visible,.secondary:focus-visible,.danger:focus-visible,.ds-button:focus-visible{outline:2px solid var(--pw-running);outline-offset:4px}.notice{border-radius:var(--pw-radius)}.reading,.mini-number,.hero-number{font-variant-numeric:tabular-nums}.phone,.mini-device,.hero-screen{background:var(--pw-raised)}.pw-status{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--pw-running)}.pw-status.warning{color:var(--pw-attention)}.pw-status.critical{color:var(--pw-urgent)}.pw-status .pw-icon{width:20px;height:20px}.stop-button .pw-icon{width:18px;height:18px;margin-right:6px}.dock .pw-icon{width:23px;height:23px}.back .pw-icon{width:18px;height:18px;transform:rotate(180deg)}.actions .icon-button{flex:0 0 48px;min-width:48px;padding:12px}.mini-footer{display:flex;align-items:center;gap:10px}.mini-footer .pw-icon{width:20px;height:20px}.pw-muted{color:var(--pw-muted)}
.ds{padding-bottom:65px}.ds-band{border-top:1px solid var(--pw-border);padding:30px 0;display:grid;grid-template-columns:180px 1fr;gap:30px}.ds-band>h3{font-size:18px;font-weight:450}.ds-swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.ds-swatch i{display:block;height:80px;background:var(--swatch);border:1px solid #ffffff18;border-radius:4px}.ds-swatch b{font-size:12px;font-weight:450;display:block;margin-top:12px}.ds-swatch code{font-size:10px;color:var(--pw-muted)}.ds-note{font-size:12px;color:var(--pw-muted);margin-top:20px}.ds-type{display:grid;grid-template-columns:1fr 1fr;gap:24px}.ds-type>div{border-bottom:1px solid #30414c;padding-bottom:20px}.ds-type small{display:block;color:var(--pw-muted);font-size:11px;margin-bottom:12px}.ds-display{font-size:48px;font-weight:350;line-height:1.25}.ds-data{font-size:64px;font-weight:300;line-height:1.25;font-variant-numeric:tabular-nums}.ds-icons{display:grid;grid-template-columns:repeat(7,1fr);gap:25px 12px}.ds-icons div{display:flex;align-items:center;flex-direction:column;gap:12px}.ds-icons span{font-size:11px;color:var(--pw-muted)}.ds-components{display:grid;grid-template-columns:1fr 1fr;gap:28px}.ds-components article{border-bottom:1px solid #30414c;padding-bottom:24px}.ds-components h4{font-size:12px;font-weight:450;color:var(--pw-muted);margin:0 0 15px}.ds-buttons{display:flex;flex-wrap:wrap;gap:10px}.ds-button{font:inherit;font-size:12px;padding:12px 16px;min-height:48px;cursor:pointer}.ds-button:disabled{opacity:.4;cursor:not-allowed}.ds-statuses{display:flex;gap:20px;flex-wrap:wrap}.ds-alert{background:#402c2b;padding:18px;border-radius:var(--pw-radius);color:#f1c8c2;margin-top:15px}.ds-alert strong{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:500}.ds-alert p{font-size:12px;margin-top:8px}.ds-input{display:flex;align-items:center;gap:18px}.ds-input button{width:48px;height:48px;border:1px solid var(--pw-border);background:var(--pw-raised);color:var(--pw-text);border-radius:8px;font-size:24px}.ds-input output{font-size:25px;font-variant-numeric:tabular-nums}.ds-rules{display:flex;gap:25px;flex-wrap:wrap;font-size:12px;color:var(--pw-muted)}.ds-feedback{min-height:24px;color:var(--pw-running);font-size:12px;margin-top:12px}
@media(max-width:760px){.ds-band{grid-template-columns:1fr;gap:22px}.ds-swatches{grid-template-columns:repeat(3,1fr)}.ds-icons{grid-template-columns:repeat(4,1fr)}.ds-components{grid-template-columns:1fr}.ds-display{font-size:34px}.ds-data{font-size:49px}.ds-type{gap:18px}.ds{padding-bottom:40px}.ds-rules{gap:12px}.pw-label{gap:7px}.climate-row .pw-label .pw-icon{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){:root{--pw-motion:0ms}}

/* Slim device framing: keep display size, reduce bezel weight. */
.cockpit{border-width:2px;border-radius:12px}
.phone{border-width:2px;border-radius:28px}
.hero-screen{border-width:1px;border-radius:9px}
.mini-device{border-width:1px;border-radius:9px}
.mini-device.mini-phone{border-width:2px;border-radius:22px}
.prototype-shell{border-width:1px;border-color:#30414c}
.cluster{border-width:1px}

/* Automotive layout pass — prototype CSS px are illustrative, not physical dp. */
.hmi-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.hmi-heading h2{font-size:34px;font-weight:400;letter-spacing:-.02em}.hmi-heading .sub{font-size:16px;margin-top:8px}.hmi-heading .badge{font-size:15px;gap:10px}.hmi-stage{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:35px;min-height:260px;padding:20px 0}.hmi-temperature .reading{font-size:120px;font-weight:300;margin:0;letter-spacing:-.035em;line-height:1.2}.hmi-temperature .reading sup{font-size:36px;padding-top:25px}.hmi-caption{font-size:16px;color:var(--pw-muted)}.hmi-target{display:flex;align-items:center;gap:10px;font-size:18px;color:var(--pw-muted)}.hmi-stage .car-wrap{min-height:260px}.hmi-stage .car-wrap svg{height:235px}.hmi-stage .car-wrap>.badge{display:none}.hmi-stage .car-wrap small{font-size:13px}.hmi-facts{display:grid;grid-template-columns:.8fr 1.35fr 1fr;border-block:1px solid #334751;padding:22px 0;gap:18px}.hmi-facts>div{display:flex;gap:12px;align-items:center}.hmi-facts .pw-icon{color:var(--pw-muted);width:26px;height:26px}.hmi-facts strong{font-size:19px;font-weight:450;display:block;line-height:1.4}.hmi-facts small{font-size:12px;color:var(--pw-muted);display:block;margin-top:5px}.cockpit .screen{padding:32px 36px}.cockpit .actions{margin-top:26px;gap:16px}.cockpit button{min-height:72px;font-size:18px}.cockpit .icon-button{min-width:72px;flex-basis:72px}.cockpit button .pw-icon{width:26px;height:26px}.cockpit .check{font-size:17px;padding:18px 0}.cockpit .sub{font-size:15px}.cockpit .info-strip{font-size:16px;line-height:1.6;padding:15px 18px}.cockpit .switch{font-size:17px;min-height:64px;gap:16px}.cockpit input[type=checkbox]{width:28px;height:28px;accent-color:var(--pw-running)}.cockpit .field{font-size:17px}.cockpit .field input,.cockpit .field select{min-height:64px;font-size:18px}.cockpit .stepper button{width:72px;height:72px;border-radius:8px}.cockpit .stepper b{font-size:54px}.cockpit .external .reading{font-size:140px}.cockpit .external h2{font-size:38px}.cockpit .external p{font-size:22px}.cockpit .summary strong{font-size:48px}.cockpit .summary small{font-size:15px}.phone .notice{line-height:1.65}.phone h3{font-size:21px}.phone .phone-note{font-size:13px}.phone .statpair small{font-size:12px}.phone .notice b{font-size:14px}.phone .notice{font-size:13px}.cockpit .dock{padding:18px 26px}.cockpit .statusbar{height:55px;font-size:13px}.cockpit .statusbar strong{font-size:22px}.phone{min-height:0}.workspace{grid-template-columns:minmax(0,1fr) 340px;gap:35px}.lead{margin-bottom:24px}.lead h1{font-size:38px}.lead .demo{font-size:11px}.cluster p{font-size:17px}.cluster small{font-size:13px}.local p{font-size:13px}
@media(max-width:1100px){.workspace{grid-template-columns:1fr}.phone-column{width:340px;max-width:100%;margin:28px auto 0}.hmi-temperature .reading{font-size:110px}.under{grid-template-columns:1fr 1fr}.phone{min-height:0}}
@media(max-width:760px){.cockpit .screen{padding:25px 20px}.hmi-heading{align-items:flex-start;gap:15px}.hmi-heading h2{font-size:28px}.hmi-heading .badge{font-size:12px}.hmi-heading .sub{font-size:14px}.hmi-stage{gap:15px;grid-template-columns:1.2fr .8fr;min-height:215px}.hmi-stage .car-wrap{display:flex;min-height:190px}.hmi-stage .car-wrap svg{height:175px;width:100%}.hmi-stage .car-wrap small{display:none}.hmi-temperature .reading{font-size:77px}.hmi-temperature .reading sup{font-size:24px;padding-top:15px}.hmi-caption{font-size:14px}.hmi-target{font-size:15px}.hmi-facts{grid-template-columns:1fr;gap:14px;padding:17px 0}.hmi-facts>div{gap:14px}.hmi-facts>div>div{display:flex;align-items:center;justify-content:space-between;flex:1;gap:12px}.hmi-facts strong{font-size:17px}.hmi-facts small{font-size:12px;margin:0}.hmi-facts .pw-icon{width:22px;height:22px}.cockpit .check{font-size:15px}.cockpit .external .reading{font-size:110px}.cockpit .external h2{font-size:29px}.cockpit .external p{font-size:19px}.cockpit .summary strong{font-size:36px}.under{grid-template-columns:1fr}.cockpit .switch{font-size:15px}.cockpit .info-strip{font-size:14px}}

.phone-head button{min-width:48px!important;width:48px!important}.phone .notice.normal{background:transparent;padding:9px 0;margin:8px 0;border-radius:0;color:var(--pw-muted);font-size:12px}.phone .notice.normal b{display:none}

.phone [data-phone="home"] .pw-icon{transform:rotate(180deg)}

/* Review step 1: immersive backgrounds for the two annotated scenes. */
:is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art,:is(#scene-4,#scene-5) .scene-photo-art{position:relative;isolation:isolate;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;min-height:580px;padding:48px 44px 66px;overflow:hidden;background:#101a22}
:is(#scene-1,#scene-2,#scene-3,#scene-6) .story-photo,:is(#scene-4,#scene-5) .story-photo{position:absolute;inset:0;z-index:-2;width:100%;height:100%;display:block}
:is(#scene-1,#scene-2,#scene-3,#scene-6) .story-photo img,:is(#scene-4,#scene-5) .story-photo img{display:block;width:100%;height:100%;max-height:none;min-height:0;aspect-ratio:auto;object-fit:cover;object-position:center;transform:none}
:is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art:before,:is(#scene-4,#scene-5) .scene-photo-art:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#07101808 15%,#07101812 42%,#07101891 70%,#071018c2 100%),linear-gradient(0deg,#071018cc 0%,transparent 25%)}
:is(#scene-1,#scene-2,#scene-3,#scene-6) .story-photo figcaption,:is(#scene-4,#scene-5) .story-photo figcaption{position:absolute;left:26px;bottom:18px;right:26px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;min-height:0;padding:0;border:0;background:none;color:#e3ecf1;font-size:11px}
:is(#scene-1,#scene-2,#scene-3,#scene-6) .story-photo figcaption small,:is(#scene-4,#scene-5) .story-photo figcaption small{color:#c3d1da;font-size:10px}
:is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art .mini-device{width:40%;max-width:460px;margin:0;align-self:center;padding:28px;background:#142630f5;border-color:#627885;box-shadow:0 20px 45px -12px #0008}
:is(#scene-4,#scene-5) .scene-photo-art .mini-phone{width:330px;max-width:40%;margin:0 28px 0 0;align-self:center;padding:26px;background:#142630f5;border-color:#627885;box-shadow:0 20px 45px -12px #0008}
:is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art .mini-device h4,:is(#scene-4,#scene-5) .scene-photo-art .mini-device h4{font-size:25px}
@media(max-width:1050px){:is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art,:is(#scene-4,#scene-5) .scene-photo-art{min-height:550px;padding:38px 28px 62px}:is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art .mini-device{width:44%;padding:22px}:is(#scene-4,#scene-5) .scene-photo-art .mini-phone{max-width:44%;margin-right:0;padding:22px}}
@media(max-width:760px){:is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art,:is(#scene-4,#scene-5) .scene-photo-art{min-height:740px;padding:300px 18px 68px;align-items:flex-end}:is(#scene-1,#scene-2,#scene-3,#scene-6) .story-photo img{object-position:42% center}:is(#scene-4,#scene-5) .story-photo img{object-position:40% center}:is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art:before,:is(#scene-4,#scene-5) .scene-photo-art:before{background:linear-gradient(180deg,#07101805 0%,#07101810 25%,#07101899 58%,#071018ed 100%)}:is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art .mini-device,:is(#scene-4,#scene-5) .scene-photo-art .mini-phone{width:100%;max-width:340px;margin:0 auto;padding:23px;align-self:flex-end}:is(#scene-1,#scene-2,#scene-3,#scene-6) .story-photo figcaption,:is(#scene-4,#scene-5) .story-photo figcaption{left:18px;right:18px;bottom:16px;display:block;font-size:10px}:is(#scene-1,#scene-2,#scene-3,#scene-6) .story-photo figcaption small,:is(#scene-4,#scene-5) .story-photo figcaption small{display:block;margin-top:4px}}

/* Review step 2: translucent scene overlays, opaque information. */
:is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art .mini-device,
:is(#scene-4,#scene-5) .scene-photo-art .mini-phone{
 background:rgba(20,38,48,.5);
 border-color:rgba(155,182,197,.46);
 backdrop-filter:blur(10px);
 -webkit-backdrop-filter:blur(10px);
 box-shadow:0 18px 42px -14px #0007;
}
:is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art .mini-device .mini-note,
:is(#scene-4,#scene-5) .scene-photo-art .mini-phone .mini-note{color:#d1dee6}
:is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art .mini-device .meta,
:is(#scene-4,#scene-5) .scene-photo-art .mini-phone .meta{color:#d1dee6}
@supports not ((backdrop-filter:blur(10px)) or (-webkit-backdrop-filter:blur(10px))){
 :is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art .mini-device,
 :is(#scene-4,#scene-5) .scene-photo-art .mini-phone{background:rgba(20,38,48,.5)}
}

/* Review step 3: consistent overlay proportions and information hierarchy. */
:is(#scene-1,#scene-2,#scene-3,#scene-4,:is(#scene-4,#scene-5),#scene-6){scroll-margin-top:110px}
:is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art .mini-device{
 width:42%;max-width:440px;padding:30px;
}
:is(#scene-4,#scene-5) .scene-photo-art .mini-phone{
 width:320px;max-width:40%;padding:28px;margin-right:10px;
}
:is(#scene-1,#scene-2,#scene-3,#scene-4,:is(#scene-4,#scene-5),#scene-6) .scene-photo-art .mini-device .meta{
 font-size:11px;line-height:1.5;padding-bottom:16px;margin-bottom:20px;
}
:is(#scene-1,#scene-2,#scene-3,#scene-4,:is(#scene-4,#scene-5),#scene-6) .scene-photo-art .mini-device h4{
 font-size:28px;line-height:1.3;font-weight:450;letter-spacing:-.015em;margin:0 0 20px;
}
:is(#scene-1,#scene-2,#scene-3,#scene-4,:is(#scene-4,#scene-5),#scene-6) .scene-photo-art .mini-row{
 padding:14px 0;font-size:14px;line-height:1.6;align-items:center;gap:16px;
}
:is(#scene-1,#scene-2,#scene-3,#scene-4,:is(#scene-4,#scene-5),#scene-6) .scene-photo-art .mini-row>span:last-child{text-align:right}
:is(#scene-1,#scene-2,#scene-3,#scene-4,:is(#scene-4,#scene-5),#scene-6) .scene-photo-art .mini-device .mini-note{
 font-size:13px;line-height:1.7;margin-top:12px;
}
#scene-3 .scene-photo-art .mini-device .mini-number{
 font-size:94px;line-height:1.15;font-weight:300;margin:12px 0 18px;
}
:is(#scene-4,#scene-5) .scene-photo-art .mini-phone .mini-number{
 font-size:78px;line-height:1.15;font-weight:300;margin:22px 0 16px;
}
:is(#scene-1,#scene-2,#scene-3,#scene-4,:is(#scene-4,#scene-5),#scene-6) .scene-photo-art .mini-number small{
 font-size:25px;letter-spacing:0;
}
:is(#scene-1,#scene-2,#scene-3,#scene-4,:is(#scene-4,#scene-5),#scene-6) .scene-photo-art .mini-footer{
 margin-top:22px;padding:12px 14px;min-height:0;font-size:12px;line-height:1.65;
 background:rgba(33,59,46,.8);border-radius:6px;color:#dcebe2;
}
:is(#scene-4,#scene-5) .scene-photo-art .mini-footer{background:rgba(76,39,38,.88);color:#f5d2cc}
@media(max-width:1050px){
 :is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art .mini-device{width:47%;padding:25px}
 :is(#scene-4,#scene-5) .scene-photo-art .mini-phone{max-width:44%;margin-right:0;padding:25px}
 :is(#scene-1,#scene-2,#scene-3,#scene-4,:is(#scene-4,#scene-5),#scene-6) .scene-photo-art .mini-device h4{font-size:25px}
 :is(#scene-1,#scene-2,#scene-3,#scene-4,:is(#scene-4,#scene-5),#scene-6) .scene-photo-art .mini-row{font-size:13px;gap:12px}
 #scene-3 .scene-photo-art .mini-device .mini-number{font-size:82px}
}
@media(max-width:760px){
 :is(#scene-1,#scene-2,#scene-3,#scene-4,:is(#scene-4,#scene-5),#scene-6){scroll-margin-top:85px}
 :is(#scene-1,#scene-2,#scene-3,#scene-6) .scene-photo-art .mini-device,
 :is(#scene-4,#scene-5) .scene-photo-art .mini-phone{width:100%;max-width:340px;padding:24px;margin:0 auto}
 :is(#scene-1,#scene-2,#scene-3,#scene-4,:is(#scene-4,#scene-5),#scene-6) .scene-photo-art .mini-device h4{font-size:24px}
 #scene-3 .scene-photo-art .mini-device .mini-number{font-size:82px}
 :is(#scene-4,#scene-5) .scene-photo-art .mini-phone .mini-number{font-size:72px}
}

/* Review step 4: page rhythm; approved overlay geometry remains unchanged. */
.chapter{padding-top:80px}
.section-heading{margin-bottom:32px;gap:7%}
.section-heading p{max-width:34em;line-height:1.75}
#storyboard,#experience,#design-system{margin-top:64px;padding-top:56px;border-top:1px solid #30414c}
.story{padding-top:56px}
#storyboard>.story:first-of-type{padding-top:12px}
.story-heading{margin-bottom:22px}
.story-copy{padding-bottom:22px;row-gap:10px}
.story-copy dl{padding-top:2px}
.story-copy .story-link{min-height:44px;font-size:12px}
.story-frame{border-bottom:0}
.story-art:not(.scene-photo-art){min-height:440px;background:#101b23;border-block:1px solid #30414c}
.story-art:not(.scene-photo-art)>.mini-device{box-shadow:0 24px 44px -28px #000b}
.relay{margin-top:18px;gap:24px}
.relay div{padding-top:14px}
.relay p{line-height:1.75}
#validation{padding-top:72px}
.sources{padding:20px 0 0;font-size:11px;line-height:1.8;max-width:85ch}
.chapter:has(>.sources){padding-top:26px}
.ds{padding-bottom:48px}
.ds-band{padding:26px 0}
footer{margin-top:20px;padding-top:28px;padding-bottom:28px}
@media(max-width:760px){
 .chapter{padding-top:52px}
 .section-heading{margin-bottom:26px;gap:16px}
 #storyboard,#experience,#design-system{margin-top:42px;padding-top:38px}
 .story{padding-top:40px}
 #storyboard>.story:first-of-type{padding-top:6px}
 .story-heading{margin-bottom:18px}
 .story-copy{padding-bottom:20px;gap:10px}
 .story-art:not(.scene-photo-art){min-height:340px;padding-top:30px;padding-bottom:30px}
 .relay{gap:18px;margin-top:18px}
 #validation{padding-top:50px}
 .chapter:has(>.sources){padding-top:22px}
 .ds-band{padding:24px 0}
}

/* Five short introductory chapters: decisions over explanation. */
.brief-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;border-top:1px solid #30414c;padding-top:22px}
.brief-facts>div{display:flex;flex-direction:column;gap:9px}
.brief-facts strong{font-size:21px;font-weight:450}
.brief-facts span{font-size:13px;color:var(--pw-muted)}
.brief-modules{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;border-top:1px solid #30414c;padding-top:25px}
.brief-modules>div{display:flex;flex-direction:column;gap:12px}
.brief-modules .pw-icon{width:30px;height:30px;color:var(--pw-running)}
.brief-modules strong{font-size:20px;font-weight:450}
.brief-modules span{font-size:12px;color:var(--pw-muted)}
.brief-branches{display:flex;gap:35px;padding-top:20px;font-size:12px;color:var(--pw-muted)}
.brief-branches strong{color:var(--pw-attention);font-weight:500;margin-right:12px}
:is(#background,#problem,#goals,#framework,#flow) .section-heading{margin-bottom:24px}
#flow .flow a{min-height:125px;padding:19px 15px}
@media(max-width:760px){.brief-facts{grid-template-columns:1fr;gap:20px}.brief-facts>div{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:16px}.brief-facts strong{font-size:18px}.brief-facts span{font-size:12px}.brief-modules{grid-template-columns:repeat(3,1fr);gap:26px 16px}.brief-modules strong{font-size:18px}.brief-modules span{font-size:11px}.brief-branches{flex-direction:column;gap:10px}#flow .flow a{min-height:115px}}

/* Review step 5: lighter, smaller editorial type; hero typography preserved. */
main{--pw-section-size:38px;--pw-scene-size:26px;--pw-body-size:14px;--pw-caption-size:12px}
main .section-heading h2{font-size:var(--pw-section-size);font-weight:350;line-height:1.35;letter-spacing:-.02em}
main .section-heading p{font-size:13px;font-weight:400;line-height:1.8}
main .brief-facts strong,main .brief-modules strong{font-size:18px;font-weight:400;line-height:1.5}
main .brief-facts span{font-size:12px;font-weight:400}
main .brief-modules span{font-size:12px;font-weight:400}
main .smallnote,main .brief-branches{font-size:12px;font-weight:400;line-height:1.8}
main .brief-branches strong{font-weight:400}
main .flow h3{font-size:15px;font-weight:400;line-height:1.5}
main .flow p,main .flow small{font-size:11px;font-weight:400}
main .story-heading h3{font-size:var(--pw-scene-size);font-weight:350;line-height:1.4;letter-spacing:-.015em}
main .story-time{font-size:23px;font-weight:300}
main .story-copy>p{font-size:var(--pw-body-size);font-weight:400;line-height:1.85}
main .story-copy dd{font-size:13px;font-weight:400;line-height:1.85}
main .story-copy .story-link{font-size:12px;font-weight:400}
main .story-art .mini-device h4,
main :is(#scene-1,#scene-2,#scene-3,#scene-4,:is(#scene-4,#scene-5),#scene-6) .scene-photo-art .mini-device h4{font-size:23px;font-weight:400;line-height:1.4;letter-spacing:-.01em}
main .story-art .mini-row,
main :is(#scene-1,#scene-2,#scene-3,#scene-4,:is(#scene-4,#scene-5),#scene-6) .scene-photo-art .mini-row{font-size:13px;font-weight:400;line-height:1.65}
main .story-art .mini-note{font-size:12px;font-weight:400;line-height:1.8}
main .story-art .mini-footer{font-size:12px;font-weight:400}
main .story-art .mini-number{font-weight:300}
main .relay strong{font-size:12px;font-weight:450}
main .relay p{font-size:11px;font-weight:400;line-height:1.85}
main .prototype-bar,main .all-screens a{font-size:12px;font-weight:400}
main .all-screens small{font-size:11px;font-weight:400}
main .validation{font-size:12px;font-weight:400;line-height:1.85}
main .validation th{font-weight:450}
main .ds-band>h3{font-size:16px;font-weight:400}
main .ds-note,main .ds-rules{font-size:12px;font-weight:400}
main .ds-swatch b{font-size:12px;font-weight:400}
main .ds-components h4{font-size:12px;font-weight:400}
main .ds-alert strong{font-size:14px;font-weight:450}
main .ds-alert p{font-size:12px;font-weight:400}
main .sources{font-size:11px;font-weight:400}
.intro p{font-size:17px;font-weight:350;line-height:1.65}
.intro b{font-size:13px;font-weight:400}
.chapter-nav a{font-size:11px;font-weight:400}
footer b{font-size:21px;font-weight:400}
@media(max-width:760px){main{--pw-section-size:29px;--pw-scene-size:22px;--pw-body-size:13px}main .section-heading p{font-size:12px}main .story-copy dd{font-size:12px}main .story-time{font-size:20px}main .brief-facts strong,main .brief-modules strong{font-size:16px}main .story-art .mini-device h4,main :is(#scene-1,#scene-2,#scene-3,#scene-4,:is(#scene-4,#scene-5),#scene-6) .scene-photo-art .mini-device h4{font-size:22px}.intro p{font-size:16px}}

/* Cockpit hero: the HMI lives in the photographed screen. */
.hero{display:block;min-height:790px;padding-top:48px;padding-bottom:48px}
.hero .hero-photo{object-position:center center}
.hero:before{background:linear-gradient(90deg,#090e12b8 0%,#090e1280 22%,#090e120a 48%,transparent 70%),linear-gradient(180deg,#090e1280 0%,transparent 26%),linear-gradient(0deg,#090e12 0%,transparent 17%)}
.hero .hero-copy{max-width:530px;padding:0}
.hero .hero-copy>p{max-width:28em}
.hero-image-note{position:absolute;bottom:24px;right:5%;font-size:11px;color:#c3d2dc}
@media(min-width:1500px){.hero{min-height:880px;padding-top:70px}}
@media(max-width:1050px){.hero{min-height:740px;padding-top:42px}.hero .hero-copy{max-width:450px}.hero .hero-copy>p{max-width:26em}}
@media(max-width:760px){.hero{min-height:0;padding:38px 22px 0;display:flex;flex-direction:column;gap:0}.hero .hero-copy{width:100%;padding-bottom:24px}.hero .hero-photo{position:relative;order:2;top:auto;inset:auto;width:calc(100% + 44px);max-width:none;margin:0 -22px;height:auto;aspect-ratio:1672/941;object-fit:contain;z-index:0}.hero:before{display:none}.hero-image-note{position:relative;order:3;bottom:auto;right:auto;font-size:10px;padding:14px 0 20px;align-self:flex-end}.hero .hero-copy>p{max-width:29em}}
/* One live HMI surface in both the product prototype and cockpit hero. */
.car-wrap .vehicle-render{display:block;width:160px;height:250px;object-fit:contain}
.hmi-stage .car-wrap .vehicle-render{width:180px;height:260px;object-fit:contain}
.screen-only{overflow:hidden;background:#111d26}
.screen-only header,.screen-only .lead,.screen-only .controls,.screen-only .device-label,.screen-only .under,.screen-only .phone-column,.screen-only .timeline,.screen-only .foot,.screen-only .statusbar,.screen-only .dock,.screen-only #screens,.screen-only #logic,.screen-only .toast{display:none!important}
.screen-only main{padding:0;margin:0;max-width:none}
.screen-only #prototype,.screen-only .workspace,.screen-only .workspace>div:first-child{display:block;margin:0;padding:0}
.screen-only .cockpit{border:0;border-radius:0;box-shadow:none;background:#111d26;min-height:680px;margin:0}
.screen-only .screen{padding:32px 36px;min-height:680px}
.hero .hero-visual{position:absolute;inset:0;z-index:-3;overflow:hidden}
.hero .hero-visual .hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;margin:0;max-width:none}
.hero-live-screen{position:absolute;left:0;top:0;width:1000px;height:680px;border:0;transform-origin:0 0;background:#111d26;pointer-events:none;overflow:hidden}
@media(max-width:760px){.hmi-stage .car-wrap .vehicle-render{width:115px;height:190px}.hero .hero-visual{position:relative;inset:auto;order:2;width:calc(100% + 44px);height:auto;aspect-ratio:1672/941;margin:0 -22px;z-index:0;flex:none}.hero .hero-visual .hero-photo{position:absolute;inset:0;width:100%;height:100%;margin:0;aspect-ratio:auto;object-fit:cover}}
.vehicle-render{mix-blend-mode:screen}
.screen-only .hmi-stage .car-wrap .vehicle-render{width:180px;height:260px}

/* Stable bottom action rail across central HMI pages. */
.cockpit{height:790px;min-height:790px;max-height:790px}
.cockpit .screen{position:relative;flex:1;min-height:0;overflow-y:auto;padding-bottom:126px}
.cockpit .screen .actions{
 position:absolute;left:36px;right:36px;bottom:26px;margin:0;
 display:flex;gap:16px;z-index:2;
}
.cockpit .screen .screen-grid,.cockpit .screen .screen-grid>div{position:static}
.cockpit .screen .actions button{min-height:72px}
.screen-only .cockpit{height:680px;min-height:680px;max-height:680px}
.screen-only .cockpit .screen{height:680px;min-height:680px;max-height:680px;padding-bottom:126px}
@media(max-width:760px){.cockpit{height:900px;min-height:900px;max-height:900px}.cockpit .screen .actions{left:20px;right:20px;bottom:24px}.cockpit .screen{padding-bottom:124px}}
.cockpit .screen{display:flex;flex-direction:column;overflow:hidden;padding:32px 36px 26px;gap:22px}
.hmi-page-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:2px}
.cockpit .screen>.hmi-action-rail{position:static;flex:none;min-height:72px;margin:0;width:100%;padding:0}
.screen-only .cockpit .screen{padding:32px 36px 26px}
@media(max-width:760px){.cockpit .screen{padding:25px 20px 24px;gap:18px}}
