/* UrbanNest mockup fidelity layer. Loaded last so the current workflows stay intact. */
:root {
  --un-teal: #109b9d;
  --un-teal-dark: #087b7d;
  --un-teal-soft: #e8f7f6;
  --un-orange: #ff7417;
  --un-orange-soft: #fff1e7;
  --un-ink: #15191d;
  --un-muted: #727b84;
  --un-line: #e8ebee;
  --un-page: #f7f8f9;
  --un-card: #ffffff;
  --un-danger: #e32636;
  --un-success: #1f9b68;
  --un-radius: 8px;
  --un-shadow: 0 8px 28px rgba(20, 29, 37, 0.08);
  --un-shadow-soft: 0 3px 14px rgba(20, 29, 37, 0.06);
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background: var(--un-page);
  color: var(--un-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.brand-mark[hidden] {
  display: none !important;
}

.mockup-app-shell .brand-mark {
  display: none !important;
}

.mockup-app-shell,
.mockup-dashboard-main,
.mockup-dashboard-view,
.mockup-dashboard-view * {
  box-sizing: border-box;
}

.mockup-app-shell {
  min-height: 100svh;
  background: var(--un-page);
}

.mockup-mobile-topbar {
  display: none;
}

.role-dashboard-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  width: calc(100% - 32px);
  min-height: calc(100svh - 32px);
  margin: 16px;
  overflow: hidden;
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  background: var(--un-card);
  box-shadow: var(--un-shadow);
}

.role-dashboard-shell.unverified {
  display: block;
  max-width: 760px;
}

.mockup-dashboard-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 14px 18px;
  border-right: 1px solid var(--un-line);
  background: var(--un-card);
}

.mockup-sidebar-brand {
  justify-content: flex-start;
  width: 100%;
  min-height: 44px;
  margin: 0 4px 22px;
  color: var(--un-ink);
}

.mockup-sidebar-brand .brand-logo-wrap,
.mockup-sidebar-brand .brand-logo-image {
  width: 34px;
  height: 34px;
}

.mockup-sidebar-brand strong {
  font-size: 18px;
}

.mockup-sidebar-brand strong i {
  color: var(--un-orange);
  font-style: normal;
}

.mockup-sidebar-brand small {
  display: none;
}

.mockup-sidebar-brand .brand-mark[hidden],
.mockup-mobile-topbar .brand-mark[hidden] {
  display: none !important;
}

.mockup-dashboard-sidebar nav {
  display: grid;
  gap: 4px;
}

.mockup-dashboard-sidebar nav button,
.mockup-sidebar-signout {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #4f5963;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.mockup-dashboard-sidebar .dock-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
}

.mockup-dashboard-sidebar nav button:hover,
.mockup-dashboard-sidebar nav button.active {
  background: var(--un-teal);
  color: #ffffff;
}

.role-landlord .mockup-dashboard-sidebar nav button.active {
  background: var(--un-orange);
}

.mockup-sidebar-signout {
  margin-top: auto;
  color: #626a73;
}

.mockup-support-card {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding: 14px;
  border-radius: var(--un-radius);
  background: var(--un-teal-soft);
}

.mockup-support-card span {
  color: var(--un-muted);
  font-size: 12px;
}

.mockup-support-card button {
  min-height: 36px;
  border: 1px solid rgba(16, 155, 157, 0.28);
  border-radius: 7px;
  background: #ffffff;
  color: var(--un-teal-dark);
  font-weight: 750;
}

.mockup-support-card + .mockup-sidebar-signout {
  margin-top: 10px;
}

.mockup-dashboard-main.app-main {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 38px 42px 52px;
  background: #ffffff;
  font-size: 16px;
}

.mockup-dashboard-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 26px;
}

.mockup-heading-intro {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.mockup-heading-intro > div {
  min-width: 0;
}

.mockup-heading-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 2px solid rgba(16, 155, 157, 0.24);
  border-radius: 50%;
  background: var(--un-teal-soft);
  color: var(--un-teal-dark);
  cursor: pointer;
}

.mockup-heading-profile-photo {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: inherit;
  object-fit: cover;
  font-size: 17px;
  font-weight: 850;
}

.mockup-dashboard-heading h1 {
  margin: 0;
  color: var(--un-ink);
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: 0;
}

.mockup-dashboard-heading p {
  margin: 7px 0 0;
  color: var(--un-muted);
  font-size: 15px;
  line-height: 1.45;
}

.mockup-heading-actions {
  width: auto !important;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.mockup-heading-actions .header-alert-button {
  display: none;
}

.compact-add-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 15px;
}

.compact-add-action .dock-icon {
  width: 17px;
  height: 17px;
}

.mockup-dashboard-view,
.mockup-overview {
  min-width: 0;
}

.mockup-overview {
  display: grid;
  gap: 22px;
}

.mockup-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mockup-kpi-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 112px;
  align-content: center;
  gap: 7px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  background: var(--un-card);
  box-shadow: var(--un-shadow-soft);
}

.mockup-kpi-card small {
  color: var(--un-muted);
  font-size: 13px;
  font-weight: 650;
}

.mockup-kpi-card > strong {
  max-width: 100%;
  color: var(--un-ink);
  font-size: 26px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.mockup-kpi-card > span:not(.mockup-kpi-icon) {
  color: var(--un-muted);
  font-size: 12px;
}

.mockup-kpi-card.teal > strong,
.mockup-kpi-card.green > strong {
  color: var(--un-teal-dark);
}

.mockup-kpi-card.orange > strong {
  color: var(--un-orange);
}

.mockup-kpi-card.danger > strong {
  color: var(--un-danger);
}

.mockup-kpi-card.blue > strong {
  color: #1677d2;
}

.mockup-kpi-card.rating .mockup-kpi-icon,
.mockup-kpi-card.rating > strong {
  color: #efa311;
}

.mockup-kpi-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--un-teal);
  opacity: 0.22;
}

.mockup-kpi-icon .dock-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.mockup-chart-panel,
.mockup-activity-panel,
.mockup-secondary-panel,
.mockup-crew-jobs-panel,
.mockup-crew-activity {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  background: var(--un-card);
  box-shadow: var(--un-shadow-soft);
}

.mockup-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.mockup-section-heading h2,
.mockup-quick-actions h2,
.mockup-crew-activity h2,
.mockup-about-property h2,
.mockup-amenities h2,
.mockup-key-information h2,
.mockup-tenant-history h2 {
  margin: 0;
  color: var(--un-ink);
  font-size: 20px;
  line-height: 1.3;
}

.mockup-section-heading p {
  margin: 4px 0 0;
  color: var(--un-muted);
  font-size: 14px;
  line-height: 1.45;
}

.mockup-section-heading > span,
.mockup-section-heading > button {
  flex: 0 0 auto;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: var(--un-teal-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.mockup-chart-panel .mini-line-chart {
  display: block;
  width: 100%;
  height: 220px;
  padding: 10px 0;
  border-bottom: 1px solid var(--un-line);
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 52px, rgba(126, 137, 147, 0.12) 53px);
}

.mockup-chart-panel .mini-line-chart polyline {
  fill: none;
  stroke: var(--un-teal);
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
}

.mockup-chart-panel .mini-line-chart circle {
  fill: var(--un-teal);
  stroke: #ffffff;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.mockup-chart-axis {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  color: var(--un-muted);
  font-size: 12px;
}

.mockup-dashboard-view .item-row strong {
  font-size: 15px;
  line-height: 1.35;
}

.mockup-dashboard-view .item-row small,
.mockup-dashboard-view .muted,
.mockup-dashboard-view .empty-state {
  font-size: 13px;
  line-height: 1.5;
}

/* Compact renter-profile summaries inspired by task-led property apps. */
.profile-summary-card.profile-group {
  display: block;
  overflow: hidden;
  padding: 0;
  border-radius: 12px;
  box-shadow: var(--un-shadow-soft);
}

.profile-summary-card > summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 20px;
  gap: 12px;
  min-height: 74px;
  align-items: center;
  padding: 14px 16px;
  list-style: none;
}

.profile-summary-card > summary::-webkit-details-marker {
  display: none;
}

.profile-summary-icon {
  display: grid !important;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--un-teal-soft);
  color: var(--un-teal-dark) !important;
}

.profile-summary-icon .dock-icon {
  width: 20px;
  height: 20px;
}

.profile-summary-copy {
  display: grid !important;
  min-width: 0;
  gap: 3px;
  color: var(--un-ink) !important;
}

.profile-summary-copy strong {
  color: var(--un-ink);
  font-size: 16px;
  line-height: 1.25;
}

.profile-summary-copy small {
  overflow: hidden;
  color: var(--un-muted) !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-summary-status {
  display: inline-flex !important;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.profile-summary-status.complete {
  background: rgba(31, 155, 104, 0.12);
  color: var(--un-success) !important;
}

.profile-summary-status.attention {
  background: var(--un-orange-soft);
  color: var(--un-orange) !important;
}

.profile-summary-chevron {
  display: grid !important;
  place-items: center;
  color: var(--un-muted) !important;
  transition: transform 180ms ease;
}

.profile-summary-chevron .dock-icon {
  width: 18px;
  height: 18px;
}

.profile-summary-card[open] > summary {
  border-bottom: 1px solid var(--un-line);
}

.profile-summary-card[open] .profile-summary-chevron {
  transform: rotate(90deg);
}

.profile-group-content {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.profile-group-content > .button {
  width: fit-content;
}

/* Desktop discovery hero: image-led, theme-safe and full-width. */
@media (min-width: 821px) {
  .discovery-hero .container,
  .available-nearby-section .container,
  .shorts-section .container,
  .insight-section .container,
  .site-shell > .section > .container {
    width: calc(100% - 32px);
    max-width: none;
  }

  .discovery-hero-grid {
    min-height: clamp(470px, 58vh, 620px);
    margin-top: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: #15191d;
    box-shadow: var(--un-shadow);
  }

  .discovery-hero-media::after,
  .hero-live-empty::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 12, 14, 0.82) 0%, rgba(8, 12, 14, 0.66) 38%, rgba(8, 12, 14, 0.18) 68%, rgba(8, 12, 14, 0.28) 100%);
    content: "";
  }

  .discovery-hero-media > img,
  .hero-live-empty img {
    object-position: center 58%;
    filter: saturate(0.96) contrast(1.04);
  }

  .discovery-hero-copy {
    width: min(58%, 720px);
    padding: clamp(42px, 6vw, 84px);
    color: #ffffff;
  }

  .discovery-hero-copy::before {
    display: none;
  }

  .discovery-hero-copy .eyebrow {
    color: #ffad70;
  }

  .discovery-hero-copy h1 {
    max-width: 650px;
    margin: 12px 0 18px;
    color: #ffffff;
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1;
  }

  .discovery-hero-copy p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
  }

  .discovery-hero-copy .button.primary {
    min-height: 48px;
    padding-inline: 20px;
    color: #17120f;
  }

  .discovery-hero-copy .button.ghost {
    min-height: 48px;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(11, 15, 17, 0.34);
    color: #ffffff;
    backdrop-filter: blur(12px);
  }

  .hero-trust-panel {
    right: clamp(20px, 3vw, 42px);
    width: min(270px, 29%);
    padding: 20px;
    border-color: rgba(114, 224, 223, 0.46);
    border-radius: 12px;
    background: rgba(10, 16, 18, 0.84);
    color: #ffffff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(18px);
  }

  .hero-trust-heading,
  .hero-trust-panel li .dock-icon,
  .hero-trust-panel .link-button {
    color: #72e0df;
  }

  .hero-trust-panel > strong,
  .hero-trust-panel > strong small,
  .hero-trust-panel li {
    color: #ffffff;
  }

  .hero-trust-panel > span {
    color: rgba(255, 255, 255, 0.72);
  }

  .hero-listing-caption,
  .hero-live-empty strong {
    right: clamp(20px, 3vw, 42px);
    bottom: 22px;
    min-width: 0;
    max-width: 280px;
    background: rgba(10, 16, 18, 0.8);
    backdrop-filter: blur(14px);
  }

  .available-nearby-section {
    padding: 46px 0 34px;
    border-top: 1px solid var(--un-line);
    background: var(--un-page);
  }

  .compact-section-title h2 {
    font-size: 38px;
  }
}

@media (min-width: 821px) and (max-width: 1040px) {
  .discovery-hero-copy {
    width: 62%;
    padding: 42px;
  }

  .discovery-hero-copy h1 {
    font-size: 50px;
  }

  .hero-trust-panel {
    width: 230px;
    padding: 16px;
  }

  .hero-trust-panel ul {
    gap: 4px;
  }
}

.mockup-activity-panel .list,
.mockup-activity-panel .item-row {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mockup-activity-panel .item-row {
  min-height: 58px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--un-line);
}

.mockup-activity-panel .item-row:last-child {
  border-bottom: 0;
}

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

.mockup-secondary-grid .chart-card {
  min-width: 0;
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  box-shadow: var(--un-shadow-soft);
}

.mockup-secondary-panel .property-bubble-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mockup-secondary-panel .property-bubble-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  background: var(--un-card);
  box-shadow: none;
}

.mockup-secondary-panel .property-bubble-main {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.mockup-secondary-panel .property-bubble-image {
  width: 100%;
  height: 100%;
  min-height: 178px;
  overflow: hidden;
  border-radius: 0;
}

.mockup-secondary-panel .property-bubble-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-secondary-panel .property-bubble-copy {
  min-width: 0;
  padding: 15px;
}

.mockup-secondary-panel .property-bubble-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.mockup-secondary-panel .property-bubble-stats > span {
  min-width: 0;
  padding: 7px;
}

.mockup-secondary-panel .floating-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--un-line);
}

/* Tenant dashboard */
.mockup-tenant-overview {
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.75fr);
  align-items: start;
}

.mockup-current-lease {
  position: relative;
  min-height: 185px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--un-radius);
  background: linear-gradient(135deg, var(--un-teal-dark), var(--un-teal));
  color: #ffffff;
  box-shadow: var(--un-shadow-soft);
}

.mockup-current-lease::after {
  position: absolute;
  right: -45px;
  bottom: -75px;
  width: 190px;
  height: 190px;
  border: 34px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.mockup-current-lease > * {
  position: relative;
  z-index: 1;
}

.mockup-current-lease > small {
  font-weight: 750;
  opacity: 0.82;
}

.mockup-current-lease h2 {
  margin: 10px 0 5px;
  color: #ffffff;
  font-size: 22px;
}

.mockup-current-lease p,
.mockup-lease-dates {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.mockup-lease-dates {
  display: grid;
  gap: 4px;
  margin: 15px 0;
}

.mockup-current-lease .button.light {
  min-height: 36px;
  border: 0;
  background: #ffffff;
  color: var(--un-teal-dark);
}

.mockup-card-link {
  position: absolute !important;
  top: 16px;
  right: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.mockup-card-link .dock-icon {
  width: 17px;
  height: 17px;
}

.mockup-rent-due {
  display: flex;
  min-height: 185px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  background: #ffffff;
  box-shadow: var(--un-shadow-soft);
}

.mockup-rent-due div {
  display: grid;
  gap: 6px;
}

.mockup-rent-due small,
.mockup-rent-due span {
  color: var(--un-muted);
  font-size: 12px;
}

.mockup-rent-due strong {
  color: var(--un-ink);
  font-size: 26px;
}

.mockup-quick-actions,
.mockup-payment-history,
.mockup-tenant-overview > .mockup-activity-panel,
.mockup-tenant-overview > .mockup-secondary-panel {
  grid-column: 1 / -1;
}

.mockup-quick-actions > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.mockup-quick-actions .quick-action-button {
  min-height: 88px;
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  background: #ffffff;
  color: var(--un-ink);
  box-shadow: none;
}

.mockup-quick-actions .quick-action-button strong {
  color: var(--un-teal);
}

/* Property search */
.tab-search .role-dashboard-shell {
  display: block;
  width: min(760px, calc(100% - 48px));
}

.tab-search .mockup-dashboard-sidebar,
.tab-search .mockup-dashboard-heading {
  display: none;
}

.tab-search .mockup-dashboard-main.app-main {
  padding: 34px;
}

.mockup-property-search-page {
  width: 100%;
  min-width: 0;
}

.mockup-search-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.mockup-search-title > button {
  display: none;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--un-ink);
}

.mockup-search-title h1 {
  margin: 0;
  color: var(--un-ink);
  font-size: 28px;
}

.mockup-search-title p {
  margin: 6px 0 0;
  color: var(--un-muted);
  font-size: 13px;
}

.mockup-search-controls {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 10px;
}

.mockup-search-field {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  background: #ffffff;
}

.mockup-search-field .dock-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke: var(--un-muted);
}

.mockup-search-field span {
  overflow: hidden;
  color: #4f5963;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mockup-search-field select {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.mockup-filter-menu {
  position: static;
  padding: 0;
  border: 0;
  background: transparent;
}

.mockup-filter-menu summary {
  display: grid;
  width: 48px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  background: #ffffff;
  cursor: pointer;
  list-style: none;
}

.mockup-filter-menu summary::-webkit-details-marker {
  display: none;
}

.mockup-filter-menu summary .dock-icon {
  width: 20px;
  height: 20px;
}

.mockup-filter-menu > div {
  position: absolute;
  z-index: 8;
  top: 60px;
  right: 0;
  display: grid;
  width: min(330px, 100%);
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  background: #ffffff;
  box-shadow: var(--un-shadow);
}

.mockup-filter-menu label {
  display: grid;
  gap: 6px;
  color: var(--un-muted);
  font-size: 12px;
  font-weight: 700;
}

.mockup-filter-menu select {
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--un-line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--un-ink);
}

.mockup-filter-chips {
  display: flex;
  gap: 8px;
  margin: 14px 0 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mockup-filter-chips::-webkit-scrollbar {
  display: none;
}

.mockup-filter-chips button {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 0 16px;
  border: 1px solid var(--un-line);
  border-radius: 999px;
  background: #ffffff;
  color: #4f5963;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.mockup-filter-chips button.active {
  border-color: var(--un-teal);
  background: var(--un-teal);
  color: #ffffff;
}

.mockup-result-count {
  margin-bottom: 14px;
  font-size: 14px;
}

.mockup-search-results {
  display: grid;
  gap: 12px;
}

.mockup-property-list-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  background: #ffffff;
  box-shadow: var(--un-shadow-soft);
}

.mockup-property-open {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mockup-property-image {
  position: relative;
  display: block;
  min-height: 158px;
  overflow: hidden;
  background: #eff2f3;
}

.mockup-property-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-property-image .property-trust-badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.mockup-property-copy {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 8px;
  padding: 18px 50px 18px 20px;
}

.mockup-property-copy > strong {
  color: var(--un-ink);
  font-size: 17px;
}

.mockup-property-copy > small {
  color: var(--un-muted);
  font-size: 12px;
}

.mockup-property-location {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mockup-property-location .dock-icon {
  width: 13px;
  height: 13px;
}

.mockup-property-copy > b {
  color: var(--un-ink);
  font-size: 17px;
}

.mockup-property-copy > b em {
  color: var(--un-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.mockup-property-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--un-muted);
}

.mockup-property-facts i {
  font-size: 11px;
  font-style: normal;
}

.mockup-save-button {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #6c747c;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.09);
}

.mockup-save-button.saved {
  color: var(--un-orange);
}

.mockup-save-button.saved .dock-icon {
  fill: currentColor;
}

.mockup-save-button .dock-icon {
  width: 18px;
  height: 18px;
}

/* Property details */
.modal-card:has(.mockup-property-detail-modal) {
  width: min(1080px, calc(100vw - 40px));
  max-width: 1080px;
  max-height: calc(100svh - 40px);
  padding: 0;
  overflow: auto;
  border-radius: var(--un-radius);
  background: #ffffff;
}

.mockup-property-detail-modal {
  min-width: 0;
  background: #ffffff;
}

.mockup-property-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 2.25 / 1;
  overflow: hidden;
  background: #eef1f2;
}

.mockup-property-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-detail-back,
.mockup-detail-save {
  position: absolute;
  z-index: 2;
  top: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--un-ink);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.14);
}

.mockup-detail-back {
  left: 18px;
}

.mockup-detail-save {
  right: 18px;
}

.mockup-detail-save.saved {
  color: var(--un-orange);
}

.mockup-detail-save.saved .dock-icon {
  fill: currentColor;
}

.mockup-detail-back .dock-icon,
.mockup-detail-save .dock-icon {
  width: 21px;
  height: 21px;
}

.mockup-detail-trust {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 72px;
}

.mockup-detail-thumbnails {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  display: flex;
  gap: 7px;
  padding: 6px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
}

.mockup-detail-thumbnails button {
  width: 70px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 5px;
  background: transparent;
}

.mockup-detail-thumbnails button.active {
  border-color: var(--un-orange);
}

.mockup-detail-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-photo-count {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(17, 20, 24, 0.72);
  color: #ffffff;
  font-size: 11px;
  font-weight: 750;
}

.mockup-property-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 0.75fr);
  gap: 30px;
  padding: 28px;
}

.mockup-property-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mockup-property-title-row h1 {
  margin: 0;
  color: var(--un-ink);
  font-size: 28px;
  line-height: 1.2;
}

.mockup-property-title-row p {
  margin: 7px 0 0;
  color: var(--un-muted);
  font-size: 14px;
}

.mockup-detail-price {
  margin: 18px 0;
  color: var(--un-orange);
  font-size: 25px;
  font-weight: 850;
}

.mockup-detail-price small {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 700;
}

.mockup-detail-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 26px;
  padding: 17px 0;
  border-top: 1px solid var(--un-line);
  border-bottom: 1px solid var(--un-line);
}

.mockup-detail-facts span {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--un-ink);
  text-align: center;
}

.mockup-detail-facts .dock-icon {
  width: 21px;
  height: 21px;
  stroke: var(--un-ink);
}

.mockup-detail-facts strong {
  max-width: 100%;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.mockup-about-property,
.mockup-amenities {
  margin-top: 22px;
}

.mockup-about-property p {
  color: #4f5963;
  font-size: 14px;
  line-height: 1.65;
}

.mockup-amenities .feature-chip-list {
  margin-top: 12px;
}

.mockup-property-side {
  display: grid;
  align-content: start;
  gap: 14px;
}

.mockup-manager-card,
.mockup-key-information {
  padding: 18px;
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  background: #ffffff;
  box-shadow: var(--un-shadow-soft);
}

.mockup-manager-card > small {
  display: block;
  margin-bottom: 14px;
  color: var(--un-muted);
  font-weight: 700;
}

.mockup-manager-card .app-user {
  align-items: center;
}

.mockup-manager-card .avatar {
  width: 44px;
  height: 44px;
}

.mockup-manager-card .app-user > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.mockup-manager-card .app-user span,
.mockup-manager-card .profile-subline {
  color: var(--un-muted);
  font-size: 11px;
}

.mockup-manager-card .button {
  width: 100%;
  margin-top: 14px;
}

.mockup-key-information dl {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
}

.mockup-key-information dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--un-line);
}

.mockup-key-information dl div:last-child {
  border-bottom: 0;
}

.mockup-key-information dt {
  color: var(--un-muted);
  font-size: 12px;
}

.mockup-key-information dd {
  margin: 0;
  color: var(--un-ink);
  font-size: 12px;
  font-weight: 750;
  text-align: right;
}

.mockup-tenant-history {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 28px 28px;
}

.mockup-tenant-history > div,
.mockup-privacy-note {
  padding: 18px;
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  background: #ffffff;
}

.mockup-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 28px 24px;
  color: var(--un-teal-dark);
}

.mockup-privacy-note .dock-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.mockup-privacy-note p {
  margin: 5px 0 0;
  color: var(--un-muted);
  font-size: 12px;
}

.mockup-detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 28px 28px;
}

.mockup-detail-actions .button {
  min-height: 50px;
  font-size: 15px;
}

.mockup-detail-actions .button.turquoise {
  border-color: var(--un-teal);
  background: var(--un-teal);
  color: #ffffff;
}

/* Crew dashboard */
.mockup-crew-profile-hero {
  display: none;
  min-width: 0;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--un-radius);
  background: #111820;
  color: #ffffff;
}

.mockup-crew-profile-hero .avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.mockup-crew-profile-hero > div {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 3px;
}

.mockup-crew-profile-hero h2 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
}

.mockup-crew-profile-hero p,
.mockup-crew-profile-hero span,
.mockup-crew-profile-hero small {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.mockup-crew-profile-hero .stars {
  display: inline-flex;
  width: auto;
  color: #ffc043;
}

.mockup-crew-profile-hero > button {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.mockup-crew-jobs {
  display: grid;
  gap: 10px;
}

.mockup-crew-job-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  background: #ffffff;
}

.mockup-job-title {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 10px;
}

.mockup-job-title > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: var(--un-teal-soft);
  color: var(--un-teal-dark);
}

.mockup-job-title .dock-icon,
.mockup-job-time .dock-icon {
  width: 15px;
  height: 15px;
}

.mockup-job-title h3 {
  margin: 0;
  color: var(--un-ink);
  font-size: 14px;
}

.mockup-job-title p,
.mockup-job-time {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 5px 0 0;
  color: var(--un-muted);
  font-size: 11px;
}

.mockup-job-time {
  justify-content: flex-end;
  margin: 0;
}

.mockup-job-budget {
  margin: 0 0 0 40px;
  color: var(--un-muted);
  font-size: 12px;
}

.mockup-job-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--un-muted);
  font-size: 11px;
}

.mockup-job-action {
  grid-column: 1 / -1;
  min-height: 36px;
  border: 1px solid var(--un-teal);
  border-radius: 7px;
  background: #ffffff;
  color: var(--un-teal-dark);
  font-weight: 750;
}

.crew-filter-chips {
  margin-bottom: 0;
}

.mockup-crew-activity > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.mockup-tier-callout {
  display: grid;
  grid-template-columns: 36px auto minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 12px 15px;
  border: 1px solid #ffe2cf;
  border-radius: var(--un-radius);
  background: var(--un-orange-soft);
  color: var(--un-ink);
  text-align: left;
}

.mockup-tier-callout > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--un-orange);
  color: #ffffff;
}

.mockup-tier-callout small {
  color: var(--un-muted);
  overflow-wrap: anywhere;
}

.crew-earnings-panel {
  margin-top: 0;
}

/* Mobile-first presentation */
@media (max-width: 820px) {
  .mockup-app-shell {
    padding-top: 68px;
  }

  .mockup-mobile-topbar.app-topbar {
    position: fixed;
    z-index: 45;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    width: 100%;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    padding: max(8px, env(safe-area-inset-top)) 16px 8px;
    border-bottom: 1px solid var(--un-line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
  }

  .mockup-mobile-topbar .signed-in-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    color: var(--un-ink);
  }

  .mockup-mobile-topbar .brand-logo-wrap,
  .mockup-mobile-topbar .brand-logo-image {
    display: block !important;
    width: 34px !important;
    height: 34px !important;
  }

  .mockup-mobile-topbar .brand > span:last-child {
    display: block !important;
  }

  .mockup-mobile-topbar .brand strong {
    display: block;
    color: var(--un-ink);
    font-size: 17px;
  }

  .mockup-mobile-topbar .brand strong i {
    color: var(--un-orange);
    font-style: normal;
  }

  .mockup-mobile-topbar .brand small {
    display: none;
  }

  .mockup-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mockup-mobile-actions .header-alert-button,
  .mockup-profile-shortcut {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--un-ink);
  }

  .mockup-profile-shortcut .avatar {
    width: 34px;
    height: 34px;
  }

  .role-dashboard-shell,
  .role-dashboard-shell.unverified {
    display: block;
    width: 100%;
    min-height: calc(100svh - 68px);
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: var(--un-page);
    box-shadow: none;
  }

  .mockup-dashboard-sidebar {
    display: none;
  }

  .mockup-dashboard-main.app-main {
    width: 100%;
    min-height: calc(100svh - 68px);
    padding: 22px 16px calc(92px + env(safe-area-inset-bottom));
    background: var(--un-page);
  }

  .mockup-dashboard-heading {
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }

  .mockup-heading-intro {
    gap: 11px;
  }

  .mockup-heading-avatar {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .mockup-heading-profile-photo {
    font-size: 15px;
  }

  .mockup-dashboard-heading h1 {
    font-size: 28px;
    overflow-wrap: anywhere;
  }

  .mockup-dashboard-heading p {
    font-size: 13px;
  }

  .mockup-heading-actions .header-alert-button {
    display: none;
  }

  .compact-add-action {
    width: 42px !important;
    flex: 0 0 42px !important;
    min-width: 42px;
    max-width: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0 12px;
  }

  .compact-add-action span {
    display: none;
  }

  .mockup-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mockup-kpi-card {
    min-height: 108px;
    padding: 16px;
  }

  .mockup-kpi-card small {
    font-size: 13px;
  }

  .mockup-kpi-card > strong {
    font-size: 22px;
  }

  .mockup-chart-panel,
  .mockup-activity-panel,
  .mockup-secondary-panel,
  .mockup-crew-jobs-panel,
  .mockup-crew-activity {
    padding: 16px;
  }

  .mockup-chart-panel .mini-line-chart {
    height: 175px;
  }

  .mockup-secondary-grid {
    grid-template-columns: 1fr;
  }

  .mockup-secondary-panel .property-bubble-grid {
    grid-template-columns: 1fr;
  }

  .mockup-secondary-panel .property-bubble-main {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .mockup-secondary-panel .property-bubble-image {
    min-height: 190px;
  }

  .profile-summary-card > summary {
    grid-template-columns: 40px minmax(0, 1fr) auto 18px;
    min-height: 70px;
    gap: 10px;
    padding: 12px;
  }

  .profile-summary-icon {
    width: 40px;
    height: 40px;
  }

  .profile-summary-copy strong {
    font-size: 15px;
  }

  .profile-summary-status {
    padding: 4px 7px;
  }

  .profile-group-content {
    padding: 14px 12px;
  }

  .mockup-secondary-panel .property-bubble-copy {
    padding: 12px;
  }

  .mockup-tenant-overview {
    grid-template-columns: 1fr;
  }

  .mockup-current-lease,
  .mockup-rent-due {
    min-height: 0;
  }

  .mockup-rent-due {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
  }

  .mockup-rent-due strong {
    font-size: 22px;
  }

  .mockup-quick-actions > div {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .mockup-quick-actions .quick-action-button {
    min-width: 0;
    min-height: 82px;
    padding: 9px 4px;
  }

  .mockup-quick-actions .quick-action-button span {
    max-width: 100%;
    font-size: 10px;
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .tenant-suggested-rail {
    display: grid;
    grid-auto-columns: min(82%, 290px);
    grid-auto-flow: column;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .tenant-suggested-rail > * {
    scroll-snap-align: start;
  }

  .tab-search.mockup-app-shell {
    padding-top: 0;
  }

  .tab-search .mockup-mobile-topbar,
  .tab-search .mockup-dashboard-heading {
    display: none;
  }

  .tab-search .role-dashboard-shell,
  .tab-search .mockup-dashboard-main.app-main {
    width: 100%;
  }

  .tab-search .mockup-dashboard-main.app-main {
    min-height: 100svh;
    padding: max(22px, env(safe-area-inset-top)) 16px calc(92px + env(safe-area-inset-bottom));
  }

  .mockup-search-title > button {
    display: grid;
  }

  .mockup-search-title h1 {
    font-size: 24px;
  }

  .mockup-search-title p {
    display: none;
  }

  .mockup-filter-chips {
    margin-bottom: 20px;
  }

  .mockup-property-open {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .mockup-property-image {
    min-height: 146px;
  }

  .mockup-property-copy {
    gap: 7px;
    padding: 14px 42px 14px 13px;
  }

  .mockup-property-copy > strong {
    font-size: 14px;
  }

  .mockup-property-copy > b {
    font-size: 15px;
  }

  .mockup-property-location,
  .mockup-property-facts {
    display: none;
  }

  .mockup-save-button {
    top: 10px;
    right: 9px;
    width: 34px;
    height: 34px;
    box-shadow: none;
  }

  .modal-backdrop:has(.mockup-property-detail-modal) {
    display: block;
    padding: 0;
    background: #ffffff;
  }

  .modal-card:has(.mockup-property-detail-modal) {
    width: 100%;
    max-width: none;
    min-height: 100svh;
    max-height: 100svh;
    margin: 0;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
  }

  .mockup-property-hero {
    aspect-ratio: 1.25 / 1;
  }

  .mockup-detail-trust {
    display: none;
  }

  .mockup-detail-thumbnails {
    right: 58px;
    left: 16px;
    overflow-x: auto;
  }

  .mockup-detail-thumbnails button {
    width: 62px;
    height: 43px;
    flex: 0 0 auto;
  }

  .mockup-property-detail-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 18px 18px;
  }

  .mockup-property-title-row h1 {
    font-size: 26px;
  }

  .mockup-property-title-row .badge {
    display: none;
  }

  .mockup-detail-price {
    margin: 16px 0;
    font-size: 25px;
  }

  .mockup-detail-facts {
    gap: 4px;
  }

  .mockup-detail-facts strong {
    font-size: 11px;
  }

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

  .mockup-tenant-history {
    grid-template-columns: 1fr;
    padding: 0 18px 20px;
  }

  .mockup-privacy-note {
    margin: 0 18px 18px;
  }

  .mockup-detail-actions {
    position: sticky;
    z-index: 6;
    bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--un-line);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
  }

  .mockup-detail-actions .button {
    min-width: 0;
    padding: 0 8px;
    font-size: 14px;
  }

  .mockup-crew-profile-hero {
    display: none;
  }

  .mockup-crew-jobs {
    grid-auto-columns: min(78%, 280px);
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .mockup-crew-job-card {
    display: grid;
    grid-template-columns: 1fr;
    scroll-snap-align: start;
  }

  .mockup-job-time,
  .mockup-job-footer {
    justify-content: flex-start;
  }

  .mockup-job-budget {
    margin-left: 0;
  }

  .mockup-crew-activity {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .mockup-crew-activity > div {
    gap: 8px;
  }

  .mockup-crew-activity .mockup-kpi-card {
    min-height: 116px;
    padding: 13px 10px;
  }

  .mockup-crew-activity .mockup-kpi-card > strong {
    font-size: 16px;
  }

  .mockup-tier-callout {
    grid-template-columns: 36px auto minmax(0, 1fr) 18px;
  }

  .mobile-role-dock {
    position: fixed !important;
    z-index: 50 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    width: 100% !important;
    min-height: 66px !important;
    margin: 0 !important;
    padding: 6px max(6px, env(safe-area-inset-left)) calc(5px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-right)) !important;
    border: 0 !important;
    border-top: 1px solid var(--un-line) !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 -6px 22px rgba(20, 29, 37, 0.08) !important;
    backdrop-filter: blur(18px);
    transform: translateY(0);
  }

  body.dock-hidden:not(.modal-open) .mobile-role-dock {
    transform: translateY(calc(100% + 10px));
  }

  .mobile-role-dock button {
    display: grid !important;
    min-width: 0 !important;
    min-height: 52px !important;
    place-content: center !important;
    justify-items: center !important;
    gap: 3px !important;
    padding: 3px 1px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #606a73 !important;
    box-shadow: none !important;
  }

  .mobile-role-dock button.active {
    color: var(--un-teal) !important;
  }

  .role-landlord .mobile-role-dock button.active,
  .role-crew .mobile-role-dock button.active {
    color: var(--un-orange) !important;
  }

  .mobile-role-dock strong {
    display: grid !important;
    width: 23px !important;
    height: 23px !important;
    place-items: center !important;
    border: 0 !important;
    background: transparent !important;
  }

  .mobile-role-dock .dock-icon {
    width: 21px !important;
    height: 21px !important;
    stroke: currentColor !important;
  }

  .mobile-role-dock span {
    display: block !important;
    width: 100% !important;
    color: inherit !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    overflow: hidden !important;
    text-align: center !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 350px) {
  .mockup-dashboard-main.app-main,
  .tab-search .mockup-dashboard-main.app-main {
    padding-right: 12px;
    padding-left: 12px;
  }

  .mockup-dashboard-heading h1,
  .mockup-search-title h1 {
    font-size: 24px;
  }

  .mockup-heading-avatar {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .mockup-kpi-card {
    min-height: 96px;
    padding: 12px;
  }

  .mockup-kpi-card > strong {
    font-size: 20px;
  }

  .mockup-property-open {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .mockup-property-image {
    min-height: 134px;
  }

  .mockup-rent-due {
    align-items: flex-start;
  }

  .mockup-rent-due .button {
    padding: 0 10px;
  }

  .mockup-detail-facts strong {
    font-size: 9px;
  }
}

@media (prefers-color-scheme: dark) and (prefers-color-scheme: light) {
  :root {
    --un-page: #0c0f11;
    --un-card: #15191d;
    --un-ink: #f5f7f8;
    --un-muted: #bdc5cc;
    --un-line: #3a434b;
    --un-teal: #42cfd0;
    --un-teal-dark: #72e0df;
    --un-teal-soft: #123335;
    --un-orange: #ff934a;
    --un-orange-soft: #35251a;
    --un-danger: #ff817a;
    --un-success: #59d49b;
    --un-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    --un-shadow-soft: 0 3px 14px rgba(0, 0, 0, 0.22);
  }

  .mockup-app-shell {
    color-scheme: dark;
    --paper: #15191d;
    --wash: #0c0f11;
    --black: #f5f7f8;
    --ink: #f5f7f8;
    --muted: #bdc5cc;
    --line: #3a434b;
    --turquoise: #42cfd0;
    --turquoise-dark: #72e0df;
    --turquoise-soft: #12383a;
    --orange: #ff934a;
    --orange-dark: #ffb27b;
    --orange-soft: #3a281d;
    --warning: #ffd06b;
    --warning-soft: #332b19;
    --danger: #ff817a;
    --danger-soft: #351f21;
  }

  .mockup-app-shell,
  .role-dashboard-shell,
  .mockup-dashboard-main.app-main,
  .mockup-dashboard-sidebar,
  .mockup-kpi-card,
  .mockup-chart-panel,
  .mockup-activity-panel,
  .mockup-secondary-panel,
  .mockup-crew-jobs-panel,
  .mockup-rent-due,
  .mockup-quick-actions .quick-action-button,
  .mockup-property-list-card,
  .mockup-search-field,
  .mockup-filter-menu summary,
  .mockup-filter-menu > div,
  .mockup-filter-menu select,
  .mockup-filter-chips button,
  .mockup-property-detail-modal,
  .modal-card:has(.mockup-property-detail-modal),
  .mockup-manager-card,
  .mockup-key-information,
  .mockup-tenant-history > div,
  .mockup-privacy-note,
  .mockup-crew-job-card {
    border-color: var(--un-line);
    background: var(--un-card);
    color: var(--un-ink);
  }

  .mockup-app-shell .dashboard-card,
  .mockup-app-shell .stat-card,
  .mockup-app-shell .dashboard-summary-card,
  .mockup-app-shell .chart-card,
  .mockup-app-shell .profile-group,
  .mockup-app-shell .compact-form,
  .mockup-app-shell details,
  .mockup-app-shell input,
  .mockup-app-shell select,
  .mockup-app-shell textarea,
  .mockup-app-shell .empty-state {
    border-color: var(--un-line);
    background: var(--un-card);
    color: var(--un-ink);
  }

  .mockup-app-shell .dashboard-summary-card.turquoise {
    border-color: rgba(66, 207, 208, 0.42);
    background: linear-gradient(135deg, rgba(66, 207, 208, 0.16), rgba(21, 25, 29, 0.98));
  }

  .mockup-app-shell .dashboard-summary-card.orange {
    border-color: rgba(255, 147, 74, 0.42);
    background: linear-gradient(135deg, rgba(255, 147, 74, 0.16), rgba(21, 25, 29, 0.98));
  }

  .mockup-app-shell .button.ghost,
  .mockup-app-shell .icon-button,
  .mockup-app-shell .profile-group summary {
    border-color: var(--un-line);
    background: #1d2328;
    color: var(--un-ink);
  }

  .mockup-app-shell .dashboard-card h2,
  .mockup-app-shell .dashboard-card h3,
  .mockup-app-shell .dashboard-card strong,
  .mockup-app-shell .chart-card h2,
  .mockup-app-shell .chart-card h3,
  .mockup-app-shell .item-row strong,
  .mockup-app-shell label,
  .mockup-app-shell summary {
    color: var(--un-ink);
  }

  .mockup-app-shell .dashboard-card p,
  .mockup-app-shell .dashboard-card small,
  .mockup-app-shell .chart-card p,
  .mockup-app-shell .item-row small,
  .mockup-app-shell .muted,
  .mockup-app-shell .empty-state,
  .mockup-app-shell label {
    color: var(--un-muted);
  }

  .mockup-heading-avatar {
    border-color: rgba(114, 224, 223, 0.5);
    background: #1b3032;
    color: var(--un-teal-dark);
  }

  .mockup-mobile-topbar.app-topbar,
  .mobile-role-dock,
  .mockup-detail-actions {
    border-color: var(--un-line) !important;
    background: rgba(21, 25, 29, 0.96) !important;
  }

  .mockup-dashboard-sidebar nav button,
  .mockup-sidebar-signout,
  .mobile-role-dock button {
    color: var(--un-muted) !important;
  }

  .mockup-dashboard-sidebar nav button:hover,
  .mockup-dashboard-sidebar nav button.active,
  .role-landlord .mockup-dashboard-sidebar nav button.active,
  .mobile-role-dock button.active {
    color: #ffffff !important;
  }

  .mockup-sidebar-brand,
  .mockup-mobile-topbar .brand,
  .mockup-mobile-topbar .brand strong,
  .mockup-mobile-actions .header-alert-button,
  .mockup-profile-shortcut,
  .mockup-dashboard-heading h1,
  .mockup-section-heading h2,
  .mockup-quick-actions h2,
  .mockup-crew-activity h2,
  .mockup-kpi-card > strong,
  .mockup-rent-due strong,
  .mockup-quick-actions .quick-action-button,
  .mockup-search-title h1,
  .mockup-property-copy > strong,
  .mockup-property-copy > b,
  .mockup-property-title-row h1,
  .mockup-detail-facts,
  .mockup-detail-facts strong,
  .mockup-detail-facts .dock-icon,
  .mockup-about-property h2,
  .mockup-amenities h2,
  .mockup-key-information h2,
  .mockup-key-information dd,
  .mockup-job-title h3,
  .mockup-job-budget,
  .mockup-tier-callout {
    color: var(--un-ink);
  }

  .mockup-about-property p,
  .mockup-property-title-row p,
  .mockup-property-copy > small,
  .mockup-property-facts,
  .mockup-search-field span,
  .mockup-filter-menu label,
  .mockup-key-information dt,
  .mockup-job-title p,
  .mockup-job-time,
  .mockup-job-footer,
  .mockup-tier-callout small {
    color: var(--un-muted);
  }

  .mockup-filter-chips button.active {
    border-color: var(--un-teal);
    background: var(--un-teal);
    color: #ffffff;
  }

  .mockup-save-button,
  .mockup-detail-back,
  .mockup-detail-save {
    background: rgba(21, 25, 29, 0.92);
    color: #ffffff;
  }

  .modal-backdrop:has(.mockup-property-detail-modal) {
    background: #0c0f11;
  }

  .mockup-job-action {
    background: #15191d;
  }

  .mockup-secondary-panel .property-bubble-card,
  .mockup-secondary-panel .property-bubble-main,
  .mockup-secondary-panel .property-bubble-copy,
  .mockup-secondary-panel .floating-card-actions {
    border-color: var(--un-line);
    background: var(--un-card);
    color: var(--un-ink);
  }

  .mockup-secondary-panel .property-bubble-copy strong,
  .mockup-secondary-panel .property-bubble-money,
  .mockup-secondary-panel .property-bubble-stats strong,
  .mockup-secondary-panel .floating-card-actions .button {
    color: var(--un-ink);
  }

  .mockup-secondary-panel .property-bubble-copy small,
  .mockup-secondary-panel .property-bubble-copy .muted,
  .mockup-secondary-panel .property-bubble-stats small {
    color: var(--un-muted);
  }

  .mockup-secondary-panel .property-bubble-stats > span,
  .mockup-secondary-panel .floating-card-actions .button {
    border-color: var(--un-line);
    background: #1d2227;
  }

  .pie-chart text {
    fill: var(--un-ink);
  }
}

/* The signed-in mockup header always uses the supplied UrbanNest logo. */
.mockup-mobile-topbar .brand-logo-wrap .brand-mark,
.mockup-sidebar-brand .brand-logo-wrap .brand-mark {
  display: none !important;
}
