.p4yqe {
  --p4yqe-accent: #dca54a;
  --p4yqe-accent-dark: #a66f1b;
  --p4yqe-action: #dca54a;
  --p4yqe-action-dark: #d09a40;
  --p4yqe-action-ink: #171512;
  --p4yqe-accent-soft: #f0e6c5;
  --p4yqe-ink: #1d1d1f;
  --p4yqe-muted: #6e6e73;
  --p4yqe-bg: #f5f5f7;
  --p4yqe-soft: #fafafa;
  --p4yqe-white: #fff;
  --p4yqe-line: rgba(29, 29, 31, .10);
  --p4yqe-line-strong: rgba(29, 29, 31, .18);
  --p4yqe-selection: #8d692e;
  --p4yqe-selected-line: rgba(141, 105, 46, .30);
  --p4yqe-selection-ink: #fff;
  --p4yqe-selection-soft: #f8f4ec;
  --p4yqe-focus-ring: rgba(0, 113, 227, .16);
  --p4yqe-danger: #a43c34;
  --p4yqe-page-top: 94px;
  width: 100%;
  min-width: 0;
  color: var(--p4yqe-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
  container-type: inline-size;
}

.p4yqe--inline {
  width: calc(100vw - var(--p4yqe-scrollbar-width, 0px));
  max-width: none;
  margin-right: calc(50% - 50vw + var(--p4yqe-scrollbar-half, 0px));
  margin-left: calc(50% - 50vw + var(--p4yqe-scrollbar-half, 0px));
  overflow-x: clip;
}

.p4yqe *, .p4yqe *::before, .p4yqe *::after { box-sizing: border-box; }
.p4yqe button, .p4yqe input, .p4yqe textarea { margin: 0; font: inherit; letter-spacing: 0; }
.p4yqe button { margin: 0; padding: 0; border: 0; border-radius: 0; background-image: none; box-shadow: none; cursor: pointer; text-transform: none; -webkit-appearance: none; appearance: none; }
.p4yqe button:disabled { cursor: default; }
.p4yqe svg { display: block; width: 20px; height: 20px; }
.p4yqe [hidden] { display: none !important; }
.p4yqe-stage, .p4yqe-stage-inner, .p4yqe-shell { width: 100%; min-width: 0; }

.p4yqe-stage {
  position: relative;
  display: grid;
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin-left: 0;
  padding-top: var(--p4yqe-page-top);
  overflow-x: clip;
  overflow-y: visible;
  background: var(--p4yqe-bg);
}
.p4yqe-reference-bg { display: none; }
.p4yqe-stage-inner, .p4yqe-shell { min-height: calc(100dvh - var(--p4yqe-page-top)); height: auto; }
.p4yqe-stage-inner { max-width: none; margin: 0; }
.p4yqe-shell { position: relative; }
.p4yqe-app {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  min-height: calc(100dvh - var(--p4yqe-page-top));
  height: auto;
  grid-template-columns: clamp(300px, 27%, 390px) minmax(0, 1fr);
  align-items: start;
  overflow: visible;
  background: var(--p4yqe-white);
}

.p4yqe-brand-panel {
  position: sticky;
  top: 0;
  display: flex;
  height: calc(100dvh - var(--p4yqe-page-top));
  min-width: 0;
  align-self: start;
  flex-direction: column;
  gap: clamp(26px, 4vh, 48px);
  overflow: hidden;
  padding: clamp(34px, 4vw, 58px) clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--p4yqe-line);
  background: var(--p4yqe-bg);
}
.p4yqe-brand-copy { position: relative; z-index: 2; }
.p4yqe-brand-copy > span {
  display: block;
  margin-bottom: 18px;
  color: var(--p4yqe-accent-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
}
.p4yqe-brand-copy h1 {
  max-width: 300px;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  font-size: clamp(34px, 3vw, 50px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}
.p4yqe-brand-copy p {
  max-width: 290px;
  margin: 22px 0 0;
  color: var(--p4yqe-muted);
  font-size: 15px;
  line-height: 1.65;
}
.p4yqe-brand-visual {
  position: relative;
  min-height: 260px;
  flex: 1 1 auto;
  overflow: hidden;
  border-radius: 22px;
  background-color: #ded8ce;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.p4yqe-brand-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: inherit;
  box-shadow: inset 0 -80px 80px rgba(24, 20, 16, .12);
}
.p4yqe-brand-visual > i {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
}
.p4yqe-brand-visual > i::before, .p4yqe-brand-visual > i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1px;
  background: #fff;
  content: "";
  transform: translate(-50%, -50%);
}
.p4yqe-brand-visual > i::after { transform: translate(-50%, -50%) rotate(90deg); }
.p4yqe-brand-visual > img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease, transform .52s cubic-bezier(.2,.75,.25,1); }
.p4yqe-brand-visual.has-work-preview::after { z-index: 2; background: linear-gradient(180deg, rgba(20, 18, 15, .02) 20%, rgba(20, 18, 15, .74)); }
.p4yqe-brand-caption { position: absolute; z-index: 3; right: 16px; bottom: 16px; left: 16px; padding: 16px 17px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px; background: rgba(24, 21, 17, .42); color: #fff; box-shadow: 0 14px 34px rgba(18, 15, 12, .2); -webkit-backdrop-filter: blur(14px) saturate(125%); backdrop-filter: blur(14px) saturate(125%); transition: opacity .18s ease, transform .28s cubic-bezier(.2,.75,.25,1); }
.p4yqe-brand-caption small, .p4yqe-brand-caption strong, .p4yqe-brand-caption p { display: block; }
.p4yqe-brand-caption small { color: #f5d99e; font-size: 8px; font-weight: 600; letter-spacing: .12em; }
.p4yqe-brand-caption strong { margin-top: 7px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif; font-size: 25px; font-weight: 500; line-height: 1.1; }
.p4yqe-brand-caption p { max-width: 290px; margin: 9px 0 0; color: rgba(255, 255, 255, .9); font-size: 11px; line-height: 1.52; }
.p4yqe-brand-visual--living { background-image: url("../images/investment-apartment-rzeszow-v1.jpg"); }
.p4yqe-brand-visual--house { background-image: url("../images/investment-house-rzeszow-v1.jpg"); }
.p4yqe-brand-visual--commercial { background-image: url("../images/investment-commercial.avif"); }
.p4yqe-brand-visual--bathroom { background-image: url("../images/investment-bathroom-rzeszow-v1.jpg"); }
.p4yqe-brand-visual--bedroom { background-image: url("../images/room-bedroom.avif"); }
.p4yqe-brand-visual--kitchen { background-image: url("../images/room-kitchen.avif"); }
.p4yqe-brand-visual--hall { background-image: url("../images/room-hall.avif"); }

.p4yqe-main { display: grid; min-width: 0; min-height: calc(100dvh - var(--p4yqe-page-top)); grid-template-rows: 72px auto; background: rgba(255, 255, 255, .94); }
.p4yqe-app-top {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  min-width: 0;
  grid-template-columns: 78px minmax(0, 1fr) 74px;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(22px, 3vw, 42px);
  border-bottom: 1px solid var(--p4yqe-line);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}
.p4yqe-step-count, .p4yqe-stepper-area { color: var(--p4yqe-muted); font-size: 12px; white-space: nowrap; }
.p4yqe-step-count strong { color: var(--p4yqe-ink); }
.p4yqe-stepper-area { text-align: right; }
.p4yqe-stepper-area span { color: var(--p4yqe-ink); font-weight: 600; }
.p4yqe-stepper ol { display: grid; grid-template-columns: repeat(var(--p4yqe-step-count, 7), minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.p4yqe-stepper li { position: relative; min-width: 0; }
.p4yqe-stepper li:not(:last-child)::after {
  position: absolute;
  top: 15px;
  right: -2px;
  width: calc(100% - 38px);
  height: 1px;
  background: var(--p4yqe-line);
  content: "";
  transform: translateX(50%);
}
.p4yqe .p4yqe-stepper button { position: relative; z-index: 1; display: flex; width: 100%; min-width: 0; min-height: 44px; align-items: center; gap: 7px; padding: 0; background: transparent; color: #8a867f; text-align: left; }
.p4yqe-stepper button > i { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border: 1px solid #cbc5bc; border-radius: 50%; background: #fff; font-size: 10px; font-style: normal; transition: border-color .25s ease, background .25s ease, color .25s ease, transform .25s ease; }
.p4yqe-stepper button > i svg { width: 14px; height: 14px; }
.p4yqe-stepper button strong { display: block; min-width: 0; flex: 1 1 auto; overflow: hidden; font-size: 9px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.p4yqe-stepper li.is-current button { color: var(--p4yqe-ink); }
.p4yqe-stepper li.is-current button > i { border-color: var(--p4yqe-selection); background: var(--p4yqe-selection); color: var(--p4yqe-selection-ink); transform: scale(1.05); }
.p4yqe-stepper li.is-done button { color: #504c46; }
.p4yqe-stepper li.is-done button > i { border-color: rgba(47, 51, 47, .45); color: var(--p4yqe-selection); }
.p4yqe-stepper li.is-available button { color: #504c46; cursor: pointer; }
.p4yqe-stepper li.is-available button > i { border-color: rgba(47, 51, 47, .32); color: var(--p4yqe-ink); }
.p4yqe-stepper li.is-available button:hover > i { border-color: var(--p4yqe-selection); background: var(--p4yqe-selection-soft); transform: scale(1.05); }

.p4yqe-workspace { --p4yqe-actions-height: 82px; display: grid; min-height: calc(100dvh - var(--p4yqe-page-top) - 72px); grid-template-rows: auto auto auto auto; align-content: start; }
.p4yqe-panel-header { grid-row: 1; }
.p4yqe-panel-body { grid-row: 2; }
.p4yqe-alert { grid-row: 3; }
.p4yqe-actions { grid-row: 4; }
.p4yqe-panel-header { display: flex; min-height: 112px; align-items: center; gap: 16px; padding: 20px clamp(24px, 4vw, 54px); border-bottom: 1px solid var(--p4yqe-line); }
.p4yqe-step-badge { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid rgba(201, 150, 59, .42); border-radius: 50%; color: var(--p4yqe-accent-dark); font-size: 11px; font-weight: 600; }
.p4yqe-panel-header h2 { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif; font-size: clamp(27px, 2.4vw, 38px); font-weight: 500; line-height: 1.08; letter-spacing: 0; }
.p4yqe-panel-header p { margin: 7px 0 0; color: var(--p4yqe-muted); font-size: 14px; }
.p4yqe-alert { position: sticky; z-index: 25; bottom: calc(var(--p4yqe-actions-height) + 12px); margin: 0 clamp(24px, 4vw, 54px) 12px; padding: 12px 14px; border: 1px solid rgba(164, 60, 52, .22); border-radius: 14px; background: rgba(255, 245, 243, .9); color: var(--p4yqe-danger); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 14px 32px rgba(80, 35, 30, .1); font-size: 12px; font-weight: 600; -webkit-backdrop-filter: blur(18px) saturate(125%); backdrop-filter: blur(18px) saturate(125%); }
.p4yqe-alert.is-hidden { display: none; }
.p4yqe-panel-body { min-height: 0; overflow: visible; touch-action: pan-y; padding: clamp(24px, 3vh, 38px) clamp(24px, 4vw, 54px); }
.p4yqe-panel-body::-webkit-scrollbar, .p4yqe-work-groups::-webkit-scrollbar { width: 7px; }
.p4yqe-panel-body::-webkit-scrollbar-thumb, .p4yqe-work-groups::-webkit-scrollbar-thumb { border-radius: 8px; background: rgba(73, 65, 55, .23); }

.p4yqe-actions { position: sticky; z-index: 24; bottom: 0; display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 18px; padding: 14px clamp(24px, 4vw, 54px); border-top: 1px solid rgba(46, 40, 32, .1); background: rgba(255, 255, 255, .88); box-shadow: 0 -12px 34px rgba(35, 30, 24, .055); -webkit-backdrop-filter: blur(20px) saturate(125%); backdrop-filter: blur(20px) saturate(125%); }
.p4yqe .p4yqe-back, .p4yqe .p4yqe-next, .p4yqe .p4yqe-secondary-action { min-height: 50px; border: 1px solid rgba(46, 40, 32, .16); border-radius: 15px; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, opacity .2s ease; }
.p4yqe .p4yqe-back { display: inline-flex; min-width: 116px; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; background: rgba(255, 255, 255, .72); color: var(--p4yqe-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 6px 18px rgba(35, 30, 24, .05); font-weight: 600; -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%); }
.p4yqe-back svg { width: 17px; }
.p4yqe-back:disabled { opacity: .32; }
.p4yqe .p4yqe-next { display: inline-flex; min-width: 220px; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border-color: rgba(166, 111, 27, .32); background: rgba(220, 165, 74, .92); color: var(--p4yqe-action-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), 0 8px 22px rgba(123, 82, 23, .12); font-size: 13px; font-weight: 600; -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%); }
.p4yqe-next > span { min-width: 0; overflow-wrap: anywhere; }
.p4yqe-next:not(:disabled):active { background: var(--p4yqe-action-dark); transform: translateY(0); }
.p4yqe-next:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 21, 18, .18); }
.p4yqe-next svg { width: 17px; }
.p4yqe-mobile-dots { display: none; }
.p4yqe-spinner { width: 18px; height: 18px; border: 2px solid rgba(23, 21, 18, .22); border-top-color: var(--p4yqe-action-ink); border-radius: 50%; animation: p4yqeSpin .7s linear infinite; }

.p4yqe-question-title { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.p4yqe-question-title > b { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border: 1px solid var(--p4yqe-line-strong); border-radius: 50%; color: var(--p4yqe-muted); font-size: 10px; }
.p4yqe-question-title > span { display: block; min-width: 0; }
.p4yqe-question-title strong { display: block; font-size: 14px; }
.p4yqe-question-title small { display: block; margin-top: 2px; color: var(--p4yqe-muted); font-size: 12px; font-weight: 500; }
.p4yqe-start { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 3vw, 36px); }
.p4yqe-start-question, .p4yqe-start-basics { min-width: 0; }
.p4yqe-start-question > .p4yqe-question-title { justify-content: flex-start; text-align: left; }
.p4yqe-investment-grid { display: grid; width: 100%; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(9px, 1vw, 14px); align-items: stretch; justify-items: stretch; }
.p4yqe-investment-grid > :last-child { grid-column: auto; aspect-ratio: auto; }
.p4yqe .p4yqe-investment { position: relative; display: flex; width: 100%; min-width: 0; max-width: 100%; height: clamp(176px, 13vw, 218px); min-height: 0; aspect-ratio: auto; align-items: flex-end; justify-content: center; overflow: hidden; padding: 22px 14px; border: 1px solid transparent; border-radius: 16px; background: #ddd6cc; color: #fff; text-align: center; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.p4yqe .p4yqe-investment-grid > :last-child { aspect-ratio: auto; }
.p4yqe-investment::after { position: absolute; inset: 26% 0 0; z-index: 1; content: ""; background: linear-gradient(180deg, rgba(17, 15, 12, 0), rgba(17, 15, 12, .72)); }
.p4yqe-investment:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(31, 26, 20, .16); }
.p4yqe-investment.is-selected { border-color: #fff; box-shadow: 0 6px 18px rgba(29, 29, 31, .10); transform: none; }
.p4yqe-investment-media { position: absolute; inset: 0; z-index: 0; background-position: center; background-repeat: no-repeat; background-size: cover; transform: scale(1.002); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.p4yqe-investment:hover .p4yqe-investment-media, .p4yqe-investment.is-selected .p4yqe-investment-media { transform: scale(1.018); }
.p4yqe-investment-media--house { background-image: url("../images/investment-house-rzeszow-v1.jpg"); }
.p4yqe-investment-media--apartment { background-image: url("../images/investment-apartment-rzeszow-v1.jpg"); }
.p4yqe-investment-media--bathroom_only { background-image: url("../images/investment-bathroom-rzeszow-v1.jpg"); }
.p4yqe-investment-media--commercial { background-image: url("../images/investment-commercial.avif"); }
.p4yqe-investment-media--single_room { background-image: url("../images/room-bedroom.avif"); }
.p4yqe-option-icon { position: absolute; z-index: 2; top: 13px; left: 13px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255, 255, 255, .62); border-radius: 50%; background: rgba(20, 18, 15, .32); }
.p4yqe-option-icon svg { width: 17px; height: 17px; }
.p4yqe-investment-copy { position: relative; z-index: 2; width: min(100%, 250px); min-width: 0; }
.p4yqe-investment-copy strong { display: block; font-size: clamp(13px, 1.05vw, 16px); line-height: 1.25; overflow-wrap: break-word; }
.p4yqe-investment-copy small { display: block; margin-top: 5px; color: rgba(255, 255, 255, .9); font-size: 11px; line-height: 1.35; }
.p4yqe-option-check { position: absolute; z-index: 3; top: 14px; right: 14px; display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(255, 255, 255, .82); border-radius: 50%; background: rgba(47, 51, 47, .94); color: var(--p4yqe-selection-ink); opacity: 0; transform: scale(.72); transition: opacity .2s ease, transform .25s cubic-bezier(.2,.9,.3,1.3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.p4yqe-option-check svg { width: 15px; height: 15px; }
.p4yqe-investment.is-selected .p4yqe-option-check { opacity: 1; transform: scale(1); }
.p4yqe-start-basics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; align-items: end; gap: clamp(12px, 1.5vw, 20px); }
.p4yqe-start-basics fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.p4yqe-project-area { display: block; }
.p4yqe-total-area-control { display: grid; height: 56px; grid-template-columns: 48px minmax(0, 1fr) auto 48px; align-items: center; overflow: hidden; border: 1px solid var(--p4yqe-line-strong); border-radius: 8px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.p4yqe-total-area-control:focus-within { border-color: #86868b; box-shadow: none; }
.p4yqe-total-area-control button { height: 100%; background: var(--p4yqe-soft); color: var(--p4yqe-ink); font-size: 22px; }
.p4yqe-total-area-control input { width: 100%; height: 100%; min-width: 0; border: 0; outline: 0; background: #fff; text-align: right; font-size: 22px; font-weight: 600; }
.p4yqe-total-area-control b { padding: 0 10px; font-size: 13px; }
.p4yqe-segmented { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.p4yqe-segmented button { min-height: 48px; min-width: 0; padding: 9px 10px; overflow: hidden; border: 1px solid var(--p4yqe-line); border-radius: 8px; background: var(--p4yqe-soft); color: var(--p4yqe-muted); font-size: 12px; font-weight: 600; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.p4yqe-segmented button:hover { border-color: var(--p4yqe-line-strong); background: var(--p4yqe-soft); transform: translateY(-1px); }
.p4yqe-segmented button.is-selected { border-color: var(--p4yqe-selected-line); background: var(--p4yqe-selection-soft); color: var(--p4yqe-ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .74), 0 6px 16px rgba(23, 21, 18, .06); }

.p4yqe-layout-note, .p4yqe-selection-total, .p4yqe-area-total { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.p4yqe-layout-note { margin-bottom: 14px; }
.p4yqe-layout-note strong { font-size: 14px; }
.p4yqe-layout-note span { color: var(--p4yqe-muted); font-size: 12px; }
.p4yqe-room-select-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.p4yqe-room-select-row { display: grid; min-width: 0; min-height: 82px; grid-template-columns: 44px 36px minmax(0, 1fr) 110px; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--p4yqe-line); border-radius: 12px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.p4yqe-room-select-row.is-selected { border-color: rgba(23, 21, 18, .42); background: #fff; box-shadow: 0 8px 22px rgba(23, 21, 18, .07); }
.p4yqe .p4yqe-room-toggle { display: grid; width: 44px; min-width: 44px; max-width: 44px; height: 44px; min-height: 44px; max-height: 44px; place-self: center; place-items: center; overflow: visible; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--p4yqe-ink); line-height: 1; }
.p4yqe-room-toggle i { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--p4yqe-line-strong); border-radius: 50%; background: #fff; color: inherit; font-style: normal; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.p4yqe-room-toggle svg { width: 13px; height: 13px; }
.p4yqe .p4yqe-room-toggle:hover { background: transparent; color: var(--p4yqe-ink); }
.p4yqe .p4yqe-room-toggle:hover i { border-color: rgba(47, 51, 47, .42); background: var(--p4yqe-selection-soft); transform: scale(1.05); }
.p4yqe-room-select-row.is-selected .p4yqe-room-toggle { background: transparent; color: #fff; }
.p4yqe-room-select-row.is-selected .p4yqe-room-toggle i, .p4yqe .p4yqe-room-select-row.is-selected .p4yqe-room-toggle:hover i { border-color: var(--p4yqe-selection); background: var(--p4yqe-selection); color: var(--p4yqe-selection-ink); transform: scale(1); }
.p4yqe-room-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(46, 40, 32, .08); border-radius: 10px; background: #f6f4f0; color: #57534d; }
.p4yqe-room-icon svg { width: 18px; height: 18px; }
.p4yqe-room-copy { min-width: 0; }
.p4yqe-room-copy strong, .p4yqe-room-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p4yqe-room-copy strong { font-size: 13px; }
.p4yqe-room-copy small { margin-top: 2px; color: var(--p4yqe-muted); font-size: 11px; }
.p4yqe-counter, .p4yqe-area-control { display: grid; align-items: center; border: 1px solid var(--p4yqe-line); border-radius: 8px; background: var(--p4yqe-soft); }
.p4yqe-counter { width: 110px; height: 46px; grid-template-columns: 44px 22px 44px; overflow: hidden; }
.p4yqe .p4yqe-counter button, .p4yqe .p4yqe-area-control button { min-width: 44px; height: 44px; min-height: 44px; max-height: 44px; padding: 0; border-radius: 0; background: transparent; color: var(--p4yqe-ink); font-size: 19px; line-height: 1; }
.p4yqe .p4yqe-counter button { width: 44px; max-width: 44px; }
.p4yqe .p4yqe-area-control button { width: 100%; }
.p4yqe .p4yqe-counter button:hover, .p4yqe .p4yqe-area-control button:hover { background: var(--p4yqe-selection-soft); color: var(--p4yqe-ink); }
.p4yqe-counter output { text-align: center; font-size: 13px; font-weight: 600; }
.p4yqe-selection-total { margin-top: 14px; padding: 14px 16px; border-top: 1px solid var(--p4yqe-line); }
.p4yqe-selection-total span { color: var(--p4yqe-muted); font-size: 12px; }
.p4yqe-selection-total strong { font-size: 13px; }
.p4yqe .p4yqe-room-list-toggle { display: flex; width: min(100%, 190px); min-width: 0; min-height: 44px; align-items: center; justify-content: center; gap: 8px; margin: 12px auto 0; padding: 0 16px !important; overflow: hidden; border: 1px solid var(--p4yqe-line-strong) !important; border-radius: 22px !important; background: rgba(255, 255, 255, .78) !important; color: var(--p4yqe-ink) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .94), 0 8px 22px rgba(38, 32, 25, .06) !important; font-size: 11px !important; font-weight: 600 !important; line-height: 1 !important; white-space: nowrap; -webkit-backdrop-filter: blur(14px) saturate(125%); backdrop-filter: blur(14px) saturate(125%); }
.p4yqe-room-list-toggle span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p4yqe-room-list-toggle svg { width: 14px; height: 14px; flex: 0 0 14px; transition: transform .22s ease; }
.p4yqe-room-list-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.p4yqe-area-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.p4yqe-area-overview > div { padding: 14px 16px; border: 1px solid var(--p4yqe-line); border-radius: 8px; background: var(--p4yqe-soft); }
.p4yqe-area-overview span, .p4yqe-area-overview strong { display: block; }
.p4yqe-area-overview span { color: var(--p4yqe-muted); font-size: 11px; }
.p4yqe-area-overview strong { margin-top: 4px; font-size: 18px; }
.p4yqe-area-list { display: grid; gap: 9px; }
.p4yqe-area-row { display: grid; min-width: 0; min-height: 62px; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--p4yqe-line); border-radius: 9px; }
.p4yqe-area-row label { min-width: 0; }
.p4yqe-area-row label strong { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.p4yqe-area-control { height: 44px; grid-template-columns: 44px 58px 26px 44px; overflow: hidden; }
.p4yqe-area-control input { width: 100%; height: 100%; min-width: 0; border: 0; outline: 0; background: transparent; text-align: right; font-size: 14px; font-weight: 600; }
.p4yqe-area-control span { color: var(--p4yqe-muted); font-size: 11px; }
.p4yqe-area-total { margin-top: 16px; padding: 15px 16px; border: 1px solid rgba(71, 116, 88, .25); border-radius: 9px; background: #f6faf7; }
.p4yqe-area-total.has-difference { border-color: rgba(201, 150, 59, .35); background: #fffbf4; }
.p4yqe-area-status span { font-size: 12px; font-weight: 600; }
.p4yqe-area-actions button { min-height: 44px; padding: 0 15px; border: 1px solid var(--p4yqe-line-strong); border-radius: 7px; background: #fff; color: var(--p4yqe-ink); font-size: 12px; font-weight: 600; }

.p4yqe-scope-layout { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.p4yqe-scope-rooms { position: static; display: flex; min-width: 0; max-height: none; align-self: stretch; flex-direction: row; gap: 9px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; padding: 2px 2px 6px; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.p4yqe-scope-rooms::-webkit-scrollbar { display: none; }
.p4yqe-scope-rooms > button { position: relative; display: grid; min-width: 186px; min-height: 68px; flex: 0 0 clamp(186px, 17vw, 224px); grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; align-items: center; column-gap: 10px; padding: 10px 34px 10px 11px; border: 1px solid var(--p4yqe-line); border-radius: 10px; background: #fff; color: var(--p4yqe-ink); scroll-snap-align: start; text-align: left; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.p4yqe-scope-rooms > button:hover { border-color: var(--p4yqe-line-strong); background: var(--p4yqe-surface-soft); }
.p4yqe-scope-rooms > button.is-current { border-color: var(--p4yqe-selected-line); background: rgba(247, 246, 243, .92); box-shadow: 0 7px 18px rgba(23, 21, 18, .06); }
.p4yqe-scope-rooms > button > span { display: grid; width: 36px; height: 36px; grid-row: 1 / 3; place-items: center; border-radius: 8px; background: var(--p4yqe-bg); color: var(--p4yqe-accent-dark); }
.p4yqe-scope-rooms > button > span svg { width: 16px; height: 16px; }
.p4yqe-scope-rooms > button strong { min-width: 0; align-self: end; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.p4yqe-scope-rooms > button small { align-self: start; color: var(--p4yqe-muted); font-size: 10px; }
.p4yqe-scope-rooms > button > i { position: absolute; top: 8px; right: 8px; display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: var(--p4yqe-selection); color: var(--p4yqe-selection-ink); }
.p4yqe-scope-rooms > button > i:empty { display: none; }
.p4yqe-scope-rooms > button > i svg { width: 11px; height: 11px; }
.p4yqe-scope-editor { min-width: 0; }
.p4yqe-room-photo { position: relative; height: 118px; overflow: hidden; border-radius: 10px; background-color: #ddd6cc; background-position: center; background-repeat: no-repeat; background-size: cover; }
.p4yqe-room-photo::after { position: absolute; inset: 30% 0 0; content: ""; background: linear-gradient(180deg, rgba(20, 18, 15, 0), rgba(20, 18, 15, .62)); }
.p4yqe-room-photo > span { position: absolute; z-index: 1; right: 16px; bottom: 13px; left: 16px; display: flex; align-items: flex-end; justify-content: space-between; color: #fff; }
.p4yqe-room-photo strong { font-size: 17px; }
.p4yqe-room-photo small { font-size: 11px; }
.p4yqe-room-photo--living { background-image: url("../images/room-living.avif"); }
.p4yqe-room-photo--kitchen { background-image: url("../images/room-kitchen.avif"); }
.p4yqe-room-photo--bathroom { background-image: url("../images/room-bathroom.avif"); }
.p4yqe-room-photo--bedroom { background-image: url("../images/room-bedroom.avif"); }
.p4yqe-room-photo--hall { background-image: url("../images/room-hall.avif"); }
.p4yqe-package-block { margin-top: 16px; }
.p4yqe-package-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.p4yqe-package-head > span { display: block; min-width: 0; }
.p4yqe-package-head strong, .p4yqe-package-head small { display: block; }
.p4yqe-package-head strong { color: var(--p4yqe-ink); font-size: 13px; }
.p4yqe-package-head small { margin-top: 2px; color: var(--p4yqe-muted); font-size: 10px; }
.p4yqe-package-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.p4yqe-package-options > button { position: relative; display: block; min-width: 0; min-height: 98px; padding: 15px 13px 13px; border: 1px solid var(--p4yqe-line); border-radius: 9px; background: #fff; color: var(--p4yqe-ink); text-align: left; transition: border-color .24s ease, background .24s ease, transform .24s ease, box-shadow .24s ease; }
.p4yqe-package-options > button:hover { transform: translateY(-3px); border-color: var(--p4yqe-line-strong); box-shadow: 0 10px 22px rgba(41, 34, 27, .09); }
.p4yqe-package-options > button.is-selected { border-color: var(--p4yqe-selected-line); background: rgba(248, 247, 244, .94); box-shadow: 0 0 0 1px rgba(23, 21, 18, .08), 0 12px 25px rgba(41, 34, 27, .1); transform: translateY(-2px); }
.p4yqe-package-options > button > i { position: absolute; top: 11px; right: 11px; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--p4yqe-selection); color: var(--p4yqe-selection-ink); animation: p4yqeCheckIn .28s cubic-bezier(.2,.9,.3,1.35); }
.p4yqe-package-options > button > i:empty { display: none; }
.p4yqe-package-options > button > i svg { width: 13px; height: 13px; }
.p4yqe-package-copy strong { display: block; padding-right: 25px; font-size: 12px; font-weight: 600; line-height: 1.25; overflow-wrap: break-word; }
.p4yqe-package-copy small { display: block; margin-top: 8px; color: var(--p4yqe-muted); font-size: 11px; line-height: 1.4; }
.p4yqe-scope-tools { display: flex; min-height: 44px; align-items: center; justify-content: flex-end; gap: 7px; margin-top: 7px; }
.p4yqe-scope-tools.is-empty { justify-content: flex-start; }
.p4yqe-scope-tools p { margin: 0; color: var(--p4yqe-muted); font-size: 11px; }
.p4yqe .p4yqe-scope-action { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 6px; padding: 0 11px; border: 1px solid rgba(46, 40, 32, .2); border-radius: 9px; background: rgba(255, 255, 255, .74); color: var(--p4yqe-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 6px 16px rgba(38, 32, 25, .05); font-size: 10px; font-weight: 600; line-height: 1.2; -webkit-backdrop-filter: blur(12px) saturate(120%); backdrop-filter: blur(12px) saturate(120%); transition: border-color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease; }
.p4yqe-scope-action:hover { border-color: rgba(47, 51, 47, .34); background: rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, 0 11px 24px rgba(38, 32, 25, .1); transform: translateY(-2px); }
.p4yqe-scope-action svg { width: 12px; height: 12px; }
.p4yqe-apply-all.is-applied { border-color: rgba(47, 51, 47, .42); background: var(--p4yqe-selection-soft); color: var(--p4yqe-ink); }
.p4yqe-scope-drawer-layer { position: fixed; z-index: 999999; top: var(--p4yqe-page-top); right: var(--p4yqe-drawer-right, 0px); bottom: 0; left: var(--p4yqe-drawer-left, 390px); display: grid; justify-items: end; overflow: hidden; }
.p4yqe-scope-drawer-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(246, 241, 233, .055); animation: p4yqeDrawerFadeIn .26s ease both; }
.p4yqe-scope-drawer-backdrop:hover, .p4yqe-scope-drawer-backdrop:focus { background: rgba(246, 241, 233, .055); outline: 0; }
.p4yqe-scope-details { position: relative; z-index: 1; display: grid; width: min(780px, calc(100% - 48px)); height: 100%; min-height: 0; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; border-left: 1px solid rgba(255, 255, 255, .78); border-radius: 26px 0 0 26px; background: rgba(251, 249, 245, .97); box-shadow: -24px 0 70px rgba(30, 26, 21, .16); animation: p4yqeDrawerIn .36s cubic-bezier(.22,.8,.2,1) both; -webkit-backdrop-filter: blur(24px) saturate(120%); backdrop-filter: blur(24px) saturate(120%); }
.p4yqe-scope-details:focus { outline: 0; }
.p4yqe-scope-drawer-handle { position: absolute; z-index: 2; top: 8px; left: 50%; display: none; transform: translateX(-50%); }
.p4yqe-scope-details-head { display: flex; min-height: 112px; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 28px 20px; border-bottom: 1px solid var(--p4yqe-line); background: rgba(255, 255, 255, .78); }
.p4yqe-scope-details-head span, .p4yqe-scope-details-head strong, .p4yqe-scope-details-head small, .p4yqe-scope-details-head em { display: block; }
.p4yqe-scope-details-head strong { margin-top: 5px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif; font-size: 28px; font-weight: 500; line-height: 1.08; }
.p4yqe-scope-details-head small { color: var(--p4yqe-accent-dark); font-size: 10px; font-weight: 600; text-transform: uppercase; }
.p4yqe-scope-details-head em { margin-top: 8px; color: var(--p4yqe-muted); font-size: 12px; font-style: normal; }
.p4yqe-scope-details-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.p4yqe-scope-details-head .p4yqe-scope-clear { min-height: 40px; padding: 0 13px; border-radius: 10px; background: #f1eee9; color: var(--p4yqe-muted); font-size: 10px; font-weight: 600; }
.p4yqe-scope-details-head .p4yqe-scope-close { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--p4yqe-line); border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--p4yqe-ink); }
.p4yqe-scope-close svg { width: 18px; height: 18px; }
.p4yqe-work-groups { display: grid; min-height: 0; grid-template-columns: 1fr; grid-auto-rows: max-content; align-content: start; gap: 12px; overflow-y: auto; padding: 18px 22px 24px; overscroll-behavior-y: contain; }
.p4yqe-work-group { min-width: 0; overflow: hidden; border: 1px solid var(--p4yqe-line); border-radius: 16px; background: rgba(255, 255, 255, .88); box-shadow: 0 10px 28px rgba(38, 32, 25, .05); }
.p4yqe-work-group-head { display: flex; width: 100%; min-height: 64px; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 15px 9px; background: transparent; color: var(--p4yqe-ink); text-align: left; }
.p4yqe-work-group-head span, .p4yqe-work-group-head strong, .p4yqe-work-group-head small { display: block; }
.p4yqe-work-group-head strong { font-size: 13px; }
.p4yqe-work-group-head small { margin-top: 1px; color: var(--p4yqe-muted); font-size: 10px; }
.p4yqe-work-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 3px 12px 14px; animation: p4yqeDetailsIn .2s ease both; }
.p4yqe-work-option { position: relative; display: flex; min-width: 0; min-height: 42px; align-items: center; gap: 9px; padding: 7px 9px; border: 1px solid var(--p4yqe-line); border-radius: 7px; background: var(--p4yqe-soft); color: var(--p4yqe-muted); cursor: pointer; }
.p4yqe-work-option input { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); width: 1px; height: 1px; opacity: 0; }
.p4yqe-work-option i { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; border: 1px solid var(--p4yqe-line-strong); border-radius: 5px; background: #fff; color: #fff; }
.p4yqe-work-option i svg { width: 12px; height: 12px; }
.p4yqe-work-option span { min-width: 0; font-size: 10px; line-height: 1.25; }
.p4yqe-work-option.is-checked { border-color: var(--p4yqe-selected-line); background: #f5f4f1; color: var(--p4yqe-ink); }
.p4yqe-work-option.is-checked i { border-color: var(--p4yqe-selection); background: var(--p4yqe-selection); color: #fff; }
.p4yqe-scope-details-foot { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 28px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--p4yqe-line); background: rgba(255, 255, 255, .9); }
.p4yqe-scope-details-foot span { color: var(--p4yqe-muted); font-size: 11px; }
.p4yqe-scope-details-foot span strong { color: var(--p4yqe-ink); }
.p4yqe-scope-details-foot button { min-width: 150px; min-height: 46px; padding: 0 22px; border-radius: 13px; background: #2f332f; color: #fff; font-size: 12px; font-weight: 600; }

.p4yqe-finish-grid { display: grid; grid-template-columns: repeat(var(--p4yqe-finish-count, 4), minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); align-items: stretch; }
.p4yqe-finish-card { position: relative; display: grid; min-width: 0; min-height: 290px; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; border: 1px solid var(--p4yqe-line); border-radius: 18px; background: rgba(255, 255, 255, .76); box-shadow: 0 12px 32px rgba(38, 32, 25, .07); transition: border-color .28s ease, box-shadow .28s ease, transform .28s cubic-bezier(.2,.8,.2,1), background .28s ease; -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%); }
.p4yqe-finish-card:hover { border-color: var(--p4yqe-line-strong); box-shadow: 0 18px 40px rgba(38, 32, 25, .11); transform: translateY(-4px); }
.p4yqe-finish-card.is-selected { border-color: var(--p4yqe-selected-line); background: rgba(248, 247, 244, .92); box-shadow: 0 0 0 1px rgba(23, 21, 18, .08), 0 22px 44px rgba(38, 32, 25, .13); transform: translateY(-4px); }
.p4yqe-finish-card > button { position: relative; display: grid; width: 100%; min-width: 0; min-height: 100%; align-content: center; justify-items: center; gap: 22px; padding: 32px 20px 30px; background: transparent; color: var(--p4yqe-ink); text-align: center; }
.p4yqe-finish-number { color: var(--p4yqe-muted); font-size: 11px; font-weight: 600; }
.p4yqe-finish-copy { display: grid; width: 100%; min-width: 0; justify-items: center; }
.p4yqe-finish-copy small { display: block; color: var(--p4yqe-accent-dark); font-size: 9px; font-weight: 600; letter-spacing: .12em; }
.p4yqe-finish-copy strong { display: block; width: 100%; min-width: 0; margin-top: 8px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif; font-size: clamp(18px, 1.45vw, 25px); font-weight: 500; line-height: 1.12; overflow-wrap: anywhere; }
.p4yqe-finish-copy p { max-width: 230px; margin: 14px auto 0; color: var(--p4yqe-muted); font-size: 12px; line-height: 1.55; overflow-wrap: break-word; }
.p4yqe-finish-card > button > i { position: absolute; top: 17px; right: 17px; display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: var(--p4yqe-selection); color: var(--p4yqe-selection-ink); animation: p4yqeCheckIn .28s cubic-bezier(.2,.9,.3,1.35); }
.p4yqe-finish-card > button > i:empty { display: none; }
.p4yqe-finish-card > button > i svg { width: 14px; height: 14px; }
.p4yqe-review { width: min(940px, 100%); margin: 0 auto; }
.p4yqe-final-summary { padding: clamp(18px, 3vw, 28px); border: 1px solid var(--p4yqe-line); border-radius: 12px; background: rgba(255, 255, 255, .82); box-shadow: 0 16px 42px rgba(38, 32, 25, .07); }
.p4yqe-final-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.p4yqe-final-summary-head > span { font-size: 12px; font-weight: 600; white-space: nowrap; }
.p4yqe-final-summary-head button, .p4yqe-room-summary-link { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; padding: 0 10px; background: transparent; color: var(--p4yqe-muted); font-size: 11px; font-weight: 600; }
.p4yqe-final-summary-head svg, .p4yqe-room-summary-link svg { width: 14px; height: 14px; }
.p4yqe-final-summary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--p4yqe-line); border-left: 1px solid var(--p4yqe-line); }
.p4yqe-final-summary dl > div { padding: 13px; border-right: 1px solid var(--p4yqe-line); border-bottom: 1px solid var(--p4yqe-line); }
.p4yqe-final-summary dt { color: var(--p4yqe-muted); font-size: 10px; }
.p4yqe-final-summary dd { margin: 4px 0 0; font-size: 13px; font-weight: 600; }
.p4yqe-review-scope { margin: 14px 0 0; padding: 0; list-style: none; }
.p4yqe-review-scope li { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--p4yqe-line); font-size: 11px; }
.p4yqe-review-scope li span { color: var(--p4yqe-muted); }
.p4yqe-summary-section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--p4yqe-line); }
.p4yqe-summary-section-head > strong { font-size: 12px; }
.p4yqe-summary-section-head > span { display: flex; gap: 6px; }
.p4yqe-summary-section-head button { min-height: 44px; padding: 0 13px; border-radius: 22px; background: var(--p4yqe-selection-soft); color: var(--p4yqe-ink); font-size: 10px; font-weight: 600; }

.p4yqe-contact-form { max-width: 780px; margin: 0 auto; }
.p4yqe-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.p4yqe-field { display: block; min-width: 0; }
.p4yqe-field > span { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 600; }
.p4yqe-field input, .p4yqe-field textarea { width: 100%; border: 1px solid var(--p4yqe-line-strong); border-radius: 8px; outline: 0; background: #fff; color: var(--p4yqe-ink); transition: border-color .2s ease, box-shadow .2s ease; }
.p4yqe-field input { min-height: 48px; padding: 0 13px; }
.p4yqe-field textarea { min-height: 104px; resize: vertical; padding: 12px 13px; }
.p4yqe-field input:focus, .p4yqe-field textarea:focus { border-color: var(--p4yqe-selected-line); box-shadow: 0 0 0 3px var(--p4yqe-focus-ring); }
.p4yqe-field--wide { grid-column: 1 / -1; }
.p4yqe-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; color: var(--p4yqe-muted); cursor: pointer; font-size: 11px; }
.p4yqe-consent input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.p4yqe-consent > i { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border: 1px solid var(--p4yqe-line-strong); border-radius: 5px; background: #fff; color: #fff; }
.p4yqe-consent input:checked + i { border-color: var(--p4yqe-selection); background: var(--p4yqe-selection); color: var(--p4yqe-selection-ink); }
.p4yqe-consent svg { width: 13px; height: 13px; }
.p4yqe-delivery-note { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 13px 14px; border-radius: 8px; background: var(--p4yqe-soft); color: var(--p4yqe-accent-dark); }
.p4yqe-delivery-note > svg { width: 20px; }
.p4yqe-delivery-note span, .p4yqe-delivery-note strong, .p4yqe-delivery-note small { display: block; }
.p4yqe-delivery-note strong { color: var(--p4yqe-ink); font-size: 11px; }
.p4yqe-delivery-note small { margin-top: 2px; color: var(--p4yqe-muted); font-size: 10px; }

.p4yqe-validation-slot { display: block; width: 100%; min-width: 0; min-height: 16px; margin-top: 4px; color: var(--p4yqe-danger); font-size: 10px; line-height: 1.25; text-align: left; }
.p4yqe-inline-error { display: block; width: 100%; margin: 0; color: var(--p4yqe-danger); font-size: 10px; font-weight: 600; line-height: 1.25; text-align: left; }
.p4yqe-field > .p4yqe-validation-slot { min-height: 16px; margin: 4px 0 0; font-size: 10px; font-weight: 500; }
.p4yqe-area-row > .p4yqe-validation-slot { grid-column: 2 / -1; margin-top: -3px; }
.p4yqe .is-invalid { border-color: rgba(164, 60, 52, .62) !important; box-shadow: 0 0 0 3px rgba(164, 60, 52, .09); }
.p4yqe [aria-invalid="true"] { border-color: rgba(164, 60, 52, .62) !important; box-shadow: 0 0 0 3px rgba(164, 60, 52, .09) !important; }
.p4yqe .is-error-attention { animation: p4yqeErrorNoteIn .24s cubic-bezier(.2,.75,.25,1) both; }
.p4yqe-empty { margin: 0; color: var(--p4yqe-muted); }
.p4yqe-workspace--success { display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; padding: 40px; }
.p4yqe-success { width: min(580px, 100%); text-align: center; }
.p4yqe-success-mark { position: relative; display: grid; width: 76px; height: 76px; place-items: center; margin: 0 auto 22px; border: 1px solid rgba(201, 150, 59, .5); border-radius: 50%; color: var(--p4yqe-accent-dark); }
.p4yqe-success-mark::after { position: absolute; inset: -1px; border: 1px solid var(--p4yqe-accent); border-radius: 50%; content: ""; animation: p4yqeSuccessRing .8s .18s ease-out both; }
.p4yqe-success-mark svg { width: 32px; height: 32px; }
.p4yqe-success > span { color: var(--p4yqe-accent-dark); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.p4yqe-success h2 { margin: 12px 0 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif; font-size: clamp(30px, 4vw, 46px); font-weight: 500; line-height: 1.08; }
.p4yqe-success > p { margin: 15px auto 0; color: var(--p4yqe-muted); font-size: 14px; }
.p4yqe-success > p strong { color: var(--p4yqe-ink); font-weight: 600; overflow-wrap: anywhere; }
.p4yqe .p4yqe-secondary-action, .p4yqe .p4yqe-secondary-action:link, .p4yqe .p4yqe-secondary-action:visited, .p4yqe .p4yqe-secondary-action:hover, .p4yqe .p4yqe-secondary-action:active {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 22px auto 0;
  padding: 0 20px;
  border: 1px solid rgba(46, 40, 32, .16);
  border-radius: 15px;
  background: rgba(255, 255, 255, .82);
  color: var(--p4yqe-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .96), 0 7px 20px rgba(35, 30, 24, .06);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transform: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.p4yqe .p4yqe-secondary-action:hover, .p4yqe .p4yqe-secondary-action:focus-visible { border-color: rgba(46, 40, 32, .24); box-shadow: inset 0 1px 0 #fff, 0 9px 22px rgba(35, 30, 24, .075); }
.p4yqe-secondary-action svg { width: 16px; height: 16px; }
.p4yqe-payment-card { width: min(480px, 100%); margin: 28px auto 0; padding: 20px; border: 1px solid var(--p4yqe-line); border-radius: 18px; background: rgba(255, 255, 255, .84); box-shadow: 0 18px 45px rgba(38, 32, 25, .09); text-align: left; -webkit-backdrop-filter: blur(18px) saturate(115%); backdrop-filter: blur(18px) saturate(115%); }
.p4yqe-payment-card > span { display: block; color: var(--p4yqe-muted); font-size: 11px; font-weight: 600; }
.p4yqe-payment-card > strong { display: block; margin-top: 4px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif; font-size: 30px; font-weight: 500; }
.p4yqe-payment-card > p { margin: 8px 0 16px; color: var(--p4yqe-muted); font-size: 12px; line-height: 1.5; }
.p4yqe-payment-card > a { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; border-radius: 13px; background: #2f332f; color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; }
.p4yqe-payment-card > a svg { width: 16px; height: 16px; }
.p4yqe-payment-card > a.is-disabled { cursor: not-allowed; opacity: .42; transform: none; }
.p4yqe-payment-consent { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; color: var(--p4yqe-muted); cursor: pointer; font-size: 11px; line-height: 1.45; }
.p4yqe-payment-consent input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.p4yqe-payment-consent > i { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border: 1px solid var(--p4yqe-line-strong); border-radius: 6px; background: #fff; color: #fff; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.p4yqe-payment-consent input:checked + i { border-color: var(--p4yqe-selection); background: var(--p4yqe-selection); color: var(--p4yqe-selection-ink); transform: scale(.96); }
.p4yqe-payment-consent svg { width: 13px; height: 13px; }
.p4yqe-payment-consent a { color: var(--p4yqe-ink); text-decoration: underline; text-underline-offset: 2px; }


.p4yqe-open { display: inline-flex; min-height: 48px; align-items: center; gap: 12px; padding: 0 20px; border-radius: 8px; background: var(--p4yqe-action); color: var(--p4yqe-action-ink); font-weight: 600; }
.p4yqe-backdrop { position: fixed; z-index: 99997; inset: 0; background: rgba(23, 21, 18, .54); }
.p4yqe--modal .p4yqe-shell:not([hidden]) { position: fixed; z-index: 99998; inset: 3vh 3vw; width: auto; }
.p4yqe--modal .p4yqe-app { height: 94vh; min-height: 0; align-items: stretch; overflow: hidden; }
.p4yqe--modal .p4yqe-brand-panel { position: relative; top: auto; height: auto; }
.p4yqe--modal .p4yqe-main { min-height: 0; grid-template-rows: 72px minmax(0, 1fr); }
.p4yqe--modal .p4yqe-workspace { min-height: 0; grid-template-rows: auto auto minmax(0, 1fr) auto; }
.p4yqe--modal .p4yqe-panel-body { overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; }
.p4yqe--modal .p4yqe-actions { position: static; }
.p4yqe-close { position: absolute; z-index: 99999; top: 10px; right: 10px; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--p4yqe-ink); font-size: 24px; }
.p4yqe-modal-open { overflow: hidden; }
.p4yqe button:focus-visible, .p4yqe input:focus-visible, .p4yqe textarea:focus-visible, .p4yqe a:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }

@keyframes p4yqeSpin { to { transform: rotate(360deg); } }
@keyframes p4yqeCheckIn { from { opacity: 0; transform: scale(.65); } to { opacity: 1; transform: scale(1); } }
@keyframes p4yqeDetailsIn { from { opacity: 0; transform: translateY(-10px) scaleY(.97); } to { opacity: 1; transform: translateY(0) scaleY(1); } }
@keyframes p4yqeDrawerFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes p4yqeDrawerIn { from { opacity: .72; transform: translateX(52px); } to { opacity: 1; transform: translateX(0); } }
@keyframes p4yqeSheetIn { from { opacity: .78; transform: translateY(46px); } to { opacity: 1; transform: translateY(0); } }
@keyframes p4yqeErrorNoteIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
@keyframes p4yqeSuccessRing { from { opacity: .75; transform: scale(.9); } to { opacity: 0; transform: scale(1.42); } }

@media (min-width: 2000px) {
  .p4yqe-app { grid-template-columns: 480px minmax(0, 1fr); }
  .p4yqe-panel-header > div, .p4yqe-panel-body > *, .p4yqe-alert { width: min(100%, 1500px); }
  .p4yqe-panel-header > div, .p4yqe-panel-body > * { margin-right: auto; margin-left: auto; }
  .p4yqe-alert { justify-self: center; }
  .p4yqe-finish-card { min-height: 310px; }
}

@container (max-width: 1320px) {
  .p4yqe-stepper button strong { display: none; }
  .p4yqe-stepper ol { gap: 10px; }
  .p4yqe-stepper button { justify-content: center; }
  .p4yqe-package-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 681px) and (max-height: 820px) {
  .p4yqe-actions { position: relative; bottom: auto; }
}

@media (max-width: 1180px) {
  .p4yqe-app { grid-template-columns: 285px minmax(0, 1fr); }
  .p4yqe-brand-panel { padding: 34px 28px; }
  .p4yqe-brand-copy h1 { font-size: 38px; }
  .p4yqe-stepper button strong { display: none; }
  .p4yqe-stepper ol { gap: 10px; }
  .p4yqe-stepper button { justify-content: center; }
  .p4yqe-investment-grid { gap: 8px; }
  .p4yqe .p4yqe-investment { height: 176px; padding: 18px 10px; }
  .p4yqe-investment-copy strong { font-size: 13px; }
  .p4yqe-investment-copy small { font-size: 10px; }
  .p4yqe-panel-body { padding-right: 30px; padding-left: 30px; }
  .p4yqe-panel-header, .p4yqe-actions { padding-right: 30px; padding-left: 30px; }
  .p4yqe-room-select-list { grid-template-columns: 1fr; }
  .p4yqe-finish-card { min-height: 270px; }
  .p4yqe-finish-card > button { padding-right: 12px; padding-left: 12px; }
  .p4yqe-finish-copy strong { font-size: clamp(17px, 2vw, 21px); }
  .p4yqe-package-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .p4yqe-app { min-height: 100dvh; height: auto; grid-template-columns: 1fr; grid-template-rows: 138px auto; }
  .p4yqe-brand-panel { position: relative; top: auto; display: grid; height: auto; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 28px; padding: 22px 28px; border-right: 0; border-bottom: 1px solid var(--p4yqe-line); }
  .p4yqe-brand-copy > span { margin-bottom: 7px; font-size: 9px; }
  .p4yqe-brand-copy h1 { font-size: 29px; }
  .p4yqe-brand-copy p { margin-top: 8px; font-size: 12px; line-height: 1.45; }
  .p4yqe-brand-visual { width: 100%; min-height: 92px; height: 92px; border-radius: 12px; }
  .p4yqe-brand-visual > i { display: none; }
  .p4yqe-brand-caption { right: 8px; bottom: 8px; left: 8px; padding: 10px 12px; }
  .p4yqe-brand-caption small, .p4yqe-brand-caption p { display: none; }
  .p4yqe-brand-caption strong { margin-top: 0; font-size: 17px; }
  .p4yqe-main { min-height: calc(100dvh - var(--p4yqe-page-top) - 138px); grid-template-rows: 60px auto; }
  .p4yqe-workspace { min-height: calc(100dvh - var(--p4yqe-page-top) - 198px); }
  .p4yqe-app-top { grid-template-columns: 70px minmax(0, 1fr) 62px; padding: 0 24px; }
  .p4yqe-panel-header { min-height: 100px; }
  .p4yqe-start { grid-template-columns: 1fr; }
  .p4yqe-investment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p4yqe-investment-grid > :last-child { grid-column: auto; }
  .p4yqe-start-basics { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
  .p4yqe-project-area { min-width: 0; }
  .p4yqe-review { grid-template-columns: 1fr; }
  .p4yqe-scope-drawer-layer { top: var(--p4yqe-page-top); left: 0; }
  .p4yqe-scope-details { width: min(720px, calc(100% - 54px)); }
}

@media (max-width: 680px) {
  .p4yqe { --p4yqe-page-top: 76px; }
  .p4yqe-stage { min-height: 100dvh; padding: 0; background: #fff; }
  .p4yqe-stage { padding-top: var(--p4yqe-page-top); }
  .p4yqe-app { min-height: calc(100dvh - var(--p4yqe-page-top)); height: auto; grid-template-rows: auto auto; border: 0; border-radius: 0; box-shadow: none; }
  .p4yqe-brand-panel { display: block; padding: calc(17px + env(safe-area-inset-top)) 20px 15px; }
  .p4yqe-brand-copy > span { margin-bottom: 5px; font-size: 8px; }
  .p4yqe-brand-copy h1 { font-size: 25px; }
  .p4yqe-brand-copy p { display: -webkit-box; max-width: 340px; margin-top: 5px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 11px; line-height: 1.4; white-space: normal; }
  .p4yqe-brand-visual { display: none; }
  .p4yqe-main { min-height: calc(100dvh - var(--p4yqe-page-top)); grid-template-rows: 52px auto; }
  .p4yqe-workspace { --p4yqe-actions-height: 70px; min-height: calc(100dvh - var(--p4yqe-page-top) - 52px); }
  .p4yqe-app-top { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; padding: 0 16px; }
  .p4yqe-stepper-area { display: none; }
  .p4yqe-stepper { min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .p4yqe-stepper::-webkit-scrollbar { display: none; }
  .p4yqe-stepper ol { display: flex; width: max-content; gap: 4px; }
  .p4yqe-stepper li { width: 44px; flex: 0 0 44px; }
  .p4yqe .p4yqe-stepper button { width: 44px; min-width: 44px; justify-content: center; }
  .p4yqe-stepper li:not(:last-child)::after { display: none; }
  .p4yqe-stepper button > i { width: 27px; height: 27px; flex-basis: 27px; font-size: 9px; }
  .p4yqe-step-count { font-size: 10px; }
  .p4yqe-panel-header { min-height: 92px; gap: 11px; padding: 14px 18px; }
  .p4yqe-step-badge { width: 34px; height: 34px; flex-basis: 34px; }
  .p4yqe-panel-header h2 { font-size: 25px; }
  .p4yqe-panel-header p { margin-top: 4px; font-size: 11px; line-height: 1.35; }
  .p4yqe-alert { margin: 9px 16px 0; }
  .p4yqe-panel-body { padding: 18px 16px 24px; }
  .p4yqe-actions { min-height: 70px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  .p4yqe .p4yqe-back { width: 48px; min-width: 48px; padding: 0; justify-content: center; border-radius: 14px; }
  .p4yqe-back span { display: none; }
  .p4yqe .p4yqe-next { min-width: 0; flex: 1 1 auto; min-height: 50px; padding: 0 14px; border-radius: 14px; font-size: 11px; }
  .p4yqe-mobile-dots { display: flex; flex: 0 0 auto; gap: 4px; }
  .p4yqe-mobile-dots i { width: 8px; height: 2px; border-radius: 2px; background: #d6d0c7; }
  .p4yqe-mobile-dots i.is-current { background: var(--p4yqe-action); }
  .p4yqe-investment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p4yqe-investment-grid > :last-child { grid-column: 1 / -1; }
  .p4yqe .p4yqe-investment { height: 132px; min-height: 0; padding: 17px 14px; border-radius: 14px; }
  .p4yqe-investment-copy strong { font-size: 13px; }
  .p4yqe-investment-copy small { font-size: 10px; }
  .p4yqe-start { gap: 24px; }
  .p4yqe-start-basics { display: grid; grid-template-columns: 1fr; gap: 19px; }
  .p4yqe-room-select-list { grid-template-columns: 1fr; }
  .p4yqe-room-select-row { grid-template-columns: 44px 36px minmax(0, 1fr) 110px; gap: 9px; padding: 10px; }
  .p4yqe-area-overview { gap: 6px; }
  .p4yqe-area-overview > div { padding: 10px 8px; }
  .p4yqe-area-overview strong { font-size: 14px; }
  .p4yqe-area-row { grid-template-columns: 34px minmax(0, 1fr); }
  .p4yqe-area-row .p4yqe-area-control { grid-column: 1 / -1; width: 100%; }
  .p4yqe-area-row > .p4yqe-validation-slot { grid-column: 1 / -1; }
  .p4yqe-area-control { grid-template-columns: 48px minmax(0, 1fr) 28px 48px; }
  .p4yqe-area-total { align-items: stretch; flex-direction: column; }
  .p4yqe-area-actions button { width: 100%; }
  .p4yqe-scope-layout { gap: 12px; }
  .p4yqe-scope-rooms { gap: 8px; padding: 2px 1px 5px; }
  .p4yqe-scope-rooms > button { min-width: 176px; flex-basis: 176px; }
  .p4yqe-room-photo { height: 104px; }
  .p4yqe-package-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p4yqe-package-options > button { min-height: 84px; }
  .p4yqe-package-head { align-items: flex-start; flex-direction: column; }
  .p4yqe-scope-tools:not(.is-empty) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .p4yqe .p4yqe-scope-action { width: 100%; min-height: 44px; padding: 6px 9px; font-size: 10px; line-height: 1.2; }
  .p4yqe-finish-grid { grid-template-columns: 1fr; gap: 10px; }
  .p4yqe-finish-card { min-height: 132px; }
  .p4yqe-finish-card > button { grid-template-columns: 28px minmax(0, 1fr); align-items: center; justify-items: start; gap: 12px; padding: 22px 52px 22px 17px; text-align: left; }
  .p4yqe-finish-copy { justify-items: start; }
  .p4yqe-finish-copy strong { margin-top: 4px; font-size: 22px; }
  .p4yqe-finish-copy p { max-width: none; margin: 8px 0 0; font-size: 11px; line-height: 1.45; }
  .p4yqe-scope-drawer-layer { position: fixed; z-index: 999999; top: 0; align-items: end; }
  .p4yqe-scope-details { width: 100%; height: min(92dvh, 840px); border: 0; border-top: 1px solid rgba(255, 255, 255, .82); border-radius: 24px 24px 0 0; animation-name: p4yqeSheetIn; }
  .p4yqe-scope-drawer-handle { display: block; width: 38px; height: 5px; border-radius: 999px; background: rgba(23, 21, 18, .2); }
  .p4yqe-scope-details-head { min-height: 98px; padding: 24px 18px 14px; }
  .p4yqe-scope-details-head strong { font-size: 24px; }
  .p4yqe-scope-details-head em { max-width: 390px; font-size: 11px; }
  .p4yqe-scope-details-head .p4yqe-scope-clear { display: none; }
  .p4yqe-work-groups { grid-template-columns: 1fr; gap: 10px; padding: 12px 14px 18px; }
  .p4yqe-work-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p4yqe-scope-details-foot { min-height: 66px; padding-right: 16px; padding-left: 16px; }
  .p4yqe-final-summary { padding: 15px; }
  .p4yqe-final-summary dl { grid-template-columns: 1fr; }
  .p4yqe-summary-section-head { align-items: flex-start; flex-direction: column; }
  .p4yqe-field-grid { grid-template-columns: 1fr; row-gap: 15px; }
  .p4yqe-field--wide { grid-column: auto; }
  .p4yqe-workspace--success { padding: 24px 18px; }
  .p4yqe-success h2 { font-size: 32px; }
  .p4yqe--modal .p4yqe-shell:not([hidden]) { inset: 0; }
  .p4yqe--modal .p4yqe-app { height: 100dvh; min-height: 0; grid-template-rows: 94px minmax(0, 1fr); }
  .p4yqe--modal .p4yqe-main { min-height: 0; grid-template-rows: 52px minmax(0, 1fr); }
  .p4yqe--modal .p4yqe-workspace { min-height: 0; }
}

@media (max-width: 440px) {
  .p4yqe-actions { padding-right: max(12px, env(safe-area-inset-right)); padding-left: max(12px, env(safe-area-inset-left)); }
  .p4yqe-room-select-row { grid-template-columns: 36px minmax(0, 1fr) 44px; gap: 10px; padding: 12px; }
  .p4yqe-room-toggle { width: 44px; height: 44px; grid-column: 3; grid-row: 1; }
  .p4yqe-room-icon { width: 36px; height: 36px; grid-column: 1; grid-row: 1; }
  .p4yqe-room-copy { grid-column: 2; grid-row: 1; }
  .p4yqe-counter { width: 100%; grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
  .p4yqe-scope-details-head em { display: none; }
  .p4yqe-scope-details-foot button { min-width: 132px; }
}

@media (max-width: 360px) {
  .p4yqe-panel-header h2 { font-size: 22px; }
  .p4yqe-investment-grid { grid-template-columns: 1fr; }
  .p4yqe-investment-grid > :last-child { grid-column: auto; }
  .p4yqe .p4yqe-investment { height: 148px; }
  .p4yqe-room-icon { display: none; }
  .p4yqe-room-select-row { grid-template-columns: minmax(0, 1fr) 44px; }
  .p4yqe-room-toggle { grid-column: 2; }
  .p4yqe-room-copy { grid-column: 1; }
  .p4yqe-counter { grid-column: 1 / -1; }
  .p4yqe-area-row { grid-template-columns: 1fr; }
  .p4yqe-area-row label { grid-column: 1 / -1; }
  .p4yqe-package-options { grid-template-columns: 1fr; }
  .p4yqe-mobile-dots { display: none; }
  .p4yqe-scope-tools:not(.is-empty) { grid-template-columns: 1fr; }
  .p4yqe .p4yqe-scope-action { min-height: 42px; }
  .p4yqe-work-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .p4yqe *, .p4yqe *::before, .p4yqe *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Tile allocation controls only; the other scope groups keep their existing layout. */
.p4yqe-tiles > p { padding: 0 12px; font-size: 11px; line-height: 1.5; }
.p4yqe-tiles fieldset { min-width: 0; margin: 10px 12px; padding: 10px; border: 1px solid var(--p4yqe-line); border-radius: 7px; }
.p4yqe-tiles legend { font-weight: 600; font-size: 12px; }
.p4yqe-tile-row { display: flex; align-items: end; gap: 8px; margin-bottom: 8px; }
.p4yqe-tile-row label { display: grid; gap: 4px; flex: 1; min-width: 0; font-size: 11px; }
.p4yqe-tile-row select, .p4yqe-tile-row input { width: 100%; min-width: 0; padding: 8px; border: 1px solid var(--p4yqe-line); border-radius: 5px; background: #fff; color: var(--p4yqe-ink); font-size: 12px; }
.p4yqe-tiles button { padding: 7px; border: 1px solid var(--p4yqe-line); border-radius: 5px; background: var(--p4yqe-soft); color: var(--p4yqe-ink); cursor: pointer; font-size: 11px; }
@media (max-width: 480px) { .p4yqe-tile-row { flex-wrap: wrap; } .p4yqe-tile-row label { flex-basis: 100%; } }

.p4yqe .p4yqe-total-area-control button:focus-visible,
.p4yqe .p4yqe-area-control button:focus-visible { outline: 2px solid #86868b; outline-offset: -5px; }

/* Service preview text remains readable without changing the calculator layout. */
.p4yqe-brand-visual.has-work-preview .p4yqe-brand-caption { max-height: 65%; overflow-y: auto; }
.p4yqe-brand-visual.has-work-preview .p4yqe-brand-caption p { display: block; }
.p4yqe-preview-materials b { font-weight: 600; }

.p4yqe-catalog-option{display:grid;gap:8px}.p4yqe-catalog-quantity{display:flex;align-items:center;gap:12px;padding:0 14px 12px;font-size:13px}.p4yqe-catalog-quantity[hidden]{display:none}.p4yqe-catalog-quantity input{width:110px;padding:8px;border:1px solid #d4d8df;border-radius:6px}

/* Optional room measurements are separate from the floor-area controls. */
.p4yqe-room-geometry { grid-column: 1 / -1; min-width: 0; font-size: 12px; }
.p4yqe-geometry-note, .p4yqe-room-geometry p { color: var(--p4yqe-muted); font-size: 12px; line-height: 1.6; }
.p4yqe-room-geometry details { padding: 8px 0; }
.p4yqe-room-geometry summary { cursor: pointer; }
.p4yqe-measurements { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.p4yqe-measurements label { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px; align-items: center; }
.p4yqe-measurements label > span { grid-column: 1 / -1; }
.p4yqe-measurements input { width: 100%; min-width: 0; }

/* One-place attic selection uses the existing room-toggle palette and spacing. */
.p4yqe-attic-selector { margin: 0 0 18px; padding: 16px; border: 1px solid var(--p4yqe-line); border-radius: 12px; background: var(--p4yqe-white); }
.p4yqe-attic-heading { display: grid; gap: 3px; margin-bottom: 12px; }
.p4yqe-attic-heading strong { font-size: 14px; }
.p4yqe-attic-heading span, .p4yqe-attic-selector > small { color: var(--p4yqe-muted); font-size: 12px; line-height: 1.5; }
.p4yqe-attic-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.p4yqe .p4yqe-attic-choice { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; min-height: 44px; margin: 0; padding: 9px 12px; border: 1px solid var(--p4yqe-line); border-radius: 8px; background: var(--p4yqe-soft); color: var(--p4yqe-ink); font-size: 12px; font-weight: 600; line-height: 1.4; text-align: left; }
.p4yqe-attic-choice span { min-width: 0; overflow-wrap: anywhere; }
.p4yqe-attic-choice i { display: grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; border: 1px solid var(--p4yqe-line-strong); border-radius: 50%; background: var(--p4yqe-white); font-style: normal; }
.p4yqe-attic-choice i svg { width: 12px; height: 12px; }
.p4yqe .p4yqe-attic-choice:hover { border-color: var(--p4yqe-line-strong); background: var(--p4yqe-selection-soft); color: var(--p4yqe-ink); }
.p4yqe .p4yqe-attic-choice.is-selected { border-color: var(--p4yqe-selection); background: var(--p4yqe-selection-soft); color: var(--p4yqe-ink); }
.p4yqe-attic-choice.is-selected i { border-color: var(--p4yqe-selection); background: var(--p4yqe-selection); color: var(--p4yqe-selection-ink); }
.p4yqe-attic-choice:focus-visible { outline: 2px solid var(--p4yqe-selection); outline-offset: 2px; }
.p4yqe-attic-selector > small, .p4yqe-attic-selector > .p4yqe-validation-slot { display: block; }

/* Scope step: continuous room image and an accessible miniature room-list scrollbar. */
.p4yqe[data-p4yqe-step="4"] .p4yqe-workspace { grid-template-rows: auto minmax(min-content, 1fr) auto auto; align-content: stretch; }
.p4yqe[data-p4yqe-step="4"] .p4yqe-panel-body { display: grid; padding-bottom: 0; }
.p4yqe[data-p4yqe-step="4"] .p4yqe-scope-layout { grid-template-rows: auto minmax(0, 1fr); }
.p4yqe-scope-navigation { min-width: 0; }
.p4yqe-scope-rooms { padding: 4px 4px 10px; touch-action: pan-x pan-y; scroll-snap-type: none; }
.p4yqe .p4yqe-scope-scroll { display: block; width: calc(100% - 8px); height: 20px; min-height: 20px; margin: 0 4px; padding: 0; border: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; box-shadow: none; }
.p4yqe .p4yqe-scope-scroll[hidden] { display: none; }
.p4yqe .p4yqe-scope-scroll::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--p4yqe-line-strong); }
.p4yqe .p4yqe-scope-scroll::-webkit-slider-thumb { width: 32px; height: 12px; margin-top: -4px; border: 0; border-radius: 8px; appearance: none; -webkit-appearance: none; background: var(--p4yqe-muted); }
.p4yqe .p4yqe-scope-scroll::-moz-range-track { height: 4px; border-radius: 4px; background: var(--p4yqe-line-strong); }
.p4yqe .p4yqe-scope-scroll::-moz-range-thumb { width: 32px; height: 12px; border: 0; border-radius: 8px; background: var(--p4yqe-muted); }
.p4yqe .p4yqe-scope-scroll:focus-visible { outline: 2px solid var(--p4yqe-selection); outline-offset: 2px; border-radius: 8px; }
.p4yqe[data-p4yqe-step="4"] .p4yqe-scope-editor { position: relative; isolation: isolate; padding: 118px 18px 20px; }
.p4yqe[data-p4yqe-step="4"] .p4yqe-room-photo { position: absolute; z-index: -1; inset: 0; height: auto; border-radius: 10px 10px 0 0; background-position: center top; pointer-events: none; }
.p4yqe[data-p4yqe-step="4"] .p4yqe-room-photo::after { inset: 0; background: linear-gradient(180deg, rgba(20,18,15,.20), rgba(20,18,15,.55)); }
.p4yqe[data-p4yqe-step="4"] .p4yqe-room-photo > span { top: 20px; right: 18px; bottom: auto; left: 18px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.p4yqe[data-p4yqe-step="4"] .p4yqe-package-head strong, .p4yqe[data-p4yqe-step="4"] .p4yqe-package-head small, .p4yqe[data-p4yqe-step="4"] .p4yqe-scope-tools p { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.p4yqe-package-block--three .p4yqe-package-head { justify-content: center; text-align: center; }
@media (min-width: 701px) {
  .p4yqe-package-options[data-package-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .p4yqe[data-p4yqe-step="4"] .p4yqe-scope-editor { padding: 104px 12px 18px; }
  .p4yqe[data-p4yqe-step="4"] .p4yqe-room-photo > span { right: 12px; left: 12px; }
  .p4yqe-package-block--three .p4yqe-package-head { align-items: center; }
  .p4yqe-package-options[data-package-count="3"] > button:last-child { grid-column: 1 / -1; width: calc(50% - 4.5px); justify-self: center; }
}
@media (max-width: 360px) {
  .p4yqe-package-options[data-package-count="3"] > button:last-child { width: 100%; }
}

/* Focused 1.8.27 presentation corrections, scoped to the existing calculator. */
.p4yqe .p4yqe-attic-area { display: grid; grid-template-columns: minmax(0,1fr) 100px 24px; gap: 8px; align-items: center; font-size: 12px; }
.p4yqe .p4yqe-attic-area input { width: 100%; padding: 10px; border: 1px solid var(--p4yqe-line-strong); border-radius: 8px; background: #fff; color: var(--p4yqe-ink); }
.p4yqe .p4yqe-attic-picker { margin: 14px 0; border-top: 1px solid var(--p4yqe-line); padding-top: 12px; }
.p4yqe .p4yqe-attic-picker summary { cursor: pointer; font-size: 12px; font-weight: 600; }
.p4yqe .p4yqe-attic-picker summary small { margin-left: 8px; color: var(--p4yqe-muted); font-weight: 400; }
.p4yqe .p4yqe-attic-picker .p4yqe-attic-options { margin-top: 12px; max-height: 176px; overflow-y: auto; padding: 4px; scrollbar-width: thin; }
.p4yqe .p4yqe-attic-picker p { color: var(--p4yqe-muted); font-size: 12px; }
.p4yqe .p4yqe-scope-rooms { padding: 8px 8px 12px; scroll-padding-inline: 8px; }
.p4yqe .p4yqe-package-block--three .p4yqe-package-head { justify-content: center; text-align: center; align-items: center; }
.p4yqe .p4yqe-package-options > button.is-selected { background: #fff; border-color: var(--p4yqe-line); box-shadow: inset 3px 0 0 var(--p4yqe-selection); transform: none; }
.p4yqe .p4yqe-package-options > button:not(.is-selected) { background: #fff; box-shadow: none; }
.p4yqe .p4yqe-package-options.is-invalid { outline: none; box-shadow: none; }
@media (min-width: 701px) { .p4yqe .p4yqe-package-options[data-package-count="3"] { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 700px) { .p4yqe .p4yqe-package-options[data-package-count="3"] > button:last-child { grid-column: 1 / -1; width: calc(50% - 4.5px); justify-self: center; } }
@media (max-width: 360px) { .p4yqe .p4yqe-attic-area { grid-template-columns: minmax(0,1fr) 80px 20px; } .p4yqe .p4yqe-package-options[data-package-count="3"] > button:last-child { width: 100%; } }
.p4yqe .p4yqe-area-control input { padding: 0 4px; border: 0; box-shadow: none; background: transparent; }
.p4yqe .p4yqe-area-row label > small { display: block; margin-top: 3px; color: var(--p4yqe-muted); font-size: 11px; }
.p4yqe .p4yqe-package-options > button[aria-invalid="true"] { border-color: var(--p4yqe-line) !important; box-shadow: none !important; }
.p4yqe[data-p4yqe-step="4"] .p4yqe-package-block .p4yqe-inline-error { display: block; margin-top: 10px; padding: 10px 12px; border-radius: 7px; background: rgba(255,255,255,.96); color: var(--p4yqe-danger); }

/* Room names remain in place; editing does not change the room type. */
.p4yqe .p4yqe-room-name { display: block; width: 100%; min-width: 0; height: auto; margin: 0; padding: 3px 0; border: 0; border-bottom: 1px solid var(--p4yqe-line); border-radius: 0; background: transparent; color: inherit; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.4; box-shadow: none; text-overflow: ellipsis; }
.p4yqe .p4yqe-room-name:hover { border-bottom-color: var(--p4yqe-line); }
.p4yqe .p4yqe-room-name:focus { outline: none; border-bottom-color: var(--p4yqe-line); background: transparent; box-shadow: none; }

/* Compact room-name row; isolate editable text from theme field styles. */
.p4yqe .p4yqe-area-row > label { align-self: center; margin: 0; padding: 0; }
.p4yqe .p4yqe-area-row > .p4yqe-validation-slot:empty { display: none; }
.p4yqe .p4yqe-area-row input.p4yqe-room-name,
.p4yqe .p4yqe-area-row input.p4yqe-room-name:hover,
.p4yqe .p4yqe-area-row input.p4yqe-room-name:focus,
.p4yqe .p4yqe-area-row input.p4yqe-room-name:focus-visible {
  appearance: none; width: 100%; height: auto !important; min-height: 0 !important;
  margin: 0 !important; padding: 3px 0 !important; border: 0 !important;
  border-bottom: 0 !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important; outline: none !important;
  font: inherit; font-size: 13px; font-weight: 600; line-height: 1.4; text-align: left;
  text-decoration: none !important; vertical-align: middle;
}

.p4yqe .p4yqe-area-row input.p4yqe-room-name { min-width: 44px; max-width: 100%; transition: none; cursor: text; user-select: text; -webkit-user-select: text; }

/* Focus has no field highlight; selection is limited to the edited text. */
.p4yqe .p4yqe-area-row input.p4yqe-room-name::selection { background: rgba(0, 122, 255, .14); color: inherit; text-shadow: none; }
.p4yqe .p4yqe-area-row:has(input.p4yqe-room-name:focus),
.p4yqe .p4yqe-area-row > label:has(input.p4yqe-room-name:focus) { outline: none !important; box-shadow: none !important; background: transparent !important; }

/* Keep glass actions readable independently of the underlying photo. */
.p4yqe .p4yqe-scope-action.p4yqe-apply-all.is-applied,
.p4yqe .p4yqe-scope-action.p4yqe-apply-all.is-applied:hover,
.p4yqe .p4yqe-scope-action.p4yqe-apply-all.is-applied:focus-visible { background: rgba(255,255,255,.94); color: #171512; border-color: rgba(47,51,47,.42); opacity: 1; }
.p4yqe .p4yqe-apply-all.is-applied > span { color: inherit; opacity: 1; }
/* These elements are refreshed in place; replaying entrance fades causes flashes. */
.p4yqe .p4yqe-package-options > button > i,
.p4yqe .p4yqe-work-list { animation: none; }

/* Allow stage labels to shrink inside their own navigation column. */
.p4yqe-stepper button > span { min-width: 0; flex: 1 1 auto; }

/* Touch devices: retain both scroll axes without browser gesture zoom. */
@media (any-pointer: coarse) {
  .p4yqe { touch-action: pan-x pan-y; }
  .p4yqe input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([data-total-area]),
  .p4yqe textarea,
  .p4yqe select { font-size: 16px !important; }
}

/* Astra's floating control must not cover the calculator's sticky navigation. */
body:has(.p4yqe--inline) #ast-scroll-top { display: none !important; }

/* Automatic quantities retain the existing catalogue row layout. */
.p4yqe .p4yqe-catalog-quantity small{display:block;font-size:11px;line-height:1.5;font-weight:400;color:#736b60;max-width:240px}
.p4yqe .p4yqe-quantity-auto{border:0;background:transparent;padding:4px 0;color:#8b6c37;font:inherit;font-size:11px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.p4yqe .p4yqe-quantity-auto[hidden]{display:none}
.p4yqe .p4yqe-catalog-quantity{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:6px 12px}.p4yqe .p4yqe-catalog-quantity small{grid-column:1/-1;max-width:none}.p4yqe .p4yqe-quantity-auto{justify-self:start;margin:0 14px 10px}

/* Remove Elementor's extra top inset only from containers hosting this calculator. */
.elementor .e-con-inner:has(> .elementor-widget-shortcode .p4yqe--inline),
.elementor .e-con:has(> .elementor-widget-shortcode .p4yqe--inline){padding-top:0!important}

/* Server-rendered introduction and FAQ remain readable without JavaScript. */
.p4yqe-seo-content{max-width:1120px;margin:28px auto;padding:24px;color:#302d28;line-height:1.75;font-size:16px}
.p4yqe-seo-content h2{font-size:clamp(22px,3vw,30px);line-height:1.3;margin:0 0 16px;color:inherit}
.p4yqe-seo-content p{margin:0 0 14px;max-width:850px}
.p4yqe-seo-faq details{border-bottom:1px solid #dedbd4;padding:18px 0}
.p4yqe-seo-faq summary{font-weight:600;cursor:pointer;padding:4px 0}
.p4yqe-seo-faq summary:focus-visible{outline:2px solid #276653;outline-offset:5px}
.p4yqe-seo-faq details>div{padding-top:12px}
@media(max-width:600px){.p4yqe-seo-content{margin:18px auto;padding:20px}}
/* Native help disclosure is part of the calculator surface, not a page appendix. */
.p4yqe .p4yqe-calculator-help{max-width:none;margin:0 0 0 clamp(300px,27%,390px);padding:0 clamp(24px,4vw,54px) 24px;color:var(--p4yqe-muted);font:400 13px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--p4yqe-bg)}
.p4yqe-calculator-help>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:72px;padding:18px 0;cursor:pointer;list-style:none;font-weight:500;border-top:1px solid rgba(29,29,31,.10);color:#424245}
.p4yqe-calculator-help>summary::-webkit-details-marker{display:none}
.p4yqe-calculator-help>summary::after{content:none}
.p4yqe-calculator-help>summary small{display:block;margin-top:3px;color:#6e6e73;font-size:11px;font-weight:400}
.p4yqe-calculator-help>summary>i{width:8px;height:8px;flex:0 0 8px;margin-right:3px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .2s ease}
.p4yqe-calculator-help[open]>summary>i{transform:rotate(225deg)}
.p4yqe-calculator-help>summary:focus-visible{outline:2px solid #0071e3;outline-offset:4px;border-radius:8px}
.p4yqe-calculator-help-body{padding:0 0 12px}
.p4yqe-calculator-help .p4yqe-seo-content{max-width:none;margin:20px 0 0;padding:0;font-size:14px;line-height:1.75;color:#515154}
.p4yqe-calculator-help .p4yqe-seo-content h2{font:600 18px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.02em;margin:0 0 12px;color:#1d1d1f}
.p4yqe-calculator-help .p4yqe-seo-faq details{border-color:rgba(29,29,31,.10)}
.p4yqe-calculator-help .p4yqe-seo-faq summary{font-weight:500;color:#424245}
@media(max-width:1180px){.p4yqe .p4yqe-calculator-help{margin-left:285px;padding-right:30px;padding-left:30px}}
@media(max-width:900px){.p4yqe .p4yqe-calculator-help{margin-left:0}}
@media(max-width:600px){.p4yqe .p4yqe-calculator-help{padding:0 20px 16px}.p4yqe-calculator-help>summary{min-height:68px}}
@media(prefers-reduced-motion:reduce){.p4yqe-calculator-help>summary>i{transition:none}}
@supports(interpolate-size:allow-keywords){
  .p4yqe-calculator-help::details-content{interpolate-size:allow-keywords;block-size:0;opacity:0;overflow:clip;transition:block-size .24s ease,opacity .18s ease,content-visibility .24s allow-discrete}
  .p4yqe-calculator-help[open]::details-content{block-size:auto;opacity:1}
}
@media(prefers-reduced-motion:reduce){.p4yqe-calculator-help::details-content{transition:none}}

/* AI origin remains legible when the upload module is unavailable. */
.p4yqe .p4yqe-project-work-badge{display:inline-flex;align-items:center;gap:4px;margin:3px 0 0 7px;padding:2px 6px;border:1px solid #b8cfc5;border-radius:5px;background:#edf5f1;color:#265b49;font-size:10px;font-weight: 600;line-height:1.4;white-space:nowrap;vertical-align:middle}
.p4yqe .p4yqe-project-work-badge>span{font-size:7px}
.p4yqe .p4yqe-ai-selection-legend{margin:0 0 14px;padding:10px 12px;border:1px solid #dce8e1;border-radius:8px;color:#38564a;background:#f5f9f6;font-size:12px;line-height:1.55}
.p4yqe .p4yqe-ai-selection-legend>span{margin-right:5px;font-weight: 600;color:#265b49}

/* Project details remain readable over the existing room photograph. */
.p4yqe .p4yqe-project-room-fields,.p4yqe .p4yqe-unpriced-scope{margin:16px 0;padding:18px;background:#fff;color:#302d28;border:1px solid #e3ded3;border-radius:10px}
.p4yqe .p4yqe-project-room-fields .p4yqe-field{margin-bottom:0}
.p4yqe .p4yqe-project-scope-note{margin:14px 0;padding:12px 14px;background:#f4f8f5;color:#38564a;border:1px solid #dce8e1;border-radius:8px;font-size:12px;line-height:1.6}
.p4yqe .p4yqe-unpriced-scope>strong{font-size:15px}
.p4yqe .p4yqe-review-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.p4yqe .p4yqe-review-heading>strong{font-size:14px}
.p4yqe .p4yqe-review-heading>span{flex-shrink:0;padding:3px 8px;border-radius:20px;background:#f1e9d9;color:#6e582e;font-size:11px;font-variant-numeric:tabular-nums}
.p4yqe .p4yqe-review-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:8px 0;color:#66512b;font-size:12px;font-weight:600;cursor:pointer;list-style:none}
.p4yqe .p4yqe-review-disclosure>summary::-webkit-details-marker,.p4yqe .p4yqe-summary-room>summary::-webkit-details-marker{display:none}
.p4yqe .p4yqe-review-disclosure>summary::after{content:'+';font-size:20px;font-weight:400}
.p4yqe .p4yqe-review-disclosure[open]>summary::after{content:'−'}
.p4yqe .p4yqe-review-disclosure>summary:focus-visible,.p4yqe .p4yqe-summary-room>summary:focus-visible{outline:2px solid #577364;outline-offset:4px;border-radius:6px}
.p4yqe .p4yqe-summary-rooms{display:grid;gap:14px;margin:18px 0 24px}
.p4yqe .p4yqe-summary-room{min-width:0;border:1px solid #e3ded3;border-radius:14px;background:#fff;overflow-wrap:anywhere}
.p4yqe .p4yqe-summary-room>summary{display:flex;align-items:center;gap:16px;min-height:76px;padding:18px 20px;cursor:pointer;list-style:none}
.p4yqe .p4yqe-summary-room>summary>span:first-child{min-width:0;flex:1}
.p4yqe .p4yqe-summary-room>summary strong{display:block;font-size:14px;font-weight: 600;line-height:1.5}
.p4yqe .p4yqe-summary-room>summary small{display:block;margin-top:5px;font-size:11px;color:#736b60;line-height:1.5}
.p4yqe .p4yqe-summary-room>summary::after{content:'+';flex-shrink:0;color:#736b60;font-size:21px;font-weight:400}
.p4yqe .p4yqe-summary-room[open]>summary::after{content:'−'}
.p4yqe .p4yqe-summary-room-count{font-size:11px;color:#736b60;white-space:nowrap;font-variant-numeric:tabular-nums}
.p4yqe .p4yqe-summary-room-body{padding:0 20px 18px}
.p4yqe .p4yqe-summary-room-body>h4{margin:0;padding-top:16px;border-top:1px solid #eee9df;font:600 12px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#625e55}
.p4yqe .p4yqe-summary-works{list-style:none;margin:6px 0 0;padding:0}
.p4yqe .p4yqe-summary-works>li{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #f0ede7;font-size:13px;line-height:1.55}
.p4yqe .p4yqe-summary-works>li>span{min-width:0}
.p4yqe .p4yqe-summary-works>li>small{flex-shrink:0;color:#4e5e52;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;text-align:right}
.p4yqe .p4yqe-summary-room-body>.p4yqe-unpriced-scope{margin:16px 0 0;background:#fcfaf5;border-color:#ebe3d4;box-shadow:none}
@media(max-width:600px){.p4yqe .p4yqe-summary-room>summary{padding:16px;gap:10px}.p4yqe .p4yqe-summary-room-body{padding:0 16px 16px}.p4yqe .p4yqe-summary-works>li{flex-wrap:wrap;gap:5px 16px}.p4yqe .p4yqe-summary-works>li>span{flex-basis:100%}.p4yqe .p4yqe-summary-works>li>small{text-align:left}.p4yqe .p4yqe-summary-room-count{font-size:10px}}
.p4yqe .p4yqe-unpriced-scope>p{margin:8px 0 14px;color:#665f54;font-size:12px;line-height:1.6}
.p4yqe .p4yqe-unpriced-scope ul{list-style:none;padding:0;margin:0}
.p4yqe .p4yqe-unpriced-scope li{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,220px);gap:10px;padding:12px 0;border-top:1px solid #eee9df;align-items:start;font-size:13px;line-height:1.55}
.p4yqe .p4yqe-unpriced-scope li small{color:#725925;font-size:11px;line-height:1.6;text-align:right}
@media(max-width:600px){.p4yqe .p4yqe-project-room-fields,.p4yqe .p4yqe-unpriced-scope{padding:15px}.p4yqe .p4yqe-unpriced-scope li{grid-template-columns:1fr;gap:4px}.p4yqe .p4yqe-unpriced-scope li small{text-align:left}}
.p4yqe .p4yqe-project-scope-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 14px}
.p4yqe .p4yqe-project-scope-heading h3{font-size:18px;font-weight:500;margin:0}
.p4yqe .p4yqe-project-editor .p4yqe-work-group-head strong{text-transform:none;letter-spacing:0;font-weight:500}
.p4yqe .p4yqe-stepper-area{white-space:normal;max-width:120px;line-height:1.4;overflow-wrap:normal}
.p4yqe[data-p4yqe-step="4"] .p4yqe-scope-editor:has(.p4yqe-project-editor){padding:20px;background:#f7f5f0;border:1px solid #e6e0d5;border-radius:16px}
.p4yqe[data-p4yqe-step="4"] .p4yqe-scope-editor:has(.p4yqe-project-editor)::before{display:none}
.p4yqe .p4yqe-project-editor .p4yqe-work-list{grid-template-columns:1fr}
.p4yqe .p4yqe-project-editor .p4yqe-catalog-option{gap:4px;padding:10px 0;border-bottom:1px solid #eee9df;align-content:start}
.p4yqe .p4yqe-project-editor .p4yqe-work-option{background:transparent;border-color:transparent;padding:6px 10px}
.p4yqe .p4yqe-project-editor .p4yqe-work-option.is-checked{background:#f5f7f3}
.p4yqe .p4yqe-project-editor .p4yqe-work-option>span{font-size:13px;line-height:1.5}
.p4yqe .p4yqe-project-editor .p4yqe-catalog-quantity{padding-bottom:2px;margin:0}
.p4yqe .p4yqe-project-editor .p4yqe-project-source-details{margin:2px 14px 6px}
.p4yqe .p4yqe-project-editor .p4yqe-work-group{background:#fff;backdrop-filter:none}
.p4yqe[data-p4yqe-step="4"] .p4yqe-project-editor .p4yqe-room-photo{position:relative;z-index:0;inset:auto;height:128px;border-radius:10px;overflow:hidden}
.p4yqe .p4yqe-project-area-reference{margin-top:12px;color:#6d6253;font-size:12px;line-height:1.6}
.p4yqe .p4yqe-project-area-reference summary{cursor:pointer}
.p4yqe .p4yqe-project-room-fields .p4yqe-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}
.p4yqe .p4yqe-project-room-fields .p4yqe-field{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#6d6253}
.p4yqe .p4yqe-project-room-fields select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #dcd7ce;border-radius:8px;background:#fff;color:#282720;font:inherit;font-size:14px}
.p4yqe .p4yqe-project-extra-row textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #dcd7ce;border-radius:8px;padding:10px;background:#fff;color:#282720;font:inherit;font-size:14px;line-height:1.5;resize:vertical}
@media(max-width:600px){.p4yqe[data-p4yqe-step="4"] .p4yqe-scope-editor:has(.p4yqe-project-editor){padding:12px}.p4yqe .p4yqe-project-extra-row>label:first-child{grid-column:1/-1}.p4yqe .p4yqe-project-extra-row{grid-template-columns:minmax(0,1fr) 32px}.p4yqe .p4yqe-project-extra-row .p4yqe-project-extra-remove{grid-column:2}}
.p4yqe .p4yqe-project-pending-note{display:block;margin:8px 12px;color:#6d6253;font-size:12px;line-height:1.5}
.p4yqe .p4yqe-project-source-details{margin:8px 12px 14px;color:#6d6253;font-size:12px;line-height:1.5}
.p4yqe .p4yqe-project-source-details summary{cursor:pointer}
.p4yqe .p4yqe-project-source-details li{margin:8px 0}
.p4yqe .p4yqe-project-source-details small{display:block}
.p4yqe .p4yqe-project-extra-row{display:grid;grid-template-columns:minmax(0,1fr) 120px 32px;gap:12px;padding:16px 12px;border-bottom:1px solid #ebe7df}
.p4yqe .p4yqe-project-extra-row>label,.p4yqe .p4yqe-project-extra-match label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#6d6253}
.p4yqe .p4yqe-project-extra-row input,.p4yqe .p4yqe-project-extra-match select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #dcd7ce;border-radius:8px;padding:10px;background:white;color:#282720;font:inherit;font-size:14px}
.p4yqe .p4yqe-project-extra-match{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:12px;color:#6d6253}
.p4yqe .p4yqe-project-extra-match button{background:none;border:0;padding:0;color:inherit;text-decoration:underline;font:inherit;cursor:pointer}
.p4yqe .p4yqe-project-extra-remove{align-self:end;border:0;background:none;width:32px;height:40px;color:#6d6253;cursor:pointer}
.p4yqe .p4yqe-project-extra-remove svg{width:18px;height:18px}
@media(max-width:600px){.p4yqe .p4yqe-project-extra-row{grid-template-columns:minmax(0,1fr) 90px 24px;gap:8px;padding:14px 4px}.p4yqe .p4yqe-project-scope-heading{gap:10px}.p4yqe .p4yqe-project-scope-heading .p4yqe-scope-action{font-size:12px}.p4yqe .p4yqe-project-extra-match label{width:100%}}


/* Restrained system typography and lighter selection states. */
.p4yqe .p4yqe-brand-copy h1{font-weight:600;letter-spacing:-.045em;line-height:1.08}
.p4yqe .p4yqe-panel-header h2{font-weight:600;letter-spacing:-.035em;line-height:1.15}
.p4yqe .p4yqe-brand-caption strong,.p4yqe .p4yqe-scope-details-head strong,.p4yqe .p4yqe-finish-copy strong{font-weight:600;letter-spacing:-.025em}
.p4yqe .p4yqe-scope-rooms>button.is-current{background:var(--p4yqe-selection-soft);box-shadow:none}
.p4yqe .p4yqe-segmented button.is-selected{box-shadow:none}
.p4yqe .p4yqe-finish-card.is-selected{box-shadow:0 6px 20px rgba(29,29,31,.06);transform:none}
.p4yqe .p4yqe-total-area-control:focus-within,
.p4yqe .p4yqe-area-control:focus-within{border-color:#86868b;box-shadow:none}
/* Area steppers are one field: focus and validation belong to the outer
   control, never to both the control and its nested text input. */
.p4yqe .p4yqe-total-area-control input,
.p4yqe .p4yqe-total-area-control input:focus,
.p4yqe .p4yqe-total-area-control input:focus-visible,
.p4yqe .p4yqe-area-control input,
.p4yqe .p4yqe-area-control input:focus,
.p4yqe .p4yqe-area-control input:focus-visible{border:0!important;outline:none!important;box-shadow:none!important}
.p4yqe .p4yqe-total-area-control.is-invalid,
.p4yqe .p4yqe-area-control.is-invalid,
.p4yqe .p4yqe-total-area-control:has(input[aria-invalid="true"]),
.p4yqe .p4yqe-area-control:has(input[aria-invalid="true"]){border-color:rgba(164,60,52,.62)!important;box-shadow:none}
.p4yqe input[data-project-room-area]:focus,
.p4yqe input[data-project-room-area]:focus-visible,
.p4yqe input[data-attic-area]:focus,
.p4yqe input[data-attic-area]:focus-visible{border-color:#86868b;outline:none;box-shadow:none!important}
.p4yqe button:focus:not(:focus-visible){outline:none}

/* AI is an origin marker in the ordinary catalogue, not a second editor. */
.p4yqe .p4yqe-project-work-badge{gap:4px;margin-left:6px;padding:0;border:0;border-radius:0;background:transparent;color:#62736a;font-size:9px;font-weight:400;line-height:1.5}
.p4yqe .p4yqe-project-work-badge>span{color:#2f9464;font-size:7px}
.p4yqe .p4yqe-ai-selection-legend{margin:0 0 16px;padding:0;border:0;border-radius:0;background:transparent;color:var(--p4yqe-muted);font-size:12px;font-weight:400}

/* Keep the ordinary scope editor within the visible screen, including themes
   that transform their page wrappers. Only the services list scrolls. */
.p4yqe-scope-drawer-layer { margin:0; padding:0; border:0; width:auto; height:auto; max-width:none; max-height:none; min-height:0; grid-template-rows:minmax(0,1fr); background:transparent; color:inherit; }
.p4yqe-scope-details { max-height:100%; box-sizing:border-box; }
.p4yqe-scope-details .p4yqe-work-groups { min-height:0; overscroll-behavior:contain; }
@media(max-width:680px) {
  .p4yqe-scope-details { height:min(92dvh,840px,100%); }
}

/* Quiet help link at the left edge, inside the calculator background. */
.p4yqe .p4yqe-calculator-help { margin:0; padding:0 clamp(18px,2vw,30px) 14px; }
.p4yqe .p4yqe-calculator-help>summary { justify-content:flex-start; width:fit-content; max-width:100%; min-height:36px; gap:10px; padding:8px 0; border:0; font-size:11px; font-weight:400; color:#6e6e73; }
.p4yqe .p4yqe-calculator-help>summary small { display:none; }
.p4yqe .p4yqe-calculator-help-body { max-width:960px; }
