body[data-page-id="setup-properties"],
body[data-page-id="property-manager"] {
  min-height: 100vh;
}

.property-manager-shell {
  margin: 0 auto;
  max-width: 1080px;
  padding: 32px 20px 56px;
}

.property-manager-header {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 18px 0 22px;
}

.property-manager-header h1 {
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 1.06;
  margin: 0;
}

.property-manager-header .dashboard-subtitle {
  max-width: 720px;
}

.property-manager-status {
  background: rgba(75, 163, 255, 0.12);
  border: 1px solid rgba(75, 163, 255, 0.26);
  border-radius: 999px;
  color: #d9ecff;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  max-width: 320px;
  padding: 10px 14px;
}

.property-manager-status[data-tone="success"] {
  background: rgba(47, 199, 161, 0.12);
  border-color: rgba(47, 199, 161, 0.3);
  color: #a9f5df;
}

.property-manager-status[data-tone="warning"] {
  background: rgba(244, 201, 93, 0.12);
  border-color: rgba(244, 201, 93, 0.34);
  color: #ffe3a3;
}

.property-manager-status[data-tone="danger"] {
  background: rgba(255, 122, 110, 0.12);
  border-color: rgba(255, 122, 110, 0.34);
  color: #ffb8b2;
}

.property-manager-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.property-manager-panel,
.property-count-card {
  background: linear-gradient(180deg, rgba(19, 45, 67, 0.95), rgba(12, 29, 45, 0.98));
  border: 1px solid rgba(172, 196, 219, 0.22);
  border-radius: 10px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
  color: #f7fbff;
  min-width: 0;
  padding: 20px;
}

.property-manager-panel h2 {
  font-size: 1.15rem;
  margin: 0 0 14px;
}

.property-form,
.delete-section {
  display: grid;
  gap: 13px;
}

.property-form label,
.delete-section label {
  color: #cfe2f4;
  display: grid;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 7px;
}

.property-form input,
.delete-section input,
.delete-section select {
  background: rgba(5, 14, 24, 0.82);
  border: 1px solid rgba(172, 196, 219, 0.24);
  border-radius: 8px;
  box-sizing: border-box;
  caret-color: #f7fbff;
  color: #f7fbff;
  color-scheme: dark;
  font: inherit;
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

.property-form input::placeholder,
.delete-section input::placeholder {
  color: #98aac0;
  opacity: 1;
}

.property-form input:focus,
.delete-section input:focus,
.delete-section select:focus {
  border-color: rgba(75, 163, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(75, 163, 255, 0.18);
  outline: none;
}

.property-form .property-check-row {
  align-items: center;
  display: flex;
  gap: 10px;
  min-height: 42px;
}

.property-form .property-check-row input[type="checkbox"] {
  accent-color: #2fc7a1;
  flex: 0 0 20px;
  min-height: 20px;
  padding: 0;
  width: 20px;
}

.property-field-hint {
  color: #9fb2c8;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  margin: -4px 0 0;
}

.form-button,
.delete-button,
.back-button,
.next-button {
  background: linear-gradient(135deg, #2fc7a1, #4ba3ff);
  border: 0;
  border-radius: 8px;
  color: #03101c;
  cursor: pointer;
  font-weight: 850;
  min-height: 42px;
  padding: 10px 15px;
}

.form-button:disabled {
  background: rgba(159, 178, 200, 0.18);
  color: #9fb2c8;
  cursor: not-allowed;
}

.property-plan-action,
.property-refresh-action {
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  min-height: 44px;
  padding: 10px 15px;
  width: 100%;
}

.property-plan-action {
  background: rgba(244, 201, 93, 0.12);
  border: 1px solid rgba(244, 201, 93, 0.5);
  color: #f4c95d;
}

.property-refresh-action {
  background: rgba(75, 163, 255, 0.12);
  border: 1px solid rgba(75, 163, 255, 0.5);
  color: #a9d6ff;
}

.property-refresh-action:disabled {
  cursor: progress;
  opacity: 0.72;
}

.delete-button {
  background: linear-gradient(135deg, #ff7a6e, #f4c95d);
}

.delete-button.is-confirming {
  background: #b42318;
  color: #fff;
}

.property-manager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.property-manager-actions .next-button,
.property-manager-actions .back-button {
  text-decoration: none;
}

.property-count-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.property-count-card {
  border-radius: 8px;
  box-shadow: none;
  padding: 14px;
}

.property-count-card span {
  color: #9fb2c8;
  display: block;
  font-size: 0.74rem;
  font-weight: 850;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.property-count-card strong {
  color: #f7fbff;
  display: block;
  font-size: 1.55rem;
  line-height: 1;
}

.property-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.property-list li {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(172, 196, 219, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 11px 12px;
}

.property-list strong {
  color: #f7fbff;
}

.property-list span,
.property-empty {
  color: #9fb2c8;
  font-size: 0.86rem;
  font-weight: 700;
}

.property-danger-copy {
  color: #b7c8da;
  line-height: 1.5;
  margin: 0 0 14px;
}

@media (max-width: 860px) {
  .property-manager-header,
  .property-manager-grid {
    grid-template-columns: 1fr;
  }

  .property-manager-header {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .property-manager-shell {
    padding: 22px 14px 42px;
  }

  .property-manager-panel {
    padding: 16px;
  }

  .property-count-grid {
    grid-template-columns: 1fr;
  }

  .property-manager-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
