/* /solar/residential/ only. Every class is scoped with .pss-res- (loaded via extra: crm, mid, p-solar-residential).
   Hero: homeowner proposal on a phone · J4 homeowner/coordinator thread · stall finder · paperwork ledger. */
.pss-res-hero, .pss-res-ans, .pss-res-who, .pss-res-prob, .pss-res-ss, .pss-res-apps, .pss-res-stall, .pss-res-paper, .pss-res-cost, .pss-res-pk, .pss-res-start, .pss-res-proof {
  --pr-ink: #082238; --pr-body: #334155; --pr-muted: #526173; --pr-line: #E2E8F0; --pr-paper: #F3F7F9; --pr-blue: #00A3D9; --pr-link: #0A6FA8; --pr-green: #1E7A4F; --pr-amber: #FFB81C; --pr-sun: #FFF4D6; --pr-sun-ink: #7A4F00;
}
.pss-res-phone__replay:focus-visible, .pss-res-ss__steps button:focus-visible, .pss-res-ss__apps a:focus-visible, .pss-res-stall__form input:focus-visible + span, .pss-res-core a:focus-visible, .pss-res-more a:focus-visible { outline: 2px solid var(--pr-blue); outline-offset: 2px; }

/* ---------- 1. hero: phone with roof, panels and a signed tick ---------- */
.pss-res-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.pss-res-hero .pg-h1 { max-width: 18ch; font-size: clamp(34px, 1.1rem + 2.4vw, 52px); }
.pss-res-hero .pg-lead { font-size: 17px; }
.pss-res-phone { position: relative; justify-self: center; width: min(100%, 360px); margin: 0; padding: 12px; border-radius: 44px; background: linear-gradient(160deg, #0D2A44, #082238 60%, #12385A); box-shadow: 0 60px 90px -50px rgba(8,34,56,.65), inset 0 0 0 2px rgba(255,255,255,.08); }
.pss-res-phone::before { content: ""; position: absolute; left: 50%; top: 20px; width: 84px; height: 20px; margin-left: -42px; border-radius: 12px; background: #04121F; z-index: 2; }
.pss-res-phone__body { position: relative; padding: 46px 16px 16px; border-radius: 34px; background: #fff; overflow: hidden; }
.pss-res-phone__bar { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 600 12px/1.2 var(--f-body); color: var(--pr-muted); }
.pss-res-phone__bar span { position: absolute; left: 26px; top: 20px; font-weight: 700; color: var(--pr-ink); }
.pss-res-phone__bar b { font: 800 16px/1.2 var(--f-display); color: var(--pr-ink); }
.pss-res-phone__bar em { margin-left: auto; font-style: normal; padding: 3px 8px; border-radius: 99px; background: var(--pr-sun); color: var(--pr-sun-ink); font: 700 10.5px/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; }
.pss-res-roof { position: relative; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #DDF1FB, #F4FAFD); }
.pss-res-roof__svg { display: block; width: 100%; height: auto; }
.pss-res-roof__sky { fill: transparent; }
.pss-res-roof__plane { fill: #A9B7C6; stroke: #7C8DA1; stroke-width: 1.5; }
.pss-res-roof__plane--r { fill: #93A3B5; }
.pss-res-roof__ridge { stroke: #5B6B80; stroke-width: 3; stroke-linecap: round; }
.pss-res-roof__wall { fill: #F1E6D2; stroke: #D8C7A8; }
.pss-res-roof__panels rect { fill: #1D3F8F; stroke: #9FD8F2; stroke-width: 1; transform-box: fill-box; transform-origin: center; }
.pss-res-roof__panels rect.is-new { animation: pssResDrop .45s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes pssResDrop { from { opacity: 0; transform: translateY(-16px) scale(.8); } to { opacity: 1; transform: none; } }
.pss-res-roof__tag { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 99px; background: rgba(255,255,255,.92); font: 700 11px/1.2 var(--f-body); color: var(--pr-ink); }
.pss-res-phone__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.pss-res-phone__facts li { display: grid; gap: 2px; padding: 8px; border-radius: 12px; background: var(--pr-paper); text-align: center; }
.pss-res-phone__facts b { font: 800 16px/1.1 var(--f-display); color: var(--pr-ink); }
.pss-res-phone__facts span { font-size: 11px; line-height: 1.25; color: var(--pr-muted); }
.pss-res-phone__docs { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.pss-res-phone__docs li { display: flex; align-items: center; gap: 9px; font: 600 13px/1.3 var(--f-body); color: var(--pr-body); }
.pss-res-phone__docs i { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #A0AEC0; transition: background-color .3s, border-color .3s; }
.pss-res-phone__docs li.is-done i { background: var(--pr-green); border-color: var(--pr-green); }
.pss-res-phone__docs li.is-done i::after { content: ""; position: absolute; left: 5px; top: 3px; width: 5px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.pss-res-phone__docs li.is-pop i { animation: pssResPop .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes pssResPop { 50% { transform: scale(1.35); } }
.pss-res-phone__sign { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 9px 12px; border-radius: 12px; background: #EEF6FB; font: 600 12.5px/1.3 var(--f-body); color: var(--pr-link); }
.pss-res-phone__sign.is-done { background: #E7F5EE; color: var(--pr-green); }
.pss-res-chip { position: absolute; display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 12px; border-radius: 14px; background: #fff; box-shadow: 0 24px 40px -24px rgba(8,34,56,.55); font-size: 12px; line-height: 1.3; color: var(--pr-body); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.pss-res-chip b { display: block; font: 700 12px/1.2 var(--f-body); color: var(--pr-ink); }
.pss-res-chip--a { right: -40px; top: 33%; }
.pss-res-chip--b { left: -56px; top: 47%; }
.pss-res-chip.is-on { opacity: 1; transform: none; }
.pss-res-phone__replay { position: absolute; left: 50%; bottom: -54px; transform: translateX(-50%); min-height: 40px; padding: 9px 16px; border: 1px solid var(--pr-line); border-radius: 99px; background: #fff; font: 600 13px/1 var(--f-body); color: var(--pr-link); white-space: nowrap; cursor: pointer; }
.pss-res-phone__replay:hover { border-color: var(--pr-blue); }
.pss-res-hero .pg-hero__bg + .wrap { padding-bottom: 40px; }

/* ---------- 2. plain answer ---------- */
.pss-res-ans__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.pss-res-facts { display: grid; gap: 0; margin: 0; padding: 6px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--pr-line); box-shadow: 0 30px 60px -48px rgba(8,34,56,.5); }
.pss-res-facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--pr-line); }
.pss-res-facts div:last-child { border-bottom: 0; }
.pss-res-facts dt { font: 700 12px/1.4 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--pr-sun-ink); }
.pss-res-facts dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--pr-body); }

/* ---------- 3. swipe strip tweaks ---------- */
.pss-res-strip .mk-strip__track > li { border-top: 4px solid var(--pr-amber); }
.pss-res-strip__apps { margin-top: auto; font: 600 12.5px/1.3 var(--f-body); font-style: normal; color: var(--pr-link); }
.pss-res-strip .mk-strip__n { color: var(--pr-muted); }

/* ---------- 4. versus stepper: bigger dot targets, solar labels ---------- */
.pss-res-prob__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.pss-res-vs .mk-versus__dots { gap: 2px; }
.pss-res-vs .mk-versus__dots button { position: relative; width: 24px; height: 24px; background: transparent; border-radius: 12px; }
.pss-res-vs .mk-versus__dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 99px; background: #94A3B8; transition: width .3s, margin .3s, background-color .3s; }
.pss-res-vs .mk-versus__dots button[aria-current="true"] { width: 34px; background: transparent; }
.pss-res-vs .mk-versus__dots button[aria-current="true"]::before { width: 24px; margin-left: -12px; background: var(--pr-ink); }
.pss-res-vs .mk-versus__dots button:focus-visible { outline: 2px solid var(--pr-blue); outline-offset: 1px; }
.pss-res-vs .mk-versus__count { color: var(--pr-muted); }
.pss-res-vs .mk-versus__card.is-back { opacity: 1; filter: saturate(.6); }
.pss-res-vs .mk-versus__card.is-back p { color: var(--pr-body); }

/* ---------- 5. J4 scroll-story: homeowner and coordinator thread ----------
   Static by default (whole thread in a short scroll box + every step card); JS adds .pss-res-ss--live on wide, tall screens without reduced motion. */
.pss-res-ss { padding: 0; background-image: linear-gradient(180deg, rgba(255,244,214,.55) 0%, rgba(255,255,255,0) 55%); overflow-x: clip; }
.pss-res-ss__stage { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.pss-res-ss__head .pg-answer { margin-bottom: 0; }
.pss-res-ss__steps { display: none; }
.pss-res-ss__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 32px; }
.pss-res-ss__chat { margin: 0; border-radius: 28px; background: #fff; border: 1px solid var(--pr-line); box-shadow: 0 40px 70px -44px rgba(8,34,56,.45); overflow: hidden; }
.pss-res-ss__top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--pr-line); background: linear-gradient(90deg, #FFF8E6, #fff); }
.pss-res-ss__top i { position: relative; width: 38px; height: 38px; flex: none; border-radius: 12px; background: linear-gradient(135deg, #FFB81C, #F08C00); }
.pss-res-ss__top i::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 9px; height: 13px; background: linear-gradient(90deg, #1D3F8F 0 30%, transparent 30% 35%, #1D3F8F 35% 65%, transparent 65% 70%, #1D3F8F 70%); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.pss-res-ss__top b { display: block; font: 700 15px/1.25 var(--f-body); color: var(--pr-ink); }
.pss-res-ss__top small { display: block; font: 600 12px/1.3 var(--f-body); color: var(--pr-muted); letter-spacing: .04em; text-transform: uppercase; }
.pss-res-ss__body { padding: 16px 18px 18px; }
.pss-res-ss__thread { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pss-res-ss__d { align-self: center; margin: 8px 0 2px; font: 700 11.5px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--pr-muted); text-align: center; }
.pss-res-ss__d:first-child { margin-top: 0; }
.pss-res-ss__m { max-width: 82%; padding: 9px 14px 10px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; }
.pss-res-ss__m > b { display: block; margin-bottom: 2px; font: 700 11px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; }
.pss-res-ss__m--h { align-self: flex-start; background: #EEF2F6; color: #0F172A; border-bottom-left-radius: 6px; }
.pss-res-ss__m--h > b { color: #475569; }
.pss-res-ss__m--c { align-self: flex-end; background: #0A5E8E; color: #fff; border-bottom-right-radius: 6px; }
.pss-res-ss__m--c > b { color: #D9EEF9; }
.pss-res-ss__m--z { align-self: center; max-width: 94%; display: flex; gap: 9px; align-items: flex-start; padding: 8px 12px; background: #FFF6DB; border: 1px solid #F2D58A; color: #4F3A00; font-size: 13px; border-radius: 12px; }
.pss-res-ss__m--z img { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.pss-res-ss__m--z b { font-weight: 700; color: #3A2B00; }
.pss-res-ss__typing { display: flex; gap: 4px; padding: 12px 14px; border-radius: 18px; background: #EEF2F6; align-self: flex-start; }
.pss-res-ss__typing--c { align-self: flex-end; background: #D6E9F5; }
.pss-res-ss__typing i { width: 7px; height: 7px; border-radius: 50%; background: #94A3B8; animation: pssResBlink 1s infinite; }
.pss-res-ss__typing i:nth-child(2) { animation-delay: .15s; }
.pss-res-ss__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pssResBlink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes pssResIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.pss-res-ss__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pss-res-ss__st { background: #fff; border-radius: 22px; padding: 22px 24px; box-shadow: 0 30px 60px -44px rgba(8,34,56,.45); border-left: 6px solid var(--c); }
.pss-res-ss__when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font: 800 12.5px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.pss-res-ss__n { padding: 4px 9px; border-radius: 99px; background: var(--c); color: #fff; letter-spacing: .06em; }
.pss-res-ss__st h3 { margin: 0 0 12px; font: 700 clamp(20px, 1rem + .7vw, 25px)/1.2 var(--f-display); letter-spacing: -.02em; color: var(--pr-ink); }
.pss-res-ss__a, .pss-res-ss__b { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; font-size: 15.5px; line-height: 1.55; }
.pss-res-ss__a b, .pss-res-ss__b b { display: block; margin-bottom: 2px; font: 700 11.5px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.pss-res-ss__a { background: var(--pr-paper); color: var(--pr-body); }
.pss-res-ss__a b { color: var(--pr-muted); }
.pss-res-ss__b { background: #FFF8E6; color: var(--pr-body); margin-bottom: 14px; }
.pss-res-ss__b b { color: var(--pr-sun-ink); }
.pss-res-ss__apps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.pss-res-ss__apps a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 6px 11px 6px 7px; border-radius: 99px; background: var(--pr-paper); border: 1px solid var(--pr-line); font: 600 13px/1 var(--f-body); color: var(--pr-ink); text-decoration: none; transition: border-color .2s, background-color .2s; }
.pss-res-ss__apps a:hover { border-color: var(--c); background: #fff; }
.pss-res-ss__bar { display: none; }
.pss-res-ss__note { max-width: 80ch; color: var(--pr-muted); }
.pss-res-ss__steps em { font-style: normal; }
/* live: pinned stage inside a tall track */
.pss-res-ss--live .pss-res-ss__track { height: calc(100vh + 7 * 52vh); }
.pss-res-ss--live .pss-res-ss__stage { position: sticky; top: 0; height: 100vh; min-height: 600px; display: flex; flex-direction: column; justify-content: center; padding-top: 92px; padding-bottom: 20px; }
.pss-res-ss--live .pg-h2 { font-size: clamp(26px, 1rem + 1.2vw, 36px); margin-bottom: 8px; max-width: none; }
.pss-res-ss--live .pss-res-ss__head .hp-kick { margin-bottom: 8px; }
.pss-res-ss--live .pg-answer { font-size: 16px; line-height: 1.55; max-width: 92ch; }
.pss-res-ss--live .pss-res-ss__steps { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; margin: 14px 0 0; padding: 0; }
.pss-res-ss__steps button { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 4px 11px 4px 4px; border: 1px solid var(--pr-line); border-radius: 99px; background: #fff; font: 600 12.5px/1.2 var(--f-body); white-space: nowrap; color: var(--pr-body); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.pss-res-ss__steps button span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pr-paper); font: 800 11.5px/1 var(--f-display); color: var(--pr-ink); transition: background-color .3s, color .3s; }
.pss-res-ss__steps button.is-past { border-color: #C9D6E2; color: var(--pr-ink); }
.pss-res-ss__steps button.is-past span { background: var(--c); color: #fff; }
.pss-res-ss__steps button[aria-current="step"] { background: var(--pr-ink); border-color: var(--pr-ink); color: #fff; }
.pss-res-ss__steps button[aria-current="step"] span { background: var(--pr-amber); color: var(--pr-ink); }
.pss-res-ss--live .pss-res-ss__steps button:not([aria-current]) { padding-right: 4px; }
.pss-res-ss--live .pss-res-ss__steps button:not([aria-current]) em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pss-res-ss--live .pss-res-ss__steps button:not([aria-current]):hover { border-color: var(--c); }
.pss-res-ss--live .pss-res-ss__grid { margin-top: 16px; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pss-res-ss--live .pss-res-ss__body { height: clamp(230px, calc(100vh - 446px), 460px); overflow: hidden; scroll-behavior: smooth; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px); mask-image: linear-gradient(180deg, transparent 0, #000 36px); }
.pss-res-ss--live .pss-res-ss__thread { min-height: 100%; justify-content: flex-end; }
.pss-res-ss--live .pss-res-ss__thread > li { display: none; }
.pss-res-ss--live .pss-res-ss__thread > li.is-in { display: flex; }
.pss-res-ss--live .pss-res-ss__thread > .pss-res-ss__m--h.is-in, .pss-res-ss--live .pss-res-ss__thread > .pss-res-ss__m--c.is-in, .pss-res-ss--live .pss-res-ss__thread > .pss-res-ss__d.is-in { display: block; }
.pss-res-ss--live .pss-res-ss__thread > li.is-new { animation: pssResIn .38s cubic-bezier(.2,.8,.2,1) both; }
.pss-res-ss--live .pss-res-ss__list { display: block; position: relative; min-height: clamp(300px, calc(100vh - 382px), 524px); }
.pss-res-ss--live .pss-res-ss__st { position: absolute; left: 0; right: 0; top: 50%; opacity: 0; pointer-events: none; transform: translateY(-44%) scale(.97); transition: opacity .2s, transform .3s; }
.pss-res-ss--live .pss-res-ss__st.is-on { opacity: 1; pointer-events: auto; transform: translateY(-50%); transition: opacity .45s .12s, transform .6s .12s cubic-bezier(.2,.8,.2,1); }
.pss-res-ss--live .pss-res-ss__foot { display: flex; align-items: center; gap: 10px 20px; margin-top: 14px; }
.pss-res-ss--live .pss-res-ss__bar { display: flex; flex: none; gap: 6px; }
.pss-res-ss__bar i { width: 26px; height: 5px; border-radius: 4px; background: rgba(8,34,56,.14); transition: background-color .4s; }
.pss-res-ss__bar i.on { background: var(--pr-amber); }
.pss-res-ss--live .pss-res-ss__note { margin: 0; font-size: 13px; line-height: 1.4; max-width: none; }
@media (max-height: 780px) {
  .pss-res-ss--live .pss-res-ss__head .hp-kick { display: none; }
  .pss-res-ss--live .pss-res-ss__stage { padding-top: 80px; }
  .pss-res-ss--live .pg-h2 { font-size: 26px; }
  .pss-res-ss--live .pg-answer { font-size: 15px; }
  .pss-res-ss--live .pss-res-ss__grid { margin-top: 12px; }
  .pss-res-ss--live .pss-res-ss__body { height: clamp(210px, calc(100vh - 400px), 400px); }
  .pss-res-ss--live .pss-res-ss__st { padding: 16px 20px; }
  .pss-res-ss--live .pss-res-ss__st h3 { font-size: 20px; margin-bottom: 8px; }
  .pss-res-ss--live .pss-res-ss__a, .pss-res-ss--live .pss-res-ss__b { font-size: 14px; line-height: 1.45; padding: 8px 10px; margin-bottom: 8px; }
  .pss-res-ss--live .pss-res-ss__list { min-height: 300px; }
}
/* phones / static: the whole thread sits in a short scrolling box so the section stays short */
.pss-res-ss:not(.pss-res-ss--live) .pss-res-ss__thread { max-height: 380px; overflow-y: auto; overscroll-behavior: contain; }

/* ---------- 6. apps ---------- */
.pss-res-core { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.pss-res-core article { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--pr-line); box-shadow: 0 30px 50px -46px rgba(8,34,56,.6); }
.pss-res-core h3 { margin: 4px 0 0; font: 700 19px/1.25 var(--f-display); color: var(--pr-ink); }
.pss-res-core p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--pr-body); }
.pss-res-core a { margin-top: auto; padding-top: 6px; font: 700 14px/1.3 var(--f-body); color: var(--pr-link); text-decoration: none; }
.pss-res-core a:hover { text-decoration: underline; }
.pss-res-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.pss-res-more a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.75); border: 1px solid var(--pr-line); text-decoration: none; color: var(--pr-body); font-size: 14px; line-height: 1.4; transition: border-color .2s, transform .2s; }
.pss-res-more a:hover { border-color: var(--pr-blue); transform: translateY(-1px); }
.pss-res-more img { flex: none; }
.pss-res-more b { display: block; font: 700 15px/1.3 var(--f-body); color: var(--pr-ink); }

/* ---------- 7. stall finder (dark band) ---------- */
.pss-res-stall__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(22px, 3.5vw, 48px); margin-top: 40px; align-items: start; }
.pss-res-stall__form { padding: clamp(18px, 2.4vw, 28px); border-radius: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); }
.pss-res-stall__form fieldset { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pss-res-stall__form legend { margin-bottom: 12px; font: 700 16px/1.3 var(--f-display); color: #fff; }
.pss-res-stall__form label { position: relative; display: block; cursor: pointer; }
.pss-res-stall__form input { position: absolute; left: 14px; top: 50%; width: 24px; height: 24px; margin: -12px 0 0; opacity: 0; cursor: pointer; }
.pss-res-stall__form span { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); font: 600 15px/1.35 var(--f-body); color: #E3EEF6; transition: background-color .2s, border-color .2s, color .2s; }
.pss-res-stall__form span::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid rgba(255,255,255,.6); background: transparent center / 14px no-repeat; transition: background-color .2s, border-color .2s; }
.pss-res-stall__form label:hover span { border-color: rgba(255,255,255,.5); }
.pss-res-stall__form input:checked + span { background: #fff; border-color: #fff; color: var(--pr-ink); }
.pss-res-stall__form input:checked + span::before { border-color: var(--pr-green); background-color: var(--pr-green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pss-res-stall__out { position: relative; padding: clamp(18px, 2.4vw, 28px); border-radius: 24px; background: #fff; color: var(--pr-body); box-shadow: 0 40px 70px -40px rgba(0,0,0,.7); }
.pss-res-stall__out.is-flash { animation: pssResFlash .6s ease; }
@keyframes pssResFlash { 30% { box-shadow: 0 0 0 4px rgba(255,184,28,.55), 0 40px 70px -40px rgba(0,0,0,.7); } }
.pss-res-stall__flag { display: inline-block; margin: 0 0 10px; padding: 3px 8px; border-radius: 99px; background: var(--pr-sun); color: var(--pr-sun-ink); font: 700 11px/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; }
.pss-res-stall__sum { margin: 0; font: 800 22px/1.25 var(--f-display); color: var(--pr-ink); }
.pss-res-stall__rules { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: pssr; }
.pss-res-stall__rules li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; padding: 12px 14px; border-radius: 16px; background: var(--pr-paper); counter-increment: pssr; animation: pssResIn .35s ease both; }
.pss-res-stall__rules li::before { content: counter(pssr); grid-row: span 3; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--pr-ink); color: #fff; font: 800 14px/1 var(--f-display); }
.pss-res-stall__rules b { font: 700 15px/1.3 var(--f-display); color: var(--pr-ink); }
.pss-res-stall__rules span { font-size: 14.5px; line-height: 1.5; }
.pss-res-stall__rules em { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px/1.3 var(--f-body); font-style: normal; color: var(--pr-link); }
.pss-res-stall__rules li.is-empty { display: block; background: transparent; border: 1px dashed #CBD5E1; color: var(--pr-muted); }
.pss-res-stall__rules li.is-empty::before { display: none; }
.pss-res-stall__h { margin: 20px 0 8px; font: 700 13px/1.2 var(--f-body); letter-spacing: .05em; text-transform: uppercase; color: var(--pr-muted); }
.pss-res-stall__apps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pss-res-stall__apps li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 7px; border-radius: 99px; border: 1px solid var(--pr-line); font: 600 13px/1 var(--f-body); color: var(--pr-ink); }
.pss-res-stall__send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; }
.pss-res-stall__send span { font-size: 13.5px; color: var(--pr-muted); }

/* ---------- 8. paperwork ledger ---------- */
.pss-res-paper__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 32px 0 20px; padding: 0; list-style: none; }
.pss-res-paper__list li { position: relative; padding: 22px 22px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--pr-line); overflow: hidden; }
.pss-res-paper__list li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--pr-amber), #00A3D9); }
.pss-res-paper__list h3 { margin: 0 0 12px; font: 700 18px/1.3 var(--f-display); color: var(--pr-ink); }
.pss-res-paper__k, .pss-res-paper__y { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--pr-body); }
.pss-res-paper__k { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed var(--pr-line); }
.pss-res-paper__k b, .pss-res-paper__y b { display: block; margin-bottom: 3px; font: 700 11.5px/1.3 var(--f-body); letter-spacing: .07em; text-transform: uppercase; }
.pss-res-paper__k b { color: var(--pr-green); }
.pss-res-paper__y b { color: var(--pr-sun-ink); }

/* ---------- 9. licence cost ---------- */
.pss-res-cost__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.pss-res-cost__list { display: grid; gap: 8px; margin: 0; padding: 18px; border-radius: 24px; background: #fff; border: 1px solid var(--pr-line); list-style: none; box-shadow: 0 40px 70px -54px rgba(8,34,56,.6); }
.pss-res-cost__list li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 6px; border-bottom: 1px dashed var(--pr-line); }
.pss-res-cost__list li:last-child { border-bottom: 0; }
.pss-res-cost__list li.is-alt { background: var(--pr-paper); border-radius: 14px; padding: 10px 12px; border-bottom: 0; }
.pss-res-cost__list span { font-size: 14px; line-height: 1.4; color: var(--pr-muted); }
.pss-res-cost__list span b { display: block; font: 700 15px/1.3 var(--f-body); color: var(--pr-ink); }
.pss-res-cost__list em { font: 800 15px/1.2 var(--f-display); font-style: normal; color: var(--pr-ink); white-space: nowrap; text-align: right; }

/* ---------- 10. packages ---------- */
.pss-res-pk__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0 18px; padding: 0; list-style: none; }
.pss-res-pk__card { display: flex; flex-direction: column; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--pr-line); }
.pss-res-pk__card.is-pick { border: 2px solid var(--pr-ink); box-shadow: 0 40px 70px -50px rgba(8,34,56,.7); }
.pss-res-pk__tag { margin: 0 0 6px; font: 700 12px/1.3 var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: var(--pr-sun-ink); }
.pss-res-pk__card h3 { margin: 0 0 14px; font: 800 24px/1.2 var(--f-display); letter-spacing: -.02em; color: var(--pr-ink); }
.pss-res-pk__card ul { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.pss-res-pk__card ul li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--pr-body); }
.pss-res-pk__card ul li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 10px; border-radius: 3px; background: var(--pr-amber); }
.pss-res-pk__fee { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--pr-line); font-size: 14px; line-height: 1.5; color: var(--pr-muted); }

/* ---------- 11. start steps ---------- */
.pss-res-start__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 32px 0 22px; padding: 0; list-style: none; counter-reset: pssrs; }
.pss-res-start__list li { position: relative; display: grid; gap: 6px; align-content: start; padding: 22px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--pr-line); counter-increment: pssrs; }
.pss-res-start__list li::before { content: counter(pssrs, decimal-leading-zero); font: 800 14px/1 var(--f-display); letter-spacing: .06em; color: var(--pr-sun-ink); margin-bottom: 6px; }
.pss-res-start__list b { font: 700 17px/1.3 var(--f-display); color: var(--pr-ink); }
.pss-res-start__list span { font-size: 14.5px; line-height: 1.55; color: var(--pr-body); }

/* ---------- 12. proof ---------- */
.pss-res-proof__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.pss-res-proof__card { display: grid; gap: 14px; padding: 24px; border-radius: 22px; background: var(--pr-paper); border: 1px solid var(--pr-line); }
.pss-res-proof__card .pg-trustnote { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pss-res-core { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pss-res-chip--a { right: -12px; } .pss-res-chip--b { left: -16px; }
}
@media (max-width: 900px) {
  .pss-res-hero__grid, .pss-res-ans__grid, .pss-res-prob__grid, .pss-res-stall__grid, .pss-res-cost__grid, .pss-res-proof__grid, .pss-res-ss__grid { grid-template-columns: minmax(0, 1fr); }
  .pss-res-ss__chat { max-width: 560px; }
  .pss-res-pk__list { grid-template-columns: minmax(0, 1fr); }
  .pss-res-start__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pss-res-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pss-res-phone { margin-bottom: 56px; }
}
@media (max-width: 680px) {
  .pss-res-core, .pss-res-more, .pss-res-start__list, .pss-res-paper__list { grid-template-columns: minmax(0, 1fr); }
  .pss-res-facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .pss-res-chip { display: none; }
  .pss-res-ss__body { padding: 14px 12px 16px; }
  .pss-res-ss__m { max-width: 90%; font-size: 14px; }
  .pss-res-ss__st { padding: 20px 18px; }
  .pss-res-cost__list li { grid-template-columns: 32px minmax(0, 1fr); }
  .pss-res-cost__list em { grid-column: 2; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .pss-res-roof__panels rect, .pss-res-ss__typing i, .pss-res-ss__thread > li, .pss-res-stall__rules li, .pss-res-phone__docs li i { animation: none !important; }
  .pss-res-chip, .pss-res-ss__st, .pss-res-ss__steps button, .pss-res-ss__bar i { transition: none !important; }
}
/* tinted sections: keep small notes above 4.5:1 */
.pss-res-ans .pg-note, .pss-res-prob .pg-note, .pss-res-paper .pg-note, .pss-res-cost .pg-note, .pss-res-pk .pg-note, .pss-res-start .pg-note { color: #4B5A6E; }
