:root {
    color-scheme: light;
    --bg: #dde7f1;
    --bg-soft: #fbfdff;
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --border: rgba(11, 23, 48, 0.28);
    --text: #0b1730;
    --muted: #62758a;
    --accent: #356cff;
    --accent-strong: #1f4fda;
    --accent-soft: #ebf2ff;
    --accent-cyan: #22c7f8;
    --warn: #b45309;
    --warn-soft: #fff3d6;
    --danger: #b42318;
    --danger-soft: #fee4e2;
    --shadow: 0 18px 44px rgba(19, 33, 43, 0.09);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --radius-pill: 999px;
    --content-width: 1200px;
    --font-body: "Manrope", "Segoe UI", "Inter", "Helvetica Neue", sans-serif;
    --font-display: "Sora", "Manrope", "Segoe UI", "Inter", "Helvetica Neue", sans-serif;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0b1220;
    --bg-soft: #111a2b;
    --surface: rgba(17, 26, 43, 0.96);
    --surface-strong: #182338;
    --border: rgba(148, 163, 184, 0.28);
    --text: #f4f7fb;
    --muted: #a7b4c7;
    --accent: #6ea0ff;
    --accent-strong: #9fc0ff;
    --accent-soft: rgba(53, 108, 255, 0.16);
    --accent-cyan: #38d5ff;
    --warn: #f8c979;
    --warn-soft: rgba(248, 201, 121, 0.16);
    --danger: #ff8a8a;
    --danger-soft: rgba(255, 138, 138, 0.16);
    --shadow: 0 22px 52px rgba(0, 0, 0, 0.36);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
.section-title,
.results-toolbar__title,
.portal-intro__title,
.property-card__title,
.site-brand {
    font-family: var(--font-display);
}

img {
    display: block;
    max-width: 100%;
}

.page-shell {
    width: min(var(--content-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 56px;
    min-width: 0;
}

.site-header {
    width: 100vw;
    margin: 2px 0 12px;
    margin-left: calc(50% - 50vw);
    padding: 8px 0;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 22px rgba(19, 33, 43, 0.06);
    position: relative;
    z-index: 90;
}

.site-header__inner {
    width: min(var(--content-width), calc(100vw - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 5px 7px 5px 10px;
    border: none;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    position: relative;
    z-index: 91;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
}

.site-brand__image {
    height: 26px;
    width: auto;
    display: block;
    max-width: min(100%, 180px);
}

.site-brand__image--footer {
    height: 52px;
    max-width: min(100%, 340px);
}

.site-brand__mark {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: linear-gradient(135deg, #356cff, #22c7f8);
    box-shadow: 0 8px 18px rgba(53, 108, 255, 0.25);
    transform: rotate(45deg);
}

.site-brand__text {
    color: var(--text);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: 1px;
    padding: 2px;
    border: 1px solid rgba(53, 108, 255, 0.08);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(237, 244, 255, 0.96), rgba(231, 239, 251, 0.78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid rgba(53, 108, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    box-shadow: 0 6px 14px rgba(19, 33, 43, 0.06);
    font: inherit;
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
}

.theme-toggle__icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: currentColor;
    position: relative;
    flex: 0 0 auto;
    box-shadow: inset -5px -4px 0 var(--accent);
}

.theme-toggle[data-theme-state="dark"] .theme-toggle__icon {
    background: var(--accent-strong);
    box-shadow:
        0 0 0 2px rgba(110, 160, 255, 0.16),
        inset 5px -3px 0 var(--surface-strong);
}

.site-nav__link,
.site-nav__button,
.site-nav__login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--muted);
    background: transparent;
    border: 1px solid transparent;
    font: inherit;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__link.is-active,
.site-nav__button:hover {
    background: #ffffff;
    color: var(--text);
    border-color: rgba(53, 108, 255, 0.08);
    box-shadow: 0 6px 14px rgba(19, 33, 43, 0.06);
    transform: translateY(-1px);
}

.site-nav__login {
    min-height: 30px;
    padding: 0 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
    border-color: rgba(53, 108, 255, 0.08);
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(53, 108, 255, 0.16);
}

.site-nav__login:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(53, 108, 255, 0.2);
}

.site-nav__form {
    margin: 0;
}

.site-nav__button {
    border-color: rgba(11, 23, 48, 0.08);
    background: rgba(255, 255, 255, 0.82);
}

.site-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(18, 40, 66, 0.1);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 253, 0.88));
    color: var(--text);
    box-shadow: 0 12px 26px rgba(19, 33, 43, 0.08);
    cursor: pointer;
    flex: 0 0 48px;
}

.site-nav-toggle span {
    display: block;
    width: 18px;
    height: 5px;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform-origin: center;
}

.site-nav-toggle span + span {
    margin-top: 4px;
}

.site-nav-toggle span:nth-child(1) {
    background: #0b1730;
}

.site-nav-toggle span:nth-child(2) {
    background: #356cff;
}

.site-nav-toggle span:nth-child(3) {
    background: #22c7f8;
}

.site-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: #0b1730;
}

.site-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.site-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: #0b1730;
}

.site-footer {
    margin-top: 42px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.site-footer__inner {
    width: min(var(--content-width), calc(100vw - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(0, 1.4fr);
    gap: 24px;
    padding: 28px;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 800;
}

.site-footer__text {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.site-footer__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.site-footer__column {
    display: grid;
    gap: 10px;
    align-content: start;
}

.site-footer__title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.site-footer__column a {
    color: var(--text);
}

.site-footer__column a:hover {
    color: var(--accent-strong);
}

.site-footer__muted {
    color: var(--muted);
    line-height: 1.6;
}

.site-footer__socials {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.site-footer__social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    width: auto;
    max-width: 100%;
}

.site-footer__social-link:hover {
    color: var(--accent-strong);
}

.site-footer__social-icon,
.site-footer__social-link svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    fill: currentColor;
    flex: 0 0 18px;
    display: block;
}

.coming-soon-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 10%, rgba(62, 169, 255, 0.16), transparent 20%),
        radial-gradient(circle at 92% 2%, rgba(18, 119, 207, 0.12), transparent 18%),
        linear-gradient(180deg, #f4f8fc 0%, #ecf3f9 100%);
}

.coming-soon-shell {
    --content-width: 1200px;
    padding-top: 28px;
    padding-bottom: 34px;
}

.coming-launch {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(17, 43, 72, 0.08);
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 72px rgba(18, 37, 61, 0.1);
}

.coming-launch__backdrop {
    position: absolute;
    inset: auto -120px -110px auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 108, 255, 0.18), transparent 68%);
    pointer-events: none;
}

.coming-launch__nav,
.coming-launch__hero,
.coming-launch__features,
.coming-launch__contact,
.coming-launch__footer {
    position: relative;
    z-index: 1;
}

.coming-launch__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 10px 24px;
}

.coming-launch__brand {
    display: inline-flex;
    align-items: center;
}

.coming-launch__nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.coming-launch__nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(18, 40, 66, 0.08);
    background: rgba(255, 255, 255, 0.72);
    color: #2f4c69;
    font-weight: 700;
}

.coming-launch__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 24px;
    align-items: start;
    padding: 16px 8px 18px;
}

.coming-launch__copy {
    min-width: 0;
    padding: 22px 10px 0;
}

.coming-launch__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.coming-launch__badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #0f2f4d;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coming-launch__badge--soft {
    background: rgba(17, 122, 201, 0.12);
    color: #1f4fda;
}

.coming-launch__title {
    margin: 0 0 18px;
    max-width: 10.5ch;
    font-size: clamp(3rem, 5.4vw, 6rem);
    line-height: 0.92;
    letter-spacing: -0.065em;
    color: #10263f;
}

.coming-launch__subtitle {
    margin: 0;
    max-width: 44rem;
    color: #52687e;
    font-size: 1.08rem;
    line-height: 1.8;
}

.coming-launch__status-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.coming-launch__status-card {
    display: grid;
    gap: 8px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(18, 40, 66, 0.08);
}

.coming-launch__status-label,
.coming-launch__section-label,
.coming-launch__feature-index {
    color: #6e8296;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coming-launch__status-card strong {
    font-size: 1.2rem;
    line-height: 1.25;
    color: #112843;
}

.coming-launch__status-card p {
    margin: 0;
    color: #5f7388;
    line-height: 1.65;
}

.coming-launch__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.coming-launch__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
}

.coming-launch__cta--primary {
    background: linear-gradient(135deg, #356cff, #22c7f8);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(53, 108, 255, 0.24);
}

.coming-launch__cta--secondary {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(18, 40, 66, 0.08);
    color: #17385e;
}

.coming-launch__visual {
    padding-top: 4px;
}

.coming-launch__device {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 30px;
    background: linear-gradient(180deg, #173c62 0%, #102a45 100%);
    box-shadow: 0 30px 54px rgba(15, 35, 58, 0.28);
}

.coming-launch__device-top {
    display: flex;
    gap: 8px;
    padding: 2px 6px 0;
}

.coming-launch__device-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}

.coming-launch__device-screen {
    padding: 20px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(53, 108, 255, 0.18), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #eef6fd 100%);
}

.coming-launch__screen-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
}

.coming-launch__screen-chip {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #dff3ff;
    color: #1f4fda;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coming-launch__screen-header h2 {
    margin: 12px 0 0;
    max-width: 11ch;
    font-size: 1.5rem;
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: #10263f;
}

.coming-launch__screen-stat {
    min-width: 118px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(18, 40, 66, 0.08);
    text-align: right;
}

.coming-launch__screen-stat span {
    display: block;
    color: #6e8296;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.coming-launch__screen-stat strong {
    font-size: 1rem;
    color: #10263f;
}

.coming-launch__listing-preview {
    display: grid;
    gap: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(18, 40, 66, 0.08);
    background: rgba(255, 255, 255, 0.78);
}

.coming-launch__listing-media {
    position: relative;
    height: 228px;
    background:
        linear-gradient(135deg, rgba(18, 40, 66, 0.12), rgba(255, 255, 255, 0.18)),
        linear-gradient(120deg, #cad7e5 0%, #eef4fb 50%, #d5e1ec 100%);
}

.coming-launch__listing-media::before {
    content: '';
    position: absolute;
    inset: 22px 20px 52px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.05)),
        linear-gradient(135deg, #9eb6c9, #dfe9f2);
    box-shadow: inset 0 -36px 80px rgba(16, 38, 63, 0.12);
}

.coming-launch__listing-media::after {
    content: '';
    position: absolute;
    left: 54px;
    right: 54px;
    bottom: 34px;
    height: 18px;
    border-radius: 999px;
    background: rgba(16, 38, 63, 0.1);
    filter: blur(12px);
}

.coming-launch__listing-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(16, 38, 63, 0.86);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coming-launch__listing-body {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.coming-launch__listing-location {
    color: #6a7f94;
    font-size: 0.94rem;
}

.coming-launch__listing-title {
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.35;
    color: #10263f;
}

.coming-launch__listing-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.coming-launch__listing-metrics div {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(245, 249, 253, 0.94);
}

.coming-launch__listing-metrics span {
    color: #6e8296;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coming-launch__listing-metrics strong {
    font-size: 0.92rem;
    line-height: 1.35;
    color: #112843;
}

.coming-launch__mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.coming-launch__mini-card {
    display: grid;
    gap: 4px;
    min-height: 82px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(18, 40, 66, 0.08);
}

.coming-launch__mini-card span {
    color: #6e8296;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coming-launch__mini-card strong {
    color: #112843;
    line-height: 1.35;
}

.coming-launch__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 12px 8px 10px;
}

.coming-launch__feature-card {
    display: grid;
    gap: 10px;
    min-height: 184px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(18, 40, 66, 0.08);
}

.coming-launch__feature-card h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #10263f;
}

.coming-launch__feature-card p {
    margin: 0;
    color: #5f7388;
    line-height: 1.7;
}

.coming-launch__contact {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
    padding: 18px 8px 10px;
}

.coming-launch__contact-copy {
    padding: 18px 6px 0 0;
}

.coming-launch__contact-copy h3 {
    margin: 10px 0 12px;
    font-size: clamp(1.8rem, 2.5vw, 2.6rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    color: #10263f;
}

.coming-launch__contact-copy p {
    margin: 0;
    max-width: 34rem;
    color: #5f7388;
    line-height: 1.75;
}

.coming-launch__social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.coming-launch__social-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(18, 40, 66, 0.08);
    color: #17385e;
}

.coming-launch__social-card:hover {
    border-color: rgba(53, 108, 255, 0.24);
    color: #1f4fda;
}

.coming-launch__social-card svg {
    flex: 0 0 18px;
    fill: currentColor;
}

.coming-launch__social-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
}

.coming-launch__social-card span {
    color: #6a7f94;
    font-size: 0.94rem;
}

.coming-launch__footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 10px 6px;
    color: #70849a;
    font-size: 0.92rem;
}

.content-page {
    padding: 32px;
}

.content-page__title {
    margin: 0 0 10px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.content-page__intro {
    margin: 0 0 28px;
    max-width: 70ch;
    color: var(--muted);
    line-height: 1.7;
}

.content-page--faq {
    background:
        radial-gradient(circle at top left, rgba(53, 108, 255, 0.06), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.95));
}

.help-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 22px;
}

.faq-search-shell {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
    padding: 18px 20px;
    border: 1.5px solid rgba(18, 40, 66, 0.24);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.95));
    box-shadow: 0 16px 32px rgba(19, 33, 43, 0.06);
}

.faq-search-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.faq-search-input {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 1.5px solid rgba(18, 40, 66, 0.24);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    font: inherit;
    box-shadow: inset 0 1px 2px rgba(18, 40, 66, 0.035);
}

.faq-search-meta {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.faq-knowledge {
    display: grid;
    gap: 16px;
    margin: 0 0 26px;
    padding: 22px;
    border: 1px solid rgba(18, 40, 66, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.95));
    box-shadow: 0 18px 38px rgba(19, 33, 43, 0.07);
}

.faq-knowledge__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.faq-knowledge__card {
    display: grid;
    gap: 8px;
    min-height: 160px;
    padding: 18px 20px;
    border: 1px solid rgba(18, 40, 66, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 247, 255, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq-knowledge__card:hover {
    transform: translateY(-2px);
    border-color: rgba(53, 108, 255, 0.18);
    box-shadow: 0 16px 30px rgba(19, 33, 43, 0.08);
}

.faq-knowledge__eyebrow {
    color: var(--accent-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.faq-knowledge__title {
    font-size: 1.04rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.faq-knowledge__text {
    color: var(--muted);
    line-height: 1.65;
}

.help-overview-card {
    padding: 18px 20px;
    border: 1px solid rgba(18, 40, 66, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(241, 247, 255, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: grid;
    gap: 8px;
}

.help-overview-card__eyebrow,
.help-sidebar__eyebrow,
.help-section__eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--accent-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.help-overview-card__title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.help-overview-card__text {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.help-topic-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 26px;
}

.help-topic-chip {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(18, 40, 66, 0.08);
    background: rgba(255, 255, 255, 0.84);
    color: var(--muted);
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.help-topic-chip:hover {
    color: var(--text);
    border-color: rgba(53, 108, 255, 0.16);
}

.content-page__body {
    display: grid;
    gap: 24px;
}

.content-page__body--faq {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
}

.help-sidebar {
    position: sticky;
    top: 18px;
}

.help-sidebar__card {
    padding: 18px;
    border: 1px solid rgba(18, 40, 66, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.94));
    box-shadow: 0 18px 40px rgba(19, 33, 43, 0.07);
    display: grid;
    gap: 12px;
}

.help-sidebar__nav {
    display: grid;
    gap: 8px;
}

.help-sidebar__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(18, 40, 66, 0.06);
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    font-weight: 700;
}

.help-sidebar__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: var(--radius-pill);
    background: #eef4fb;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
}

.help-main {
    display: grid;
    gap: 20px;
}

.content-page__section {
    padding-top: 18px;
    border-top: 1px solid rgba(24, 38, 52, 0.08);
}

.content-page__section:first-child {
    padding-top: 0;
    border-top: none;
}

.content-page__section h2 {
    margin: 0 0 12px;
    font-size: 1.2rem;
}

.help-section {
    padding: 22px;
    border: 1px solid rgba(18, 40, 66, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.95));
    box-shadow: 0 18px 38px rgba(19, 33, 43, 0.07);
}

.help-section__header {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
}

.help-section__header h2 {
    margin: 0;
    font-size: 1.32rem;
    letter-spacing: -0.03em;
}

.content-page__section p {
    margin: 0 0 12px;
    color: var(--text);
    line-height: 1.75;
}

.content-contact-form {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(24, 38, 52, 0.08);
    display: grid;
    gap: 20px;
}

.content-contact-form__header {
    display: grid;
    gap: 8px;
    max-width: 68ch;
}

.content-contact-form__header h2 {
    margin: 0;
    font-size: 1.45rem;
}

.content-contact-form__header p {
    margin: 0;
    color: var(--muted);
}

.content-contact-form__form {
    display: grid;
    gap: 16px;
    max-width: 820px;
}

.content-contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.content-contact-form input,
.content-contact-form textarea {
    width: 100%;
    border: 1px solid rgba(18, 40, 66, 0.14);
    border-radius: 14px;
    padding: 12px 14px;
    background: #ffffff;
    color: var(--text);
    font: inherit;
}

.content-contact-form textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.6;
}

.content-contact-form__notice {
    max-width: 820px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
}

.content-contact-form__notice p {
    margin: 0;
}

.content-contact-form__notice p + p {
    margin-top: 6px;
}

.content-contact-form__notice--success {
    color: #136447;
    background: rgba(38, 185, 129, 0.12);
}

.content-contact-form__notice--error {
    color: #9a3040;
    background: rgba(197, 68, 84, 0.12);
}

.content-contact-form__consent {
    align-items: flex-start;
    color: var(--muted);
}

.content-contact-form__consent input {
    width: auto;
    margin-top: 3px;
}

.content-contact-form__trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.social-tool-page {
    display: grid;
    gap: 24px;
}

.social-tool-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 28px;
    align-items: center;
    padding: 34px;
    background:
        linear-gradient(135deg, rgba(53, 108, 255, 0.16), rgba(34, 199, 248, 0.08)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.98)),
        var(--surface);
    border: 1px solid rgba(18, 40, 66, 0.08);
    box-shadow: var(--shadow);
}

.social-tool-hero__copy {
    display: grid;
    gap: 16px;
    max-width: 780px;
}

.social-tool-hero h1,
.social-tool-section h2,
.social-tool-lead h2 {
    margin: 0;
    letter-spacing: 0;
    line-height: 1.04;
}

.social-tool-hero h1 {
    max-width: 13ch;
    font-size: clamp(2.4rem, 4.1vw, 4.2rem);
}

.social-tool-hero p,
.social-tool-section__header p,
.social-tool-lead__intro p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
    font-size: 1.05rem;
}

.social-tool-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.social-tool-channel-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.social-tool-hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.social-tool-hero__points > span,
.social-tool-channel-strip > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(53, 108, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 800;
}

.social-platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
}

.social-platform-icon svg {
    width: 17px;
    height: 17px;
    display: block;
}

.social-platform-icon svg path,
.social-platform-icon svg rect,
.social-platform-icon svg circle {
    fill: currentColor;
}

.social-platform-icon--instagram svg rect,
.social-platform-icon--instagram svg circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.social-platform-icon--facebook {
    background: linear-gradient(135deg, #1877f2, #3b8cff);
}

.social-platform-icon--instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b 54%, #515bd4);
}

.social-platform-icon--linkedin {
    background: linear-gradient(135deg, #0a66c2, #2f8ee8);
}

.social-platform-icon--x {
    background: linear-gradient(135deg, #111827, #38465a);
}

.social-platform-icon--pinterest {
    background: linear-gradient(135deg, #e60023, #ff4b61);
}

.social-tool-preview {
    border: 1px solid rgba(18, 40, 66, 0.1);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 247, 255, 0.96));
    overflow: hidden;
    box-shadow: 0 22px 42px rgba(19, 33, 43, 0.12);
}

.social-tool-preview__toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(18, 40, 66, 0.08);
}

.social-tool-preview__toolbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.social-tool-preview__toolbar span + span {
    background: var(--accent-cyan);
}

.social-tool-preview__toolbar strong {
    margin-left: auto;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.social-tool-preview__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(18, 40, 66, 0.08);
    background: rgba(235, 242, 255, 0.62);
}

.social-tool-preview__summary div {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.social-tool-preview__summary span:last-child {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.social-tool-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.14);
}

.social-tool-preview__grid {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.social-tool-post {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(18, 40, 66, 0.08);
    border-radius: 18px;
    background: var(--surface);
}

.social-tool-post--wide {
    grid-template-columns: 160px minmax(0, 1fr);
}

.social-tool-post__image {
    height: 84px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--accent-soft);
}

.social-tool-post__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-tool-post__body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.social-tool-post__platform {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 900;
}

.social-tool-post__platform .social-platform-icon {
    width: 20px;
    height: 20px;
    border-radius: 7px;
}

.social-tool-post__platform .social-platform-icon svg {
    width: 12px;
    height: 12px;
}

.social-tool-post__body strong,
.social-tool-text-grid strong,
.social-tool-feature-grid strong,
.social-tool-steps strong {
    overflow-wrap: anywhere;
}

.social-tool-post__body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.social-tool-post__body small {
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.35;
}

.social-tool-preview__footer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 16px 16px;
}

.social-tool-preview__footer span {
    display: inline-flex;
    justify-content: center;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(53, 108, 255, 0.08);
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
}

.social-tool-section,
.social-tool-lead {
    padding: 30px;
    border: 1px solid rgba(18, 40, 66, 0.08);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: 0 16px 34px rgba(19, 33, 43, 0.06);
}

.social-tool-section--split {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: 24px;
}

.social-tool-section__header,
.social-tool-lead__intro {
    display: grid;
    gap: 10px;
    max-width: 760px;
}

.social-tool-section__header {
    margin-bottom: 22px;
}

.social-tool-text-grid,
.social-tool-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.social-tool-text-grid article,
.social-tool-feature-grid article {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(18, 40, 66, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.9));
}

.social-tool-text-grid p,
.social-tool-feature-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.social-tool-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.8rem;
    font-weight: 900;
}

.social-tool-platforms {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.social-tool-platforms article {
    display: grid;
    gap: 10px;
    align-content: start;
    min-width: 0;
    min-height: 150px;
    padding: 18px;
    border: 1px solid rgba(18, 40, 66, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92));
}

.social-tool-platforms article > span:not(.social-platform-icon) {
    color: var(--muted);
    line-height: 1.5;
    font-size: 0.92rem;
}

.social-tool-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.social-tool-steps article {
    display: grid;
    gap: 10px;
    align-content: start;
    min-height: 132px;
    padding: 18px;
    border: 1px solid rgba(18, 40, 66, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.9));
}

.social-tool-steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
    color: #ffffff;
    font-weight: 900;
}

.social-tool-lead {
    display: grid;
    gap: 22px;
}

.social-tool-form {
    display: grid;
    gap: 16px;
}

.social-tool-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.social-tool-form input,
.social-tool-form select,
.social-tool-form textarea {
    width: 100%;
    border: 1px solid rgba(18, 40, 66, 0.14);
    border-radius: 14px;
    padding: 12px 14px;
    background: #ffffff;
    color: var(--text);
    font: inherit;
}

.social-tool-form textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.social-tool-form .portal-intro__primary {
    width: fit-content;
    border: 0;
    cursor: pointer;
}

html[data-theme="dark"] .social-tool-hero,
html[data-theme="dark"] .social-tool-preview,
html[data-theme="dark"] .social-tool-section,
html[data-theme="dark"] .social-tool-lead,
html[data-theme="dark"] .social-tool-post,
html[data-theme="dark"] .social-tool-platforms article,
html[data-theme="dark"] .social-tool-text-grid article,
html[data-theme="dark"] .social-tool-feature-grid article,
html[data-theme="dark"] .social-tool-steps article {
    background: var(--surface);
    border-color: var(--border);
}

html[data-theme="dark"] .social-tool-hero__points > span,
html[data-theme="dark"] .social-tool-channel-strip > span,
html[data-theme="dark"] .social-tool-form input,
html[data-theme="dark"] .social-tool-form select,
html[data-theme="dark"] .social-tool-form textarea {
    background: var(--surface-strong);
    border-color: var(--border);
}

html[data-theme="dark"] .social-tool-preview__summary,
html[data-theme="dark"] .social-tool-preview__footer span {
    background: rgba(53, 108, 255, 0.12);
}

@media (max-width: 1100px) {
    .social-tool-hero,
    .social-tool-section--split {
        grid-template-columns: 1fr;
    }

    .social-tool-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .social-tool-platforms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .social-tool-page {
        gap: 16px;
        min-width: 0;
    }

    .social-tool-hero,
    .social-tool-section,
    .social-tool-lead {
        min-width: 0;
        padding: 18px;
        border-radius: 20px;
        overflow: hidden;
    }

    .social-tool-hero {
        gap: 18px;
        align-items: stretch;
    }

    .social-tool-hero__copy {
        gap: 14px;
        min-width: 0;
    }

    .social-tool-hero h1 {
        max-width: none;
        font-size: clamp(1.82rem, 8.8vw, 2.35rem);
        line-height: 1.08;
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
    }

    .social-tool-hero p,
    .social-tool-section__header p,
    .social-tool-lead__intro p {
        font-size: 0.96rem;
        line-height: 1.65;
        overflow-wrap: anywhere;
    }

    .social-tool-hero__actions .portal-intro__primary,
    .social-tool-hero__actions .portal-intro__secondary {
        width: 100%;
        min-width: 0;
        padding-inline: 16px;
    }

    .social-tool-channel-strip,
    .social-tool-hero__points {
        display: grid;
        grid-template-columns: 1fr;
    }

    .social-tool-hero__points > span,
    .social-tool-channel-strip > span {
        width: 100%;
        justify-content: center;
        min-width: 0;
        white-space: normal;
        text-align: center;
    }

    .social-tool-preview {
        min-width: 0;
        border-radius: 18px;
    }

    .social-tool-preview__toolbar {
        padding: 12px;
    }

    .social-tool-preview__toolbar strong {
        max-width: 16ch;
        overflow-wrap: anywhere;
        text-align: right;
    }

    .social-tool-preview__grid {
        padding: 12px;
    }

    .social-tool-preview__summary {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px;
    }

    .social-tool-preview__footer {
        grid-template-columns: 1fr;
        padding: 0 12px 12px;
    }

    .social-tool-text-grid,
    .social-tool-feature-grid,
    .social-tool-steps,
    .social-tool-form__grid {
        grid-template-columns: 1fr;
    }

    .social-tool-post,
    .social-tool-post--wide {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }

    .social-tool-post__image {
        height: 152px;
    }

    .social-tool-section h2,
    .social-tool-lead h2 {
        font-size: clamp(1.55rem, 7vw, 2rem);
        overflow-wrap: anywhere;
    }

    .social-tool-platforms {
        display: grid;
        grid-template-columns: 1fr;
    }

    .social-tool-platforms article {
        min-height: 0;
    }

    .social-tool-form .portal-intro__primary {
        width: 100%;
    }
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    border: 1px solid rgba(24, 38, 52, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.faq-item[open] {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 255, 0.94));
    border-color: rgba(53, 108, 255, 0.14);
}

.faq-item__summary {
    list-style: none;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
}

.faq-item__summary::-webkit-details-marker {
    display: none;
}

.faq-item__question {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.faq-item__answer {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--muted);
    line-height: 1.75;
}

.faq-empty-state {
    display: grid;
    gap: 6px;
    padding: 22px;
    border: 1px dashed rgba(18, 40, 66, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--muted);
}

.faq-empty-state[hidden] {
    display: none;
}

.faq-empty-state strong {
    color: var(--text);
    font-size: 1rem;
}

.faq-item__toggle {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 3px;
}

.faq-item__toggle::before,
.faq-item__toggle::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent-strong);
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.faq-item__toggle::after {
    transform: rotate(90deg);
}

.faq-item[open] .faq-item__toggle::after {
    opacity: 0;
    transform: rotate(90deg) scaleX(0.4);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
    margin: 18px auto 28px;
}

.topbar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.topbar__badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #22c7f8);
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.topbar__nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pill-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    transition: 0.2s ease;
}

.pill-link:hover,
.pill-link.is-active {
    background: var(--surface-strong);
    color: var(--text);
    box-shadow: 0 8px 24px rgba(19, 33, 43, 0.08);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
    gap: 22px;
    align-items: stretch;
    margin-bottom: 24px;
}

.hero__panel,
.hero__aside,
.panel,
.card,
.stat-card {
    background: var(--surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero__panel {
    padding: 32px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__title {
    margin: 0 0 16px;
    font-size: clamp(2.2rem, 4vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero__text {
    margin: 0;
    color: var(--muted);
    max-width: 62ch;
    line-height: 1.7;
    font-size: 1.02rem;
}

.hero__aside {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.kpi-stack {
    display: grid;
    gap: 12px;
}

.kpi-chip {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(24, 38, 52, 0.08);
}

.kpi-chip__label {
    font-size: 13px;
    color: var(--muted);
}

.kpi-chip__value {
    font-size: 1.5rem;
    font-weight: 700;
}

.filters-card,
.section-card {
    padding: 24px;
    margin-bottom: 24px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 14px;
}

.field-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.11em;
    margin-bottom: 8px;
    font-weight: 800;
}

.field-label--icon::before,
.property-card__fact::before,
.property-card__price-label::before,
.property-card__cta::after {
    content: "";
    display: inline-flex;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    background: currentColor;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.field-label--search::before {
    mask-image: url("/static/icon-search.svg");
    -webkit-mask-image: url("/static/icon-search.svg");
}

.field-label--location::before {
    mask-image: url("/static/icon-location.svg");
    -webkit-mask-image: url("/static/icon-location.svg");
}

.field-label--building::before {
    mask-image: url("/static/icon-building.svg");
    -webkit-mask-image: url("/static/icon-building.svg");
}

.field-label--price::before {
    mask-image: url("/static/icon-price.svg");
    -webkit-mask-image: url("/static/icon-price.svg");
}

.field-label--size::before {
    mask-image: url("/static/icon-area.svg");
    -webkit-mask-image: url("/static/icon-area.svg");
}

.field-label--sort::before {
    mask-image: url("/static/icon-sort.svg");
    -webkit-mask-image: url("/static/icon-sort.svg");
}

input,
select,
button,
textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 1.5px solid rgba(24, 38, 52, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(53, 108, 255, 0.16);
    border-color: rgba(53, 108, 255, 0.36);
}

.button-primary,
button {
    background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
    color: #fff;
    border: none;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(53, 108, 255, 0.22);
}

.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
    text-align: center;
}

.site-header__inner,
.site-nav__links,
.site-nav__button,
.site-nav-toggle,
.site-footer,
.topbar,
.hero__panel,
.hero__aside,
.panel,
.card,
.stat-card,
.filters-card,
.section-card,
.help-overview-card,
.help-topic-chip,
.help-sidebar__card,
.help-sidebar__link,
.help-section,
.faq-item,
.gallery-item,
.metric,
.poi-card,
.search-mode-toggle,
.search-topbar,
.search-results,
.results-toolbar,
.property-card,
.property-card__fact,
.property-fact,
.agent-card,
.document-item,
.detail-gallery__thumb,
.admin-shell .kpi-chip,
.admin-shell .metric,
.admin-shell .property-fact,
.admin-shell .stat-card,
.admin-shell .table-wrap {
    border-width: 1.5px;
    border-color: rgba(18, 40, 66, 0.24);
}

.search-topbar input,
.search-topbar select,
.search-topbar textarea,
.search-sidebar input,
.search-sidebar select,
.search-sidebar textarea,
.detail-contact input,
.detail-contact textarea,
.detail-contact select,
.admin-shell input,
.admin-shell select,
.admin-shell textarea {
    border-width: 1.5px;
    border-color: rgba(18, 40, 66, 0.24);
}

.search-mode-toggle,
.site-nav__links,
.site-header__inner,
.help-sidebar__link,
.faq-item[open] {
    border-color: rgba(53, 108, 255, 0.24);
}

.results-line,
.section-header__text {
    color: var(--muted);
    max-width: 34ch;
    font-size: 0.99rem;
    line-height: 1.58;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-title {
    margin: 0;
    font-size: clamp(1.6rem, 1.48rem + 0.34vw, 1.74rem);
    font-weight: 820;
    line-height: 1.02;
    letter-spacing: -0.046em;
    text-wrap: balance;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 18px;
}

.listing-card {
    display: grid;
    gap: 18px;
    padding: 20px;
}

.listing-card__media {
    height: 180px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(34, 199, 248, 0.18), rgba(34, 199, 248, 0.02)),
        linear-gradient(120deg, #e1d2b8 0%, #f9f3eb 100%);
    border: 1px solid rgba(24, 38, 52, 0.06);
    position: relative;
    overflow: hidden;
}

.listing-card__media::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 14px;
    border: 1px dashed rgba(19, 33, 43, 0.16);
}

.listing-card__title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.15;
}

.listing-card__meta {
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.meta-pair {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.meta-pair span:first-child {
    color: var(--muted);
}

.meta-pair span:last-child {
    color: var(--text);
    font-weight: 600;
    text-align: right;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.status-badge--aktiv {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.status-badge--reserviert,
.status-badge--vertragserrichtung {
    background: var(--warn-soft);
    color: var(--warn);
}

.status-badge--inaktiv {
    background: var(--danger-soft);
    color: var(--danger);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.95fr);
    gap: 22px;
}

.gallery-grid {
    display: grid;
    gap: 12px;
}

.gallery-item {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(24, 38, 52, 0.08);
    overflow-wrap: anywhere;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 14px;
}

.metric {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(24, 38, 52, 0.08);
}

.metric__label {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.metric__value {
    font-weight: 700;
    line-height: 1.4;
}

.description-shell {
    position: relative;
}

.translation-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 40px;
    margin: 10px 0 0;
    padding: 9px 14px;
    border-radius: 14px;
    border: 1.5px solid rgba(18, 40, 66, 0.16);
    background: rgba(240, 246, 253, 0.98);
    color: var(--text);
    font-weight: 800;
    box-shadow: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.translation-toggle:hover,
.translation-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(53, 108, 255, 0.3);
    background: rgba(229, 240, 253, 0.98);
}

.description-block {
    position: relative;
    color: var(--text);
    overflow: hidden;
    font-size: 1.02rem;
    line-height: 1.72;
}

.description-block > :first-child {
    margin-top: 0;
}

.description-block > :last-child {
    margin-bottom: 0;
}

.description-block p,
.description-block ul,
.description-block ol,
.description-block h3,
.description-block h4,
.description-block hr {
    margin: 0 0 18px;
}

.description-block p {
    max-width: 78ch;
}

.description-block strong {
    font-weight: 800;
}

.description-block h3,
.description-block h4 {
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 1.55rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.description-block h4 {
    font-size: 1.2rem;
}

.description-block ul,
.description-block ol {
    max-width: 78ch;
    padding-left: 26px;
}

.description-block ul {
    list-style: disc;
}

.description-block ol {
    list-style: decimal;
}

.description-block li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.description-block li::marker {
    color: rgba(24, 38, 52, 0.7);
}

.description-block hr {
    margin: 24px 0;
    border: none;
    border-top: 1px solid rgba(24, 38, 52, 0.12);
}

.description-block br + br {
    display: block;
    content: "";
    margin-top: 8px;
}

.description-block.is-collapsed {
    max-height: 430px;
}

.description-block.is-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 82%);
    pointer-events: none;
}

.description-toggle {
    margin-top: 14px;
    width: auto;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    color: #1f4fda;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.poi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.poi-card {
    padding: 18px 18px 16px;
    border-radius: 18px;
    border: 1px solid rgba(18, 40, 66, 0.14);
    background: linear-gradient(180deg, #fbfdff 0%, #f1f7fd 100%);
    box-shadow: 0 12px 28px rgba(19, 33, 43, 0.07);
}

.poi-card__title {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(18, 40, 66, 0.08);
    font-size: 1rem;
}

.poi-card__rows {
    display: grid;
    gap: 10px;
}

.poi-card__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: flex-start;
}

.poi-card__row span {
    color: var(--text);
    min-width: 0;
    overflow-wrap: anywhere;
}

.poi-card__row strong {
    padding-left: 8px;
    text-align: right;
    white-space: nowrap;
}

.poi-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.95rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 26px;
}

.stat-card {
    padding: 22px;
}

.stat-card__label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.stat-card__value {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.table-wrap {
    overflow: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    border-radius: 18px;
    border: 1px solid rgba(24, 38, 52, 0.08);
    background: rgba(255, 255, 255, 0.74);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

th,
td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(24, 38, 52, 0.08);
    vertical-align: top;
}

th {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    background: rgba(248, 243, 234, 0.9);
    position: sticky;
    top: 0;
}

tbody tr:hover {
    background: rgba(34, 199, 248, 0.04);
}

.table-link {
    color: var(--accent-strong);
    font-weight: 700;
}

.muted {
    color: var(--muted);
}

.code-pill {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 10px;
    background: rgba(19, 33, 43, 0.06);
    font-family: Consolas, monospace;
    font-size: 0.92rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--accent-strong);
    font-weight: 700;
}

.stack {
    display: grid;
    gap: 22px;
}

.admin-shell {
    --content-width: 1200px;
    padding-top: 0;
    padding-bottom: 0;
}

.admin-shell .section-card,
.admin-shell .hero__panel,
.admin-shell .hero__aside {
    overflow: visible;
    min-width: 0;
}

.admin-shell .hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    align-items: start;
    gap: 18px;
    margin-bottom: 18px;
}

.admin-shell .hero__title {
    font-size: clamp(1.55rem, 2.1vw, 2.45rem);
    line-height: 1.1;
    max-width: 18ch;
    overflow-wrap: anywhere;
    margin-bottom: 10px;
}

.admin-shell .hero__aside {
    align-self: start;
}

.admin-shell .hero__panel {
    padding: 24px;
}

.admin-shell .hero__aside,
.admin-shell .section-card {
    padding: 20px;
}

.admin-shell .section-header {
    margin-bottom: 14px;
}

.admin-shell .section-title {
    font-size: 1.8rem;
    line-height: 1.1;
}

.admin-shell .hero__text {
    font-size: 0.96rem;
    line-height: 1.6;
}

.admin-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 6px;
}

.admin-shell .kpi-stack {
    gap: 8px;
}

.admin-shell .kpi-chip {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 14px;
}

.admin-shell .kpi-chip__value {
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    overflow-wrap: anywhere;
    text-align: left;
}

.admin-shell .table-wrap {
    max-width: 100%;
}

.admin-shell table {
    min-width: 860px;
    table-layout: fixed;
}

.admin-shell th,
.admin-shell td {
    overflow-wrap: anywhere;
    word-break: break-word;
    padding-top: 12px;
    padding-bottom: 12px;
}

.admin-shell--wide {
    --content-width: calc(100vw - 32px);
}

.admin-shell--anbieter .hero__title {
    max-width: 24ch;
}

.anbieter-directory {
    display: grid;
    gap: 18px;
}

.anbieter-filter-panel,
.anbieter-table-panel {
    width: 100%;
}

.anbieter-filter-grid {
    display: grid;
    grid-template-columns: minmax(260px, 2fr) minmax(180px, 0.7fr) minmax(150px, 0.5fr);
    gap: 12px;
    align-items: end;
}

.anbieter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.anbieter-table-wrap {
    max-width: calc(100vw - 32px);
    border-radius: 16px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.admin-shell--anbieter .anbieter-table {
    min-width: 4200px;
    table-layout: auto;
}

.anbieter-table th,
.anbieter-table td {
    min-width: 120px;
    padding: 10px 12px;
    font-size: 0.9rem;
    white-space: normal;
}

.anbieter-table th:first-child,
.anbieter-table td:first-child {
    min-width: 92px;
    width: 92px;
}

.anbieter-table th:nth-child(3),
.anbieter-table td:nth-child(3),
.anbieter-table th:nth-child(4),
.anbieter-table td:nth-child(4),
.anbieter-table th:nth-child(7),
.anbieter-table td:nth-child(7),
.anbieter-table th:nth-child(13),
.anbieter-table td:nth-child(13),
.anbieter-table th:nth-child(14),
.anbieter-table td:nth-child(14),
.anbieter-table th:nth-child(15),
.anbieter-table td:nth-child(15),
.anbieter-table th:nth-child(25),
.anbieter-table td:nth-child(25) {
    min-width: 210px;
}

.anbieter-table thead tr:first-child th {
    top: 0;
    z-index: 5;
}

.anbieter-table .anbieter-filter-row th {
    top: 48px;
    z-index: 4;
    padding: 8px;
    background: rgba(255, 255, 255, 0.98);
}

.anbieter-table th:first-child,
.anbieter-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    background: #ffffff;
}

.anbieter-table thead th:first-child {
    z-index: 7;
    background: rgba(248, 243, 234, 0.98);
}

.anbieter-filter-row input,
.anbieter-filter-row select {
    width: 100%;
    min-height: 34px;
    padding: 7px 8px;
    border-radius: 9px;
    font-size: 0.78rem;
}

.anbieter-range-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.anbieter-filter-submit,
.anbieter-open-link {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 0.78rem;
}

.anbieter-sort {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.anbieter-sort small {
    padding: 2px 5px;
    border-radius: 999px;
    background: rgba(53, 108, 255, 0.1);
    color: var(--accent-strong);
    font-size: 0.66rem;
    letter-spacing: 0;
}

.anbieter-sort.is-active span {
    color: var(--accent-strong);
}

.anbieter-avatar {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(18, 40, 66, 0.14);
    background: linear-gradient(135deg, rgba(53, 108, 255, 0.12), rgba(34, 199, 248, 0.12));
    color: var(--accent-strong);
    font-weight: 900;
    text-decoration: none;
}

.anbieter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.anbieter-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    background: rgba(24, 38, 52, 0.07);
    color: var(--text);
}

.anbieter-type--provider {
    background: rgba(53, 108, 255, 0.12);
    color: var(--accent-strong);
}

.anbieter-type--agent {
    background: rgba(34, 199, 248, 0.13);
    color: #06647c;
}

.anbieter-empty {
    text-align: center;
    color: var(--muted);
    padding: 26px;
}

.anbieter-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    color: var(--muted);
}

.admin-wrap {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.admin-code {
    font-family: Consolas, monospace;
    font-size: 0.98rem;
}

.admin-shell .topbar__brand {
    min-width: 0;
    flex-wrap: wrap;
}

.admin-shell .topbar__brand span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.admin-summary-grid {
    margin-bottom: 18px;
}

.admin-metric--wide {
    grid-column: 1 / -1;
}

.admin-agent-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(24, 38, 52, 0.08);
}

.admin-agent-card__photo-wrap {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, #eef6fd, #f7fbff);
}

.admin-agent-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-agent-card__meta {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-agent-card__meta strong {
    font-size: 1.08rem;
    line-height: 1.25;
}

.admin-agent-card__meta span {
    color: var(--muted);
}

.description-block--raw {
    max-height: 420px;
    overflow: auto;
    padding-right: 8px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.96rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.admin-media-grid {
    display: grid;
    gap: 14px;
}

.admin-media-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(24, 38, 52, 0.08);
}

.admin-media-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.admin-media-card__preview {
    display: block;
    width: 100%;
    max-width: 340px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(24, 38, 52, 0.08);
    background: #eef5fb;
}

.admin-media-card__preview img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.admin-media-card__links {
    display: grid;
    gap: 6px;
}

.admin-message-cell {
    min-width: 260px;
    max-width: 360px;
}

.detail-layout--admin {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    align-items: start;
    overflow: hidden;
}

.admin-control-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 24px;
}

.admin-form-grid {
    display: grid;
    gap: 16px;
}

.admin-form-grid__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.search-log-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.search-log-range-note {
    display: grid;
    align-content: center;
    gap: 4px;
}

.search-log-text {
    font-weight: 700;
    color: #14202b;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.search-log-subtext {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.55;
    color: #5d7086;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.stat-card__value--small {
    font-size: 16px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.admin-checkbox-row {
    margin: 0;
}

.admin-checkbox-row__text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.field-label__text {
    display: inline-flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35;
    white-space: normal;
}

.inline-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.inline-info__summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(36, 84, 214, 0.28);
    background: rgba(36, 84, 214, 0.08);
    color: #2454d6;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

.inline-info__summary::-webkit-details-marker {
    display: none;
}

.inline-info__content {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    top: auto;
    z-index: 30;
    width: min(320px, 72vw);
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(18, 40, 66, 0.12);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(20, 32, 43, 0.12);
    color: #42576e;
    font-size: 13px;
    line-height: 1.55;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 600;
}

.inline-info--right .inline-info__content {
    right: 0;
    left: auto;
}

.inline-info--left .inline-info__content {
    left: 0;
    right: auto;
}

.admin-form-grid .field-label {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.admin-inquiry-list {
    display: grid;
    gap: 18px;
}

.admin-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(24, 38, 52, 0.08);
    background: rgba(255, 255, 255, 0.82);
    color: var(--muted);
    font-weight: 700;
}

.admin-filter-tab.is-active,
.admin-filter-tab:hover {
    background: #eaf7ff;
    color: #1f4fda;
}

.admin-inquiry-list--compact {
    gap: 14px;
}

.inquiry-table-wrap {
    border-radius: 18px;
}

.admin-inquiry-table {
    min-width: 1120px;
    table-layout: fixed;
}

.admin-inquiry-table th:nth-child(1),
.admin-inquiry-table td:nth-child(1) {
    width: 150px;
}

.admin-inquiry-table th:nth-child(2),
.admin-inquiry-table td:nth-child(2) {
    width: 230px;
}

.admin-inquiry-table th:nth-child(3),
.admin-inquiry-table td:nth-child(3) {
    width: 340px;
}

.admin-inquiry-table th:nth-child(4),
.admin-inquiry-table td:nth-child(4) {
    width: 120px;
}

.admin-inquiry-table th:nth-child(5),
.admin-inquiry-table td:nth-child(5) {
    width: 220px;
}

.admin-inquiry-table th:nth-child(6),
.admin-inquiry-table td:nth-child(6) {
    width: 150px;
}

.admin-inquiry-table th,
.admin-inquiry-table td {
    vertical-align: top;
}

.admin-inquiry-table td {
    overflow-wrap: break-word;
    word-break: normal;
}

.inquiry-table__time,
.inquiry-table__contact,
.inquiry-table__listing,
.inquiry-table__forward {
    min-width: 0;
}

.inquiry-table__time > *,
.inquiry-table__contact > *,
.inquiry-table__listing > *,
.inquiry-table__forward > * {
    display: block;
    margin-bottom: 5px;
}

.inquiry-table__message {
    max-height: 132px;
    overflow: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

.admin-inquiry-table tr.is-blocked {
    background: rgba(180, 83, 9, 0.04);
}

.admin-inquiry-table-actions {
    position: relative;
    display: inline-block;
    width: 100%;
}

.admin-inquiry-table-actions > summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(19, 33, 43, 0.06);
    color: var(--text);
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.admin-inquiry-table-actions > summary::-webkit-details-marker {
    display: none;
}

.admin-inquiry-table-actions > summary:hover {
    background: rgba(53, 108, 255, 0.1);
    box-shadow: 0 8px 18px rgba(19, 33, 43, 0.08);
    transform: translateY(-1px);
}

.admin-inquiry-table-actions__body {
    display: grid;
    gap: 14px;
    position: fixed;
    z-index: 80;
    top: 96px;
    left: 50%;
    width: min(920px, calc(100vw - 48px));
    max-height: calc(100vh - 132px);
    overflow: auto;
    transform: translateX(-50%);
    margin-top: 0;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(24, 38, 52, 0.08);
    background: #f8fbff;
    box-shadow: 0 24px 60px rgba(19, 33, 43, 0.18);
}

.admin-inquiry-table-actions__topbar {
    position: sticky;
    top: -14px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -14px -14px 0;
    padding: 14px;
    border-bottom: 1px solid rgba(24, 38, 52, 0.08);
    border-radius: 16px 16px 0 0;
    background: #f8fbff;
}

.admin-inquiry-table-actions__topbar button {
    min-height: 38px;
    padding: 0 14px;
}

.admin-inquiry-table-actions[open]::before {
    content: "";
    position: fixed;
    z-index: 70;
    inset: 0;
    background: rgba(10, 18, 32, 0.2);
}

.admin-inquiry-table-actions[open] > summary {
    position: relative;
    z-index: 90;
}

.admin-inquiry-item {
    border: 1px solid rgba(24, 38, 52, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.admin-inquiry-item[open] {
    box-shadow: 0 16px 36px rgba(19, 33, 43, 0.08);
}

.admin-inquiry-item__summary {
    list-style: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 18px 20px;
    cursor: pointer;
}

.admin-inquiry-item__summary::-webkit-details-marker {
    display: none;
}

.admin-inquiry-item__main {
    min-width: 0;
    display: grid;
    gap: 10px;
}

.admin-inquiry-item__title-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: baseline;
}

.admin-inquiry-item__title-row strong {
    font-size: 1.08rem;
}

.admin-inquiry-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--muted);
}

.admin-inquiry-item__meta > * {
    min-width: 0;
    overflow-wrap: anywhere;
}

.admin-inquiry-item__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.admin-inquiry-item__body {
    display: grid;
    gap: 16px;
    padding: 0 20px 20px;
    border-top: 1px solid rgba(24, 38, 52, 0.08);
}

.admin-inquiry-item__info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.property-fact--wide {
    grid-column: 1 / -1;
}

.admin-inquiry-item__message-wrap {
    display: grid;
    gap: 8px;
}

.admin-inquiry-item__message {
    white-space: pre-wrap;
    line-height: 1.7;
    border: 1px solid rgba(24, 38, 52, 0.08);
    border-radius: 16px;
    background: #f8fbff;
    padding: 14px 16px;
}

.admin-inquiry-item__reason {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(180, 83, 9, 0.08);
    color: #8a4f06;
    line-height: 1.6;
}

.admin-inquiry-item__reason--muted {
    background: rgba(24, 38, 52, 0.05);
    color: var(--text);
}

.admin-inquiry-item__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.admin-inline-state-form {
    margin: 0;
}

.admin-inline-block-form {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid rgba(24, 38, 52, 0.08);
}

.admin-inline-block-form__controls {
    display: grid;
    grid-template-columns: minmax(110px, 140px) 1fr;
    gap: 10px;
    align-items: center;
}

.admin-shell .metric__value,
.admin-shell .property-fact strong,
.admin-shell .property-fact span,
.admin-shell .description-block,
.admin-shell .description-block--raw {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.admin-shell .hero__text,
.admin-shell .hero__title,
.admin-shell .section-title,
.admin-shell .table-link {
    overflow-wrap: anywhere;
}

.admin-shell .stack,
.admin-shell .detail-layout--admin > div,
.admin-shell .admin-media-card,
.admin-shell .admin-media-card__links {
    min-width: 0;
}

.admin-shell .table-wrap table td .code-pill {
    white-space: normal;
}

.admin-media-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-media-card__preview {
    max-width: none;
}

.admin-media-card__preview img {
    height: 180px;
}

.admin-shell .topbar {
    position: relative;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100vw;
    min-height: 44px;
    margin: 2px 0 12px;
    margin-left: calc(50% - 50vw);
    padding: 8px max(16px, calc((100vw - var(--content-width)) / 2));
    border: 1px solid var(--border);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 22px rgba(19, 33, 43, 0.06);
}

.admin-shell .topbar::before {
    content: none;
}

.admin-shell .topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.admin-shell .topbar__badge {
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid rgba(53, 108, 255, 0.08);
    background: linear-gradient(180deg, rgba(237, 244, 255, 0.96), rgba(231, 239, 251, 0.78));
    color: var(--muted);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.admin-shell .topbar__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin-left: auto;
    flex-wrap: wrap;
}

.admin-shell .pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.admin-shell .pill-link:hover,
.admin-shell .pill-link.is-active {
    background: #ffffff;
    color: var(--text);
    border-color: rgba(53, 108, 255, 0.08);
    box-shadow: 0 6px 14px rgba(19, 33, 43, 0.06);
    transform: translateY(-1px);
}

.admin-shell .topbar__logout {
    display: flex;
    margin: 0;
}

.admin-shell .pill-link--button {
    min-height: 30px;
    padding: 0 12px;
    border-color: rgba(53, 108, 255, 0.08);
    background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(53, 108, 255, 0.16);
}

.admin-shell .pill-link--button:hover {
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(53, 108, 255, 0.2);
}

.admin-shell .metric-grid,
.admin-shell .stats-grid,
.admin-shell .property-facts-grid {
    gap: 14px;
}

.admin-shell .metric,
.admin-shell .property-fact,
.admin-shell .stat-card {
    padding: 14px 16px;
    border-radius: 14px;
}

.admin-shell .metric__label,
.admin-shell .property-fact span,
.admin-shell .stat-card__label {
    font-size: 11px;
}

.admin-shell .metric__value,
.admin-shell .property-fact strong {
    font-size: 1rem;
}

.admin-shell .description-block {
    padding: 18px 20px;
    line-height: 1.7;
}

.admin-shell .back-link {
    margin-bottom: 14px;
}

.portal-shell {
    --content-width: 1200px;
    padding-top: 0;
    padding-bottom: 0;
}

.detail-page-shell {
    --content-width: 1200px;
}

.portal-shell .topbar {
    background: #ffffff;
    border: 1px solid rgba(18, 40, 66, 0.08);
    box-shadow: 0 10px 30px rgba(18, 40, 66, 0.06);
}

.portal-shell .topbar__badge {
    background: linear-gradient(135deg, #356cff, #75d8ff);
}

.portal-shell .pill-link:hover,
.portal-shell .pill-link.is-active {
    background: #eaf7ff;
    color: #1c9ce6;
    box-shadow: none;
}

.portal-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.95fr);
    gap: 24px;
    padding: 24px 26px 26px;
    margin-bottom: 20px;
    background:
        radial-gradient(circle at top left, rgba(53, 108, 255, 0.08), transparent 34%),
        linear-gradient(135deg, rgba(53, 108, 255, 0.05) 0%, rgba(34, 199, 248, 0.04) 24%, rgba(255, 255, 255, 0.98) 58%),
        #ffffff;
    border: 1px solid rgba(18, 40, 66, 0.08);
    box-shadow: 0 20px 40px rgba(19, 33, 43, 0.08);
}

.portal-intro__copy {
    max-width: 760px;
    display: grid;
    gap: 14px;
}

.portal-intro__title {
    margin: 0;
    font-size: clamp(2rem, 2.8vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
    max-width: 13ch;
}

.portal-intro__text {
    margin: 0;
    max-width: 58ch;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.72;
}

.portal-intro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 2px;
}

.portal-intro__primary,
.portal-intro__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 16px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.portal-intro__primary {
    background: linear-gradient(135deg, #2f66ff, #27b9f1);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(53, 108, 255, 0.18);
}

.portal-intro__primary:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(53, 108, 255, 0.22);
}

.portal-intro__secondary {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(18, 40, 66, 0.11);
    color: var(--text);
}

.portal-intro__secondary:hover {
    transform: translateY(-1px);
    border-color: rgba(53, 108, 255, 0.2);
}

.portal-intro__microcopy {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 60ch;
}

.portal-intro__aside {
    display: grid;
    gap: 12px;
    align-content: start;
}

.portal-intro__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 12px;
    min-width: 360px;
}

.portal-intro__stat {
    padding: 16px 18px;
    border: 1px solid rgba(24, 38, 52, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 250, 255, 0.92));
    border-radius: 18px;
    display: grid;
    gap: 7px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.portal-intro__stat span {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.portal-intro__stat strong {
    font-size: 1.22rem;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.portal-intro__stat small {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.search-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.search-sidebar {
    padding: 22px;
    position: sticky;
    top: 18px;
    border: 1px solid rgba(18, 40, 66, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
    box-shadow: 0 22px 48px rgba(19, 33, 43, 0.09);
}

.sidebar-form {
    display: grid;
    gap: 14px;
}

.sidebar-form__section--mode {
    gap: 8px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.search-mode-toggle {
    position: relative;
    display: block;
    width: min(100%, 280px);
    min-height: 54px;
    margin: 0 auto;
    padding: 5px;
    border: 1.5px solid rgba(18, 40, 66, 0.24);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(244, 247, 252, 0.98), rgba(232, 239, 248, 0.92));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 10px 22px rgba(19, 33, 43, 0.06);
    cursor: pointer;
}

.search-mode-toggle__checkbox {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 4;
}

.search-mode-toggle__labels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    justify-content: center;
    inset: 0;
    min-height: 42px;
    pointer-events: none;
}

.search-mode-toggle__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: #617791;
    transition: color 0.22s ease, opacity 0.22s ease;
    z-index: 1;
}

.search-mode-toggle__label-icon {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    flex: 0 0 auto;
}

.search-mode-toggle__label-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.search-mode-toggle__thumb {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(50% - 5px);
    min-height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    background: linear-gradient(135deg, rgba(53, 108, 255, 0.98), rgba(34, 199, 248, 0.98));
    color: #ffffff;
    box-shadow:
        0 8px 18px rgba(53, 108, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
    z-index: 2;
    pointer-events: none;
}

.search-mode-toggle__thumb::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

.search-mode-toggle__thumb-icon,
.search-mode-toggle__thumb-label {
    position: relative;
    z-index: 1;
}

.search-mode-toggle__thumb-icon {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-mode-toggle__thumb-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.search-mode-toggle__thumb-label {
    white-space: nowrap;
    font-size: 0.86rem;
}

.search-mode-toggle.is-classic .search-mode-toggle__thumb {
    transform: translateX(100%);
    background: linear-gradient(135deg, rgba(94, 113, 145, 0.96), rgba(126, 144, 171, 0.94));
    box-shadow:
        0 8px 18px rgba(77, 96, 129, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.search-mode-toggle.is-classic .search-mode-toggle__thumb-icon {
    display: none;
}

.search-mode-toggle.is-ai .search-mode-toggle__label--ai,
.search-mode-toggle.is-classic .search-mode-toggle__label--classic {
    color: rgba(255, 255, 255, 0);
}

.search-mode-toggle.is-ai .search-mode-toggle__label--classic,
.search-mode-toggle.is-classic .search-mode-toggle__label--ai {
    color: #617791;
}

.search-mode-toggle:focus-within {
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 10px 22px rgba(19, 33, 43, 0.06),
        0 0 0 3px rgba(53, 108, 255, 0.12);
}

.sidebar-form__mode-note,
.sidebar-form__hint {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.sidebar-form__hint--ai {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: baseline;
}

.sidebar-form__hint-counter {
    font-weight: 800;
    color: #5d7391;
    transition: color 0.18s ease;
}

.sidebar-form__hint--ai.is-over-limit .sidebar-form__hint-counter {
    color: #d13a4b;
}

.sidebar-form__textarea-shell {
    position: relative;
}

.sidebar-form__textarea {
    min-height: 108px;
    resize: vertical;
}

.sidebar-form__textarea::placeholder {
    color: rgba(98, 117, 138, 0.62);
}

.sidebar-form__textarea-shell.is-over-limit .sidebar-form__textarea {
    border-color: rgba(209, 58, 75, 0.58);
    box-shadow: 0 0 0 3px rgba(209, 58, 75, 0.12);
    color: #b12a3a;
}

.sidebar-form__textarea-shell.is-busy {
    opacity: 0.78;
}

.sidebar-form__textarea-shell.is-busy .sidebar-form__textarea {
    background: linear-gradient(180deg, rgba(243, 247, 252, 0.98), rgba(236, 242, 249, 0.98));
    color: #5a6e87;
    cursor: wait;
    resize: none;
}

.sidebar-form__textarea-shell.is-busy .sidebar-form__textarea::placeholder {
    color: rgba(98, 117, 138, 0.48);
}

.sidebar-form__textarea-overflow {
    color: #d13a4b;
}

.sidebar-form__section {
    display: grid;
    gap: 8px;
    padding: 10px 12px;
    border: 1.5px solid rgba(18, 40, 66, 0.24);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(243, 247, 253, 0.86), rgba(255, 255, 255, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.sidebar-form__section--actions {
    background: linear-gradient(180deg, rgba(233, 242, 255, 0.82), rgba(255, 255, 255, 0.98));
}

.sidebar-form__section-head {
    display: grid;
    gap: 4px;
}

.sidebar-form__eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.sidebar-form__section-title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.sidebar-form__stack,
.sidebar-form__grid {
    display: grid;
    gap: 12px;
}

.sidebar-form__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.sidebar-form__submit {
    min-height: 44px;
    border-radius: 14px;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(53, 108, 255, 0.18);
}

.sidebar-form__reset {
    min-height: 44px;
    border-radius: 14px;
    text-decoration: none;
}

.search-results {
    min-width: 0;
}

.search-results--full {
    display: grid;
    gap: 18px;
    width: min(1450px, calc(100vw - 32px));
    margin-left: 50%;
    transform: translateX(-50%);
}

.search-results__content {
    width: 100%;
    min-width: 0;
}

.search-topbar {
    display: grid;
    gap: 18px;
    padding: 24px 26px 26px;
    width: min(100%, 1200px);
    margin: 0 auto;
    border: 1.5px solid rgba(18, 40, 66, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
    box-shadow: 0 18px 40px rgba(19, 33, 43, 0.08);
}

.search-topbar input,
.search-topbar select,
.search-topbar textarea {
    border-width: 1.5px;
    border-color: rgba(18, 40, 66, 0.24);
    box-shadow: inset 0 1px 2px rgba(18, 40, 66, 0.035);
}

.search-topbar__row {
    display: grid;
    gap: 10px;
}

.search-topbar__row[hidden],
[data-classic-panel][hidden],
[data-ai-panel][hidden] {
    display: none !important;
}

[data-results-ai-only][hidden] {
    display: none !important;
}

.search-topbar__row--top {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    width: min(100%, 980px);
    margin: 0 auto;
    text-align: center;
}

.search-topbar__intro {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.search-topbar__eyebrow,
.search-topbar__headline,
.search-topbar__lede {
    margin: 0;
}

.search-topbar__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(53, 108, 255, 0.1);
    color: var(--accent-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.search-topbar__headline {
    max-width: 18ch;
    font-family: var(--font-display);
    font-size: clamp(1.82rem, 1.64rem + 0.48vw, 2.22rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: var(--text);
}

.search-topbar__lede {
    max-width: 48rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.62;
    text-align: center;
}

.search-topbar__meta {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
}

.search-topbar__meta-label,
.search-topbar__mini-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.search-topbar__meta strong {
    font-family: var(--font-display);
    font-size: 1.04rem;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--text);
}

.search-topbar__meta small {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.2;
}

.search-topbar__mode-block {
    display: grid;
    gap: 8px;
    justify-items: stretch;
    width: min(100%, 280px);
    margin: 0 auto;
}

.search-topbar__row--classic {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 12px;
    align-items: end;
    width: min(100%, 1040px);
    margin: 0 auto;
}

.search-topbar__row--ai {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    width: min(100%, 840px);
    margin: 0 auto;
}

.search-topbar__field {
    min-width: 0;
}

.search-topbar__field--full-line {
    grid-column: 1 / -1;
}

.search-topbar__field--ai {
    display: grid;
    gap: 12px;
    justify-items: center;
}

.search-topbar__field--ai .sidebar-form__textarea-shell,
.search-topbar__field--ai .sidebar-form__hint {
    width: 100%;
}

.search-topbar__field--ai .sidebar-form__hint {
    justify-content: center;
    text-align: center;
}

.search-topbar__section-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 1.65rem + 0.45vw, 2.2rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--text);
    text-align: center;
}

.search-topbar__field--actions .sidebar-form__submit,
.search-topbar__field--actions .sidebar-form__reset {
    min-height: 44px;
}

.search-topbar__field--actions .sidebar-form__reset {
    width: 100%;
}

.search-topbar__field--actions-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-self: start;
    justify-content: stretch;
    margin-top: 2px;
    width: min(100%, 440px);
}

.search-topbar__field--actions-group .sidebar-form__submit,
.search-topbar__field--actions-group .sidebar-form__reset {
    min-height: 52px;
}

.search-topbar__field--actions-group .sidebar-form__submit {
    min-height: 66px;
    border-radius: 24px;
    font-size: 1.08rem;
    line-height: 1.18;
    padding: 16px 24px;
}

.search-topbar__field--actions-group .sidebar-form__submit.is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-size: 180% 180%;
    animation: ai-button-shift 1.35s ease-in-out infinite;
}

.search-topbar__field--actions-group .sidebar-form__submit.is-loading:disabled {
    cursor: wait;
    opacity: 0.96;
    pointer-events: none;
}

.sidebar-form__submit-spinner {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.32);
    border-top-color: #ffffff;
    animation: ai-spinner-rotate 0.85s linear infinite;
    flex: 0 0 20px;
}

.search-topbar__field--actions-group .sidebar-form__reset {
    background: rgba(255, 255, 255, 0.98);
}

.search-topbar.is-classic-mode {
    gap: 14px;
}

.search-topbar.is-classic-mode .search-topbar__row--top {
    width: min(100%, 1040px);
    gap: 12px;
}

.search-topbar.is-classic-mode .search-topbar__intro {
    gap: 6px;
}

.search-topbar.is-classic-mode .search-topbar__eyebrow {
    min-height: 28px;
}

.search-topbar.is-classic-mode .search-topbar__headline {
    max-width: 18ch;
    font-size: clamp(1.82rem, 1.64rem + 0.48vw, 2.22rem);
    line-height: 0.98;
}

.search-topbar.is-classic-mode .search-topbar__lede {
    max-width: 48rem;
    font-size: 1rem;
    line-height: 1.62;
}

.search-topbar.is-classic-mode .search-topbar__mode-block {
    width: min(100%, 280px);
}

.search-topbar.is-classic-mode .search-topbar__row--classic .search-topbar__field--wide {
    grid-column: span 2;
}

.search-topbar.is-classic-mode .search-topbar__row--classic .search-topbar__field--actions {
    align-self: stretch;
}

.search-topbar.is-classic-mode .search-topbar__row--classic .search-topbar__field--actions .sidebar-form__submit,
.search-topbar.is-classic-mode .search-topbar__row--classic .search-topbar__field--actions .sidebar-form__reset {
    min-height: 50px;
}

.results-toolbar {
    padding: 20px 22px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    border: 1.5px solid rgba(18, 40, 66, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
    box-shadow: 0 18px 40px rgba(19, 33, 43, 0.08);
}

.results-loading {
    display: none;
    gap: 22px;
    padding: 28px;
    margin-bottom: 20px;
    border: 1.5px solid rgba(18, 40, 66, 0.24);
    background:
        radial-gradient(circle at top right, rgba(53, 108, 255, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.96));
    box-shadow: 0 18px 40px rgba(19, 33, 43, 0.08);
}

.results-loading__hero {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.results-loading__spinner {
    position: relative;
    width: 94px;
    height: 94px;
    display: grid;
    place-items: center;
}

.results-loading__spinner-ring,
.results-loading__spinner-core {
    border-radius: 999px;
}

.results-loading__spinner-ring {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(53, 108, 255, 0.14);
    border-top-color: rgba(34, 199, 248, 0.96);
    border-right-color: rgba(53, 108, 255, 0.96);
    animation: ai-spinner-rotate 1.1s linear infinite;
}

.results-loading__spinner-core {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    color: #2c92f1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 244, 255, 0.94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 10px 20px rgba(53, 108, 255, 0.14);
}

.results-loading__spinner-core svg {
    width: 34px;
    height: 34px;
    display: block;
    animation: ai-pulse-float 1.6s ease-in-out infinite;
}

.results-loading__copy {
    display: grid;
    gap: 8px;
}

.results-loading__eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.results-loading__title {
    margin: 0;
    font-size: clamp(1.4rem, 1.25rem + 0.35vw, 1.72rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.results-loading__text {
    margin: 0;
    max-width: 56ch;
    color: var(--muted);
    line-height: 1.6;
}

.results-loading__skeletons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.results-loading__card {
    display: grid;
    gap: 12px;
    min-height: 126px;
    padding: 18px;
    border-radius: 22px;
    border: 1.5px solid rgba(18, 40, 66, 0.22);
    background: rgba(255, 255, 255, 0.9);
}

.results-loading__line {
    display: block;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(224, 232, 243, 0.86) 20%, rgba(247, 250, 255, 0.98) 50%, rgba(224, 232, 243, 0.86) 80%);
    background-size: 220% 100%;
    animation: ai-skeleton-shimmer 1.25s linear infinite;
}

.results-loading__line--wide {
    width: 86%;
}

.results-loading__line--short {
    width: 58%;
}

.search-results.is-ai-loading .results-loading {
    display: grid;
}

.search-results.is-ai-loading .results-toolbar,
.search-results.is-ai-loading .listing-grid--portal,
.search-results.is-ai-loading .results-empty,
.search-results.is-ai-loading .pagination {
    display: none !important;
}

@keyframes ai-spinner-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes ai-button-shift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes ai-skeleton-shimmer {
    from {
        background-position: 100% 50%;
    }
    to {
        background-position: -100% 50%;
    }
}

@keyframes ai-pulse-float {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.96;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.results-toolbar__left {
    display: grid;
    gap: 6px;
}

.results-toolbar__eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.results-toolbar__title {
    font-size: clamp(1.6rem, 1.48rem + 0.34vw, 1.74rem);
    font-weight: 820;
    line-height: 1.02;
    letter-spacing: -0.046em;
    text-wrap: balance;
}

.results-toolbar__count {
    color: var(--muted);
    font-size: 0.99rem;
    line-height: 1.58;
}

.results-toolbar__ai-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.58;
}

.results-toolbar__ai-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    background: rgba(53, 108, 255, 0.1);
    color: var(--accent-strong);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.results-toolbar__ai-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.results-toolbar__ai-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(53, 108, 255, 0.16);
    background: rgba(240, 246, 255, 0.92);
    color: var(--accent-strong);
    font-size: 0.82rem;
    font-weight: 700;
}

.results-toolbar__right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(24, 38, 52, 0.1);
    background: rgba(255, 255, 255, 0.82);
    color: var(--muted);
    font-weight: 800;
    letter-spacing: -0.01em;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.view-toggle.is-active {
    background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
    color: #ffffff;
}

.view-toggle--dismissible {
    padding-right: 10px;
}

.view-toggle--dismissible:hover {
    color: var(--text);
    border-color: rgba(24, 38, 52, 0.18);
}

.view-toggle__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(24, 38, 52, 0.08);
    color: inherit;
    font-size: 0.85rem;
    line-height: 1;
}

.search-sidebar input,
.search-sidebar select,
.search-sidebar textarea {
    min-height: 50px;
    border-radius: 16px;
    border-color: rgba(18, 40, 66, 0.12);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 1px 2px rgba(18, 40, 66, 0.03);
}

.search-sidebar input::placeholder {
    color: rgba(98, 117, 138, 0.85);
}

.search-sidebar select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(11, 23, 48, 0.7) 50%),
        linear-gradient(135deg, rgba(11, 23, 48, 0.7) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.pagination {
    margin-top: 22px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #ffffff;
}

.pagination__summary {
    color: var(--muted);
    font-size: 0.96rem;
}

.pagination__controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination__link,
.pagination__gap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(24, 38, 52, 0.1);
    background: rgba(255, 255, 255, 0.9);
    color: var(--muted);
    font-weight: 700;
}

.pagination__link:hover {
    color: var(--accent-strong);
    border-color: rgba(53, 108, 255, 0.28);
    background: var(--accent-soft);
}

.pagination__link.is-current {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.pagination__link.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.pagination__link--nav {
    min-width: 82px;
}

.listing-grid--portal {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.results-empty {
    display: grid;
    gap: 10px;
    padding: 28px;
    border: 1px solid rgba(18, 40, 66, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
    box-shadow: 0 18px 40px rgba(19, 33, 43, 0.08);
}

.results-empty__eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.results-empty__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 1.28rem + 0.34vw, 1.62rem);
    font-weight: 820;
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: var(--text);
}

.results-empty__text {
    margin: 0;
    color: var(--muted);
    max-width: 52ch;
    line-height: 1.65;
}

.not-found-page {
    display: grid;
    gap: 18px;
    padding-top: 10px;
    width: 100%;
    min-width: 0;
}

.not-found-hero {
    display: grid;
    grid-template-columns: minmax(120px, 220px) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    min-height: 360px;
    padding: 42px;
    background:
        radial-gradient(circle at 12% 18%, rgba(53, 108, 255, 0.12), transparent 32%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.95));
    width: 100%;
    min-width: 0;
}

.not-found-hero__code {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: 24px;
    border: 1.5px solid rgba(18, 40, 66, 0.16);
    background: linear-gradient(135deg, rgba(53, 108, 255, 0.12), rgba(34, 199, 248, 0.16));
    color: rgba(11, 23, 48, 0.82);
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 20px 44px rgba(19, 33, 43, 0.08);
}

.not-found-hero__content {
    display: grid;
    gap: 16px;
    min-width: 0;
    max-width: 100%;
}

.not-found-hero__content h1 {
    margin: 0;
    max-width: 14ch;
    font-size: clamp(2.1rem, 4.4vw, 4rem);
    line-height: 1.02;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

.not-found-hero__content h1 span {
    display: block;
}

.not-found-hero__content p {
    margin: 0;
    max-width: 34ch;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.not-found-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.not-found-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

.not-found-link {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 18px;
    border: 1.5px solid rgba(18, 40, 66, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(19, 33, 43, 0.06);
}

.not-found-link span {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.not-found-link strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
}

@media (max-width: 1360px) {
    .search-topbar__row--classic {
        grid-template-columns: repeat(4, minmax(140px, 1fr));
    }

    .search-topbar__field--wide {
        grid-column: span 2;
    }
}

.property-card {
    background: #ffffff;
    border: 1px solid rgba(18, 40, 66, 0.18);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(19, 33, 43, 0.12);
    overflow: hidden;
    display: grid;
    grid-template-rows: 216px minmax(228px, 1fr);
    min-width: 0;
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    border-color: rgba(53, 108, 255, 0.24);
    box-shadow: 0 22px 44px rgba(19, 33, 43, 0.16);
}

.property-card__image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 216px;
    overflow: hidden;
    background: linear-gradient(180deg, #ecf4fc, #f6fbff);
    border-bottom: 1px solid rgba(18, 40, 66, 0.09);
}

.property-card__image-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 72px;
    background: linear-gradient(180deg, rgba(10, 26, 44, 0), rgba(10, 26, 44, 0.16));
    pointer-events: none;
}

.property-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #f7fbff;
    transition: transform 0.22s ease;
}

.property-card:hover .property-card__image {
    transform: scale(1.03);
}

.property-card__image--fallback {
    background:
        linear-gradient(135deg, rgba(34, 199, 248, 0.12), rgba(255, 255, 255, 0.5)),
        linear-gradient(120deg, #dfe7eb, #f7f7f1);
}

.property-card__badge-row {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    z-index: 2;
}

.property-card__type-chip,
.property-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(18, 40, 66, 0.24);
    background: rgba(255, 255, 255, 0.96);
    color: #2d5073;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(19, 33, 43, 0.12);
    max-width: 48%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-card__type-chip {
    background: rgba(10, 26, 44, 0.88);
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    letter-spacing: 0.04em;
}

.property-card__body {
    padding: 18px;
    display: grid;
    gap: 12px;
    grid-template-rows: auto auto auto 1fr auto;
    min-width: 0;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.property-card__meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.property-card__location {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.42;
    min-height: 0;
}

.property-card__provider-chip {
    flex: 0 0 auto;
    max-width: 42%;
    padding: 7px 10px;
    border-radius: var(--radius-pill);
    background: #eef4fb;
    border: 1px solid rgba(53, 108, 255, 0.16);
    color: #4d6782;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-card__title {
    font-size: 1.14rem;
    font-weight: 780;
    letter-spacing: -0.038em;
    line-height: 1.18;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.54em;
    text-wrap: pretty;
}

.property-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 2px;
    align-content: start;
}

.property-card__fact {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f2f7fd;
    border: 1.5px solid rgba(18, 40, 66, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.property-card__fact::before {
    display: none;
}

.property-card__facts span {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-weight: 800;
}

.property-card__facts strong {
    line-height: 1.35;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

.property-card__footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
    padding-top: 14px;
    border-top: 1px solid rgba(18, 40, 66, 0.08);
    margin-top: auto;
    min-width: 0;
}

.property-card__price-block {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.property-card__price-label {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.property-card__price-label::before {
    display: none;
}

.detail-section--related {
    background: linear-gradient(180deg, #f5fafe 0%, #edf5fc 100%);
    border: 1px solid rgba(18, 40, 66, 0.14);
    box-shadow: 0 18px 38px rgba(19, 33, 43, 0.08);
}

.detail-section--related .listing-grid--portal {
    align-items: stretch;
}

.detail-carousel {
    position: relative;
}

.detail-carousel__controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.detail-carousel__button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 999px;
    border: 1.5px solid rgba(18, 40, 66, 0.24);
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(19, 33, 43, 0.08);
}

.detail-carousel__button:disabled {
    opacity: 0.4;
    cursor: default;
    box-shadow: none;
}

.detail-carousel.is-slider .detail-carousel__viewport {
    overflow: hidden;
}

.detail-carousel__track {
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 36px) / 3);
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.detail-carousel__track::-webkit-scrollbar {
    display: none;
}

.detail-carousel__track .property-card {
    scroll-snap-align: start;
}

.detail-section--related .property-card {
    grid-template-rows: 224px minmax(224px, 1fr);
}

.detail-section--related .property-card__image-wrap {
    height: 224px;
}

.detail-section--related .property-card__body {
    padding: 16px 18px 18px;
    gap: 12px;
}

.detail-section--related .property-card__title {
    font-size: 1.12rem;
    -webkit-line-clamp: 2;
    min-height: 3em;
}

.detail-section--related .property-card__facts {
    align-content: start;
    min-height: 74px;
}

.detail-section--related .property-card__meta-row {
    align-items: flex-start;
}

.property-card__price {
    color: var(--accent);
    font-size: 1.38rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    min-width: 0;
    line-height: 1.12;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.property-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 18px;
    width: 100%;
    border-radius: 14px;
    background: linear-gradient(135deg, #2f66ff, #27b9f1);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.01em;
    box-shadow: 0 14px 28px rgba(53, 108, 255, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.property-card__cta::after {
    display: none;
}

.property-card__cta:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(53, 108, 255, 0.22);
    filter: saturate(1.06);
}

.detail-portal-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 22px;
    min-width: 0;
}

.detail-main,
.detail-sidebar {
    display: grid;
    gap: 18px;
    align-self: start;
    min-width: 0;
}

.detail-sidebar {
    grid-auto-rows: max-content;
}

.detail-gallery,
.detail-sidebox,
.detail-summary,
.detail-section,
.detail-contact {
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(18, 40, 66, 0.14);
    box-shadow: 0 18px 38px rgba(19, 33, 43, 0.08);
    min-width: 0;
    max-width: 100%;
}

.detail-summary--inline {
    padding: 28px 30px;
    background: #ffffff;
}

.detail-summary__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.24fr) minmax(300px, 0.92fr);
    gap: 24px;
    align-items: start;
}

.detail-summary__primary,
.detail-summary__secondary {
    display: grid;
    gap: 0;
    min-width: 0;
}

.detail-summary__secondary {
    gap: 16px;
    padding-left: 24px;
    border-left: 1px solid rgba(24, 38, 52, 0.14);
    align-content: start;
}

.detail-summary__eyebrow-row {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.detail-summary__address {
    color: #55697f;
    font-size: 0.98rem;
    line-height: 1.4;
    min-width: 0;
    overflow-wrap: anywhere;
}

.detail-summary--inline .detail-summary__price {
    font-size: clamp(2.1rem, 2.7vw, 2.9rem);
    margin-bottom: 12px;
}

.detail-summary--inline .detail-summary__title {
    font-size: clamp(1.28rem, 1.7vw, 1.86rem);
    max-width: none;
    line-height: 1.14;
    margin-bottom: 12px;
    color: #10213e;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.detail-summary__subline {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
}

.detail-summary--inline .detail-highlight-chips {
    margin: 16px 0 0;
}

.detail-summary__facts-card {
    display: grid;
    gap: 16px;
    height: 100%;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.detail-summary__facts-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-summary__facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.detail-summary__fact {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(24, 38, 52, 0.08);
}

.detail-summary__fact span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.detail-summary__fact strong {
    font-size: 1.08rem;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: #10213e;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.detail-summary__refs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(24, 38, 52, 0.08);
    color: rgba(11, 23, 48, 0.62);
    font-size: 0.78rem;
    line-height: 1.45;
}

.detail-summary__refs span {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.project-connection__header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
    flex-wrap: wrap;
}

.project-connection__eyebrow {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.project-connection__facts {
    margin-top: 18px;
}

.project-units-table-wrap {
    margin-top: 8px;
    max-width: 100%;
}

.project-unit-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.project-unit-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(53, 108, 255, 0.18);
    background: #f4f8fd;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}

.project-unit-filter-tab strong {
    color: var(--muted);
    font-size: 0.88rem;
}

.project-unit-filter-tab.is-active {
    background: linear-gradient(135deg, #2d63ff, #1cbcf4);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(53, 108, 255, 0.18);
}

.project-unit-filter-tab.is-active strong {
    color: rgba(255, 255, 255, 0.86);
}

.project-units-table {
    min-width: 860px;
}

.project-units-table th,
.project-units-table td {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.project-unit-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: inherit;
}

.project-unit-link__thumb {
    width: 88px;
    height: 66px;
    border-radius: 14px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(18, 40, 66, 0.08);
    background: #eef5fc;
    flex: 0 0 auto;
}

.project-unit-link__thumb--fallback {
    display: inline-block;
    background: linear-gradient(135deg, #eef5fc, #f8fbff);
}

.project-unit-link__text {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.project-unit-link__text strong,
.project-unit-link__text small {
    overflow-wrap: anywhere;
}

.project-unit-link__text small {
    color: var(--muted);
    font-size: 0.86rem;
}

.detail-summary--inline .detail-summary__actions {
    align-self: end;
}

.project-index-hero {
    margin-bottom: 22px;
}

.project-index-panel {
    margin-bottom: 22px;
}

.project-region-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-region-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(24, 38, 52, 0.12);
    background: #ffffff;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.project-region-chip strong {
    color: var(--muted);
    font-size: 0.88rem;
}

.project-region-chip.is-active {
    background: linear-gradient(135deg, #2d63ff, #1cbcf4);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(53, 108, 255, 0.18);
}

.project-region-chip.is-active strong {
    color: rgba(255, 255, 255, 0.86);
}

.project-index-toolbar {
    margin-bottom: 22px;
}

.property-card--project-index .property-card__facts {
    margin-bottom: 14px;
}

.project-index-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

.empty-state {
    padding: 28px 6px 10px;
}

.empty-state h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
}

.detail-gallery {
    --detail-gallery-stage-height: 392px;
    --detail-gallery-counter-height: 20px;
    --detail-gallery-total-height: calc(var(--detail-gallery-stage-height) + var(--detail-gallery-counter-height));
    overflow: hidden;
    background: #ffffff;
}

.detail-gallery__layout {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    height: var(--detail-gallery-total-height);
    min-height: 0;
}

.detail-gallery__rail {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    height: 100%;
    min-height: 0;
}

.detail-gallery__tabs {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-gallery__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 8px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: #f3f7fb;
    color: #6f8192;
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
}

.detail-gallery__tab.is-active {
    background: #2d3136;
    color: #ffffff;
}

.detail-gallery__tab:not(.is-active):hover {
    background: #eaf4fd;
    color: #1b6fb0;
}

.detail-gallery__rail-items {
    display: grid;
    gap: 7px;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    padding-bottom: 4px;
    align-content: start;
    scrollbar-width: thin;
    scrollbar-color: rgba(17, 122, 201, 0.45) rgba(17, 122, 201, 0.08);
}

.detail-gallery__rail-items::-webkit-scrollbar {
    width: 8px;
}

.detail-gallery__rail-items::-webkit-scrollbar-track {
    background: rgba(17, 122, 201, 0.08);
    border-radius: 999px;
}

.detail-gallery__rail-items::-webkit-scrollbar-thumb {
    background: rgba(17, 122, 201, 0.45);
    border-radius: 999px;
}

.detail-gallery__rail-items::-webkit-scrollbar-thumb:hover {
    background: rgba(17, 122, 201, 0.7);
}

.detail-gallery__stage {
    min-width: 0;
    display: grid;
    grid-template-rows: var(--detail-gallery-stage-height) var(--detail-gallery-counter-height);
    height: var(--detail-gallery-total-height);
}

.detail-gallery__hero-wrap {
    --hero-preview-max-width: 720px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    height: var(--detail-gallery-stage-height);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-gallery__hero-wrap.is-balanced {
    --hero-preview-max-width: 620px;
}

.detail-gallery__hero-wrap.is-wide-landscape {
    --hero-preview-max-width: 720px;
}

.detail-gallery__hero-badges {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(18, 37, 61, 0.76);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.detail-gallery__viewer {
    position: relative;
}

.detail-gallery__hero {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

.detail-gallery__hero-wrap.is-portrait {
    background: #ffffff;
    --hero-preview-max-width: 340px;
}

.detail-gallery__hero.is-portrait {
    width: auto;
    max-width: min(68%, 340px);
    max-height: 100%;
    min-height: 0;
    height: auto;
    object-fit: contain;
}

.detail-gallery__hero--fallback {
    background:
        linear-gradient(135deg, rgba(34, 199, 248, 0.12), rgba(255, 255, 255, 0.5)),
        linear-gradient(120deg, #dfe7eb, #f7f7f1);
}

.detail-gallery__badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.detail-gallery__hero-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: var(--hero-preview-max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    cursor: zoom-in;
}

.detail-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(18, 40, 66, 0.56);
    color: #ffffff;
    z-index: 3;
    font-size: 1.35rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(12, 23, 41, 0.16);
}

.detail-gallery__nav:hover {
    background: rgba(18, 40, 66, 0.62);
}

.detail-gallery__nav--prev {
    left: 18px;
}

.detail-gallery__nav--next {
    right: 18px;
}

.detail-gallery__thumbs {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 10px;
}

.floorplan-gallery {
    padding: 22px;
}

.floorplan-gallery__header {
    margin-bottom: 18px;
}

.floorplan-gallery__layout {
    --detail-gallery-stage-height: 560px;
    --detail-gallery-counter-height: 24px;
    --detail-gallery-total-height: calc(var(--detail-gallery-stage-height) + var(--detail-gallery-counter-height));
    grid-template-columns: 116px minmax(0, 1fr);
    height: var(--detail-gallery-total-height);
}

.floorplan-gallery__rail {
    gap: 10px;
}

.floorplan-gallery__label {
    padding: 8px 12px;
    border-radius: 12px;
    background: #f3f7fb;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.floorplan-gallery__rail-items {
    padding-right: 10px;
}

.floorplan-gallery__thumb {
    padding: 8px;
    background: #ffffff;
}

.floorplan-gallery__thumb img {
    height: 92px;
    object-fit: contain;
    background: #ffffff;
}

.floorplan-gallery__stage {
    grid-template-rows: var(--detail-gallery-stage-height) var(--detail-gallery-counter-height);
    height: var(--detail-gallery-total-height);
}

.floorplan-gallery__hero-wrap {
    --hero-preview-max-width: 920px;
    padding: 18px;
    background: #ddeaf6;
}

.floorplan-gallery__hero-button {
    max-width: 100%;
}

.floorplan-gallery__hero {
    border-radius: 14px;
    object-fit: contain;
}

.floorplan-gallery__counter {
    margin-top: 8px;
}

.detail-gallery__thumb {
    display: block;
    padding: 0;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(24, 38, 52, 0.08);
    background: #eef5fb;
    box-shadow: none;
    cursor: pointer;
    min-height: 64px;
}

.detail-gallery__thumb.is-active {
    border-color: #356cff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(53, 108, 255, 0.16);
}

.detail-gallery__thumb img {
    width: 100%;
    height: 64px;
    object-fit: cover;
}

.detail-gallery__counter {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
    text-align: right;
    min-height: 20px;
}

.detail-summary__location {
    color: var(--muted);
    margin-bottom: 8px;
}

.detail-summary__topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.detail-summary__status {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eff9ff;
    color: #0d74c2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.detail-summary__status--secondary {
    background: #f4f7fb;
    color: #55697f;
}

.detail-sidebox {
    display: grid;
    gap: 16px;
    padding: 22px 20px;
}

.detail-sidebox--overview {
    background:
        linear-gradient(180deg, rgba(53, 108, 255, 0.06), rgba(255, 255, 255, 0.98) 36%),
        #ffffff;
}

.detail-sidebox__topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.detail-sidebox__label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-sidebox__location {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.45;
    margin-top: -6px;
}

.detail-sidebox__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.detail-sidebox__item {
    display: grid;
    gap: 6px;
    padding: 14px 15px;
    border-radius: 16px;
    background: rgba(248, 251, 255, 0.96);
    border: 1px solid rgba(53, 108, 255, 0.09);
}

.detail-sidebox__item span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-sidebox__item strong {
    font-size: 0.98rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.detail-sidebox__refs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(24, 38, 52, 0.08);
    color: rgba(11, 23, 48, 0.58);
    font-size: 0.78rem;
    line-height: 1.45;
}

.detail-sidebox__refs span {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.detail-sidebox__actions {
    display: grid;
}

.detail-sidebox__cta {
    text-align: center;
}

.detail-summary__id {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.detail-summary__price {
    color: #0d74c2;
    font-size: clamp(1.75rem, 2.25vw, 2.45rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 10px;
}

.detail-summary__title {
    margin: 0 0 10px;
    font-size: clamp(1.04rem, 1.18vw, 1.34rem);
    line-height: 1.18;
    letter-spacing: -0.05em;
    word-break: normal;
    overflow-wrap: break-word;
}

.detail-summary__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border-top: 1px solid rgba(24, 38, 52, 0.08);
    padding-top: 14px;
    margin-top: 14px;
}

.detail-summary__metric {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.detail-summary__metric span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.detail-summary__metric strong {
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}

.detail-summary__ids {
    display: grid;
    gap: 8px;
    border-top: 1px solid rgba(24, 38, 52, 0.08);
    padding-top: 14px;
    margin-top: 14px;
}

.detail-summary__id-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: var(--muted);
    font-size: 0.92rem;
}

.detail-summary__id-row strong {
    color: var(--text);
    font-size: 0.96rem;
}

.detail-highlight-chips {
    margin: 14px 0 16px;
}

.detail-summary__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.detail-summary__cta {
    text-align: center;
}

.property-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.property-facts-grid--single {
    grid-template-columns: 1fr;
}

.property-fact {
    padding: 15px 16px;
    border-radius: 18px;
    background: #f2f7fc;
    border: 1px solid rgba(53, 108, 255, 0.18);
    display: grid;
    gap: 5px;
    box-shadow: none;
}

.property-fact span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.property-fact strong {
    line-height: 1.45;
    color: #12213b;
}

.provider-link {
    color: inherit;
    text-decoration: none;
}

.provider-link:hover {
    color: #1f4fda;
}

.provider-link--subtle {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
}

.provider-link--subtle:hover {
    color: #1f4fda;
}

.agent-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: #f2f7fc;
    border: 1px solid rgba(53, 108, 255, 0.18);
    box-shadow: none;
}

.agent-card__photo-wrap {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    overflow: hidden;
    flex: 0 0 72px;
    background: linear-gradient(180deg, #eef6fd, #f7fbff);
}

.agent-card__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.agent-card__meta {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.agent-card__name {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.agent-card__role {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.4;
}

.document-list {
    display: grid;
    gap: 10px;
}

.document-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f2f7fc;
    border: 1px solid rgba(53, 108, 255, 0.16);
}

.property-card__fact-icon {
    color: #356cff;
    font-weight: 900;
}

.inquiry-form {
    display: grid;
    gap: 14px;
}

.detail-contact .field-label {
    color: #576a80;
}

.detail-contact input,
.detail-contact textarea,
.detail-contact select {
    background: #ffffff;
    border: 1px solid rgba(18, 40, 66, 0.14);
    box-shadow: inset 0 1px 2px rgba(18, 40, 66, 0.03);
}

.detail-contact textarea {
    line-height: 1.6;
}

.detail-contact .checkbox-row {
    color: #5f7288;
}

.inquiry-form__counter {
    min-height: 18px;
    margin-top: 8px;
    text-align: right;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.inquiry-form__counter.is-limit {
    color: #1f4fda;
}

.inquiry-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex: 0 0 auto;
}

.inquiry-success {
    margin: 14px 0 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-weight: 700;
}

.property-fact--phone strong {
    font-weight: 600;
}

.reveal-phone {
    width: auto;
    padding: 0;
    border: none;
    background: transparent;
    color: #1f4fda;
    box-shadow: none;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.reveal-phone.is-revealed {
    color: var(--text);
    text-decoration: none;
}

.topbar__logout {
    margin: 0;
}

.pill-link--button {
    border: 1px solid rgba(24, 38, 52, 0.08);
    cursor: pointer;
}

.login-shell {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
}

.login-layout {
    width: min(calc(100% - 32px), 460px);
    display: flex;
    justify-content: center;
}

.login-note,
.login-card {
    padding: 28px;
    background: #ffffff;
}

.login-note {
    display: grid;
    align-content: start;
    gap: 18px;
    background:
        radial-gradient(circle at top right, rgba(79, 188, 255, 0.12), transparent 36%),
        linear-gradient(180deg, #ffffff, #f7fbff);
}

.login-note__title {
    margin: 0;
    font-size: clamp(1.9rem, 2.5vw, 2.6rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.login-note__text {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
    max-width: 58ch;
}

.login-note__points {
    display: grid;
    gap: 12px;
}

.login-note__point {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(235, 244, 255, 0.7);
    border: 1px solid rgba(53, 108, 255, 0.12);
}

.login-note__point strong {
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.login-note__point span {
    color: var(--muted);
    line-height: 1.56;
}

.login-card {
    width: min(100%, 440px);
    justify-self: center;
    margin: 0 auto;
}

.login-card__title {
    margin: 8px 0 10px;
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.login-card__text {
    margin: 0 0 18px;
    color: var(--muted);
}

.login-form {
    display: grid;
    gap: 14px;
}

.login-card__microcopy {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.login-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff1f1;
    border: 1px solid rgba(214, 54, 56, 0.18);
    color: #9b1c1f;
    font-weight: 600;
}

.reveal-phone.is-revealed a {
    color: inherit;
}

.map-card {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(53, 108, 255, 0.18);
    margin-bottom: 14px;
    box-shadow: none;
}

.map-card iframe {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
}

.detail-section--related {
    margin-top: 24px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(10, 17, 28, 0.92);
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 80px;
    align-items: center;
    gap: 16px;
    padding: 28px;
}

.lightbox__content {
    max-width: min(1400px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 14px;
    justify-items: center;
}

.lightbox__image {
    max-width: 100%;
    max-height: calc(100vh - 140px);
    border-radius: 18px;
    object-fit: contain;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

.lightbox__caption {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    text-align: center;
}

.lightbox__nav,
.lightbox__close {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: none;
}

.lightbox__nav:hover,
.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.16);
}

.lightbox__close {
    position: absolute;
    top: 26px;
    right: 26px;
}

.lightbox__nav--prev {
    justify-self: start;
}

.lightbox__nav--next {
    justify-self: end;
}

body.is-lightbox-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .coming-launch__hero,
    .coming-launch__features,
    .coming-launch__contact,
    .coming-launch__social-grid {
        grid-template-columns: 1fr;
    }

    .coming-launch__title {
        max-width: none;
    }

    .hero,
    .detail-layout {
        grid-template-columns: 1fr;
    }

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

    .admin-shell .hero__title {
        max-width: none;
    }

    .search-layout,
    .detail-portal-grid,
    .portal-intro {
        grid-template-columns: 1fr;
        display: grid;
    }

    .search-topbar__row--top,
    .search-topbar__row--classic,
    .search-topbar__row--ai {
        grid-template-columns: 1fr;
        display: grid;
    }

    .search-topbar__meta {
        white-space: normal;
    }

    .detail-gallery__layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .floorplan-gallery__layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .detail-gallery__rail {
        order: 2;
        height: auto;
    }

    .floorplan-gallery__rail {
        order: 2;
    }

    .detail-gallery__tabs {
        flex-direction: row;
    }

    .detail-gallery__rail-items {
        grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
        height: auto;
        overflow: visible;
        padding-right: 0;
    }

    .floorplan-gallery__rail-items {
        grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    }

    .detail-gallery__stage {
        grid-template-rows: 460px 24px;
        height: auto;
    }

    .floorplan-gallery__stage {
        grid-template-rows: 520px 24px;
        height: auto;
    }

    .detail-gallery__hero-wrap {
        height: 460px;
    }

    .floorplan-gallery__hero-wrap {
        height: 520px;
    }

    .portal-intro__stats {
        min-width: 0;
    }

    .portal-intro {
        gap: 18px;
    }

    .pagination {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-control-grid,
    .detail-layout--admin,
    .admin-inquiry-item__info-grid,
    .admin-inquiry-item__actions,
    .admin-form-grid__row,
    .login-layout {
        grid-template-columns: 1fr;
    }

    .admin-inquiry-item__summary {
        grid-template-columns: 1fr;
    }

    .login-card {
        width: 100%;
        justify-self: stretch;
        margin: 0;
    }

    .filters-grid,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    .detail-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-summary__layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .detail-summary__secondary {
        padding-left: 0;
        padding-top: 18px;
        border-left: none;
        border-top: 1px solid rgba(24, 38, 52, 0.08);
    }

    .detail-summary__facts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lightbox {
        grid-template-columns: 64px minmax(0, 1fr) 64px;
        padding: 22px 16px;
    }
}

@media (max-width: 760px) {
    input,
    select,
    textarea {
        font-size: 16px;
    }

    .search-mode-switch,
    .search-topbar__row--classic,
    .search-topbar__row--ai {
        grid-template-columns: 1fr;
    }

    .search-topbar,
    .results-toolbar,
    .results-empty {
        padding: 18px;
    }

    .search-topbar {
        gap: 14px;
    }

    .search-topbar__row--classic {
        gap: 14px;
        align-items: stretch;
    }

    .search-topbar__field {
        display: grid;
        gap: 6px;
        min-width: 0;
    }

    .search-topbar .field-label {
        display: flex;
        align-items: center;
        gap: 7px;
        width: 100%;
        min-width: 0;
        margin-bottom: 0;
        line-height: 1.25;
        white-space: normal;
        overflow-wrap: anywhere;
        letter-spacing: 0.08em;
    }

    .search-topbar .field-label--icon::before {
        flex: 0 0 13px;
        width: 13px;
        height: 13px;
    }

    .search-topbar input,
    .search-topbar select,
    .search-topbar textarea {
        min-height: 48px;
    }

    .search-topbar__headline,
    .search-topbar.is-classic-mode .search-topbar__headline {
        max-width: 100%;
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .search-mode-toggle,
    .search-topbar__mode-block {
        width: 100%;
        max-width: 280px;
    }

    .search-mode-toggle__label,
    .search-mode-toggle__thumb {
        padding-inline: 8px;
        font-size: 0.8rem;
    }

    .search-mode-toggle__thumb-label {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .search-topbar__field--actions-group {
        grid-template-columns: 1fr;
    }

    body.has-site-nav-open {
        overflow: hidden;
    }

    .page-shell {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        padding-top: 14px;
    }

    .site-header,
    .site-footer {
        width: 100%;
        margin-left: 0;
    }

    .coming-soon-shell {
        padding-top: 18px;
        padding-bottom: 24px;
    }

    .coming-launch {
        padding: 16px;
        border-radius: 28px;
    }

    .coming-launch__nav,
    .coming-launch__footer,
    .coming-launch__screen-header,
    .coming-launch__cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .coming-launch__nav {
        padding-bottom: 18px;
    }

    .coming-launch__nav-links {
        width: 100%;
    }

    .coming-launch__nav-links a,
    .coming-launch__cta,
    .coming-launch__social-card,
    .coming-soon-info {
        width: 100%;
    }

    .coming-launch__copy {
        padding: 10px 0 0;
    }

    .coming-launch__status-row,
    .coming-launch__listing-metrics,
    .coming-launch__mini-grid,
    .coming-soon-grid {
        grid-template-columns: 1fr;
    }

    .coming-launch__device-screen,
    .coming-launch__feature-card,
    .coming-soon-info {
        padding: 18px;
        border-radius: 20px;
    }

    .site-footer__inner,
    .site-footer__links {
        grid-template-columns: 1fr;
    }

    .site-header__inner {
        width: 100%;
        position: relative;
        min-height: 72px;
        border-radius: 26px;
        padding: 10px 12px 10px 14px;
    }

    .site-brand__image {
        height: 30px;
        max-width: min(100%, 200px);
    }

    .site-nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        left: 0;
        display: none;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
        border: 1px solid rgba(18, 40, 66, 0.12);
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(18px);
        box-shadow: 0 24px 60px rgba(19, 33, 43, 0.16);
        z-index: 120;
        max-height: calc(100dvh - 110px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-nav__links {
        display: grid;
        gap: 8px;
        padding: 8px;
        border-radius: 22px;
        background: linear-gradient(180deg, rgba(235, 242, 255, 0.88), rgba(247, 250, 255, 0.72));
    }

    .site-nav__actions {
        display: grid;
        gap: 10px;
    }

    .site-nav__link,
    .site-nav__button,
    .site-nav__login {
        width: 100%;
        justify-content: flex-start;
        min-height: 52px;
        padding: 0 16px;
        border-radius: 16px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .site-nav__form {
        width: 100%;
    }

    .site-nav__login {
        justify-content: center;
    }

    .portal-shell,
    .search-layout,
    .search-sidebar,
    .search-results,
    .portal-intro,
    .results-toolbar,
    .listing-grid--portal,
    .property-card,
    .property-card__image-wrap,
    .property-card__body,
    .property-card__footer {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .search-results--full {
        width: 100%;
        margin-left: 0;
        transform: none;
    }

    .listing-grid--portal {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .detail-carousel__controls {
        display: none;
    }

    .detail-carousel__track {
        grid-auto-columns: 100%;
    }

    .results-toolbar {
        padding: 16px;
        gap: 12px;
    }

    .results-toolbar__right {
        gap: 8px;
    }

    .view-toggle {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .search-sidebar {
        padding: 18px;
    }

    .sidebar-form__section {
        padding: 14px;
        border-radius: 18px;
    }

    .property-card {
        grid-template-rows: 208px minmax(0, 1fr);
    }

    .property-card__image-wrap {
        height: 208px;
    }

    .property-card__body {
        padding: 14px;
        gap: 10px;
    }

    .portal-intro {
        padding: 20px;
    }

    .portal-intro__title {
        max-width: none;
        font-size: clamp(1.8rem, 8vw, 2.45rem);
    }

    .portal-intro__text,
    .portal-intro__microcopy {
        max-width: none;
    }

    .portal-intro__actions {
        flex-direction: column;
    }

    .portal-intro__primary,
    .portal-intro__secondary {
        width: 100%;
    }

    .help-overview-grid,
    .content-page__body--faq,
    .content-contact-form__grid,
    .faq-knowledge__grid {
        grid-template-columns: 1fr;
    }

    .help-sidebar {
        position: static;
    }

    .help-topic-chips {
        margin-bottom: 20px;
    }

    .help-sidebar__card,
    .help-section {
        padding: 16px;
        border-radius: 18px;
    }

    .faq-item__summary,
    .faq-item__answer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .property-card__title {
        font-size: 1rem;
    }

    .property-card__location {
        min-height: 0;
    }

    .property-card__meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .property-card__provider-chip,
    .property-card__type-chip,
    .property-card__badge {
        max-width: 100%;
    }

    .property-card__title {
        min-height: 0;
    }

    .site-footer__inner {
        gap: 20px;
        padding: 22px;
    }

    .site-footer__brand,
    .site-footer__column,
    .site-footer__socials,
    .site-footer__social-link {
        min-width: 0;
    }

    .site-footer__column {
        gap: 8px;
    }

    .site-footer__social-link {
        width: 100%;
    }

    .site-footer__social-link span,
    .site-footer__column a,
    .site-footer__text {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .topbar {
        border-radius: 28px;
        padding: 16px;
    }

    .topbar,
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-shell {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
    }

    .admin-shell .site-header,
    .admin-shell .hero,
    .admin-shell .section-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .admin-shell .hero {
        gap: 12px;
        margin-bottom: 16px;
    }

    .admin-shell .hero__panel,
    .admin-shell .hero__aside {
        width: 100%;
        max-width: 100%;
    }

    .admin-shell .hero__title {
        max-width: none;
        font-size: clamp(1.38rem, 7.2vw, 1.9rem);
        line-height: 1.1;
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
        white-space: normal;
    }

    .admin-shell .hero__text {
        max-width: none;
        overflow-wrap: anywhere;
        hyphens: auto;
    }

    .admin-shell .section-title,
    .admin-shell .section-header__text,
    .admin-shell .table-link {
        overflow-wrap: anywhere;
        hyphens: auto;
    }

    .admin-shell .kpi-stack {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .admin-shell .admin-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-shell .admin-hero__actions .portal-intro__primary,
    .admin-shell .admin-hero__actions .portal-intro__secondary {
        width: 100%;
        justify-content: center;
    }

    .hero__panel,
    .hero__aside,
    .filters-card,
    .section-card,
    .card,
    .stat-card {
        padding: 18px;
    }

    .filters-grid,
    .stats-grid,
    .metric-grid,
    .property-facts-grid,
    .portal-intro__stats,
    .property-card__facts,
    .inquiry-form__grid,
    .detail-summary__metrics,
    .admin-inquiry-item__info-grid,
    .admin-inquiry-item__actions,
    .admin-control-grid,
    .admin-form-grid__row {
        grid-template-columns: 1fr;
    }

    .detail-summary__eyebrow-row {
        align-items: flex-start;
    }

    .detail-summary__facts-grid {
        grid-template-columns: 1fr;
    }

    .admin-filter-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .listing-grid {
        grid-template-columns: 1fr;
    }

    .meta-pair {
        flex-direction: column;
        gap: 4px;
    }

    .meta-pair span:last-child {
        text-align: left;
    }

    .results-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .property-card__footer {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .property-card__cta {
        width: 100%;
    }

    .table-wrap {
        border-radius: 14px;
    }

    .table-wrap table {
        min-width: 680px;
    }

    .project-units-table,
    .project-units-table thead,
    .project-units-table tbody,
    .project-units-table tr,
    .project-units-table td {
        display: block;
        width: 100%;
    }

    .project-units-table {
        min-width: 0 !important;
        border-collapse: separate;
        border-spacing: 0;
    }

    .project-units-table thead {
        display: none;
    }

    .project-units-table tr {
        padding: 14px;
        border-top: 1px solid rgba(24, 38, 52, 0.1);
    }

    .project-units-table tr:first-child {
        border-top: 0;
    }

    .project-units-table td {
        border-top: 0;
        padding: 7px 0;
    }

    .project-units-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--muted);
        font-size: 0.72rem;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .project-unit-link {
        align-items: flex-start;
    }

    .table-wrap th {
        position: static;
    }

    .admin-shell table {
        min-width: 720px;
    }

    .admin-shell th,
    .admin-shell td {
        padding: 10px 12px;
        font-size: 0.88rem;
    }

    .admin-shell .inquiry-table-wrap,
    .admin-shell .admin-block-table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .admin-shell .admin-inquiry-table,
    .admin-shell .admin-inquiry-table thead,
    .admin-shell .admin-inquiry-table tbody,
    .admin-shell .admin-inquiry-table tr,
    .admin-shell .admin-inquiry-table td,
    .admin-shell .admin-block-table,
    .admin-shell .admin-block-table thead,
    .admin-shell .admin-block-table tbody,
    .admin-shell .admin-block-table tr,
    .admin-shell .admin-block-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .admin-shell .admin-inquiry-table,
    .admin-shell .admin-block-table {
        min-width: 0 !important;
        border-collapse: separate;
        border-spacing: 0;
        table-layout: auto;
    }

    .admin-shell .admin-inquiry-table thead,
    .admin-shell .admin-block-table thead {
        display: none;
    }

    .admin-shell .admin-inquiry-table tbody,
    .admin-shell .admin-block-table tbody {
        display: grid;
        gap: 14px;
    }

    .admin-shell .admin-inquiry-table tr,
    .admin-shell .admin-block-table tr {
        display: grid;
        gap: 12px;
        padding: 16px;
        border: 1px solid rgba(24, 38, 52, 0.1);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.88);
        box-shadow: 0 12px 26px rgba(19, 33, 43, 0.06);
    }

    .admin-shell .admin-inquiry-table td,
    .admin-shell .admin-block-table td {
        border-top: 0;
        padding: 0;
        font-size: 0.92rem;
        overflow-wrap: anywhere;
    }

    .admin-shell .admin-inquiry-table td::before,
    .admin-shell .admin-block-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 5px;
        color: var(--muted);
        font-size: 0.72rem;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .admin-shell .admin-inquiry-table td.inquiry-table__actions::before {
        display: none;
    }

    .admin-shell .inquiry-table__message {
        max-height: none;
        overflow: visible;
        padding: 12px 14px;
        border-radius: 14px;
        background: rgba(24, 38, 52, 0.04);
    }

    .admin-shell .admin-inquiry-table-actions > summary {
        width: 100%;
        justify-content: space-between;
        min-height: 44px;
    }

    .admin-shell .admin-inquiry-table-actions__body {
        position: static;
        width: auto;
        max-height: none;
        transform: none;
        padding: 12px;
        border-radius: 14px;
        overflow: visible;
        box-shadow: none;
    }

    .admin-shell .admin-inquiry-table-actions__topbar {
        position: static;
        margin: 0;
        padding: 0 0 10px;
        border-radius: 0;
        background: transparent;
    }

    .admin-shell .admin-inquiry-table-actions[open]::before {
        display: none;
    }

    .admin-shell .admin-inline-state-form button,
    .admin-shell .admin-inline-block-form button,
    .admin-shell .admin-inline-block-form select {
        width: 100%;
    }

    .admin-shell .admin-inline-block-form__controls {
        grid-template-columns: 1fr;
    }

    .anbieter-filter-grid,
    .detail-sidebox__grid,
    .inquiry-form__grid,
    .poi-card__row {
        grid-template-columns: 1fr;
    }

    .anbieter-actions,
    .anbieter-pagination,
    .search-log-actions,
    .search-log-pagination__links {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .anbieter-actions .button-primary,
    .anbieter-actions .button-secondary,
    .anbieter-pagination .button-secondary,
    .search-log-actions button,
    .search-log-actions .button-secondary {
        width: 100%;
    }

    .anbieter-table-wrap {
        max-width: 100%;
    }

    .admin-shell--anbieter .anbieter-table {
        min-width: 1680px;
    }

    .anbieter-table th,
    .anbieter-table td {
        min-width: 96px;
        padding: 9px 10px;
        font-size: 0.82rem;
    }

    .anbieter-table th:nth-child(3),
    .anbieter-table td:nth-child(3),
    .anbieter-table th:nth-child(4),
    .anbieter-table td:nth-child(4),
    .anbieter-table th:nth-child(7),
    .anbieter-table td:nth-child(7),
    .anbieter-table th:nth-child(13),
    .anbieter-table td:nth-child(13),
    .anbieter-table th:nth-child(14),
    .anbieter-table td:nth-child(14),
    .anbieter-table th:nth-child(15),
    .anbieter-table td:nth-child(15),
    .anbieter-table th:nth-child(25),
    .anbieter-table td:nth-child(25) {
        min-width: 150px;
    }

    .anbieter-table th:first-child,
    .anbieter-table td:first-child {
        position: static;
        min-width: 76px;
        width: 76px;
    }

    .anbieter-table .anbieter-filter-row th {
        top: auto;
    }

    .search-log-table {
        min-width: 920px;
    }

    .search-log-table__time {
        width: 150px;
    }

    .search-log-table__search {
        width: 310px;
    }

    .search-log-table__meta {
        width: 190px;
    }

    .project-unit-filter-tab,
    .project-region-chip,
    .view-toggle,
    .search-log-page-link {
        width: 100%;
        justify-content: space-between;
        border-radius: 14px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .results-toolbar__right {
        width: 100%;
    }

    .agent-card,
    .document-item {
        align-items: flex-start;
    }

    .agent-card {
        flex-direction: column;
    }

    .document-item {
        flex-direction: column;
    }

    .results-toolbar__right,
    .site-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .pagination__controls {
        width: 100%;
    }

    .search-sidebar {
        position: static;
    }

    .detail-gallery__rail-items {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .floorplan-gallery__rail-items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .detail-gallery__thumb img {
        height: 74px;
    }

    .floorplan-gallery__thumb img {
        height: 88px;
    }

    .detail-gallery__nav {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .detail-gallery__layout {
        height: auto;
    }

    .detail-gallery__stage {
        grid-template-rows: clamp(260px, 62vw, 340px) 24px;
        height: auto;
    }

    .floorplan-gallery__stage {
        grid-template-rows: clamp(300px, 78vw, 420px) 24px;
        height: auto;
    }

    .detail-gallery__hero-wrap {
        height: clamp(260px, 62vw, 340px);
        padding: 10px;
    }

    .floorplan-gallery__hero-wrap {
        height: clamp(300px, 78vw, 420px);
        padding: 10px;
    }

    .detail-gallery__hero {
        min-height: 0;
    }

    .detail-gallery__hero.is-portrait {
        max-width: min(84%, 300px);
        max-height: clamp(250px, 60vw, 330px);
    }

    .detail-gallery__nav--prev {
        left: 10px;
    }

    .detail-gallery__nav--next {
        right: 10px;
    }

    .lightbox {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px 12px;
    }

    .lightbox__content {
        order: 1;
    }

    .lightbox__nav {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .lightbox__nav--prev {
        left: 12px;
    }

    .lightbox__nav--next {
        right: 12px;
    }

    .lightbox__close {
        top: 14px;
        right: 14px;
        width: 50px;
        height: 50px;
    }
}

.social-flash__content {
    color: var(--ink, #18314f);
    font-weight: 600;
}

.social-subnav {
    display: grid;
    gap: 10px;
}

.social-subnav__link {
    border: 1px solid rgba(23, 58, 102, 0.12);
    border-radius: 18px;
    padding: 10px 14px;
    color: #234160;
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.72);
}

.social-subnav__link.is-active {
    background: linear-gradient(135deg, #229de6, #179c93);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(18, 110, 167, 0.2);
}

.social-grid {
    display: grid;
    gap: 22px;
    margin-bottom: 22px;
}

.social-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.social-grid--composer {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
}

.social-platform-grid,
.social-entry-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.social-entry-card {
    border: 1px solid rgba(23, 58, 102, 0.1);
    border-radius: 24px;
    padding: 20px;
    text-decoration: none;
    color: #173a66;
    background: rgba(255, 255, 255, 0.9);
    display: grid;
    gap: 8px;
    min-height: 140px;
}

.social-entry-card strong {
    font-size: 1.05rem;
}

.social-entry-card span {
    color: #617b98;
    line-height: 1.55;
}

.social-platform-card {
    border: 1px solid rgba(23, 58, 102, 0.1);
    border-radius: 24px;
    padding: 22px;
    display: grid;
    gap: 16px;
    background: rgba(255, 255, 255, 0.92);
}

.social-platform-card__header,
.social-platform-inline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.social-platform-card__header h3 {
    margin: 0 0 8px;
}

.social-platform-card__facts {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-platform-list,
.social-post-list {
    display: grid;
    gap: 14px;
}

.social-platform-inline {
    border: 1px solid rgba(23, 58, 102, 0.08);
    border-radius: 20px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.82);
}

.social-preview-card {
    display: grid;
    gap: 18px;
}

.social-preview-card__media {
    border-radius: 24px;
    overflow: hidden;
    min-height: 260px;
    background: #edf4fb;
    border: 1px solid rgba(23, 58, 102, 0.08);
}

.social-preview-card__media img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.social-preview-card__placeholder {
    min-height: 320px;
    display: grid;
    place-items: center;
    color: #6f86a2;
    font-weight: 700;
}

.social-preview-card__body {
    display: grid;
    gap: 12px;
}

.social-preview-card__body h3 {
    margin: 0;
}

.social-preview-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-preview-card__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1988d8;
}

.social-preview-card__hashtags {
    color: #4f6b89;
    font-weight: 600;
}

.social-checkbox-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.social-form-actions,
.social-filter-actions {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.social-summary-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 12px;
    color: #36506e;
    line-height: 1.6;
}

.social-post-item {
    border: 1px solid rgba(23, 58, 102, 0.08);
    border-radius: 22px;
    padding: 18px;
    display: grid;
    gap: 10px;
    background: rgba(255, 255, 255, 0.88);
}

.social-post-item__meta {
    display: grid;
    gap: 4px;
}

.social-post-item__meta strong {
    color: #173a66;
}

.social-post-item__chips,
.social-post-item__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.social-post-item__metrics {
    color: #617b98;
    font-weight: 600;
}

.social-entry-grid + .social-entry-grid {
    margin-top: 16px;
}

@media (max-width: 1120px) {
    .social-grid--two,
    .social-grid--composer,
    .social-platform-card__facts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .social-subnav,
    .social-form-actions,
    .social-filter-actions,
    .social-platform-card__header,
    .social-platform-inline,
    .social-post-item__chips,
    .social-post-item__metrics {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .social-preview-card__media img,
    .social-preview-card__placeholder {
        height: 240px;
        min-height: 240px;
    }
}

.todo-board-shell {
    padding-bottom: 118px;
}

.todo-intro-panel {
    display: grid;
    gap: 22px;
    margin-bottom: 18px;
}

.todo-intro-panel__main {
    display: grid;
    gap: 10px;
}

.todo-summary-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.todo-summary-pill {
    min-width: 120px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(24, 38, 52, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 252, 0.95));
    display: grid;
    gap: 4px;
}

.todo-summary-pill span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--muted);
}

.todo-summary-pill strong {
    font-size: 1.4rem;
    line-height: 1;
    color: #16385f;
}

.todo-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.todo-meta-chip {
    min-width: 180px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(24, 38, 52, 0.08);
    background: rgba(255, 255, 255, 0.84);
    display: grid;
    gap: 6px;
}

.todo-meta-chip__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.todo-status-panel__row,
.todo-restore-panel,
.todo-restore-actions,
.todo-column__header,
.todo-column__actions,
.todo-savebar,
.todo-savebar__actions,
.todo-savebar__status {
    display: flex;
    gap: 14px;
}

.todo-status-panel__row,
.todo-restore-panel,
.todo-column__header,
.todo-savebar {
    align-items: center;
    justify-content: space-between;
}

.todo-restore-panel,
.todo-status-panel {
    margin-bottom: 18px;
}

.todo-board {
    display: grid;
    gap: 18px;
}

.todo-board--stacked {
    grid-template-columns: 1fr;
}

.todo-column {
    display: grid;
    gap: 16px;
}

.todo-column__actions,
.todo-restore-actions,
.todo-savebar__actions {
    flex-wrap: wrap;
}

.todo-list {
    min-height: 56px;
}

.todo-table-wrap {
    overflow-x: auto;
    border-radius: 22px;
    border: 1px solid rgba(24, 38, 52, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.todo-table {
    width: 100%;
    min-width: 1080px;
    border-collapse: separate;
    border-spacing: 0;
}

.todo-table__col--move {
    width: 96px;
}

.todo-table__col--task {
    width: 44%;
}

.todo-table__col--details {
    width: 42%;
}

.todo-table__col--action {
    width: 132px;
}

.todo-table thead th {
    text-align: left;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5e7391;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(24, 38, 52, 0.08);
    background: rgba(238, 242, 247, 0.82);
}

.todo-row td {
    vertical-align: top;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(24, 38, 52, 0.06);
    background: rgba(255, 255, 255, 0.94);
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.todo-row:hover td {
    background: rgba(247, 250, 255, 0.98);
}

.todo-row:last-child td {
    border-bottom: 0;
}

.todo-empty {
    padding: 18px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.5);
}

.todo-empty-row td {
    border-bottom: 0;
}

.search-log-table-tools {
    display: grid;
    gap: 6px;
    justify-items: end;
    text-align: right;
}

.search-log-table-tools__title {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3c5b7a;
}

.search-log-table-tools__subtext {
    max-width: 420px;
    color: var(--muted);
    line-height: 1.5;
}

.search-log-table-tools__count {
    font-size: 0.82rem;
    font-weight: 700;
    color: #234160;
}

.search-log-table {
    table-layout: fixed;
}

.search-log-table th {
    vertical-align: top;
}

.table-sort-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.table-sort-button::after {
    content: "↕";
    font-size: 0.9rem;
    opacity: 0.45;
}

.table-sort-button[data-active="true"][data-direction="asc"]::after {
    content: "↑";
    opacity: 1;
}

.table-sort-button[data-active="true"][data-direction="desc"]::after {
    content: "↓";
    opacity: 1;
}

.table-filter-row th {
    padding-top: 10px;
    padding-bottom: 14px;
    background: rgba(247, 250, 255, 0.8);
}

.table-filter-input {
    width: 100%;
    min-height: 40px;
    border-radius: 12px;
    border: 1.5px solid rgba(76, 114, 154, 0.28);
    background: #fff;
    padding: 10px 12px;
    font: inherit;
    color: var(--text);
}

.table-filter-input:focus {
    outline: 2px solid rgba(58, 110, 255, 0.14);
    border-color: rgba(58, 110, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(58, 110, 255, 0.08);
}

.search-log-table__time {
    width: 180px;
    word-break: break-word;
}

.search-log-table__search {
    width: 420px;
}

.search-log-table__mode {
    width: 120px;
}

.search-log-table__count {
    width: 90px;
}

.search-log-table__strategy {
    width: 130px;
}

.search-log-table__meta {
    width: 240px;
}

.search-log-pagination {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.search-log-pagination__meta {
    color: var(--muted);
}

.search-log-pagination__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.search-log-page-link {
    min-width: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1.5px solid rgba(76, 114, 154, 0.22);
    background: rgba(255, 255, 255, 0.92);
    color: #244466;
    font-weight: 800;
    text-decoration: none;
}

.search-log-page-link.is-active {
    background: linear-gradient(135deg, #356ef7, #2fb8e6);
    border-color: rgba(47, 184, 230, 0.45);
    color: #fff;
}

.todo-row.todo-card--ghost td {
    opacity: 0.55;
}

.todo-cell--move,
.todo-cell--action {
    width: 1%;
    white-space: nowrap;
}

.todo-cell--move {
    text-align: center;
}

.todo-cell--action {
    text-align: right;
}

.todo-card__handle,
.todo-card__delete,
.todo-add-button,
.todo-savebar .portal-intro__primary,
.todo-savebar .button-secondary,
.todo-restore-actions .portal-intro__primary,
.todo-restore-actions .button-secondary {
    min-height: 44px;
}

.todo-card__handle,
.todo-card__delete {
    border-radius: 12px;
    border: 1px solid rgba(24, 38, 52, 0.1);
    background: #fff;
    color: #234160;
    font-weight: 700;
    padding: 10px 14px;
    box-shadow: 0 8px 24px rgba(19, 33, 43, 0.05);
}

.todo-card__handle {
    cursor: grab;
    touch-action: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3e5c7d;
}

.todo-card__handle span:first-child {
    font-size: 1rem;
    letter-spacing: -0.2em;
}

.todo-card__status {
    color: #36597f;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.todo-card__delete {
    color: #a53c45;
}

.todo-table-field {
    display: grid;
    gap: 8px;
}

.todo-card__textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(24, 38, 52, 0.1);
    background: #fff;
    padding: 14px 16px;
    font: inherit;
    color: var(--text);
    resize: vertical;
    min-height: 92px;
    line-height: 1.55;
    box-shadow: inset 0 1px 2px rgba(19, 33, 43, 0.03);
}

.todo-card__textarea--notes {
    min-height: 92px;
}

.todo-card__textarea:focus {
    outline: 2px solid rgba(58, 110, 255, 0.16);
    border-color: rgba(58, 110, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(58, 110, 255, 0.08);
}

.todo-flash {
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
    background: rgba(24, 156, 147, 0.12);
    color: #13675f;
}

.todo-flash[data-tone="error"] {
    background: rgba(197, 68, 84, 0.12);
    color: #9a3040;
}

.todo-flash[data-tone="info"] {
    background: rgba(27, 142, 223, 0.12);
    color: #195d92;
}

.todo-savebar {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 40;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(24, 38, 52, 0.1);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 44px rgba(17, 29, 42, 0.12);
}

.todo-savebar.is-dirty {
    border-color: rgba(27, 142, 223, 0.32);
    box-shadow: 0 18px 44px rgba(23, 113, 174, 0.18);
}

.todo-savebar__status {
    flex-direction: column;
    align-items: flex-start;
}

.todo-savebar__status span {
    color: var(--muted);
    line-height: 1.5;
}

.site-footer__column .site-footer__link-button {
    appearance: none;
    display: inline;
    width: fit-content;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--text);
    font: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.site-footer__column .site-footer__link-button:hover,
.site-footer__column .site-footer__link-button:focus-visible {
    color: var(--accent-strong);
}

.site-footer__column .site-footer__link-button:focus-visible {
    outline: 2px solid rgba(53, 108, 255, 0.24);
    outline-offset: 3px;
}

.cookie-consent {
    position: fixed;
    inset: auto max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    z-index: 200;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__panel {
    width: min(100%, 1080px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    padding: 20px;
    border: 1px solid rgba(11, 23, 48, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(11, 23, 48, 0.2);
    pointer-events: auto;
}

.cookie-consent__copy {
    min-width: 0;
}

.cookie-consent__eyebrow {
    margin: 0 0 6px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-consent h2 {
    margin: 0 0 8px;
    font-size: 1.18rem;
}

.cookie-consent p {
    max-width: 68ch;
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.cookie-consent__privacy-link {
    display: inline-flex;
    margin-top: 10px;
    color: var(--accent);
    font-weight: 800;
}

.cookie-consent__settings {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.cookie-consent__settings[hidden] {
    display: none;
}

.cookie-consent__option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(11, 23, 48, 0.1);
    border-radius: 16px;
    background: rgba(248, 251, 255, 0.86);
}

.cookie-consent__option input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    flex: 0 0 auto;
}

.cookie-consent__option strong,
.cookie-consent__option small {
    display: block;
}

.cookie-consent__option small {
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.4;
}

.cookie-consent__option--locked {
    background: rgba(235, 242, 255, 0.76);
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-consent__button {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cookie-consent__button:hover {
    transform: translateY(-1px);
}

.cookie-consent__button--primary {
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 26px rgba(53, 108, 255, 0.22);
}

.cookie-consent__button--secondary,
.cookie-consent__button--ghost {
    border: 1px solid rgba(11, 23, 48, 0.18);
    background: #fff;
    color: var(--text);
}

.cookie-consent__button--ghost {
    background: rgba(255, 255, 255, 0.66);
}

.cookie-consent__button[hidden] {
    display: none;
}

@media (max-width: 760px) {
    .results-loading {
        padding: 18px;
    }

    .results-loading__hero {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .results-loading__copy {
        justify-items: center;
    }

    .results-loading__skeletons {
        grid-template-columns: 1fr;
    }

    .todo-status-panel__row,
    .todo-restore-panel,
    .todo-column__header,
    .todo-savebar,
    .todo-savebar__actions,
    .todo-column__actions,
    .todo-restore-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .todo-table,
    .todo-table thead,
    .todo-table tbody,
    .todo-table tr,
    .todo-table td {
        display: block;
    }

    .todo-table {
        min-width: 0 !important;
        width: 100%;
    }

    .todo-table thead {
        display: none;
    }

    .todo-row {
        border: 1px solid rgba(24, 38, 52, 0.08);
        border-radius: 18px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.92);
        margin-bottom: 12px;
        box-shadow: 0 10px 26px rgba(19, 33, 43, 0.05);
    }

    .todo-row td {
        border-bottom: 1px solid rgba(24, 38, 52, 0.06);
        padding: 12px 14px;
    }

    .todo-row td:last-child {
        border-bottom: 0;
    }

    .todo-cell::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 6px;
        font-size: 0.74rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--muted);
    }

    .todo-savebar {
        padding: 12px;
    }

    .todo-savebar .portal-intro__primary,
    .todo-savebar .button-secondary,
    .todo-restore-actions .portal-intro__primary,
    .todo-restore-actions .button-secondary,
    .todo-add-button,
    .todo-card__handle,
    .todo-card__delete {
        width: 100%;
        justify-content: center;
    }

    .todo-summary-pill {
        flex: 1 1 calc(50% - 12px);
        min-width: 0;
    }

    .search-log-table-tools {
        justify-items: start;
        text-align: left;
    }

    .search-log-table-tools__subtext {
        max-width: none;
    }

    .not-found-hero,
    .not-found-links {
        grid-template-columns: 1fr;
    }

    .not-found-hero {
        min-height: 0;
        padding: 24px;
        overflow: hidden;
    }

    .not-found-hero__content {
        width: min(100%, 300px);
        max-width: calc(100vw - 72px);
    }

    .not-found-hero__content h1 {
        max-width: 10ch;
        font-size: clamp(1.95rem, 10vw, 2.35rem);
    }

    .not-found-hero__content p {
        max-width: 28ch;
        font-size: 0.98rem;
    }

    .not-found-hero__code {
        width: min(100%, 180px);
    }

    .not-found-hero__actions .portal-intro__primary,
    .not-found-hero__actions .portal-intro__secondary {
        width: 100%;
        justify-content: center;
    }

    .table-sort-button {
        justify-content: space-between;
    }

    .todo-empty-row,
    .todo-empty-row td {
        display: table-cell;
        width: 100%;
    }

    .cookie-consent {
        inset: auto 0 max(10px, env(safe-area-inset-bottom)) 0;
        justify-content: flex-start;
        padding: 0 10px;
    }

    .cookie-consent__panel {
        width: min(360px, calc(100vw - 20px));
        grid-template-columns: 1fr;
        gap: 14px;
        max-height: calc(100vh - 20px);
        overflow: auto;
        padding: 16px;
        border-radius: 18px;
    }

    .cookie-consent__settings {
        grid-template-columns: 1fr;
    }

    .cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cookie-consent__button {
        width: 100%;
    }
}

html[data-theme="dark"] body {
    background:
        radial-gradient(circle at 12% -10%, rgba(53, 108, 255, 0.18), transparent 32rem),
        radial-gradient(circle at 88% 8%, rgba(34, 199, 248, 0.12), transparent 28rem),
        var(--bg);
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .topbar {
    background: rgba(11, 18, 32, 0.9);
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .site-brand,
html[data-theme="dark"] .site-footer__logo {
    padding: 5px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
}

html[data-theme="dark"] .site-footer__logo {
    display: inline-flex;
    padding: 8px 10px;
}

html[data-theme="dark"] .site-nav__links,
html[data-theme="dark"] .search-mode-toggle {
    background: rgba(17, 26, 43, 0.96);
    border-color: rgba(110, 160, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .site-nav__link:hover,
html[data-theme="dark"] .site-nav__link.is-active,
html[data-theme="dark"] .site-nav__button:hover,
html[data-theme="dark"] .site-nav__login,
html[data-theme="dark"] .theme-toggle {
    background: rgba(30, 41, 59, 0.92);
    color: var(--text);
    border-color: rgba(110, 160, 255, 0.3);
    box-shadow: none;
}

html[data-theme="dark"] .site-nav__login,
html[data-theme="dark"] .button-primary,
html[data-theme="dark"] button:not(.theme-toggle):not(.site-nav__button):not(.site-footer__link-button):not(.cookie-consent__button--secondary):not(.cookie-consent__button--ghost) {
    color: #fff;
}

html[data-theme="dark"] .site-nav-toggle span {
    background: var(--text);
}

html[data-theme="dark"] .panel,
html[data-theme="dark"] .card,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .filters-card,
html[data-theme="dark"] .section-card,
html[data-theme="dark"] .search-topbar,
html[data-theme="dark"] .search-results,
html[data-theme="dark"] .results-toolbar,
html[data-theme="dark"] .property-card,
html[data-theme="dark"] .property-card__fact,
html[data-theme="dark"] .property-fact,
html[data-theme="dark"] .detail-contact,
html[data-theme="dark"] .agent-card,
html[data-theme="dark"] .metric,
html[data-theme="dark"] .poi-card,
html[data-theme="dark"] .document-item,
html[data-theme="dark"] .content-page,
html[data-theme="dark"] .content-contact-form,
html[data-theme="dark"] .help-overview-card,
html[data-theme="dark"] .help-sidebar__card,
html[data-theme="dark"] .help-sidebar__link,
html[data-theme="dark"] .help-section,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .faq-empty-state,
html[data-theme="dark"] .project-connection,
html[data-theme="dark"] .project-unit-card,
html[data-theme="dark"] .floorplan-card,
html[data-theme="dark"] .cookie-consent__panel,
html[data-theme="dark"] .admin-shell .table-wrap {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
    box-shadow: var(--shadow);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .faq-search-input,
html[data-theme="dark"] .content-contact-form input,
html[data-theme="dark"] .content-contact-form textarea,
html[data-theme="dark"] .detail-contact input,
html[data-theme="dark"] .detail-contact textarea,
html[data-theme="dark"] .detail-contact select {
    background: rgba(11, 18, 32, 0.9);
    border-color: rgba(148, 163, 184, 0.34);
    color: var(--text);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    color: rgba(167, 180, 199, 0.75);
}

html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .pagination__link,
html[data-theme="dark"] .help-topic-chip,
html[data-theme="dark"] .kpi-chip,
html[data-theme="dark"] .coming-launch__status-card,
html[data-theme="dark"] .coming-launch__mini-card,
html[data-theme="dark"] .coming-launch__feature-card,
html[data-theme="dark"] .coming-launch__social-card,
html[data-theme="dark"] .cookie-consent__option {
    background: rgba(17, 26, 43, 0.86);
    border-color: var(--border);
    color: var(--text);
}

html[data-theme="dark"] .property-card__body,
html[data-theme="dark"] .property-card__footer,
html[data-theme="dark"] .listing-card__body,
html[data-theme="dark"] .detail-summary,
html[data-theme="dark"] .gallery-thumbs,
html[data-theme="dark"] .lightbox__content {
    background: rgba(17, 26, 43, 0.96);
}

html[data-theme="dark"] .property-card__media,
html[data-theme="dark"] .detail-gallery__stage,
html[data-theme="dark"] .detail-gallery__thumb,
html[data-theme="dark"] .floorplan-gallery__stage {
    background: rgba(30, 41, 59, 0.92);
}

html[data-theme="dark"] .detail-summary--inline .detail-summary__title,
html[data-theme="dark"] .detail-summary__title,
html[data-theme="dark"] .detail-summary__fact strong,
html[data-theme="dark"] .detail-summary__metric strong,
html[data-theme="dark"] .detail-sidebox__item strong,
html[data-theme="dark"] .property-fact strong,
html[data-theme="dark"] .agent-card__name,
html[data-theme="dark"] .detail-contact .section-title {
    color: var(--text);
}

html[data-theme="dark"] .detail-summary__address,
html[data-theme="dark"] .detail-summary__subline,
html[data-theme="dark"] .detail-summary__facts-label,
html[data-theme="dark"] .detail-summary__fact span,
html[data-theme="dark"] .detail-summary__metric span,
html[data-theme="dark"] .detail-summary__refs,
html[data-theme="dark"] .detail-summary__id,
html[data-theme="dark"] .detail-summary__id-row,
html[data-theme="dark"] .detail-sidebox__label,
html[data-theme="dark"] .detail-sidebox__location,
html[data-theme="dark"] .detail-sidebox__item span,
html[data-theme="dark"] .detail-sidebox__refs,
html[data-theme="dark"] .property-fact span,
html[data-theme="dark"] .provider-link--subtle,
html[data-theme="dark"] .agent-card__role,
html[data-theme="dark"] .detail-contact .field-label,
html[data-theme="dark"] .detail-contact .checkbox-row,
html[data-theme="dark"] .inquiry-form__counter {
    color: var(--muted);
}

html[data-theme="dark"] .detail-summary__price,
html[data-theme="dark"] .detail-summary--inline .detail-summary__price,
html[data-theme="dark"] .reveal-phone,
html[data-theme="dark"] .provider-link:hover,
html[data-theme="dark"] .provider-link--subtle:hover,
html[data-theme="dark"] .inquiry-form__counter.is-limit {
    color: var(--accent-strong);
}

html[data-theme="dark"] .detail-summary__secondary,
html[data-theme="dark"] .detail-summary__fact,
html[data-theme="dark"] .detail-summary__refs,
html[data-theme="dark"] .detail-summary__metrics,
html[data-theme="dark"] .detail-summary__ids,
html[data-theme="dark"] .detail-sidebox__refs {
    border-color: rgba(148, 163, 184, 0.22);
}

html[data-theme="dark"] .property-fact,
html[data-theme="dark"] .agent-card,
html[data-theme="dark"] .detail-sidebox__item {
    background: rgba(30, 41, 59, 0.76);
    border-color: rgba(110, 160, 255, 0.24);
}

html[data-theme="dark"] .detail-summary__status {
    background: rgba(56, 213, 255, 0.14);
    color: #b9efff;
}

html[data-theme="dark"] .detail-summary__status--secondary {
    background: rgba(148, 163, 184, 0.14);
    color: var(--muted);
}

html[data-theme="dark"] .translation-toggle {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(148, 163, 184, 0.34);
    color: var(--text);
}

html[data-theme="dark"] .translation-toggle:hover,
html[data-theme="dark"] .translation-toggle:focus-visible {
    background: rgba(45, 59, 82, 0.98);
    border-color: rgba(110, 160, 255, 0.42);
}

html[data-theme="dark"] .description-block li::marker {
    color: var(--muted);
}

html[data-theme="dark"] .description-block.is-collapsed::after {
    background: linear-gradient(180deg, rgba(17, 26, 43, 0), rgba(17, 26, 43, 0.98) 82%);
}

html[data-theme="dark"] .cookie-consent__button--secondary,
html[data-theme="dark"] .cookie-consent__button--ghost {
    background: rgba(17, 26, 43, 0.86);
    border-color: rgba(148, 163, 184, 0.34);
    color: var(--text);
}

html[data-theme="dark"] .admin-shell table,
html[data-theme="dark"] table {
    color: var(--text);
}

html[data-theme="dark"] tr,
html[data-theme="dark"] td,
html[data-theme="dark"] th {
    border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="dark"] .admin-inquiry-table tr,
html[data-theme="dark"] .admin-block-table tr,
html[data-theme="dark"] .admin-inquiry-table-actions__body,
html[data-theme="dark"] .admin-inline-block-form,
html[data-theme="dark"] .inquiry-table__message {
    background: rgba(17, 26, 43, 0.94);
    border-color: var(--border);
}
