/* Plan Your Home Today — shared public, customer and installation design. */
:root {
  --primary: #6a0dad;
  --secondary: #f0e5fa;
  --accent: #ff8c00;
  --bg: #faf8fe;
  --card: #fff;
  --text: #241333;
  --muted: #65576f;
  --border: #e5dbef;
  --house-ink: #361151;
  --house-copper: #6a0dad;
  --house-sand: #f0e5fa;
  --pyh-orange: #ff8c00;
  --pyh-green: #10b981;
  --pyh-blue: #0ea5e9;
  --heading: "Trebuchet MS", system-ui, sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --button-radius: 14px;
  --card-radius: 24px;
  --radius: 24px;
}
[data-theme=dark] {
  --primary: #9f58d3; --secondary: #342044; --accent: #ffac45;
  --bg: #1b1026; --card: #271935; --text: #f8efff; --muted: #cdbbdc; --border: #493256;
  --house-ink: #ead4ff;
  --house-copper: #d3a2ff;
  --house-sand: #362347;
}
:focus-visible {outline: 3px solid var(--pyh-orange); outline-offset: 4px;}
.house-page {font-size: 16px;}
.house-wrap {width: min(1340px, calc(100% - 64px));}
.house-page h1, .house-page h2, .house-page h3 {
  font-family: var(--heading); font-weight: 750; letter-spacing: -.035em;
}
.house-page h1 {font-size: clamp(2.5rem, 4.7vw, 4.6rem); line-height: 1.08;}
.house-page h2 {font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.15;}
.house-page h3 {font-size: 1.4rem; line-height: 1.3;}
.house-page p {font-size: 1rem; line-height: 1.75;}
.house-page .eyebrow {font-size: .875rem; font-weight: 750; letter-spacing: .09em; color: var(--house-copper);}
.house-page .button {font-size: 1rem; font-weight: 700; border-radius: var(--button-radius); gap: 10px; min-height: 52px; padding: 14px 22px;}
.house-page .button.secondary {border-color: var(--border); background: var(--card);}
.house-page .button:hover {box-shadow: 0 8px 24px #6a0dad1c;}
.house-page .house-text-link {font-size: .94rem; font-weight: 650; gap: 8px; color: var(--house-copper); text-decoration-thickness: 1px;}
.house-page select {padding-inline-end: 2.25rem; background-position: right .8rem center;}
.house-page .small, .house-page small {font-size: .875rem;}
.house-section {padding-block: 76px;}
.house-section-heading {max-width: 900px; margin-bottom: 32px;}
.house-section-heading .eyebrow {margin-bottom: 14px;}
.house-section-heading.side > div {max-width: 760px;}
.house-section-heading > p {max-width: 720px;}
.house-copy {font-size: 1rem; max-width: 760px; margin-bottom: 30px;}
.house-header {background: var(--card); border-bottom: 1px solid var(--border); box-shadow: 0 3px 20px #34115205;}
.house-header-inner {min-height: 90px; width: min(1420px, calc(100% - 56px)); gap: 20px;}
.house-header .brand {max-width: none; gap: 12px; min-width: 0;}
.house-page .brand-name {font-size: 1.1rem; font-weight: 800; letter-spacing: -.025em; white-space: normal; line-height: 1.3;}
.house-page .brand small {font-size: .78rem; max-width: none; color: var(--muted); font-weight: 400; margin-top: 4px;}
.brand-logo {width: 58px; height: 58px; flex: 0 0 58px; object-fit: contain; border-radius: 50%; background: #fff;}
.house-header .brand-country {order: 3; margin-inline-start: 8px;}
.house-header .header-tools {gap: 14px; flex: 0 0 auto;}
.house-header .header-tools select {font-size: .875rem; min-height: 44px; max-width: 110px; padding: 7px 24px 7px 8px;}
.house-auth-button, .house-signin {font-size: .875rem; font-weight: 600;}
.pyh-nav-strip {width: min(1420px, calc(100% - 56px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 50px; border-top: 1px solid var(--border);}
.house-nav {gap: 26px;}
.house-nav > a {font-size: .875rem; padding: 12px 0; font-weight: 600; border-bottom: 3px solid transparent;}
.house-nav > a:hover, .house-nav > a[aria-current=page] {color: var(--house-copper); border-bottom-color: var(--pyh-orange);}
.pyh-nav-note {font-size: .8rem; display: flex; align-items: center; gap: 8px; color: var(--muted);}
.pyh-nav-note .material-symbols-outlined {color: var(--pyh-green); font-size: 22px;}
.pyh-hero-shell {background: linear-gradient(120deg, var(--secondary), var(--bg) 65%, #ff8c000c); overflow: hidden;}
.pyh-hero-grid {display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; padding-block: 64px 86px; min-height: 680px;}
.pyh-hero-copy h1 {max-width: 640px; margin: 22px 0 24px;}
.pyh-hero-copy > p {max-width: 560px; font-size: 1.08rem; margin-bottom: 30px;}
.pyh-label {display: inline-flex !important; align-items: center; gap: 8px; margin-bottom: 0;}
.pyh-label .material-symbols-outlined {color: #d06b00; font-size: 23px;}
.pyh-hero-copy .actions .button:first-child {background: var(--primary); box-shadow: 0 8px 24px #6a0dad22;}
.pyh-hero-details {display: grid; gap: 12px; margin-top: 28px; font-size: .875rem; color: var(--muted);}
.pyh-hero-details span {display: flex; align-items: center; gap: 9px;}
.pyh-hero-details .material-symbols-outlined {font-size: 20px; color: var(--house-copper);}
.pyh-hero-visual {position: relative; min-width: 0; padding-bottom: 16px;}
.pyh-hero-visual::before {content: ""; position: absolute; width: 78%; aspect-ratio: 1; background: var(--pyh-orange); border-radius: 50%; inset-inline-end: -18%; top: -5%; opacity: .65;}
.pyh-hero-visual .house-hero-image {aspect-ratio: .98; border-radius: 150px 28px 28px 28px; border: 8px solid var(--card); box-shadow: 0 18px 60px #38124e15;}
.house-hero-image figcaption {padding: 88px 28px 32px; background: linear-gradient(transparent, #241333e8);}
.house-hero-image figcaption small {font-size: .75rem; font-weight: 650; letter-spacing: .09em;}
.house-hero-image figcaption strong {font: 750 clamp(1.4rem, 2vw, 2rem)/1.2 var(--heading);}
.house-hero-image figcaption span {font-size: .875rem;}
.pyh-visual-card {position: absolute; inset-inline-start: -24px; bottom: -10px; width: min(410px, 90%); display: flex; align-items: center; gap: 15px; padding: 20px; background: var(--card); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 12px 38px #34115218;}
.pyh-visual-card > .material-symbols-outlined {background: #10b9811c; color: #087856; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; font-size: 30px; flex-shrink: 0;}
.pyh-visual-card strong {display: block; font-size: 1rem; line-height: 1.4;}
.pyh-visual-card div > span {display: block; margin-top: 4px; color: var(--muted); font-size: .875rem; line-height: 1.4;}
.pyh-benefit-bar {padding-block: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--border);}
.pyh-benefit-bar > div {display: flex; align-items: center; gap: 10px; max-width: 200px; font-size: .875rem; font-weight: 600;}
.pyh-benefit-bar > div > .material-symbols-outlined {color: var(--house-copper); font-size: 26px;}
.pyh-benefit-bar > div:nth-child(2) > .material-symbols-outlined {color: #b45f00;}
.pyh-benefit-bar > div:nth-child(3) > .material-symbols-outlined {color: #087856;}
.pyh-benefit-bar > div:nth-child(4) > .material-symbols-outlined {color: #087cba;}
.house-grid {gap: 26px;}
.house-card {padding: 0; border: 1px solid var(--border); border-radius: 24px; overflow: hidden; background: var(--card); transition: box-shadow .2s, transform .2s;}
.house-card:hover {box-shadow: 0 12px 34px #34115210; transform: translateY(-3px);}
.house-card-picture {border-radius: 0; aspect-ratio: 1.5;}
.house-card-tag {font-size: .8rem; font-weight: 650; padding: 8px 12px; border-radius: 999px; background: #ffffffee; color: #4d176f;}
.house-card-body {padding: 24px;}
.house-card-title {align-items: start; gap: 10px;}
.house-page .house-card-title h3 {font-size: 1.35rem;}
.house-card-title > span {font-size: .875rem; color: var(--muted); white-space: nowrap;}
.house-card-body > p {font-size: .94rem;}
.house-card-foot {font-size: .875rem; display: grid; gap: 14px; padding-top: 15px;}
.house-card-foot > a {color: var(--house-copper); font-weight: 700; font-size: .94rem; justify-content: space-between;}
.pyh-empty-collection {display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 44px; border: 1px solid var(--border); border-radius: 28px; background: var(--card); padding: 32px 48px;}
.pyh-empty-collection img {max-height: 260px; width: 100%; object-fit: contain;}
.pyh-empty-collection h3 {font-size: 1.8rem;}
.pyh-document-band {background: #39115e; color: #fff; border-radius: 40px; margin-inline: 20px; padding-block: 72px;}
.house-document-grid {grid-template-columns: 1fr 1.08fr; gap: 70px; align-items: center;}
.pyh-document-band .eyebrow {color: #ffbb65;}
.pyh-document-band h2 {color: #fff;}
.pyh-document-band p {color: #e8d9f4;}
.pyh-document-band .button {background: var(--pyh-orange); color: #271132;}
.pyh-document-stack {display: grid; gap: 14px;}
.pyh-document-stack > article {display: flex; align-items: start; gap: 17px; padding: 22px; border: 1px solid #ffffff30; background: #ffffff0e; border-radius: 20px;}
.pyh-document-stack > article > .material-symbols-outlined {padding: 11px; border-radius: 13px; font-size: 26px; color: #ffbb65; background: #ffffff0d;}
.pyh-document-stack > article:nth-child(2) > .material-symbols-outlined {color: #70ddbd;}
.pyh-document-stack > article:nth-child(3) > .material-symbols-outlined {color: #72d4fc;}
.pyh-document-stack h3 {font-size: 1.1rem; margin-bottom: 5px; color: #fff;}
.pyh-document-stack p {font-size: .94rem; margin-bottom: 0;}
.pyh-document-stack > small {color: #e8d9f4; padding-inline: 10px;}
.house-how {background: none; margin-top: 0;}
.house-three {gap: 24px; margin-top: 34px;}
.house-three > article {position: relative; border: 1px solid var(--border); border-radius: 24px; background: var(--card); padding: 22px;}
.house-three .house-how-photo {width: 100%; height: 190px; object-fit: cover; border-radius: 16px; margin-bottom: 20px;}
.house-three h3 {font-size: 1.4rem; max-width: none;}
.house-three p {font-size: 1rem; max-width: none;}
.pyh-step-icon {position: absolute; inset-inline-end: 36px; top: 184px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: #6a0dad; border: 3px solid var(--card);}
.house-three > article:nth-child(2) .pyh-step-icon {background: #087856;}
.house-three > article:nth-child(3) .pyh-step-icon {background: #087cba;}
.pyh-service-banner {background: #0ea5e910; border: 1px solid #0ea5e92c; border-radius: 26px; padding: 38px; display: flex; gap: 32px; align-items: center; justify-content: space-between;}
.pyh-service-banner > div {max-width: 800px;}
.pyh-service-banner h2 {font-size: 2.3rem;}
.pyh-service-banner p {margin-bottom: 0;}
.pyh-service-banner .button {flex-shrink: 0;}
.house-faq {gap: 70px; grid-template-columns: .9fr 1.1fr;}
.house-faq details {border: 1px solid var(--border); border-radius: 18px; background: var(--card); padding: 0 22px; margin-bottom: 12px;}
.house-faq summary {font-size: 1rem; font-weight: 650; padding-block: 20px;}
.house-reviews {gap: 24px;}
.house-reviews blockquote {padding: 28px; border: 1px solid var(--border); border-radius: 22px; background: var(--card);}
.house-reviews blockquote > div {color: #a95b00;}
.house-reviews p, .house-reviews cite {font-size: 1rem;}
.house-article-card {border: 1px solid var(--border); border-radius: 24px; overflow: hidden; background: var(--card);}
.house-article-card > a {display: block; height: 100%; padding-bottom: 24px;}
.house-article-card img {aspect-ratio: 1.6; object-fit: cover; width: 100%; border-radius: 0; margin-bottom: 22px;}
.house-article-card :is(h3,p,.eyebrow,.house-text-link) {margin-inline: 24px;}
.house-article-card .eyebrow {font-size: .8rem;}
.house-article-card h3 {font-size: 1.4rem;}
.house-article-card p {font-size: .94rem;}
.house-final {border: 0; border-radius: 32px; background: linear-gradient(115deg, #3b115e, #6a0dad); color: #fff; margin-block: 12px 76px; padding: 56px; text-align: center;}
.house-final .eyebrow {color: #ffbb65;}
.house-final h2 {max-width: 850px; margin-inline: auto; color: #fff;}
.house-final .button {background: var(--pyh-orange); color: #271132;}
.house-final > .house-text-link {color: #fff; margin-inline: 20px;}
.house-payment-row {font-size: .875rem; justify-content: center;}
.house-final .house-payment-row {color: #eadcf5; margin-top: 28px;}
.house-final .payment-badges {background: #fff; padding: 8px 14px; border-radius: 14px;}
.pyh-footer {background: #241333; color: #f8efff; border-top: 0; border-radius: 40px 40px 0 0; padding-top: 54px;}
.pyh-footer-top {display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; padding-bottom: 40px; border-bottom: 1px solid #ffffff26;}
.pyh-footer .brand small {color: #cfc0db;}
.pyh-footer-top p {max-width: 450px; color: #cfc0db; margin-top: 22px;}
.pyh-footer-prompt {display: flex; align-items: center; gap: 28px;}
.pyh-footer-prompt h2 {font-size: 2rem; margin-bottom: 0; color: #fff;}
.pyh-footer .button {background: #ff8c00; color: #271132; flex-shrink: 0;}
.pyh-footer .house-footer-grid {padding-block: 40px; grid-template-columns: repeat(3, 1fr);}
.pyh-footer .house-footer-grid h3 {font-size: 1rem; color: #fff; font-weight: 700;}
.pyh-footer .house-footer-grid a {display: block; font-size: .94rem; color: #cfc0db; margin-block: 10px;}
.pyh-footer a:hover {color: #ffb455;}
.pyh-footer .house-footer-bottom {font-size: .875rem; color: #cfc0db; border-color: #ffffff26; padding-block: 24px;}
.pyh-page-intro {background: var(--secondary); border-radius: 28px; padding: 40px; max-width: none; margin-bottom: 40px;}
.pyh-page-intro h1 {max-width: 980px; font-size: clamp(2.3rem, 4vw, 3.8rem);}
.pyh-page-intro p {margin-bottom: 0; margin-top: 18px;}
.pyh-catalogue-grid {display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start;}
.pyh-filter-panel {padding: 26px; background: var(--card); border: 1px solid var(--border); border-radius: 24px; position: sticky; top: 165px;}
.house-page .pyh-filter-panel h2 {font-size: 1.45rem;}
.pyh-filter-panel .house-filter {display: grid; grid-template-columns: 1fr; gap: 18px; border: 0; padding: 0; margin: 24px 0;}
.pyh-filter-panel label {font-size: .94rem;}
.pyh-filter-help {padding-top: 24px; border-top: 1px solid var(--border);}
.pyh-filter-help > .material-symbols-outlined {color: var(--pyh-blue);}
.pyh-filter-help p {font-size: .94rem;}
.pyh-results .house-grid {grid-template-columns: repeat(2, minmax(0, 1fr));}
.pyh-results-heading {display: flex; gap: 20px; justify-content: space-between; font-size: .875rem; color: var(--muted); margin: 4px 0 22px;}
.pyh-empty-state {grid-column: 1 / -1; padding: 70px 32px; background: var(--card); border: 1px dashed var(--border); border-radius: 24px; text-align: center;}
.pyh-empty-state > .material-symbols-outlined {font-size: 54px; color: var(--house-copper);}
.house-page .pyh-empty-state h2 {font-size: 1.75rem; margin-block: 22px 14px;}
.pyh-detail-top {display: grid; grid-template-columns: 1.05fr 1fr; gap: 42px; align-items: start; margin-top: 26px;}
.pyh-detail-top .house-design-picture {margin: 0; aspect-ratio: auto; border-radius: 26px; overflow: hidden; background: var(--secondary);}
.pyh-detail-top .house-design-picture > img {display: block; width: 100%; aspect-ratio: 1; object-fit: cover;}
.pyh-detail-top figcaption {font-size: .875rem; padding: 16px 20px; background: var(--card); color: var(--muted);}
.pyh-detail-summary h1 {font-size: clamp(2.25rem, 3.5vw, 3.5rem); margin-block: 16px 20px;}
.house-facts {gap: 14px 24px; padding-block: 20px; font-size: .94rem; border-color: var(--border);}
.pyh-detail-summary .house-facts {display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 24px;}
.house-facts .material-symbols-outlined {color: var(--house-copper);}
.house-paper {border-radius: 24px; padding: 30px; border: 1px solid var(--border); background: var(--card);}
.house-paper h2 {font-size: 1.75rem;}
.house-page .pyh-detail-summary .house-paper h2 {font-size: 1.6rem;}
.pyh-detail-summary .house-paper .button {margin-top: 8px;}
.pyh-brief-panel {background: var(--secondary); border-radius: 26px; padding: 36px; margin-block: 40px; gap: 50px;}
.house-feature-pills span, .house-preview-tags span {font-size: .875rem; padding: 8px 12px; border-radius: 999px; background: var(--secondary); color: var(--text);}
.pyh-brief-panel .house-feature-pills span {background: var(--card);}
.house-gallery figure {border-radius: 22px; overflow: hidden;}
.house-document-tabs {gap: 10px;}
.house-document-tabs button {font-size: .875rem; border-radius: 12px;}
.house-document-tabs button.active {background: var(--primary); color: #fff;}
.house-lock-panel {border-radius: 22px; background: var(--secondary); padding: 30px;}
.house-lock-panel p {font-size: 1rem;}
.house-checklist {font-size: 1rem; gap: 12px;}
.house-checklist .material-symbols-outlined {color: #087856;}
.pyh-question-layout {display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; gap: 42px; padding-block: 42px 64px;}
.pyh-question-aside {background: linear-gradient(150deg, #6a0dad, #39115e); color: #fff; padding: 30px; border-radius: 26px; position: sticky; top: 166px;}
.pyh-question-aside .eyebrow {color: #ffbb65;}
.house-page .pyh-question-aside h2 {font-size: 1.9rem; color: #fff;}
.pyh-question-aside p, .pyh-question-aside small {color: #ead9f7;}
.pyh-question-aside > img {width: 86px; height: 86px; object-fit: contain; border-radius: 50%; background: #fff; margin: 24px 0 14px; display: block;}
.pyh-question-aside > small {display: block; line-height: 1.6;}
.pyh-brief-topics {display: grid; gap: 18px; margin-top: 28px; font-size: .94rem;}
.pyh-brief-topics > div {display: flex; align-items: center; gap: 12px;}
.pyh-brief-topics .material-symbols-outlined {color: #79d6fc;}
.pyh-brief-topics > div:nth-child(2) .material-symbols-outlined {color: #ffbb65;}
.pyh-brief-topics > div:nth-child(3) .material-symbols-outlined {color: #70ddbd;}
.pyh-question-layout .house-question-wrap {width: 100%; max-width: none; margin: 0; padding: 0;}
.house-question-meta {font-size: .875rem; font-weight: 700; margin-bottom: 12px;}
.house-question-progress {height: 8px; border-radius: 999px; background: var(--secondary); margin-bottom: 24px; overflow: hidden;}
.house-question-progress > span {background: linear-gradient(90deg, #6a0dad, #ff8c00); border-radius: inherit;}
.house-question {padding: 34px; border: 1px solid var(--border); border-radius: 26px; background: var(--card); margin-bottom: 0;}
.house-page .house-question h1 {font-size: clamp(1.85rem, 3vw, 2.8rem); line-height: 1.15;}
.house-question-description {font-size: 1rem;}
.house-question .eyebrow {font-size: .8rem;}
.house-option {border-radius: 16px; padding: 18px; font-size: 1rem; border: 1px solid var(--border); background: var(--bg);}
.house-option.selected {border: 2px solid var(--primary); background: var(--secondary);}
.house-options.visual-options {gap: 14px;}
.house-options.visual-options .house-option {border-radius: 18px;}
.house-question-actions {padding-top: 24px; margin-top: 0;}
.house-question input, .house-question select {min-height: 52px; font-size: 1rem;}
.house-info-photo {border-radius: 18px; overflow: hidden;}
.house-calculating {min-height: 65vh; padding: 60px 24px;}
.house-calculating h1 {max-width: 850px;}
.house-build-loader {color: var(--primary); background: var(--secondary); border-color: var(--border);}
.house-calculating > strong {color: var(--house-copper);}
.pyh-login {display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; min-height: 640px; padding-block: 60px 76px;}
.pyh-login-form h1 {font-size: clamp(2.5rem, 4vw, 3.75rem);}
.pyh-login-form .house-paper {margin-top: 24px; padding: 28px; box-shadow: 0 12px 40px #34115208;}
.pyh-login-story {background: linear-gradient(145deg, #6a0dad, #351057); color: #fff; padding: 48px; border-radius: 36px 120px 36px 36px; min-height: 490px; display: flex; flex-direction: column; justify-content: center;}
.pyh-login-story img {width: 150px; height: 150px; object-fit: contain; border-radius: 50%; background: #fff; margin-bottom: 28px;}
.pyh-login-story h2 {color: #fff; font-size: 2.5rem;}
.pyh-login-story p {color: #ead9f7;}
.pyh-login-story > span {display: flex; align-items: center; gap: 9px; color: #ffbb65; font-size: .94rem;}
.pyh-login-new {margin-top: 22px;}
.pyh-login-new a {color: var(--house-copper); text-decoration: underline; font-weight: 650;}
.pyh-preview-hero {display: grid; grid-template-columns: 1fr 1.05fr; gap: 46px; align-items: center; padding-block: 48px 32px;}
.pyh-preview-hero .house-preview-heading {width: 100%; padding: 0; margin: 0;}
.pyh-preview-hero .house-preview-heading h1 {font-size: clamp(2.3rem, 4vw, 3.7rem);}
.pyh-preview-hero .house-preview-photo {margin: 0; width: 100%; aspect-ratio: 1.15; border-radius: 28px; overflow: hidden;}
.pyh-preview-hero .house-preview-photo img {height: 100%; object-fit: cover;}
.house-preview-tags {gap: 10px;}
.house-preview-tags > span:first-child {background: #10b9811c; color: #087856; font-weight: 700;}
.house-centered-action {margin-top: 28px; background: var(--card); padding: 24px; border-radius: 22px; border: 1px solid var(--border); gap: 14px;}
.house-brief-grid {gap: 38px;}
.house-pricing-toolbar {padding: 20px; border: 1px solid var(--border); border-radius: 20px; background: var(--card); margin-block: 24px;}
.pill-tabs button {font-size: .94rem;}
.house-pricing-grid {gap: 22px; align-items: stretch;}
.house-price-card {padding: 30px; border-radius: 26px; border: 1px solid var(--border); background: var(--card);}
.house-price-card h3 {min-height: 3.5rem; font-size: 1.5rem;}
.house-price-card.best {background: #4e1479; color: #fff; border: 2px solid #ff8c00; box-shadow: 0 14px 40px #6a0dad1c;}
.house-price-card.best p, .house-price-card.best small, .house-price-card.best .muted, .house-price-card.best del, .house-price-card.best .house-availability {color: #ead9f7;}
.house-price-card.best .house-checklist {color: #fff;}
.house-price-card.best .house-checklist .material-symbols-outlined {color: #70ddbd;}
.house-price-card.best .button {background: #ff8c00; color: #271132; border-color: transparent;}
.house-price-card.best .house-missing-scope {color: #ead9f7;}
.house-price-card .house-price strong {font: 800 2.2rem/1.2 var(--heading);}
.house-best-tag {border-radius: 999px; background: #ff8c00; color: #271132; font-size: .875rem; padding: 7px 14px; font-weight: 750;}
.house-price-card .house-availability {border-color: var(--border); border-radius: 16px; font-size: .94rem;}
.house-price-card.best .house-availability {background: #ffffff10; border-color: #ffffff38;}
.house-pricing-intro > p {max-width: 850px;}
.pyh-workspace {display: grid; grid-template-columns: 215px minmax(0, 1fr); align-items: start; gap: 30px; padding-block: 34px 70px;}
.pyh-workspace-rail {position: sticky; top: 165px; padding: 25px 20px; background: var(--card); border: 1px solid var(--border); border-radius: 24px;}
.pyh-workspace-rail .eyebrow {font-size: .8rem;}
.house-page .pyh-workspace-rail h2 {font-size: 1.45rem;}
.pyh-workspace .house-account-nav {position: static; transform: none; display: grid; grid-template-columns: 1fr; width: 100%; border: 0; box-shadow: none; background: transparent; padding: 0; margin: 28px 0; gap: 8px;}
.pyh-workspace .house-account-nav a {display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 13px 11px; font-size: .875rem; border-radius: 12px; color: var(--muted); text-align: start;}
.pyh-workspace .house-account-nav a.active {background: var(--secondary); color: var(--house-copper); font-weight: 700;}
.pyh-workspace .house-account-nav .material-symbols-outlined {font-size: 22px;}
.pyh-workspace-help {display: flex; align-items: start; gap: 9px; padding-top: 22px; border-top: 1px solid var(--border); font-size: .875rem; color: var(--house-copper);}
.pyh-workspace > .house-account {width: 100%; min-width: 0; padding: 0 0 70px; margin: 0;}
.house-page .house-account h1 {font-size: clamp(2rem, 3.2vw, 3rem);}
.house-account-heading {display: grid; gap: 22px; margin-bottom: 28px;}
.house-account-heading .actions {justify-content: flex-start;}
.house-selected-download {background: var(--secondary); border-color: var(--border); border-radius: 24px;}
.house-project-banner {border: 1px solid var(--border); background: var(--card); border-radius: 26px; overflow: hidden; grid-template-columns: 1.15fr 1fr;}
.house-project-banner > div:first-child {order: 2;}
.house-project-banner > div:last-child {order: 1; padding: 28px;}
.house-project-banner > div:first-child > img {height: 100%; width: 100%; object-fit: cover;}
.house-page .house-project-banner h2 {font-size: 1.9rem;}
.house-project-stats {gap: 18px; margin-block: 26px;}
.house-project-stats article {padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--secondary);}
.house-project-stats article:nth-child(2) {background: #10b98113;}
.house-project-stats article:nth-child(3) {background: #0ea5e913;}
.house-project-stats article > span {font-size: .875rem;}
.house-project-stats strong {color: var(--house-copper); font: 800 2.1rem var(--heading);}
.house-account .house-section {padding-block: 30px;}
.house-account .house-section-heading h2 {font-size: 2rem;}
.house-project-grid {gap: 22px;}
.house-project-grid .house-paper {padding: 26px;}
.house-progress-card, .house-record, .house-day-item {border-radius: 16px;}
.house-room-row {font-size: .94rem; gap: 18px;}
.house-record {border-color: var(--border); padding: 18px 0;}
.house-record time {font-size: .875rem; color: var(--house-copper);}
.house-service-grid {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;}
.house-service-grid > :last-child:nth-child(odd) {grid-column: 1 / -1;}
.house-service-grid .house-paper {padding: 30px; border-radius: 24px;}
.house-service-grid h3 {font-size: 1.7rem;}
.house-service-grid .house-service-icon {background: var(--secondary); color: var(--house-copper); border-radius: 16px; width: 56px; height: 56px;}
.house-service-featured {border: 2px solid var(--primary);}
.house-service-price {font-size: 1.2rem !important;}
.pyh-services-head {padding: 40px; border-radius: 28px; background: var(--secondary); max-width: none;}
.pyh-services-head h1 {max-width: 950px;}
.house-service-section {scroll-margin-top: 165px;}
.pyh-journal-grid > .house-article-card:first-child {grid-column: span 2;}
.pyh-journal-grid > .house-article-card:first-child img {aspect-ratio: 2.4;}
.pyh-journal-grid > .house-article-card:first-child h3 {font-size: 2rem;}
.pyh-article {max-width: 1340px; padding-block: 50px;}
.pyh-article-heading {display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-block: 30px 48px;}
.pyh-article-heading h1 {font-size: clamp(2.1rem, 3.7vw, 3.5rem);}
.pyh-article-heading .house-article-cover {margin: 0; height: 100%; aspect-ratio: 1.1; border-radius: 26px; object-fit: cover;}
.pyh-article .house-article-body {max-width: 800px; margin-inline: auto; background: var(--card); padding: 40px; border: 1px solid var(--border); border-radius: 24px;}
.pyh-article .house-article-body h2 {font-size: 1.8rem; margin-top: 32px;}
.pyh-article .house-final {margin-top: 50px; width: 100%;}
.pyh-legal-heading {max-width: 950px; margin-bottom: 40px;}
.pyh-legal-heading h1 {margin-bottom: 20px;}
.pyh-legal-grid {display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start;}
.pyh-legal-grid > aside {display: grid; gap: 16px; padding: 26px; border-radius: 22px; background: var(--secondary); position: sticky; top: 165px;}
.house-page .pyh-legal-grid > aside h2 {font-size: 1.35rem; margin-bottom: 12px;}
.pyh-legal-grid > aside a {font-size: .94rem; color: var(--house-copper); text-decoration: underline; text-underline-offset: 4px;}
.pyh-legal-grid > article {padding: 40px;}
.house-page .pyh-legal-grid > article h2 {font-size: 1.8rem; margin-top: 28px; scroll-margin-top: 170px;}
.house-page .pyh-legal-grid > article h2:first-child {margin-top: 0;}
.pyh-legal-contact {display: flex; align-items: center; gap: 14px; background: var(--secondary); padding: 20px; border-radius: 16px; margin-top: 28px; overflow-wrap: anywhere;}
.pyh-legal-contact p {margin-bottom: 0;}
.pyh-legal-contact .material-symbols-outlined {color: var(--house-copper);}
.house-payment-result {max-width: 900px; margin-block: 54px 80px; border: 1px solid var(--border); border-radius: 30px; padding: 48px; background: var(--card); text-align: start;}
.house-payment-result .house-result-icon {background: var(--secondary); color: var(--house-copper); border-radius: 22px; margin: 0 0 24px;}
.house-payment-result h1 {font-size: clamp(2.2rem, 4vw, 3.5rem);}
.house-payment-result .actions {justify-content: flex-start;}
.house-page[data-page="/invite"] main {min-height: 60vh; max-width: 980px;}
.house-support-block {border-radius: 24px; border-color: var(--border);}
.house-verify-banner {border-color: var(--primary); background: var(--secondary); border-radius: 26px;}
.house-verify-copy .house-verify-primary {background: var(--primary);}
.house-verify-emblem, .house-verify-dock-icon {background: var(--primary);}
.house-locked-plan {border-radius: 24px;}
.house-locked-plan-badge {background: #361151ed;}
.house-account-unverified {max-width: 1340px;}
.house-reminder-card {background: var(--card);}
.house-reminder-switch input[type=checkbox][role=switch]:checked {background: var(--primary);}
.setup-body {background: linear-gradient(135deg, #f0e5fa, #faf8fe 60%, #fff0df); color: #241333;}
.setup-wrap {max-width: 1220px; width: calc(100% - 48px); padding-block: 32px 64px;}
.setup-body .brand {white-space: normal;}
.setup-body .brand > img {width: 64px; height: 64px; border-radius: 50%; object-fit: contain; background: #fff;}
.setup-body .brand > span {font-size: 1.05rem; letter-spacing: -.02em;}
.setup-body .brand small {font-size: .875rem;}
.setup-body h1 {font-family: var(--heading); font-weight: 800; font-size: clamp(2.5rem, 4vw, 4rem);}
.setup-body h2 {font-family: var(--heading); font-weight: 750; font-size: 2rem;}
.setup-body .card {border-radius: 28px; border: 1px solid #e5dbef; box-shadow: 0 18px 60px #6a0dad0d;}
.setup-body .setup-grid {gap: 64px;}
.setup-body .setup-steps b {background: #f0e5fa; color: #6a0dad; border-radius: 12px;}
.setup-body .button {background: #6a0dad; color: #fff; border-radius: 14px; font-size: 1rem;}
.page-loader {background: #faf8fe !important; color: #6a0dad !important; font-family: var(--body) !important;}
.page-loader strong {letter-spacing: -.02em !important; font-size: 1.2rem !important;}
.page-loader small {color: #65576f !important;}
.page-loader .house-loader-mark {color: #6a0dad;}
.modal {border-radius: 26px;}
.modal h2 {font-family: var(--heading); font-weight: 750; font-size: 1.75rem;}
.modal .button {border-radius: 14px; font-size: 1rem;}
@media (min-width: 1500px) {.pyh-nav-strip .house-nav {gap: 32px;}}
@media (max-width: 1180px) {
  .pyh-nav-note {display: none;}
  .pyh-nav-strip {justify-content: center;}
  .house-nav {gap: 28px;}
  .house-header .brand-country {display: none;}
  .house-header .brand small {max-width: 260px;}
  .pyh-hero-grid {gap: 36px;}
  .pyh-hero-copy h1 {font-size: 3.65rem;}
  .pyh-hero-copy .actions {align-items: stretch;}
  .pyh-hero-copy .actions .button {padding-inline: 18px;}
  .pyh-hero-visual .house-hero-image {aspect-ratio: .83;}
  .pyh-benefit-bar {justify-content: flex-start; gap: 24px 36px;}
  .house-document-grid {gap: 38px;}
  .pyh-footer-prompt {display: block;}
  .pyh-footer-prompt .button {margin-top: 24px;}
  .pyh-workspace {grid-template-columns: 190px minmax(0, 1fr); gap: 22px;}
  .house-account .house-project-grid {grid-template-columns: 1fr;}
  .house-account-heading .actions .button {font-size: .875rem;}
  .house-project-banner {grid-template-columns: 1fr;}
  .house-project-banner > div:first-child {order: 1; max-height: 300px;}
  .house-project-banner > div:last-child {order: 2;}
}
@media (max-width: 980px) {
  .house-page .brand-name {font-size: 1rem;}
  .house-header .header-tools {gap: 9px;}
  .house-header .header-tools > .button {display: none;}
  .pyh-hero-grid {gap: 28px; min-height: 600px;}
  .pyh-hero-copy h1 {font-size: 3.1rem;}
  .pyh-hero-copy > p {font-size: 1rem;}
  .pyh-visual-card {inset-inline-start: -14px; padding: 16px;}
  .pyh-visual-card > .material-symbols-outlined {display: none;}
  .pyh-catalogue-grid {grid-template-columns: 230px minmax(0, 1fr); gap: 22px;}
  .pyh-filter-panel {padding: 22px;}
  .pyh-results .house-grid {grid-template-columns: 1fr;}
  .house-grid {grid-template-columns: repeat(2, minmax(0, 1fr));}
  .house-three {gap: 16px;}
  .house-three > article {padding: 18px;}
  .house-three .house-how-photo {height: 150px;}
  .pyh-step-icon {top: 142px;}
  .house-three h3 {font-size: 1.25rem;}
  .pyh-question-layout {grid-template-columns: 240px minmax(0, 1fr); gap: 24px;}
  .pyh-question-aside {padding: 24px;}
  .house-question {padding: 26px;}
  .pyh-login {gap: 32px;}
  .pyh-login-story {padding: 34px;}
  .pyh-login-story h2 {font-size: 2rem;}
  .pyh-preview-hero {gap: 28px;}
  .pyh-preview-hero .house-preview-heading h1 {font-size: 2.75rem;}
  .pyh-workspace {grid-template-columns: 1fr;}
  .pyh-workspace-rail {position: static; padding: 20px; display: flex; align-items: center; gap: 20px;}
  .pyh-workspace-rail > .eyebrow {margin-bottom: 0;}
  .pyh-workspace-rail > h2, .pyh-workspace-help {display: none;}
  .pyh-workspace .house-account-nav {display: flex; justify-content: flex-end; margin: 0; gap: 8px;}
  .pyh-workspace .house-account-nav a {padding: 12px;}
  .house-pricing-grid {grid-template-columns: 1fr;}
  .house-price-card h3 {min-height: auto;}
  .pyh-legal-grid {grid-template-columns: 210px minmax(0, 1fr); gap: 24px;}
  .pyh-legal-grid > article {padding: 28px;}
}
@media (max-width: 800px) {
  html {scroll-padding-top: 90px;}
  .house-wrap {width: calc(100% - 36px);}
  .house-section {padding-block: 48px;}
  .house-header-inner {width: calc(100% - 30px); min-height: 80px; gap: 12px;}
  .house-header .brand {max-width: 270px; flex: 1 1 auto; gap: 9px;}
  .house-header .brand-logo {width: 46px; height: 46px; flex-basis: 46px;}
  .house-header .brand small {font-size: .7rem; max-width: 230px;}
  .house-header .header-tools {gap: 6px;}
  .house-header .header-tools select {max-width: 92px; font-size: .8rem; padding-inline-start: 2px;}
  .house-header .house-signin {display: none;}
  .house-menu {display: grid; border: 1px solid var(--border); width: 42px; height: 44px;}
  .pyh-nav-strip {width: 100%; min-height: 0; border: 0;}
  .house-nav {display: none;}
  .house-nav.open {position: absolute; inset: 80px 0 auto; padding: 20px; background: var(--card); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 0; align-items: stretch; max-height: calc(100dvh - 80px); overflow: auto;}
  .house-nav > a {font-size: 1rem; padding: 13px 8px;}
  .house-mobile-auth {margin-top: 14px;}
  .house-mobile-auth a, .house-mobile-auth button {font-size: 1rem;}
  .pyh-hero-grid {grid-template-columns: 1fr; padding-block: 38px 60px; gap: 34px;}
  .pyh-hero-copy {max-width: 640px;}
  .pyh-hero-copy h1 {font-size: clamp(2.6rem, 7.5vw, 3.6rem); max-width: 650px;}
  .pyh-hero-copy > p {max-width: 640px;}
  .pyh-hero-visual {margin-inline: 12px 0;}
  .pyh-hero-visual .house-hero-image {aspect-ratio: 1.5; border-radius: 90px 24px 24px 24px; border-width: 6px;}
  .pyh-visual-card {bottom: -8px; inset-inline-start: -12px; width: min(400px, 88%);}
  .pyh-visual-card > .material-symbols-outlined {display: grid; width: 42px; height: 42px; font-size: 26px;}
  .pyh-benefit-bar {display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; padding-block: 24px;}
  .pyh-benefit-bar > div {max-width: none; align-items: start; font-size: .875rem;}
  .pyh-benefit-bar > .house-text-link {grid-column: 1 / -1; justify-self: start;}
  .house-section-heading.side {align-items: start; flex-direction: column; gap: 18px;}
  .house-section-heading.side > div {max-width: 100%;}
  .house-page h1 {font-size: 2.6rem;}
  .house-page h2 {font-size: 2.2rem;}
  .house-page h3 {font-size: 1.4rem;}
  .house-grid {gap: 20px;}
  .house-card-body {padding: 20px;}
  .house-card-title {display: block;}
  .house-card-title > span {display: block; margin-bottom: 10px; max-width: none; text-align: start;}
  .pyh-empty-collection {grid-template-columns: 1fr; gap: 16px; padding: 26px;}
  .pyh-empty-collection img {max-height: 210px;}
  .pyh-document-band {margin-inline: 10px; border-radius: 28px; padding-block: 42px;}
  .house-document-grid {grid-template-columns: 1fr; gap: 32px;}
  .pyh-document-stack > article {padding: 18px;}
  .pyh-document-stack h3 {font-size: 1.1rem;}
  .house-three {grid-template-columns: 1fr; gap: 20px;}
  .house-three > article {padding: 24px;}
  .house-three .house-how-photo {height: 230px; margin-bottom: 22px;}
  .pyh-step-icon {top: 226px; inset-inline-end: 40px;}
  .pyh-service-banner {display: block; padding: 28px;}
  .pyh-service-banner .button {margin-top: 24px;}
  .house-faq {grid-template-columns: 1fr; gap: 24px;}
  .house-faq details {padding-inline: 18px;}
  .house-final {padding: 36px 24px; margin-bottom: 48px; border-radius: 26px;}
  .house-final h2 {font-size: 2.1rem;}
  .house-final > .house-text-link {display: flex; justify-content: center; margin-top: 22px;}
  .pyh-footer {padding-top: 36px; border-radius: 28px 28px 0 0;}
  .pyh-footer-top {grid-template-columns: 1fr; gap: 20px; padding-bottom: 30px;}
  .pyh-footer-prompt h2 {font-size: 1.8rem; max-width: 520px;}
  .pyh-footer-top p {max-width: none; margin-bottom: 8px;}
  .pyh-footer .house-footer-grid {grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 30px;}
  .pyh-footer .house-footer-bottom {align-items: start; gap: 14px;}
  .pyh-page-intro {padding: 26px; margin-bottom: 28px;}
  .pyh-page-intro h1 {font-size: 2.5rem;}
  .pyh-catalogue-grid {grid-template-columns: 1fr;}
  .pyh-filter-panel {position: static;}
  .pyh-filter-panel .house-filter {grid-template-columns: 1fr 1fr; align-items: end;}
  .pyh-filter-panel .house-filter .button {grid-column: 1;}
  .pyh-filter-help {display: none;}
  .pyh-results .house-grid {grid-template-columns: repeat(2, minmax(0, 1fr));}
  .pyh-detail-top {grid-template-columns: 1fr; gap: 28px;}
  .pyh-detail-top .house-design-picture > img {aspect-ratio: 1.4;}
  .pyh-detail-summary .house-paper {margin-top: 22px;}
  .pyh-brief-panel {padding: 26px; grid-template-columns: 1fr; gap: 24px;}
  .pyh-question-layout {grid-template-columns: 1fr; gap: 24px; padding-block: 24px 44px;}
  .pyh-question-aside {position: static; padding: 22px 24px;}
  .house-page .pyh-question-aside h2 {font-size: 1.5rem; margin-bottom: 0;}
  .pyh-question-aside :is(p,.pyh-brief-topics,img,small) {display: none;}
  .pyh-question-aside .eyebrow {font-size: .8rem; margin-bottom: 10px;}
  .house-question {padding: 26px;}
  .house-page .house-question h1 {font-size: 2rem;}
  .house-question-actions .button {min-width: 125px;}
  .pyh-login {grid-template-columns: 1fr; gap: 32px; padding-block: 38px 48px; min-height: 0;}
  .pyh-login-story {min-height: 0; padding: 30px; border-radius: 26px 70px 26px 26px;}
  .pyh-login-story img {width: 100px; height: 100px; margin-bottom: 20px;}
  .pyh-login-story h2 {font-size: 2rem;}
  .pyh-login-form .house-paper {padding: 24px;}
  .pyh-preview-hero {grid-template-columns: 1fr; padding-top: 34px; gap: 24px;}
  .pyh-preview-hero .house-preview-photo {aspect-ratio: 1.4;}
  .pyh-preview-hero .house-preview-heading h1 {font-size: 2.5rem;}
  .house-brief-grid {grid-template-columns: 1fr; gap: 26px;}
  .house-centered-action .button {width: 100%;}
  .house-pricing-toolbar {padding: 18px; gap: 20px;}
  .house-price-card {padding: 26px;}
  .pyh-workspace {padding-top: 24px;}
  .pyh-workspace-rail {padding: 0; border: 0; background: transparent;}
  .pyh-workspace-rail > .eyebrow {display: none;}
  .pyh-workspace .house-account-nav {position: fixed; inset: auto 12px calc(12px + env(safe-area-inset-bottom)); width: auto; z-index: 46; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 6px 30px #24133325; padding: 8px 5px; gap: 2px;}
  .pyh-workspace .house-account-nav a {display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 9px 4px; text-align: center; font-size: .875rem; line-height: 1.25;}
  .pyh-workspace > .house-account {padding-bottom: 150px;}
  .house-project-stats {grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;}
  .house-project-stats article {padding: 16px 12px;}
  .house-project-stats article > span {font-size: .875rem; line-height: 1.4;}
  .house-project-stats strong {font-size: 1.8rem;}
  .house-selected-download {padding: 24px;}
  .house-service-grid {grid-template-columns: 1fr;}
  .house-service-grid > :last-child:nth-child(odd) {grid-column: auto;}
  .house-service-grid .house-paper {padding: 26px;}
  .house-service-section {scroll-margin-top: 96px;}
  .pyh-services-head {padding: 28px;}
  .pyh-journal-grid > .house-article-card:first-child {grid-column: 1 / -1;}
  .pyh-article {padding-block: 32px;}
  .pyh-article-heading {grid-template-columns: 1fr; gap: 24px;}
  .pyh-article-heading h1 {font-size: 2.5rem;}
  .pyh-article-heading .house-article-cover {aspect-ratio: 1.5;}
  .pyh-article .house-article-body {padding: 26px;}
  .pyh-legal-grid {grid-template-columns: 1fr; gap: 24px;}
  .pyh-legal-grid > aside {position: static; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px;}
  .pyh-legal-grid > aside h2 {grid-column: 1 / -1;}
  .pyh-legal-grid > article {padding: 26px;}
  .house-page .pyh-legal-grid > article h2 {scroll-margin-top: 100px;}
  .house-payment-result {padding: 30px; margin-block: 32px 50px;}
  .house-payment-result .actions {flex-direction: column; align-items: stretch;}
  .house-verify-dock {bottom: calc(110px + env(safe-area-inset-bottom));}
  .house-download-dock {bottom: calc(110px + env(safe-area-inset-bottom));}
  .setup-body .setup-grid {gap: 32px; grid-template-columns: 1fr;}
}
@media (max-width: 520px) {
  .house-wrap {width: calc(100% - 30px);}
  .house-header .brand {max-width: 220px; gap: 7px;}
  .house-header .brand-logo {width: 40px; height: 40px; flex-basis: 40px;}
  .house-header .brand-name {font-size: .92rem;}
  .house-header .brand small {display: none;}
  .house-header .header-tools {gap: 4px;}
  .house-header .header-tools select {max-width: 68px;}
  .house-header .theme-toggle {min-width: 38px; min-height: 40px; width: 38px; height: 40px;}
  .house-menu {width: 38px; min-width: 38px; min-height: 40px; height: 40px;}
  .pyh-hero-grid {padding-top: 28px;}
  .pyh-hero-copy h1 {font-size: 2.8rem; margin-top: 20px;}
  .pyh-hero-copy .actions {display: grid; grid-template-columns: 1fr;}
  .pyh-hero-copy .actions .button {width: 100%;}
  .pyh-hero-visual .house-hero-image {aspect-ratio: 1.1; border-radius: 70px 22px 22px 22px;}
  .house-hero-image figcaption {padding: 70px 18px 34px;}
  .house-hero-image figcaption strong {font-size: 1.4rem;}
  .pyh-visual-card {padding: 14px; width: 94%; gap: 10px;}
  .pyh-visual-card strong {font-size: .94rem;}
  .pyh-visual-card div > span {font-size: .8rem;}
  .pyh-benefit-bar {gap: 20px 12px;}
  .pyh-benefit-bar > div {font-size: .875rem; gap: 8px;}
  .pyh-benefit-bar > div > .material-symbols-outlined {font-size: 22px;}
  .house-grid, .pyh-results .house-grid {grid-template-columns: 1fr;}
  .house-card-title {display: flex;}
  .house-card-title > span {flex-shrink: 0;}
  .house-page h2 {font-size: 2rem;}
  .pyh-empty-collection {padding: 22px;}
  .pyh-document-stack > article {gap: 12px; padding: 16px;}
  .pyh-document-stack > article > .material-symbols-outlined {font-size: 23px; padding: 8px;}
  .house-three > article {padding: 20px;}
  .house-three .house-how-photo {height: 210px;}
  .pyh-step-icon {top: 202px;}
  .pyh-service-banner {padding: 24px;}
  .pyh-footer .house-footer-grid {grid-template-columns: 1fr 1fr; gap: 28px 16px;}
  .pyh-footer .house-footer-bottom {flex-direction: column;}
  .pyh-footer-prompt h2 {font-size: 1.8rem;}
  .pyh-page-intro {padding: 24px;}
  .pyh-page-intro h1 {font-size: 2.3rem;}
  .pyh-filter-panel .house-filter {grid-template-columns: 1fr;}
  .pyh-filter-panel .house-filter .button {grid-column: auto;}
  .house-question {padding: 24px 20px;}
  .house-page .house-question h1 {font-size: 1.85rem;}
  .house-option {font-size: 1rem;}
  .house-options.visual-options {grid-template-columns: repeat(2, minmax(0, 1fr));}
  .house-question .house-plot-grid {grid-template-columns: 1fr;}
  .pyh-detail-summary .house-facts {grid-template-columns: 1fr 1fr; gap: 15px 12px;}
  .house-page .pyh-detail-summary .house-paper h2 {font-size: 1.6rem;}
  .house-page .house-account h1 {font-size: 2rem;}
  .house-project-stats {grid-template-columns: 1fr;}
  .house-project-stats article {display: flex; justify-content: space-between; align-items: center; gap: 20px;}
  .pyh-workspace .house-account-nav a {font-size: .875rem;}
  .house-account-heading .actions {display: grid; grid-template-columns: 1fr;}
  .house-project-grid .house-paper {padding: 22px;}
  .pyh-legal-grid > aside {grid-template-columns: 1fr;}
  .house-payment-result {padding: 26px;}
  .setup-wrap {width: calc(100% - 30px);}
  .setup-body .card {padding: 24px;}
}
@media (prefers-reduced-motion: reduce) {
  html {scroll-behavior: auto;}
  .house-card, .button, .house-card-picture img {transition: none;}
  .house-card:hover {transform: none;}
}

.pill-tabs button.active {background: var(--secondary); color: var(--text); box-shadow: none;}
.house-price del {font-size: .875rem;}
.pyh-offline-page main {max-width: 850px; margin: 48px auto; padding: 34px; background: var(--card); border: 1px solid var(--border); border-radius: 26px;}
@media(max-width:600px){.pyh-offline-page main {width:calc(100% - 30px);padding:24px;margin-block:24px;}}

/* Mobile briefs use the question panel alone. The whole sidebar stays hidden. */
@media (max-width: 800px) {
  .pyh-question-aside {display: none !important;}
  .pyh-question-layout {grid-template-columns: minmax(0, 1fr); gap: 0;}
}

/* Keep the country, logo and name together at every screen width. */
.pyh-site .brand, .setup-body .brand {display: flex; align-items: center; direction: ltr; text-align: left;}
.pyh-site .brand > .brand-country, .setup-body .brand > .brand-country {display: inline-flex !important; order: 0; flex: 0 0 auto; margin-inline: 0; align-self: center;}
.pyh-site .brand > .brand-logo, .setup-body .brand > .brand-logo {order: 1; align-self: center;}
.pyh-site .brand > .brand-name, .setup-body .brand > .brand-name {order: 2; align-self: center; min-width: 0; white-space: normal;}
.pyh-site .brand .flag-emoji, .setup-body .brand .flag-emoji {display: block; width: 26px; height: 26px; max-width: none; object-fit: contain;}
.pyh-site .house-header .brand {flex: 0 1 auto; gap: 9px; max-width: none;}
.pyh-site .house-header .brand-name {max-inline-size: 14ch; font-size: 1.05rem; line-height: 1.2; letter-spacing: -.02em; overflow-wrap: normal;}
.pyh-site .house-header .brand-name small {display: none;}
@media (max-width: 800px) {
 .pyh-site .house-header-inner {gap: 8px;}
 .pyh-site .house-header .brand {flex: 1 1 auto; gap: 7px;}
 .pyh-site .house-header .brand-name {font-size: .94rem;}
}
@media (max-width: 360px) {
 .pyh-site .house-header-inner {flex-wrap: wrap; padding-block: 10px; gap: 6px;}
 .pyh-site .house-header .brand {flex-basis: 100%;}
 .pyh-site .house-header .header-tools {margin-inline-start: auto;}
 .pyh-site .house-nav.open {inset-block-start: 138px;}
}
