:root {
  --estate-bg: #f8fafc;
  --estate-card: #ffffff;
  --estate-text: #17202a;
  --estate-muted: #64748b;
  --estate-primary: #003899;
  --estate-primary-dark: var(--estate-primary);
  --estate-primary-soft: #dcebf2;
  --estate-accent: #f59e0b;
  --estate-warning: #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;
  /* Hotfix 1.6.11.7.2 - shared semantic color system derived from Search UX */
  --estate-info-surface: #f2f9ff;
  --estate-info-surface-soft: #fbfdff;
  --estate-info-border: #cfe4f2;
  --estate-info-border-strong: #9fd0ec;
  --estate-info-badge: #dff1ff;
  --estate-info-text: #086fb4;
  --estate-state-active: #087a5a;
  --estate-state-active-bg: rgba(8, 122, 90, .07);
  --estate-state-active-border: rgba(8, 122, 90, .42);
  --estate-state-active-badge: rgba(8, 122, 90, .12);
  --estate-neutral-bg: #f8fafc;
  --estate-neutral-surface: #f8fafc;
  --estate-neutral-border: #e2e8f0;
  --estate-neutral-text: #526173;
  --estate-card-radius: 18px;
  --estate-card-shadow-soft: 0 10px 24px rgba(15, 64, 95, .055);
  --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(1840px, calc(100% - 32px));
  max-width: 1840px;
  margin: 0 auto;
}
.estate-embedded-account .estate-account-dashboard:not(.estate-inspection-focus-dashboard):not(.estate-inspection-detail-dashboard) {
  width: 100%;
  max-width: none;
}

.estate-account-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(170px, 210px);
  gap: clamp(12px, 2vw, 20px);
  align-items: center;
  margin-bottom: 14px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--estate-border);
  border-radius: 16px;
  background: var(--estate-card);
}

.estate-account-avatar {
  width: 72px;
  height: 72px;
  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: 1.5rem;
  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: 4px 0 8px;
  font-size: clamp(1.375rem, 1.8vw, 1.75rem);
  line-height: 1.2;
}

.estate-account-hero-copy p {
  margin: 0 0 14px;
  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: 0;
  padding: 14px;
  border: 1px solid var(--estate-border);
  border-radius: 14px;
  background: var(--estate-card);
  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: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 12px 0 16px;
  padding: 6px;
  border: 1px solid var(--estate-border);
  border-radius: 14px;
  background: var(--estate-card);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.estate-account-tab {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--estate-text-secondary) !important;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  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 -2px 0 var(--estate-primary);
}
.estate-account-tab:focus-visible {
  outline: 3px solid var(--estate-focus);
  outline-offset: 2px;
}

.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);
}

/* Account and Owner share the compact, neutral Search/Map card treatment. */
.estate-account-dashboard .estate-dash-card {
  padding: clamp(16px, 1.5vw, 20px);
  border-radius: 14px;
  background: var(--estate-card);
  box-shadow: 0 3px 12px rgba(15, 23, 42, .04);
}

.estate-account-dashboard .estate-button {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: none;
  font-size: .875rem;
}

.estate-account-dashboard .estate-mini-button {
  min-height: 44px;
  border-radius: 10px;
}

.estate-account-dashboard .estate-button:focus-visible,
.estate-account-dashboard .estate-mini-button:focus-visible {
  outline: 3px solid var(--estate-focus);
  outline-offset: 2px;
}

.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: 12px;
    border-radius: 14px;
  }
  .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: 0;
    min-height: 44px;
    padding: 9px 12px;
    white-space: nowrap;
  }
  .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 -2px 0 var(--estate-primary);
  }
  .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: 14px;
}
.estate-owner-workspace .estate-search-cockpit-hero {
  margin: 0;
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .04);
}
.estate-owner-workspace .estate-search-cockpit-hero h2 {
  font-size: clamp(1.375rem, 1.8vw, 1.75rem);
  line-height: 1.2;
}
.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 3px 12px rgba(15, 23, 42, .04);
}
.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: 8px 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.4rem;
  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;
  justify-content: flex-end;
}
.estate-owner-object-actions .estate-mini-button {
  flex: 1 1 auto;
  justify-content: center;
  text-align: center;
}
.estate-owner-card-more { position: relative; flex: 0 0 auto; margin-left: auto; }
.estate-owner-card-more > summary { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #cfe4f2; border-radius: 12px; background: #fff; color: #34546a; font-size: 1.35rem; line-height: 1; cursor: pointer; list-style: none; box-shadow: 0 2px 7px rgba(15,35,55,.06); transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease; }
.estate-owner-card-more > summary::-webkit-details-marker { display: none; }
.estate-owner-card-more > summary:hover { border-color: #8db9d0; background: #f5fbff; color: #0756c9; }
.estate-owner-card-more > summary:focus-visible { outline: 3px solid rgba(7,86,201,.28); outline-offset: 2px; }
.estate-owner-card-more[open] > summary { border-color: #0756c9; background: #eef6ff; color: #0756c9; }
.estate-owner-card-more-panel { position: absolute; z-index: 30; right: 0; bottom: calc(100% + 8px); box-sizing: border-box; width: min(270px, calc(100vw - 32px)); max-width: calc(100vw - 32px); padding: .7rem; border: 1px solid #d5e2ea; border-radius: 14px; background: #fff; box-shadow: 0 14px 34px rgba(15,23,42,.18); }
.estate-owner-card-more-panel form { display: grid; gap: .5rem; }
.estate-owner-delete-local { border: 0; padding: .55rem .65rem; border-radius: 7px; background: #fff1f2; color: #b42318; font: inherit; font-weight: 750; text-align: left; cursor: pointer; }
.estate-owner-delete-local:hover,.estate-owner-delete-local:focus { background: #ffe4e6; }
.estate-owner-card-more-panel small { color: #64748b; font-size: .75rem; line-height: 1.4; }
.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%;
  }
  .estate-owner-object-actions > .estate-owner-card-more {
    grid-column: 1 / -1;
    justify-self: end;
    margin-left: 0;
  }
}
/* 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);
  scroll-margin-top: 1rem;
}
.estate-community-project-discussion-list article.is-submission-result {
  border: 2px solid var(--estate-primary);
  border-radius: .85rem;
  background: color-mix(in srgb, var(--estate-primary) 7%, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--estate-primary) 10%, transparent);
}
.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;
}
.estate-community-project-discussion-list a {
  display: inline-block;
  margin-top: .35rem;
  font-weight: 700;
}
@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.is-error{background:var(--estate-danger,#b42318)}.estate-favorites-toast.is-error button{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}}

/* Community residential project cockpit 1.6.6.7 */
.estate-community-project-cockpit { grid-column: 1 / -1; }
.estate-community-project-cockpit-head { align-items: flex-start; gap: 18px; }
.estate-community-eyebrow { display:block; margin-bottom:4px; color:var(--estate-primary, #0648a8); font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.estate-community-project-head-actions { display:flex; flex-wrap:wrap; gap:8px; }
.estate-community-project-toolbar { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:14px 0 16px; }
.estate-community-project-filter-chips { display:flex; flex-wrap:wrap; gap:8px; }
.estate-community-project-filter-chip { border:1px solid #dbe4ef; border-radius:999px; background:#fff; color:#20324d; padding:7px 12px; font:inherit; font-size:.82rem; font-weight:700; cursor:pointer; }
.estate-community-project-filter-chip span { margin-left:5px; padding:1px 6px; border-radius:999px; background:#eef3f8; font-size:.72rem; }
.estate-community-project-filter-chip.is-active { border-color:#0b4db8; background:#0b4db8; color:#fff; }
.estate-community-project-filter-chip.is-active span { background:rgba(255,255,255,.18); }
.estate-community-project-search { min-width:260px; }
.estate-community-project-search input { width:100%; border:1px solid #dbe4ef; border-radius:10px; padding:10px 12px; background:#fff; }
.estate-community-project-grid-cockpit { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; overflow:visible; }
.estate-community-project-cockpit-card { position:relative; display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid #dfe7f0; border-radius:14px; background:#fff; transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.estate-community-project-cockpit-card:focus-within,.estate-community-project-cockpit-card:focus,.estate-community-project-cockpit-card:hover { outline:none; border-color:#7da6df; box-shadow:0 5px 18px rgba(29,65,112,.09); }
.estate-community-project-cockpit-card.is-selected { border-color:#0b4db8; box-shadow:0 0 0 1px #0b4db8; }
.estate-community-project-image-wrap { position:relative; aspect-ratio:16/7; overflow:hidden; background:#edf2f7; }
.estate-community-project-image-wrap img { width:100%; height:100%; object-fit:cover; display:block; }
.estate-community-project-image-fallback { display:grid; place-items:center; height:100%; font-size:2rem; color:#52708f; }
.estate-community-project-mode { position:absolute; left:9px; top:9px; border-radius:999px; padding:4px 8px; font-size:.66rem; line-height:1; font-weight:800; text-transform:uppercase; background:#fff; box-shadow:0 2px 7px rgba(0,0,0,.1); }
.estate-community-project-mode.is-open { color:#08765a; background:#e7f7f0; }
.estate-community-project-mode.is-observe { color:#4e5f73; background:#edf1f5; }
.estate-community-project-cockpit-card .estate-community-project-favorite { top:8px; right:8px; }
.estate-community-project-cockpit-card .estate-community-project-main { display:flex; flex:1; flex-direction:column; gap:5px; padding:11px; }
.estate-community-project-cockpit-card .estate-community-project-main > strong { color:#17283f; font-size:.96rem; }
.estate-community-project-cockpit-card .estate-community-project-main p,.estate-community-project-cockpit-card .estate-community-project-main small { margin:0; color:#64748b; font-size:.78rem; }
.estate-community-project-phase,.estate-community-project-missing,.estate-community-project-soldout { display:block; border-radius:8px; padding:5px 8px; font-size:.72rem; font-weight:700; }
.estate-community-project-phase { color:#08765a; background:#edf8f4; }
.estate-community-project-missing { color:#a65a00; background:#fff7e8; }
.estate-community-project-soldout { color:#536273; background:#f0f3f6; }
.estate-community-project-primary { margin-top:auto; width:100%; justify-content:center; text-align:center; }
.estate-community-project-selected { margin-top:14px; border:1px solid #cfddeb; border-radius:14px; padding:14px; background:#fbfdff; }
.estate-community-project-selected-head { display:grid; grid-template-columns:120px 1fr auto; align-items:center; gap:14px; margin-bottom:14px; }
.estate-community-project-selected-head img { width:120px; height:72px; border-radius:10px; object-fit:cover; background:#eef2f6; }
.estate-community-project-selected-head h3,.estate-community-project-selected h3 { margin:0 0 4px; color:#16283f; }
.estate-community-project-selected-head p,.estate-community-project-selected-head small { display:block; margin:0; color:#66778b; }
.estate-community-project-info-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:9px; margin-top:10px; }
.estate-community-project-info-tile { display:flex; min-width:0; flex-direction:column; gap:5px; border:1px solid #dfe7ef; border-radius:11px; padding:10px; background:#fff; }
.estate-community-project-info-tile strong { font-size:.78rem; color:#1d3048; }
.estate-community-project-info-tile span { min-height:1.2em; font-size:.75rem; font-weight:700; }
.estate-community-project-info-tile small { color:#77869a; font-size:.68rem; }
.estate-community-project-info-tile a { margin-top:auto; border:1px solid #66b8a0; border-radius:8px; padding:6px 7px; color:#08765a; text-align:center; text-decoration:none; font-size:.7rem; font-weight:800; }
.estate-community-project-info-tile.state-missing span,.estate-community-project-info-tile.state-partial span,.estate-community-project-info-tile.state-unconfirmed span { color:#b06300; }
.estate-community-project-info-tile.state-confirmed span { color:#08765a; }
.estate-community-project-info-tile.state-submitted span { color:#0b4db8; }
.estate-community-project-info-tile em { margin-top:auto; color:#68798d; font-size:.7rem; font-style:normal; }
.estate-community-project-selected-stats { display:flex; gap:18px; flex-wrap:wrap; margin-top:12px; padding-top:10px; border-top:1px solid #e1e8f0; color:#66778b; font-size:.75rem; }
.estate-community-project-selected-stats strong { color:#08765a; }
@media (max-width:1100px) { .estate-community-project-grid-cockpit { grid-template-columns:repeat(2,minmax(0,1fr)); } .estate-community-project-info-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:720px) { .estate-community-project-toolbar { align-items:stretch; flex-direction:column; } .estate-community-project-search { min-width:0; width:100%; } .estate-community-project-filter-chips { overflow-x:auto; flex-wrap:nowrap; padding-bottom:4px; } .estate-community-project-filter-chip { white-space:nowrap; } .estate-community-project-grid-cockpit { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:5px; } .estate-community-project-cockpit-card { min-width:min(84vw,320px); scroll-snap-align:start; } .estate-community-project-selected-head { grid-template-columns:80px 1fr; } .estate-community-project-selected-head img { width:80px; height:58px; } .estate-community-project-selected-head > .estate-community-project-phase { grid-column:1/-1; } .estate-community-project-info-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:460px) { .estate-community-project-info-grid { grid-template-columns:1fr; } }

/* Hotfix 1.6.6.8 - Community motivation and knowledge-gap UX */
@media (min-width: 1101px) {
  .estate-community-top-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
    grid-template-areas:
      "help motivation"
      "projects projects";
    align-items: start;
  }
  .estate-community-top-grid > .estate-community-help-card { grid-area: help; }
  .estate-community-top-grid > .estate-community-motivation-card { grid-area: motivation; }
  .estate-community-top-grid > .estate-community-project-cockpit { grid-area: projects; }
}
.estate-community-motivation-card {
  align-self: start;
  min-width: 0;
}
.estate-community-motivation-head,
.estate-community-motivation-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.estate-community-motivation-head h2 { margin: 2px 0 0; }
.estate-community-motivation-points {
  color: #087a5a;
  font-size: 1.55rem;
  white-space: nowrap;
}
.estate-community-motivation-points small {
  color: #64748b;
  font-size: .72rem;
  font-weight: 700;
}
.estate-community-motivation-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 12px;
}
.estate-community-motivation-kpis > div {
  padding: 10px;
  border: 1px solid rgba(15,35,55,.08);
  border-radius: 12px;
  background: #fbfdff;
}
.estate-community-motivation-kpis span {
  display: block;
  color: #64748b;
  font-size: .72rem;
}
.estate-community-motivation-kpis strong {
  display: block;
  margin-top: 3px;
  color: #17304f;
  font-size: .98rem;
}
.estate-community-motivation-progress-head {
  margin-top: 6px;
  color: #405169;
  font-size: .82rem;
  font-weight: 700;
}
.estate-community-activity-details {
  margin-top: 14px;
  border-top: 1px solid rgba(15,35,55,.08);
  padding-top: 10px;
}
.estate-community-activity-details summary {
  cursor: pointer;
  color: #33506f;
  font-size: .82rem;
  font-weight: 800;
}
.estate-community-project-next-gaps {
  display: grid;
  gap: 2px;
  margin-top: 3px;
  padding: 7px 9px;
  border: 1px solid #f3dfbb;
  border-radius: 9px;
  background: #fff8ea;
}
.estate-community-project-next-gaps small {
  color: #9a5a00 !important;
  font-size: .68rem !important;
  font-weight: 700;
}
.estate-community-project-next-gaps strong {
  color: #744400 !important;
  font-size: .76rem !important;
  line-height: 1.25;
}
.estate-community-project-complete-info {
  margin-top: 3px;
  padding: 6px 9px;
  border-radius: 9px;
  background: #eef8f4;
  color: #087a5a;
  font-size: .74rem;
  font-weight: 800;
}
.estate-community-project-cockpit-card .estate-community-project-primary {
  margin-top: auto;
}
@media (max-width: 1100px) {
  .estate-community-motivation-card { order: 2; }
  .estate-community-project-cockpit { order: 3; }
}
@media (max-width: 680px) {
  .estate-community-motivation-kpis { grid-template-columns: 1fr 1fr; }
  .estate-community-motivation-kpis > div:last-child { grid-column: 1 / -1; }
}

/* Hotfix 1.6.6.8.1 - Community cockpit desktop layout hardening */
@media (min-width: 1101px) {
  .estate-community-top-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, .85fr);
    grid-template-areas:
      "help motivation"
      "projects projects";
    gap: 16px;
    align-items: start;
  }
  .estate-community-top-grid > .estate-community-help-card { grid-area: help; }
  .estate-community-top-grid > .estate-community-motivation-card { grid-area: motivation; }
  .estate-community-top-grid > .estate-community-project-cockpit { grid-area: projects; }
  .estate-community-offer-task-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  .estate-community-offer-task {
    min-width: 0;
    height: 100%;
  }
  .estate-community-offer-task-body {
    display: flex;
    min-height: 100%;
    flex-direction: column;
  }
  .estate-community-task-actions { margin-top: auto; }
}

.estate-community-motivation-card {
  position: relative;
  overflow: hidden;
}
.estate-community-motivation-card .estate-community-activity-details {
  margin-bottom: 0;
}
.estate-community-project-next-gaps span {
  color: #7a5a2d;
  font-size: .68rem;
  line-height: 1.25;
}
.estate-community-project-info-tile.is-priority {
  border-color: #d7a23a;
  box-shadow: 0 0 0 1px rgba(215, 162, 58, .18);
  background: #fffcf5;
}
.estate-community-project-priority-label {
  align-self: flex-start;
  border-radius: 999px;
  background: #fff1cc;
  color: #885400;
  padding: 3px 7px;
  font-size: .62rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.estate-community-recent-preview {
  min-width: 0;
}
.estate-community-recent-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.estate-community-recent-preview-head h2 {
  margin: 0;
}
.estate-community-recent-preview-head > strong {
  min-width: 30px;
  border: 1px solid #b8e4cf;
  border-radius: 999px;
  background: #eaf9f2;
  color: #087a5a;
  padding: 4px 9px;
  text-align: center;
  font-size: .78rem;
}
.estate-community-recent-preview .estate-community-contribution-table {
  gap: 7px;
}
.estate-community-recent-preview .estate-community-contribution-head {
  display: none;
}
.estate-community-recent-preview .estate-community-contribution-row {
  grid-template-columns: minmax(90px, .7fr) minmax(0, 2fr) minmax(90px, .75fr) auto;
  border: 1px solid rgba(15,35,55,.08);
  border-radius: 12px;
  padding: 9px 10px;
  background: #fff;
}
.estate-community-recent-preview .estate-community-contribution-row strong small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-weight: 500;
}
.estate-community-recent-more {
  margin-top: 10px;
  border-top: 1px solid rgba(15,35,55,.08);
  padding-top: 9px;
}
.estate-community-recent-more > summary {
  cursor: pointer;
  color: var(--estate-primary, #0648a8);
  font-size: .8rem;
  font-weight: 800;
}
.estate-community-contribution-table-more {
  margin-top: 9px;
}

@media (max-width: 1100px) {
  .estate-community-top-grid {
    display: flex;
    flex-direction: column;
  }
  .estate-community-top-grid > .estate-community-help-card { order: 1; width: 100%; }
  .estate-community-top-grid > .estate-community-motivation-card { order: 2; width: 100%; }
  .estate-community-top-grid > .estate-community-project-cockpit { order: 3; width: 100%; }
}
@media (max-width: 760px) {
  .estate-community-recent-preview .estate-community-contribution-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}


/* Hotfix 1.6.6.16.8: Owner cockpit + Exposé editor responsive UX hardening. */
.estate-expose-form-dashboard {
  min-width: 0;
}
.estate-expose-editor {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}
.estate-expose-editor.has-preview {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: start;
}
.estate-expose-editor > .estate-expose-hero,
.estate-expose-editor > .estate-expose-object-panel,
.estate-expose-editor > .estate-expose-gallery {
  grid-column: 1 / -1;
}
.estate-expose-editor > .estate-expose-quality,
.estate-expose-editor > .estate-expose-section-nav,
.estate-expose-editor > .estate-expose-form {
  grid-column: 1;
  min-width: 0;
}
.estate-expose-editor.has-preview > .estate-expose-live-preview {
  grid-column: 2;
  grid-row: 3 / span 3;
  position: sticky;
  top: 12px;
  align-self: start;
  min-width: 0;
  max-height: calc(100dvh - 24px);
  overflow: auto;
  overscroll-behavior: contain;
}
.estate-expose-editor .estate-expose-hero {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 4px 2px 2px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.estate-expose-editor .estate-expose-hero .estate-account-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 14px;
}
.estate-expose-editor .estate-expose-hero h2 {
  margin: 2px 0 3px;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.15;
}
.estate-expose-editor .estate-expose-hero p {
  margin: 0;
  max-width: 900px;
  font-size: .92rem;
}
.estate-expose-editor .estate-account-actions {
  margin-top: 8px;
  gap: 8px;
}
.estate-expose-editor .estate-expose-object-panel {
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .035);
}
.estate-expose-editor .estate-expose-object-panel h2 {
  margin: 0 0 6px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .055em;
  color: #64748b;
}
.estate-expose-editor .estate-expose-object-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0;
}
.estate-expose-editor .estate-expose-object-link > strong {
  display: none;
}
.estate-expose-editor .estate-expose-object-link a {
  font-size: .96rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}
.estate-expose-editor .estate-expose-object-link small {
  margin: 0;
  color: #526173;
  font-size: .86rem;
  overflow-wrap: anywhere;
}
.estate-expose-editor .estate-expose-quality {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) minmax(180px, 2fr) auto;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--estate-primary) 18%, #dbe7f1);
  border-radius: 14px;
  background: color-mix(in srgb, var(--estate-primary-soft) 58%, #fff);
  box-shadow: 0 3px 12px rgba(15, 23, 42, .035);
}
.estate-expose-editor .estate-expose-quality-score {
  display: flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
}
.estate-expose-editor .estate-expose-quality-score strong {
  color: var(--estate-primary);
  font-size: 1.7rem;
  line-height: 1;
}
.estate-expose-editor .estate-expose-quality-score span {
  color: #162238;
  font-weight: 800;
}
.estate-expose-editor .estate-expose-quality-progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe6ef;
}
.estate-expose-editor .estate-expose-quality-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--estate-accent), var(--estate-primary));
}
.estate-expose-editor .estate-expose-quality p {
  margin: 0;
  color: #526173;
  font-size: .86rem;
  line-height: 1.35;
}
.estate-expose-editor .estate-expose-quality .estate-button {
  min-height: 42px;
  white-space: nowrap;
}
.estate-expose-editor .estate-expose-section-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 0;
  padding: 5px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  border: 1px solid rgba(15, 35, 55, .09);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 3px 12px rgba(15,23,42,.035);
}
.estate-expose-editor .estate-expose-section-nav button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #526173;
  font-weight: 750;
  white-space: nowrap;
  scroll-snap-align: center;
  cursor: pointer;
}
.estate-expose-editor .estate-expose-section-nav button:hover,
.estate-expose-editor .estate-expose-section-nav button:focus-visible {
  color: var(--estate-primary);
  background: color-mix(in srgb, var(--estate-primary-soft) 62%, #fff);
  outline: none;
}
.estate-expose-editor .estate-expose-section-nav button.is-active {
  color: #fff;
  background: var(--estate-primary);
  box-shadow: 0 5px 12px color-mix(in srgb, var(--estate-primary) 18%, transparent);
}
.estate-expose-editor .estate-expose-section-nav button.is-complete:not(.is-active)::after {
  content: " ✓";
  color: var(--estate-primary);
  font-weight: 900;
}
.estate-expose-editor .estate-expose-form {
  gap: 10px;
}
.estate-expose-editor .estate-expose-step {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .035);
  scroll-margin-top: 68px;
}
.estate-expose-editor .estate-expose-step > h2:first-child,
.estate-expose-editor .estate-expose-step-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  color: #162238;
  font-size: 1rem;
  line-height: 1.3;
}
.estate-expose-editor .estate-expose-step.is-expanded > h2:first-child {
  margin-bottom: 6px;
}
.estate-expose-editor .estate-expose-step-toggle {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f6fa;
  color: var(--estate-primary);
  cursor: pointer;
}
.estate-expose-editor .estate-expose-step-toggle span {
  display: block;
  transition: transform .18s ease;
}
.estate-expose-editor .estate-expose-step.is-expanded .estate-expose-step-toggle span {
  transform: rotate(180deg);
}
.estate-expose-editor .estate-expose-step.is-collapsed > :not(h2) {
  display: none !important;
}
.estate-expose-editor .estate-expose-step.is-collapsed {
  padding-top: 11px;
  padding-bottom: 11px;
}
.estate-expose-editor .estate-expose-live-preview {
  padding: 12px;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(15,23,42,.045);
}
.estate-expose-editor .estate-expose-live-preview .estate-section-head {
  margin-bottom: 8px;
}
.estate-expose-editor .estate-expose-live-preview .estate-section-head h2 {
  margin: 0;
  font-size: .95rem;
}
.estate-expose-editor .estate-expose-live-preview .estate-section-head p {
  display: none;
}
.estate-expose-editor.has-preview .estate-expose-live-preview .estate-expose-public-card,
.estate-expose-editor.has-preview .estate-expose-preview-compact .estate-expose-public-card {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}
.estate-expose-editor.has-preview .estate-expose-public-cover {
  height: 180px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.estate-expose-editor.has-preview .estate-expose-public-body {
  padding: 10px 12px 12px;
}
.estate-expose-editor.has-preview .estate-expose-public-body h3 {
  margin: 3px 0 7px;
  font-size: 1.05rem;
  line-height: 1.25;
}
.estate-expose-editor.has-preview .estate-expose-public-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 8px;
  color: #526173;
  font-size: .82rem;
  line-height: 1.4;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.estate-expose-editor.has-preview .estate-expose-preview-premium .estate-expose-public-card {
  min-height: 300px;
}
.estate-expose-editor.has-preview .estate-expose-preview-premium .estate-expose-public-body {
  padding: 14px;
}
.estate-expose-editor.has-preview .estate-expose-preview-photos {
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 6px;
  margin-top: 8px;
}
.estate-expose-editor.has-preview .estate-expose-preview-photos img {
  height: 62px;
  border-radius: 8px;
}
.estate-expose-preview-quality {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(15,35,55,.09);
  border-radius: 12px;
  background: #f8fafc;
}
.estate-expose-preview-quality strong {
  color: #162238;
  font-size: .86rem;
}
.estate-expose-preview-quality ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: #526173;
  font-size: .78rem;
}
.estate-expose-preview-quality li.is-complete {
  color: var(--estate-primary);
}
.estate-expose-editor .estate-expose-sticky-actions {
  bottom: max(8px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 -3px 16px rgba(15,23,42,.075);
  backdrop-filter: blur(10px);
}
.estate-expose-editor .estate-expose-action-hint {
  margin-right: auto;
  color: var(--estate-primary);
  font-weight: 900;
}
.estate-expose-editor .estate-expose-sticky-actions .estate-button {
  min-height: 42px;
}

/* Owner cockpit keeps the same responsive density contract as Search/Map. */
.estate-owner-workspace,
.estate-owner-workspace * {
  min-width: 0;
}
.estate-owner-workspace .estate-search-cockpit-section,
.estate-owner-workspace .estate-owner-kpi-card {
  border-radius: 14px;
}
.estate-owner-workspace .estate-search-cockpit-section-head {
  gap: 12px;
}
.estate-owner-workspace .estate-search-cockpit-section-head h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}
.estate-owner-cockpit-toolbar {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}
.estate-owner-cockpit-toolbar > * {
  flex: 0 0 auto;
}
.estate-owner-cockpit-toolbar .estate-sort-pill {
  margin-left: auto;
}

@media (max-width: 1280px) {
  .estate-expose-editor.has-preview {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  }
  .estate-owner-object-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}
@media (max-width: 1100px) {
  .estate-expose-editor.has-preview {
    grid-template-columns: 1fr;
  }
  .estate-expose-editor.has-preview > .estate-expose-live-preview,
  .estate-expose-editor > .estate-expose-quality,
  .estate-expose-editor > .estate-expose-section-nav,
  .estate-expose-editor > .estate-expose-form {
    grid-column: 1;
    grid-row: auto;
  }
  .estate-expose-editor.has-preview > .estate-expose-live-preview {
    position: static;
    max-height: none;
  }
  .estate-expose-editor .estate-expose-live-preview {
    order: 5;
  }
  .estate-expose-editor .estate-expose-form {
    order: 4;
  }
  .estate-expose-editor > .estate-expose-gallery {
    order: 6;
  }
  .estate-owner-kpi-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .estate-owner-cockpit-toolbar .estate-sort-pill {
    margin-left: 0;
  }
}
@media (max-width: 760px) {
  .estate-account-dashboard.estate-expose-form-dashboard {
    width: 100%;
    max-width: none;
  }
  .estate-expose-editor {
    gap: 10px;
  }
  .estate-expose-editor .estate-expose-hero {
    padding-inline: 2px;
  }
  .estate-expose-editor .estate-expose-hero .estate-account-avatar {
    display: none;
  }
  .estate-expose-editor .estate-account-actions {
    display: flex;
    flex-wrap: wrap;
  }
  .estate-expose-editor .estate-account-actions .estate-button {
    width: auto;
    min-height: 42px;
  }
  .estate-expose-editor .estate-expose-quality {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .estate-expose-editor .estate-expose-quality .estate-button {
    width: 100%;
  }
  .estate-expose-editor .estate-expose-section-nav {
    margin-inline: -2px;
  }
  .estate-expose-editor .estate-expose-step {
    padding: 12px;
  }
  .estate-expose-editor .estate-form-grid,
  .estate-expose-editor .estate-form-grid-3,
  .estate-expose-editor .estate-expose-options {
    grid-template-columns: 1fr;
  }
  .estate-expose-editor .estate-expose-sticky-actions {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
  .estate-expose-editor .estate-expose-action-hint,
  .estate-expose-editor .estate-expose-cancel {
    display: none;
  }
  .estate-expose-editor .estate-expose-sticky-actions .estate-button {
    width: 100%;
    margin: 0;
    text-align: center;
  }
  .estate-owner-kpi-grid,
  .estate-owner-object-grid,
  .estate-owner-object-stats {
    grid-template-columns: 1fr;
  }
  .estate-owner-cockpit-toolbar {
    margin-inline: -2px;
    padding-bottom: 3px;
  }
  .estate-owner-object-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .estate-expose-editor .estate-expose-sticky-actions {
    grid-template-columns: 1fr;
  }
  .estate-expose-editor .estate-expose-sticky-actions [data-expose-save] {
    order: 2;
  }
  .estate-expose-editor .estate-expose-sticky-actions [data-expose-save-preview] {
    order: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .estate-expose-editor .estate-expose-step-toggle span {
    transition: none;
  }
}

/* Hotfix 1.6.6.16.8.1: Exposé text-editor hardening and Dolibarr-style editing surface. */
.estate-expose-editor .estate-expose-step-heading {
  cursor: pointer;
}
.estate-expose-editor .estate-expose-step-chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transform-origin: center;
  transition: transform .18s ease;
}
.estate-expose-editor .estate-expose-step.is-expanded .estate-expose-step-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}
.estate-expose-editor .estate-expose-text-editor {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid #cbd8e5;
  border-radius: 13px;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.estate-expose-editor .estate-expose-text-editor.has-focus {
  border-color: var(--estate-focus);
  box-shadow: 0 0 0 3px var(--estate-focus-ring);
}
.estate-expose-editor .estate-expose-text-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  padding: 5px 7px;
  border-bottom: 1px solid #e4ebf2;
  background: #f8fafc;
}
.estate-expose-editor .estate-expose-text-editor-button {
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: .78rem;
  font-weight: 750;
  cursor: pointer;
}
.estate-expose-editor .estate-expose-text-editor-button:hover,
.estate-expose-editor .estate-expose-text-editor-button:focus-visible {
  border-color: #cbd8e5;
  background: #fff;
  color: var(--estate-primary);
  outline: none;
}
.estate-expose-editor .estate-expose-text-editor-expand {
  margin-left: auto;
}
.estate-expose-editor textarea.estate-expose-editor-textarea {
  width: 100%;
  min-height: 128px;
  max-height: 420px;
  margin: 0;
  padding: 13px 14px;
  resize: vertical;
  overflow-y: hidden;
  border: 0 !important;
  border-radius: 0;
  background: #fff;
  color: #182235;
  font-family: inherit;
  font-size: .94rem;
  font-weight: 450;
  line-height: 1.58;
  box-shadow: none !important;
  outline: none !important;
  white-space: pre-wrap;
}
.estate-expose-editor textarea.estate-expose-editor-textarea[name="expose_full_description"] {
  min-height: 220px;
}
.estate-expose-editor textarea.estate-expose-editor-textarea.is-scrollable {
  overflow-y: auto;
}
.estate-expose-editor .estate-expose-text-editor-hint {
  display: block;
  padding: 5px 12px 7px;
  border-top: 1px solid #eef2f6;
  color: #66768a;
  background: #fbfcfd;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.35;
}
.estate-expose-editor .estate-expose-text-editor .estate-expose-character-counter {
  position: absolute;
  right: 10px;
  bottom: 6px;
  z-index: 1;
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(255,255,255,.92);
  color: #64748b;
  font-size: .68rem;
  font-weight: 700;
}
.estate-expose-editor .estate-expose-text-editor .estate-expose-character-counter.is-good {
  color: var(--estate-primary);
}
html.estate-expose-editor-open,
body.estate-expose-editor-open {
  overflow: hidden;
}
.estate-expose-editor .estate-expose-text-editor.is-expanded-editor {
  position: fixed;
  z-index: 10020;
  inset: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-color: color-mix(in srgb, var(--estate-primary) 28%, #cbd8e5);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 9999px rgba(15,23,42,.58), 0 24px 70px rgba(15,23,42,.24);
}
.estate-expose-editor .estate-expose-text-editor.is-expanded-editor textarea.estate-expose-editor-textarea {
  min-height: 0;
  max-height: none;
  height: 100% !important;
  resize: none;
  overflow-y: auto;
  padding: 20px;
  font-size: 1rem;
  line-height: 1.65;
}
.estate-expose-editor .estate-expose-text-editor.is-expanded-editor .estate-expose-text-editor-toolbar {
  min-height: 48px;
  padding: 7px 10px;
}
.estate-expose-editor .estate-expose-text-editor.is-expanded-editor .estate-expose-text-editor-hint {
  padding: 8px 14px;
}
.estate-expose-editor [data-expose-preview-intro] {
  white-space: pre-line;
}
@media (max-width: 760px) {
  .estate-expose-editor .estate-expose-text-editor-toolbar {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
  }
  .estate-expose-editor .estate-expose-text-editor-button {
    flex: 0 0 auto;
    min-height: 36px;
  }
  .estate-expose-editor .estate-expose-text-editor-expand {
    margin-left: 0;
  }
  .estate-expose-editor textarea.estate-expose-editor-textarea {
    min-height: 150px;
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .estate-expose-editor .estate-expose-step-chevron,
  .estate-expose-editor .estate-expose-text-editor {
    transition: none;
  }
}


/* 1.6.6.16.8.2 Owner package-adaptive cockpit */
.estate-owner-guidance-shell{display:grid;grid-template-columns:minmax(300px,390px) minmax(0,1fr);gap:1rem;align-items:start}.estate-owner-guidance-listings,.estate-owner-success-center{min-width:0}.estate-owner-guidance-object-grid{display:grid;grid-template-columns:1fr;gap:1rem}.estate-owner-success-center{display:grid;gap:1rem}.estate-owner-success-hero{position:relative;overflow:hidden;padding:1.5rem;border:1px solid rgba(25,92,171,.12);border-radius:20px;background:linear-gradient(135deg,#f1fbff 0%,#edf4ff 62%,#fff 100%)}.estate-owner-success-hero:after{content:"";position:absolute;right:-3rem;bottom:-5rem;width:16rem;height:16rem;border-radius:50%;background:radial-gradient(circle,rgba(32,132,218,.17),rgba(32,132,218,0) 70%)}.estate-owner-success-hero h3{margin:.35rem 0 .55rem;font-size:clamp(1.45rem,2.4vw,2.25rem);line-height:1.08;color:var(--estate-primary-dark)}.estate-owner-success-hero p{max-width:58rem;color:var(--estate-muted)}.estate-owner-success-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.estate-owner-success-grid article{padding:1rem;border:1px solid rgba(15,63,49,.1);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(19,54,92,.05)}.estate-owner-success-grid article>span{display:grid;width:2.4rem;height:2.4rem;place-items:center;border-radius:12px;background:#edf6ff;color:#0756c9;font-weight:800}.estate-owner-success-grid strong{display:block;margin:.65rem 0 .3rem;color:var(--estate-primary-dark)}.estate-owner-success-grid p{margin:0;color:var(--estate-muted);line-height:1.45}.estate-owner-help-card{padding:1rem 1.1rem}.estate-owner-help-card h3{margin:0 0 .35rem}.estate-owner-help-card p{margin:.1rem 0 .8rem;color:var(--estate-muted)}
.estate-owner-portfolio-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(275px,340px);gap:1rem;align-items:start}.estate-owner-portfolio-main,.estate-owner-portfolio-aside{display:grid;gap:1rem;min-width:0}.estate-owner-portfolio-aside{position:sticky;top:1rem}.estate-owner-portfolio-intro{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.2rem 1.3rem;background:linear-gradient(135deg,#f1fbff,#f5f9ff 65%,#fff)}.estate-owner-portfolio-intro h3{margin:.3rem 0 .3rem;font-size:1.45rem}.estate-owner-portfolio-intro p{margin:0;color:var(--estate-muted)}.estate-owner-portfolio-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}.estate-owner-portfolio-stat{display:flex;gap:.7rem;align-items:flex-start;padding:.85rem .9rem;border:1px solid rgba(15,63,49,.1);border-radius:16px;background:#fff;min-width:0}.estate-owner-portfolio-stat-icon{display:grid;place-items:center;flex:0 0 2.2rem;height:2.2rem;border-radius:11px;background:#edf6ff;color:#0756c9;font-weight:800}.estate-owner-portfolio-stat strong{display:block;font-size:1.25rem;color:var(--estate-primary-dark);line-height:1}.estate-owner-portfolio-stat span:not(.estate-owner-portfolio-stat-icon){display:block;margin-top:.2rem;font-size:.82rem;font-weight:700}.estate-owner-portfolio-stat small{display:block;margin-top:.2rem;color:var(--estate-muted);font-size:.72rem}.estate-owner-manager-card{padding:1rem}.estate-owner-manager-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.estate-owner-manager-head h3{margin:0 0 .2rem}.estate-owner-manager-head p{margin:0;color:var(--estate-muted)}.estate-owner-manager-table{display:grid;border:1px solid rgba(15,63,49,.1);border-radius:16px;overflow:hidden}.estate-owner-manager-row{display:grid;grid-template-columns:minmax(280px,2.4fr) minmax(100px,.7fr) minmax(120px,.8fr) minmax(90px,.55fr) minmax(180px,1fr);gap:.65rem;align-items:center;padding:.7rem .75rem;background:#fff;border-top:1px solid rgba(15,63,49,.08)}.estate-owner-manager-row:first-child{border-top:0}.estate-owner-manager-row-head{background:#f7f9fc;color:#54657a;font-size:.76rem;font-weight:800}.estate-owner-manager-object{display:flex;gap:.7rem;align-items:center;min-width:0}.estate-owner-manager-object>div{min-width:0}.estate-owner-manager-object strong,.estate-owner-manager-object small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.estate-owner-manager-object small{margin-top:.15rem;color:var(--estate-muted);font-size:.74rem}.estate-owner-manager-thumb{flex:0 0 64px;height:48px;border-radius:10px;overflow:hidden;background:#f4f7fb}.estate-owner-manager-thumb img{width:100%;height:100%;object-fit:cover}.estate-owner-manager-quality{display:grid;gap:.2rem}.estate-owner-manager-quality>span{display:block;height:6px;border-radius:999px;background:#e4eaf1;overflow:hidden}.estate-owner-manager-quality i{display:block;height:100%;border-radius:inherit;background:#0b9b78}.estate-owner-manager-inquiries small{display:none}.estate-owner-manager-actions{display:flex;gap:.4rem;justify-content:flex-end}.estate-owner-manager-actions>.estate-owner-card-more{margin-left:auto}.estate-owner-package-summary,.estate-owner-next-steps,.estate-owner-pro-rule{padding:1rem}.estate-owner-package-summary h3{margin:.3rem 0}.estate-owner-package-summary p{color:var(--estate-muted)}.estate-owner-package-summary dl{display:grid;gap:.55rem;margin:.8rem 0}.estate-owner-package-summary dl div{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid rgba(15,63,49,.08);padding-top:.55rem}.estate-owner-package-summary dt{color:var(--estate-muted)}.estate-owner-package-summary dd{margin:0;font-weight:800}.estate-owner-next-steps h3{margin:0 0 .6rem}.estate-owner-next-steps ul{display:grid;gap:.5rem;margin:0;padding:0;list-style:none}.estate-owner-next-steps li{position:relative;padding-left:1.45rem;color:#41546a}.estate-owner-next-steps li:before{content:"○";position:absolute;left:0;color:#0756c9;font-weight:800}.estate-owner-pro-rule{border-color:rgba(246,183,40,.35);background:#fffaf0}.estate-owner-pro-rule strong{color:#6d5100}.estate-owner-pro-rule p{margin:.4rem 0 0;color:#665c44}
@media(max-width:1180px){.estate-owner-portfolio-shell{grid-template-columns:1fr}.estate-owner-portfolio-aside{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.estate-owner-pro-rule{grid-column:1/-1}.estate-owner-portfolio-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.estate-owner-manager-row{grid-template-columns:minmax(240px,2fr) minmax(95px,.7fr) minmax(110px,.8fr) minmax(80px,.5fr) minmax(150px,1fr)}}
@media(max-width:900px){.estate-owner-guidance-shell{grid-template-columns:1fr}.estate-owner-guidance-object-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.estate-owner-success-grid{grid-template-columns:1fr}.estate-owner-manager-row-head{display:none}.estate-owner-manager-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"object status" "quality inquiries" "actions actions"}.estate-owner-manager-object{grid-area:object}.estate-owner-manager-row>div:nth-child(2){grid-area:status}.estate-owner-manager-quality{grid-area:quality}.estate-owner-manager-inquiries{grid-area:inquiries;text-align:right}.estate-owner-manager-inquiries small{display:block;color:var(--estate-muted);font-size:.7rem}.estate-owner-manager-actions{grid-area:actions;justify-content:flex-start}.estate-owner-portfolio-aside{grid-template-columns:1fr}.estate-owner-pro-rule{grid-column:auto}}
@media(max-width:680px){.estate-owner-guidance-object-grid{grid-template-columns:1fr}.estate-owner-portfolio-intro,.estate-owner-manager-head{display:grid;grid-template-columns:1fr}.estate-owner-portfolio-intro .estate-button,.estate-owner-manager-head .estate-mini-button{width:100%;text-align:center}.estate-owner-portfolio-stats{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:.2rem}.estate-owner-portfolio-stat{flex:0 0 190px;scroll-snap-align:start}.estate-owner-manager-row{padding:.7rem}.estate-owner-manager-object strong,.estate-owner-manager-object small{white-space:normal}.estate-owner-manager-actions{display:grid;grid-template-columns:1fr 1fr}.estate-owner-manager-actions .estate-mini-button{text-align:center}.estate-owner-manager-actions>.estate-owner-card-more{grid-column:1/-1;justify-self:end;margin-left:0}.estate-owner-success-hero{padding:1.1rem}.estate-owner-success-grid{gap:.75rem}}


/* Hotfix 1.6.6.16.11: Owner listing media, price and publication control. */
.estate-owner-manager-row{grid-template-columns:minmax(260px,2.25fr) minmax(95px,.65fr) minmax(110px,.72fr) minmax(80px,.5fr) minmax(112px,.68fr) minmax(180px,1fr)}
.estate-owner-manager-publication{display:flex;align-items:center;min-width:0}.estate-owner-publication-form{margin:0}.estate-owner-publication-switch{display:inline-flex;align-items:center;gap:.45rem;border:0;background:transparent;padding:.25rem .15rem;cursor:pointer;color:#66778c;font:inherit;font-size:.76rem;font-weight:800}.estate-owner-publication-track{position:relative;display:inline-block;width:36px;height:20px;border-radius:999px;background:#cbd5e1;box-shadow:inset 0 0 0 1px rgba(15,23,42,.08);transition:background .16s ease}.estate-owner-publication-track i{position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.25);transition:transform .16s ease}.estate-owner-publication-switch.is-online{color:#08765c}.estate-owner-publication-switch.is-online .estate-owner-publication-track{background:#0b9b78}.estate-owner-publication-switch.is-online .estate-owner-publication-track i{transform:translateX(16px)}.estate-owner-publication-switch:focus-visible{outline:2px solid #0756c9;outline-offset:3px;border-radius:8px}.estate-owner-publication-label{white-space:nowrap}
@media(max-width:1180px){.estate-owner-manager-row{grid-template-columns:minmax(225px,2fr) minmax(90px,.65fr) minmax(105px,.75fr) minmax(75px,.5fr) minmax(105px,.68fr) minmax(145px,.95fr)}}
@media(max-width:900px){.estate-owner-manager-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"object status" "quality inquiries" "publication publication" "actions actions"}.estate-owner-manager-object{grid-area:object}.estate-owner-manager-status{grid-area:status}.estate-owner-manager-quality{grid-area:quality}.estate-owner-manager-inquiries{grid-area:inquiries}.estate-owner-manager-publication{grid-area:publication;padding-top:.25rem}.estate-owner-manager-actions{grid-area:actions}}

/* Hotfix 1.6.11.1: focused account cockpit redesign aligned with Search/Map UX */
.estate-account-dashboard[data-account-section="overview"] {
  --estate-account-gap: clamp(14px, 1.5vw, 20px);
}

.estate-account-dashboard .estate-account-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 178px;
  border-color: color-mix(in srgb, var(--estate-primary) 16%, var(--estate-border));
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 42%, rgba(255,255,255,.44) 72%, rgba(255,255,255,.12) 100%),
    url('/assets/img/home-hero-moldova.jpg') center 48% / cover no-repeat;
  box-shadow: 0 8px 26px rgba(15, 23, 42, .06);
}

.estate-account-dashboard .estate-account-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 72, 128, .035));
}

.estate-account-dashboard[data-account-section="overview"] .estate-account-hero {
  grid-template-columns: minmax(0, 1fr) minmax(176px, 210px);
  padding: clamp(20px, 2.3vw, 30px);
}

.estate-account-dashboard[data-account-section="overview"] .estate-account-avatar-stack {
  display: none;
}

.estate-account-dashboard .estate-account-hero-copy {
  position: relative;
  z-index: 1;
}

.estate-account-dashboard .estate-account-hero-copy h1 {
  max-width: 620px;
  margin-top: 5px;
  color: #0b355d;
  font-size: clamp(1.55rem, 2.05vw, 2rem);
}

.estate-account-dashboard .estate-account-hero-copy p {
  max-width: 650px;
  color: #45657e;
  font-size: .94rem;
}

.estate-account-dashboard .estate-profile-status-card {
  position: relative;
  z-index: 1;
  border-color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .09);
  backdrop-filter: blur(8px);
}

.estate-profile-status-link {
  display: inline-block;
  margin-top: 9px;
  color: var(--estate-primary-dark);
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}

.estate-profile-status-link:hover {
  text-decoration: underline;
}

/* Account subnavigation is a primary orientation element, not a secondary utility row. */
.estate-account-dashboard .estate-account-tabs {
  position: relative;
  z-index: 12;
  gap: 2px;
  margin: 10px 0 var(--estate-account-gap, 18px);
  padding: 5px;
  border-color: color-mix(in srgb, var(--estate-primary) 14%, var(--estate-border));
  border-radius: 13px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 4px 16px rgba(15,23,42,.04);
}

.estate-account-dashboard .estate-account-tab {
  min-height: 42px;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 9px;
  color: #244a68 !important;
  font-size: .81rem;
  font-weight: 850;
}

.estate-account-dashboard .estate-account-tab > span:first-child {
  color: var(--estate-primary);
  font-size: 1rem;
  line-height: 1;
}

.estate-account-dashboard .estate-account-tab:hover,
.estate-account-dashboard .estate-account-tab.is-active {
  color: #073f78 !important;
  background: #f2f8fd;
  box-shadow: inset 0 -2px 0 var(--estate-primary);
}

.estate-account-dashboard .estate-account-tab.is-active {
  border: 1px solid #c8dfef;
}

.estate-account-dashboard .estate-account-tab-anchor {
  scroll-margin-inline: 12px;
}

/* Overview hierarchy */
.estate-account-dashboard .estate-dashboard-changes {
  margin-bottom: var(--estate-account-gap, 18px);
  padding: clamp(14px, 1.4vw, 18px);
  border-color: #d7e6ef;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15,23,42,.035);
}

.estate-account-dashboard .estate-dashboard-changes-head {
  margin-bottom: 12px;
}

.estate-account-dashboard .estate-dashboard-changes-head h2 {
  font-size: 1rem;
}

.estate-account-dashboard .estate-dashboard-change-card {
  position: relative;
  grid-template-columns: 34px 42px minmax(0,1fr);
  grid-template-rows: auto auto;
  gap: 2px 10px;
  min-height: 76px;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: none;
}

.estate-account-dashboard .estate-dashboard-change-icon {
  grid-row: 1 / 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eff7fc;
  color: var(--estate-primary);
  font-size: 1rem;
  font-weight: 900;
}

.estate-account-dashboard .estate-dashboard-change-card strong {
  grid-row: 1 / 3;
  min-width: 0;
  align-self: center;
  font-size: 1.45rem;
}

.estate-account-dashboard .estate-dashboard-change-card > span:not(.estate-dashboard-change-icon) {
  align-self: end;
  font-size: .86rem;
}

.estate-account-dashboard .estate-dashboard-change-card small {
  align-self: start;
  font-size: .75rem;
}

.estate-account-dashboard .estate-dashboard-change-card-price.has-change {
  border-color: #c5e5d2;
  background: #f5fbf7;
}

.estate-account-dashboard .estate-dashboard-change-card-match.has-change {
  border-color: #c5def3;
  background: #f5faff;
}

.estate-account-dashboard .estate-dashboard-change-card-offline.has-warning {
  border-color: #efd8ad;
  background: #fffaf2;
}

.estate-account-dashboard .estate-dashboard-change-card-offline.has-warning .estate-dashboard-change-icon {
  background: #fff1da;
  color: #b76700;
}

.estate-account-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(290px, .85fr);
  gap: var(--estate-account-gap, 18px);
  align-items: start;
}

.estate-account-overview-main,
.estate-account-overview-side {
  display: grid;
  gap: var(--estate-account-gap, 18px);
  min-width: 0;
}

.estate-account-overview-primary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--estate-account-gap, 18px);
}

.estate-account-overview-layout .estate-dash-card {
  min-width: 0;
}

.estate-card-titlebar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.estate-card-titlebar h2 {
  margin-bottom: 0;
}

.estate-card-titlebar > a {
  flex: 0 0 auto;
  color: var(--estate-primary-dark);
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}

.estate-card-titlebar > a:hover {
  text-decoration: underline;
}

.estate-card-titlebar .estate-muted {
  margin: 3px 0 0;
}

#account-search {
  scroll-margin-top: 92px;
}

.estate-account-overview-layout .estate-summary-list {
  margin-bottom: 12px;
  gap: 7px;
}

.estate-account-overview-layout .estate-summary-list div {
  min-height: 28px;
  padding-bottom: 6px;
  border-bottom: 1px solid #edf2f5;
}

.estate-account-overview-layout .estate-summary-list div:last-child {
  border-bottom: 0;
}

.estate-account-overview-layout .estate-soft-note {
  margin: 10px 0 13px;
  padding: 11px 12px;
  text-align: left;
}

.estate-account-overview-layout .estate-favorite-spotlight {
  margin: 8px 0 13px;
  padding: 16px 14px;
}

.estate-account-overview-layout .estate-card-actions .estate-button {
  flex: 1 1 160px;
  justify-content: center;
}

.estate-account-recommendations-preview {
  overflow: hidden;
}

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

.estate-account-recommendation-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--estate-border);
  border-radius: 12px;
  background: #fff;
}

.estate-account-recommendation-media {
  min-height: 128px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #edf5f9;
  color: var(--estate-primary);
  text-decoration: none;
}

.estate-account-recommendation-media img {
  width: 100%;
  height: 128px;
  display: block;
  object-fit: cover;
}

.estate-account-recommendation-media > span {
  font-size: 2rem;
}

.estate-account-recommendation-body {
  display: grid;
  gap: 5px;
  padding: 11px 12px 12px;
}

.estate-account-recommendation-body > strong {
  overflow: hidden;
  color: var(--estate-text);
  font-size: .86rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-account-recommendation-body small {
  overflow: hidden;
  color: var(--estate-muted);
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-account-recommendation-body b {
  color: #064e3b;
  font-size: .9rem;
}

.estate-account-recommendation-body a {
  margin-top: 3px;
  color: var(--estate-primary-dark);
  font-size: .77rem;
  font-weight: 900;
  text-decoration: none;
}

.estate-account-recommendation-locked {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 15px;
  border: 1px solid #dce8f0;
  border-radius: 12px;
  background: #f8fbfd;
}

.estate-account-recommendation-locked > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff3d7;
  color: #b96b00;
  font-size: 1.1rem;
}

.estate-account-recommendation-locked p {
  margin: 3px 0 0;
  color: var(--estate-muted);
  font-size: .8rem;
}

.estate-account-profile-identity {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 2px 0 15px;
}

.estate-account-avatar-small {
  width: 50px;
  height: 50px;
  font-size: 1rem;
}

.estate-account-profile-identity > div:last-child {
  display: grid;
  gap: 5px;
  justify-items: start;
}

.estate-account-profile-identity .estate-account-package-badge {
  max-width: 100%;
  padding: 3px 8px;
  font-size: .68rem;
}

.estate-account-listing-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 10px;
  color: var(--estate-primary-dark);
}

.estate-account-listing-count strong {
  font-size: 1.7rem;
  line-height: 1;
}

.estate-account-listing-count span {
  color: var(--estate-text);
  font-weight: 800;
}

.estate-account-quicklinks {
  display: grid;
  gap: 6px;
}

.estate-account-quicklinks h2 {
  margin-bottom: 8px;
}

.estate-account-quicklinks > a {
  display: grid;
  grid-template-columns: 36px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 8px;
  border-radius: 10px;
  color: var(--estate-text);
  text-decoration: none;
}

.estate-account-quicklinks > a:hover {
  background: #f5f9fc;
}

.estate-account-quicklinks > a > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef6fb;
  color: var(--estate-primary);
  font-weight: 900;
}

.estate-account-quicklinks > a > div {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.estate-account-quicklinks > a strong {
  font-size: .82rem;
}

.estate-account-quicklinks > a small {
  overflow: hidden;
  color: var(--estate-muted);
  font-size: .72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-account-quicklinks > a > b {
  color: var(--estate-primary);
  font-size: 1.1rem;
}

@media (max-width: 1160px) {
  .estate-account-overview-layout {
    grid-template-columns: 1fr;
  }

  .estate-account-overview-side {
    grid-template-columns: repeat(3, minmax(0,1fr));
    align-items: stretch;
  }

  .estate-account-overview-side > .estate-dash-card {
    height: 100%;
  }
}

@media (max-width: 860px) {
  .estate-account-dashboard[data-account-section="overview"] .estate-account-hero {
    grid-template-columns: 1fr;
  }

  .estate-account-dashboard[data-account-section="overview"] .estate-profile-status-card {
    max-width: 360px;
    grid-column: auto;
  }

  .estate-account-overview-primary,
  .estate-account-overview-side {
    grid-template-columns: 1fr;
  }

  .estate-account-recommendation-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .estate-account-recommendation-card:nth-child(n+3) {
    display: none;
  }
}

@media (max-width: 720px) {
  .estate-account-dashboard {
    width: 100%;
  }

  .estate-account-dashboard .estate-account-hero {
    min-height: 0;
    border-radius: 13px;
    background:
      linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 62%, rgba(255,255,255,.48) 100%),
      url('/assets/img/home-hero-moldova.jpg') center / cover no-repeat;
  }

  .estate-account-dashboard[data-account-section="overview"] .estate-account-hero {
    padding: 18px;
  }

  .estate-account-dashboard .estate-account-hero-copy h1 {
    max-width: 92%;
    font-size: 1.45rem;
  }

  .estate-account-dashboard .estate-account-hero-copy p {
    max-width: 88%;
    font-size: .85rem;
  }

  .estate-account-dashboard .estate-account-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .estate-account-dashboard .estate-account-actions .estate-button {
    min-width: 0;
    padding-inline: 10px;
    font-size: .79rem;
  }

  .estate-account-dashboard[data-account-section="overview"] .estate-profile-status-card {
    display: none;
  }

  .estate-account-dashboard .estate-account-tabs {
    position: sticky;
    top: 0;
    gap: 1px;
    margin: 8px -2px 14px;
    padding: 4px;
    scroll-snap-type: x proximity;
    box-shadow: 0 4px 16px rgba(15,23,42,.08);
  }

  .estate-account-dashboard .estate-account-tab {
    min-height: 52px;
    min-width: 70px;
    flex-direction: column;
    gap: 4px;
    padding: 7px 8px;
    scroll-snap-align: start;
    font-size: .67rem;
  }

  .estate-account-dashboard .estate-account-tab > span:first-child {
    font-size: 1.05rem;
  }

  .estate-account-dashboard .estate-dashboard-changes {
    padding: 12px;
  }

  .estate-account-dashboard .estate-dashboard-changes-head {
    margin-bottom: 9px;
  }

  .estate-account-dashboard .estate-dashboard-change-grid {
    gap: 7px;
  }

  .estate-account-dashboard .estate-dashboard-change-card {
    min-height: 66px;
    grid-template-columns: 30px 34px minmax(0,1fr);
    gap: 1px 8px;
    padding: 9px 10px;
  }

  .estate-account-dashboard .estate-dashboard-change-icon {
    width: 28px;
    height: 28px;
    font-size: .88rem;
  }

  .estate-account-dashboard .estate-dashboard-change-card strong {
    font-size: 1.25rem;
  }

  .estate-account-dashboard .estate-dashboard-change-card > span:not(.estate-dashboard-change-icon) {
    font-size: .78rem;
  }

  .estate-account-dashboard .estate-dashboard-change-card small {
    font-size: .68rem;
  }

  .estate-account-overview-layout,
  .estate-account-overview-main,
  .estate-account-overview-side,
  .estate-account-overview-primary {
    gap: 12px;
  }

  .estate-account-overview-layout .estate-dash-card {
    padding: 14px;
  }

  .estate-card-titlebar {
    margin-bottom: 11px;
  }

  .estate-card-titlebar-stack-mobile {
    align-items: flex-start;
  }

  .estate-account-recommendation-grid {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding-bottom: 3px;
    scroll-snap-type: x mandatory;
  }

  .estate-account-recommendation-card,
  .estate-account-recommendation-card:nth-child(n+3) {
    display: block;
    flex: 0 0 min(78vw, 245px);
    scroll-snap-align: start;
  }

  .estate-account-recommendation-media,
  .estate-account-recommendation-media img {
    height: 118px;
    min-height: 118px;
  }

  .estate-account-recommendation-locked {
    grid-template-columns: auto 1fr;
  }

  .estate-account-recommendation-locked .estate-button {
    grid-column: 1 / -1;
  }

  .estate-account-quicklinks > a {
    padding: 8px 4px;
  }
}

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

  .estate-account-dashboard .estate-account-hero-copy p {
    max-width: 100%;
  }

  .estate-account-dashboard .estate-summary-list div {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .estate-account-dashboard .estate-summary-list dd {
    text-align: right;
  }

  .estate-card-titlebar-stack-mobile {
    display: grid;
  }
}


/* Hotfix 1.6.11.2: Account cockpit refinement – tighter hierarchy, compact recommendations and focused quick actions. */
.estate-account-dashboard[data-account-section="overview"] .estate-account-hero {
  min-height: 148px;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 292px);
  gap: 18px;
  padding: clamp(16px, 1.8vw, 22px);
  background-position: center 44%;
}

.estate-account-dashboard[data-account-section="overview"] .estate-account-hero-copy h1 {
  margin: 3px 0 6px;
  font-size: clamp(1.45rem, 1.75vw, 1.78rem);
  line-height: 1.08;
}

.estate-account-dashboard[data-account-section="overview"] .estate-account-hero-copy p {
  max-width: 590px;
  margin: 0 0 11px;
  font-size: .86rem;
  line-height: 1.45;
}

.estate-account-dashboard[data-account-section="overview"] .estate-account-actions {
  gap: 8px;
}

.estate-account-dashboard[data-account-section="overview"] .estate-account-actions .estate-button {
  min-height: 36px;
  padding: 8px 13px;
  font-size: .79rem;
}

.estate-account-dashboard[data-account-section="overview"] .estate-profile-status-card {
  align-self: center;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-areas:
    "ring title"
    "ring status"
    "ring link";
  gap: 2px 12px;
  min-height: 0;
  padding: 12px 14px;
  border-radius: 12px;
}

.estate-account-dashboard[data-account-section="overview"] .estate-profile-status-card > strong {
  grid-area: title;
  align-self: end;
  font-size: .78rem;
}

.estate-account-dashboard[data-account-section="overview"] .estate-profile-status-card .estate-progress-ring {
  grid-area: ring;
  width: 56px;
  height: 56px;
  align-self: center;
}

.estate-account-dashboard[data-account-section="overview"] .estate-profile-status-card .estate-progress-ring span {
  font-size: 1rem;
}

.estate-account-dashboard[data-account-section="overview"] .estate-profile-status-card .estate-progress-ring small {
  font-size: .54rem;
}

.estate-account-dashboard[data-account-section="overview"] .estate-profile-status-card > b {
  grid-area: status;
  align-self: center;
  font-size: .74rem;
}

.estate-account-dashboard[data-account-section="overview"] .estate-profile-status-card > p {
  display: none;
}

.estate-account-dashboard[data-account-section="overview"] .estate-profile-status-link {
  grid-area: link;
  align-self: start;
  margin-top: 0;
  font-size: .7rem;
}

.estate-account-dashboard[data-account-section="overview"] .estate-account-tabs {
  margin-top: 8px;
  margin-bottom: 14px;
}

.estate-account-dashboard[data-account-section="overview"] .estate-dashboard-changes {
  margin-bottom: 14px;
  padding: 13px 14px;
}

.estate-account-dashboard[data-account-section="overview"] .estate-dashboard-changes-head {
  margin-bottom: 9px;
}

.estate-account-dashboard[data-account-section="overview"] .estate-dashboard-change-card {
  min-height: 68px;
  padding-block: 10px;
}

.estate-account-overview-layout {
  grid-template-columns: minmax(0, 2.35fr) minmax(285px, .75fr);
  gap: 14px;
}

.estate-account-overview-main,
.estate-account-overview-side,
.estate-account-overview-primary {
  gap: 14px;
}

.estate-account-overview-side > .estate-dash-card {
  padding: 15px;
}

.estate-account-overview-side .estate-card-titlebar {
  margin-bottom: 10px;
}

.estate-account-overview-side .estate-summary-list {
  margin-bottom: 9px;
}

.estate-account-recommendations-preview {
  padding: 15px;
}

.estate-account-recommendations-preview .estate-card-titlebar {
  margin-bottom: 10px;
}

.estate-account-recommendations-preview .estate-card-titlebar p {
  margin-top: 2px;
  font-size: .75rem;
}

.estate-account-recommendation-grid {
  gap: 10px;
}

.estate-account-recommendation-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 104px;
  border-radius: 10px;
}

.estate-account-recommendation-media,
.estate-account-recommendation-media img {
  width: 112px;
  height: 104px;
  min-height: 104px;
}

.estate-account-recommendation-body {
  align-content: center;
  gap: 3px;
  padding: 9px 10px;
}

.estate-account-recommendation-body > strong {
  font-size: .79rem;
  line-height: 1.25;
}

.estate-account-recommendation-body small {
  font-size: .69rem;
}

.estate-account-recommendation-body b {
  font-size: .82rem;
}

.estate-account-recommendation-body a {
  margin-top: 1px;
  font-size: .7rem;
}

.estate-account-profile-identity {
  margin-bottom: 10px;
}

.estate-account-avatar-small {
  width: 42px;
  height: 42px;
}

.estate-account-listing-count {
  margin: 3px 0 7px;
}

.estate-account-listing-count strong {
  font-size: 1.4rem;
}

.estate-account-quicklinks {
  gap: 4px;
}

.estate-account-quicklinks h2 {
  margin-bottom: 5px;
}

.estate-account-quicklinks > a {
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 7px 6px;
}

.estate-account-quicklinks > a > span {
  width: 30px;
  height: 30px;
}

.estate-account-quicklinks > a strong {
  font-size: .78rem;
}

.estate-account-quicklinks > a small {
  font-size: .68rem;
}

@media (max-width: 1160px) {
  .estate-account-overview-layout {
    grid-template-columns: 1fr;
  }

  .estate-account-overview-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .estate-account-dashboard[data-account-section="overview"] .estate-account-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .estate-account-dashboard[data-account-section="overview"] .estate-profile-status-card {
    display: none;
  }

  .estate-account-overview-side {
    grid-template-columns: 1fr;
  }

  .estate-account-recommendation-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .estate-account-recommendation-media,
  .estate-account-recommendation-media img {
    width: 96px;
    height: 96px;
    min-height: 96px;
  }
}

@media (max-width: 720px) {
  .estate-account-dashboard[data-account-section="overview"] .estate-account-hero {
    padding: 15px;
  }

  .estate-account-recommendation-grid {
    display: flex;
  }

  .estate-account-recommendation-card,
  .estate-account-recommendation-card:nth-child(n+3) {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    flex: 0 0 min(86vw, 320px);
  }

  .estate-account-recommendation-media,
  .estate-account-recommendation-media img {
    width: 96px;
    height: 96px;
    min-height: 96px;
  }
}

/* Hotfix 1.6.11.3 - Community cockpit UX alignment with Account/Search/Map */
.estate-community-dashboard {
  gap: 12px;
}
.estate-community-dashboard .estate-community-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  min-height: 0;
  padding: 16px 18px;
  border-radius: 14px;
}
.estate-community-dashboard .estate-community-hero h2 {
  margin: 3px 0 4px;
  font-size: clamp(1.35rem, 1.7vw, 1.7rem);
}
.estate-community-dashboard .estate-community-hero p {
  max-width: 760px;
  font-size: .9rem;
  line-height: 1.4;
}
.estate-community-dashboard .estate-shared-cockpit-actions {
  margin-top: 10px;
  gap: 7px;
}
.estate-community-dashboard .estate-shared-cockpit-actions .estate-button {
  min-height: 36px;
  padding: 8px 12px;
  font-size: .82rem;
}
.estate-community-summary-compact {
  max-width: none !important;
  padding: 11px 13px;
  border-radius: 13px;
}
.estate-community-summary-compact > strong {
  margin: 0 0 8px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.estate-community-summary-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.estate-community-summary-kpis > div {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(8,122,90,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.72);
}
.estate-community-summary-kpis span,
.estate-community-summary-kpis small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.estate-community-summary-kpis span {
  color: #087a5a;
  font-size: .98rem;
  font-weight: 850;
  white-space: nowrap;
}
.estate-community-summary-kpis small {
  margin-top: 2px;
  color: #64748b;
  font-size: .66rem;
  font-weight: 700;
  white-space: normal;
}
.estate-community-summary-kpis span{white-space:normal;overflow-wrap:anywhere}
.estate-community-summary-compact progress{width:100%;accent-color:#087a5a}
.estate-community-account-tabs {
  margin: 0;
}
.estate-community-toolbar {
  padding: 9px 10px;
  gap: 7px;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(15,23,42,.035);
}
.estate-community-toolbar .estate-filter-chip {
  min-height: 34px;
  padding: 6px 10px;
  font-size: .78rem;
}
.estate-community-search {
  min-width: 230px;
}
.estate-community-search input[type="search"] {
  min-height: 36px;
  padding: 7px 10px;
}
.estate-community-top-grid {
  gap: 12px;
}
.estate-community-top-grid .estate-dash-card,
.estate-community-main-grid .estate-dash-card {
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(15,23,42,.04);
}
.estate-community-help-card > h2,
.estate-community-motivation-head h2,
.estate-community-project-cockpit-head h2,
.estate-community-questions-card > h2,
.estate-community-recent-preview-head h2 {
  font-size: 1rem;
}
.estate-community-motivation-card {
  padding: 14px;
}
.estate-community-motivation-points {
  font-size: 1.25rem;
}
.estate-community-motivation-kpis {
  margin: 10px 0 9px;
}
.estate-community-project-cockpit {
  padding: 14px;
}
.estate-community-project-grid-cockpit {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.estate-community-project-cockpit-card .estate-community-project-main {
  padding: 10px;
  gap: 4px;
}
.estate-community-project-image-wrap {
  aspect-ratio: 16 / 6.3;
}
.estate-community-project-next-gaps {
  padding: 6px 8px;
}
.estate-community-project-primary {
  min-height: 34px;
  padding: 7px 9px;
}
.estate-community-project-selected-collapsible {
  padding: 0;
  overflow: hidden;
}
.estate-community-project-selected-summary {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}
.estate-community-project-selected-summary::-webkit-details-marker { display:none; }
.estate-community-project-selected-summary::after {
  content: '⌄';
  color: var(--estate-primary, #0648a8);
  font-size: 1.05rem;
  font-weight: 900;
  transition: transform .15s ease;
}
.estate-community-project-selected-collapsible[open] > .estate-community-project-selected-summary::after {
  transform: rotate(180deg);
}
.estate-community-project-selected-summary .estate-community-project-selected-head {
  grid-template-columns: 64px minmax(0,1fr) auto;
  gap: 10px;
  margin: 0;
}
.estate-community-project-selected-summary .estate-community-project-selected-head img {
  width: 64px;
  height: 46px;
  border-radius: 8px;
}
.estate-community-project-selected-toggle {
  justify-self: end;
  color: var(--estate-primary, #0648a8);
  font-size: .78rem;
  white-space: nowrap;
}
.estate-community-project-selected-body {
  padding: 0 12px 12px;
  border-top: 1px solid rgba(15,35,55,.08);
}
.estate-community-project-selected-body > h3 {
  margin-top: 12px;
}
.estate-community-project-info-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.estate-community-project-info-tile {
  padding: 9px;
}
.estate-community-main-grid {
  gap: 12px;
}
.estate-community-transparency-note {
  margin-top: 0;
}
@media (max-width: 1100px) {
  .estate-community-dashboard .estate-community-hero {
    grid-template-columns: 1fr;
  }
  .estate-community-project-grid-cockpit {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 760px) {
  .estate-community-dashboard .estate-community-hero {
    padding: 13px;
  }
  .estate-community-summary-kpis {
    grid-template-columns: repeat(3, minmax(90px,1fr));
    overflow-x: auto;
  }
  .estate-community-toolbar {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .estate-community-toolbar .estate-filter-chip {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .estate-community-search {
    flex: 0 0 min(72vw, 280px);
    margin-left: 0;
  }
  .estate-community-project-grid-cockpit {
    display: flex;
  }
  .estate-community-project-selected-summary {
    grid-template-columns: 1fr auto;
  }
  .estate-community-project-selected-summary .estate-community-project-selected-head {
    grid-template-columns: 54px minmax(0,1fr);
  }
  .estate-community-project-selected-summary .estate-community-project-selected-head img {
    width: 54px;
    height: 42px;
  }
  .estate-community-project-selected-summary .estate-community-project-phase {
    grid-column: 1 / -1;
    width: fit-content;
  }
  .estate-community-project-selected-toggle {
    display: none;
  }
  .estate-community-project-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Hotfix 1.6.11.4: Viewing Assistant UX refinement
 * Presentation-only: preserve filters, sorting, favorites, inspection actions and backend contracts.
 */
.estate-inspection-focus-dashboard:not(.estate-inspection-detail-dashboard) {
    gap: 12px;
}
.estate-inspection-focus-dashboard:not(.estate-inspection-detail-dashboard) .estate-account-tabs {
    margin-bottom: 2px;
}
.estate-search-cockpit-map-style {
    gap: 12px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-hero {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
    gap: 16px;
    padding: 18px 20px;
    border-radius: 18px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-hero h2 {
    margin: 4px 0 5px;
    font-size: clamp(1.45rem, 1.8vw, 1.95rem);
}
.estate-search-cockpit-map-style .estate-search-cockpit-usage {
    padding: 12px 14px;
    border-radius: 15px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-toolbar {
    padding: 10px 12px;
    border-radius: 18px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-note {
    margin-top: -4px;
    padding: 8px 14px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-actions {
    order: 4;
    padding: 14px 16px;
    border-radius: 18px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-section {
    order: 5;
    padding: 16px;
    border-radius: 18px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-more {
    order: 6;
    padding: 16px;
    border-radius: 18px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-tip {
    order: 7;
}
.estate-search-cockpit-map-style .estate-search-cockpit-action-grid {
    gap: 10px;
}
.estate-search-cockpit-map-style .estate-search-action-card {
    padding: 12px 14px;
    border-radius: 14px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.estate-search-cockpit-map-style .estate-map-like-card .estate-search-cockpit-card-media {
    height: 138px;
}
.estate-search-cockpit-map-style .estate-map-like-card .estate-search-cockpit-card-body {
    padding: 12px;
    gap: 7px;
}
.estate-search-cockpit-map-style .estate-map-like-card .estate-search-cockpit-card h4,
.estate-search-cockpit-map-style .estate-map-like-card h4 {
    min-height: 0;
}
.estate-search-cockpit-map-style .estate-search-cockpit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-row {
    grid-template-columns: 66px minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    grid-template-areas:
        "media main status"
        "media facts facts"
        "media progress action";
    gap: 5px 10px;
    min-height: 104px;
    padding: 10px;
    border-radius: 16px;
}
.estate-search-cockpit-map-style .estate-search-row-media {
    grid-area: media;
    width: 66px;
    height: 66px;
    align-self: start;
    border-radius: 12px;
    overflow: hidden;
}
.estate-search-cockpit-map-style .estate-search-row-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.estate-search-cockpit-map-style .estate-search-row-media.is-dummy img {
    object-fit: contain;
    padding: 4px;
    background: #f4f8fb;
}
.estate-search-cockpit-map-style .estate-search-row-main {
    grid-area: main;
    min-width: 0;
    display: grid;
    gap: 2px;
}
.estate-search-cockpit-map-style .estate-search-row-main strong,
.estate-search-cockpit-map-style .estate-search-row-main small,
.estate-search-cockpit-map-style .estate-search-row-main span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.estate-search-cockpit-map-style .estate-search-cockpit-row > .estate-search-status-pill {
    grid-area: status;
    align-self: start;
}
.estate-search-cockpit-map-style .estate-search-row-facts {
    grid-area: facts;
    min-width: 0;
    font-size: .86rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.estate-search-cockpit-map-style .estate-search-row-progress {
    grid-area: progress;
    min-width: 0;
    font-size: .84rem;
}
.estate-search-cockpit-map-style .estate-search-row-progress i {
    display: block;
    height: 4px;
    margin-top: 4px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(15,35,55,.10);
}
.estate-search-cockpit-map-style .estate-search-row-progress i b {
    display: block;
    height: 100%;
    background: var(--estate-primary);
}
.estate-search-cockpit-map-style .estate-search-cockpit-row > .estate-mini-button {
    grid-area: action;
    align-self: end;
    justify-self: end;
    min-height: 34px;
    padding: 6px 11px;
    white-space: nowrap;
}
.estate-search-cockpit-map-style .estate-search-cockpit-section-head {
    margin-bottom: 10px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-section-head h3,
.estate-search-cockpit-map-style .estate-search-cockpit-actions h3 {
    font-size: 1.1rem;
}

/* Planning/detail: same calm density as the Account cockpit, without changing fields or actions. */
.estate-inspection-detail-dashboard .estate-inspection-section {
    gap: 12px;
}
.estate-inspection-detail-dashboard .estate-inspection-planning-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 12px;
}
.estate-inspection-detail-dashboard .estate-inspection-property-media,
.estate-inspection-detail-dashboard .estate-inspection-property-media img {
    min-height: 230px;
}
.estate-inspection-detail-dashboard .estate-inspection-property-main {
    padding: 18px;
    gap: 9px;
}
.estate-inspection-detail-dashboard .estate-inspection-contact-card,
.estate-inspection-detail-dashboard .estate-inspection-form-card {
    padding: 15px;
    gap: 11px;
}
.estate-inspection-detail-dashboard .estate-inspection-planning-grid {
    gap: 12px;
}
.estate-inspection-detail-dashboard .estate-inspection-note-card-wide {
    grid-column: auto;
}
.estate-inspection-detail-dashboard .estate-inspection-textarea-guided {
    min-height: 132px;
}
.estate-inspection-detail-dashboard .estate-inspection-meeting-map {
    min-height: 220px;
}

@media (max-width: 1320px) {
    .estate-search-cockpit-map-style .estate-search-cockpit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .estate-search-cockpit-map-style .estate-search-cockpit-list {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 980px) {
    .estate-search-cockpit-map-style .estate-search-cockpit-hero,
    .estate-inspection-detail-dashboard .estate-inspection-planning-hero {
        grid-template-columns: 1fr;
    }
    .estate-search-cockpit-map-style .estate-search-cockpit-toolbar {
        grid-template-columns: minmax(0, 1fr) repeat(2, auto);
        overflow-x: auto;
        align-items: stretch;
    }
    .estate-search-cockpit-map-style .estate-search-cockpit-toolbar > label:first-child {
        grid-column: 1 / -1;
    }
    .estate-search-cockpit-map-style .estate-sort-pill {
        grid-column: 1 / -1;
    }
    .estate-inspection-detail-dashboard .estate-inspection-note-card-wide {
        grid-column: 1 / -1;
    }
}
@media (max-width: 700px) {
    .estate-search-cockpit-map-style .estate-search-cockpit-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(265px, 82vw);
        grid-template-columns: none;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline proximity;
        padding-bottom: 5px;
    }
    .estate-search-cockpit-map-style .estate-search-cockpit-grid > * {
        scroll-snap-align: start;
    }
    .estate-search-cockpit-map-style .estate-search-cockpit-row {
        grid-template-columns: 56px minmax(0, 1fr);
        grid-template-rows: auto auto auto auto;
        grid-template-areas:
            "media main"
            "media status"
            "facts facts"
            "progress action";
    }
    .estate-search-cockpit-map-style .estate-search-row-media {
        width: 56px;
        height: 56px;
    }
    .estate-search-cockpit-map-style .estate-search-cockpit-row > .estate-search-status-pill {
        justify-self: start;
    }
    .estate-search-cockpit-map-style .estate-search-cockpit-action-grid {
        grid-template-columns: 1fr;
    }
}


/* Hotfix 1.6.11.5 - Account UX finishing and navigation polish */
.estate-account-dashboard[data-account-section="overview"] {
  min-height: 0 !important;
  height: auto !important;
}
.estate-account-dashboard[data-account-section="overview"] .estate-account-overview-layout,
.estate-account-dashboard[data-account-section="overview"] .estate-account-overview-main,
.estate-account-dashboard[data-account-section="overview"] .estate-account-overview-side {
  align-content: start;
  height: auto;
  min-height: 0;
}
.estate-account-tabs .estate-account-tab {
  white-space: nowrap;
}
.estate-account-tab > span:first-child {
  width: 1.15em;
  text-align: center;
  line-height: 1;
}
@media (min-width: 721px) and (max-width: 1180px) {
  .estate-account-dashboard .estate-account-tabs {
    gap: 2px;
    padding-inline: 4px;
  }
  .estate-account-dashboard .estate-account-tab {
    padding-inline: 9px;
    font-size: .76rem;
  }
}

/* Viewing Assistant: readable status and denser responsive work list. */
.estate-search-cockpit-map-style .estate-search-cockpit-row > .estate-search-status-pill {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}
.estate-search-cockpit-map-style .estate-search-row-progress.no-progress {
  color: var(--estate-muted);
}
.estate-search-cockpit-map-style .estate-search-row-progress.no-progress::before {
  content: "○ ";
  color: #78909c;
}
.estate-search-cockpit-map-style .estate-search-cockpit-row > .estate-mini-button {
  min-height: 30px;
  padding: 5px 9px;
  font-size: .78rem;
}
@media (min-width: 1500px) {
  .estate-search-cockpit-map-style .estate-search-cockpit-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .estate-search-cockpit-map-style .estate-search-cockpit-row {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    min-height: 96px;
    padding: 9px;
  }
  .estate-search-cockpit-map-style .estate-search-row-media {
    width: 58px;
    height: 58px;
  }
}


/* Hotfix 1.6.11.5.1 - shared Account subnavigation and cosmetic polish */
.estate-account-subnav {
  margin: 0;
  align-items: center;
}
.estate-account-subnav .estate-account-tab {
  min-height: 34px;
  padding-block: 6px;
}
.estate-account-subnav .estate-account-tab > span:first-child {
  flex: 0 0 1.05rem;
  width: 1.05rem;
  opacity: .9;
}
.estate-account-subnav .estate-account-tab.is-active {
  box-shadow: inset 0 -2px 0 var(--estate-primary, #0648a8);
}
.estate-search-cockpit-map-style {
  gap: 10px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-hero {
  padding: 14px 16px;
  gap: 14px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-hero h2 {
  margin-top: 2px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-usage {
  padding: 10px 12px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-toolbar {
  padding: 8px 10px;
}
.estate-search-cockpit-map-style .estate-search-cockpit-note {
  padding-block: 6px;
}
@media (max-width: 760px) {
  .estate-account-subnav { scroll-padding-inline: 8px; }
  .estate-account-subnav .estate-account-tab { min-height: 36px; padding-inline: 9px; }
  .estate-search-cockpit-map-style .estate-search-cockpit-hero { padding: 12px; }
}


/* 1.6.11.6 Owner cockpit UX alignment ------------------------------------ */
.estate-owner-dashboard > .estate-account-subnav{
  margin:.85rem 0 1rem;
}
.estate-owner-dashboard .estate-search-cockpit-hero{
  min-height:0;
  padding:1.15rem 1.25rem;
  border-radius:20px;
}
.estate-owner-dashboard .estate-search-cockpit-hero h2{
  margin:.18rem 0 .3rem;
  font-size:clamp(1.7rem,2.4vw,2.35rem);
}
.estate-owner-dashboard .estate-search-cockpit-hero p{
  max-width:52rem;
  margin:.15rem 0 0;
}
.estate-owner-dashboard .estate-search-cockpit-usage{
  min-width:210px;
  padding:.8rem .95rem;
}
.estate-owner-dashboard .estate-owner-cockpit-toolbar{
  margin:.9rem 0 1rem;
  padding:.6rem .7rem;
  gap:.45rem;
}
.estate-owner-dashboard .estate-owner-package-pill{
  margin-left:auto;
}
.estate-owner-dashboard .estate-owner-guidance-shell{
  grid-template-columns:minmax(0,1.7fr) minmax(285px,.72fr);
  gap:1rem;
  align-items:start;
}
.estate-owner-dashboard .estate-owner-guidance-listings{
  min-width:0;
  padding:1rem;
  border:1px solid rgba(15,63,49,.10);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(19,54,92,.045);
}
.estate-owner-dashboard .estate-owner-guidance-object-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.85rem;
}
.estate-owner-dashboard .estate-owner-success-center{
  gap:.8rem;
}
.estate-owner-dashboard .estate-owner-success-hero{
  padding:1rem 1.05rem;
  border-radius:18px;
}
.estate-owner-dashboard .estate-owner-success-hero h3{
  margin:.25rem 0 .4rem;
  font-size:1.25rem;
  line-height:1.2;
}
.estate-owner-dashboard .estate-owner-success-hero p{
  margin:0 0 .7rem;
  font-size:.9rem;
  line-height:1.42;
}
.estate-owner-dashboard .estate-owner-success-grid{
  grid-template-columns:1fr;
  gap:.65rem;
}
.estate-owner-dashboard .estate-owner-success-grid article{
  display:grid;
  grid-template-columns:2rem minmax(0,1fr);
  column-gap:.65rem;
  align-items:start;
  padding:.75rem .8rem;
  border-radius:15px;
}
.estate-owner-dashboard .estate-owner-success-grid article>span{
  grid-row:1 / span 2;
  width:2rem;
  height:2rem;
  border-radius:10px;
}
.estate-owner-dashboard .estate-owner-success-grid strong{
  margin:0 0 .15rem;
  font-size:.9rem;
}
.estate-owner-dashboard .estate-owner-success-grid p{
  margin:0;
  font-size:.8rem;
  line-height:1.35;
}
.estate-owner-dashboard .estate-owner-help-card{
  padding:.85rem .95rem;
}
.estate-owner-dashboard .estate-owner-help-card h3{
  font-size:1rem;
}
.estate-owner-dashboard .estate-owner-portfolio-shell{
  grid-template-columns:minmax(0,1.8fr) minmax(280px,.68fr);
}
.estate-owner-dashboard .estate-owner-portfolio-intro{
  padding:1rem 1.05rem;
}
.estate-owner-dashboard .estate-owner-portfolio-stats{
  gap:.6rem;
}
.estate-owner-dashboard .estate-owner-portfolio-stat{
  padding:.72rem .78rem;
  border-radius:14px;
}
.estate-owner-dashboard .estate-owner-manager-card{
  padding:.9rem;
}
.estate-owner-dashboard .estate-owner-portfolio-aside{
  gap:.8rem;
}
.estate-owner-dashboard .estate-owner-package-summary,
.estate-owner-dashboard .estate-owner-next-steps,
.estate-owner-dashboard .estate-owner-pro-rule{
  padding:.9rem;
}
@media (max-width:1180px){
  .estate-owner-dashboard .estate-owner-guidance-shell,
  .estate-owner-dashboard .estate-owner-portfolio-shell{
    grid-template-columns:1fr;
  }
  .estate-owner-dashboard .estate-owner-success-center,
  .estate-owner-dashboard .estate-owner-portfolio-aside{
    position:static;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .estate-owner-dashboard .estate-owner-success-hero,
  .estate-owner-dashboard .estate-owner-help-card,
  .estate-owner-dashboard .estate-owner-pro-rule{
    grid-column:1 / -1;
  }
}
@media (max-width:900px){
  .estate-owner-dashboard .estate-owner-guidance-object-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .estate-owner-dashboard .estate-owner-success-center,
  .estate-owner-dashboard .estate-owner-portfolio-aside{
    grid-template-columns:1fr;
  }
  .estate-owner-dashboard .estate-owner-success-hero,
  .estate-owner-dashboard .estate-owner-help-card,
  .estate-owner-dashboard .estate-owner-pro-rule{
    grid-column:auto;
  }
  .estate-owner-dashboard .estate-owner-package-pill{
    margin-left:0;
  }
}
@media (max-width:680px){
  .estate-owner-dashboard .estate-search-cockpit-hero{
    padding:1rem;
    border-radius:16px;
  }
  .estate-owner-dashboard > .estate-account-subnav{
    margin:.7rem 0 .85rem;
  }
  .estate-owner-dashboard .estate-owner-cockpit-toolbar{
    display:flex;
    overflow-x:auto;
    flex-wrap:nowrap;
    scroll-snap-type:x proximity;
    padding:.55rem;
  }
  .estate-owner-dashboard .estate-owner-cockpit-toolbar > *{
    flex:0 0 auto;
    scroll-snap-align:start;
  }
  .estate-owner-dashboard .estate-owner-guidance-listings{
    padding:.8rem;
    border-radius:15px;
  }
  .estate-owner-dashboard .estate-owner-guidance-object-grid{
    grid-template-columns:1fr;
  }
  .estate-owner-dashboard .estate-owner-success-grid article{
    padding:.7rem .75rem;
  }
}


/* Hotfix 1.6.11.6.1 - Owner subpage UX alignment */
.estate-expose-editor .estate-owner-subpage-account-nav {
  margin: 0 0 14px;
}
.estate-expose-editor .estate-owner-subpage-account-nav .estate-account-subnav,
.estate-owner-expose-preview-shell .estate-owner-subpage-account-nav .estate-account-subnav {
  margin: 0;
}
.estate-owner-expose-preview-shell {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
}
.estate-owner-expose-preview-shell .estate-owner-subpage-account-nav-preview {
  margin: 14px 0 12px;
}
.estate-owner-expose-preview-shell .estate-expose-public-toolbar {
  border-radius: 18px;
  margin-bottom: 14px;
}
.estate-owner-expose-preview-shell .estate-expose-public-preview {
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 900px) {
  .estate-owner-expose-preview-shell {
    width: min(100% - 20px, 1500px);
  }
}
@media (max-width: 760px) {
  .estate-expose-editor .estate-owner-subpage-account-nav,
  .estate-owner-expose-preview-shell .estate-owner-subpage-account-nav-preview {
    margin-bottom: 10px;
  }
  .estate-owner-expose-preview-shell {
    width: min(100% - 12px, 1500px);
  }
  .estate-owner-expose-preview-shell .estate-expose-public-toolbar {
    border-radius: 14px;
  }
}

/* Hotfix 1.6.11.7 - canonical Owner expose shell + A4/PDF print */
.estate-expose-view-dashboard {
  width: 100%;
}
.estate-expose-owner-view {
  display: grid;
  gap: 14px;
}
.estate-expose-owner-view .estate-owner-subpage-account-nav {
  margin: 0;
}
.estate-expose-owner-view .estate-expose-public-preview {
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--estate-border, #dce5ef);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 54, 92, .08);
}
@media (max-width: 900px) {
  .estate-expose-owner-view {
    gap: 10px;
  }
  .estate-expose-owner-view .estate-expose-public-preview {
    border-radius: 16px;
  }
}
@media (max-width: 680px) {
  .estate-expose-owner-view .estate-expose-screen-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .estate-expose-owner-view .estate-expose-public-preview {
    border-radius: 12px;
  }
}


/* Hotfix 1.6.11.7.1 - Owner & Expose UX finishing ----------------------- */
/* Keep the Owner guidance workspace content-sized; the taller service rail must
   not stretch the listings card and create a large empty white surface. */
.estate-owner-dashboard .estate-owner-guidance-shell {
  grid-auto-rows: max-content;
  align-items: start;
}
.estate-owner-dashboard .estate-owner-guidance-listings,
.estate-owner-dashboard .estate-owner-success-center {
  align-self: start;
  height: auto;
  min-height: 0;
}
.estate-owner-dashboard .estate-owner-guidance-object-grid {
  align-content: start;
}

/* Hotfix 1.7.6.7.9 - make owner listing cards read like compact exposés. */
.estate-owner-dashboard .estate-owner-object-card .estate-search-cockpit-card-media {
  height: clamp(180px, 18vw, 240px);
}
.estate-owner-dashboard .estate-owner-object-card .estate-search-cockpit-card-body {
  padding: 1rem 1.05rem 1.05rem;
}
.estate-owner-dashboard .estate-owner-object-kicker {
  margin: 0 0 .3rem;
  color: var(--estate-muted);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.estate-owner-dashboard .estate-owner-object-card .estate-search-cockpit-card-body h4 {
  margin: 0;
  color: var(--estate-primary-dark);
  font-size: 1.08rem;
  line-height: 1.32;
}
.estate-owner-dashboard .estate-owner-object-card .estate-search-card-location {
  margin: .35rem 0 .7rem;
}
.estate-owner-dashboard .estate-owner-object-card .estate-search-card-facts {
  padding: .65rem 0;
  border-top: 1px solid rgba(15, 35, 55, .1);
  border-bottom: 1px solid rgba(15, 35, 55, .1);
}
.estate-owner-dashboard .estate-owner-object-photo-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: .38rem .65rem;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(10, 28, 48, .72);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}
.estate-owner-dashboard .estate-owner-object-stats-note {
  margin: .45rem 0 0;
  color: var(--estate-muted);
  font-size: .78rem;
}

/* The expose editor has one explicit desktop flow:
   hero -> Account nav -> linked object -> editor/preview -> gallery. */
.estate-expose-form-dashboard .estate-expose-editor.has-preview {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  grid-template-rows: auto auto auto auto auto auto auto;
  align-items: start;
}
.estate-expose-editor > .estate-expose-hero {
  grid-column: 1 / -1;
  grid-row: 1;
}
.estate-expose-editor > .estate-owner-subpage-account-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
}
.estate-expose-editor > .estate-expose-object-panel {
  grid-column: 1 / -1;
  grid-row: 3;
}
.estate-expose-editor > .estate-expose-quality {
  grid-column: 1;
  grid-row: 4;
}
.estate-expose-editor > .estate-expose-section-nav {
  grid-column: 1;
  grid-row: 5;
}
.estate-expose-editor > .estate-expose-form {
  grid-column: 1;
  grid-row: 6;
}
.estate-expose-editor.has-preview > .estate-expose-live-preview {
  grid-column: 2;
  grid-row: 4 / span 3;
  position: sticky;
  top: 12px;
  align-self: start;
  width: 100%;
  max-height: calc(100dvh - 24px);
  overflow: auto;
}
.estate-expose-editor > .estate-expose-gallery {
  grid-column: 1 / -1;
  grid-row: 7;
  align-self: start;
}
.estate-expose-editor .estate-owner-subpage-account-nav {
  margin: 0;
}
.estate-expose-editor .estate-expose-live-preview {
  min-width: 0;
}
.estate-expose-editor .estate-expose-live-preview .estate-expose-public-cover {
  width: 100%;
}
.estate-expose-form-dashboard,
.estate-expose-form-dashboard .estate-expose-form-page,
.estate-expose-form-dashboard .estate-expose-editor {
  min-height: 0;
}

@media (max-width: 1100px) {
  .estate-expose-form-dashboard .estate-expose-editor.has-preview {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .estate-expose-editor > .estate-expose-hero,
  .estate-expose-editor > .estate-owner-subpage-account-nav,
  .estate-expose-editor > .estate-expose-object-panel,
  .estate-expose-editor > .estate-expose-quality,
  .estate-expose-editor > .estate-expose-section-nav,
  .estate-expose-editor > .estate-expose-form,
  .estate-expose-editor.has-preview > .estate-expose-live-preview,
  .estate-expose-editor > .estate-expose-gallery {
    grid-column: 1;
    grid-row: auto;
  }
  .estate-expose-editor.has-preview > .estate-expose-live-preview {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .estate-expose-editor > .estate-expose-hero { order: 1; }
  .estate-expose-editor > .estate-owner-subpage-account-nav { order: 2; }
  .estate-expose-editor > .estate-expose-object-panel { order: 3; }
  .estate-expose-editor > .estate-expose-quality { order: 4; }
  .estate-expose-editor > .estate-expose-section-nav { order: 5; }
  .estate-expose-editor > .estate-expose-form { order: 6; }
  .estate-expose-editor.has-preview > .estate-expose-live-preview { order: 7; }
  .estate-expose-editor > .estate-expose-gallery { order: 8; }
}


/* Hotfix 1.6.11.7.2 - Account & Owner visual harmony -------------------- */
/* Semantic contract: brand blue = action/navigation; Search light blue =
   information/service; green = active/available/positive; gray = gated/neutral. */

/* Owner guidance and informational surfaces inherit the Search light-blue family. */
.estate-owner-success-hero,
.estate-owner-portfolio-intro {
  border-color: var(--estate-info-border);
  background: linear-gradient(135deg, var(--estate-info-surface-soft) 0%, var(--estate-info-surface) 100%);
  box-shadow: var(--estate-card-shadow-soft);
}
.estate-owner-success-hero:after {
  background: radial-gradient(circle, rgba(8,111,180,.12), rgba(8,111,180,0) 70%);
}
.estate-owner-success-grid article {
  border-color: var(--estate-info-border);
  border-radius: var(--estate-card-radius);
  box-shadow: var(--estate-card-shadow-soft);
}
.estate-owner-success-grid article > span,
.estate-owner-portfolio-stat-icon {
  background: var(--estate-info-badge);
  color: var(--estate-info-text);
}
.estate-owner-next-steps li:before {
  color: var(--estate-state-active);
}

/* Available/active Owner functionality is semantically green, not cyan/brand blue. */
.estate-owner-feature-card--enabled {
  border-color: var(--estate-state-active-border);
  background: var(--estate-state-active-bg);
}
.estate-owner-feature-card--enabled .estate-owner-feature-package {
  color: var(--estate-state-active);
  background: var(--estate-state-active-badge);
}
.estate-owner-feature-card--enabled strong {
  color: #155c48;
}

/* Gated/package-only features remain intentionally neutral. */
.estate-owner-feature-card--locked {
  border-color: var(--estate-neutral-border);
  background: var(--estate-neutral-surface);
}
.estate-owner-feature-card--locked .estate-owner-feature-package {
  color: var(--estate-neutral-text);
  background: #eef2f6;
}

/* Normalize active filters in Account/Owner to the same Search active state. */
.estate-owner-dashboard .estate-filter-chip.is-active,
.estate-owner-dashboard .estate-owner-cockpit-toolbar .is-active,
.estate-account-page .estate-filter-chip.is-active {
  border-color: var(--estate-state-active-border);
  background: var(--estate-state-active-bg);
  color: var(--estate-state-active);
}

/* Normalize account/owner informational tiles without recoloring primary actions. */
.estate-owner-dashboard .estate-owner-guidance-listings,
.estate-owner-dashboard .estate-owner-package-summary,
.estate-owner-dashboard .estate-owner-next-steps,
.estate-owner-dashboard .estate-owner-help-card {
  border-color: var(--estate-info-border);
}
.estate-owner-dashboard .estate-owner-guidance-listings,
.estate-owner-dashboard .estate-owner-package-summary,
.estate-owner-dashboard .estate-owner-next-steps,
.estate-owner-dashboard .estate-owner-help-card,
.estate-account-page .estate-dash-card {
  box-shadow: var(--estate-card-shadow-soft);
}

/* Search remains the visual reference for informational chips/badges. */
.estate-owner-dashboard .estate-owner-package-pill:not(.is-active),
.estate-owner-dashboard .estate-owner-success-grid article > span {
  border-color: var(--estate-info-border);
}


/* Hotfix 1.6.11.8 - My Account Semantic Color Alignment -----------------
   Brand/navigation/primary actions stay bound to --estate-primary.
   Semantic colors describe meaning only: info, active, neutral, warning, danger. */

/* Account: package names are not status colors; prices are neutral facts. */
.estate-account-package-badge-free {
  border-color: var(--estate-neutral-border);
  background: var(--estate-neutral-bg);
  color: var(--estate-neutral-text);
}
.estate-account-package-badge-plus,
.estate-account-package-badge-pro,
.estate-account-package-badge-business,
.estate-account-package-badge-enterprise {
  border-color: var(--estate-info-border);
  background: linear-gradient(135deg, var(--estate-info-surface-soft), var(--estate-info-surface));
  color: var(--estate-info-text);
}
.estate-account-recommendation-body b {
  color: var(--estate-text);
}
.estate-account-recommendation-locked {
  border-color: var(--estate-neutral-border);
  background: var(--estate-neutral-bg);
}
.estate-account-recommendation-locked > span {
  background: #eef2f6;
  color: var(--estate-neutral-text);
}
.estate-account-dashboard .estate-dashboard-change-card-price.has-change {
  border-color: var(--estate-info-border);
  background: var(--estate-info-surface);
}

/* Viewing manager: information/help uses Search light blue. */
.estate-inspection-object-card {
  border-color: var(--estate-info-border);
  background: linear-gradient(135deg, var(--estate-info-surface-soft), var(--estate-info-surface));
}
.estate-inspection-category-group {
  border-color: var(--estate-neutral-border);
  background: var(--estate-neutral-bg);
}
.estate-inspection-info,
.estate-inspection-help-icon {
  border-color: var(--estate-info-border);
  background: var(--estate-info-badge);
  color: var(--estate-info-text);
}
.estate-inspection-info-note,
.estate-inspection-help-details,
.estate-inspection-question-selection-note .estate-inspection-help-details {
  border-color: var(--estate-info-border);
  background: linear-gradient(135deg, var(--estate-info-surface-soft), var(--estate-info-surface));
}
.estate-inspection-info-note strong,
.estate-inspection-help-details > summary {
  color: var(--estate-info-text);
}

/* Viewing manager: mode availability is neutral until explicitly active. */
.estate-inspection-mode-card {
  border-color: var(--estate-neutral-border);
  background: var(--estate-neutral-bg);
  color: var(--estate-neutral-text);
}
.estate-inspection-mode-card:hover,
.estate-inspection-mode-card:focus {
  border-color: color-mix(in srgb, var(--estate-primary) 34%, var(--estate-neutral-border));
}
.estate-inspection-mode-card.is-active {
  border-color: var(--estate-state-active-border);
  background: var(--estate-state-active-bg);
  color: var(--estate-state-active);
  box-shadow: inset 0 -3px 0 var(--estate-state-active), 0 14px 30px rgba(8, 122, 90, .10);
}
.estate-inspection-mode-card.is-active .estate-inspection-mode-icon,
.estate-inspection-mode-card.is-active strong {
  color: var(--estate-state-active);
}
.estate-inspection-mode-icon {
  background: #eef2f6;
  color: var(--estate-neutral-text);
}
.estate-inspection-chip-body b {
  background: var(--estate-info-badge);
  color: var(--estate-info-text);
}
.estate-inspection-chip input:checked + .estate-inspection-chip-body {
  border-color: var(--estate-state-active-border);
  background: var(--estate-state-active-bg);
  color: var(--estate-state-active);
  box-shadow: inset 0 0 0 1px var(--estate-state-active-border), 0 10px 20px rgba(8, 122, 90, .08);
}
.estate-inspection-quality-evasive input:checked + .estate-inspection-chip-body {
  border-color: color-mix(in srgb, var(--estate-warning) 45%, transparent);
  background: color-mix(in srgb, var(--estate-warning) 8%, transparent);
  color: #8a5200;
}

/* Viewing manager: save/sync states use the shared semantic roles. */
.estate-inspection-sync-strip {
  border-color: var(--estate-state-active-border);
  background: var(--estate-state-active-bg);
}
.estate-inspection-sync-pill[data-sync-state="cache"],
.estate-inspection-sync-pill[data-sync-state="pending"] {
  border-color: color-mix(in srgb, var(--estate-warning) 34%, transparent);
  background: color-mix(in srgb, var(--estate-warning) 9%, #fff);
}
.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: var(--estate-state-active-border);
  background: var(--estate-state-active-bg);
}
.estate-inspection-sync-pill[data-sync-state="cache-unavailable"] {
  border-color: var(--estate-neutral-border);
  background: var(--estate-neutral-bg);
  color: var(--estate-neutral-text);
}
.estate-inspection-question.is-cache-restored,
.estate-inspection-question.is-sync-pending {
  border-color: color-mix(in srgb, var(--estate-warning) 38%, transparent);
}
.estate-inspection-question.is-cache-restored {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--estate-warning) 16%, transparent);
}

/* Viewing tabs are navigation: keep them on configurable Casa Moldova blue. */
.estate-inspection-mode-tab.is-active {
  background: color-mix(in srgb, var(--estate-primary) 8%, transparent);
  color: var(--estate-primary) !important;
  box-shadow: inset 0 -2px 0 var(--estate-primary);
}
.estate-inspection-mode-tabs-row .estate-inspection-mode-tab.is-active {
  color: var(--estate-primary) !important;
  border-bottom-color: var(--estate-primary);
  background: transparent;
  box-shadow: none;
}

/* Viewing media/premium notices are neutral service/package information. */
.estate-inspection-photo-panel {
  border-color: var(--estate-neutral-border);
  background: var(--estate-neutral-bg);
}
.estate-inspection-plus-note,
.estate-inspection-plus-benefits-note {
  border-color: var(--estate-info-border);
  background: linear-gradient(135deg, var(--estate-info-surface-soft), var(--estate-info-surface));
  color: var(--estate-info-text);
}
.estate-inspection-plus-benefits-note strong {
  color: var(--estate-info-text);
}

/* Community: active filters/statuses use semantic states, not brand blue. */
.estate-community-project-filter-chip.is-active {
  border-color: var(--estate-state-active-border);
  background: var(--estate-state-active-bg);
  color: var(--estate-state-active);
}
.estate-community-project-filter-chip.is-active span {
  background: var(--estate-state-active-badge);
}
.estate-community-project-mode.is-open,
.estate-community-project-info-tile.state-confirmed span,
.estate-community-project-selected-stats strong {
  color: var(--estate-state-active);
}
.estate-community-project-mode.is-open {
  background: var(--estate-state-active-bg);
}
.estate-community-project-mode.is-observe,
.estate-community-project-soldout {
  color: var(--estate-neutral-text);
  background: var(--estate-neutral-bg);
}
.estate-community-project-phase {
  color: var(--estate-neutral-text);
  background: var(--estate-neutral-bg);
}
.estate-community-project-missing,
.estate-community-project-info-tile.state-missing span,
.estate-community-project-info-tile.state-partial span,
.estate-community-project-info-tile.state-unconfirmed span,
.estate-community-project-info-tile.state-submitted span {
  color: #9a5a00;
}
.estate-community-project-missing {
  background: color-mix(in srgb, var(--estate-warning) 10%, #fff);
}

/* Favorites recommendations are informational, not success states. */
.estate-favorites-recommendations {
  border-color: var(--estate-info-border);
  background: linear-gradient(135deg, var(--estate-info-surface-soft), var(--estate-info-surface));
}
.estate-recommendation-card {
  border-color: var(--estate-info-border);
  box-shadow: var(--estate-card-shadow-soft);
}
.estate-recommendation-media {
  background: var(--estate-info-surface);
}
.estate-recommendation-reasons,
.estate-recommendation-rotation {
  color: var(--estate-neutral-text);
}

/* Hotfix 1.6.12 - Favorites UX Compact Management
   Scope: layout density and management controls only; existing favorite actions/API contracts stay unchanged. */
.estate-favorites-dashboard .estate-favorites-ux{
  gap:14px;
}
.estate-favorites-dashboard .estate-favorites-head{
  margin-bottom:0;
}
.estate-favorites-dashboard .estate-favorites-head .estate-eyebrow,
.estate-favorites-dashboard .estate-favorites-summary{
  display:none;
}
.estate-favorites-dashboard .estate-favorites-head h2{
  margin:0 0 4px;
  font-size:1.35rem;
}
.estate-favorites-dashboard .estate-favorites-head .estate-muted{
  margin:0;
  max-width:980px;
}
.estate-favorites-dashboard .estate-favorites-kpis{
  order:2;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
}
.estate-favorites-dashboard .estate-favorites-kpis>div{
  min-height:58px;
  padding:8px 12px;
  border-color:var(--estate-info-border);
  border-radius:12px;
  background:var(--estate-info-surface-soft);
}
.estate-favorites-dashboard .estate-favorites-kpis strong{
  font-size:1.2rem;
}
.estate-favorites-dashboard .estate-favorites-kpis span{
  font-size:.76rem;
}
.estate-favorites-dashboard .estate-favorites-workspace{
  order:3;
  display:block;
}
.estate-favorites-dashboard .estate-favorites-sidebar{
  position:sticky;
  top:8px;
  z-index:12;
  display:block;
  margin-bottom:12px;
}
.estate-favorites-dashboard .estate-favorites-toolbar{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  grid-template-areas:
    "tabs filters"
    "meta meta";
  gap:8px 12px;
  padding:10px;
  border-color:var(--estate-info-border);
  border-radius:14px;
  background:rgba(255,255,255,.97);
  box-shadow:0 6px 18px rgba(15,64,95,.06);
  backdrop-filter:blur(8px);
}
.estate-favorites-dashboard .estate-favorites-toolbar-group{
  grid-area:tabs;
  align-self:end;
}
.estate-favorites-dashboard .estate-favorites-toolbar-label{
  display:none;
}
.estate-favorites-dashboard .estate-favorites-tabs{
  display:flex;
  grid-template-columns:none;
  gap:6px;
  padding:0;
  border:0;
  background:transparent;
}
.estate-favorites-dashboard .estate-favorites-tabs button{
  width:auto;
  min-height:38px;
  justify-content:center;
  padding:7px 10px;
  border:1px solid var(--estate-border);
  background:#fff;
  color:var(--estate-primary,#003899);
}
.estate-favorites-dashboard .estate-favorites-tabs button.is-active{
  border-color:var(--estate-state-active-border);
  background:var(--estate-state-active-bg);
  color:var(--estate-state-active);
  box-shadow:none;
}
.estate-favorites-dashboard .estate-favorites-tabs button.is-active span{
  background:var(--estate-state-active-badge);
  color:var(--estate-state-active);
}
.estate-favorites-dashboard .estate-favorites-toolbar-grid{
  grid-area:filters;
  display:grid;
  grid-template-columns:minmax(130px,.9fr) minmax(150px,1fr) minmax(165px,1.1fr) minmax(250px,1.55fr);
  gap:8px;
}
.estate-favorites-dashboard .estate-favorites-toolbar-grid label{
  gap:3px;
  font-size:.72rem;
}
.estate-favorites-dashboard .estate-favorites-toolbar-grid select,
.estate-favorites-dashboard .estate-favorites-toolbar-grid input{
  min-height:38px;
  padding:6px 9px;
  border-radius:9px;
  font-size:.84rem;
}
.estate-favorites-dashboard .estate-favorites-toolbar-meta{
  grid-area:meta;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.estate-favorites-dashboard .estate-favorites-results{
  margin-right:auto;
  white-space:nowrap;
}
.estate-favorites-dashboard .estate-favorites-reset{
  width:auto;
  min-height:34px;
  padding:6px 10px;
}
.estate-favorites-dashboard .estate-favorites-view-toggle{
  display:flex;
  gap:6px;
  margin-left:auto;
}
.estate-favorites-dashboard .estate-favorites-view-toggle .estate-mini-button{
  min-height:34px;
  padding:6px 10px;
}
.estate-favorites-dashboard .estate-favorites-view-toggle .is-active{
  border-color:var(--estate-primary,#003899);
  background:var(--estate-primary,#003899);
  color:var(--estate-on-primary,#fff);
}
.estate-favorites-dashboard .estate-favorites-tip{
  margin-top:8px;
  padding:7px 10px;
  border-color:var(--estate-info-border);
  border-radius:10px;
  background:var(--estate-info-surface-soft);
  font-size:.78rem;
}
.estate-favorites-dashboard .estate-favorites-tip strong{
  display:inline;
}
.estate-favorites-dashboard .estate-favorites-tip p{
  display:inline;
  margin:0 0 0 5px;
  font-size:.78rem;
}
.estate-favorites-dashboard .estate-favorites-content{
  gap:14px;
}
.estate-favorites-dashboard .estate-favorite-property-section,
.estate-favorites-dashboard .estate-favorite-project-section{
  display:grid;
  gap:8px;
}
.estate-favorites-dashboard .estate-favorites-section-head,
.estate-favorites-dashboard .estate-favorite-project-section>.estate-section-head{
  padding:7px 10px;
  border:1px solid var(--estate-info-border);
  border-radius:10px;
  background:var(--estate-info-surface-soft);
}
.estate-favorites-dashboard .estate-favorites-section-head h3,
.estate-favorites-dashboard .estate-favorite-project-section>.estate-section-head h3{
  margin:0;
  font-size:1rem;
  color:var(--estate-primary,#003899);
}
.estate-favorites-dashboard .estate-favorites-section-head h3 span{
  color:var(--estate-muted);
  font-weight:700;
}
.estate-favorites-dashboard .estate-favorite-project-section{
  padding-top:0;
  border-top:0;
}
.estate-favorites-dashboard .estate-favorite-project-section>.estate-section-head{
  border-color:var(--estate-state-active-border);
  background:var(--estate-state-active-bg);
}
.estate-favorites-dashboard .estate-favorite-project-section>.estate-section-head .estate-eyebrow{
  display:none;
}
.estate-favorites-dashboard .estate-favorite-project-section>.estate-section-head h3{
  color:var(--estate-state-active);
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"]{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-card{
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  min-height:138px;
  height:auto;
  border-radius:12px;
  box-shadow:0 3px 12px rgba(15,64,95,.055);
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-card-media{
  min-height:138px;
  height:100%;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-image-fallback{
  font-size:2rem;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-status{
  left:6px;
  top:6px;
  padding:4px 7px;
  font-size:.65rem;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-card-body{
  min-width:0;
  gap:5px;
  padding:8px;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-card-title-row{
  gap:5px;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-card h3{
  display:-webkit-box;
  overflow:hidden;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  font-size:.83rem;
  line-height:1.18;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-heart{
  font-size:1rem;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-location{
  overflow:hidden;
  margin:2px 0 0;
  font-size:.69rem;
  line-height:1.15;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-facts{
  gap:4px;
  font-size:.68rem;
  line-height:1.15;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-facts>*{
  padding-right:4px;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-facts strong{
  color:var(--estate-text);
  font-size:.77rem;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-price-compact,
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-observed-since,
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-tracking-note,
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-availability-note{
  font-size:.66rem;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-tracking-note,
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-availability-note{
  padding:5px 6px;
  border-radius:7px;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-price-comparison{
  grid-template-columns:1fr 1fr;
  gap:4px;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-price-comparison>div{
  padding:5px 6px;
  border-radius:7px;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-price-comparison span{
  font-size:.6rem;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-price-comparison strong{
  font-size:.7rem;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-price-change{
  grid-template-columns:1fr auto;
  gap:1px 5px;
  padding:5px 6px;
  border-radius:7px;
  font-size:.64rem;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-snapshot-form .estate-mini-button{
  min-height:28px;
  padding:4px 6px;
  font-size:.65rem;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-actions{
  display:flex;
  flex-wrap:nowrap;
  gap:4px;
  margin-top:auto;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-actions>*{
  min-width:0;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-mini-button{
  min-height:28px;
  padding:4px 6px;
  border-radius:7px;
  font-size:.65rem;
  white-space:nowrap;
}
.estate-favorites-dashboard .estate-favorites-project-grid{
  display:block;
}
.estate-favorites-dashboard .estate-favorite-project-card{
  display:grid;
  grid-template-columns:minmax(180px,250px) minmax(0,1fr);
  min-height:112px;
  height:auto;
  border-radius:12px;
  box-shadow:0 3px 12px rgba(15,64,95,.055);
}
.estate-favorites-dashboard .estate-favorite-project-card .estate-favorite-project-media{
  min-height:112px;
}
.estate-favorites-dashboard .estate-favorite-project-card .estate-favorite-card-body{
  display:grid;
  grid-template-columns:minmax(180px,1.2fr) minmax(200px,1fr) auto;
  align-items:center;
  gap:10px;
  padding:10px 12px;
}
.estate-favorites-dashboard .estate-favorite-project-card .estate-favorite-card-title-row{
  align-items:center;
}
.estate-favorites-dashboard .estate-favorite-project-card .estate-favorite-card-title-row h3{
  font-size:1rem;
}
.estate-favorites-dashboard .estate-favorite-project-card .estate-favorite-location{
  font-size:.76rem;
}
.estate-favorites-dashboard .estate-favorite-project-card .estate-favorite-project-kpis{
  display:flex;
  flex-wrap:nowrap;
  gap:6px;
}
.estate-favorites-dashboard .estate-favorite-project-card .estate-favorite-project-kpis>div{
  min-width:92px;
  padding:7px 8px;
}
.estate-favorites-dashboard .estate-favorite-project-card .estate-favorite-project-kpis strong{
  font-size:.9rem;
}
.estate-favorites-dashboard .estate-favorite-project-card .estate-favorite-project-kpis span{
  font-size:.68rem;
}
.estate-favorites-dashboard .estate-favorite-project-card .estate-favorite-actions{
  justify-content:flex-end;
  margin-top:0;
}
.estate-favorites-dashboard .estate-favorite-project-card .estate-mini-button{
  min-height:32px;
  padding:6px 9px;
  font-size:.7rem;
}
.estate-favorites-dashboard .estate-favorites-recommendations{
  margin-top:4px;
  padding:10px;
  border-radius:12px;
}
.estate-favorites-dashboard .estate-favorites-recommendations .estate-section-head{
  margin-bottom:6px;
}
.estate-favorites-dashboard .estate-favorites-recommendations .estate-section-head h3{
  font-size:1rem;
}
.estate-favorites-dashboard .estate-recommendations-grid{
  gap:8px;
}
.estate-favorites-dashboard .estate-recommendation-body{
  padding:8px;
}
.estate-favorites-dashboard .estate-favorites-ux.is-list-view .estate-favorites-grid[data-favorites-grid="property"]{
  grid-template-columns:1fr;
}
.estate-favorites-dashboard .estate-favorites-ux.is-list-view .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-card{
  grid-template-columns:150px minmax(0,1fr);
  min-height:112px;
}
.estate-favorites-dashboard .estate-favorites-ux.is-list-view .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-card-media{
  min-height:112px;
}
.estate-favorites-dashboard .estate-favorites-ux.is-list-view .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-card-body{
  display:grid;
  grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;
  align-items:center;
  gap:8px 14px;
}
.estate-favorites-dashboard .estate-favorites-ux.is-list-view .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-card-title-row{
  grid-column:1;
}
.estate-favorites-dashboard .estate-favorites-ux.is-list-view .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-facts{
  grid-column:2;
}
.estate-favorites-dashboard .estate-favorites-ux.is-list-view .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-actions{
  grid-column:3;
  grid-row:1/4;
  align-self:center;
}

@media(max-width:1380px){
  .estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"]{grid-template-columns:repeat(3,minmax(0,1fr))}
  .estate-favorites-dashboard .estate-favorites-toolbar{grid-template-columns:1fr;grid-template-areas:"tabs" "filters" "meta"}
  .estate-favorites-dashboard .estate-favorites-toolbar-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1050px){
  .estate-favorites-dashboard .estate-favorites-sidebar{position:static}
  .estate-favorites-dashboard .estate-favorites-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"]{grid-template-columns:repeat(2,minmax(0,1fr))}
  .estate-favorites-dashboard .estate-favorites-toolbar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .estate-favorites-dashboard .estate-favorite-project-card{grid-template-columns:180px minmax(0,1fr)}
  .estate-favorites-dashboard .estate-favorite-project-card .estate-favorite-card-body{grid-template-columns:1fr 1fr}
  .estate-favorites-dashboard .estate-favorite-project-card .estate-favorite-actions{grid-column:1/-1;justify-content:flex-start}
  .estate-favorites-dashboard .estate-favorites-ux.is-list-view .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-card-body{display:flex;flex-direction:column;align-items:stretch}
  .estate-favorites-dashboard .estate-favorites-ux.is-list-view .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-actions{align-self:stretch}
}
@media(max-width:680px){
  .estate-favorites-dashboard .estate-favorites-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .estate-favorites-dashboard .estate-favorites-tabs{display:grid;grid-template-columns:1fr}
  .estate-favorites-dashboard .estate-favorites-tabs button{width:100%;justify-content:space-between}
  .estate-favorites-dashboard .estate-favorites-toolbar-grid{grid-template-columns:1fr}
  .estate-favorites-dashboard .estate-favorites-toolbar-meta{flex-wrap:wrap}
  .estate-favorites-dashboard .estate-favorites-results{width:100%}
  .estate-favorites-dashboard .estate-favorites-view-toggle{margin-left:0}
  .estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"]{grid-template-columns:1fr}
  .estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-card,
  .estate-favorites-dashboard .estate-favorites-ux.is-list-view .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-card{grid-template-columns:105px minmax(0,1fr)}
  .estate-favorites-dashboard .estate-favorite-project-card{grid-template-columns:1fr}
  .estate-favorites-dashboard .estate-favorite-project-card .estate-favorite-project-media{min-height:150px}
  .estate-favorites-dashboard .estate-favorite-project-card .estate-favorite-card-body{grid-template-columns:1fr}
  .estate-favorites-dashboard .estate-favorite-project-card .estate-favorite-actions{grid-column:1}
}


/* Hotfix 1.6.12.1 - Favorites + Community Project UX polish
   Scope: presentation, density, labels and existing detail navigation only. */
.estate-favorites-dashboard .estate-favorites-kpis{
  display:none !important;
}
.estate-favorites-dashboard .estate-favorites-workspace{
  order:2;
}
.estate-favorites-dashboard .estate-favorites-view-toggle .estate-mini-button.is-active{
  border-color:var(--estate-state-active-border,#8fcfbc);
  background:var(--estate-state-active-bg,#e9f7f1);
  color:var(--estate-state-active,#087a55) !important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--estate-state-active,#087a55) 10%,transparent);
}
.estate-favorites-dashboard .estate-favorites-view-toggle .estate-mini-button.is-active:hover,
.estate-favorites-dashboard .estate-favorites-view-toggle .estate-mini-button.is-active:focus-visible{
  background:color-mix(in srgb,var(--estate-state-active-bg,#e9f7f1) 82%,#fff);
  color:var(--estate-state-active,#087a55) !important;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-actions{
  align-items:stretch;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-actions .estate-mini-button{
  display:inline-flex;
  flex:1 1 auto;
  align-items:center;
  justify-content:center;
  min-width:0;
  max-width:100%;
  line-height:1.12;
  text-align:center;
  white-space:normal;
  overflow-wrap:anywhere;
}
.estate-favorites-dashboard .estate-recommendation-detail-link{
  color:var(--estate-text,#0f172a);
  text-decoration:none;
}
.estate-favorites-dashboard .estate-recommendation-detail-link:hover,
.estate-favorites-dashboard .estate-recommendation-detail-link:focus-visible{
  color:var(--estate-primary,#003899);
  text-decoration:underline;
  text-underline-offset:2px;
}
.estate-favorites-dashboard .estate-recommendation-card:focus-within{
  border-color:color-mix(in srgb,var(--estate-primary,#003899) 34%,var(--estate-info-border,#cfe4f2));
  box-shadow:0 0 0 2px color-mix(in srgb,var(--estate-primary,#003899) 8%,transparent),var(--estate-card-shadow-soft);
}

/* Community project detail: compact hierarchy aligned with Search/Favorites. */
.estate-community-project-detail{
  gap:.75rem;
}
.estate-community-project-detail .estate-community-project-hero{
  align-items:center;
  padding:18px 22px;
  min-height:0;
  border-radius:16px;
  background:#fff;
}
.estate-community-project-detail .estate-community-project-hero .estate-kicker{
  margin:0 0 3px;
  font-size:.78rem;
}
.estate-community-project-detail .estate-community-project-hero h1{
  margin:0;
  font-size:clamp(1.65rem,2.2vw,2.35rem);
  line-height:1.08;
}
.estate-community-project-detail .estate-community-project-hero p:not(.estate-kicker){
  margin:.35rem 0 0;
  color:var(--estate-muted,#64748b);
}
.estate-community-project-detail .estate-community-project-hero-actions{
  gap:.45rem;
}
.estate-community-project-detail .estate-community-project-hero-actions .estate-button{
  min-height:38px;
  padding:7px 11px;
  border-radius:9px;
  font-size:.82rem;
  white-space:nowrap;
}
.estate-community-project-detail>.estate-dash-card{
  padding:16px 18px;
  border-radius:14px;
  box-shadow:0 3px 12px rgba(15,64,95,.045);
}
.estate-community-project-detail>.estate-dash-card h2{
  margin:0 0 .55rem;
  font-size:1.05rem;
}
.estate-community-project-detail .estate-community-project-overview-list{
  margin:.25rem 0 0;
}
.estate-community-project-detail .estate-community-project-overview-list div{
  grid-template-columns:minmax(9.5rem,34%) minmax(0,1fr);
  gap:.55rem;
  padding:.48rem .25rem;
  font-size:.9rem;
}
.estate-community-project-detail .estate-community-project-source-grid{
  gap:.55rem;
}
.estate-community-project-detail .estate-community-project-source-card{
  gap:.35rem;
  padding:.72rem;
  border-radius:12px;
  background:var(--estate-info-surface-soft,#fbfdff);
}
.estate-community-project-detail .estate-community-project-source-card>span{
  width:2rem;
  height:2rem;
}
.estate-community-project-detail .estate-community-project-source-card small{
  min-height:1.5rem;
}
.estate-community-project-detail .estate-community-project-help-card{
  background:var(--estate-info-surface-soft,#fbfdff);
}
.estate-community-project-detail .estate-community-project-help-facts{
  margin-top:.5rem;
  gap:.5rem;
}
.estate-community-project-detail .estate-community-project-help-facts>div{
  padding:.65rem .75rem;
  border-radius:10px;
}
.estate-community-project-detail .estate-community-project-submit-card,
.estate-community-project-detail .estate-community-project-discussion-card{
  scroll-margin-top:1rem;
}
@media(max-width:980px){
  .estate-community-project-detail .estate-community-project-hero{align-items:flex-start}
  .estate-community-project-detail .estate-community-project-hero-actions{width:100%;justify-content:flex-start}
}
@media(max-width:680px){
  .estate-community-project-detail .estate-community-project-hero{padding:14px}
  .estate-community-project-detail .estate-community-project-hero-actions{display:grid;grid-template-columns:1fr}
  .estate-community-project-detail .estate-community-project-hero-actions .estate-button{width:100%;justify-content:center}
  .estate-community-project-detail>.estate-dash-card{padding:13px}
}

/* 1.6.13 sharing */
.estate-favorites-share-panel{margin:12px 0;padding:12px;border:1px solid #cfe4f2;border-radius:12px;background:#fbfdff}.estate-favorites-share-panel summary{font-weight:700;color:var(--estate-primary,#003899);cursor:pointer}.estate-share-form{display:grid;gap:10px;margin-top:12px}.estate-share-form label{display:grid;gap:4px}.estate-share-form fieldset{display:flex;gap:14px;flex-wrap:wrap;border:0;padding:0}.estate-favorite-share-check{display:flex;gap:6px;align-items:center;padding:5px 8px;font-size:12px}.estate-shared-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:8px 0;border-top:1px solid #e5edf5}.estate-shared-with-me,.estate-my-shares{margin-top:14px}

.estate-shared-page{margin:0;background:#f3f4f6;font-family:Arial,sans-serif;color:#111827}.estate-shared-public-card{max-width:820px;margin:40px auto;padding:24px;background:#fff;border:1px solid #cfe4f2;border-radius:16px}.estate-shared-public-list{display:grid;gap:10px;margin-top:18px}.estate-shared-public-item{display:flex;justify-content:space-between;gap:12px;padding:14px;border:1px solid #cfe4f2;border-radius:10px;text-decoration:none;color:var(--estate-primary,#003899)}

.estate-shared-row-stack{align-items:flex-start;flex-direction:column}.estate-shared-links{display:flex;gap:6px;flex-wrap:wrap}


/* Hotfix 1.6.13.1 - Favorites sharing UX hardening
   Keep share selection out of the compact favorite-card grid flow. */
.estate-favorites-dashboard .estate-favorite-card{
  position:relative;
}
.estate-favorites-dashboard .estate-favorite-share-check{
  position:absolute;
  z-index:5;
  top:6px;
  right:6px;
  display:inline-flex;
  align-items:center;
  gap:4px;
  width:auto;
  max-width:88px;
  margin:0;
  padding:4px 7px;
  border:1px solid rgba(0,56,153,.16);
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:var(--estate-primary,#003899);
  font-size:.65rem;
  font-weight:700;
  line-height:1;
  box-shadow:0 2px 8px rgba(15,64,95,.08);
}
.estate-favorites-dashboard .estate-favorite-share-check input{
  width:13px;
  height:13px;
  margin:0;
  flex:0 0 auto;
}
.estate-favorites-dashboard .estate-favorites-grid[data-favorites-grid="property"] .estate-favorite-status{
  max-width:calc(100% - 92px);
}
.estate-favorites-dashboard .estate-favorites-share-panel{
  margin:8px 0 12px;
  padding:9px 11px;
}
.estate-favorites-dashboard .estate-favorites-share-panel summary{
  display:flex;
  align-items:center;
  min-height:30px;
  font-size:.82rem;
}
.estate-favorites-dashboard .estate-share-form{
  grid-template-columns:minmax(220px,1fr) minmax(260px,1.4fr);
  gap:9px 12px;
  max-width:920px;
}
.estate-favorites-dashboard .estate-share-form fieldset,
.estate-favorites-dashboard .estate-share-form .estate-muted,
.estate-favorites-dashboard .estate-share-form > .estate-button{
  grid-column:1/-1;
}
.estate-favorites-dashboard .estate-share-form > .estate-button{
  width:auto;
  min-width:150px;
  justify-self:start;
}
@media(max-width:760px){
  .estate-favorites-dashboard .estate-share-form{grid-template-columns:1fr}
  .estate-favorites-dashboard .estate-share-form > *{grid-column:1!important}
  .estate-favorites-dashboard .estate-favorite-share-check{top:5px;right:5px}
}


/* Hotfix 1.6.13.2: public shared favourites consumer */
.estate-shared-public-shell{max-width:1100px;margin:0 auto;padding:32px 20px 56px}.estate-shared-public-head{display:flex;align-items:flex-start;gap:18px;margin-bottom:18px}.estate-shared-brand{display:inline-flex;align-items:center;justify-content:center;min-width:116px;min-height:42px;padding:0 14px;border-radius:12px;background:var(--estate-primary,#003899);color:#fff;text-decoration:none;font-weight:800}.estate-shared-eyebrow{margin:0 0 4px;color:#087a5a;font-weight:800}.estate-shared-public-head h1{margin:0;color:#111827;font-size:clamp(1.65rem,3vw,2.35rem)}.estate-shared-public-summary,.estate-shared-public-empty{padding:18px;border:1px solid #cfe4f2;border-radius:16px;background:#fff}.estate-shared-message span{display:block;margin-bottom:6px;color:#6b7280;font-size:.88rem;font-weight:700}.estate-shared-message blockquote{margin:0;padding:12px 14px;border-left:4px solid #087a5a;background:rgba(8,122,90,.06);border-radius:0 10px 10px 0;color:#111827}.estate-shared-meta{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-top:14px;color:#6b7280}.estate-shared-meta strong{color:#111827}.estate-shared-public-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.estate-shared-favorite-card{display:grid;grid-template-columns:180px minmax(0,1fr);min-width:0;overflow:hidden;border:1px solid #dce7f0;border-radius:16px;background:#fff;box-shadow:0 10px 24px rgba(15,35,55,.06)}.estate-shared-favorite-card.is-unavailable{opacity:.72}.estate-shared-favorite-media{min-height:170px;background:linear-gradient(135deg,#eef6ff,#dcecff);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--estate-primary,#003899);font-size:2rem}.estate-shared-favorite-media img{width:100%;height:100%;min-height:170px;object-fit:cover;display:block}.estate-shared-project-media{background:linear-gradient(135deg,rgba(8,122,90,.10),#eefbf7);color:#087a5a}.estate-shared-favorite-body{padding:15px;display:grid;gap:9px;min-width:0}.estate-shared-favorite-title{display:flex;justify-content:space-between;gap:10px}.estate-shared-favorite-title h2{margin:0;color:#111827;font-size:1.08rem;line-height:1.25}.estate-shared-favorite-title p{margin:4px 0 0;color:#6b7280;font-size:.9rem}.estate-shared-favorite-title>span{color:#b91c1c;font-size:1.15rem}.estate-shared-price{font-size:1.08rem;color:#111827}.estate-shared-facts{margin:0;color:#4b5563}.estate-shared-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}.estate-shared-unavailable{margin:0;padding:9px 10px;border-radius:10px;background:rgba(185,28,28,.07);color:#b91c1c}.estate-shared-public-empty h2{margin-top:0}.estate-shared-public-empty p{color:#6b7280}@media(max-width:900px){.estate-shared-public-list{grid-template-columns:1fr}.estate-shared-favorite-card{grid-template-columns:150px minmax(0,1fr)}}@media(max-width:620px){.estate-shared-public-shell{padding:18px 12px 36px}.estate-shared-public-head{flex-direction:column}.estate-shared-meta{align-items:flex-start;flex-direction:column;gap:5px}.estate-shared-favorite-card{grid-template-columns:1fr}.estate-shared-favorite-media,.estate-shared-favorite-media img{min-height:190px;height:190px}.estate-shared-actions .estate-mini-button{flex:1 1 auto;text-align:center}}


/* Hotfix 1.6.13.4: Website-module shared-page bridge and public language switch. */
.estate-shared-language-switch{margin-left:auto;display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;padding:4px;border:1px solid #cfe4f2;border-radius:999px;background:#fff}
.estate-shared-language-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:32px;padding:0 9px;border-radius:999px;color:var(--estate-primary,#003899);font-size:.82rem;font-weight:800;text-decoration:none}
.estate-shared-language-switch a:hover,.estate-shared-language-switch a:focus-visible{background:#f2f9ff;outline:none}
.estate-shared-language-switch a.is-active{background:var(--estate-primary,#003899);color:#fff}
body.estate-embedded-account .estate-shared-public-shell{max-width:1180px;padding:18px 16px 30px;background:transparent}
body.estate-embedded-account .estate-shared-public-head{align-items:center;margin-bottom:14px}
body.estate-embedded-account .estate-shared-public-heading{min-width:0}
.estate-shared-website-shell,.estate-shared-embedded-frame{width:100%;max-width:100%}
@media(max-width:620px){.estate-shared-language-switch{margin-left:0}.estate-shared-public-head{align-items:flex-start}.estate-shared-public-heading{width:100%}}

/* 1.6.13.6.1 precise PLUS/PRO favorite address */
.estate-favorites-dashboard .estate-favorite-address{margin:3px 0 0;color:var(--estate-text,#111827);font-size:.82rem;font-weight:800;line-height:1.35}
.estate-favorites-dashboard .estate-favorite-address+.estate-favorite-location{margin-top:1px}


/* Release 1.6.14.3 - Shared knowledge cards use the Search proposal-box portrait language. */
.estate-shared-sender{display:flex;gap:7px;align-items:baseline;margin-bottom:10px;color:#6b7280;font-size:.88rem}.estate-shared-sender strong{color:#111827;font-size:.94rem}
.estate-shared-public-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:18px;align-items:start;margin-top:18px}
.estate-shared-public-layout:not(.has-knowledge-rail){grid-template-columns:minmax(0,1fr)}
.estate-shared-public-layout .estate-shared-public-list{margin-top:0}
.estate-shared-knowledge-rail{display:grid;gap:14px;position:sticky;top:18px;min-width:0}
.estate-shared-knowledge-card{position:relative;display:block;min-width:0;overflow:hidden;padding:14px;border:1px solid #bee3f8;border-radius:14px;background:linear-gradient(160deg,#eefaff 0%,#f8fdff 100%);box-shadow:0 10px 24px rgba(15,35,55,.07);color:#111827;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.estate-shared-knowledge-card:hover,.estate-shared-knowledge-card:focus-visible{transform:translateY(-2px);border-color:rgba(0,56,153,.28);box-shadow:0 14px 30px rgba(15,35,55,.11);outline:none}
.estate-shared-knowledge-visual{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:112px;margin:0 0 11px;overflow:hidden;border:1px solid rgba(7,89,133,.12);border-radius:10px;background:rgba(255,255,255,.76)}
.estate-shared-knowledge-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.estate-shared-knowledge-content{display:grid;align-content:start;gap:7px;min-width:0}
.estate-shared-knowledge-badge{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;padding:3px 7px;border-radius:999px;color:#087a5a;background:rgba(8,122,90,.07);font-size:.69rem;font-weight:850;text-transform:uppercase;letter-spacing:.045em}
.estate-shared-knowledge-badge>span:first-child{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#fff;font-size:.68rem;text-transform:none}
.estate-shared-knowledge-card strong{font-size:1.05rem;line-height:1.2;color:#075985}
.estate-shared-knowledge-card small{color:#4f6f81;font-size:.82rem;line-height:1.4}
.estate-shared-knowledge-benefits{display:grid;gap:5px;margin:2px 0 3px;padding:0;list-style:none}
.estate-shared-knowledge-benefits li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:7px;align-items:center;min-height:26px;padding:4px 7px;border-radius:7px;color:#60798a;background:rgba(255,255,255,.55);font-size:.76rem;font-weight:700;line-height:1.28;transition:color .22s ease,background .22s ease,transform .22s ease}
.estate-shared-knowledge-number{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#dceef8;color:#075985;font-size:.66rem;font-weight:900}
.estate-shared-knowledge-icon{display:none}
.estate-shared-knowledge-benefits li.is-active,.estate-shared-knowledge-card.is-step-animated .estate-shared-knowledge-benefits li:hover{color:#075985;background:#fff;transform:translateX(2px)}
.estate-shared-knowledge-cta{display:flex;min-height:40px;align-items:center;justify-content:center;margin-top:4px;padding:7px 10px;border-radius:8px;color:#fff;background:#075985;font-size:.8rem;font-weight:850;text-align:center}
.estate-shared-knowledge-card.is-step-animated .estate-shared-knowledge-benefits li{animation:estate-shared-knowledge-step 8.8s ease infinite;opacity:.48}
.estate-shared-knowledge-card.is-step-animated .estate-shared-knowledge-benefits li:nth-child(2){animation-delay:1.35s}
.estate-shared-knowledge-card.is-step-animated .estate-shared-knowledge-benefits li:nth-child(3){animation-delay:2.7s}
@keyframes estate-shared-knowledge-step{0%,9%{opacity:.48;transform:translateY(1px)}18%,76%{opacity:1;transform:translateY(0);background:#fff}91%,100%{opacity:.48;transform:translateY(0)}}
@media(max-width:1080px){.estate-shared-public-layout{grid-template-columns:minmax(0,1fr)}.estate-shared-knowledge-rail{position:static;grid-template-columns:repeat(2,minmax(0,1fr));order:2}.estate-shared-public-list{order:1}.estate-shared-knowledge-visual{height:128px}}
@media(max-width:700px){.estate-shared-knowledge-rail{grid-template-columns:1fr}.estate-shared-knowledge-card{padding:13px}.estate-shared-knowledge-visual{height:112px}}
@media(prefers-reduced-motion:reduce){.estate-shared-knowledge-card,.estate-shared-knowledge-card.is-step-animated .estate-shared-knowledge-benefits li{animation:none!important;transition:none!important;opacity:1!important;transform:none!important}}

/* 1.7.6.3.4 – owner manager uses the established search card surfaces. */
.estate-owner-manager-table[role="list"]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;border:0;background:transparent;overflow:visible}
.estate-owner-manager-table[role="list"] .estate-owner-manager-row[data-owner-expose-id]{display:flex;flex-direction:column;align-items:stretch;gap:.65rem;min-width:0;border:1px solid #cfe4f2;border-radius:14px;padding:.85rem;background:#fbfdff;box-shadow:0 2px 8px rgba(0,56,153,.04)}
.estate-owner-manager-table[role="list"] .estate-owner-manager-object{align-items:flex-start;min-width:0}
.estate-owner-manager-table[role="list"] .estate-owner-manager-thumb{flex:0 0 100px;height:80px}
.estate-owner-manager-table[role="list"] .estate-owner-manager-object strong,.estate-owner-manager-table[role="list"] .estate-owner-manager-object small{white-space:normal;overflow-wrap:anywhere}
.estate-owner-manager-table[role="list"] .estate-owner-manager-publication{margin-top:auto}
.estate-owner-manager-table[role="list"] .estate-owner-manager-actions{justify-content:flex-start;display:flex;flex-wrap:wrap}
.estate-owner-manager-table[role="list"] .estate-owner-manager-quality{max-width:180px}
.estate-owner-publication-evidence{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap;min-width:0}
.estate-owner-frontend-status{font-size:.75rem;font-weight:700;border-radius:99px;padding:.3rem .55rem;background:#f2f9ff;color:#003899;border:1px solid #cfe4f2}
.estate-owner-frontend-status.is-published{background:#eaf8f0;color:#087a5a;border-color:#bce9d5}
.estate-owner-frontend-status.is-pending{background:#fff8e5;color:#765900;border-color:#eedb95}
.estate-owner-work-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin:.6rem 0 1rem}
.estate-owner-work-toolbar input,.estate-owner-work-toolbar select{max-width:100%;min-height:44px;box-sizing:border-box;border:1px solid #cfe4f2;border-radius:9px;padding:.55rem .65rem;background:#fff;color:#111827}
.estate-owner-work-toolbar input{flex:1 1 220px;min-width:0}.estate-owner-work-toolbar label{font-weight:600}
.estate-owner-filter-empty{padding:.8rem;color:#6b7280}
.estate-owner-manager-table[role="list"] .estate-owner-manager-row[hidden]{display:none!important}
@media(max-width:1180px){.estate-owner-manager-table[role="list"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.estate-owner-manager-table[role="list"]{grid-template-columns:minmax(0,1fr)}.estate-owner-work-toolbar{display:grid;grid-template-columns:minmax(0,1fr)}.estate-owner-work-toolbar input,.estate-owner-work-toolbar select{width:100%}}

/* 1.7.6.7.10: compact presentation; retain all existing controls and forms. */
.estate-owner-dashboard .estate-owner-object-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 320px));
  gap: 14px;
  align-items: start;
}
.estate-owner-dashboard .estate-owner-object-card { min-width: 0; align-self: start; }
.estate-owner-dashboard .estate-owner-object-card .estate-search-cockpit-card-media {
  height: 165px;
  min-height: 165px;
}
.estate-owner-dashboard .estate-owner-object-card .estate-search-cockpit-card-media img { height: 100%; object-fit: cover; }
.estate-owner-dashboard .estate-owner-object-card .estate-search-cockpit-card-body { padding: 12px 13px; }
.estate-owner-dashboard .estate-owner-object-card .estate-search-cockpit-card-body h4 { font-size: 1rem; line-height: 1.3; }
.estate-owner-dashboard .estate-owner-object-card .estate-owner-object-stats { gap: 5px; }
.estate-owner-dashboard .estate-owner-object-card .estate-owner-object-stats > div { padding: 6px; }
.estate-owner-dashboard .estate-owner-improvements { margin: 8px 0; border-top: 1px solid #e2e8f0; }
.estate-owner-dashboard .estate-owner-improvements > summary {
  cursor: pointer;
  padding: 10px 2px;
  color: #0756c9;
  font-weight: 750;
  font-size: .85rem;
}
.estate-owner-dashboard .estate-owner-improvements > summary:focus-visible { outline: 2px solid #0756c9; outline-offset: 2px; }
.estate-owner-dashboard .estate-owner-improvements .estate-owner-quality-panel { margin-top: 0; }
@media (max-width: 560px) {
  .estate-owner-dashboard .estate-owner-object-grid { grid-template-columns: minmax(0, 1fr); }
  .estate-owner-dashboard .estate-owner-object-card .estate-search-cockpit-card-media { height: 180px; }
}

/* 1.7.6.7.25: four separately labeled owner metrics; fit small cards without overflow. */
.estate-owner-dashboard .estate-owner-object-card .estate-owner-object-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.estate-owner-dashboard .estate-owner-object-card .estate-owner-object-stats dt {
  overflow-wrap: anywhere;
}
.estate-owner-dashboard .estate-owner-object-card .estate-owner-object-stats dd {
  font-variant-numeric: tabular-nums;
}

/* 1.7.6.7.25 - explicit private fact provenance and editor-preserving language links. */
.estate-owner-dashboard .estate-owner-private-facts-label {
  margin: .25rem 0 .5rem;
  color: var(--estate-muted);
  font-size: .75rem;
  font-weight: 650;
}
.estate-owner-editor-language-nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem;
}
.estate-owner-editor-language-nav a {
  padding: .38rem .56rem;
  border-radius: 8px;
  border: 1px solid #cad9e8;
  color: #0756c9;
  font-size: .79rem;
  font-weight: 700;
  text-decoration: none;
}
.estate-owner-editor-language-nav a[aria-current="page"] {
  color: #183b5b;
  background: #eaf3ff;
}
.estate-owner-editor-language-nav a:focus-visible {
  outline: 2px solid #0756c9;
  outline-offset: 2px;
}

/* 1.7.9.11.8: shared compact progress language across portal surfaces. */
.estate-progress-compact{box-sizing:border-box;display:grid;gap:5px;min-width:0;background:#f1f9f5;border:1px solid #b9dacf;border-radius:12px;padding:10px 12px;color:#087a5a}
.estate-progress-compact .estate-progress-row{display:flex;align-items:center;justify-content:space-between;gap:5px 12px;flex-wrap:wrap;min-width:0}
.estate-progress-compact .estate-progress-row>strong{font-size:.78rem;letter-spacing:.025em;text-transform:uppercase;margin:0;color:#087a5a}
.estate-progress-compact .estate-progress-trust{display:inline-block;background:#dcefe4;color:#175a3e;border-radius:20px;padding:3px 8px;font-size:.75rem;font-weight:700;white-space:normal;overflow-wrap:normal}
.estate-progress-compact .estate-progress-points{font-size:1.35rem;color:#087a5a;font-variant-numeric:tabular-nums}
.estate-progress-compact small{font-size:.75rem;line-height:1.4;color:#365b50;white-space:normal;overflow-wrap:normal}
.estate-progress-compact .estate-progress-goal{border-top:1px solid #d8e8df;padding-top:5px;font-size:.8rem}
.estate-progress-compact progress{height:8px;width:100%;accent-color:#087a5a;margin:0}
.estate-progress-compact .estate-progress-details{font-size:.75rem;color:#145f4a;min-width:0}
.estate-progress-compact .estate-progress-details summary{cursor:pointer;font-weight:600}
.estate-progress-compact .estate-progress-details table{width:100%;border-collapse:collapse;table-layout:fixed;margin-top:5px;font-size:.75rem}
.estate-progress-compact .estate-progress-details th,.estate-progress-compact .estate-progress-details td{padding:4px;border-bottom:1px solid #d8e8df;text-align:right;overflow-wrap:anywhere}
.estate-progress-compact .estate-progress-details th:first-child{text-align:left;width:44%}
.estate-progress-compact .estate-progress-details h5{margin:8px 0 4px}
.estate-progress-compact .estate-progress-history{max-height:180px;overflow:auto}

.estate-community-dashboard .estate-community-hero{grid-template-columns:minmax(0,1fr) minmax(380px,540px);align-items:center}
.estate-community-hero .estate-community-summary-compact.estate-progress-compact{width:100%;max-width:none!important;min-width:0;justify-self:stretch}
@media(max-width:1100px){.estate-community-dashboard .estate-community-hero{grid-template-columns:minmax(0,1fr)}}
