@charset "UTF-8";
/* App-owned map, photos, printable lease, scanning and provider integration styles. Ordinary UI uses dg-design. */
/* dg-exception: Mapbox draws its attribution on a fixed white strip in both themes; its links take
   the always-dark primary, not the page link color (rust on that strip in dark). */
.dg-page .mapboxgl-ctrl-attrib a:not([class]) {
  color: var(--dg-primary);
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.listings-map {
  border: 1px solid var(--dg-border);
  background: var(--dg-surface);
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-pop-popup .mapboxgl-popup-content {
  padding: 0;
  background: var(--dg-bg);
  border: 1px solid var(--dg-text);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 16px 34px -16px color-mix(in srgb, var(--dg-primary) 45%, transparent);
  font-family: var(--dg-font-sans);
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-pop-popup .mapboxgl-popup-tip {
  display: none;
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-pop {
  display: block;
  width: 250px;
  text-decoration: none;
  color: inherit;
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-pop__img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--dg-border);
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-pop__body {
  padding: 0.65rem 0.8rem 0.75rem;
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-pop__title {
  font-family: var(--dg-font-serif);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--dg-text);
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-pop__specs {
  font-size: 0.8rem;
  color: var(--dg-text-muted);
  margin-top: 0.15rem;
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-pop__price {
  font-family: var(--dg-font-serif);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dg-action);
  margin-top: 0.3rem;
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-pop:hover .map-pop__title {
  color: var(--dg-action);
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-price-pin {
  position: relative;
  display: inline-block;
  background: var(--dg-action);
  color: var(--dg-on-action);
  font-family: var(--dg-font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 13px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--dg-primary) 45%, transparent);
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-price-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 10px;
  height: 10px;
  background: inherit;
  border-radius: 0 0 3px 0;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 2px 2px 4px color-mix(in srgb, var(--dg-primary) 20%, transparent);
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-price-pin:hover,
.map-price-pin.is-active {
  background: var(--dg-action);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 5px 12px color-mix(in srgb, var(--dg-primary) 50%, transparent);
  z-index: 3;
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-amenity-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  height: 1.65rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--dg-surface);
  color: var(--dg-text);
  border: 1.5px solid var(--dg-text);
  box-shadow: 0 2px 6px color-mix(in srgb, var(--dg-primary) 35%, transparent);
  cursor: pointer;
  font-family: var(--dg-font-sans);
  line-height: 1;
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-amenity-pin__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-amenity-pin:hover {
  background: var(--dg-surface);
  transform: scale(1.06);
  z-index: 2;
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-amenity-popup .mapboxgl-popup-content {
  padding: 0;
  background: var(--dg-bg);
  border: 1px solid var(--dg-text);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--dg-primary) 45%, transparent);
  font-family: var(--dg-font-sans);
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-amenity-popup .mapboxgl-popup-tip {
  display: none;
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-amenity-pop {
  padding: 0.55rem 0.7rem 0.6rem;
  min-width: 7rem;
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-amenity-pop__title {
  font-family: var(--dg-font-serif);
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--dg-text);
}

/* dg-exception: Mapbox listings pins and popups remain site-specific. */
.map-amenity-pop__specs {
  font-size: 0.78rem;
  color: var(--dg-text-muted);
  margin-top: 0.15rem;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__notice {
  font-family: var(--dg-font-sans);
  font-size: 0.85rem;
  color: var(--dg-text-muted);
  margin-bottom: 1.25rem;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc {
  position: relative;
  overflow: hidden;
  background: var(--dg-surface);
  border: 1px solid var(--dg-tint);
  border-radius: 4px;
  user-select: none;
  -webkit-user-select: none;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__page {
  padding: 2.5rem 2.75rem;
  font-family: var(--dg-font-serif);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--dg-text);
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
@media (max-width: 575.98px) {
  .lease-doc__page {
    padding: 1.5rem 1.1rem;
  }
}
/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__page h1 {
  text-align: center;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__page .title-block {
  position: relative;
  min-height: 58px;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__page .brand-mark {
  position: absolute;
  left: 0;
  top: 0;
  width: 54px;
  height: 54px;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__page .version-line {
  text-align: center;
  font-family: var(--dg-font-sans);
  font-size: 0.75rem;
  color: var(--dg-text-muted);
  margin-bottom: 1.5rem;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__page h2 {
  font-size: 1.05rem;
  margin-top: 2rem;
  border-bottom: 1px solid var(--dg-text-muted);
  padding-bottom: 0.2rem;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__page ol.sections > li {
  margin-bottom: 0.7rem;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__page ol.sections ol {
  list-style-type: lower-alpha;
  margin-top: 0.4rem;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__page ol.sections ol > li {
  margin-bottom: 0.35rem;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__page .terms-box {
  border: 1px solid var(--dg-text-muted);
  padding: 0.7rem 1rem;
  margin: 1.1rem 0;
  max-width: 26rem;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__page .terms-box p {
  margin: 0.25rem 0;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__page .signature-block {
  margin-top: 1.8rem;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__page .signature-block .identity {
  font-family: var(--dg-font-sans);
  font-size: 0.8rem;
  color: var(--dg-text-muted);
  margin-top: 0.15rem;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__page text-field,
.lease-doc__page date-field,
.lease-doc__page signature-field {
  display: inline-block;
  border-bottom: 1px solid var(--dg-text-muted);
  vertical-align: bottom;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__watermark {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 4.5rem 5rem;
  align-content: space-between;
  justify-content: space-around;
  padding: 2rem 0;
  font-family: var(--dg-font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--dg-text);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1;
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
.lease-doc__watermark span {
  transform: rotate(-24deg);
}

/* dg-exception: Printable lease content remains shared with the agreement renderer. */
@media print {
  .lease-doc {
    display: none;
  }
  .lease-doc__notice::after {
    content: " This document does not print — read it at dgapartments.com/lease.";
  }
}
/* dg-exception: Insurance scanning animation remains site-specific. */
.lease-signing__processing {
  text-align: center;
  padding: 2.5rem 1.25rem 2rem;
}

/* dg-exception: Insurance scanning animation remains site-specific. */
.lease-signing__processing h2 {
  margin: 1.75rem 0 0.5rem;
}

/* dg-exception: Insurance scanning animation remains site-specific. */
.lease-signing__processing p {
  font-family: var(--dg-font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 30rem;
  margin: 0 auto 0.5rem;
}

/* dg-exception: Insurance scanning animation remains site-specific. */
.scan {
  position: relative;
  width: 108px;
  height: 138px;
  margin: 0 auto;
}

/* dg-exception: Insurance scanning animation remains site-specific. */
.scan__doc {
  position: absolute;
  inset: 0;
  background: var(--dg-bg);
  border: 1px solid var(--dg-border);
  border-radius: 2px;
  padding: 1.1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow: hidden;
}

/* dg-exception: Insurance scanning animation remains site-specific. */
.scan__line {
  display: block;
  height: 5px;
  border-radius: 2px;
  background: var(--dg-neutral-tint);
}

/* dg-exception: Insurance scanning animation remains site-specific. */
.scan__line--short {
  width: 58%;
}

/* dg-exception: Insurance scanning animation remains site-specific. */
.scan__beam {
  position: absolute;
  left: -6%;
  width: 112%;
  height: 26px;
  border-radius: 3px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--dg-action) 0%, transparent) 0%, color-mix(in srgb, var(--dg-action) 35%, transparent) 45%, color-mix(in srgb, var(--dg-action) 55%, transparent) 50%, color-mix(in srgb, var(--dg-action) 35%, transparent) 55%, color-mix(in srgb, var(--dg-action) 0%, transparent) 100%);
  box-shadow: 0 0 14px color-mix(in srgb, var(--dg-action) 45%, transparent);
  animation: scan-sweep 2.1s ease-in-out infinite;
}

/* dg-exception: Insurance scanning animation remains site-specific. */
@keyframes scan-sweep {
  0% {
    top: -14px;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    top: 124px;
    opacity: 0;
  }
}
/* dg-exception: Insurance scanning animation remains site-specific. */
@media (prefers-reduced-motion: reduce) {
  .scan__beam {
    animation: none;
    top: 50%;
    opacity: 0.5;
  }
}
/* dg-exception: Moov hosted custom elements require fixed field and iframe dimensions. */
.moov-card-field {
  display: block;
  width: 100%;
  margin-bottom: 1.25rem;
}

/* dg-exception: Moov hosted custom elements require fixed field and iframe dimensions. */
.moov-card-field moov-card-link {
  display: block;
  width: 100%;
  background-color: var(--dg-bg);
  border: 1px solid var(--dg-border);
  border-radius: 2px;
  padding: 0.65rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* dg-exception: Moov hosted custom elements require fixed field and iframe dimensions. */
.moov-card-field moov-card-link:focus-within {
  border-color: var(--dg-action);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--dg-action) 15%, transparent);
}

/* dg-exception: Moov hosted custom elements require fixed field and iframe dimensions. */
.moov-card-field .iframeWrapper {
  width: 100% !important;
  max-width: none !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* dg-exception: Moov hosted custom elements require fixed field and iframe dimensions. */
@media (max-width: 480px) {
  .moov-card-field moov-card-link {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
}
/* dg-exception: Moov hosted custom elements require fixed field and iframe dimensions. */
.moov-composable-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

/* dg-exception: Moov hosted custom elements require fixed field and iframe dimensions. */
.moov-composable-fields .moov-field-wide {
  grid-column: 1/-1;
}

/* dg-exception: Moov hosted custom elements require fixed field and iframe dimensions. */
.moov-composable-fields [data-moov-payment-target=field],
.moov-composable-fields [data-moov-card-fields-target=field] {
  display: block;
  min-width: 0;
  width: 100%;
  height: 3rem;
  box-sizing: border-box;
  border: 1px solid var(--dg-border);
  border-radius: 3px;
  padding: 0.75rem;
  background: var(--dg-bg);
  color: var(--dg-text);
  font-size: 1rem;
}

/* dg-exception: Moov hosted custom elements require fixed field and iframe dimensions. */
.moov-composable-fields [data-moov-payment-target=field]:has(.focus),
.moov-composable-fields [data-moov-card-fields-target=field]:has(.focus) {
  border-color: var(--dg-action);
}

/* dg-exception: Moov hosted custom elements require fixed field and iframe dimensions. */
.moov-composable-fields--preview .apply-field:nth-last-child(-n+3) .moov-preview-input {
  color: var(--dg-text-muted);
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-group {
  margin-bottom: 1.1rem;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-q {
  font-family: var(--dg-font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dg-text-muted);
  margin-bottom: 0.45rem;
  display: block;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-chip {
  position: relative;
  margin: 0;
  cursor: pointer;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-chip span {
  display: inline-block;
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--dg-border);
  border-radius: 999px;
  font-size: 0.9rem;
  background: var(--dg-bg);
  transition: all 0.15s ease;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-chip:hover span {
  border-color: var(--dg-action);
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-chip input:checked + span {
  border-color: var(--dg-action);
  background: var(--dg-surface);
  color: var(--dg-text);
  box-shadow: inset 0 0 0 1px var(--dg-action);
  font-weight: 600;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-chip input:focus-visible + span {
  outline: 2px solid var(--dg-action);
  outline-offset: 2px;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-stars {
  display: flex;
  gap: 0.15rem;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-star input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-star {
  margin: 0;
  cursor: pointer;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-star span {
  font-size: 1.9rem;
  line-height: 1;
  color: var(--dg-on-dark);
  transition: color 0.12s ease;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-stars:hover .tf-star span {
  color: var(--dg-action);
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-star:hover ~ .tf-star span {
  color: var(--dg-on-dark);
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-stars.is-set .tf-star span {
  color: var(--dg-on-dark);
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-stars.is-set .tf-star.is-lit span {
  color: var(--dg-action);
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-comment {
  width: 100%;
  min-height: 4rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--dg-border);
  background: var(--dg-bg);
  color: inherit;
  font-family: inherit;
  font-size: 0.95rem;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-hint {
  font-size: 0.85rem;
  color: var(--dg-text-muted);
  margin: 0 0 0.45rem;
  line-height: 1.45;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-photos {
  display: inline-block;
  margin-top: 0.5rem;
  cursor: pointer;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-photos input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-photos span {
  display: inline-block;
  padding: 0.42rem 0.8rem;
  border: 1px dashed var(--dg-border);
  border-radius: 999px;
  font-size: 0.9rem;
}

/* dg-exception: Post-tour star ratings and feedback chips remain site-specific. */
.tf-photos:hover span {
  border-color: var(--dg-action);
}

/* dg-exception: short fields share a row as far as the width allows, and stack on a phone. */
.tenants-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: var(--dg-space-4);
}

/* dg-exception: a count needs a few digits, so its field does not stretch across its column. */
.tenants-short-field {
  max-width: 8rem;
}

/* dg-exception: existing uploaded document rows use a bounded thumbnail. */
.tenants-file-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  flex-shrink: 0;
}

/* dg-exception: requester-authored notes preserve intentional line breaks. */
.tenants-pre-wrap {
  white-space: pre-wrap;
}

/* dg-exception: user-entered fair rent is a short text field parsed by the existing service. */
.tenants-money-field {
  width: 8rem;
}

/* dg-exception: tour access reveals this panel after attendance is saved. */
[data-tour-access-target=postTour], #post-tour {
  display: var(--dg-tour-display, block);
}

/* dg-exception: Mapbox controller requires an explicit map viewport. */
.listings-map {
  height: var(--dg-map-height, 70vh);
  min-height: 380px;
}

/* dg-exception: the membership marks exist only as white images (shared with the enterprise
   footer); on the light page footer they are inverted to a muted ink, and shown as-is in dark. */
.tenants-memberships img {
  width: auto;
  height: 26px;
  filter: invert(0.72);
}

/* dg-exception: the white membership marks need no inversion on the dark page. */
[data-theme=dark] .tenants-memberships img {
  filter: none;
  opacity: 0.85;
}

/* dg-exception: the same for the automatic theme when the OS is dark. */
@media (prefers-color-scheme: dark) {
  [data-theme=auto] .tenants-memberships img {
    filter: none;
    opacity: 0.85;
  }
}
/* dg-exception: uploaded tour-photo status changes without a page reload. */
.tenants-success-text {
  color: var(--dg-success);
}

/* dg-exception: uploaded identity images remain bounded beside the intake uploader. */
.tenants-id-preview {
  display: block;
  max-width: min(20rem, 100%);
  max-height: 15rem;
  object-fit: contain;
}

/* dg-exception: the home hero's display line is a full sentence; at display size it wraps to six lines on a phone. */
@media (max-width: 640px) {
  .hero__heading {
    font-size: 32px;
    letter-spacing: var(--dg-type-h1-tracking);
  }
}
/* dg-exception: the site footer's legal links are one evenly spaced, wrapping row. */
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--dg-space-1) var(--dg-space-4);
}

/* dg-exception: below 768px a signed-in resident's portal has its tab bar at the foot of the screen, so the marketing
   footer (wordmark, blurb, store badges, link columns) goes and only the legal row stays. */
@media (max-width: 767.98px) {
  .site-footer.site-footer--portal {
    padding-block: var(--dg-space-4);
  }
  .site-footer--portal .dg-footer__top {
    display: none;
  }
  .site-footer--portal .dg-footer__legal {
    padding-top: 0;
    border-top: 0;
  }
}
