:root {
  --estate-bg: #f8fafc;
  --estate-card: #ffffff;
  --estate-text: #17202a;
  --estate-muted: #64748b;
  --estate-primary: #004c73;
  --estate-primary-dark: #003955;
  --estate-primary-soft: #dcebf2;
  --estate-accent: #f59e0b;
  --estate-border: #e2e8f0;
  --estate-text-secondary: #334155;
  --estate-placeholder: #94a3b8;
  --estate-on-primary: #ffffff;
  --estate-surface-soft: #f1f5f9;
  --estate-surface-tint: color-mix(in srgb, var(--estate-primary-soft) 62%, var(--estate-card));
  --estate-focus: var(--estate-primary);
  --estate-focus-ring: color-mix(in srgb, var(--estate-focus) 28%, transparent);
  --estate-overlay: color-mix(in srgb, var(--estate-primary-dark) 48%, transparent);
  --estate-danger: #b42318;
  --estate-success: #067647;
  --estate-shadow: 0 24px 70px rgba(15, 23, 42, .14);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--estate-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--estate-primary) 16%, transparent), transparent 34%),
    linear-gradient(135deg, var(--estate-primary-soft) 0%, var(--estate-bg) 55%, color-mix(in srgb, var(--estate-accent) 9%, var(--estate-card)) 100%);
}

body a {
  color: var(--estate-primary);
  text-decoration: none;
}

body a:hover {
  color: var(--estate-primary-dark);
}

.estate-auth-page {
  min-height: 100vh;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
}

.estate-auth-top {
  width: min(1160px, 100%);
  margin: 0 auto 28px;
  min-height: 76px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 26px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .10);
  backdrop-filter: blur(14px);
}

.estate-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--estate-text) !important;
  font-weight: 850;
  font-size: 18px;
  text-decoration: none;
}

.estate-auth-brand img {
  width: auto;
  max-width: 190px;
  max-height: 54px;
  object-fit: contain;
}

.estate-auth-brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-auth-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.estate-auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  color: var(--estate-text) !important;
  background: var(--estate-card);
  font-weight: 750;
  text-decoration: none;
}

.estate-auth-map-link {
  color: #ffffff !important;
  border-color: var(--estate-primary);
  background: var(--estate-primary);
}

.estate-auth-link:hover,
.estate-auth-map-link:hover {
  border-color: color-mix(in srgb, var(--estate-primary) 42%, transparent);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .10);
}

.estate-language-select-wrap {
  display: inline-flex;
  align-items: center;
}

.estate-language-select-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.estate-language-select {
  min-height: 42px;
  max-width: 168px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  padding: 0 38px 0 14px;
  color: var(--estate-text);
  background: var(--estate-card);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.estate-language-select:hover,
.estate-language-select:focus {
  border-color: color-mix(in srgb, var(--estate-primary) 42%, transparent);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .10);
  outline: none;
}

.estate-auth-link:focus-visible,
.estate-language-select:focus-visible,
.estate-form input:focus-visible,
.estate-form select:focus-visible,
.estate-form textarea:focus-visible {
  border-color: var(--estate-focus);
  outline: 3px solid var(--estate-focus-ring);
  outline-offset: 2px;
}

.estate-login-shell {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 18px 0 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.estate-login-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  text-decoration: none;
}

.estate-login-logo img {
  width: auto;
  max-width: 220px;
  max-height: 76px;
  object-fit: contain;
}

.estate-card {
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--estate-border);
  border-radius: 28px;
  background: color-mix(in srgb, var(--estate-card) 96%, transparent);
  box-shadow: var(--estate-shadow);
  backdrop-filter: blur(12px);
}

.estate-card-narrow {
  max-width: 520px;
}

.estate-card-wide {
  max-width: 980px;
}

.estate-login-card {
  width: 100%;
}

.estate-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.estate-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--estate-primary);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.estate-copy p,
.estate-muted,
.estate-login-intro {
  color: var(--estate-muted);
}

.estate-login-intro {
  margin: 0 0 22px;
  line-height: 1.6;
}

.estate-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.estate-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--estate-text);
  font-weight: 750;
}

.estate-form input[type=text],
.estate-form input[type=email],
.estate-form input[type=password] {
  min-height: 46px;
  border: 1px solid var(--estate-border);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 1rem;
  background: #ffffff;
}

.estate-form input:focus {
  outline: 3px solid color-mix(in srgb, var(--estate-primary) 16%, transparent);
  border-color: var(--estate-primary);
}

.estate-password-line {
  display: flex;
  gap: 8px;
}

.estate-password-line input {
  flex: 1;
}

.estate-password-line button,
.estate-sso-box button {
  border: 1px solid var(--estate-border);
  border-radius: 12px;
  background: #f8fafc;
  padding: 0 14px;
  cursor: pointer;
}

.estate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--estate-primary);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  padding: 14px 18px;
  cursor: pointer;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--estate-primary) 22%, transparent);
}

.estate-button:hover,
.estate-button:focus {
  background: var(--estate-primary-dark);
  color: #ffffff !important;
  outline: none;
}

.estate-button-secondary {
  color: var(--estate-primary) !important;
  background: #ffffff;
  border: 1px solid var(--estate-border);
  box-shadow: none;
}

.estate-button-secondary:hover,
.estate-button-secondary:focus {
  color: var(--estate-primary-dark) !important;
  background: #ffffff;
  border-color: var(--estate-primary);
}

.estate-button-block {
  width: 100%;
}

.estate-switch {
  margin: 0;
  text-align: center;
}

.estate-switch a,
.estate-secondary-link {
  color: var(--estate-primary);
  font-weight: 800;
}

.estate-login-secondary {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--estate-border);
  text-align: center;
}

.estate-login-secondary p {
  margin: 0 0 12px;
  color: var(--estate-muted);
}

.estate-checkbox,
.estate-choice {
  border: 1px solid var(--estate-border);
  border-radius: 16px;
  padding: 13px 14px;
  background: #f8fafc;
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  align-items: flex-start;
}

.estate-checkbox input,
.estate-choice input {
  margin-top: 5px;
}

.estate-error,
.estate-success {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 750;
}

.estate-error {
  color: var(--estate-danger);
  background: #fff1f0;
  border: 1px solid #ffd2cc;
}

.estate-success {
  color: var(--estate-success);
  background: #ecfdf3;
  border: 1px solid #abefc6;
}

.estate-hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.estate-sso-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.estate-sso-box small {
  grid-column: 1 / -1;
  color: var(--estate-muted);
}

fieldset {
  border: 1px solid var(--estate-border);
  border-radius: 18px;
  padding: 18px;
  margin: 0;
  display: grid;
  gap: 12px;
}

legend {
  font-weight: 800;
  color: var(--estate-primary);
  padding: 0 8px;
}

.estate-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.estate-auth-footer {
  width: min(1160px, 100%);
  margin: 8px auto 0;
  padding: 18px 24px 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--estate-muted);
  font-size: 14px;
}

.estate-auth-footer a {
  color: var(--estate-primary);
  font-weight: 800;
}

@media (max-width: 760px) {
  .estate-auth-page {
    padding: 14px;
  }

  .estate-auth-top {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 22px;
    margin-bottom: 18px;
  }

  .estate-auth-brand {
    width: 100%;
  }

  .estate-auth-brand img {
    max-width: 160px;
    max-height: 48px;
  }

  .estate-auth-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .estate-auth-link,
  .estate-language-select {
    width: 100%;
    max-width: none;
    min-height: 46px;
    justify-content: center;
    border-radius: 16px;
    font-size: 16px;
  }

  .estate-language-select-wrap {
    grid-column: 1 / -1;
  }

  .estate-login-shell {
    padding: 8px 0 18px;
  }

  .estate-login-logo img {
    max-width: 180px;
    max-height: 62px;
  }

  .estate-card {
    padding: 22px;
    border-radius: 22px;
  }

  .estate-auth-grid,
  .estate-sso-box,
  .estate-two-cols {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   My Account cockpit, relational favourites and private user-space hints
   -------------------------------------------------------------------------- */

.estate-account-shell {
  width: min(980px, 100%);
}

.estate-account-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.estate-account-userbox {
  min-width: 220px;
  padding: 14px 16px;
  border: 1px solid var(--estate-border);
  border-radius: 18px;
  background: #f8fafc;
}

.estate-account-userbox strong,
.estate-account-userbox span {
  display: block;
}

.estate-account-userbox span {
  color: var(--estate-muted);
  font-size: .92rem;
}

.estate-cockpit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.estate-panel {
  padding: 22px;
  border: 1px solid var(--estate-border);
  border-radius: 22px;
  background: color-mix(in srgb, var(--estate-card) 86%, transparent);
}

.estate-panel-wide {
  grid-column: 1 / -1;
}

.estate-panel h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.estate-empty-state {
  padding: 18px;
  border: 1px dashed var(--estate-border);
  border-radius: 18px;
  background: #f8fafc;
}

.estate-empty-state p {
  color: var(--estate-muted);
}

.estate-favorite-list {
  display: grid;
  gap: 12px;
}

.estate-favorite-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--estate-border);
  border-radius: 18px;
  background: #ffffff;
}

.estate-favorite-item strong,
.estate-favorite-item span,
.estate-favorite-item small {
  display: block;
}

.estate-favorite-item span,
.estate-favorite-item small {
  color: var(--estate-muted);
}

.estate-mini-button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--estate-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--estate-primary);
  font-weight: 800;
  cursor: pointer;
}

.estate-mini-button:hover,
.estate-mini-button:focus {
  border-color: var(--estate-primary);
  outline: none;
}

.estate-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.estate-feature-grid > div {
  padding: 16px;
  border: 1px solid var(--estate-border);
  border-radius: 18px;
  background: #ffffff;
}

.estate-feature-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--estate-primary);
  font-size: 1.4rem;
}

.estate-select {
  min-height: 46px;
  border: 1px solid var(--estate-border);
  border-radius: 14px;
  padding: 12px 14px;
  background: #ffffff;
  font: inherit;
}

@media (max-width: 760px) {
  .estate-account-head,
  .estate-favorite-item {
    flex-direction: column;
  }

  .estate-account-userbox {
    width: 100%;
  }

  .estate-cockpit-grid,
  .estate-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Activation onboarding flow
   -------------------------------------------------------------------------- */

.estate-onboarding-card {
  width: min(920px, 100%);
}

.estate-onboarding-intro {
  max-width: 760px;
  margin-bottom: 22px;
}

.estate-onboarding-form {
  gap: 20px;
}

.estate-onboarding-fieldset {
  background: rgba(248, 250, 252, .72);
}

.estate-onboarding-help,
.estate-onboarding-privacy {
  margin: 0;
}

.estate-onboarding-options {
  display: grid;
  gap: 10px;
}

.estate-choice-inline {
  margin-top: 8px;
}

.estate-required {
  color: var(--estate-danger);
}

.estate-onboarding-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

@media (max-width: 760px) {
  .estate-onboarding-actions .estate-button {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Editable real estate profile in My Account
   -------------------------------------------------------------------------- */
.estate-realestate-profile-panel .estate-onboarding-form {
  margin-top: 14px;
}

.estate-realestate-profile-panel .estate-onboarding-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .estate-realestate-profile-panel .estate-onboarding-options {
    grid-template-columns: 1fr;
  }
}

/* Hotfix 1.2.83: progressive profile question popup */
.estate-profile-question-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(2px);
}

.estate-profile-question-modal {
  width: min(560px, 100%);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.26);
  padding: 26px;
}

.estate-profile-question-modal h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  line-height: 1.2;
}

.estate-profile-question-intro {
  margin: 0;
  color: var(--estate-primary);
  font-weight: 700;
}

.estate-profile-question-options {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.estate-profile-question-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.estate-link-button {
  border: 0;
  background: transparent;
  color: #475569;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  padding: 10px 4px;
}

.estate-link-button:hover,
.estate-link-button:focus {
  color: var(--estate-primary);
}

@media (max-width: 640px) {
  .estate-profile-question-overlay {
    align-items: flex-end;
    padding: 12px;
  }

  .estate-profile-question-modal {
    border-radius: 20px 20px 14px 14px;
    padding: 20px;
  }

  .estate-profile-question-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Hotfix 1.2.86: responsive My Account cockpit dashboard */
.estate-account-dashboard {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.estate-account-hero {
  display: grid;
  grid-template-columns: auto 1fr minmax(180px, 220px);
  gap: 28px;
  align-items: center;
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 14%, transparent);
  border-radius: 22px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--estate-primary-soft) 92%, transparent), color-mix(in srgb, var(--estate-card) 94%, transparent));
}

.estate-account-avatar {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--estate-primary-dark);
  background: linear-gradient(135deg, color-mix(in srgb, var(--estate-primary) 18%, transparent), color-mix(in srgb, var(--estate-primary) 8%, transparent));
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.04em;
}

.estate-account-avatar-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.estate-account-package-badge {
  max-width: 132px;
  padding: 5px 11px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 20%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--estate-primary-dark);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

.estate-account-package-badge-free {
  border-color: rgba(100, 116, 139, .22);
  color: #475569;
  background: rgba(248, 250, 252, .96);
}

.estate-account-package-badge-plus {
  border-color: color-mix(in srgb, var(--estate-primary) 34%, transparent);
  color: var(--estate-primary-dark);
  background: linear-gradient(135deg, color-mix(in srgb, var(--estate-primary-soft) 92%, var(--estate-card)), color-mix(in srgb, var(--estate-primary-soft) 58%, var(--estate-card)));
}

.estate-account-package-badge-pro {
  border-color: rgba(37, 99, 235, .28);
  color: #1d4ed8;
  background: rgba(239, 246, 255, .96);
}

.estate-account-package-badge-business {
  border-color: rgba(217, 119, 6, .28);
  color: #92400e;
  background: rgba(255, 251, 235, .98);
}

.estate-account-package-badge-enterprise {
  border-color: rgba(4, 120, 87, .30);
  color: #065f46;
  background: rgba(236, 253, 245, .98);
}

.estate-account-hero-copy h1 {
  margin-bottom: 10px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.estate-account-hero-copy p {
  margin: 0 0 20px;
  max-width: 660px;
  color: var(--estate-muted);
}

.estate-account-actions,
.estate-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.estate-button-icon {
  gap: 8px;
}

.estate-profile-status-card {
  min-height: 168px;
  padding: 18px;
  border: 1px solid var(--estate-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  text-align: center;
}

.estate-profile-status-card > strong {
  display: block;
  margin-bottom: 10px;
  text-align: left;
}

.estate-profile-status-card b {
  display: block;
  margin-top: 8px;
  font-size: .88rem;
}

.estate-profile-status-card p {
  margin: 4px 0 0;
  color: var(--estate-muted);
  font-size: .84rem;
  line-height: 1.35;
}

.estate-progress-ring {
  --estate-progress: 0%;
  width: 86px;
  height: 86px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: conic-gradient(var(--estate-primary) var(--estate-progress), #e5e7eb 0);
  position: relative;
}

.estate-progress-ring::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  background: #fff;
}

.estate-progress-ring span,
.estate-progress-ring small {
  position: relative;
  z-index: 1;
  display: block;
}

.estate-progress-ring span {
  margin-top: 9px;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.estate-progress-ring small {
  margin-top: -20px;
  color: var(--estate-muted);
  font-size: .72rem;
  font-weight: 800;
}

.estate-account-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 6px;
  margin: 18px 0 20px;
  padding: 8px;
  border: 1px solid var(--estate-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
}

.estate-account-tab {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  color: var(--estate-text-secondary) !important;
  font-weight: 800;
  text-decoration: none;
}

.estate-account-tab:hover,
.estate-account-tab.is-active {
  color: var(--estate-primary-dark) !important;
  background: color-mix(in srgb, var(--estate-primary) 8%, transparent);
  box-shadow: inset 0 -3px 0 var(--estate-primary);
}

.estate-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.estate-dash-card {
  padding: 22px;
  border: 1px solid var(--estate-border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--estate-card) 94%, transparent);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.estate-dash-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 1.08rem;
}

.estate-dash-card h2 span {
  color: var(--estate-primary);
  font-size: 1.4rem;
}

.estate-dash-card-wide,
.estate-profile-data-card {
  grid-column: span 2;
}

.estate-dashboard-changes {
  width: 100%;
  margin-bottom: 18px;
  border-color: #bdd8e7;
  background: linear-gradient(135deg, #f8fcff 0%, #ffffff 58%, #f4faf7 100%);
}

.estate-dashboard-changes-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.estate-dashboard-changes-head h2 {
  margin: 4px 0 0;
}

.estate-dashboard-plus-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--estate-primary);
  color: #fff;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .05em;
}

.estate-dashboard-change-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.estate-dashboard-change-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: center;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--estate-border);
  border-radius: 14px;
  background: #fff;
  color: var(--estate-text);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.estate-dashboard-change-card:hover,
.estate-dashboard-change-card:focus-visible {
  border-color: var(--estate-primary);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--estate-primary) 12%, transparent);
  transform: translateY(-1px);
}

.estate-dashboard-change-card strong {
  grid-row: 1 / 3;
  min-width: 42px;
  color: var(--estate-primary);
  font-size: 1.65rem;
  line-height: 1;
}

.estate-dashboard-change-card span {
  font-weight: 900;
}

.estate-dashboard-change-card small {
  color: var(--estate-muted);
}

.estate-dashboard-change-card.has-change {
  border-color: #aad8bf;
  background: #f4fbf7;
}

.estate-dashboard-change-card.has-warning {
  border-color: #efd09c;
  background: #fffaf1;
}

.estate-dashboard-change-card-locked {
  background: #f7f9fa;
}

.estate-dashboard-change-card-locked strong {
  font-size: .82rem;
}

.estate-dashboard-no-changes {
  margin: 14px 0 0;
  color: var(--estate-muted);
}

@media (max-width: 860px) {
  .estate-dashboard-change-grid {
    grid-template-columns: 1fr;
  }
}

.estate-section-card {
  width: 100%;
}

.estate-summary-list {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.estate-summary-list div {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 12px;
  align-items: baseline;
}

.estate-summary-list dt {
  color: var(--estate-text);
  font-weight: 800;
}

.estate-summary-list dd {
  margin: 0;
  color: var(--estate-muted);
  text-align: right;
}

.estate-summary-list-two {
  grid-template-columns: 1fr 1fr;
}

.estate-soft-note,
.estate-favorite-spotlight {
  margin: 14px 0 16px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 14%, transparent);
  border-radius: 12px;
  color: var(--estate-primary-dark);
  background: color-mix(in srgb, var(--estate-primary-soft) 70%, var(--estate-card));
  text-align: center;
}

.estate-favorite-spotlight {
  border-color: rgba(245, 158, 11, .26);
  background: linear-gradient(135deg, rgba(255, 251, 235, .92), rgba(255, 255, 255, .94));
}

.estate-heart {
  margin-bottom: 6px;
  color: var(--estate-accent);
  font-size: 2.5rem;
  line-height: 1;
}

.estate-profile-checklist {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.estate-profile-checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--estate-text);
}

.estate-profile-checklist li span {
  color: #94a3b8;
  font-weight: 900;
}

.estate-profile-checklist li.is-done span {
  color: var(--estate-success);
}

.estate-profile-edit-details {
  margin-top: 18px;
}

.estate-profile-edit-details summary {
  width: fit-content;
  cursor: pointer;
  list-style: none;
}

.estate-profile-edit-details summary::-webkit-details-marker {
  display: none;
}

.estate-profile-edit-form {
  margin-top: 18px;
}

.estate-favorite-list-dashboard {
  margin-top: 18px;
}

.estate-empty-state-soft {
  border: 1px dashed color-mix(in srgb, var(--estate-primary) 24%, transparent);
  background: color-mix(in srgb, var(--estate-primary-soft) 54%, var(--estate-card));
}

@media (max-width: 980px) {
  .estate-account-hero {
    grid-template-columns: auto 1fr;
  }
  .estate-profile-status-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    text-align: left;
  }
  .estate-dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .estate-dash-card-wide,
  .estate-profile-data-card {
    grid-column: span 2;
  }
  .estate-account-tabs {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    grid-template-columns: repeat(5, max-content);
    justify-content: start;
  }
  .estate-account-tab {
    padding: 0 16px;
  }
}

@media (max-width: 720px) {
  .estate-account-dashboard {
    padding: 18px;
    border-radius: 24px;
  }
  .estate-account-hero {
    grid-template-columns: 1fr;
    padding: 18px;
    text-align: left;
  }
  .estate-account-avatar {
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
  }
  .estate-account-avatar-stack {
    align-items: flex-start;
    gap: 6px;
  }
  .estate-account-package-badge {
    max-width: 128px;
    padding: 4px 9px;
    font-size: .72rem;
  }
  .estate-account-actions,
  .estate-card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .estate-profile-status-card {
    grid-template-columns: auto 1fr;
  }
  .estate-profile-status-card > strong {
    grid-column: 1 / -1;
  }
  .estate-account-tabs {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-left: -6px;
    margin-right: -6px;
  }
  .estate-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .estate-dash-card-wide,
  .estate-profile-data-card {
    grid-column: auto;
  }
  .estate-summary-list div,
  .estate-summary-list-two {
    grid-template-columns: 1fr;
  }
  .estate-summary-list dd {
    text-align: left;
  }
  .estate-account-tab {
    flex: 0 0 auto;
    min-width: 150px;
    min-height: 46px;
    padding: 0 16px;
    white-space: nowrap;
  }
  .estate-account-tab.is-active {
    color: #fff !important;
    background: var(--estate-primary);
    box-shadow: none;
  }
  .estate-account-tab:focus-visible {
    outline: 3px solid var(--estate-primary-dark);
    outline-offset: 2px;
  }
}

/* Hotfix 1.2.87: My Account security / account deletion */
.estate-danger-zone {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(185, 28, 28, 0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(254, 242, 242, 0.94), rgba(255, 255, 255, 0.96));
  box-shadow: 0 14px 34px rgba(185, 28, 28, 0.08);
}
.estate-danger-zone h3 {
  margin: 0 0 .65rem;
  color: #991b1b;
  font-size: 1.05rem;
}
.estate-danger-zone p {
  margin: .35rem 0;
}
.estate-danger-warning {
  font-weight: 700;
  color: #7f1d1d;
}
.estate-delete-account-form {
  margin-top: 1rem;
  display: grid;
  gap: .85rem;
}
.estate-delete-account-form input,
.estate-delete-account-form textarea {
  width: 100%;
}
.estate-button-danger {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}
.estate-button-danger:hover,
.estate-button-danger:focus {
  background: #991b1b;
  border-color: #991b1b;
  color: #fff;
}

/* Hotfix 1.2.88: reveal account deletion only after explicit first click */
.estate-delete-confirmation {
  margin-top: 1rem;
}
.estate-delete-confirmation > summary {
  display: inline-flex;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.estate-delete-confirmation > summary::-webkit-details-marker {
  display: none;
}
.estate-delete-confirmation-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(185, 28, 28, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}
.estate-realestate-profile-panel .estate-onboarding-form {
  margin-top: 1.25rem;
}
.estate-realestate-profile-panel .estate-onboarding-fieldset {
  background: rgba(248, 250, 252, 0.78);
}

/* Hotfix 1.2.93 immo_ad_manager frontend ad cards */
.immobilien-ad-slot {
    margin: 1.25rem 0;
}
.immobilien-ad-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 1rem;
    align-items: center;
    border: 1px solid rgba(30, 123, 96, 0.22);
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(232, 247, 242, 0.95), rgba(255, 255, 255, 0.94));
    box-shadow: 0 12px 28px rgba(21, 52, 70, 0.08);
    padding: 1rem 1.25rem;
    overflow: hidden;
}
.immobilien-ad-badge,
.immobilien-ad-slot-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(30, 123, 96, 0.12);
    color: #176b55;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.18rem 0.55rem;
}
.immobilien-ad-badge {
    position: absolute;
    top: 0.45rem;
    left: 0.75rem;
}
.immobilien-ad-slot-label {
    position: absolute;
    right: 0.8rem;
    bottom: 0.45rem;
    opacity: 0.75;
}
.immobilien-ad-logo {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 16px;
    background: #f6fbf9;
    border: 1px solid rgba(30, 123, 96, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #176b55;
    font-size: 2.4rem;
    margin-top: 0.8rem;
}
.immobilien-ad-logo img,
.immobilien-ad-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.immobilien-ad-content h3 {
    margin: 0 0 0.25rem;
    color: #1b2a3a;
    font-size: 1.05rem;
}
.immobilien-ad-content p {
    margin: 0.15rem 0;
    color: #607086;
}
.immobilien-ad-subtitle {
    font-weight: 700;
    color: #176b55 !important;
}
.immobilien-ad-image {
    width: 11rem;
    height: 5.5rem;
    opacity: 0.82;
}
.immobilien-ad-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 9rem;
    border-radius: 10px;
    background: #177a62;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    padding: 0.75rem 1rem;
}
@media (max-width: 760px) {
    .immobilien-ad-card {
        grid-template-columns: auto 1fr;
    }
    .immobilien-ad-image,
    .immobilien-ad-button {
        grid-column: 1 / -1;
        width: 100%;
    }
}
.estate-ad-slot {
  margin: 1.5rem 0;
}

.estate-ad-loading .estate-ad-placeholder {
  opacity: .7;
}

.estate-ad-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border: 1px solid rgba(47, 125, 94, .18);
  border-radius: 18px;
  background: linear-gradient(135deg, #f6fbf8 0%, #ffffff 72%);
  box-shadow: 0 10px 26px rgba(27, 72, 54, .08);
  padding: 1.1rem 1.25rem;
  color: #173b2d;
}

.estate-ad-main {
  min-width: 0;
  flex: 1 1 auto;
}

.estate-ad-brandline {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .45rem;
}

.estate-ad-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  background: #e8f4ed;
}

.estate-ad-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--estate-primary);
  font-size: .78rem;
  font-weight: 700;
}

.estate-ad-sponsored {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e8f4ed;
  color: var(--estate-primary);
  font-size: .78rem;
  font-weight: 700;
  padding: .18rem .55rem;
}

.estate-ad-title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
  color: #143629;
}

.estate-ad-subtitle,
.estate-ad-body {
  margin: .32rem 0 0;
  color: #52645b;
  line-height: 1.4;
}

.estate-ad-cta {
  display: inline-flex;
  margin-top: .75rem;
  border-radius: 999px;
  background: var(--estate-primary);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  padding: .52rem .95rem;
}

.estate-ad-media {
  flex: 0 0 170px;
  max-width: 170px;
}

.estate-ad-media img {
  display: block;
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
}

@media (max-width: 760px) {
  .estate-ad-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .estate-ad-media {
    max-width: none;
    width: 100%;
  }
  .estate-ad-media img {
    height: 140px;
  }
}
.estate-ad-slot {
  margin: 1.5rem 0;
}

.estate-ad-loading .estate-ad-placeholder {
  opacity: .7;
}

.estate-ad-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border: 1px solid rgba(47, 125, 94, .18);
  border-radius: 18px;
  background: linear-gradient(135deg, #f6fbf8 0%, #ffffff 72%);
  box-shadow: 0 10px 26px rgba(27, 72, 54, .08);
  padding: 1.1rem 1.25rem;
  color: #173b2d;
}

.estate-ad-main {
  min-width: 0;
  flex: 1 1 auto;
}

.estate-ad-brandline {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .45rem;
}

.estate-ad-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  background: #e8f4ed;
}

.estate-ad-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--estate-primary);
  font-size: .78rem;
  font-weight: 700;
}

.estate-ad-sponsored {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e8f4ed;
  color: var(--estate-primary);
  font-size: .78rem;
  font-weight: 700;
  padding: .18rem .55rem;
}

.estate-ad-title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
  color: #143629;
}

.estate-ad-subtitle,
.estate-ad-body {
  margin: .32rem 0 0;
  color: #52645b;
  line-height: 1.4;
}

.estate-ad-cta {
  display: inline-flex;
  margin-top: .75rem;
  border-radius: 999px;
  background: var(--estate-primary);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  padding: .52rem .95rem;
}

.estate-ad-media {
  flex: 0 0 170px;
  max-width: 170px;
}

.estate-ad-media img {
  display: block;
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
}

@media (max-width: 760px) {
  .estate-ad-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .estate-ad-media {
    max-width: none;
    width: 100%;
  }
  .estate-ad-media img {
    height: 140px;
  }
}

/* Hotfix 1.2.95: map_ad floating placement for the public map. */
.estate-map-ad-slot {
  position: absolute;
  right: 2.1rem;
  bottom: 2.1rem;
  z-index: 8;
  margin: 0;
  width: min(420px, calc(100% - 2rem));
  pointer-events: none;
}

.estate-map-ad-slot.estate-ad-empty,
.estate-map-ad-slot.estate-ad-error,
.estate-map-ad-slot.estate-ad-closed {
  display: none;
}

.estate-map-ad-placeholder {
  display: none;
}

.estate-map-ad-overlay {
  position: relative;
  pointer-events: none;
}

.estate-map-ad-card {
  position: relative;
  pointer-events: auto;
  border: 1px solid rgba(47, 125, 94, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
  padding: 1rem 1rem 1.05rem;
  backdrop-filter: blur(10px);
}

.estate-map-ad-sponsored {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e8f4ed;
  color: var(--estate-primary);
  font-size: .76rem;
  font-weight: 800;
  padding: .18rem .62rem;
  margin-bottom: .7rem;
}

.estate-ad-close {
  position: absolute;
  right: .82rem;
  top: .68rem;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5b6b63;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.estate-ad-close:hover,
.estate-ad-close:focus {
  background: #eef5f1;
  color: #123b2b;
  outline: none;
}

.estate-map-ad-content {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.estate-map-ad-logo-wrap .estate-ad-logo {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  border: 1px solid rgba(47, 125, 94, .18);
  background: #f5faf7;
  color: var(--estate-primary);
  font-size: 2.4rem;
}

.estate-map-ad-logo-wrap .estate-ad-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.estate-map-ad-title {
  margin: 0;
  color: #142336;
  font-size: 1.16rem;
  line-height: 1.22;
  font-weight: 850;
}

.estate-map-ad-subtitle,
.estate-map-ad-body {
  margin: .34rem 0 0;
  color: #536575;
  line-height: 1.38;
  font-size: .9rem;
}

.estate-map-ad-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .78rem;
  min-width: 176px;
  border-radius: 10px;
  background: var(--estate-primary);
  color: #fff !important;
  text-decoration: none;
  font-weight: 850;
  padding: .62rem 1.1rem;
}

.estate-map-ad-cta:hover,
.estate-map-ad-cta:focus {
  background: var(--estate-primary-dark);
  text-decoration: none;
}

.estate-map-ad-partner-pin {
  position: absolute;
  right: calc(100% + 5.2rem);
  bottom: calc(100% + 4.1rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .28rem;
  filter: drop-shadow(0 8px 18px rgba(15, 23, 42, .22));
}

.estate-map-ad-pin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  color: var(--estate-primary);
  font-size: 1.35rem;
  font-weight: 800;
}

.estate-map-ad-pin-label {
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-size: .78rem;
  font-weight: 800;
  padding: .22rem .48rem;
}

.estate-map-ad-partner-pin::after {
  content: "";
  position: absolute;
  left: calc(100% + .2rem);
  top: 56px;
  width: 82px;
  height: 38px;
  border-bottom: 2px dashed rgba(33, 117, 90, .55);
  border-right: 2px dashed rgba(33, 117, 90, .55);
  transform: rotate(14deg);
  border-radius: 0 0 18px 0;
}

@media (max-width: 980px) {
  .estate-map-ad-slot {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
  }

  .estate-map-ad-partner-pin {
    display: none;
  }
}

@media (max-width: 640px) {
  .estate-map-ad-content {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: .75rem;
  }

  .estate-map-ad-logo-wrap .estate-ad-logo {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    font-size: 1.75rem;
  }

  .estate-map-ad-title {
    font-size: 1rem;
  }

  .estate-map-ad-body {
    display: none;
  }

  .estate-map-ad-cta {
    min-width: 0;
    padding: .52rem .9rem;
  }
}
.estate-ad-slot {
  margin: 1.5rem 0;
}

.estate-ad-loading .estate-ad-placeholder {
  opacity: .7;
}

.estate-ad-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border: 1px solid rgba(47, 125, 94, .18);
  border-radius: 18px;
  background: linear-gradient(135deg, #f6fbf8 0%, #ffffff 72%);
  box-shadow: 0 10px 26px rgba(27, 72, 54, .08);
  padding: 1.1rem 1.25rem;
  color: #173b2d;
}

.estate-ad-main {
  min-width: 0;
  flex: 1 1 auto;
}

.estate-ad-brandline {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .45rem;
}

.estate-ad-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  background: #e8f4ed;
}

.estate-ad-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--estate-primary);
  font-size: .78rem;
  font-weight: 700;
}

.estate-ad-sponsored {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e8f4ed;
  color: var(--estate-primary);
  font-size: .78rem;
  font-weight: 700;
  padding: .18rem .55rem;
}

.estate-ad-title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
  color: #143629;
}

.estate-ad-subtitle,
.estate-ad-body {
  margin: .32rem 0 0;
  color: #52645b;
  line-height: 1.4;
}

.estate-ad-cta {
  display: inline-flex;
  margin-top: .75rem;
  border-radius: 999px;
  background: var(--estate-primary);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  padding: .52rem .95rem;
}

.estate-ad-media {
  flex: 0 0 170px;
  max-width: 170px;
}

.estate-ad-media img {
  display: block;
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
}

@media (max-width: 760px) {
  .estate-ad-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .estate-ad-media {
    max-width: none;
    width: 100%;
  }
  .estate-ad-media img {
    height: 140px;
  }
}

/* Hotfix 1.2.95: map_ad floating placement for the public map. */
.estate-map-ad-slot {
  position: absolute;
  right: 2.1rem;
  bottom: 2.1rem;
  z-index: 8;
  margin: 0;
  width: min(420px, calc(100% - 2rem));
  pointer-events: none;
}

.estate-map-ad-slot.estate-ad-empty,
.estate-map-ad-slot.estate-ad-error,
.estate-map-ad-slot.estate-ad-closed {
  display: none;
}

.estate-map-ad-placeholder {
  display: none;
}

.estate-map-ad-overlay {
  position: relative;
  pointer-events: none;
}

.estate-map-ad-card {
  position: relative;
  pointer-events: auto;
  border: 1px solid rgba(47, 125, 94, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
  padding: 1rem 1rem 1.05rem;
  backdrop-filter: blur(10px);
}

.estate-map-ad-sponsored {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e8f4ed;
  color: var(--estate-primary);
  font-size: .76rem;
  font-weight: 800;
  padding: .18rem .62rem;
  margin-bottom: .7rem;
}

.estate-ad-close {
  position: absolute;
  right: .82rem;
  top: .68rem;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5b6b63;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.estate-ad-close:hover,
.estate-ad-close:focus {
  background: #eef5f1;
  color: #123b2b;
  outline: none;
}

.estate-map-ad-content {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.estate-map-ad-logo-wrap .estate-ad-logo {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  border: 1px solid rgba(47, 125, 94, .18);
  background: #f5faf7;
  color: var(--estate-primary);
  font-size: 2.4rem;
}

.estate-map-ad-logo-wrap .estate-ad-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.estate-map-ad-title {
  margin: 0;
  color: #142336;
  font-size: 1.16rem;
  line-height: 1.22;
  font-weight: 850;
}

.estate-map-ad-subtitle,
.estate-map-ad-body {
  margin: .34rem 0 0;
  color: #536575;
  line-height: 1.38;
  font-size: .9rem;
}

.estate-map-ad-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .78rem;
  min-width: 176px;
  border-radius: 10px;
  background: var(--estate-primary);
  color: #fff !important;
  text-decoration: none;
  font-weight: 850;
  padding: .62rem 1.1rem;
}

.estate-map-ad-cta:hover,
.estate-map-ad-cta:focus {
  background: var(--estate-primary-dark);
  text-decoration: none;
}

.estate-map-ad-partner-pin {
  position: absolute;
  right: calc(100% + 5.2rem);
  bottom: calc(100% + 4.1rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .28rem;
  filter: drop-shadow(0 8px 18px rgba(15, 23, 42, .22));
}

.estate-map-ad-pin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  color: var(--estate-primary);
  font-size: 1.35rem;
  font-weight: 800;
}

.estate-map-ad-pin-label {
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-size: .78rem;
  font-weight: 800;
  padding: .22rem .48rem;
}

.estate-map-ad-partner-pin::after {
  content: "";
  position: absolute;
  left: calc(100% + .2rem);
  top: 56px;
  width: 82px;
  height: 38px;
  border-bottom: 2px dashed rgba(33, 117, 90, .55);
  border-right: 2px dashed rgba(33, 117, 90, .55);
  transform: rotate(14deg);
  border-radius: 0 0 18px 0;
}

@media (max-width: 980px) {
  .estate-map-ad-slot {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
  }

  .estate-map-ad-partner-pin {
    display: none;
  }
}

@media (max-width: 640px) {
  .estate-map-ad-content {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: .75rem;
  }

  .estate-map-ad-logo-wrap .estate-ad-logo {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    font-size: 1.75rem;
  }

  .estate-map-ad-title {
    font-size: 1rem;
  }

  .estate-map-ad-body {
    display: none;
  }

  .estate-map-ad-cta {
    min-width: 0;
    padding: .52rem .9rem;
  }
}

/* Hotfix 1.2.97: geo-positioned map_ad partner markers with SVG stickers. */
.estate-map-ad-location-marker {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  filter: drop-shadow(0 8px 18px rgba(15, 23, 42, .24));
}

.estate-map-ad-location-marker-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  color: var(--estate-primary);
  font-size: 1.25rem;
  font-weight: 850;
  overflow: hidden;
}

.estate-map-ad-location-marker-inner img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.estate-map-ad-location-marker-label {
  display: inline-flex;
  border-radius: 999px;
  background: #fff;
  color: #1f2937;
  font-size: .76rem;
  font-weight: 850;
  line-height: 1;
  padding: .28rem .52rem;
  white-space: nowrap;
}

.estate-map-ad-location-marker:hover .estate-map-ad-location-marker-inner,
.estate-map-ad-location-marker:focus .estate-map-ad-location-marker-inner {
  outline: 3px solid rgba(33, 117, 90, .25);
}


/* Hotfix 1.3.20: reusable package / upgrade cards for My Account. */
.estate-upgrade-section .estate-section-head {
  margin-bottom: 18px;
}

.estate-package-highlight-grid,
.estate-package-mini-grid {
  display: grid;
  gap: 18px;
}

.estate-package-highlight-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.estate-package-mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.estate-package-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

.estate-package-card-recommended {
  border-color: rgba(37, 99, 235, .28);
  box-shadow: 0 20px 48px rgba(37, 99, 235, .12);
}

.estate-package-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 15px;
  border-bottom-left-radius: 16px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
}

.estate-package-badge-free {
  background: #e5e7eb;
  color: #374151;
}

.estate-package-badge-pro {
  background: #dbeafe;
  color: #1d4ed8;
}

.estate-package-badge-business {
  background: #ffedd5;
  color: #c2410c;
}

.estate-package-badge-enterprise {
  background: #dcfce7;
  color: #166534;
}

.estate-package-state {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--estate-primary) 10%, transparent);
  color: var(--estate-primary-dark);
  font-size: .78rem;
  font-weight: 900;
}

.estate-package-state-recommended {
  background: rgba(37, 99, 235, .10);
  color: #1d4ed8;
}

.estate-package-card h3 {
  margin: 0 70px 8px 0;
  font-size: 1.25rem;
  letter-spacing: -.02em;
}

.estate-package-price {
  display: block;
  margin-bottom: 10px;
  color: var(--estate-primary-dark);
  font-size: 1.05rem;
}

.estate-package-card p {
  min-height: 44px;
  margin: 0 0 16px;
  color: var(--estate-muted);
  line-height: 1.55;
}

.estate-package-features {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.estate-package-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #334155;
  font-weight: 700;
  line-height: 1.35;
}

.estate-package-features li span {
  color: var(--estate-primary);
  font-weight: 900;
}

.estate-package-cta {
  margin-top: 18px;
  width: 100%;
}

.estate-package-list-head {
  margin-top: 26px;
}

.estate-package-list-head h3 {
  margin: 0 0 6px;
}

.estate-package-card-compact {
  padding: 20px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.estate-package-card-compact p {
  min-height: 0;
}

@media (max-width: 900px) {
  .estate-package-highlight-grid,
  .estate-package-mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .estate-account-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .estate-package-card {
    padding: 20px;
  }
}

/* Hotfix 1.3.40: selected map ad marker is visually linked to the visible ad box. */
.estate-map-ad-location-marker-active .estate-map-ad-location-marker-inner,
.estate-map-ad-location-marker-active:focus .estate-map-ad-location-marker-inner {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 0 0 4px rgba(15, 107, 82, 0.18), 0 12px 30px rgba(15, 23, 42, 0.24);
}

/* Hotfix 1.3.41: explicit map_ad interaction model.
   Pin selects/focuses the box, box zooms to the pin, CTA opens the external/tracked URL. */
.estate-map-ad-partner-pin,
.estate-map-ad-partner-pin::after {
  display: none !important;
}

.estate-map-ad-card[role="button"] {
  cursor: zoom-in;
}

.estate-map-ad-card[role="button"] .estate-map-ad-cta,
.estate-map-ad-card[role="button"] .estate-ad-close {
  cursor: pointer;
}

.estate-map-ad-card:focus,
.estate-map-ad-card-focus {
  outline: 3px solid rgba(32, 199, 226, .32);
  outline-offset: 3px;
}

.estate-map-ad-location-marker-active .estate-map-ad-location-marker-label {
  background: #123b2b;
  color: #fff;
}

.estate-map-ad-location-marker-has-svg .estate-map-ad-location-marker-inner {
  width: 52px;
  height: 64px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.estate-map-ad-location-marker-has-svg .estate-map-ad-location-marker-inner img {
  width: 52px;
  height: 64px;
  object-fit: contain;
}

/* Hotfix 1.3.45: render dynamic backend SVG marker pins through the public marker API. */
.estate-map-ad-location-marker-has-svg .estate-map-ad-location-marker-inner::after {
  display: none;
}

/* Hotfix 1.3.47: frontend viewing/inspection assistant. */
.estate-inspection-section .estate-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.estate-inspection-list,
.estate-inspection-questions,
.estate-inspection-favorite-grid {
  display: grid;
  gap: 14px;
}

.estate-inspection-item,
.estate-inspection-favorite-card,
.estate-inspection-object-card,
.estate-inspection-question {
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.estate-inspection-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.estate-inspection-item strong,
.estate-inspection-favorite-card strong,
.estate-inspection-object-card strong,
.estate-inspection-question strong {
  display: block;
  color: #10231c;
}

.estate-inspection-item span,
.estate-inspection-favorite-card span,
.estate-inspection-object-card small,
.estate-inspection-item small {
  display: block;
  color: #64748b;
  margin-top: 4px;
}

.estate-inspection-favorite-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 12px;
}

.estate-inspection-favorite-card {
  text-decoration: none;
  color: inherit;
}

.estate-inspection-favorite-card:hover {
  transform: translateY(-1px);
}

.estate-inspection-object-card {
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(15, 107, 82, .08), rgba(32, 199, 226, .08));
}

.estate-inspection-form {
  margin-bottom: 24px;
}

.estate-inspection-question {
  display: grid;
  gap: 12px;
}

.estate-inspection-answer-form {
  display: grid;
  gap: 12px;
  margin: 0;
}

.estate-favorite-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .estate-inspection-section .estate-section-head,
  .estate-inspection-item {
    display: grid;
  }
  .estate-favorite-actions {
    justify-content: flex-start;
  }
}

/* Hotfix 1.3.51: grouped viewing assistant questions and asking technique info. */
.estate-inspection-category-group {
  border: 1px solid rgba(15, 107, 82, .14);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15, 107, 82, .045), rgba(255, 255, 255, .95));
  padding: 14px;
  display: grid;
  gap: 12px;
}

.estate-inspection-category-title {
  margin: 0 0 2px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--estate-primary);
  letter-spacing: -.01em;
}

.estate-inspection-question-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.estate-inspection-answer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.estate-inspection-question-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.estate-inspection-info {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(15, 107, 82, .10);
  border: 1px solid rgba(15, 107, 82, .24);
  color: var(--estate-primary);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
  cursor: help;
}

.estate-inspection-info-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  width: min(320px, 76vw);
  display: none;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: #fff;
  color: #334155;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .16);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
}

.estate-inspection-heading-with-info,
.estate-inspection-legend-with-info,
.estate-inspection-status-with-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.estate-inspection-legend-with-info {
  width: 100%;
  margin-bottom: 8px;
}

.estate-inspection-htmlinfo {
  width: 22px;
  height: 22px;
  font-size: .78rem;
}

.estate-inspection-htmlinfo-popover {
  width: min(360px, 82vw);
  max-height: min(360px, 70vh);
  overflow: auto;
  white-space: normal;
}

.estate-inspection-info-note {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 18%, transparent);
  background: color-mix(in srgb, var(--estate-primary-soft) 72%, var(--estate-card));
  color: #0f172a;
  font-size: .92rem;
  line-height: 1.45;
}

.estate-inspection-info-note strong {
  color: var(--estate-primary-dark);
}

.estate-inspection-question-selection-note {
  margin: 0 0 14px;
}


.estate-inspection-help-details {
  margin-top: 10px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 16%, transparent);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  color: #0f172a;
  overflow: hidden;
}

.estate-inspection-help-details > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--estate-primary-dark);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.estate-inspection-help-details > summary::-webkit-details-marker {
  display: none;
}

.estate-inspection-help-details > summary::after {
  content: '+';
  margin-left: auto;
  font-weight: 900;
}

.estate-inspection-help-details[open] > summary::after {
  content: '–';
}

.estate-inspection-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(15, 107, 82, .22);
  background: rgba(15, 107, 82, .08);
  color: var(--estate-primary);
  font-size: .78rem;
  line-height: 1;
}

.estate-inspection-help-details-body {
  padding: 0 12px 12px 42px;
  color: #334155;
  font-size: .9rem;
  line-height: 1.5;
}

.estate-inspection-question-selection-note .estate-inspection-help-details {
  grid-column: 1 / -1;
  margin-top: 8px;
  background: rgba(255, 255, 255, .64);
}

.estate-inspection-answer-quality-help {
  margin-top: 8px;
  background: rgba(248, 250, 252, .84);
}

.estate-inspection-answer-quality-help > summary {
  padding: 8px 10px;
  font-size: .86rem;
}

.estate-inspection-answer-quality-help .estate-inspection-help-details-body {
  padding: 0 10px 10px 38px;
  font-size: .84rem;
}

.estate-inspection-info:hover .estate-inspection-info-popover,
.estate-inspection-info:focus .estate-inspection-info-popover,
.estate-inspection-info:focus-within .estate-inspection-info-popover {
  display: block;
}

@media (max-width: 720px) {
  .estate-inspection-category-group {
    padding: 12px;
  }

  .estate-inspection-answer-grid {
    grid-template-columns: 1fr;
  }

  .estate-inspection-info-popover {
    right: -4px;
    width: min(300px, 82vw);
  }
}

/* Hotfix 1.3.57: smartphone-first UX for the viewing assistant. */
.estate-inspection-mode-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.estate-inspection-mode-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon title" "icon hint";
  gap: 3px 10px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(15, 107, 82, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  color: #334155;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.estate-inspection-mode-card:hover,
.estate-inspection-mode-card:focus {
  transform: translateY(-1px);
  border-color: rgba(15, 107, 82, .34);
}

.estate-inspection-mode-card.is-active {
  background: linear-gradient(135deg, rgba(15, 107, 82, .12), rgba(32, 199, 226, .10));
  border-color: rgba(15, 107, 82, .55);
  color: var(--estate-primary-dark);
  box-shadow: inset 0 -3px 0 #0f7f6f, 0 14px 30px rgba(15, 107, 82, .12);
}

.estate-inspection-mode-icon {
  grid-area: icon;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 107, 82, .10);
  font-size: 1.05rem;
}

.estate-inspection-mode-card strong {
  grid-area: title;
  font-size: .98rem;
  line-height: 1.15;
}

.estate-inspection-mode-card small {
  grid-area: hint;
  color: #64748b;
  line-height: 1.25;
}

.estate-inspection-panel {
  margin-top: 12px;
}

.estate-inspection-progress-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}

.estate-inspection-progress-strip span,
.estate-inspection-summary-grid article {
  border: 1px solid rgba(15, 107, 82, .14);
  border-radius: 16px;
  background: rgba(15, 107, 82, .06);
  color: var(--estate-primary-dark);
  padding: 10px 12px;
  font-weight: 750;
}

.estate-inspection-category-group {
  overflow: visible;
}

.estate-inspection-category-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.estate-inspection-category-title::-webkit-details-marker {
  display: none;
}

.estate-inspection-category-title::after {
  content: "⌄";
  color: #64748b;
  font-size: .95rem;
}

.estate-inspection-category-group[open] .estate-inspection-category-title::after {
  transform: rotate(180deg);
}

.estate-inspection-category-title small {
  border-radius: 999px;
  background: rgba(15, 107, 82, .10);
  color: var(--estate-primary);
  padding: 4px 9px;
  font-size: .78rem;
}

.estate-inspection-category-body {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.estate-inspection-chip-field {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.estate-inspection-chip-field legend {
  font-weight: 750;
  margin-bottom: 8px;
  color: #334155;
}

.estate-inspection-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.estate-inspection-chip {
  cursor: pointer;
  min-width: 0;
}

.estate-inspection-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.estate-inspection-chip-body {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 14px;
  background: #fff;
  color: #334155;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .04);
}

.estate-inspection-chip-body b {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(15, 107, 82, .08);
  color: var(--estate-primary);
}

.estate-inspection-chip input:checked + .estate-inspection-chip-body {
  border-color: rgba(15, 107, 82, .55);
  background: rgba(15, 107, 82, .08);
  color: var(--estate-primary-dark);
  box-shadow: inset 0 0 0 1px rgba(15, 107, 82, .18), 0 10px 20px rgba(15, 107, 82, .08);
}

.estate-inspection-quality-evasive input:checked + .estate-inspection-chip-body {
  border-color: rgba(194, 120, 3, .45);
  background: rgba(194, 120, 3, .08);
  color: #7c4a03;
}

.estate-inspection-note-toggle {
  border: 1px dashed rgba(15, 107, 82, .22);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(15, 107, 82, .035);
}

.estate-inspection-note-toggle summary {
  cursor: pointer;
  font-weight: 750;
  color: var(--estate-primary);
}

.estate-inspection-note-toggle label {
  margin-top: 10px;
}

.estate-inspection-note-toggle textarea,
.estate-inspection-notes-panel textarea,
.estate-inspection-form textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
}

.estate-inspection-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.estate-inspection-summary-grid article {
  display: grid;
  gap: 4px;
}

.estate-inspection-summary-grid article strong {
  font-size: 1.55rem;
  color: var(--estate-primary-dark);
}

.estate-inspection-summary-grid article.is-warning {
  border-color: rgba(194, 120, 3, .28);
  background: rgba(194, 120, 3, .08);
  color: #7c4a03;
}

@media (max-width: 760px) {
  .estate-inspection-mode-switch,
  .estate-inspection-summary-grid {
    grid-template-columns: 1fr;
  }

  .estate-inspection-mode-card {
    padding: 13px 14px;
  }

  .estate-inspection-chip-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .estate-inspection-quality-chip-row {
    grid-template-columns: 1fr;
  }

  .estate-inspection-chip-body {
    width: 100%;
    justify-content: flex-start;
  }

  .estate-inspection-question {
    padding: 14px;
  }
}

/* Hotfix 1.3.64: inspection source/cache/save status indicators. */
.estate-inspection-sync-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 18px;
  padding: 10px 12px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 14px;
  background: rgba(236, 253, 245, 0.7);
  font-size: 0.9rem;
}

.estate-inspection-sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  font-weight: 750;
  color: var(--estate-text);
  white-space: nowrap;
}

.estate-inspection-sync-pill[data-sync-state="cache"],
.estate-inspection-sync-pill[data-sync-state="pending"] {
  border-color: rgba(217, 119, 6, 0.28);
  background: rgba(255, 251, 235, 0.96);
}

.estate-inspection-sync-pill[data-sync-state="saved"],
.estate-inspection-sync-pill[data-sync-state="server"],
.estate-inspection-sync-pill[data-sync-state="synced"] {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(240, 253, 244, 0.98);
}

.estate-inspection-sync-pill[data-sync-state="cache-unavailable"] {
  border-color: rgba(100, 116, 139, 0.3);
  background: rgba(248, 250, 252, 0.98);
}

.estate-inspection-sync-help {
  color: var(--estate-muted);
  font-size: 0.84rem;
}

.estate-inspection-question.is-cache-restored {
  border-color: rgba(217, 119, 6, 0.34);
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.16);
}

.estate-inspection-question.is-sync-pending {
  border-color: rgba(37, 99, 235, 0.3);
}

@media (max-width: 640px) {
  .estate-inspection-sync-strip {
    align-items: flex-start;
  }
  .estate-inspection-sync-help {
    flex-basis: 100%;
  }
}


/* Hotfix 1.3.65: focus mode for the viewing assistant.
   The account hero and full account navigation are intentionally replaced by
   a compact workbar while the user is inside the inspection assistant. */
.estate-inspection-focus-dashboard {
  padding-top: 0;
}

.estate-inspection-focusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 16%, transparent);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.estate-inspection-focusbar-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.estate-inspection-focusbar-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--estate-primary) 10%, transparent);
  color: var(--estate-primary-dark);
  font-weight: 900;
}

.estate-inspection-focusbar-title strong {
  display: block;
  color: var(--estate-text);
  font-size: 1rem;
  line-height: 1.2;
}

.estate-inspection-focusbar-title small {
  display: block;
  max-width: 620px;
  overflow: hidden;
  color: var(--estate-muted);
  font-size: .82rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-inspection-focusbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.estate-inspection-focusbar-actions a {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  color: #334155 !important;
  font-weight: 900;
  text-decoration: none;
}

.estate-inspection-focusbar-actions a:hover,
.estate-inspection-focusbar-actions a:focus {
  border-color: color-mix(in srgb, var(--estate-primary) 38%, transparent);
  color: var(--estate-primary-dark) !important;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--estate-primary) 12%, transparent);
}

.estate-inspection-focus-dashboard .estate-section-card {
  margin-top: 0;
}

.estate-inspection-focus-dashboard .estate-inspection-section {
  padding-top: 18px;
}

.estate-inspection-workbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
}

.estate-inspection-workbar-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.estate-inspection-workbar-main > span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--estate-primary) 10%, transparent);
  color: var(--estate-primary-dark);
  font-weight: 900;
}

.estate-inspection-workbar-main strong {
  display: block;
  color: var(--estate-text);
  font-size: 1.05rem;
  line-height: 1.2;
}

.estate-inspection-workbar-main small {
  display: block;
  max-width: 680px;
  overflow: hidden;
  color: var(--estate-muted);
  font-size: .86rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-inspection-sync-strip-compact {
  margin-bottom: 14px;
  padding: 9px 12px;
}

@media (min-width: 781px) {
  .estate-inspection-focus-dashboard {
    width: min(1120px, 100%);
  }
}

@media (max-width: 780px) {
  .estate-inspection-focusbar,
  .estate-inspection-workbar {
    align-items: stretch;
    flex-direction: column;
  }

  .estate-inspection-focusbar-title small,
  .estate-inspection-workbar-main small {
    max-width: 100%;
    white-space: normal;
  }

  .estate-inspection-focusbar-actions {
    justify-content: space-between;
  }

  .estate-inspection-focusbar-actions a {
    flex: 1 1 42px;
    min-width: 42px;
  }

  .estate-inspection-workbar .estate-mini-button {
    width: 100%;
    justify-content: center;
  }
}

/* Hotfix 1.3.66 - Inspection compact workbar and private question tools */
.estate-inspection-workbar-compact {
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 14%, transparent);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
}

.estate-inspection-workbar-compact .estate-inspection-workbar-main {
  flex: 1 1 360px;
  flex-wrap: wrap;
  gap: 8px;
}

.estate-inspection-workbar-sync {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 1 auto;
  flex-wrap: wrap;
}

.estate-inspection-back-mini {
  font-weight: 900;
}

.estate-mini-button.is-active {
  border-color: color-mix(in srgb, var(--estate-primary) 55%, transparent);
  background: color-mix(in srgb, var(--estate-primary) 11%, transparent);
  color: var(--estate-primary-dark) !important;
  box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--estate-primary) 55%, transparent);
}

.estate-inspection-custom-question-box {
  margin: 0 0 12px;
  border: 1px dashed color-mix(in srgb, var(--estate-primary) 30%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--estate-primary-soft) 52%, var(--estate-card));
}

.estate-inspection-custom-question-box > summary {
  cursor: pointer;
  padding: 10px 12px;
  color: var(--estate-primary-dark);
  font-weight: 900;
}

.estate-inspection-custom-question-form {
  padding: 0 12px 12px;
}

.estate-inspection-question-title-row {
  gap: 10px;
}

.estate-inspection-question-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
  flex-wrap: wrap;
}

.estate-inspection-inline-editor {
  position: relative;
  display: inline-block;
}

.estate-inspection-inline-editor > summary,
.estate-inspection-tool-form button {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 18%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  color: var(--estate-primary-dark);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.estate-inspection-inline-editor > summary::-webkit-details-marker {
  display: none;
}

.estate-inspection-inline-editor[open] > summary,
.estate-inspection-tool-form button:hover,
.estate-inspection-tool-form button:focus {
  border-color: color-mix(in srgb, var(--estate-primary) 45%, transparent);
  background: color-mix(in srgb, var(--estate-primary) 10%, transparent);
}

.estate-inspection-inline-editor form {
  position: absolute;
  right: 0;
  z-index: 20;
  width: min(420px, 82vw);
  margin-top: 8px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 18%, transparent);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .16);
}

.estate-inspection-inline-editor textarea,
.estate-inspection-custom-question-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, .16);
  border-radius: 12px;
  font: inherit;
}

.estate-inspection-tool-form {
  display: inline-flex;
  margin: 0;
}

@media (max-width: 780px) {
  .estate-inspection-workbar-compact {
    gap: 8px;
  }
  .estate-inspection-workbar-sync {
    justify-content: flex-start;
  }
  .estate-inspection-inline-editor form {
    left: auto;
    right: -12px;
    width: min(330px, 86vw);
  }
  .estate-inspection-question-tools {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
}

/* Hotfix 1.3.67 - Inspection assistant implementation of compact desktop/mobile UX mockup. */
.estate-inspection-detail-dashboard {
  width: min(1320px, 100%);
}

.estate-inspection-detail-dashboard .estate-inspection-focusbar {
  display: none;
}

.estate-inspection-detail-dashboard .estate-inspection-section {
  padding: 0 0 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.estate-inspection-workbar-product {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) minmax(320px, auto) auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 0;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.estate-inspection-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, .11);
  border-radius: 12px;
  background: #fff;
  color: var(--estate-primary-dark) !important;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.estate-inspection-back-button:hover,
.estate-inspection-back-button:focus {
  border-color: color-mix(in srgb, var(--estate-primary) 38%, transparent);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--estate-primary) 10%, transparent);
}

.estate-inspection-workbar-property,
.estate-inspection-workbar-overview-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.estate-inspection-workbar-property-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--estate-primary) 10%, transparent);
  color: var(--estate-primary-dark);
}

.estate-inspection-workbar-property strong,
.estate-inspection-workbar-overview-title strong {
  display: block;
  overflow: hidden;
  max-width: 520px;
  color: var(--estate-text);
  font-size: .98rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-inspection-workbar-property small,
.estate-inspection-workbar-overview-title small {
  display: block;
  color: var(--estate-muted);
  font-size: .83rem;
  line-height: 1.2;
}

.estate-inspection-mode-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 13px;
  background: #fff;
}

.estate-inspection-mode-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  color: #334155 !important;
  font-weight: 800;
  text-decoration: none;
  border-right: 1px solid rgba(15, 23, 42, .08);
}

.estate-inspection-mode-tab:last-child {
  border-right: 0;
}

.estate-inspection-mode-tab.is-active {
  background: linear-gradient(135deg, color-mix(in srgb, var(--estate-primary) 14%, transparent), rgba(32, 199, 226, .10));
  color: var(--estate-primary-dark) !important;
  box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--estate-primary) 42%, transparent);
}

.estate-inspection-workbar-product .estate-inspection-workbar-sync {
  justify-content: flex-end;
  gap: 8px;
}

.estate-inspection-object-card-inline {
  display: none;
}

.estate-inspection-status-strip {
  align-items: center;
  margin: 0 0 18px;
  gap: 10px;
}

.estate-inspection-status-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border-color: rgba(15, 23, 42, .10);
  background: rgba(255, 255, 255, .94);
  color: #334155;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .035);
}

.estate-inspection-status-strip span:first-child,
.estate-inspection-status-strip span:nth-child(2) {
  border-color: color-mix(in srgb, var(--estate-primary) 18%, transparent);
  background: color-mix(in srgb, var(--estate-primary-soft) 88%, var(--estate-card));
  color: var(--estate-primary-dark);
}

.estate-inspection-detail-dashboard .estate-inspection-questions {
  gap: 12px;
}

.estate-inspection-detail-dashboard .estate-inspection-category-group {
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.estate-inspection-detail-dashboard .estate-inspection-category-title {
  min-height: 58px;
  margin: 0;
  padding: 0 18px;
  color: var(--estate-text);
  border-bottom: 1px solid rgba(15, 23, 42, .07);
}

.estate-inspection-category-title span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.estate-inspection-category-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--estate-primary) 10%, transparent);
  color: var(--estate-primary-dark);
  font-size: 1rem;
}

.estate-inspection-detail-dashboard .estate-inspection-category-title small {
  margin-left: auto;
  margin-right: 18px;
  padding: 5px 10px;
  background: color-mix(in srgb, var(--estate-primary) 11%, transparent);
}

.estate-inspection-detail-dashboard .estate-inspection-category-body {
  padding: 12px;
  margin-top: 0;
}

.estate-inspection-detail-dashboard .estate-inspection-custom-question-box {
  margin: 0 0 10px;
  background: rgba(255,255,255,.7);
}

.estate-inspection-detail-dashboard .estate-inspection-custom-question-box > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 18px;
  font-size: .94rem;
}

.estate-inspection-detail-dashboard .estate-inspection-question {
  position: relative;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(15, 23, 42, .045);
}

.estate-inspection-detail-dashboard .estate-inspection-answer-form {
  gap: 14px;
}

.estate-inspection-detail-dashboard .estate-inspection-question-title-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.estate-inspection-question-number {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--estate-primary) 10%, transparent);
  color: var(--estate-primary-dark);
  font-weight: 900;
}

.estate-inspection-detail-dashboard .estate-inspection-question-title-row strong {
  min-width: 0;
  width: 100%;
  font-size: 1.06rem;
  line-height: 1.35;
}

.estate-inspection-detail-dashboard .estate-inspection-question-tools {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: flex-end;
  gap: 8px;
  margin-left: 0;
  padding-top: 2px;
}

.estate-inspection-detail-dashboard .estate-inspection-inline-editor > summary,
.estate-inspection-detail-dashboard .estate-inspection-tool-form button,
.estate-inspection-detail-dashboard .estate-inspection-info {
  width: auto;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  gap: 6px;
  border-radius: 12px;
  color: #334155;
}

.estate-inspection-detail-dashboard .estate-inspection-info {
  padding: 0;
  width: 34px;
}

.estate-inspection-detail-dashboard .estate-inspection-tool-form button span,
.estate-inspection-detail-dashboard .estate-inspection-inline-editor > summary span {
  font-size: .86rem;
  font-weight: 800;
}

.estate-inspection-detail-dashboard .estate-inspection-answer-grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
  gap: 26px;
}

.estate-inspection-detail-dashboard .estate-inspection-chip-body {
  min-height: 38px;
  padding: 7px 11px;
  border-radius: 12px;
}

.estate-inspection-detail-dashboard .estate-inspection-note-toggle {
  border-style: solid;
  border-color: rgba(15, 23, 42, .10);
  background: rgba(248, 250, 252, .88);
}

.estate-inspection-detail-dashboard .estate-inspection-question-actions {
  margin-top: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(15, 23, 42, .06);
}

@media (max-width: 1040px) {
  .estate-inspection-workbar-product {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .estate-inspection-mode-tabs,
  .estate-inspection-workbar-product .estate-inspection-workbar-sync {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
  .estate-inspection-workbar-product .estate-inspection-workbar-sync {
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  .estate-inspection-detail-dashboard {
    width: min(100%, 560px);
  }
  .estate-inspection-detail-dashboard .estate-inspection-section {
    padding: 0;
  }
  .estate-inspection-workbar-product {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    border-radius: 0 0 18px 18px;
    padding: 12px;
  }
  .estate-inspection-back-button {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 14px;
    font-size: 1.35rem;
  }
  .estate-inspection-back-button span {
    display: none;
  }
  .estate-inspection-workbar-property {
    align-items: flex-start;
  }
  .estate-inspection-workbar-property-icon {
    display: none;
  }
  .estate-inspection-workbar-property strong {
    max-width: 100%;
    white-space: normal;
    font-size: 1.25rem;
    line-height: 1.18;
  }
  .estate-inspection-workbar-sync {
    position: absolute;
    right: 18px;
    top: 16px;
  }
  .estate-inspection-workbar-sync .is-source {
    display: none;
  }
  .estate-inspection-sync-pill {
    min-height: 34px;
  }
  .estate-inspection-mode-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .estate-inspection-mode-tab {
    min-height: 52px;
    padding: 0 8px;
    font-size: .96rem;
  }
  .estate-inspection-status-strip {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
  }
  .estate-inspection-status-strip span {
    justify-content: center;
  }
  .estate-inspection-status-strip span:nth-child(n+4) {
    display: none;
  }
  .estate-inspection-detail-dashboard .estate-inspection-category-title {
    min-height: 66px;
    padding: 0 14px;
    font-size: 1.06rem;
  }
  .estate-inspection-detail-dashboard .estate-inspection-category-body {
    padding: 12px;
  }
  .estate-inspection-detail-dashboard .estate-inspection-question {
    padding: 14px;
  }
  .estate-inspection-detail-dashboard .estate-inspection-question-title-row {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .estate-inspection-detail-dashboard .estate-inspection-question-tools {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
  }
  .estate-inspection-detail-dashboard .estate-inspection-tool-form button span,
  .estate-inspection-detail-dashboard .estate-inspection-inline-editor > summary span {
    display: none;
  }
  .estate-inspection-detail-dashboard .estate-inspection-inline-editor > summary,
  .estate-inspection-detail-dashboard .estate-inspection-tool-form button,
  .estate-inspection-detail-dashboard .estate-inspection-info {
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    border-radius: 14px;
  }
  .estate-inspection-detail-dashboard .estate-inspection-answer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .estate-inspection-detail-dashboard .estate-inspection-chip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .estate-inspection-detail-dashboard .estate-inspection-quality-chip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .estate-inspection-detail-dashboard .estate-inspection-quality-evasive {
    grid-column: span 2;
  }
  .estate-inspection-detail-dashboard .estate-inspection-question-actions .estate-mini-button-primary {
    width: 100%;
    justify-content: center;
  }
}
.estate-inspection-workbar-product {
  position: relative;
}

/* Hotfix 1.3.68: Plus-gated inspection tools */
.estate-package-card-plus {
  border-color: color-mix(in srgb, var(--estate-primary) 34%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--estate-primary-soft) 96%, var(--estate-card)), var(--estate-card));
}

.estate-package-badge-plus {
  background: color-mix(in srgb, var(--estate-primary) 13%, transparent);
  color: var(--estate-primary);
}

.estate-inspection-custom-question-box-locked {
  padding: 0;
  border-style: dashed;
  background: rgba(248, 250, 252, .72);
}

.estate-inspection-tool-locked {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px dashed rgba(100, 116, 139, .34);
  border-radius: 12px;
  background: rgba(248, 250, 252, .92);
  color: #64748b;
  text-decoration: none;
  font-weight: 850;
  line-height: 1;
}

.estate-inspection-custom-question-box-locked .estate-inspection-tool-locked {
  width: 100%;
  justify-content: flex-start;
  padding: 13px 16px;
  border: 0;
  background: transparent;
  color: var(--estate-primary-dark);
}

.estate-inspection-tool-locked small {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--estate-primary) 12%, transparent);
  color: var(--estate-primary);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.estate-inspection-tool-locked:hover,
.estate-inspection-tool-locked:focus {
  border-color: color-mix(in srgb, var(--estate-primary) 55%, transparent);
  background: color-mix(in srgb, var(--estate-primary-soft) 95%, var(--estate-card));
  color: var(--estate-primary);
}

.estate-inspection-focusbar-title small,
.estate-inspection-workbar-overview-title small {
  display: none;
}

@media (max-width: 760px) {
  .estate-inspection-tool-locked span:nth-child(2),
  .estate-inspection-detail-dashboard .estate-inspection-tool-locked span:nth-child(2) {
    font-size: .82rem;
  }

  .estate-inspection-question-tools .estate-inspection-tool-locked {
    min-width: 34px;
    padding: 0 8px;
  }

  .estate-inspection-question-tools .estate-inspection-tool-locked small {
    display: none;
  }
}

/* Hotfix 1.3.70: Plus per-object hidden question restore workflow. */
.estate-inspection-hidden-question-box {
  margin: 0 0 12px;
  border: 1px dashed rgba(100, 116, 139, .30);
  border-radius: 16px;
  background: rgba(248, 250, 252, .86);
}

.estate-inspection-hidden-question-box > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 14px;
  cursor: pointer;
  color: #475569;
  font-weight: 900;
  list-style: none;
}

.estate-inspection-hidden-question-box > summary::-webkit-details-marker {
  display: none;
}

.estate-inspection-hidden-question-box > summary small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--estate-primary) 10%, transparent);
  color: var(--estate-primary-dark);
  font-size: .78rem;
  font-weight: 900;
}

.estate-inspection-hidden-question-list {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.estate-inspection-hidden-question-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
}

.estate-inspection-hidden-question-item span {
  min-width: 0;
  color: #334155;
  font-weight: 760;
  line-height: 1.35;
}

.estate-inspection-hidden-question-item .estate-mini-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .estate-inspection-hidden-question-item {
    align-items: stretch;
    flex-direction: column;
  }

  .estate-inspection-hidden-question-item .estate-mini-button {
    width: 100%;
    justify-content: center;
  }
}

/* Hotfix 1.3.76 - Account Website shell inspection workbar hardening.
   The Planning/Questions/Notes mode switch is no longer rendered inside the
   first workbar row. This keeps the object title readable and shows the switch
   only in preparation/planning mode, where it is needed as secondary action. */
.estate-inspection-workbar-product {
  grid-template-columns: auto minmax(360px, 1fr) auto;
}

.estate-inspection-mode-tabs-row {
  width: min(420px, 100%);
  margin: -8px 0 16px 64px;
  justify-self: start;
}

.estate-inspection-mode-tabs-row .estate-inspection-mode-tab {
  min-height: 38px;
}

@media (max-width: 1040px) {
  .estate-inspection-workbar-product {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .estate-inspection-mode-tabs-row {
    width: 100%;
    margin: -4px 0 14px;
  }
}

@media (max-width: 780px) {
  .estate-inspection-mode-tabs-row {
    margin: 0 0 12px;
  }
}

/* --------------------------------------------------------------------------
   Hotfix 1.4.1: inspection planning photos
   -------------------------------------------------------------------------- */
.estate-inspection-photo-panel {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(15, 107, 82, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
}
.estate-inspection-photo-upload {
  margin-top: 12px;
}
.estate-inspection-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.estate-inspection-photo-item {
  border: 1px solid var(--estate-border, #e2e8f0);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(10, 48, 35, .07);
}
.estate-inspection-photo-item img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: #e5e7eb;
}
.estate-inspection-photo-item strong,
.estate-inspection-photo-item small {
  display: block;
  padding-left: 14px;
  padding-right: 14px;
}
.estate-inspection-photo-item strong {
  padding-top: 12px;
  color: var(--estate-primary-dark);
}
.estate-inspection-photo-item small {
  color: var(--estate-muted, #65756d);
  font-size: .78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.estate-inspection-photo-item .estate-gallery-actions {
  padding: 12px 14px 14px;
}
.estate-inspection-photo-caption-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  width: 100%;
}
.estate-inspection-photo-caption-form label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.estate-inspection-photo-caption-form input[type="text"] {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--estate-border, #e2e8f0);
  border-radius: 999px;
  padding: 7px 10px;
}
.estate-inspection-plus-note {
  display: inline-flex;
  width: 100%;
  border-radius: 14px;
  background: rgba(245, 158, 11, .10);
  color: #92400e;
  padding: 8px 10px;
  font-size: .82rem;
  font-weight: 700;
}
@media(max-width:760px){
  .estate-inspection-photo-panel { padding: 12px; }
  .estate-inspection-photo-grid { grid-template-columns: 1fr; }
  .estate-inspection-photo-caption-form { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Hotfix 1.4.4: PLUS object closing workflow
   -------------------------------------------------------------------------- */
.estate-inspection-closing-panel {
    display: grid;
    gap: 18px;
}
.estate-inspection-closing-form,
.estate-inspection-closing-question,
.estate-inspection-closing-preview {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    padding: 16px;
}
.estate-inspection-closing-questions {
    display: grid;
    gap: 12px;
}
.estate-inspection-closing-questions h4,
.estate-inspection-closing-preview h4 {
    margin: 0 0 6px;
}
.estate-inspection-closing-question label {
    display: grid;
    gap: 8px;
}
.estate-inspection-closing-render-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.estate-inspection-closing-subject {
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed rgba(15, 23, 42, 0.18);
    overflow-wrap: anywhere;
}
.estate-form-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 760px) {
    .estate-form-grid-three {
        grid-template-columns: 1fr;
    }
    .estate-inspection-closing-render-actions {
        display: grid;
    }
    .estate-inspection-closing-render-actions form,
    .estate-inspection-closing-render-actions .estate-button {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Hotfix 1.4.5: inspection assistant UX redesign and wide account layout
   -------------------------------------------------------------------------- */
.estate-account-dashboard.estate-inspection-focus-dashboard,
.estate-account-dashboard.estate-inspection-detail-dashboard {
  width: min(1840px, calc(100vw - 48px));
  max-width: min(1840px, calc(100vw - 48px));
  padding: 0;
}

.estate-account-dashboard.estate-inspection-focus-dashboard.estate-card,
.estate-account-dashboard.estate-inspection-detail-dashboard.estate-card,
.estate-account-dashboard.estate-inspection-focus-dashboard.estate-card-wide,
.estate-account-dashboard.estate-inspection-detail-dashboard.estate-card-wide {
  max-width: min(1840px, calc(100vw - 48px));
}

.estate-inspection-detail-dashboard .estate-inspection-section {
  max-width: 100%;
}

.estate-inspection-workbar-product {
  grid-template-columns: auto minmax(300px, 1fr) auto;
  margin-bottom: 14px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.estate-inspection-back-button,
.estate-inspection-next-object {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #17202a !important;
  font-weight: 850;
  text-decoration: none;
}

.estate-inspection-back-button:hover,
.estate-inspection-back-button:focus,
.estate-inspection-next-object:hover,
.estate-inspection-next-object:focus {
  background: color-mix(in srgb, var(--estate-primary) 8%, transparent);
  color: var(--estate-primary-dark) !important;
  box-shadow: none;
}

.estate-inspection-workbar-property {
  justify-self: center;
  min-width: 0;
}

.estate-inspection-workbar-property-icon,
.estate-inspection-mode-tab-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: currentColor;
}

.estate-inspection-workbar-property-icon svg,
.estate-inspection-mode-tab-icon svg,
.estate-inspection-focusbar-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.estate-inspection-workbar-property-icon {
  background: transparent;
  color: #1f3658;
}

.estate-inspection-workbar-property strong {
  max-width: 720px;
  font-size: 1rem;
}

.estate-inspection-workbar-sync {
  align-items: center;
}

.estate-inspection-workbar-sync .estate-inspection-sync-pill {
  display: none;
}

.estate-inspection-mode-tabs-row {
  width: min(560px, 100%);
  margin: 0 auto 18px;
  display: grid;
  justify-self: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.estate-inspection-mode-tabs-row .estate-inspection-mode-tab {
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #1f3658 !important;
  background: transparent;
  font-weight: 850;
}

.estate-inspection-mode-tabs-row .estate-inspection-mode-tab.is-active {
  color: var(--estate-primary-dark) !important;
  background: transparent;
  border-bottom-color: var(--estate-primary);
  box-shadow: none;
}

.estate-inspection-status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 18px;
  margin: 0 auto 28px;
  max-width: 1480px;
}

.estate-inspection-status-strip span {
  min-height: 72px;
  justify-content: flex-start;
  padding: 16px 20px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
  font-size: .96rem;
}

.estate-inspection-status-strip span:nth-child(n+5) {
  display: none;
}

.estate-inspection-detail-dashboard .estate-inspection-form,
.estate-inspection-detail-dashboard .estate-inspection-panel,
.estate-inspection-photo-panel,
.estate-inspection-closing-panel {
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
}

.estate-inspection-detail-dashboard .estate-inspection-form {
  padding: 24px;
  border-radius: 22px;
  background: #fff;
}

.estate-inspection-detail-dashboard .estate-inspection-form .estate-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.estate-inspection-photo-panel {
  margin-top: 22px;
  padding: 22px;
}

.estate-inspection-photo-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.estate-inspection-detail-dashboard .estate-inspection-questions {
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.estate-inspection-detail-dashboard .estate-inspection-questions::before {
  content: none;
  display: none;
}

.estate-inspection-detail-dashboard .estate-inspection-category-group {
  grid-column: 2;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .045);
}

.estate-inspection-detail-dashboard .estate-inspection-category-title {
  min-height: 64px;
  padding: 0 20px;
  cursor: pointer;
}

.estate-inspection-detail-dashboard .estate-inspection-category-title span {
  font-size: 1.08rem;
}

.estate-inspection-detail-dashboard .estate-inspection-category-body {
  padding: 18px;
}

.estate-inspection-detail-dashboard .estate-inspection-custom-question-box {
  margin-bottom: 14px;
  border-color: color-mix(in srgb, var(--estate-primary) 22%, transparent);
  background: color-mix(in srgb, var(--estate-primary-soft) 34%, var(--estate-card));
}

.estate-inspection-detail-dashboard .estate-inspection-question {
  padding: 16px 18px;
  border: 1px solid rgba(15, 23, 42, .075);
  box-shadow: none;
}

.estate-inspection-detail-dashboard .estate-inspection-question + .estate-inspection-question {
  margin-top: 12px;
}

.estate-inspection-detail-dashboard .estate-inspection-question-title-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding-bottom: 12px;
}

.estate-inspection-detail-dashboard .estate-inspection-question-tools {
  grid-column: auto;
  width: auto;
  justify-content: flex-end;
}

.estate-inspection-detail-dashboard .estate-inspection-answer-grid {
  grid-template-columns: minmax(250px, .85fr) minmax(260px, 1fr);
  gap: 18px;
}

.estate-inspection-detail-dashboard .estate-inspection-chip-row {
  gap: 8px;
}

.estate-inspection-detail-dashboard .estate-inspection-chip-body {
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 11px;
}

.estate-inspection-detail-dashboard .estate-inspection-quality-evasive,
.estate-inspection-detail-dashboard .estate-inspection-quality-trustworthy {
  display: none;
}

.estate-inspection-detail-dashboard .estate-inspection-note-toggle {
  margin-top: 10px;
  border-color: rgba(15, 23, 42, .08);
}

.estate-inspection-detail-dashboard .estate-inspection-note-toggle summary {
  min-height: 38px;
}

.estate-inspection-detail-dashboard .estate-inspection-question-actions {
  justify-content: space-between;
}

.estate-inspection-closing-panel {
  max-width: 1560px;
}

@media (max-width: 1180px) {
  .estate-account-dashboard.estate-inspection-focus-dashboard,
  .estate-account-dashboard.estate-inspection-detail-dashboard,
  .estate-account-dashboard.estate-inspection-focus-dashboard.estate-card,
  .estate-account-dashboard.estate-inspection-detail-dashboard.estate-card,
  .estate-account-dashboard.estate-inspection-focus-dashboard.estate-card-wide,
  .estate-account-dashboard.estate-inspection-detail-dashboard.estate-card-wide {
    width: min(100%, calc(100vw - 28px));
    max-width: min(100%, calc(100vw - 28px));
  }

  .estate-inspection-status-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .estate-inspection-detail-dashboard .estate-inspection-questions {
    grid-template-columns: 1fr;
  }

  .estate-inspection-detail-dashboard .estate-inspection-questions::before,
  .estate-inspection-detail-dashboard .estate-inspection-category-group {
    grid-column: 1;
  }

  .estate-inspection-detail-dashboard .estate-inspection-questions::before {
    grid-row: auto;
  }
}

@media (max-width: 780px) {
  .estate-account-dashboard.estate-inspection-focus-dashboard,
  .estate-account-dashboard.estate-inspection-detail-dashboard,
  .estate-account-dashboard.estate-inspection-focus-dashboard.estate-card,
  .estate-account-dashboard.estate-inspection-detail-dashboard.estate-card,
  .estate-account-dashboard.estate-inspection-focus-dashboard.estate-card-wide,
  .estate-account-dashboard.estate-inspection-detail-dashboard.estate-card-wide {
    width: 100%;
    max-width: 100%;
  }

  .estate-inspection-workbar-product {
    padding: 12px 12px 14px;
    border-radius: 0;
  }

  .estate-inspection-back-button {
    width: auto;
    height: 42px;
    font-size: .95rem;
  }

  .estate-inspection-back-button span {
    display: inline;
  }

  .estate-inspection-next-object {
    width: 100%;
    justify-content: flex-start;
  }

  .estate-inspection-mode-tabs-row {
    width: 100%;
    margin: 0 0 14px;
  }

  .estate-inspection-mode-tabs-row .estate-inspection-mode-tab {
    min-height: 50px;
    padding: 0 8px;
  }

  .estate-inspection-status-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .estate-inspection-status-strip span:nth-child(n+3) {
    display: none;
  }

  .estate-inspection-detail-dashboard .estate-inspection-form .estate-form-grid,
  .estate-inspection-detail-dashboard .estate-inspection-answer-grid {
    grid-template-columns: 1fr;
  }

  .estate-inspection-detail-dashboard .estate-inspection-question-title-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .estate-inspection-detail-dashboard .estate-inspection-question-tools {
    grid-column: 1 / -1;
    width: 100%;
  }

  .estate-inspection-detail-dashboard .estate-inspection-questions::before {
    padding: 14px;
    border-radius: 16px;
  }
}

/* Hotfix 1.4.6: Search cockpit overview for inspection assistant */
.estate-search-cockpit {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}
.estate-search-cockpit-hero,
.estate-search-cockpit-toolbar,
.estate-search-cockpit-note,
.estate-search-cockpit-section,
.estate-search-cockpit-actions,
.estate-search-cockpit-more {
    background: #fff;
    border: 1px solid rgba(15, 35, 55, .10);
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(15, 35, 55, .06);
}
.estate-search-cockpit-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 20px;
    align-items: center;
    padding: 24px;
}
.estate-search-cockpit-hero h2 {
    margin: 6px 0 8px;
    font-size: clamp(1.7rem, 2vw, 2.3rem);
    line-height: 1.1;
    color: #162238;
}
.estate-search-cockpit-hero p { margin: 0; color: #5f6d7e; }
.estate-search-cockpit-usage {
    border: 1px solid rgba(8,122,90,.18);
    border-radius: 18px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(8,122,90,.08), rgba(255,255,255,.95));
    display: grid;
    gap: 5px;
}
.estate-search-cockpit-usage strong { color: #087a5a; }
.estate-search-cockpit-usage span { font-weight: 700; color: #162238; }
.estate-search-cockpit-usage small { color: #637286; }
.estate-search-cockpit-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 420px) repeat(4, auto) minmax(220px, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
}
.estate-search-cockpit-toolbar input[type="search"] {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(15,35,55,.13);
    border-radius: 14px;
    padding: 0 14px;
    color: #162238;
    background: #fbfcfd;
}
.estate-filter-chip,
.estate-sort-pill {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(15,35,55,.12);
    border-radius: 14px;
    padding: 0 14px;
    color: #1f2d3d;
    background: #fff;
    white-space: nowrap;
    font-weight: 650;
}
.estate-filter-chip.is-active { border-color: rgba(8,122,90,.35); color: #087a5a; background: rgba(8,122,90,.06); }
.estate-filter-chip b { border-radius: 999px; background: rgba(15,35,55,.08); padding: 2px 8px; font-size: .82rem; }
.estate-sort-pill { justify-content: flex-start; color: #566477; }
.estate-search-cockpit-note { margin: -8px 0 0; padding: 10px 16px; color: #64748b; font-size: .94rem; box-shadow: none; }
.estate-search-cockpit-section,
.estate-search-cockpit-actions,
.estate-search-cockpit-more { padding: 18px; }
.estate-search-cockpit-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.estate-search-cockpit-section-head h3,
.estate-search-cockpit-actions h3 { margin: 0 0 4px; color: #162238; font-size: 1.25rem; }
.estate-search-cockpit-section-head p { margin: 0; color: #637286; }
.estate-search-cockpit-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.estate-search-cockpit-card { border: 1px solid rgba(15,35,55,.11); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 12px 28px rgba(15,35,55,.06); min-width: 0; }
.estate-search-cockpit-card-media { height: 116px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.4rem; font-weight: 800; background: linear-gradient(135deg, var(--estate-primary), var(--estate-primary-dark)); }
.estate-search-cockpit-card-body { padding: 14px; display: grid; gap: 9px; }
.estate-search-cockpit-card h4 { margin: 0; color: #142033; font-size: 1.02rem; line-height: 1.25; min-height: 2.5em; }
.estate-search-cockpit-card p,
.estate-search-cockpit-card small { margin: 0; color: #637286; }
.estate-search-status-pill { width: max-content; display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 10px; font-size: .82rem; font-weight: 800; color: #344054; background: #f1f5f9; }
.estate-search-status-pill.is-planned,
.estate-search-status-pill.is-progress { color: #076c51; background: rgba(8,122,90,.12); }
.estate-search-status-pill.is-requested { color: #925b00; background: rgba(245,158,11,.16); }
.estate-search-status-pill.is-visited { color: #0b5cab; background: rgba(59,130,246,.13); }
.estate-search-status-pill.is-closing { color: #7c3aed; background: rgba(124,58,237,.12); }
.estate-search-cockpit-progress { color: #087a5a; font-weight: 700; font-size: .94rem; }
.estate-search-cockpit-card-tools { display: flex; align-items: center; justify-content: space-between; color: #64748b; border-top: 1px solid rgba(15,35,55,.08); padding-top: 8px; }
.estate-search-cockpit-action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.estate-search-action-card { display: grid; gap: 6px; padding: 16px; border: 1px solid rgba(8,122,90,.16); border-radius: 16px; text-decoration: none; color: #152238; background: linear-gradient(135deg, rgba(8,122,90,.06), #fff); }
.estate-search-action-card span { color: #667085; }
.estate-search-cockpit-list { display: grid; gap: 8px; }
.estate-search-cockpit-row { display: grid; grid-template-columns: minmax(220px, 1.4fr) minmax(120px, .7fr) auto minmax(160px, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid rgba(15,35,55,.08); border-radius: 14px; background: #fff; }
.estate-search-cockpit-row strong { color: #172033; }
.estate-search-cockpit-row span { color: #5f6d7e; }
@media (max-width: 1440px) {
    .estate-search-cockpit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .estate-search-cockpit-toolbar { grid-template-columns: minmax(220px, 1fr) repeat(2, auto); }
    .estate-sort-pill { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
    .estate-search-cockpit-hero { grid-template-columns: 1fr; }
    .estate-search-cockpit-grid,
    .estate-search-cockpit-action-grid { grid-template-columns: 1fr; }
    .estate-search-cockpit-row { grid-template-columns: 1fr; align-items: start; }
    .estate-search-cockpit-toolbar { grid-template-columns: 1fr; }
}

/* Hotfix 1.4.7: Search cockpit cards aligned with public map object boxes */
.estate-search-cockpit-map-style {
    max-width: 1840px;
    margin: 0 auto;
}
.estate-search-cockpit-map-style .estate-search-cockpit-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) repeat(4, auto) minmax(270px, auto);
    align-items: center;
    gap: 12px;
}
.estate-search-cockpit-map-style .estate-filter-chip {
    border: 1px solid rgba(15, 35, 55, .1);
    background: #fff;
    color: #1f3658;
    border-radius: 16px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 35, 55, .04);
}
.estate-search-cockpit-map-style .estate-filter-chip.is-active {
    border-color: rgba(8, 122, 90, .42);
    background: rgba(8, 122, 90, .07);
    color: #087a5a;
}
.estate-search-cockpit-map-style .estate-sort-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(15, 35, 55, .1);
    border-radius: 16px;
    padding: 8px 12px;
    background: #fff;
    color: #1f3658;
    font-weight: 700;
}
.estate-search-cockpit-map-style .estate-sort-pill select {
    border: 0;
    background: transparent;
    color: inherit;
    font-weight: 700;
    min-width: 190px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}
.estate-map-like-card {
    position: relative;
    border: 1px solid rgba(15, 35, 55, .11);
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 35, 55, .09);
    min-width: 0;
}
.estate-map-like-card .estate-search-cockpit-card-media {
    position: relative;
    height: 152px;
    padding: 0;
    background: linear-gradient(135deg, var(--estate-primary), var(--estate-primary-dark));
    color: #fff;
    overflow: hidden;
}
.estate-map-like-card .estate-search-cockpit-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.estate-map-like-card .estate-search-cockpit-card-media > span:not(.estate-search-status-pill) {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 800;
}
.estate-map-like-card .estate-search-status-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    box-shadow: 0 8px 18px rgba(15, 35, 55, .12);
}
.estate-search-favorite-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    margin: 0;
}
.estate-search-favorite-remove button {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #dc2626;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 35, 55, .14);
}
.estate-map-like-card .estate-search-cockpit-card-body {
    padding: 14px 16px 16px;
    display: grid;
    gap: 9px;
}
.estate-map-like-card h4 {
    margin: 0;
    color: #142033;
    font-size: 1.02rem;
    line-height: 1.25;
    min-height: 2.5em;
}
.estate-search-card-location {
    margin: 0;
    color: #64748b;
    font-size: .88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.estate-search-card-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    color: #1f3658;
    font-size: .9rem;
    font-weight: 700;
}
.estate-search-card-facts span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.estate-search-card-facts span::before {
    content: '⌂';
    color: #64748b;
    font-size: .9em;
}
.estate-map-like-card .estate-search-cockpit-progress,
.estate-search-row-progress {
    display: grid;
    gap: 6px;
    color: #087a5a;
    font-weight: 700;
    font-size: .92rem;
}
.estate-map-like-card .estate-search-cockpit-progress i,
.estate-search-row-progress i {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: rgba(15, 35, 55, .1);
    overflow: hidden;
}
.estate-map-like-card .estate-search-cockpit-progress b,
.estate-search-row-progress b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #087a5a;
}
.estate-map-like-card .estate-button-primary {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
}
.estate-map-like-row {
    grid-template-columns: 72px minmax(220px, 1.5fr) auto minmax(180px, .9fr) minmax(160px, .8fr) auto;
    gap: 14px;
    align-items: center;
}
.estate-search-row-media {
    width: 72px;
    height: 54px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--estate-primary), var(--estate-primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
.estate-search-row-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.estate-search-row-main {
    display: grid;
    gap: 2px;
}
.estate-search-row-main small,
.estate-search-row-main span,
.estate-search-row-facts {
    color: #64748b;
    font-size: .9rem;
}
.estate-search-cockpit [hidden] {
    display: none !important;
}
.estate-search-action-card svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    vertical-align: middle;
}
@media (max-width: 1500px) {
    .estate-search-cockpit-map-style .estate-search-cockpit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .estate-search-cockpit-map-style .estate-search-cockpit-toolbar { grid-template-columns: minmax(240px, 1fr) repeat(2, auto); }
}
@media (max-width: 980px) {
    .estate-search-cockpit-map-style .estate-search-cockpit-grid,
    .estate-search-cockpit-action-grid { grid-template-columns: 1fr; }
    .estate-search-cockpit-map-style .estate-search-cockpit-toolbar,
    .estate-map-like-row { grid-template-columns: 1fr; }
    .estate-map-like-card .estate-search-cockpit-card-media { height: 190px; }
    .estate-search-row-media { width: 100%; height: 160px; }
}

/* Hotfix 1.4.7.1: search cockpit cleanup, translation-safe layout and map-card focus */
.estate-embedded-account .estate-account-dashboard.estate-inspection-focus-dashboard:not(.estate-inspection-detail-dashboard) {
    margin-top: 18px;
}
.estate-search-cockpit-map-style {
    gap: 16px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-hero {
    padding: 18px 22px;
    border-radius: 22px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-hero .estate-eyebrow {
    font-size: .78rem;
    letter-spacing: .09em;
}
.estate-search-cockpit-map-style .estate-search-cockpit-hero h2 {
    margin: 5px 0 6px;
    font-size: clamp(1.6rem, 1.8vw, 2rem);
}
.estate-search-cockpit-map-style .estate-search-cockpit-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}
.estate-search-cockpit-map-style .estate-search-cockpit-toolbar > label:first-child {
    flex: 1 1 300px;
    min-width: 240px;
}
.estate-search-cockpit-map-style .estate-sort-pill {
    flex: 0 1 340px;
    min-width: 240px;
    overflow: hidden;
}
.estate-search-cockpit-map-style .estate-sort-pill span,
.estate-search-cockpit-map-style .estate-sort-pill select {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.estate-search-cockpit-map-style .estate-search-cockpit-grid {
    grid-template-columns: repeat(5, minmax(210px, 1fr));
    align-items: stretch;
}
.estate-map-like-card {
    display: flex;
    flex-direction: column;
}
.estate-map-like-card .estate-search-cockpit-card-media {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 128px;
    max-height: 174px;
}
.estate-map-like-card .estate-search-cockpit-card-media > span:not(.estate-search-status-pill) {
    font-size: 2rem;
    color: rgba(255,255,255,.88);
}
.estate-map-like-card .estate-search-cockpit-card-body {
    flex: 1 1 auto;
    gap: 8px;
    padding: 13px 15px 15px;
}
.estate-map-like-card h4 {
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .98rem;
}
.estate-search-status-pill {
    max-width: calc(100% - 72px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.estate-map-like-card .estate-search-status-pill {
    top: 10px;
    left: 10px;
    padding: 4px 9px;
    font-size: .75rem;
}
.estate-search-favorite-remove {
    top: 9px;
    right: 9px;
}
.estate-search-favorite-remove button {
    width: 32px;
    height: 32px;
}
.estate-search-card-facts {
    gap: 6px 9px;
    font-size: .84rem;
}
.estate-search-card-facts span::before {
    content: none;
}
.estate-search-cockpit-actions {
    margin-top: -2px;
}
.estate-search-cockpit-tip {
    display: grid;
    grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
    gap: 18px;
    align-items: center;
    padding: 18px;
    background: linear-gradient(135deg, rgba(8,122,90,.06), #fff);
    border: 1px solid rgba(8,122,90,.14);
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(15, 35, 55, .05);
}
.estate-search-cockpit-tip h3 {
    margin: 5px 0 6px;
    color: #162238;
}
.estate-search-cockpit-tip p {
    margin: 0;
    color: #64748b;
}
.estate-search-cockpit-tip .estate-map-like-row {
    background: #fff;
}
@media (max-width: 1500px) {
    .estate-search-cockpit-map-style .estate-search-cockpit-grid {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }
}
@media (max-width: 980px) {
    .estate-search-cockpit-map-style .estate-search-cockpit-grid,
    .estate-search-cockpit-tip {
        grid-template-columns: 1fr;
    }
    .estate-search-cockpit-map-style .estate-search-cockpit-hero {
        grid-template-columns: 1fr;
        padding: 16px;
    }
}

/* Hotfix 1.4.7.2: synchronized cockpit filters and object image fallbacks */
.estate-search-cockpit-map-style [data-cockpit-filter-button] b {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    margin-left: 7px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(15, 35, 55, .07);
    color: inherit;
    font-size: .82rem;
}

.estate-map-like-card .estate-search-cockpit-card-media.is-dummy,
.estate-search-row-media.is-dummy {
    background: #f5f8fc;
}

.estate-map-like-card .estate-search-cockpit-card-media.is-dummy img,
.estate-search-row-media.is-dummy img {
    object-fit: cover;
    object-position: center center;
    background: #f5f8fc;
}

.estate-map-like-card .estate-search-cockpit-card-media img[data-fallback-applied="1"],
.estate-search-row-media img[data-fallback-applied="1"] {
    background: #f5f8fc;
}

.estate-map-like-card .estate-search-cockpit-card-media .estate-search-status-pill {
    max-width: calc(100% - 62px);
}

.estate-search-cockpit-tip [data-cockpit-tip-card] {
    margin: 0;
}

.estate-search-cockpit-tip [data-cockpit-tip-card][hidden] {
    display: grid !important;
}

@media (max-width: 760px) {
    .estate-search-cockpit-map-style .estate-filter-chip {
        width: 100%;
        justify-content: space-between;
    }

    .estate-search-cockpit-map-style .estate-sort-pill {
        width: 100%;
        flex-basis: 100%;
    }
}

/* Hotfix 1.4.7.3: shared inspection subnavigation and guided planning form UX */
.estate-inspection-subnav {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(220px, 1fr);
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 0 0 18px 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}

.estate-inspection-subnav-side {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.estate-inspection-subnav-side-right {
    justify-content: flex-end;
}

.estate-inspection-subnav-steps {
    display: inline-flex;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
}

.estate-inspection-subnav-link,
.estate-inspection-subnav-step {
    position: relative;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #334155 !important;
    font-weight: 850;
    line-height: 1.12;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.estate-inspection-subnav-link {
    border-color: rgba(15, 23, 42, .09);
    background: #fff;
}

.estate-inspection-subnav-link:hover,
.estate-inspection-subnav-link:focus,
.estate-inspection-subnav-step:hover,
.estate-inspection-subnav-step:focus {
    border-color: color-mix(in srgb, var(--estate-primary) 32%, transparent);
    background: color-mix(in srgb, var(--estate-primary-soft) 94%, var(--estate-card));
    color: var(--estate-primary-dark) !important;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--estate-primary) 10%, transparent);
    transform: translateY(-1px);
}

.estate-inspection-subnav-step {
    min-width: 132px;
    border-radius: 12px;
}

.estate-inspection-subnav-step::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -13px;
    height: 3px;
    border-radius: 999px;
    background: transparent;
}

.estate-inspection-subnav-step.is-active {
    border-color: color-mix(in srgb, var(--estate-primary) 32%, transparent);
    background: color-mix(in srgb, var(--estate-primary-soft) 94%, var(--estate-card));
    color: var(--estate-primary-dark) !important;
}

.estate-inspection-subnav-step.is-active::after {
    background: var(--estate-primary);
}

.estate-inspection-subnav-icon {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background: color-mix(in srgb, var(--estate-primary) 10%, transparent);
    color: var(--estate-primary-dark);
}

.estate-inspection-subnav .estate-inspection-sync-pill {
    min-height: 34px;
}

.estate-inspection-subnav .estate-inspection-sync-pill--technical {
    display: none !important;
}

.estate-inspection-planning-form {
    display: grid;
    gap: 16px;
}

.estate-inspection-planning-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    gap: 16px;
    align-items: start;
}

.estate-inspection-form-card {
    min-width: 0;
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .055);
}

.estate-inspection-form-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.estate-inspection-form-card-header h3 {
    margin: 0;
    color: var(--estate-text);
    font-size: 1rem;
    line-height: 1.2;
}

.estate-inspection-form-card-header p {
    max-width: 720px;
    margin: 5px 0 0;
    color: var(--estate-muted);
    font-size: .9rem;
    line-height: 1.45;
}

.estate-inspection-note-card-wide {
    grid-column: 1 / -1;
}

.estate-inspection-level-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.estate-inspection-level-card {
    min-width: 0;
    cursor: pointer;
}

.estate-inspection-level-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.estate-inspection-level-card-body {
    min-height: 124px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 16px;
    background: #fff;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.estate-inspection-level-card:hover .estate-inspection-level-card-body,
.estate-inspection-level-card input:focus + .estate-inspection-level-card-body {
    border-color: color-mix(in srgb, var(--estate-primary) 32%, transparent);
    background: color-mix(in srgb, var(--estate-primary-soft) 74%, var(--estate-card));
    box-shadow: 0 10px 22px color-mix(in srgb, var(--estate-primary) 8%, transparent);
    transform: translateY(-1px);
}

.estate-inspection-level-card.is-selected .estate-inspection-level-card-body,
.estate-inspection-level-card input:checked + .estate-inspection-level-card-body {
    border-color: color-mix(in srgb, var(--estate-primary) 48%, transparent);
    background: color-mix(in srgb, var(--estate-primary-soft) 92%, var(--estate-card));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--estate-primary) 16%, transparent), 0 12px 28px color-mix(in srgb, var(--estate-primary) 10%, transparent);
}

.estate-inspection-level-card-icon {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: color-mix(in srgb, var(--estate-primary) 10%, transparent);
    color: var(--estate-primary-dark);
    font-weight: 900;
}

.estate-inspection-level-card-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.estate-inspection-level-card-copy strong {
    color: var(--estate-text);
    line-height: 1.18;
}

.estate-inspection-level-card-copy strong em {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    margin-left: 4px;
    padding: 0 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--estate-primary) 12%, transparent);
    color: var(--estate-primary-dark);
    font-size: .7rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.estate-inspection-level-card-copy small {
    color: var(--estate-muted);
    line-height: 1.38;
}

.estate-inspection-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 14px;
}

.estate-inspection-field,
.estate-inspection-guided-note-field {
    display: grid;
    gap: 7px;
    color: #334155;
    font-size: .9rem;
    font-weight: 800;
}

.estate-inspection-field-full {
    grid-column: 1 / -1;
}

.estate-inspection-input,
.estate-inspection-textarea,
.estate-inspection-guided-note-field textarea,
.estate-inspection-guided-note-field input,
.estate-inspection-guided-note-field select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d8e1ea;
    border-radius: 11px;
    background: #fff;
    color: var(--estate-text);
    font: inherit;
    font-weight: 500;
    line-height: 1.4;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.estate-inspection-input:hover,
.estate-inspection-textarea:hover,
.estate-inspection-guided-note-field textarea:hover,
.estate-inspection-guided-note-field input:hover,
.estate-inspection-guided-note-field select:hover {
    border-color: #b8c7d9;
}

.estate-inspection-input:focus,
.estate-inspection-textarea:focus,
.estate-inspection-guided-note-field textarea:focus,
.estate-inspection-guided-note-field input:focus,
.estate-inspection-guided-note-field select:focus {
    border-color: var(--estate-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--estate-primary) 13%, transparent);
}

.estate-inspection-textarea-guided,
.estate-inspection-guided-note-field textarea.estate-inspection-textarea-guided {
    min-height: 150px;
    line-height: 1.55;
    resize: vertical;
}

.estate-inspection-textarea::placeholder,
.estate-inspection-guided-note-field textarea::placeholder {
    color: #94a3b8;
}

.estate-inspection-private-pill,
.estate-inspection-guided-note-field em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--estate-primary) 10%, transparent);
    color: var(--estate-primary-dark);
    font-size: .78rem;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.estate-inspection-guided-note-field span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.estate-inspection-guided-note-field small {
    color: var(--estate-muted);
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.45;
}

.estate-inspection-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 1180px) {
    .estate-inspection-subnav {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .estate-inspection-subnav-side,
    .estate-inspection-subnav-side-right {
        justify-content: space-between;
    }
    .estate-inspection-subnav-steps {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .estate-inspection-planning-grid,
    .estate-inspection-level-cards {
        grid-template-columns: 1fr;
    }
    .estate-inspection-level-card-body {
        min-height: 0;
    }
}

@media (max-width: 680px) {
    .estate-inspection-subnav {
        margin-left: -8px;
        margin-right: -8px;
        padding: 10px;
        border-radius: 0 0 16px 16px;
    }
    .estate-inspection-subnav-steps {
        gap: 5px;
    }
    .estate-inspection-subnav-step {
        min-width: 0;
        min-height: 48px;
        padding: 0 8px;
        font-size: .86rem;
    }
    .estate-inspection-subnav-step::after {
        bottom: -10px;
    }
    .estate-inspection-subnav-side-right .estate-inspection-sync-pill.is-source {
        display: none;
    }
    .estate-inspection-subnav-object span:first-child:not(:last-child) {
        display: none;
    }
    .estate-inspection-form-card {
        padding: 15px;
        border-radius: 16px;
    }
    .estate-inspection-form-card-header {
        display: grid;
    }
    .estate-inspection-form-grid {
        grid-template-columns: 1fr;
    }
    .estate-inspection-form-actions .estate-button {
        width: 100%;
        justify-content: center;
    }
}

.estate-inspection-subnav-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Hotfix 1.4.7.4: planning cockpit layout, property/contact cards and guided planning inputs */
.estate-inspection-planning-form.re-inspection-planning {
    gap: 18px;
}

.estate-inspection-planning-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 16px;
    align-items: stretch;
}

.estate-inspection-property-card,
.estate-inspection-contact-card,
.estate-inspection-map-card,
.estate-inspection-next-step-card,
.estate-inspection-planning-extra-grid .estate-inspection-photo-panel {
    min-width: 0;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.estate-inspection-property-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(220px, 38%) minmax(0, 1fr);
}

.estate-inspection-property-media {
    min-height: 260px;
    background: #f3f7fb;
    overflow: hidden;
}

.estate-inspection-property-media img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    display: block;
    object-fit: cover;
}

.estate-inspection-property-media.is-dummy img {
    object-fit: contain;
    padding: 18px;
    background: linear-gradient(135deg, #f8fbff, #eef6f2);
}

.estate-inspection-property-main {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 22px;
}

.estate-inspection-property-main h2 {
    margin: 0;
    color: var(--estate-text);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.15;
}

.estate-inspection-property-location {
    margin: 0;
    color: #475569;
    font-weight: 750;
}

.estate-inspection-property-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0 0;
}

.estate-inspection-property-facts div,
.estate-inspection-property-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--estate-primary) 9%, transparent);
    color: var(--estate-primary-dark);
    font-size: .86rem;
    font-weight: 900;
}

.estate-inspection-property-facts dd {
    margin: 0;
}

.estate-inspection-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.estate-inspection-contact-card {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.estate-inspection-contact-grid {
    grid-template-columns: 1fr;
}

.estate-inspection-termin-status {
    justify-content: space-between;
    border-radius: 14px;
    background: rgba(15, 23, 42, .04);
    color: #475569;
}

.estate-inspection-termin-status strong {
    color: var(--estate-primary-dark);
}

.estate-inspection-map-card,
.estate-inspection-next-step-card {
    align-content: start;
}

.estate-inspection-map-placeholder {
    min-height: 150px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 18px;
    border: 1px dashed color-mix(in srgb, var(--estate-primary) 28%, transparent);
    border-radius: 16px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--estate-primary-soft) 92%, var(--estate-card)), color-mix(in srgb, var(--estate-primary-soft) 44%, var(--estate-card)));
    color: #334155;
    text-align: center;
}

.estate-inspection-map-placeholder span {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.estate-inspection-next-step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.estate-inspection-planning-extra-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.estate-inspection-planning-extra-grid .estate-inspection-photo-panel {
    padding: 18px;
}

.estate-inspection-planning-extra-grid .estate-inspection-photo-panel > h3 {
    margin-top: 0;
}

.re-inspection-card .estate-inspection-field,
.re-inspection-card .estate-inspection-guided-note-field {
    font-size: .88rem;
}

.re-inspection-input,
.re-inspection-textarea {
    border-radius: 12px;
}

@media (max-width: 1080px) {
    .estate-inspection-planning-hero {
        grid-template-columns: 1fr;
    }

    .estate-inspection-property-card {
        grid-template-columns: minmax(200px, 36%) minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .estate-inspection-planning-hero {
        gap: 12px;
    }

    .estate-inspection-property-card {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .estate-inspection-property-media,
    .estate-inspection-property-media img {
        min-height: 168px;
        max-height: 220px;
    }

    .estate-inspection-property-main,
    .estate-inspection-contact-card {
        padding: 16px;
    }

    .estate-inspection-property-main h2 {
        font-size: 1.15rem;
    }

    .estate-inspection-property-facts,
    .estate-inspection-property-meta,
    .estate-inspection-next-step-actions {
        align-items: stretch;
    }

    .estate-inspection-property-facts div,
    .estate-inspection-property-meta span,
    .estate-inspection-next-step-actions .estate-button {
        flex: 1 1 auto;
        justify-content: center;
    }

    .estate-inspection-map-placeholder {
        min-height: 120px;
    }
}

/* Hotfix 1.4.7.5: reusable MapLibre coordinate picker for inspection meeting points */
.estate-inspection-meeting-map-wrap {
    margin-top: 14px;
}

.re-coordinate-picker {
    width: 100%;
    min-height: 280px;
    height: 280px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .10);
    background: linear-gradient(135deg, color-mix(in srgb, var(--estate-primary-soft) 92%, var(--estate-card)), color-mix(in srgb, var(--estate-primary-soft) 44%, var(--estate-card)));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .48);
}

.re-coordinate-picker.is-unavailable {
    display: grid;
    place-items: center;
    padding: 20px;
    color: #64748b;
    text-align: center;
}

.re-coordinate-picker__marker {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .24);
    cursor: grab;
    font-size: 25px;
    line-height: 1;
    display: grid;
    place-items: center;
    transform: translateY(-4px);
    transition: transform .16s ease, box-shadow .16s ease;
}

.re-coordinate-picker__marker:hover,
.re-coordinate-picker__marker:focus-visible {
    transform: translateY(-7px) scale(1.04);
    box-shadow: 0 18px 42px rgba(8, 122, 74, .28);
    outline: none;
}

.re-coordinate-picker__marker:active {
    cursor: grabbing;
    transform: translateY(-2px) scale(.98);
}

.re-coordinate-picker__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.re-coordinate-picker__action {
    min-height: 38px;
}

.re-coordinate-picker__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f2faf6;
    color: #087a4a;
    font-size: 13px;
    font-weight: 700;
}

.re-coordinate-picker__pin {
    font-size: 15px;
}

.re-coordinate-picker__status {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.re-coordinate-picker .maplibregl-ctrl-group {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .16);
}

.re-coordinate-picker .maplibregl-ctrl-attrib {
    font-size: 10px;
}

@media (max-width: 720px) {
    .re-coordinate-picker {
        min-height: 230px;
        height: 230px;
        border-radius: 16px;
    }

    .re-coordinate-picker__toolbar {
        display: grid;
        grid-template-columns: 1fr;
    }

    .re-coordinate-picker__action {
        width: 100%;
    }
}


/* Hotfix 1.4.7.6: inspection planning cleanup */
.estate-inspection-property-media.is-dummy {
    background: #f5f8fc;
}

.estate-inspection-property-media img[data-fallback-applied="1"] {
    object-fit: cover;
    object-position: center center;
    background: #f5f8fc;
}

/* 1.4.7.9 - Inspection question card action hierarchy */
.estate-inspection-question-title-row {
  justify-content: flex-start;
  align-items: center;
}

.estate-inspection-question-title-row .estate-inspection-info {
  margin-left: 6px;
}

.estate-inspection-question-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, .08);
}

.estate-inspection-secondary-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.estate-inspection-question-action-bar .estate-inspection-question-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-left: 0;
  flex-wrap: wrap;
}

.estate-inspection-question-action-bar .estate-inspection-inline-editor > summary,
.estate-inspection-question-action-bar .estate-inspection-tool-form button {
  width: auto;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border-color: rgba(100, 116, 139, .24);
  background: rgba(248, 250, 252, .92);
  color: #475569;
  box-shadow: none;
  font-size: .82rem;
  font-weight: 800;
}

.estate-inspection-question-action-bar .estate-inspection-inline-editor > summary:hover,
.estate-inspection-question-action-bar .estate-inspection-inline-editor > summary:focus,
.estate-inspection-question-action-bar .estate-inspection-tool-form button:hover,
.estate-inspection-question-action-bar .estate-inspection-tool-form button:focus {
  border-color: color-mix(in srgb, var(--estate-primary) 30%, transparent);
  background: color-mix(in srgb, var(--estate-primary) 7%, transparent);
  color: var(--estate-primary-dark);
}

.estate-inspection-save-button {
  min-width: 132px;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 34%, transparent);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--estate-primary), var(--estate-primary-dark));
  color: #fff;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--estate-primary) 22%, transparent);
  font-weight: 900;
}

.estate-inspection-save-button:hover,
.estate-inspection-save-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--estate-primary) 28%, transparent);
}

@media (max-width: 780px) {
  .estate-inspection-question-action-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .estate-inspection-secondary-actions,
  .estate-inspection-question-action-bar .estate-inspection-question-tools {
    width: 100%;
  }

  .estate-inspection-save-button {
    width: 100%;
  }
}

/* 1.4.7.10 - Inspection object context, question navigation and compact actions */
.estate-inspection-object-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 10px 0 14px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 14%, transparent);
  border-radius: 18px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--estate-primary-soft) 82%, var(--estate-card)), var(--estate-card));
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.estate-inspection-object-context-main {
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.estate-inspection-object-context-label {
  flex: 0 0 auto;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--estate-primary-dark);
}

.estate-inspection-object-context-main strong {
  max-width: min(680px, 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
  color: #0f172a;
}

.estate-inspection-object-context-main small {
  color: #64748b;
  font-size: .82rem;
}

.estate-inspection-object-title-editor {
  position: relative;
  justify-self: end;
}

.estate-inspection-object-title-editor > summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 20%, transparent);
  border-radius: 999px;
  background: #fff;
  color: var(--estate-primary-dark);
  font-size: .82rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.estate-inspection-object-title-editor > summary::-webkit-details-marker { display: none; }

.estate-inspection-object-title-editor[open] > summary,
.estate-inspection-object-title-editor > summary:hover,
.estate-inspection-object-title-editor > summary:focus {
  background: color-mix(in srgb, var(--estate-primary) 8%, transparent);
  border-color: color-mix(in srgb, var(--estate-primary) 34%, transparent);
}

.estate-inspection-object-title-editor form {
  position: absolute;
  right: 0;
  z-index: 40;
  width: min(430px, 86vw);
  margin-top: 8px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 18%, transparent);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(15, 23, 42, .18);
  display: grid;
  gap: 8px;
}

.estate-inspection-object-title-editor label {
  display: grid;
  gap: 5px;
  color: #334155;
  font-size: .86rem;
  font-weight: 800;
}

.estate-inspection-object-title-editor input {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, .16);
  border-radius: 12px;
  padding: 9px 10px;
  font: inherit;
}

.estate-inspection-object-title-editor p {
  margin: 0;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.4;
}

.estate-inspection-question-workspace {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.estate-inspection-question-sidebar {
  position: sticky;
  top: 12px;
  display: grid;
  gap: 12px;
}

.estate-inspection-question-main {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.estate-inspection-sidebar-card {
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.estate-inspection-sidebar-card > strong {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: #0f172a;
  font-size: .92rem;
}

.estate-inspection-sidebar-card p,
.estate-inspection-sidebar-card li {
  color: #64748b;
  font-size: .82rem;
  line-height: 1.42;
}

.estate-inspection-sidebar-card ul {
  margin: 8px 0 10px 18px;
  padding: 0;
}

.estate-inspection-sidebar-links {
  display: grid;
  gap: 6px;
}

.estate-inspection-sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 12px;
  color: #334155;
  font-size: .83rem;
  font-weight: 800;
  text-decoration: none;
  background: rgba(248, 250, 252, .82);
  border: 1px solid transparent;
}

.estate-inspection-sidebar-links a:hover,
.estate-inspection-sidebar-links a:focus {
  color: var(--estate-primary-dark);
  background: color-mix(in srgb, var(--estate-primary-soft) 90%, var(--estate-card));
  border-color: color-mix(in srgb, var(--estate-primary) 18%, transparent);
}

.estate-inspection-sidebar-links span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-inspection-sidebar-links small {
  flex: 0 0 auto;
  color: #64748b;
}

.estate-inspection-sidebar-question-links a {
  align-items: flex-start;
}

.estate-inspection-sidebar-hidden-list {
  display: grid;
  gap: 8px;
}

.estate-inspection-sidebar-hidden-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 7px 8px;
  border-radius: 12px;
  background: rgba(248, 250, 252, .88);
}

.estate-inspection-sidebar-hidden-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #475569;
  font-size: .8rem;
  font-weight: 800;
}

.estate-inspection-sidebar-hidden-item button {
  border: 1px solid color-mix(in srgb, var(--estate-primary) 20%, transparent);
  border-radius: 999px;
  background: #fff;
  color: var(--estate-primary-dark);
  font-size: .76rem;
  font-weight: 900;
  padding: 5px 8px;
  cursor: pointer;
}

.estate-inspection-sidebar-upgrade-card {
  background: linear-gradient(180deg, rgba(255, 251, 235, .92), rgba(255, 255, 255, .96));
  border-color: rgba(245, 158, 11, .28);
}

.estate-inspection-question-action-bar .estate-inspection-inline-editor > summary span,
.estate-inspection-question-action-bar .estate-inspection-tool-form button span {
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .estate-inspection-question-workspace {
    grid-template-columns: 1fr;
  }

  .estate-inspection-question-sidebar {
    position: static;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .estate-inspection-object-context {
    grid-template-columns: 1fr;
  }

  .estate-inspection-object-context-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .estate-inspection-object-context-main strong {
    max-width: 100%;
    white-space: normal;
  }

  .estate-inspection-object-title-editor {
    justify-self: stretch;
  }

  .estate-inspection-object-title-editor > summary {
    width: 100%;
    justify-content: center;
  }

  .estate-inspection-object-title-editor form {
    position: static;
    width: 100%;
  }
}


/* 1.4.7.11 - inspection navigation visibility, action icons and closing layout polish */
.estate-inspection-question-workspace.has-sidebar {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.estate-inspection-question-workspace.no-sidebar {
  display: block;
}

.estate-inspection-question-workspace.no-sidebar .estate-inspection-question-main {
  max-width: 1040px;
  margin: 0 auto;
}

.estate-inspection-plus-benefits-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(245, 158, 11, .28);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 251, 235, .92), rgba(255, 255, 255, .96));
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.estate-inspection-plus-benefits-note strong {
  display: block;
  color: #92400e;
  font-weight: 900;
}

.estate-inspection-plus-benefits-note p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: .88rem;
}

.estate-inspection-plus-benefits-note ul {
  grid-column: 1 / -1;
  margin: 0 0 0 18px;
  padding: 0;
  color: #64748b;
  font-size: .86rem;
}

.estate-inspection-question-action-bar .estate-inspection-inline-editor > summary span,
.estate-inspection-question-action-bar .estate-inspection-tool-form button span {
  max-width: 78px;
}

.estate-inspection-closing-panel {
  display: grid;
  gap: 18px;
}

.estate-inspection-closing-form {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.estate-inspection-closing-card {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.estate-inspection-closing-card .estate-inspection-field,
.estate-inspection-closing-question .estate-inspection-field {
  display: grid;
  gap: 7px;
  color: #0f172a;
  font-weight: 850;
}

.estate-inspection-closing-card .estate-inspection-input,
.estate-inspection-closing-card .estate-inspection-textarea,
.estate-inspection-closing-question .estate-inspection-textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 650;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, .02);
}

.estate-inspection-closing-card .estate-inspection-input {
  min-height: 42px;
  padding: 9px 12px;
}

.estate-inspection-closing-card .estate-inspection-textarea,
.estate-inspection-closing-question .estate-inspection-textarea {
  min-height: 96px;
  padding: 11px 12px;
  resize: vertical;
}

.estate-inspection-closing-card .estate-inspection-input:focus,
.estate-inspection-closing-card .estate-inspection-textarea:focus,
.estate-inspection-closing-question .estate-inspection-textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--estate-primary) 12%, transparent);
  border-color: color-mix(in srgb, var(--estate-primary) 38%, transparent);
}

.estate-inspection-closing-questions {
  display: grid;
  gap: 12px;
}

.estate-inspection-closing-question {
  padding: 16px 18px;
  border: 1px solid rgba(15, 23, 42, .075);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .045);
}

.estate-inspection-closing-action-bar {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .estate-inspection-question-workspace.has-sidebar {
    grid-template-columns: 1fr;
  }

  .estate-inspection-plus-benefits-note {
    grid-template-columns: 1fr;
  }
}


/* Hotfix 1.4.8: package-aware public ad suppression for PLUS/paid users. */
.estate-ad-disabled,
.estate-ad-slot.estate-ad-disabled,
.estate-home-ad-card.estate-ad-disabled,
[data-estate-frontend-ad].estate-ad-disabled {
  display: none !important;
}

/* Hotfix 1.4.8.42: owner cockpit workspace aligned with the search cockpit. */
.estate-account-dashboard.estate-owner-dashboard,
.estate-owner-dashboard {
  width: min(1840px, calc(100% - 32px));
  max-width: 1840px;
  margin: 0 auto;
}
.estate-embedded-account .estate-account-dashboard.estate-owner-dashboard,
.estate-embedded-account .estate-owner-dashboard {
  width: 100%;
  max-width: none;
  margin: 0;
}
.estate-owner-workspace {
  display: grid;
  gap: 18px;
}
.estate-owner-workspace .estate-search-cockpit-hero {
  margin: 0;
}
.estate-owner-workspace .estate-search-cockpit-hero h2 {
  font-size: clamp(1.9rem, 3vw, 3.15rem);
}
.estate-owner-workspace .estate-search-cockpit-usage span {
  overflow-wrap: anywhere;
}
.estate-owner-cockpit-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.estate-owner-cockpit-toolbar .estate-filter-chip,
.estate-owner-cockpit-toolbar .estate-sort-pill {
  min-height: 42px;
}
.estate-owner-cockpit-toolbar .estate-sort-pill {
  margin-left: auto;
}
.estate-owner-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.estate-owner-kpi-card {
  min-height: 100%;
  box-shadow: 0 14px 34px rgba(15, 35, 55, .07);
}
.estate-owner-kpi-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}
.estate-owner-kpi-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(15, 35, 55, .08);
}
.estate-owner-kpi-list dt {
  display: grid;
  gap: 2px;
  margin: 0;
  color: #526173;
  font-weight: 650;
}
.estate-owner-kpi-list dt small {
  color: #8a95a5;
  font-size: .74rem;
  font-weight: 600;
}
.estate-owner-kpi-list dd {
  margin: 0;
  color: var(--estate-primary);
  font-size: 1.75rem;
  font-weight: 850;
  letter-spacing: -.03em;
}
.estate-owner-upgrade-card {
  border-color: rgba(8, 122, 90, .18);
  background: linear-gradient(135deg, rgba(8, 122, 90, .07), #fff);
}
.estate-owner-cockpit-objects {
  padding: 18px;
}
.estate-owner-object-grid {
  grid-template-columns: repeat(5, minmax(210px, 1fr));
}
.estate-owner-object-card .estate-search-cockpit-card-media.is-dummy img {
  object-fit: cover;
  opacity: .9;
}
.estate-owner-object-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.estate-owner-object-stats div {
  display: grid;
  gap: 2px;
  padding: 8px;
  border-radius: 12px;
  background: #f7fafc;
}
.estate-owner-object-stats dt {
  margin: 0;
  color: #64748b;
  font-size: .75rem;
  font-weight: 700;
}
.estate-owner-object-stats dd {
  margin: 0;
  color: #162238;
  font-weight: 850;
}
.estate-owner-object-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.estate-owner-object-actions .estate-mini-button {
  flex: 1 1 auto;
  justify-content: center;
  text-align: center;
}
.estate-mini-button-muted {
  color: #64748b;
  background: #f8fafc;
  cursor: default;
}
.estate-mini-button-muted:hover,
.estate-mini-button-muted:focus {
  border-color: var(--estate-border);
  color: #64748b;
}
.estate-shared-cockpit-actions {
  margin-top: 14px;
}
@media (max-width: 1500px) {
  .estate-owner-object-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}
@media (max-width: 1100px) {
  .estate-owner-kpi-grid {
    grid-template-columns: 1fr;
  }
  .estate-owner-cockpit-toolbar .estate-sort-pill {
    width: 100%;
    margin-left: 0;
  }
}
@media (max-width: 980px) {
  .estate-account-dashboard.estate-owner-dashboard,
  .estate-owner-dashboard {
    width: 100%;
  }
  .estate-owner-object-grid,
  .estate-owner-object-stats {
    grid-template-columns: 1fr;
  }
  .estate-owner-object-actions .estate-mini-button {
    flex-basis: 100%;
  }
}
/* Hotfix 1.4.8.38: keep embedded expose add/edit focused and visible. */
.estate-account-dashboard.estate-expose-form-dashboard {
  width: min(1480px, calc(100% - 32px));
  max-width: 1480px;
}
.estate-embedded-account .estate-account-dashboard.estate-expose-form-dashboard {
  width: 100%;
  max-width: none;
  margin: 0;
}
.estate-expose-form-dashboard .estate-expose-form-page {
  display: block;
}
.estate-expose-form-dashboard .estate-expose-hero {
  margin-top: 0;
}

/* Hotfix 1.4.8.44/1.4.8.45: owner upgrade feature cards, quality check and action links. */
.estate-owner-quality-panel {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid rgba(15, 35, 55, .09);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(248, 250, 252, .96), #fff);
}
.estate-owner-quality-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.estate-owner-quality-head > div {
  display: grid;
  gap: 2px;
}
.estate-owner-quality-head strong {
  color: #162238;
  font-size: .95rem;
  letter-spacing: -.01em;
}
.estate-owner-quality-head small {
  color: #64748b;
  font-weight: 700;
}
.estate-owner-quality-meter {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #e5edf4;
}
.estate-owner-quality-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--estate-accent), var(--estate-primary));
}
.estate-owner-quality-panel-good .estate-owner-quality-meter span {
  background: var(--estate-primary);
}
.estate-owner-quality-panel-low .estate-owner-quality-meter span {
  background: #f97316;
}
.estate-owner-quality-missing {
  display: grid;
  gap: 6px;
}
.estate-owner-quality-missing > span {
  color: #475569;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.estate-owner-quality-missing ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: #526173;
  font-size: .86rem;
}
.estate-owner-quality-missing li {
  padding-right: 2px;
}
.estate-owner-quality-missing li > span {
  overflow-wrap: anywhere;
}
.estate-owner-quality-action {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--estate-primary) 10%, transparent);
  color: var(--estate-primary) !important;
  font-size: .72rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}
.estate-owner-quality-action:hover,
.estate-owner-quality-action:focus {
  background: color-mix(in srgb, var(--estate-primary) 16%, transparent);
  text-decoration: underline;
}
.estate-owner-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.estate-owner-feature-card {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(15, 35, 55, .08);
  border-radius: 14px;
  background: #fff;
}
.estate-owner-feature-card--locked {
  background: #f8fafc;
}
.estate-owner-feature-card--enabled {
  border-color: color-mix(in srgb, var(--estate-primary) 22%, transparent);
  background: color-mix(in srgb, var(--estate-primary-soft) 56%, var(--estate-card));
}
.estate-owner-feature-package {
  width: fit-content;
  max-width: 100%;
  padding: 3px 7px;
  border-radius: 999px;
  color: #475569;
  background: #eef2f7;
  font-size: .68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}
.estate-owner-feature-card--enabled .estate-owner-feature-package {
  color: var(--estate-primary);
  background: color-mix(in srgb, var(--estate-primary) 12%, transparent);
}
.estate-owner-feature-card strong {
  color: #162238;
  font-size: .9rem;
  line-height: 1.25;
}
.estate-owner-feature-card p {
  margin: 0;
  color: #64748b;
  font-size: .8rem;
  line-height: 1.35;
}
.estate-owner-feature-cta {
  color: var(--estate-primary);
  font-size: .78rem;
  font-weight: 850;
  text-decoration: none;
}
.estate-owner-feature-cta:hover,
.estate-owner-feature-cta:focus {
  text-decoration: underline;
}
@media (max-width: 980px) {
  .estate-owner-quality-head,
  .estate-owner-feature-grid {
    grid-template-columns: 1fr;
  }
  .estate-owner-quality-head {
    display: grid;
  }
  .estate-owner-quality-head .estate-mini-button {
    justify-content: center;
    width: 100%;
  }
  .estate-owner-quality-missing li {
    display: grid;
    gap: 4px;
  }
  .estate-owner-quality-action {
    justify-content: center;
    margin-left: 0;
    width: fit-content;
    max-width: 100%;
    white-space: normal;
  }
}

/* Hotfix 1.4.8.81 - Community Cockpit Foundation */
.estate-community-dashboard {
    gap: 16px;
}
.estate-community-hero .estate-community-summary-card {
    min-width: 260px;
    max-width: 360px;
}
.estate-community-summary-card strong {
    display: block;
    margin-bottom: 10px;
}
.estate-community-summary-list {
    margin: 0;
    display: grid;
    gap: 8px;
}
.estate-community-summary-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(15,35,55,.08);
}
.estate-community-summary-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.estate-community-summary-list dt {
    color: #3a4a60;
    font-weight: 700;
}
.estate-community-summary-list dd {
    margin: 0;
    color: #087a5a;
    font-weight: 800;
    font-size: 1.15rem;
}
.estate-community-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.estate-community-search {
    margin-left: auto;
    min-width: 260px;
}
.estate-community-search input[type="search"] {
    width: 100%;
}
.estate-community-top-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.estate-community-main-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.estate-community-muted {
    margin: -4px 0 12px;
    color: #637286;
    font-size: .94rem;
}
.estate-community-heatmap {
    display: grid;
    grid-template-columns: repeat(52, 1fr);
    grid-auto-rows: 10px;
    gap: 4px;
    align-items: center;
    overflow: hidden;
    padding: 8px 0;
}
.estate-community-heat-cell,
.estate-community-heat-legend i {
    display: inline-block;
    border-radius: 3px;
    background: #edf2f4;
    border: 1px solid rgba(15,35,55,.04);
}
.estate-community-heat-cell.level-1,
.estate-community-heat-legend .level-1 { background: #cdeee1; }
.estate-community-heat-cell.level-2,
.estate-community-heat-legend .level-2 { background: #8fd3b8; }
.estate-community-heat-cell.level-3,
.estate-community-heat-legend .level-3 { background: #48b58d; }
.estate-community-heat-cell.level-4,
.estate-community-heat-legend .level-4 { background: #087a5a; }
.estate-community-heat-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #64748b;
    font-size: .82rem;
}
.estate-community-heat-legend i {
    width: 10px;
    height: 10px;
}
.estate-community-activity-summary {
    margin-top: 12px;
    color: #637286;
}
.estate-community-activity-summary strong {
    color: #087a5a;
    font-size: 1.35rem;
}
.estate-community-trust-list {
    margin: 0;
    display: grid;
    gap: 10px;
}
.estate-community-trust-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid rgba(15,35,55,.08);
    padding: 8px 0;
}
.estate-community-trust-list dt {
    color: #3a4a60;
    font-weight: 700;
}
.estate-community-trust-list dd {
    margin: 0;
    color: #087a5a;
    font-weight: 800;
    font-size: 1.2rem;
}
.estate-community-progress {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #e7edf1;
    margin: 12px 0;
}
.estate-community-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--estate-primary), var(--estate-primary-dark));
}
.estate-community-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.estate-community-badge,
.estate-community-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef8f4;
    color: #087a5a;
    font-weight: 800;
    font-style: normal;
    font-size: .82rem;
    white-space: nowrap;
}
.estate-community-pill-review { background: #eef4ff; color: #2454ad; }
.estate-community-pill-disputed { background: #fff4df; color: #9a5a00; }
.estate-community-pill-rejected { background: #feecec; color: #9f1d1d; }
.estate-community-pill-verified { background: #e8f8ef; color: #087a5a; }
.estate-community-task-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.estate-community-task {
    border: 1px solid rgba(15,35,55,.10);
    border-radius: 16px;
    padding: 14px;
    background: #fff;
    display: grid;
    gap: 8px;
    min-height: 170px;
}
.estate-community-task-icon,
.estate-community-row-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf9f4;
    color: #087a5a;
}
.estate-community-task strong,
.estate-community-list-item strong,
.estate-community-recent-row strong,
.estate-community-project-card strong {
    color: #142033;
}
.estate-community-task p,
.estate-community-list-item p,
.estate-community-project-card p,
.estate-community-project-card small {
    margin: 0;
    color: #637286;
}
.estate-community-list {
    display: grid;
    gap: 10px;
}
.estate-community-list-item,
.estate-community-recent-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(15,35,55,.08);
    border-radius: 14px;
    background: #fff;
}
.estate-community-list-item small {
    display: block;
    color: #64748b;
    margin: 2px 0 6px;
}
.estate-community-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8eef5;
    color: #334155;
    font-weight: 800;
}
.estate-community-recent-row {
    grid-template-columns: auto minmax(0, 1.2fr) minmax(90px, .7fr) auto auto;
}
.estate-community-recent-row span,
.estate-community-recent-row small {
    color: #64748b;
}
.estate-community-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.estate-community-project-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(15,35,55,.10);
    border-radius: 16px;
    background: #fff;
    padding: 12px;
}
.estate-community-project-thumb {
    width: 92px;
    height: 58px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--estate-primary), var(--estate-primary-dark));
}
.estate-community-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    margin-left: 4px;
    background: var(--estate-primary-dark);
}
.estate-community-dot.blue { background: #4f8cff; }
.estate-community-dot.yellow { background: #f6b73c; }
.estate-community-transparency-note {
    margin: 0;
    border: 1px solid color-mix(in srgb, var(--estate-primary) 18%, transparent);
    border-radius: 14px;
    background: #eefaf6;
    color: var(--estate-primary);
    padding: 12px 16px;
}
@media (max-width: 1100px) {
    .estate-community-top-grid,
    .estate-community-main-grid,
    .estate-community-project-grid { grid-template-columns: 1fr; }
    .estate-community-task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .estate-community-search { margin-left: 0; width: 100%; }
    .estate-community-hero .estate-community-summary-card {
        min-width: 100%;
        max-width: none;
    }
}
@media (max-width: 680px) {
    .estate-community-task-grid { grid-template-columns: 1fr; }
    .estate-community-recent-row,
    .estate-community-project-card { grid-template-columns: 1fr; }
    .estate-community-heatmap { grid-template-columns: repeat(26, 1fr); }
}

/* Hotfix 1.4.8.84 - Community offer completion tasks */
.estate-community-task-featured {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.estate-community-offer-task-list {
  display: grid;
  gap: 12px;
}
.estate-community-offer-task {
  border: 1px solid color-mix(in srgb, var(--estate-primary) 16%, transparent);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}
.estate-community-offer-task-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.estate-community-offer-task-form {
  margin-top: 10px;
}
.estate-community-offer-task-form summary {
  cursor: pointer;
  font-weight: 800;
  color: #04776f;
}
.estate-community-offer-task-form form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.estate-community-offer-task-form label {
  display: grid;
  gap: 5px;
  font-weight: 700;
  color: #0b1f3a;
}
.estate-community-offer-task-form input,
.estate-community-offer-task-form textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 18%, transparent);
  border-radius: 12px;
  padding: 9px 11px;
  font: inherit;
  background: #fff;
}
.estate-community-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.estate-community-matching-source {
  margin-top: 10px;
}
.estate-alert {
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0 0 10px;
  font-weight: 700;
}
.estate-alert-success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid rgba(4, 120, 87, 0.18);
}
.estate-alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid rgba(185, 28, 28, 0.18);
}
@media (max-width: 760px) {
  .estate-community-form-row {
    grid-template-columns: 1fr;
  }
}

/* Hotfix 1.4.8.87 - Community offer completion focused map pin editor */
.estate-community-dashboard.is-editing > .estate-search-cockpit-hero,
.estate-community-dashboard.is-editing > .estate-community-toolbar,
.estate-community-dashboard.is-editing > .estate-community-top-grid,
.estate-community-dashboard.is-editing .estate-community-questions-card,
.estate-community-dashboard.is-editing .estate-community-recent-card,
.estate-community-dashboard.is-editing .estate-community-projects,
.estate-community-dashboard.is-editing .estate-community-transparency-note {
  display: none;
}
.estate-community-dashboard.is-editing .estate-community-main-grid {
  display: block;
}
.estate-community-edit-mode {
  max-width: 1220px;
  margin: 0 auto;
}
.estate-community-edit-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--estate-primary) 14%, transparent);
}
.estate-community-offer-task {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.estate-community-offer-task-preview {
  min-height: 104px;
  border-radius: 14px;
  background: #f1f5f9;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 2rem;
}
.estate-community-offer-task-preview img {
  width: 100%;
  height: 100%;
  min-height: 104px;
  object-fit: cover;
  display: block;
}
.estate-community-offer-task-body {
  min-width: 0;
}
.estate-community-task-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.estate-community-offer-editor {
  display: grid;
  gap: 16px;
}
.estate-community-offer-editor-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--estate-primary) 12%, transparent);
}
.estate-community-offer-editor-grid {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(320px, 1.15fr);
  gap: 16px;
}
.estate-community-edit-panel {
  border: 1px solid color-mix(in srgb, var(--estate-primary) 14%, transparent);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}
.estate-community-edit-panel h4 {
  margin: 0 0 10px;
  color: #0f172a;
}
.estate-community-current-data dl {
  display: grid;
  gap: 9px;
  margin: 0 0 12px;
}
.estate-community-current-data dl div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
}
.estate-community-current-data dt {
  color: #64748b;
  font-size: .9rem;
}
.estate-community-current-data dd {
  margin: 0;
  font-weight: 700;
  color: #0f172a;
  overflow-wrap: anywhere;
}
.estate-community-task-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.estate-community-task-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.estate-community-task-image-placeholder {
  display: grid;
  place-items: center;
  min-height: 140px;
  border: 1px dashed color-mix(in srgb, var(--estate-primary) 22%, transparent);
  border-radius: 14px;
  background: #f8fafc;
  font-size: 2.5rem;
}
.estate-community-source-frame {
  width: 100%;
  min-height: 360px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}
.estate-community-edit-form {
  display: grid;
  gap: 14px;
}
.estate-community-pin-map {
  min-height: 320px;
  height: 38vh;
  max-height: 440px;
  border-radius: 16px;
  overflow: hidden;
  background: #e5eef5;
}
.estate-community-pin-status {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  color: #475569;
}
.estate-community-edit-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.estate-community-edit-fields label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  color: #0f172a;
}
.estate-community-edit-fields label:last-child {
  grid-column: 1 / -1;
}
.estate-community-edit-fields input,
.estate-community-edit-fields textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 18%, transparent);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}
.estate-community-gamification-success {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(5, 150, 105, 0.22);
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 62%, #fef3c7 100%);
}
.estate-community-success-icon {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  font-size: 2.2rem;
}
@media (max-width: 860px) {
  .estate-community-offer-task,
  .estate-community-offer-editor-grid,
  .estate-community-edit-fields,
  .estate-community-gamification-success {
    grid-template-columns: 1fr;
  }
  .estate-community-source-frame {
    min-height: 260px;
  }
}

/* Hotfix 1.4.8.88 - focused community offer editor with address-to-pin workflow */
.estate-community-edit-title {
  margin-top: 0;
}
.estate-community-focused-editor-grid {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(360px, 1.15fr);
  gap: 18px;
  align-items: start;
}
.estate-community-object-column,
.estate-community-work-column {
  display: grid;
  gap: 14px;
}
.estate-community-object-card,
.estate-community-issue-checklist {
  border: 1px solid color-mix(in srgb, var(--estate-primary) 14%, transparent);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}
.estate-community-object-media {
  position: relative;
  min-height: 230px;
  background: #f1f5f9;
}
.estate-community-object-media > img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}
.estate-community-object-placeholder {
  min-height: 250px;
  display: grid;
  place-items: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #f8fafc, #e0f2fe);
}
.estate-community-object-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff7ed;
  color: #c2410c;
  font-weight: 800;
  font-size: .84rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}
.estate-community-object-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px 0;
}
.estate-community-object-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.estate-community-object-body {
  padding: 14px 16px 16px;
}
.estate-community-object-ref {
  display: block;
  color: #64748b;
  margin-bottom: 6px;
}
.estate-community-object-body h4 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 1.14rem;
  line-height: 1.25;
}
.estate-community-object-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: #475569;
  font-size: .92rem;
  margin-bottom: 12px;
}
.estate-community-available-dot {
  color: #047857;
  font-weight: 700;
}
.estate-community-object-price {
  display: block;
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 12px;
}
.estate-community-object-source {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: #64748b;
  font-size: .92rem;
}
.estate-community-object-source a {
  color: #047857;
  font-weight: 800;
  text-decoration: none;
}
.estate-community-issue-checklist {
  padding: 14px 16px;
}
.estate-community-issue-checklist h4 {
  margin: 0 0 10px;
  color: #0f172a;
}
.estate-community-issue-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
}
.estate-community-issue-row:last-of-type {
  border-bottom: 0;
}
.estate-community-issue-row span {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 900;
}
.estate-community-issue-row.is-missing span {
  background: #fff7ed;
  color: #ea580c;
}
.estate-community-issue-row.is-complete span {
  background: #ecfdf5;
  color: #047857;
}
.estate-community-issue-row em {
  border-radius: 999px;
  padding: 4px 8px;
  font-style: normal;
  font-size: .78rem;
  font-weight: 800;
  background: #f8fafc;
  color: #64748b;
}
.estate-community-issue-row.is-missing em {
  background: #fff7ed;
  color: #c2410c;
}
.estate-community-focus-head {
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  border: 1px solid color-mix(in srgb, var(--estate-primary) 12%, transparent);
  border-radius: 18px;
  padding: 14px 16px;
}
.estate-community-task-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.estate-community-field-wide {
  grid-column: 1 / -1;
}
.estate-community-address-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: stretch;
}
.estate-community-address-action-row .estate-mini-button {
  white-space: nowrap;
  align-self: stretch;
}
.estate-community-address-search-status {
  color: #64748b;
  font-weight: 600;
}
.estate-community-address-search-status[data-tone="success"] {
  color: #047857;
}
.estate-community-address-search-status[data-tone="error"] {
  color: #b91c1c;
}
.estate-community-source-text-panel dl {
  display: grid;
  gap: 8px;
  margin: 0;
}
.estate-community-source-text-panel dl div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 10px;
}
.estate-community-source-text-panel dt {
  color: #64748b;
  font-weight: 800;
}
.estate-community-source-text-panel dd {
  margin: 0;
  color: #0f172a;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.estate-community-edit-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 12px;
}
.estate-community-pin-map-focus {
  outline: 3px solid color-mix(in srgb, var(--estate-focus) 42%, transparent);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--estate-focus) 12%, transparent);
}
@media (max-width: 980px) {
  .estate-community-focused-editor-grid,
  .estate-community-task-fields,
  .estate-community-address-action-row,
  .estate-community-edit-actions {
    grid-template-columns: 1fr;
  }
}

/* Community offer editor: offer classifier and backend comparison */
.estate-community-toggle-panel {
  border: 1px solid color-mix(in srgb, var(--estate-primary) 16%, transparent);
  border-radius: 16px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--estate-primary-soft) 72%, var(--estate-card)), var(--estate-card));
  padding: 14px;
}
.estate-community-segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}
.estate-community-segmented label {
  margin: 0;
  cursor: pointer;
}
.estate-community-segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.estate-community-segmented span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 18%, transparent);
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.88rem;
}
.estate-community-segmented input:checked + span {
  background: var(--estate-primary);
  border-color: var(--estate-primary);
  color: #fff;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--estate-primary) 18%, transparent);
}
.estate-community-classifier-fields {
  margin-top: 8px;
}
.estate-community-classifier-hint {
  display: block;
  margin-top: 8px;
  color: #64748b;
}
.estate-community-classifier-hint[data-tone="info"] {
  color: #0369a1;
}
.estate-community-classifier-hint[data-tone="success"] {
  color: #047857;
}

/* Hotfix 1.4.8.92 - Community next task batches and submission status */
.estate-community-task-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0;
  padding: 4px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--estate-primary) 8%, transparent);
  color: var(--estate-primary);
  font-size: 0.82rem;
  font-weight: 700;
}
.estate-community-next-tasks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--estate-primary) 12%, transparent);
}

/* Hotfix 1.4.8.94 - submitted community task visibility */
.estate-community-submitted-tasks {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 16%, transparent);
  border-radius: 16px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--estate-primary-soft) 82%, var(--estate-card)), var(--estate-card));
}
.estate-community-submitted-tasks h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--estate-primary);
}
.estate-community-submitted-task-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.estate-community-submitted-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 14%, transparent);
  border-radius: 12px;
  background: #fff;
}
.estate-community-submitted-task small {
  display: block;
  margin-top: 3px;
  color: #64748b;
}
.estate-community-task-state-sent {
  background: rgba(14, 165, 233, 0.1);
  color: #0369a1;
}

/* Hotfix 1.4.8.95 - compact community task cards without broken thumbnails */
.estate-community-offer-task.estate-community-offer-task-no-image {
  display: block;
  padding: 14px 16px;
}
.estate-community-task-address {
  margin: 6px 0 0;
  color: #0f172a;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.estate-community-price-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 8px 0 0;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fef08a;
  color: #713f12;
  font-weight: 900;
  border: 1px solid rgba(202, 138, 4, 0.28);
}
.estate-community-submitted-tasks {
  margin: 12px 0 14px;
  padding: 12px;
  border-radius: 16px;
  background: #ecfdf5;
  border: 1px solid rgba(5, 150, 105, 0.18);
}
.estate-community-submitted-tasks h3 {
  margin: 0 0 5px;
  color: #047857;
  font-size: 1rem;
}
.estate-community-submitted-task-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.estate-community-submitted-task-visible {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(5, 150, 105, 0.16);
}
.estate-community-task-state-sent {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #dcfce7;
  color: #047857;
  font-weight: 900;
  border: 1px solid rgba(5, 150, 105, 0.18);
}
.estate-community-task-state-empty {
  margin: 8px 0 0;
  color: #64748b;
}

/* Hotfix 1.4.8.96 - real Community Cockpit points dashboard */
.estate-community-contribution-table {
  display: grid;
  gap: .45rem;
}
.estate-community-contribution-row {
  display: grid;
  grid-template-columns: minmax(7.5rem, .9fr) minmax(12rem, 2fr) minmax(6rem, .8fr) minmax(4rem, .5fr);
  align-items: center;
  gap: .7rem;
  padding: .75rem .85rem;
  border: 1px solid rgba(12, 116, 102, .12);
  border-radius: 14px;
  background: #fff;
}
.estate-community-contribution-head {
  background: rgba(12, 116, 102, .06);
  color: #31556a;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.estate-community-contribution-row strong {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}
.estate-community-contribution-row strong small {
  color: #60758a;
  font-weight: 500;
}
.estate-community-points-cell {
  justify-self: end;
  font-weight: 800;
  color: #00796b;
}
.estate-community-heat-cell[title] {
  cursor: help;
}
@media (max-width: 760px) {
  .estate-community-contribution-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .estate-community-contribution-head {
    display: none;
  }
  .estate-community-points-cell {
    justify-self: start;
  }
}

/* Hotfix 1.4.9 - keep submitted community history collapsed below active tasks */
.estate-community-submitted-tasks-collapsed {
  margin: 14px 0 8px;
  padding: 0;
  overflow: hidden;
}
.estate-community-submitted-tasks-collapsed summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  color: #047857;
  font-weight: 900;
  list-style: none;
}
.estate-community-submitted-tasks-collapsed summary::-webkit-details-marker {
  display: none;
}
.estate-community-submitted-tasks-collapsed summary::before {
  content: '▸';
  margin-right: 2px;
  transition: transform 0.16s ease;
}
.estate-community-submitted-tasks-collapsed[open] summary::before {
  transform: rotate(90deg);
}
.estate-community-submitted-tasks-collapsed summary span {
  flex: 1;
}
.estate-community-submitted-tasks-collapsed summary strong {
  padding: 4px 9px;
  border-radius: 999px;
  background: #dcfce7;
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.18);
  font-size: 0.82rem;
}
.estate-community-submitted-tasks-collapsed > p,
.estate-community-submitted-tasks-collapsed > .estate-community-submitted-task-list,
.estate-community-submitted-tasks-collapsed > .estate-community-task-state-empty {
  margin-left: 14px;
  margin-right: 14px;
}
.estate-community-submitted-tasks-collapsed > .estate-community-task-state-empty,
.estate-community-submitted-tasks-collapsed > .estate-community-submitted-task-list {
  margin-bottom: 14px;
}

/* Community residential project source suggestions (1.4.9.9) */
.estate-community-project-card-editable {
    align-items: flex-start;
}
.estate-community-project-main small {
    display: block;
    margin-top: 2px;
}
.estate-community-project-suggestion {
    min-width: 190px;
}
.estate-community-project-suggestion > summary {
    list-style: none;
    cursor: pointer;
    text-align: center;
}
.estate-community-project-suggestion > summary::-webkit-details-marker {
    display: none;
}
.estate-community-project-suggestion[open] {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(15,35,55,.08);
    padding-top: 12px;
}
.estate-community-project-suggestion-form {
    display: grid;
    gap: 10px;
}
.estate-community-project-suggestion-form label {
    display: grid;
    gap: 4px;
    font-weight: 700;
    color: #0f2337;
}
.estate-community-project-suggestion-form label span,
.estate-community-project-optional summary {
    font-size: .82rem;
    color: #64748b;
    font-weight: 700;
}
.estate-community-project-suggestion-form input,
.estate-community-project-suggestion-form select,
.estate-community-project-suggestion-form textarea {
    width: 100%;
    border: 1px solid rgba(15,35,55,.14);
    border-radius: 10px;
    padding: 9px 10px;
    font: inherit;
}
.estate-community-project-optional {
    border: 1px dashed rgba(15,35,55,.18);
    border-radius: 12px;
    padding: 10px;
}
.estate-community-project-optional summary {
    cursor: pointer;
    margin-bottom: 8px;
}


/* Hotfix 1.4.9.11 - Community Cockpit residential project work column */
.estate-community-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.estate-community-card-head h2 {
  margin-bottom: 3px;
}
.estate-community-projects-card {
  min-width: 0;
}
.estate-community-project-filter {
  margin: 10px 0 12px;
}
.estate-community-project-filter input {
  width: 100%;
  border: 1px solid rgba(15,35,55,.12);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: #142033;
  font: inherit;
}
.estate-community-project-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.estate-community-project-fact-card {
  position: relative;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 12px;
  align-items: start;
}
.estate-community-project-fact-card .estate-community-project-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.25rem;
}
.estate-community-project-favorite {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 18%, transparent);
  border-radius: 999px;
  background: #fff;
  color: var(--estate-primary);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(15,35,55,.08);
}
.estate-community-project-favorite.is-active {
  background: #ecfdf5;
  color: #dc2626;
}
.estate-community-project-fact-card .estate-community-project-main {
  padding-right: 24px;
}
.estate-community-project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 10px 0 0;
}
.estate-community-project-facts div {
  border: 1px solid rgba(15,35,55,.08);
  border-radius: 10px;
  background: #f8fafc;
  padding: 7px 8px;
}
.estate-community-project-facts dt {
  font-size: .72rem;
  color: #64748b;
  font-weight: 800;
  line-height: 1.2;
}
.estate-community-project-facts dd {
  margin: 3px 0 0;
  color: #0f2337;
  font-weight: 900;
  font-size: .88rem;
}
.estate-community-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.estate-community-project-actions .estate-mini-button {
  padding: 7px 9px;
}
.estate-community-map-button {
  white-space: nowrap;
}
.estate-community-activity-trust {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(15,35,55,.10);
}
.estate-community-activity-trust h2 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.estate-community-recent-collapsed {
  padding: 0;
  overflow: hidden;
}
.estate-community-recent-collapsed > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  color: #0f2337;
  font-weight: 900;
}
.estate-community-recent-collapsed > summary::-webkit-details-marker {
  display: none;
}
.estate-community-recent-collapsed > summary::before {
  content: '▸';
  color: #047857;
  transition: transform .16s ease;
}
.estate-community-recent-collapsed[open] > summary::before {
  transform: rotate(90deg);
}
.estate-community-recent-collapsed > summary span {
  flex: 1;
}
.estate-community-recent-collapsed > summary strong {
  padding: 4px 9px;
  border-radius: 999px;
  background: #dcfce7;
  color: #047857;
  border: 1px solid rgba(5,150,105,.18);
  font-size: .82rem;
}
.estate-community-recent-collapsed > .estate-community-contribution-table,
.estate-community-recent-collapsed > .estate-community-muted {
  margin: 0 14px 14px;
}
@media (max-width: 1280px) {
  .estate-community-project-grid-compact {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1100px) {
  .estate-community-card-head {
    flex-direction: column;
  }
}

/* Hotfix 1.4.9.12 - Community residential project map page */
.estate-community-project-map-page {
  gap: 16px;
}
.estate-community-project-map-shell {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.estate-community-project-map-filter,
.estate-community-project-map-main {
  border: 1px solid rgba(15,35,55,.10);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15,35,55,.06);
}
.estate-community-project-map-filter {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: calc(100vh - 180px);
  overflow: auto;
}
.estate-community-project-map-filter form {
  display: grid;
  gap: 10px;
}
.estate-community-project-map-filter label {
  display: grid;
  gap: 6px;
  color: #0f2337;
  font-weight: 800;
}
.estate-community-project-map-filter input[type="search"] {
  width: 100%;
  border: 1px solid rgba(15,35,55,.14);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}
.estate-community-project-map-check {
  display: flex !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px !important;
}
.estate-community-project-map-check input {
  width: auto;
}
.estate-community-project-map-list {
  display: grid;
  gap: 10px;
}
.estate-community-project-map-item {
  position: relative;
  padding: 12px 42px 12px 12px;
  border: 1px solid rgba(15,35,55,.10);
  border-radius: 14px;
  background: #f8fafc;
  display: grid;
  gap: 5px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.estate-community-project-map-item.is-highlighted,
.estate-community-project-map-item:hover {
  border-color: color-mix(in srgb, var(--estate-primary) 32%, transparent);
  background: #eefaf6;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--estate-primary) 10%, transparent);
}
.estate-community-project-map-item strong {
  color: #0f2337;
  padding-right: 8px;
}
.estate-community-project-map-item small {
  color: #64748b;
}
.estate-community-project-map-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 7px 0 0;
}
.estate-community-project-map-facts div {
  background: #fff;
  border: 1px solid rgba(15,35,55,.08);
  border-radius: 10px;
  padding: 6px 8px;
}
.estate-community-project-map-facts dt {
  color: #64748b;
  font-size: .72rem;
  font-weight: 800;
}
.estate-community-project-map-facts dd {
  margin: 2px 0 0;
  color: #0f2337;
  font-weight: 900;
}
.estate-community-project-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}
.estate-community-project-map-main {
  padding: 12px;
  min-height: 680px;
  display: grid;
  grid-template-rows: minmax(520px, 1fr) auto;
  gap: 12px;
}
.estate-community-project-map {
  min-height: 620px;
  border-radius: 16px;
  overflow: hidden;
  background: #eef2f7;
  position: relative;
}
.estate-community-project-map-empty {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: 340px;
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(15,35,55,.12);
  padding: 12px 14px;
  color: #64748b;
  font-weight: 700;
  z-index: 2;
}
.estate-community-project-map-popup {
  display: grid;
  gap: 4px;
  min-width: 210px;
}
.estate-community-project-map-popup strong {
  color: #0f2337;
}
.estate-community-project-map-popup small {
  display: block;
  color: #64748b;
}
@media (max-width: 1100px) {
  .estate-community-project-map-shell {
    grid-template-columns: 1fr;
  }
  .estate-community-project-map-filter {
    max-height: none;
  }
  .estate-community-project-map-main {
    min-height: 540px;
  }
  .estate-community-project-map {
    min-height: 480px;
  }
}

/* Hotfix 1.4.9.13 - Community project detail page */
.estate-community-project-detail {
  gap: 1rem;
}
.estate-community-project-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.estate-community-project-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: flex-end;
}
.estate-community-project-overview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: .75rem 0 0;
}
.estate-community-project-overview-list div {
  display: grid;
  grid-template-columns: minmax(10rem, 42%) 1fr;
  gap: .8rem;
  padding: .6rem .35rem;
  border-bottom: 1px solid rgba(15, 23, 42, .09);
}
.estate-community-project-overview-list dt {
  font-weight: 700;
  color: #233348;
}
.estate-community-project-overview-list dd {
  margin: 0;
  color: #0f172a;
}
.estate-community-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  margin-left: .35rem;
  border-radius: 999px;
  background: rgba(0, 128, 105, .1);
  color: var(--estate-primary);
  font-size: .75rem;
  font-weight: 800;
}
.estate-community-project-source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}
.estate-community-project-source-card {
  display: grid;
  gap: .45rem;
  padding: .85rem;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 1rem;
  background: #fff;
}
.estate-community-project-source-card > span {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0, 128, 105, .08);
  color: var(--estate-primary);
  font-weight: 800;
}
.estate-community-project-source-card strong {
  color: #111827;
}
.estate-community-project-source-card small {
  min-height: 2.2rem;
  color: #516179;
}
.estate-community-project-help-facts {
  margin-top: .85rem;
}
.estate-community-project-kind-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .85rem 0;
}
.estate-community-project-kind-row label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .7rem;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: .7rem;
  background: #f8fafc;
  font-weight: 700;
  cursor: pointer;
}
.estate-community-project-kind-row label:has(input:checked) {
  background: var(--estate-primary);
  color: #fff;
  border-color: var(--estate-primary);
}
.estate-community-project-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: .75rem;
}
.estate-community-project-form-grid label {
  display: grid;
  gap: .35rem;
  font-weight: 700;
}
.estate-community-project-form-grid input,
.estate-community-project-form-grid textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, .13);
  border-radius: .75rem;
  padding: .7rem .85rem;
  background: #fff;
}
.estate-community-project-optional {
  margin-top: .75rem;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: .85rem;
  padding: .75rem;
  background: #f8fafc;
}
.estate-community-project-optional summary {
  cursor: pointer;
  font-weight: 800;
  color: #516179;
}
.estate-community-project-optional .estate-community-project-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: .75rem;
}
.estate-community-project-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: .85rem;
}
.estate-community-project-discussion-list {
  display: grid;
  gap: .55rem;
}
.estate-community-project-discussion-list article {
  padding: .65rem .75rem;
  border-bottom: 1px solid rgba(15, 23, 42, .09);
}
.estate-community-project-discussion-list strong,
.estate-community-project-discussion-list small {
  display: block;
}
.estate-community-project-discussion-list small {
  color: #64748b;
}
.estate-community-project-discussion-list p {
  margin: .35rem 0 0;
  color: #334155;
}
@media (max-width: 980px) {
  .estate-community-project-source-grid,
  .estate-community-project-overview-list,
  .estate-community-project-form-grid,
  .estate-community-project-optional .estate-community-project-form-grid {
    grid-template-columns: 1fr;
  }
  .estate-community-project-overview-list div {
    grid-template-columns: 1fr;
    gap: .2rem;
  }
  .estate-community-project-hero-actions {
    justify-content: flex-start;
  }
}

/* 1.4.9.20 community project map and favorites */
.estate-community-project-map-item.is-active-project { border-color: var(--estate-primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--estate-primary) 12%, transparent); }
.estate-project-favorites-title { margin-top: 1.5rem; }


/* Hotfix 1.4.9.22 - compact project facts and suggestion inputs */
.estate-community-project-actions,
.estate-community-project-map-actions {
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}
.estate-community-project-actions .estate-mini-button,
.estate-community-project-map-actions .estate-mini-button {
  flex: 0 1 auto;
  min-height: 40px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
}
.estate-community-project-data-suggestion-grid {
  margin-bottom: 6px;
}
.estate-community-input-with-unit {
  display: flex;
  align-items: center;
  gap: 8px;
}
.estate-community-input-with-unit input {
  min-width: 0;
  flex: 1;
}
.estate-community-input-with-unit > span {
  color: #475569;
  font-weight: 800;
}
.estate-community-project-data-hint {
  margin-top: 0;
}
@media (max-width: 520px) {
  .estate-community-project-actions,
  .estate-community-project-map-actions {
    gap: 10px;
  }
  .estate-community-project-actions .estate-mini-button,
  .estate-community-project-map-actions .estate-mini-button {
    font-size: .82rem;
    padding: 8px;
  }
}

/* 1.4.9.32 - user-friendly favourites cockpit */
.estate-favorites-ux{display:grid;gap:22px}.estate-favorites-head{align-items:flex-start}.estate-favorites-summary{min-width:120px;padding:14px 18px;border:1px solid var(--estate-border);border-radius:18px;background:#f8fbfd;text-align:center}.estate-favorites-summary strong,.estate-favorites-summary span{display:block}.estate-favorites-summary strong{font-size:1.8rem;color:var(--estate-primary)}.estate-favorites-summary span{color:var(--estate-muted);font-size:.85rem}.estate-favorites-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:6px;border:1px solid var(--estate-border);border-radius:16px;background:#f8fafc}.estate-favorites-tabs a{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border-radius:12px;color:var(--estate-primary);font-weight:800;text-decoration:none}.estate-favorites-tabs a span{min-width:24px;padding:2px 7px;border-radius:999px;background:#e8eef2;text-align:center;font-size:.78rem}.estate-favorites-tabs a.is-active{background:#fff;box-shadow:0 3px 12px rgba(15,42,58,.09)}.estate-favorites-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.estate-favorite-card{overflow:hidden;border:1px solid var(--estate-border);border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(23,49,64,.06)}.estate-favorite-card-media{position:relative;min-height:210px;background:linear-gradient(145deg,#e7eef2,#d5e2e8);overflow:hidden}.estate-favorite-card-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:2}.estate-favorite-image-fallback{position:absolute;inset:0;display:grid;place-items:center;color:#8096a3;font-size:4rem}.estate-favorite-status{position:absolute;z-index:3;left:14px;top:14px;padding:7px 10px;border-radius:999px;font-weight:900;font-size:.76rem;box-shadow:0 4px 10px rgba(0,0,0,.12)}.estate-favorite-status-online{background:#dff5e7;color:#18613b}.estate-favorite-status-offline,.estate-favorite-status-removed{background:#fff1df;color:#985700}.estate-favorite-card-body{display:grid;gap:12px;padding:18px}.estate-favorite-card-title-row{display:flex;justify-content:space-between;gap:12px}.estate-favorite-card h3{margin:0;font-size:1.2rem}.estate-favorite-location{margin:5px 0 0;color:var(--estate-muted)}.estate-favorite-heart{color:#e03d46;font-size:1.5rem}.estate-favorite-facts{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.estate-favorite-facts>*{padding-right:9px;border-right:1px solid var(--estate-border)}.estate-favorite-facts>*:last-child{border-right:0}.estate-favorite-price-change{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:12px 14px;border-radius:14px}.estate-favorite-price-change strong{grid-column:1}.estate-favorite-price-change span{grid-column:2;grid-row:1;font-weight:900}.estate-favorite-price-change small{grid-column:1/-1}.estate-favorite-price-change.is-down{background:#e8f7ee;color:#17643a}.estate-favorite-price-change.is-up{background:#fff1e2;color:#975500}.estate-favorite-tracking-note,.estate-favorite-availability-note{margin:0;padding:10px 12px;border-radius:12px;background:#f7f9fa;color:var(--estate-muted);font-size:.9rem}.estate-favorite-card.is-offline .estate-favorite-card-media img,.estate-favorite-card.is-removed .estate-favorite-card-media img{filter:grayscale(.65);opacity:.78}.estate-mini-button-danger{color:#a53232}.estate-favorite-project-section{display:grid;gap:16px;padding-top:10px;border-top:1px solid var(--estate-border)}.estate-favorite-project-media{min-height:150px}.estate-favorite-project-media .estate-favorite-image-fallback{font-size:3rem}.estate-favorites-empty{text-align:center;padding:34px}
@media(max-width:860px){.estate-favorites-grid{grid-template-columns:1fr}.estate-favorites-summary{width:100%}}@media(max-width:560px){.estate-favorite-card-media{min-height:180px}.estate-favorite-actions{display:grid;width:100%}.estate-favorite-actions>*{width:100%}.estate-favorite-actions .estate-mini-button{width:100%;text-align:center}.estate-favorites-tabs{display:grid;grid-template-columns:1fr 1fr}.estate-favorites-tabs a{justify-content:space-between}}


/* 1.4.9.33 - favourites workspace uses the same responsive width treatment as the Community Cockpit. */
.estate-account-dashboard.estate-favorites-dashboard {
  width: min(1840px, calc(100% - 32px));
  max-width: 1840px;
  margin-right: auto;
  margin-left: auto;
}
.estate-embedded-account .estate-account-dashboard.estate-favorites-dashboard {
  width: 100%;
  max-width: none;
  margin: 0;
}
.estate-favorites-dashboard .estate-favorites-ux {
  width: 100%;
  min-width: 0;
}
.estate-favorites-dashboard .estate-favorites-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1240px) {
  .estate-favorites-dashboard .estate-favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .estate-account-dashboard.estate-favorites-dashboard {
    width: 100%;
  }
  .estate-favorites-dashboard .estate-favorites-grid {
    grid-template-columns: 1fr;
  }
}

/* Hotfix 1.4.9.34: public availability state for favorite cards */
.estate-favorite-status-unknown{background:#eef2f6;color:#526775}.estate-favorite-card.is-unknown .estate-favorite-card-media img{filter:grayscale(.25);opacity:.88}

/* Hotfix 1.4.9.35: complete Favorites cockpit controls and price comparison */
.estate-favorites-toolbar{display:grid;gap:14px;padding:16px;border:1px solid var(--estate-border);border-radius:18px;background:#f8fbfc}.estate-favorites-toolbar-group{display:grid;gap:7px}.estate-favorites-toolbar-label{font-size:.82rem;font-weight:900;color:var(--estate-muted);text-transform:uppercase;letter-spacing:.04em}.estate-favorites-tabs button{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border:0;border-radius:12px;background:transparent;color:var(--estate-primary);font:inherit;font-weight:800;cursor:pointer}.estate-favorites-tabs button span{min-width:24px;padding:2px 7px;border-radius:999px;background:#e8eef2;text-align:center;font-size:.78rem}.estate-favorites-tabs button.is-active{background:#fff;box-shadow:0 3px 12px rgba(15,42,58,.09)}.estate-favorites-toolbar-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr)) minmax(220px,1.4fr);gap:12px}.estate-favorites-toolbar-grid label{display:grid;gap:6px;font-size:.82rem;font-weight:800;color:var(--estate-muted)}.estate-favorites-toolbar-grid select,.estate-favorites-toolbar-grid input{width:100%;min-height:42px;border:1px solid var(--estate-border);border-radius:11px;background:#fff;padding:8px 11px;color:var(--estate-text);font:inherit}.estate-favorites-results{margin:0;color:var(--estate-muted);font-size:.9rem}.estate-favorite-price-comparison{display:grid;grid-template-columns:1fr 1fr;gap:8px}.estate-favorite-price-comparison>div{display:grid;gap:3px;padding:10px 12px;border:1px solid var(--estate-border);border-radius:12px;background:#fbfcfd}.estate-favorite-price-comparison span{font-size:.76rem;color:var(--estate-muted)}.estate-favorite-price-comparison strong{font-size:.95rem}.estate-favorite-price-change.is-same{display:block;background:#f1f5f7;color:#46606d}.estate-favorites-filter-empty{grid-column:1/-1}.estate-favorite-card[hidden],.estate-favorite-project-section[hidden]{display:none!important}
@media(max-width:1100px){.estate-favorites-toolbar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.estate-favorites-toolbar-grid{grid-template-columns:1fr}.estate-favorites-tabs{grid-template-columns:1fr}.estate-favorites-tabs button{justify-content:space-between}.estate-favorite-price-comparison{grid-template-columns:1fr}}
.estate-favorite-observed-since{margin:2px 0 0;color:var(--estate-muted);font-size:.82rem}.estate-favorite-price-compact{display:flex;align-items:center;gap:7px;color:var(--estate-muted);font-size:.82rem}.estate-favorite-price-compact:before{content:"✓";color:#1d7a57;font-weight:900}.estate-favorite-snapshot-form{margin:2px 0 0}.estate-favorite-snapshot-form .estate-mini-button{width:100%;justify-content:center}


/* Favorites recommendations 1.4.9.36 */
.estate-favorites-recommendations{margin-top:1.25rem;padding:1rem;border:1px solid #cfe7dc;border-radius:16px;background:#f8fcfa}.estate-recommendation-rotation{font-size:.8rem;color:#607080}.estate-recommendations-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.estate-recommendation-card{min-width:0;border:1px solid #dfe7e4;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 8px rgba(13,77,65,.05)}.estate-recommendation-media{position:relative;aspect-ratio:16/8;background:#edf3f1;overflow:hidden}.estate-recommendation-media img{width:100%;height:100%;object-fit:cover}.estate-recommendation-media .estate-favorite-status{position:absolute;top:8px;right:8px}.estate-recommendation-body{padding:10px}.estate-recommendation-body h4{margin:0 0 3px;font-size:.95rem}.estate-recommendation-reasons{font-size:.78rem;color:#52645f;min-height:2.4em}.estate-recommendation-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.estate-recommendation-actions form{margin:0}.estate-recommendation-actions .estate-mini-button{font-size:.78rem;padding:7px 9px}
@media(max-width:1100px){.estate-recommendations-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.estate-recommendation-card:nth-child(n+4){display:none}}
@media(max-width:680px){.estate-recommendations-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.estate-recommendation-card:nth-child(n+3){display:none}.estate-favorites-recommendations{padding:.75rem}.estate-recommendation-actions{display:grid}.estate-recommendation-actions .estate-mini-button{width:100%}}


/* 1.4.9.37 recommendation preference equalizer */
.estate-recommendation-preferences { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--estate-border, #dbe4ea); }
.estate-weight-slider { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(180px, 2fr) 3rem; gap: .8rem; align-items: center; margin: .8rem 0; }
.estate-weight-slider input[type="range"] { width: 100%; accent-color: var(--estate-primary); }
.estate-weight-slider output { font-weight: 700; text-align: right; }
@media (max-width: 640px) { .estate-weight-slider { grid-template-columns: 1fr 3rem; } .estate-weight-slider input[type="range"] { grid-column: 1 / -1; grid-row: 2; } }

/* 1.4.9.38 residential project favorites */
.estate-favorite-project-media{min-height:210px}.estate-favorite-project-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.estate-favorite-project-kpis>div{display:grid;gap:3px;padding:12px 14px;border:1px solid var(--estate-border);border-radius:14px;background:#f8fbfc}.estate-favorite-project-kpis strong{font-size:1.25rem;color:var(--estate-primary)}.estate-favorite-project-kpis span{font-size:.8rem;color:var(--estate-muted);font-weight:800}.estate-favorite-project-card .estate-favorite-actions{display:flex;flex-wrap:wrap;gap:8px}.estate-favorite-project-card .estate-favorite-actions button{font:inherit}


/* Favorites cockpit polish 1.4.9.39 */
.estate-favorites-workspace{display:grid;grid-template-columns:minmax(230px,280px) minmax(0,1fr);gap:18px;align-items:start}.estate-favorites-sidebar{position:sticky;top:12px;display:grid;gap:14px}.estate-favorites-toolbar{padding:14px}.estate-favorites-toolbar-grid{grid-template-columns:1fr}.estate-favorites-tabs{display:grid;grid-template-columns:1fr}.estate-favorites-tabs button{justify-content:space-between;width:100%}.estate-favorites-tip{padding:14px;border:1px solid #cfe0ee;border-radius:14px;background:#f7fbff;color:#4c6472}.estate-favorites-tip p{margin:.35rem 0 0;font-size:.86rem}.estate-favorites-content{min-width:0;display:grid;gap:18px}.estate-favorite-card{display:flex;flex-direction:column;height:100%}.estate-favorite-card-body{display:flex;flex-direction:column;flex:1}.estate-favorite-actions{margin-top:auto}.estate-favorite-project-media{min-height:210px}.estate-favorite-project-kpis{display:flex;gap:10px;flex-wrap:wrap}.estate-favorite-project-kpis>div{min-width:110px;padding:10px 12px;border:1px solid var(--estate-border);border-radius:12px;background:#fbfcfd}.estate-favorite-project-kpis strong,.estate-favorite-project-kpis span{display:block}.estate-favorite-project-missing{margin:0;padding:9px 11px;border-radius:10px;background:#f4f6f7;color:var(--estate-muted);font-size:.84rem}.estate-favorites-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.estate-favorites-kpis>div{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;align-items:center;padding:15px;border:1px solid #cfe0ee;border-radius:14px;background:#f8fbff}.estate-favorites-kpis strong{grid-row:1/3;font-size:1.65rem;color:var(--estate-primary)}.estate-favorites-kpis span{font-size:.85rem;color:var(--estate-muted)}.estate-favorites-toast{position:fixed;left:50%;bottom:24px;z-index:80;transform:translateX(-50%);display:flex;align-items:center;gap:16px;padding:12px 16px;border-radius:999px;background:#173b4d;color:#fff;box-shadow:0 12px 35px rgba(0,0,0,.2)}.estate-favorites-toast[hidden]{display:none}.estate-favorites-toast button{border:0;background:transparent;color:#8ee8cb;font-weight:900;cursor:pointer}.estate-favorites-reset{width:100%}.estate-recommendation-reasons{min-height:auto}.estate-recommendation-body{display:flex;flex-direction:column;height:calc(100% - 0px)}.estate-recommendation-actions{margin-top:auto}
@media(max-width:1050px){.estate-favorites-workspace{grid-template-columns:1fr}.estate-favorites-sidebar{position:static}.estate-favorites-toolbar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.estate-favorites-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.estate-favorites-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.estate-favorites-toolbar-grid,.estate-favorites-tabs,.estate-favorites-kpis{grid-template-columns:1fr}.estate-favorite-project-media{min-height:180px}.estate-favorites-toast{left:14px;right:14px;bottom:14px;transform:none;justify-content:space-between;border-radius:14px}}
