:root {
  --tenant-page-top: #e5f4ff;
  --tenant-page-bottom: #f8fcff;
  --tenant-card: #fff;
  --tenant-soft: #f7fbfe;
  --tenant-ink: #0c1730;
  --tenant-secondary: #536b8b;
  --tenant-muted: #8aa0bd;
  --tenant-primary: #1269fe;
  --tenant-primary-soft: #e7f2ff;
  --tenant-danger: #ff344d;
  --tenant-danger-soft: #fff0f2;
  --tenant-success: #12b76a;
  --tenant-success-soft: #dcf8e9;
  --tenant-warning: #ff8a34;
  --tenant-warning-soft: #fff0de;
  --tenant-border: #dceaf5;
  --tenant-divider: #eaf1f7;
  --tenant-shadow: 0 6px 22px rgba(48, 104, 146, 0.08);
}

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

body {
  color: var(--tenant-ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: #d9effe;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.app {
  width: min(100%, 447px);
  min-height: 100dvh;
  margin: 0 auto;
  overflow: clip;
  border-radius: 0;
  color: var(--tenant-ink);
  background: linear-gradient(180deg, var(--tenant-page-top), var(--tenant-page-bottom));
  box-shadow: 0 0 48px rgba(48, 104, 146, 0.16);
}

.app-header {
  position: absolute;
  z-index: 12;
  height: 50px;
  padding: 12px 26px 5px;
  background: transparent;
  color: var(--tenant-ink);
  font-size: 14px;
}

.app-header > strong {
  visibility: hidden;
}

.app-header .time {
  font-size: 15px;
  font-weight: 700;
}

.device-signal {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 2px;
  height: 18px;
  color: var(--tenant-ink);
}

.device-signal i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: currentColor;
}

.device-signal i:nth-child(1) { height: 5px; }
.device-signal i:nth-child(2) { height: 8px; }
.device-signal i:nth-child(3) { height: 11px; }

.device-signal b {
  margin: 0 3px;
  font-size: 16px;
  font-weight: 700;
  line-height: 12px;
  transform: rotate(-12deg);
}

.device-signal em {
  position: relative;
  display: block;
  width: 24px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.device-signal em::before {
  position: absolute;
  inset: 2px;
  border-radius: 1px;
  background: currentColor;
  content: "";
}

.device-signal em::after {
  position: absolute;
  top: 3px;
  right: -3px;
  width: 2px;
  height: 4px;
  border-radius: 0 2px 2px 0;
  background: currentColor;
  content: "";
}

.page {
  min-height: 100dvh;
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

.tenant-home-hero {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.tenant-home-hero > picture,
.tenant-home-hero > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.tenant-home-hero > picture > img,
.tenant-home-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.78) brightness(1.08);
}

.tenant-hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 252, 255, 0.96) 0%, rgba(236, 248, 255, 0.76) 40%, rgba(210, 238, 255, 0.22) 72%),
    linear-gradient(180deg, rgba(220, 244, 255, 0.28), rgba(225, 247, 255, 0.16) 55%, #e8f7ff 100%);
}

.tenant-hero-copy {
  position: absolute;
  top: 86px;
  left: 39px;
  z-index: 2;
}

.tenant-hero-copy h1 {
  margin: 0;
  font-size: 29px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: 0;
}

.tenant-hero-copy h1 span {
  color: var(--tenant-primary);
  font-size: 31px;
}

.tenant-hero-copy p {
  margin: 5px 0 0;
  color: #334f78;
  font-size: 14px;
  line-height: 21px;
}

.tenant-bell {
  position: absolute;
  top: 65px;
  right: 22px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--tenant-ink);
  font-size: 27px;
}

.tenant-bell i {
  position: absolute;
  top: 5px;
  right: 4px;
  width: 9px;
  height: 9px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: var(--tenant-danger);
}

.tenant-hero-note {
  position: absolute;
  right: 31px;
  bottom: 8px;
  z-index: 2;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  color: #185ec7;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  transform: rotate(-4deg);
}

.tenant-home-body {
  position: relative;
  z-index: 3;
  margin-top: -3px;
  padding: 0 15px 12px 16px;
}

.tenant-pending-effective {
  margin: 0 0 12px;
  overflow: hidden;
  border: 1px solid #efd9bd;
  border-radius: 20px;
  background: #fffdf9;
  box-shadow: var(--tenant-shadow);
}

.tenant-pending-effective-notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 15px 13px;
  border-bottom: 1px solid #f2e4d3;
  background: #fff8ee;
}

.tenant-pending-effective-icon {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
}

.tenant-pending-effective-notice strong {
  display: block;
  color: #9b5b1c;
  font-size: 16px;
  line-height: 24px;
}

.tenant-pending-effective-notice p {
  margin: 3px 0 0;
  color: #766653;
  font-size: 12px;
  line-height: 19px;
}

.tenant-pending-effective-room {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px 11px;
}

.tenant-pending-effective-room > div { min-width: 0; }
.tenant-pending-effective-room small,
.tenant-pending-effective-grid small {
  display: block;
  color: var(--tenant-muted);
  font-size: 10px;
  line-height: 16px;
}

.tenant-pending-effective-room strong {
  display: block;
  overflow: hidden;
  color: var(--tenant-ink);
  font-size: 16px;
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tenant-pending-effective-room span {
  display: block;
  margin-top: 2px;
  color: var(--tenant-secondary);
  font-size: 11px;
  line-height: 17px;
}

.tenant-pending-effective-room em {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff0de;
  color: #d8751c;
  font-size: 10px;
  font-style: normal;
  line-height: 16px;
  white-space: nowrap;
}

.tenant-pending-effective-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 15px 13px;
}

.tenant-pending-effective-grid > div {
  min-width: 0;
  padding: 9px 10px;
  border-radius: 10px;
  background: #f7faf9;
}

.tenant-pending-effective-grid-wide { grid-column: 1 / -1; }

.tenant-pending-effective-grid strong,
.tenant-pending-effective-grid span {
  display: block;
  color: var(--tenant-ink);
  font-size: 12px;
  line-height: 19px;
  overflow-wrap: anywhere;
}

.tenant-pending-effective-grid span {
  color: var(--tenant-secondary);
  font-size: 10px;
  line-height: 16px;
}

.tenant-pending-effective-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 15px 15px;
}

.tenant-pending-effective-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 42px;
  padding: 8px 9px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 18px;
}

.tenant-pending-effective-actions button > span { min-width: 0; }
.tenant-pending-effective-actions button > svg { flex: 0 0 auto; }
.tenant-pending-effective-actions .state-action { margin: 0; }

.tenant-pending-effective-actions .form-secondary {
  border: 1px solid #cde5e5;
  background: #f7fcfc;
  color: #087f82;
}

.tenant-property-card {
  min-height: 220px;
  padding: 15px 14px 13px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--tenant-shadow);
}

.tenant-property-head {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}

.tenant-property-head > img {
  width: 84px;
  height: 68px;
  border-radius: 9px;
  object-fit: cover;
}

.tenant-property-head strong,
.tenant-property-head span {
  display: block;
}

.tenant-property-head strong {
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tenant-property-head span {
  margin-top: 5px;
  overflow: hidden;
  color: var(--tenant-secondary);
  font-size: 12px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tenant-property-head > button {
  align-self: start;
  min-width: 87px;
  height: 36px;
  border: 1px solid #bcd8fb;
  border-radius: 999px;
  background: #f8fbff;
  color: #1e4d8f;
  font-size: 12px;
  white-space: nowrap;
}

.tenant-property-head button b,
.tenant-property-metrics button b,
.tenant-bill-heading button b,
.tenant-utility-head button b,
.tenant-overage b {
  font-size: 18px;
  line-height: 1;
}

.tenant-property-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.tenant-property-metrics > div {
  min-width: 0;
  min-height: 102px;
  padding: 12px 10px 9px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fcff, #f1f9fe);
}

.tenant-property-metrics small,
.tenant-property-metrics strong,
.tenant-property-metrics span,
.tenant-property-metrics em {
  display: block;
}

.tenant-property-metrics small {
  color: var(--tenant-secondary);
  font-size: 11px;
  line-height: 17px;
}

.tenant-property-metrics strong {
  margin-top: 6px;
  overflow: hidden;
  font-size: 18px;
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tenant-property-metrics strong.primary {
  color: var(--tenant-primary);
}

.tenant-property-metrics span {
  margin-top: 5px;
  color: var(--tenant-secondary);
  font-size: 10px;
  line-height: 15px;
}

.tenant-property-metrics em {
  width: max-content;
  max-width: 100%;
  margin-top: 6px;
  padding: 4px 7px;
  overflow: hidden;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tenant-property-metrics em.success { color: #0a9d5c; background: var(--tenant-success-soft); }
.tenant-property-metrics em.warning { color: #dc7025; background: var(--tenant-warning-soft); }

.tenant-property-metrics button {
  width: 100%;
  height: 31px;
  margin-top: 5px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #176cf5, #3f8eff);
  color: #fff;
  font-size: 11px;
}

.tenant-bill-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 43px;
  margin: 10px 5px 0 4px;
  padding: 8px 2px 4px;
}

.tenant-bill-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.tenant-bill-heading button {
  min-height: 32px;
  max-width: 100%;
  border: 0;
  background: transparent;
  color: var(--tenant-secondary);
  font-size: 11px;
}

.tenant-bill-period { margin: 4px 6px 8px; color: var(--tenant-secondary); font-size: 12px; line-height: 20px; overflow-wrap: anywhere; }

.tenant-utility-list {
  display: grid;
  gap: 11px;
  margin: 0 5px 0 4px;
  padding-top: 3px;
}

.tenant-utility-card {
  height: 236px;
  min-height: 236px;
  overflow: hidden;
  padding: 12px 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--tenant-shadow);
}

.tenant-utility-card.electricity {
  height: 241px;
}

.tenant-utility-head {
  display: grid;
  grid-template-columns: 50px auto auto 1fr;
  align-items: center;
  min-height: 50px;
  gap: 8px;
}

.tenant-utility-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 30px;
}

.tenant-utility-card.electricity .tenant-utility-icon {
  color: var(--tenant-warning);
  background: var(--tenant-warning-soft);
}

.tenant-utility-card.water .tenant-utility-icon {
  color: var(--tenant-primary);
  background: var(--tenant-primary-soft);
  font-size: 20px;
}

.tenant-utility-head > strong {
  font-size: 18px;
  line-height: 26px;
}

.tenant-utility-head > em {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  line-height: 16px;
  white-space: nowrap;
}

.tenant-utility-head > em.success { color: #0d9f63; background: var(--tenant-success-soft); }
.tenant-utility-head > em.warning { color: #e97525; background: var(--tenant-warning-soft); }
.tenant-utility-head > em.danger { color: var(--tenant-danger); background: var(--tenant-danger-soft); }

.tenant-utility-head > button {
  justify-self: end;
  border: 0;
  background: transparent;
  color: #334f78;
  font-size: 11px;
  white-space: nowrap;
}

.tenant-reading-grid,
.tenant-charge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #f3f9fd;
}

.tenant-water-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 7px;
}

.tenant-water-channel-grid > div {
  min-width: 0;
  padding: 7px 8px;
  border-radius: 9px;
  background: #f3f9fd;
  text-align: center;
}

.tenant-water-channel-grid small,
.tenant-water-channel-grid strong,
.tenant-water-channel-grid span {
  display: block;
}

.tenant-water-channel-grid small,
.tenant-water-channel-grid span {
  color: var(--tenant-secondary);
  font-size: 10px;
  line-height: 16px;
}

.tenant-water-channel-grid strong {
  margin-top: 2px;
  font-size: 13px;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.tenant-reading-grid {
  margin-top: 7px;
  border-radius: 11px 11px 0 0;
}

.tenant-charge-grid {
  margin-top: 7px;
  border-radius: 0 0 11px 11px;
}

.tenant-reading-grid > div,
.tenant-charge-grid > div {
  min-width: 0;
  padding: 4px 5px;
  border-right: 1px solid var(--tenant-divider);
  text-align: center;
}

.tenant-reading-grid > div:last-child,
.tenant-charge-grid > div:last-child {
  border-right: 0;
}

.tenant-reading-grid small,
.tenant-reading-grid strong,
.tenant-charge-grid small,
.tenant-charge-grid strong {
  display: block;
}

.tenant-reading-grid small,
.tenant-charge-grid small {
  color: var(--tenant-secondary);
  font-size: 11px;
  line-height: 16px;
}

.tenant-reading-grid strong,
.tenant-charge-grid strong {
  margin-top: 3px;
  overflow: hidden;
  font-size: 16px;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tenant-reading-grid i,
.tenant-charge-grid i {
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
}

.danger-text {
  color: var(--tenant-danger);
}

.tenant-overage {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  margin-top: 8px;
  padding: 7px 10px;
  border: 0;
  border-radius: 10px;
  background: var(--tenant-danger-soft);
  color: var(--tenant-danger);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}

.tenant-overage > span {
  margin-right: 6px;
}

.tenant-overage > b {
  margin-left: auto;
}

.tenant-utility-empty {
  min-height: 236px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.78);
}

.tenant-message-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 42px;
  align-items: end;
  gap: 2px;
  min-height: 145px;
  padding: 58px 21px 13px;
}

.tenant-message-header h1 {
  margin: 0;
  font-size: 28px;
  line-height: 36px;
}

.tenant-message-header p {
  margin: 4px 0 0;
  color: var(--tenant-secondary);
  font-size: 13px;
  line-height: 20px;
}

.tenant-message-header button {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--tenant-ink);
  font-size: 29px;
}

.tenant-message-body {
  padding: 0 20px 10px;
}

.message-tabs {
  width: 100%;
  min-height: 57px;
  padding: 8px 10px;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--tenant-shadow);
}

.message-tabs button {
  flex: 0 0 47%;
  min-width: 0;
  min-height: 41px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
}

.message-tabs button.active {
  background: linear-gradient(90deg, #176cf5, #4d94ff);
}

.message-tabs b {
  display: inline-grid;
  min-width: 23px;
  height: 23px;
  place-items: center;
  margin-left: 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--tenant-primary);
  font-size: 12px;
}

.message-list {
  gap: 10px;
  margin-top: 13px;
}

.message-card {
  grid-template-columns: 58px minmax(0, 1fr) auto 13px;
  gap: 10px;
  height: 84px;
  min-height: 84px;
  overflow: hidden;
  padding: 13px 14px;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--tenant-shadow);
}

.message-card.system-card {
  height: 232px;
  min-height: 232px;
}

.message-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 26px;
}

.message-icon.system { color: var(--tenant-primary); background: var(--tenant-primary-soft); }
.message-icon.water { color: var(--tenant-primary); background: #e2f5ff; }
.message-icon.electricity { color: var(--tenant-warning); background: var(--tenant-warning-soft); }
.message-icon.lease { color: #4f7cff; background: #e9f0ff; }
.message-icon.rent { color: var(--tenant-primary); background: var(--tenant-primary-soft); }

.message-copy strong {
  font-size: 15px;
  line-height: 22px;
}

.message-copy strong i {
  min-width: 21px;
  height: 21px;
  font-size: 11px;
}

.message-copy > small {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  color: var(--tenant-secondary);
  font-size: 12px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-time {
  padding-top: 3px;
  font-size: 11px;
}

.message-arrow {
  align-self: center;
  font-size: 26px;
}

.system-message-items {
  display: grid;
  margin-top: 7px;
}

.system-message-items > span {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 9px 0;
  border-top: 1px solid var(--tenant-divider);
}

.system-message-items > span.is-unread { padding-left: 16px; }

.system-message-items > span.is-unread::before {
  position: absolute;
  top: 15px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tenant-danger);
  content: "";
}

.system-message-items b {
  font-size: 12px;
  line-height: 18px;
}

.system-message-items small {
  grid-column: 1 / -1;
  margin-top: 2px;
  overflow: hidden;
  color: var(--tenant-secondary);
  font-size: 11px;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-message-items time {
  color: var(--tenant-muted);
  font-size: 10px;
  white-space: nowrap;
}

.message-footer-art,
.empty-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-height: 112px;
  padding: 18px 0 8px;
  color: var(--tenant-muted);
  text-align: center;
}

.message-footer-art > span,
.empty-message > span {
  color: #91c9fb;
  font-size: 42px;
}

.message-footer-art strong,
.empty-message strong {
  color: var(--tenant-secondary);
  font-size: 12px;
}

.message-footer-art small,
.empty-message small {
  font-size: 10px;
}

.tenant-profile-hero {
  position: relative;
  height: 263px;
  overflow: hidden;
}

.tenant-profile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0.56;
}

.tenant-profile-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 246, 255, 0.92), rgba(181, 222, 255, 0.68) 58%, rgba(232, 248, 255, 0.86));
}

.profile-settings {
  top: 60px;
  right: 20px;
  width: 42px;
  height: 42px;
  color: var(--tenant-ink);
  font-size: 27px;
}

.profile-identity {
  position: absolute;
  top: 89px;
  left: 31px;
  z-index: 2;
  gap: 16px;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 102px;
  height: 102px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: linear-gradient(145deg, #dfefff, #fff);
  color: var(--tenant-primary);
  box-shadow: 0 8px 20px rgba(41, 104, 161, 0.16);
  font-size: 46px;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-identity > div {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 8px;
}

.profile-identity strong {
  font-size: 21px;
  line-height: 29px;
}

.profile-identity em {
  margin: 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--tenant-primary-soft);
  color: var(--tenant-primary);
  font-size: 10px;
}

.profile-identity span,
.profile-identity small {
  grid-column: 1 / -1;
}

.profile-identity span {
  margin-top: 2px;
  color: var(--tenant-secondary);
  font-size: 14px;
}

.profile-identity small {
  margin-top: 6px;
  color: var(--tenant-success);
  font-size: 11px;
}

.profile-quote {
  position: absolute;
  right: 24px;
  bottom: 17px;
  z-index: 2;
  margin: 0;
  color: #476991;
  font-size: 12px;
  line-height: 18px;
}

.profile-body {
  z-index: 3;
  margin-top: 0;
  padding: 5px 16px 16px;
}

.page-profile {
  padding-bottom: 0;
}

.page-home {
  padding-bottom: 0;
}

.profile-group {
  margin-top: 10px;
  padding: 14px 13px 13px;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--tenant-shadow);
}

.profile-body > .profile-group:first-child { min-height: 158px; height: auto; margin-top: 0; }
.profile-body > .profile-group:nth-child(2) { min-height: 161px; height: auto; }
.profile-body > .profile-group:nth-child(3) { min-height: 157px; height: auto; }
.profile-body > .profile-group:nth-child(4) { min-height: 150px; height: auto; }

.profile-group-head {
  display: grid;
  grid-template-columns: 29px auto minmax(0, 1fr);
  gap: 8px;
  min-height: 31px;
  margin: 0 0 12px;
}

.profile-group-mark {
  color: #142b65;
  font-size: 25px;
  line-height: 29px;
}

.profile-group-head strong {
  font-size: 17px;
  line-height: 27px;
  white-space: nowrap;
}

.profile-group-description {
  justify-self: end;
  align-self: center;
  max-width: 100%;
  overflow: hidden;
  color: var(--tenant-secondary);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-items {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 82px;
  padding-top: 10px;
  border-top: 1px solid var(--tenant-divider);
}

.profile-items.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.profile-items.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.profile-items.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.profile-items button {
  min-width: 0;
  gap: 7px;
  padding: 0 3px;
  color: #1b3567;
  font-size: 11px;
}

.profile-item-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #142b65;
  font-size: 28px;
}

.tenant-logout {
  width: 100%;
  height: 46px;
  margin-top: 10px;
  border: 0;
  border-radius: 15px;
  background: var(--tenant-danger-soft);
  color: var(--tenant-danger);
  font-size: 14px;
  font-weight: 600;
}

.tenant-logout span {
  margin-right: 6px;
  font-size: 20px;
}

.bottom-nav {
  position: fixed;
  right: auto;
  bottom: 0;
  left: 50%;
  z-index: 15;
  width: min(100%, 447px);
  min-height: 69px;
  padding: 8px 33px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(220, 234, 245, 0.88);
  border-radius: 20px 20px 0 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 24px rgba(48, 104, 146, 0.08);
  transform: translateX(-50%);
}

.nav-item {
  gap: 2px;
  min-height: 51px;
  color: #425c83;
  font-size: 11px;
}

.nav-item.active {
  color: var(--tenant-primary);
  font-weight: 600;
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 31px;
  font-size: 27px;
}

.nav-badge {
  top: 1px;
  right: calc(50% - 21px);
  width: 9px;
  height: 9px;
}

.state-block {
  margin: 12px 0;
  min-height: 220px;
  justify-content: center;
  border-color: #bed9f5;
  background: rgba(255, 255, 255, 0.78);
}

.home-unbound .state-symbol {
  animation: none;
}

@media (max-width: 380px) {
  .tenant-hero-copy { left: 25px; }
  .tenant-property-head { grid-template-columns: 70px minmax(0, 1fr); }
  .tenant-property-head > img { width: 70px; height: 62px; }
  .tenant-property-head > button { grid-column: 2; justify-self: start; height: 30px; }
  .tenant-property-metrics { gap: 5px; }
  .tenant-property-metrics > div { padding-inline: 7px; }
  .tenant-property-metrics strong { font-size: 15px; }
  .tenant-utility-head { grid-template-columns: 45px auto auto 1fr; gap: 5px; }
  .tenant-utility-icon { width: 44px; height: 44px; }
  .tenant-utility-head > strong { font-size: 16px; }
  .tenant-utility-head > button { font-size: 10px; }
  .tenant-message-body { padding-inline: 15px; }
  .profile-group-description { max-width: 120px; }
}

@media (min-width: 700px) {
  .app {
    min-height: 1047px;
    margin: 24px auto;
    border-radius: 28px;
  }

  .bottom-nav {
    border-radius: 20px 20px 28px 28px;
  }
}
