:root {
    color-scheme: light;
    --page-bg: #f7f3ee;
    --hero-bg: #1b1938;
    --hero-bg-alt: #30295d;
    --hero-glow: #5e4fa2;
    --ink: #292827;
    --ink-soft: #5f5b63;
    --surface: rgba(255, 255, 255, 0.08);
    --surface-solid: #ffffff;
    --border: #dcd7d3;
    --cream: #e9e5dd;
    --lavender: #cbb7fb;
    --link: #714cb6;
    --peach: #f3d4c6;
    --mint: #d8efe7;
    --berry: #7d3d78;
    --header-font: "Trebuchet MS", "Avenir Next", "Aptos", sans-serif;
}

* {
    box-sizing: border-box;
}

body.splash-body,
body.start-body {
    margin: 0;
    font-family: "Segoe UI", "Aptos", "Helvetica Neue", Arial, sans-serif;
    background: var(--page-bg);
    color: var(--ink);
}

body.start-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(203, 183, 251, 0.2), transparent 22rem),
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.45), transparent 16rem),
        linear-gradient(180deg, #f1ebfb 0%, #f7f3ee 28%, #f7f3ee 100%);
}

.splash-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(203, 183, 251, 0.22), transparent 24rem),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.08), transparent 18rem),
        linear-gradient(180deg, var(--hero-bg) 0%, #241f4a 70%, #2f2a59 100%);
    position: relative;
    overflow: hidden;
}

.splash-shell::after {
    content: "";
    position: absolute;
    inset: auto -12% -7rem auto;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 229, 221, 0.2), rgba(233, 229, 221, 0));
    pointer-events: none;
}

.hero-wrap,
.start-wrap {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.hero-wrap {
    padding: 1.25rem 0 8rem;
}

.start-wrap {
    padding: 1.5rem 0 8rem;
}

.brand-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

.brand-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.hero-app-logo {
    width: min(26rem, 78vw);
    height: auto;
}

.hero-logo {
    width: min(18rem, 56vw);
    height: auto;
    flex-shrink: 0;
}

.side-logo {
    width: min(12rem, 100%);
    height: auto;
}

.splash-bottom-brand {
    display: flex;
    justify-content: center;
    padding: 0 0 2rem;
}

.splash-bottom-logo {
    width: min(16rem, 52vw);
    height: auto;
}

.side-logo-dark,
.top-brand-logo {
    width: min(10rem, 100%);
    height: auto;
}

.site-header {
    background:
        radial-gradient(circle at top right, rgba(203, 183, 251, 0.22), transparent 24rem),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.08), transparent 18rem),
        linear-gradient(180deg, var(--hero-bg) 0%, #241f4a 70%, #2f2a59 100%);
    box-shadow: 0 18px 40px rgba(17, 15, 38, 0.16);
}

.site-header__inner {
    width: min(1220px, calc(100% - 2rem));
    margin: 0 auto;
    min-height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
}

.site-header__actions,
.site-header__public-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-header__app-logo {
    width: min(19.5rem, 78vw);
    height: auto;
}

.site-header__public-nav a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-weight: 700;
    font-family: var(--header-font);
    letter-spacing: 0.02em;
}

.site-header__public-nav a + a {
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.site-header__menu {
    display: none;
    position: relative;
}

.site-header__menu summary {
    list-style: none;
    display: inline-grid;
    justify-items: center;
    gap: 0.28rem;
    min-width: 4.7rem;
    min-height: 3rem;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-family: var(--header-font);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-header__menu summary::-webkit-details-marker {
    display: none;
}

.site-header__menu summary span {
    display: block;
    width: 1.5rem;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
}

.site-header__menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.6rem);
    z-index: 10;
    min-width: 14rem;
    padding: 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(220, 215, 211, 0.9);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 36px rgba(17, 15, 38, 0.18);
}

.site-header__menu-panel a {
    display: block;
    padding: 0.75rem 0.8rem;
    border-radius: 10px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
}

.site-header__menu-panel a:hover {
    background: rgba(203, 183, 251, 0.16);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    gap: 2rem;
    align-items: center;
    min-height: calc(100vh - 6rem);
}

.hero-copy {
    padding: 4.5rem 0 2rem;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
}

.hero-copy p {
    max-width: 35rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.home-hero-copy__lead {
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin: 2rem 0 1.25rem;
    width: 100%;
}

.hero-actions > a {
    flex: 1 1 0;
    width: 100%;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.9rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.button-primary {
    background: var(--cream);
    color: var(--ink);
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(17, 15, 38, 0.22);
}

.button-secondary {
    background: transparent;
    color: var(--link);
    border: 1px solid var(--border);
}

.stat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.stat-list li {
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
}

.hero-panel {
    align-self: center;
    padding: 1.65rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    position: relative;
    z-index: 1;
}

.panel-brand-title {
    margin: 0 0 1rem;
    font-size: 1.3rem;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.96);
}

.panel-brand-title span {
    display: block;
}

.panel-brand-title-centred {
    margin-bottom: 0;
    text-align: center;
}

.hero-panel h2,
.start-card h1 {
    margin-top: 0;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero-panel p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
}

.hero-panel .stat-list li {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.hero-panel strong,
.stat-key {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.hero-panel span,
.stat-value {
    color: rgba(255, 255, 255, 0.85);
}

.hero-panel a {
    color: #f3e9ff;
}

.home-comparison-panel {
    width: 100%;
    max-width: 27rem;
}

.home-comparison-group + .home-comparison-group {
    margin-top: 1.2rem;
}

.home-comparison-group h2,
.home-dialog__header h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.home-feature-list {
    margin: 0;
    padding-left: 1.1rem;
}

.home-feature-list li + li {
    margin-top: 0.55rem;
}

.home-price-signal {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.25rem;
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 232, 204, 0.7);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.42), transparent 7rem),
        linear-gradient(135deg, rgba(255, 226, 164, 0.95), rgba(255, 248, 234, 0.98));
    color: var(--ink);
    box-shadow: 0 18px 34px rgba(17, 15, 38, 0.16);
    text-align: left;
}

.home-price-signal__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    flex-wrap: nowrap;
}

.home-price-signal p {
    margin: 0;
    color: var(--ink);
}

.home-price-signal strong {
    font-size: 0.95rem;
    line-height: 1.15;
}

.home-price-signal__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #8b4b14;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-price-signal__summary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.home-price-signal__link {
    width: 100%;
    text-align: center;
}

.home-price-signal a,
.home-link-cluster a,
.home-process-link a {
    color: var(--link);
    font-weight: 700;
    text-decoration: none;
}

.home-link-cluster {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.4rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.home-process-link {
    margin: 1rem 0 0;
}

.home-resume-card {
    display: grid;
    gap: 0.55rem;
    width: 100%;
    max-width: 27rem;
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.95);
}

.home-dialog {
    width: min(42rem, calc(100% - 1.5rem));
    padding: 0;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 36px 72px rgba(17, 15, 38, 0.32);
    background: transparent;
}

.home-dialog::backdrop {
    background: rgba(18, 16, 36, 0.58);
}

.home-dialog__inner {
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 16rem),
        linear-gradient(180deg, #241f4a 0%, #342d66 100%);
}

.home-dialog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.home-dialog__close {
    min-height: auto;
    padding: 0.55rem 0.85rem;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.home-dialog__body {
    margin-top: 0.6rem;
    line-height: 1.7;
}

.home-inline-fallback {
    padding-top: 0;
    padding-bottom: 2rem;
}

.js-enabled .home-inline-fallback {
    display: none;
}

.start-header {
    padding: 1rem 0 1.5rem;
}

.start-header a {
    color: var(--link);
    text-decoration: none;
}

.start-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    gap: 1.75rem;
    align-items: start;
}

.start-card {
    width: 100%;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(203, 183, 251, 0.1), rgba(255, 255, 255, 0.92)),
        var(--surface-solid);
    box-shadow: 0 24px 60px rgba(41, 40, 39, 0.08);
}

.start-step-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.start-sidecard {
    width: 100%;
    padding: 1.65rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 12rem),
        linear-gradient(180deg, #241f4a 0%, #342d66 100%);
    box-shadow: 0 24px 60px rgba(24, 20, 54, 0.18);
    color: rgba(255, 255, 255, 0.94);
}

.start-sidecard-light {
    color: var(--ink);
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(216, 239, 231, 0.82), rgba(255, 255, 255, 0.98)),
        var(--surface-solid);
    box-shadow: 0 20px 44px rgba(41, 40, 39, 0.08);
}

.start-sidecard h2 {
    margin-top: 0;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.start-sidecard p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

.start-sidecard-light p,
.start-sidecard-light .muted,
.start-sidecard-light .pricing-note {
    color: var(--ink-soft);
}

.start-card p {
    color: var(--ink-soft);
    line-height: 1.6;
}

.start-step {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.85rem;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    background: rgba(203, 183, 251, 0.18);
    color: var(--link);
    font-size: 0.92rem;
    font-weight: 700;
}

.form-field {
    margin-bottom: 1rem;
}

.start-recovery-card {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(113, 76, 182, 0.22);
    background: linear-gradient(180deg, rgba(203, 183, 251, 0.14), rgba(255, 255, 255, 0.94));
}

.start-recovery-card p {
    margin: 0.45rem 0 0;
}

.start-recovery-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.start-recovery-button {
    flex: 1 1 14rem;
}

.field-label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
}

.start-summary-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 1.25rem 0 0;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(216, 239, 231, 0.85), rgba(255, 255, 255, 0.95));
    color: var(--ink);
}

.start-again-button {
    width: 100%;
}

.option-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.option-button {
    min-width: 3rem;
    min-height: 3rem;
    padding: 0.75rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
    box-shadow: none;
}

.option-button.is-selected {
    background: linear-gradient(180deg, #714cb6, #5d3ca0);
    color: #ffffff;
    border-color: rgba(93, 60, 160, 0.8);
}

.option-button-more {
    min-width: 5.25rem;
}

.planner-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.planner-card {
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(203, 183, 251, 0.08), rgba(255, 255, 255, 0.96));
}

.planner-card-property {
    background: linear-gradient(180deg, rgba(216, 239, 231, 0.68), rgba(255, 255, 255, 0.98));
    border-color: rgba(161, 190, 179, 0.7);
}

.planner-row-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.planner-row-head-small {
    margin-bottom: 0.7rem;
}

.planner-icon-label {
    margin: 0 0 0.2rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--link);
}

.planner-card h2 {
    margin: 0 0 0.9rem;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.tenant-card h3 {
    margin: 0;
    font-size: 1.02rem;
    letter-spacing: -0.02em;
}

.planner-copy {
    margin: 0 0 1rem;
    color: var(--ink-soft);
}

.planner-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
}

.planner-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(203, 183, 251, 0.18);
    color: var(--link);
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
}

.planner-chip-soft {
    background: rgba(216, 239, 231, 0.85);
    color: #26453d;
}

.tenant-grid {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.tenant-card {
    padding: 0.95rem;
    border-radius: 12px;
    border: 1px solid rgba(220, 215, 211, 0.9);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(233, 229, 221, 0.55));
}

.planner-card-hidden,
.contract-detail-hidden {
    display: none;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0.9rem 0;
    font-weight: 600;
    color: var(--ink);
}

.checkbox-row input {
    width: auto;
    margin: 0;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0 1.5rem;
    padding: 0;
    list-style: none;
}

.meta-row li {
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(216, 239, 231, 0.85), rgba(255, 255, 255, 0.95));
    color: var(--ink);
}

form p {
    margin: 0 0 1rem;
}

input,
select {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    font: inherit;
}

input:focus,
select:focus {
    outline: 2px solid rgba(113, 76, 182, 0.22);
    border-color: var(--link);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.5rem;
}

.start-primary-action {
    width: 100%;
}

.pricing-note {
    max-width: 28rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.helper-text,
.microcopy {
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.consent-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.consent-row input {
    width: auto;
    margin: 0;
}

.consent-label {
    font-weight: 700;
    color: var(--ink);
}

.consent-label a {
    color: var(--link);
}

.resume-card {
    margin-top: 1rem;
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(220, 215, 211, 0.85);
    background: linear-gradient(180deg, rgba(216, 239, 231, 0.9), rgba(255, 255, 255, 0.98));
}

.brand-stage > .resume-card {
    margin-top: 0;
}

.start-over-button {
    min-height: auto;
    padding: 0.68rem 0.95rem;
    border-radius: 999px;
    background: rgba(113, 76, 182, 0.1);
    color: var(--link);
    border: 1px solid rgba(113, 76, 182, 0.22);
    box-shadow: none;
}

.resume-card__copy {
    margin-top: 0.7rem;
    color: var(--ink-soft);
}

.legal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 1.25rem 0 0;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(220, 215, 211, 0.95);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
}

.legal-footer__brand {
    display: grid;
    gap: 0.2rem;
}

.legal-footer__brand p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.legal-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.legal-footer__links a {
    color: var(--link);
    font-weight: 700;
    text-decoration: none;
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    width: min(1220px, calc(100% - 1.5rem));
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(220, 215, 211, 0.95);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 36px rgba(41, 40, 39, 0.12);
}

.cookie-banner strong {
    display: block;
    margin-bottom: 0.25rem;
}

.cookie-banner p {
    margin: 0;
    color: var(--ink-soft);
    max-width: 54rem;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.legal-copy p {
    line-height: 1.65;
    margin-bottom: 1rem;
}

.legal-document__intro {
    max-width: 56rem;
}

.legal-copy h2,
.legal-copy h3 {
    color: var(--ink-dark);
    line-height: 1.3;
    margin: 2rem 0 0.85rem;
}

.legal-copy h2 {
    font-size: 1.35rem;
}

.legal-copy h3 {
    font-size: 1.1rem;
}

.legal-copy ul {
    margin: 0 0 1.15rem 1.25rem;
    padding: 0;
}

.legal-copy li {
    line-height: 1.65;
    margin-bottom: 0.45rem;
}

.legal-copy a {
    color: var(--accent-strong);
}

.errorlist {
    margin: 0.25rem 0 0.5rem;
    padding-left: 1rem;
    color: #92283e;
}

@media (max-width: 860px) {
    .hero-grid,
    .start-stage {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        align-items: start;
        min-height: auto;
    }

    .hero-copy {
        padding: 3.25rem 0 1rem;
        text-align: center;
    }

    .hero-panel {
        margin-bottom: 1.5rem;
    }

    .brand-row {
        flex-direction: column;
        align-items: center;
    }

    .panel-brand-title {
        font-size: 1.15rem;
    }

    .side-logo {
        width: min(10rem, 60vw);
    }

    .splash-bottom-brand {
        padding-bottom: 1.5rem;
    }

    .splash-bottom-logo {
        width: min(13rem, 58vw);
    }

    .site-header__inner {
        min-height: auto;
        padding: 0.75rem 0;
        align-items: center;
    }

    .site-header__app-logo {
        width: min(17.55rem, 70.2vw);
    }

    .site-header__public-nav {
        display: none;
    }

    .site-header__actions {
        width: auto;
        margin-left: auto;
        justify-content: flex-end;
    }

    .site-header__menu {
        display: block;
    }

    .planner-field-grid {
        grid-template-columns: 1fr;
    }

    .planner-row-head {
        flex-direction: column;
    }

    .start-step-row {
        align-items: flex-start;
    }

    .home-comparison-panel {
        max-width: none;
    }

    .hero-copy p,
    .home-price-signal,
    .home-resume-card,
    .hero-actions,
    .home-process-link,
    .start-card,
    .start-sidecard,
    .resume-card,
    .start-summary-card {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-copy p,
    .home-resume-card,
    .start-card,
    .start-sidecard,
    .resume-card,
    .start-summary-card {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .home-hero-wrap {
        padding-bottom: 4.25rem;
    }

    .home-price-signal {
        width: 100%;
        text-align: left;
    }

    .home-price-signal__row {
        gap: 0.45rem;
    }

    .home-price-signal__summary {
        gap: 0.35rem;
    }

    .home-price-signal strong {
        font-size: 0.82rem;
    }

    .home-comparison-panel,
    .home-comparison-panel h2,
    .home-comparison-panel .home-link-cluster,
    .home-comparison-panel .home-process-link {
        text-align: left;
    }

    .home-feature-list {
        list-style-position: outside;
        padding-left: 1.1rem;
    }

    .start-wrap {
        padding-top: 1rem;
    }

    .start-card {
        padding: 1.6rem;
    }

    .start-sidecard {
        padding: 1.45rem;
    }

    .start-step {
        justify-content: center;
    }

    .brand-stage {
        order: 2;
    }

    .home-resume-card,
    .resume-card {
        max-width: none;
    }

    .start-summary-card,
    .start-sidecard,
    .start-sidecard h2,
    .start-sidecard p {
        text-align: left;
    }

    .start-summary-card {
        margin-left: 0;
        margin-right: 0;
    }

    .form-actions {
        justify-content: center;
    }

    .start-recovery-actions {
        flex-direction: column;
    }
}

body.app-body,
body.wizard-body {
    margin: 0;
    font-family: "Segoe UI", "Aptos", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(203, 183, 251, 0.22), transparent 18rem),
        linear-gradient(180deg, #efe7fb 0%, #f7f3ee 22%, #f7f3ee 100%);
}

.page-main,
.wizard-shell {
    width: min(1220px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.5rem 0 8rem;
}

.page-panel,
.wizard-panel {
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(41, 40, 39, 0.09);
    margin-bottom: 1.25rem;
    padding: 1.5rem;
    border: 1px solid rgba(220, 215, 211, 0.95);
    background: rgba(255, 255, 255, 0.94);
}

.page-hero {
    color: rgba(255, 255, 255, 0.96);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 16rem),
        linear-gradient(135deg, var(--hero-bg) 0%, var(--hero-bg-alt) 100%);
}

.page-hero a,
.wizard-sidebar a {
    color: #efe6ff;
}

.eyebrow,
.status-pill,
.group-count,
.req-state,
.wizard-progress-card strong {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
}

.eyebrow {
    padding: 0.45rem 0.72rem;
    font-size: 0.92rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.page-hero h1,
.wizard-main h1 {
    margin: 0.65rem 0 0.75rem;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.page-hero__topline {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.page-hero__topline h1 {
    margin: 0;
}

.hero-meta,
.actions,
.status-strip,
.overview-strip,
.property-meta,
.wizard-progress-grid,
.group-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-meta span,
.status-strip span,
.property-meta span {
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.11);
}

.page-hero .hero-copy,
.page-hero .hero-copy p {
    max-width: 50rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
}

.muted {
    color: var(--ink-soft);
}

.button-link,
.button-link-secondary,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.95rem;
    padding: 0.82rem 1.05rem;
    border-radius: 10px;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.button-link,
button {
    background: linear-gradient(180deg, #714cb6, #5d3ca0);
    color: white;
    box-shadow: 0 14px 28px rgba(93, 60, 160, 0.2);
}

.button-link-secondary {
    background: var(--cream);
    color: var(--ink);
    box-shadow: none;
}

.button-link-secondary[disabled],
button[disabled] {
    opacity: 0.62;
    cursor: not-allowed;
    box-shadow: none;
}

.button-link-dark {
    background: linear-gradient(180deg, #4f3a85, #392560);
    box-shadow: 0 14px 28px rgba(41, 28, 73, 0.26);
    color: #ffffff;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.9fr);
    gap: 1.25rem;
}

.property-grid {
    display: grid;
    gap: 1rem;
}

.simple-page-panel {
    min-height: 16rem;
}

.simple-page-body {
    line-height: 1.7;
}

.legal-render-preview {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(27, 25, 56, 0.08);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
}

.local-admin-shell {
    display: grid;
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.local-admin-sidebar {
    position: sticky;
    top: 1rem;
    height: fit-content;
    padding: 1.35rem;
    border-radius: 18px;
    border: 1px solid rgba(220, 215, 211, 0.95);
    background: linear-gradient(180deg, #241f4a 0%, #342d66 100%);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 48px rgba(24, 20, 54, 0.18);
}

.local-admin-sidebar h1 {
    margin: 0 0 1rem;
    font-size: 1.8rem;
}

.local-admin-nav {
    display: grid;
    gap: 0.5rem;
}

.local-admin-nav__item {
    display: block;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
}

.local-admin-nav__item.is-current {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.local-admin-main {
    min-width: 0;
}

.local-admin-content-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
}

.local-admin-content-stack {
    gap: 1.5rem;
}

.local-admin-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.local-admin-subnav__item {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.62rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(220, 215, 211, 0.95);
    background: rgba(255, 255, 255, 0.84);
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
}

.local-admin-subnav__item.is-current {
    background: linear-gradient(180deg, #714cb6, #5d3ca0);
    border-color: rgba(113, 76, 182, 0.78);
    color: #ffffff;
}

.local-admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.local-admin-summary-card {
    min-height: 8.4rem;
}

.local-admin-summary-card[data-tone="warning"] {
    border-color: rgba(202, 148, 24, 0.28);
    background: linear-gradient(180deg, rgba(255, 249, 235, 0.96), rgba(255, 255, 255, 0.98));
}

.local-admin-summary-card[data-tone="danger"] {
    border-color: rgba(170, 58, 41, 0.3);
    background: linear-gradient(180deg, rgba(255, 241, 238, 0.96), rgba(255, 255, 255, 0.98));
}

.local-admin-summary-card__value {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #1f1a22;
}

.local-admin-engine-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

.local-admin-table-wrap {
    overflow-x: auto;
}

.local-admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.local-admin-table th,
.local-admin-table td {
    padding: 0.8rem 0.65rem;
    border-bottom: 1px solid rgba(220, 215, 211, 0.92);
    text-align: left;
    vertical-align: top;
}

.local-admin-table th {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #514968;
}

.local-admin-inline-form {
    display: inline-flex;
    margin: 0 0.35rem 0.35rem 0;
}

.local-admin-operator-playbook {
    margin-bottom: 1rem;
}

.guidance-inspector-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
}

.visual-audit-run-form {
    display: inline-flex;
}

.visual-audit-run-feedback {
    margin-top: 1rem;
}

.visual-audit-progress-card[data-run-state="running"] {
    border-color: rgba(202, 148, 24, 0.32);
    background: linear-gradient(180deg, rgba(255, 249, 235, 0.96), rgba(255, 255, 255, 0.98));
}

.visual-audit-progress-card[data-run-state="failed"] {
    border-color: rgba(170, 58, 41, 0.28);
    background: linear-gradient(180deg, rgba(255, 241, 238, 0.96), rgba(255, 255, 255, 0.98));
}

.visual-audit-progress-card[data-run-state="completed"] {
    border-color: rgba(42, 124, 88, 0.26);
    background: linear-gradient(180deg, rgba(240, 252, 246, 0.96), rgba(255, 255, 255, 0.98));
}

.visual-audit-progress-status {
    margin: 0 0 0.4rem;
    font-size: 1.08rem;
    font-weight: 700;
    color: #1f1a22;
}

.visual-audit-progress-meta {
    margin-top: 1rem;
}

.visual-audit-progress-log {
    margin: 0;
    margin-top: 1rem;
    max-height: 16rem;
    overflow: auto;
    padding: 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(220, 215, 211, 0.92);
    background: rgba(252, 251, 249, 0.92);
    color: #342d66;
    font-size: 0.84rem;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.page-note-error {
    border-color: rgba(170, 58, 41, 0.35);
    background: rgba(255, 243, 240, 0.98);
}

.guidance-inspector-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.guidance-summary-card h3,
.guidance-entry-card h3,
.guidance-status-card h4,
.guidance-field-block h5 {
    margin-top: 0;
}

.guidance-status-tabs {
    display: grid;
    gap: 0.85rem;
}

.guidance-status-tablist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.guidance-status-tab {
    border: 1px solid rgba(52, 45, 102, 0.16);
    background: rgba(255, 255, 255, 0.82);
    color: #342d66;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.guidance-status-tab.is-active {
    background: #342d66;
    color: #ffffff;
}

.guidance-summary-list,
.guidance-inline-list {
    display: grid;
    gap: 0.75rem;
}

.guidance-summary-list div,
.guidance-inline-list div {
    display: grid;
    gap: 0.2rem;
}

.guidance-summary-list dt,
.guidance-inline-list dt {
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #5c5360;
}

.guidance-summary-list dd,
.guidance-inline-list dd {
    margin: 0;
    font-weight: 700;
    color: #1f1a22;
}

.guidance-chip-list,
.guidance-list,
.guidance-inspector-stack,
.guidance-status-stack {
    display: grid;
    gap: 0.8rem;
}

.guidance-chip-list,
.guidance-list {
    margin: 0;
    padding-left: 1.15rem;
}

.guidance-entry-card {
    margin-bottom: 1rem;
}

.guidance-entry-header,
.guidance-status-header {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.guidance-entry-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.guidance-meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(52, 45, 102, 0.08);
    color: #342d66;
    font-size: 0.85rem;
    font-weight: 700;
}

.guidance-block + .guidance-block,
.guidance-field-block + .guidance-field-block {
    margin-top: 0.85rem;
}

.guidance-status-card {
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(220, 215, 211, 0.92);
    background: rgba(252, 251, 249, 0.94);
}

.guidance-field-block {
    padding-top: 0.25rem;
}

.visual-audit-gallery-stack {
    display: grid;
    gap: 1rem;
}

.visual-audit-group-card {
    margin-bottom: 1rem;
}

.visual-audit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.visual-audit-card {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(220, 215, 211, 0.92);
    background: rgba(252, 251, 249, 0.98);
}

.visual-audit-image-link {
    display: block;
    background: linear-gradient(180deg, rgba(236, 234, 229, 0.75), rgba(244, 241, 236, 0.92));
}

.visual-audit-image {
    display: block;
    width: 100%;
    height: auto;
}

.visual-audit-card__body {
    padding: 1rem;
}

.visual-audit-card__body h4 {
    margin-top: 0;
}

.visual-audit-empty-state {
    margin-bottom: 1rem;
}

.visual-audit-path {
    word-break: break-word;
}

.property-card {
    padding: 1.15rem;
    border-radius: 16px;
    border: 1px solid rgba(220, 215, 211, 0.92);
    background: linear-gradient(180deg, rgba(203, 183, 251, 0.11), rgba(255, 255, 255, 0.96));
}

.property-create-form {
    display: grid;
    gap: 0.25rem;
}

.review-tabs-shell {
    overflow: hidden;
}

.review-page-layout {
    display: grid;
    gap: 1rem;
}

.review-page-layout-with-aside {
    grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.75fr);
    align-items: start;
}

.review-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.review-tab-button {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(220, 215, 211, 0.95);
    border-radius: 999px;
    background: rgba(233, 229, 221, 0.75);
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
}

.review-tab-button.is-active {
    background: linear-gradient(180deg, #714cb6, #5d3ca0);
    color: #ffffff;
    border-color: rgba(113, 76, 182, 0.7);
}

.review-tab-panels {
    display: grid;
    gap: 1rem;
}

.review-tab-panel {
    display: block;
}

.review-tab-panel[hidden] {
    display: none !important;
}

.overview-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    margin-top: 1rem;
}

.review-panel-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.property-card h2,
.property-card h3,
.panel-title {
    margin-top: 0;
}

.property-meta span,
.status-strip span {
    color: #2f4f4a;
    background: rgba(216, 239, 231, 0.88);
    font-size: 0.92rem;
}

.tenant-box,
.requirement-box,
.workflow-box,
.section-box,
.page-note,
.wizard-guidance-block,
.wizard-progress-card {
    padding: 1rem;
    border-radius: 14px;
}

.tenant-box {
    background: linear-gradient(180deg, rgba(243, 212, 198, 0.7), rgba(255, 255, 255, 0.94));
}

.requirement-box {
    background: linear-gradient(180deg, rgba(216, 239, 231, 0.65), rgba(255, 255, 255, 0.96));
}

.workflow-box {
    margin-top: 1rem;
    background: linear-gradient(180deg, rgba(203, 183, 251, 0.14), rgba(255, 255, 255, 0.96));
}

.section-box {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(220, 215, 211, 0.85);
}

.answer-list,
.tenant-list,
.requirement-list,
.quick-stats {
    padding-left: 1rem;
    margin-bottom: 0;
}

.answer-list li,
.tenant-list li,
.requirement-list li,
.quick-stats li {
    margin-bottom: 0.8rem;
}

.overview-strip span,
.group-count,
.req-state {
    padding: 0.35rem 0.65rem;
    font-size: 0.84rem;
    font-weight: 700;
}

.overview-good,
.req-state-good {
    background: rgba(216, 239, 231, 0.92);
    color: #2f6d62;
}

.overview-warn,
.req-state-warn {
    background: rgba(243, 212, 198, 0.92);
    color: #8b3e2f;
}

.overview-unclear,
.req-state-unclear {
    background: rgba(233, 229, 221, 0.96);
    color: #7f6640;
}

.complete {
    color: #2f6d62;
}

.incomplete {
    color: #9b2226;
}

.link-row {
    margin-top: 0.55rem;
}

.wizard-review-section-box h2 {
    margin: 0;
    font-size: 1.1rem;
}

.review-payment-delivery {
    margin-top: 1rem;
}

.inline-link {
    color: var(--link);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.hero-meta__note {
    align-self: center;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
}

.split-layout-report-pack {
    align-items: start;
}

.split-layout-report-pack > section,
.split-layout-report-pack > aside {
    min-width: 0;
}

.report-download-list {
    list-style: none;
    padding-left: 0;
}

.report-download-item {
    padding: 0.35rem 0;
    border-bottom: 0;
}

.report-download-item:first-child {
    padding-top: 0.2rem;
}

.report-download-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.report-download-button {
    min-width: min(100%, 18rem);
}

.review-overview-layout,
.review-next-steps-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.9fr);
    gap: 1rem;
    align-items: start;
}

.review-overview-summary-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.journey-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.review-overview-card {
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(220, 215, 211, 0.92);
    background: linear-gradient(180deg, rgba(249, 244, 255, 0.96), rgba(255, 255, 255, 0.98));
    text-align: center;
    display: grid;
    align-content: start;
}

.review-overview-card__label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #433666;
}

.review-overview-card strong {
    font-size: 1.45rem;
    line-height: 1;
    color: var(--ink);
}

.review-overview-card__value {
    min-height: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
}

.review-overview-card__value-link,
.review-overview-card__value-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: transparent;
    color: var(--link);
    border: 0;
    padding: 0;
    min-height: 0;
    box-shadow: none;
    cursor: pointer;
    font: inherit;
}

.review-overview-card__value-link strong,
.review-overview-card__value-button {
    color: var(--link);
}

.review-overview-card--price .review-overview-card__value-link strong,
.review-overview-card--price .review-overview-card__value-button,
.review-overview-card--price strong {
    font-size: 1.7rem;
    font-weight: 700;
}

.review-overview-card__form {
    margin: 0;
}

.review-header-meta {
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
}

.review-header-meta__action {
    min-height: 2.4rem;
    padding: 0.68rem 0.9rem;
    border: 1px solid rgba(56, 94, 173, 0.24);
    background: transparent;
    color: var(--link);
}

.review-journey-strip {
    gap: 1rem;
    margin-top: 1.25rem;
}

.review-journey-strip span[aria-hidden="true"] {
    color: #8d8477;
    font-weight: 700;
}

.review-property-summary-card {
    min-height: 100%;
}

.review-promo-box {
    background: linear-gradient(180deg, rgba(203, 183, 251, 0.16), rgba(255, 255, 255, 0.96));
}

.review-promo-box h3 {
    margin-top: 0;
}

.review-conversion-panel {
    position: sticky;
    top: 1rem;
    height: fit-content;
    border-color: rgba(178, 162, 220, 0.45);
    background: linear-gradient(180deg, rgba(249, 244, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.review-conversion-panel h2 {
    margin-top: 0;
}

.review-conversion-panel__cta {
    margin-top: 1rem;
}

.review-conversion-panel__links {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.review-conversion-panel__scope {
    margin-top: 1rem;
}

.review-conversion-panel__payment-details,
.review-conversion-panel__access-code {
    margin-top: 1rem;
}

.review-access-code-form {
    display: grid;
    gap: 0.75rem;
}

.review-priority-panel h2,
.requirement-box h2 {
    margin-top: 0;
}

.review-next-steps-list {
    display: grid;
    gap: 0;
}

.review-next-steps-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(220, 215, 211, 0.92);
}

.review-next-steps-list__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.review-main-panel {
    display: grid;
    gap: 1rem;
}

.review-summary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.review-summary-actions__placeholder {
    min-height: 2.4rem;
    text-align: center;
}

.review-properties-stack {
    display: grid;
    gap: 1rem;
}

.review-properties-stack > h2,
.review-property-findings h4,
.workflow-box h5 {
    margin-top: 0;
}

.workflow-box h5 {
    font-size: 1.08rem;
}

.review-property-findings {
    display: grid;
    gap: 1.2rem;
}

.review-requirement-list,
.review-upgrade-value-list {
    display: grid;
    gap: 0.8rem;
}

.review-upgrade-value-list {
    margin-top: 1rem;
}

.review-upgrade-value-list__item {
    margin: 0;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(220, 215, 211, 0.82);
    color: var(--ink);
}

.review-requirement-item {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(220, 215, 211, 0.92);
}

.review-requirement-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.review-page-hero__topline {
    align-items: center;
}

.review-requirement-item__body {
    display: grid;
    gap: 0.55rem;
}

.review-requirement-item__body h6 {
    margin: 0;
    font-size: 1rem;
}

.review-requirement-item__summary {
    margin: 0;
}

.review-group-header {
    justify-content: space-between;
    align-items: flex-start;
}

.review-group-header__statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-left: auto;
}

.review-group-tenancy_documents {
    background: linear-gradient(180deg, rgba(210, 228, 243, 0.4), rgba(255, 255, 255, 0.96));
}

.review-group-deposit_and_payment {
    background: linear-gradient(180deg, rgba(243, 231, 210, 0.46), rgba(255, 255, 255, 0.96));
}

.review-group-rent_change_process {
    background: linear-gradient(180deg, rgba(236, 225, 245, 0.46), rgba(255, 255, 255, 0.96));
}

.review-group-letting_and_applicants {
    background: linear-gradient(180deg, rgba(224, 239, 233, 0.46), rgba(255, 255, 255, 0.96));
}

.review-group-new_tenancy_onboarding {
    background: linear-gradient(180deg, rgba(245, 228, 232, 0.42), rgba(255, 255, 255, 0.96));
}

.wizard-shell {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 280px minmax(0, 1fr) 320px;
}

.wizard-sidebar {
    position: sticky;
    top: 1rem;
    height: fit-content;
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.95);
    background: linear-gradient(180deg, #241f4a 0%, #342d66 100%);
}

.wizard-sidebar .hero-logo {
    width: min(11rem, 100%);
    margin-bottom: 1rem;
}

.wizard-nav {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.wizard-nav li {
    margin-bottom: 0.6rem;
}

.wizard-nav-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem 0.75rem;
}

.wizard-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.74);
}

.wizard-nav .is-current a {
    color: #ffffff;
    font-weight: 700;
}

.wizard-nav-status {
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    justify-self: end;
    position: relative;
}

.wizard-nav-status-completed {
    border-color: rgba(216, 239, 231, 0.95);
    background: rgba(216, 239, 231, 0.95);
}

.wizard-nav-status-completed::after {
    content: "";
    position: absolute;
    left: 0.24rem;
    top: 0.08rem;
    width: 0.28rem;
    height: 0.52rem;
    border: solid #24463e;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.wizard-nav-status-in_progress {
    border-color: rgba(243, 212, 198, 0.98);
    background: rgba(243, 212, 198, 0.98);
}

.wizard-nav-status-in_progress::after {
    content: "";
    position: absolute;
    inset: 0.24rem;
    border-radius: 999px;
    background: #8b3e2f;
}

.wizard-nav-item-completed a {
    color: rgba(255, 255, 255, 0.96);
}

.wizard-sidebar__return {
    margin: auto 0 0;
    padding-top: 1.5rem;
}

.wizard-sidebar__return a {
    color: #efe6ff;
    text-decoration: none;
    font-weight: 700;
}

.wizard-main {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 243, 0.98));
}

.wizard-progress-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0 1.25rem;
}

.wizard-progress-card {
    min-width: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(249, 244, 255, 0.96), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(178, 162, 220, 0.55);
}

.wizard-progress-label,
.wizard-progress-meta {
    display: block;
}

.wizard-progress-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #433666;
    font-weight: 700;
}

.wizard-progress-meta {
    margin-top: 0.35rem;
    color: #5a5470;
    font-size: 0.92rem;
}

.wizard-progress-bar {
    width: 100%;
    height: 0.45rem;
    border-radius: 999px;
    margin-top: 0.65rem;
    background: rgba(203, 183, 251, 0.35);
    overflow: hidden;
}

.wizard-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #714cb6 0%, #8b73dd 100%);
}

.setup-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0 1.2rem;
    padding: 0;
    list-style: none;
}

.setup-chip {
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
}

.setup-chip-active {
    background: rgba(216, 239, 231, 0.9);
    color: #24463e;
}

.setup-chip-muted {
    background: rgba(233, 229, 221, 0.95);
    color: #5f5b63;
}

.form-field {
    margin-bottom: 1rem;
}

.field-label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    color: var(--ink);
}

input,
select {
    width: 100%;
    padding: 0.82rem 0.9rem;
    margin-bottom: 0.35rem;
    box-sizing: border-box;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fffdfa;
    font: inherit;
}

input:focus,
select:focus {
    outline: 2px solid rgba(113, 76, 182, 0.2);
    border-color: var(--link);
}

.choice-field > div {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.35rem;
}

.choice-field label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-weight: 600;
    color: var(--ink);
}

.choice-field input {
    width: auto;
    margin: 0;
    padding: 0;
}

.conditional-hidden {
    display: none;
}

.wizard-guidance {
    background: linear-gradient(180deg, rgba(216, 239, 231, 0.85), rgba(255, 255, 255, 0.95));
}

.wizard-guidance h2 {
    margin-top: 0;
    color: #3f335f;
}

.wizard-guidance p,
.wizard-main > p {
    line-height: 1.6;
}

.wizard-guidance-block {
    margin-bottom: 0.9rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(220, 215, 211, 0.8);
}

.wizard-scope-chips {
    margin-bottom: 0;
}

.tenant-highlight {
    background: linear-gradient(180deg, rgba(243, 212, 198, 0.75), rgba(255, 255, 255, 0.9));
}

.page-note {
    background: rgba(243, 212, 198, 0.55);
}

.page-note strong {
    display: block;
    margin-bottom: 0.35rem;
}

.page-note p:last-child {
    margin-bottom: 0;
}

.wizard-inline-summary {
    margin-bottom: 1rem;
}

.wizard-inline-summary p:last-child {
    margin-bottom: 0;
}

.wizard-letting-unit-block {
    margin: 1.4rem 0 0.9rem;
}

.wizard-letting-unit-block__header {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(220, 215, 211, 0.9);
    background: linear-gradient(135deg, rgba(237, 231, 250, 0.88), rgba(255, 255, 255, 0.96));
}

.wizard-letting-unit-block__header strong {
    display: block;
    color: #3f335f;
}

.wizard-letting-unit-block__header p {
    margin: 0.35rem 0 0;
    color: var(--ink-soft);
}

.wizard-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
}

.wizard-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.95rem;
    padding: 0.82rem 1.05rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    background: var(--cream);
    color: var(--ink);
    box-shadow: none;
}

.wizard-guidance-block-static {
    margin-bottom: 0.9rem;
}

.wizard-guidance-accordion {
    margin-bottom: 0.9rem;
    border: 1px solid rgba(220, 215, 211, 0.8);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.wizard-guidance-accordion summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 1rem 3rem 1rem 1rem;
    font-weight: 700;
}

.wizard-guidance-accordion summary::-webkit-details-marker {
    display: none;
}

.wizard-guidance-accordion summary::after {
    content: "▾";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-soft);
}

.wizard-guidance-accordion[open] summary::after {
    content: "▴";
}

.wizard-guidance-accordion .wizard-guidance-block {
    margin-bottom: 0;
    border: 0;
    border-top: 1px solid rgba(220, 215, 211, 0.7);
    border-radius: 0;
    background: transparent;
}

@media (max-width: 980px) {
    .wizard-shell {
        grid-template-columns: 1fr;
    }

    .wizard-sidebar {
        position: static;
    }

    .wizard-progress-grid {
        grid-template-columns: 1fr;
    }

    .review-overview-layout,
    .review-next-steps-layout,
    .review-page-layout-with-aside {
        grid-template-columns: 1fr;
    }

    .journey-summary-grid {
        grid-template-columns: 1fr;
    }

    .review-overview-summary-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .split-layout {
        grid-template-columns: 1fr;
    }

    .local-admin-shell {
        grid-template-columns: 1fr;
    }

    .guidance-inspector-summary-grid {
        grid-template-columns: 1fr;
    }

    .visual-audit-grid {
        grid-template-columns: 1fr;
    }

    .local-admin-sidebar {
        position: static;
    }

    .local-admin-content-grid {
        grid-template-columns: 1fr;
    }

    .local-admin-summary-grid,
    .local-admin-engine-grid {
        grid-template-columns: 1fr;
    }

    .local-admin-subnav {
        gap: 0.55rem;
    }

    .page-main,
    .wizard-shell {
        width: min(100%, calc(100% - 1.5rem));
    }

    .page-hero__topline {
        flex-direction: column;
    }

    .review-overview-summary-cards {
        grid-template-columns: 1fr;
    }

    .review-next-steps-list li {
        align-items: flex-start;
        flex-direction: column;
    }
}
