:root {
  --ink: #152a30;
  --ink-soft: #4f6368;
  --ink-faint: #7b8b8f;
  --paper: #f4f5f1;
  --surface: #ffffff;
  --surface-2: #edf1ed;
  --surface-3: #e4ebe7;
  --line: #d9e0dc;
  --brand: #1c555c;
  --brand-strong: #123c42;
  --brand-soft: #dcebe8;
  --accent: #e78462;
  --accent-soft: #fae8df;
  --success: #2e7658;
  --success-soft: #e1f1e8;
  --warning: #a66f1f;
  --warning-soft: #f8edd8;
  --danger: #a94747;
  --danger-soft: #f7e5e5;
  --info: #426c9b;
  --info-soft: #e3ebf5;
  --shadow-sm: 0 4px 16px rgba(19, 42, 48, .07);
  --shadow-md: 0 16px 42px rgba(19, 42, 48, .12);
  --shadow-lg: 0 28px 72px rgba(19, 42, 48, .18);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --content-max: 1420px;
  --sidebar: 248px;
  --topbar: 76px;
  color-scheme: light;
}

/* GoLeje V107 · kontaktpriser og klippekort */
.v107-checkout {
  display: grid;
  gap: 12px;
}

.v107-checkout-property {
  margin-bottom: 4px;
}

.v107-checkout-property h3 {
  margin: 10px 0 4px;
  font-size: 1.28rem;
}

.v107-checkout-property p,
.v107-withdrawal-note p,
.v107-terms-grid p,
.v107-wallet-package p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.v107-product-option {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.v107-product-option:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 90, 73, .4);
}

.v107-product-option.featured {
  background: linear-gradient(135deg, #f0f7f4, #fffaf5);
}

.v107-product-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.v107-product-check {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid #b8c5c0;
  border-radius: 50%;
  color: transparent;
  background: #fff;
}

.v107-product-option:has(input:checked) {
  border-color: #275f4d;
  box-shadow: 0 0 0 3px rgba(39, 95, 77, .1);
}

.v107-product-option input:checked + .v107-product-check {
  color: #fff;
  background: #275f4d;
  border-color: #275f4d;
}

.v107-product-option > span:nth-of-type(2) {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.v107-product-option small {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
}

.v107-product-option b {
  white-space: nowrap;
  font-size: 1.05rem;
}

.v107-withdrawal-note,
.v107-fixed-rule {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #f4f0e7;
  color: #183a30;
}

.v107-withdrawal-note > svg,
.v107-fixed-rule > svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.v107-withdrawal-note p,
.v107-fixed-rule p {
  margin: 3px 0 0;
  font-size: .82rem;
}

.v107-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 4px 2px;
  color: #4f5955;
  font-size: .83rem;
  line-height: 1.45;
}

.v107-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #275f4d;
}

.v107-wallet {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(130px, .8fr)) auto;
  align-items: stretch;
  gap: 1px;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.v107-wallet > * {
  background: var(--surface);
}

.v107-wallet-main,
.v107-wallet-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 126px;
  padding: 18px 20px;
}

.v107-wallet-main {
  background: #173c31;
  color: #fff;
}

.v107-wallet-main .eyebrow { color: #c5d9d1; }
.v107-wallet-main > strong { margin: 5px 0 2px; font-size: 1.9rem; }
.v107-wallet-main p { margin: 0; color: rgba(255,255,255,.76); font-size: .86rem; }
.v107-wallet-stat > span { color: var(--muted); font-size: .75rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.v107-wallet-stat > strong { margin: 7px 0 2px; font-size: 1.4rem; }
.v107-wallet-stat small { color: var(--muted); font-size: .75rem; }
.v107-wallet > .button { align-self: center; margin: 16px; white-space: nowrap; }

.v107-invitation-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}

.v107-invitation-heading h2 { margin: 4px 0 0; }

.v107-price-steps {
  display: grid;
  gap: 0;
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}

.v107-price-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.v107-price-steps i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  font-style: normal;
  font-weight: 800;
}

.v107-price-steps div { display: grid; gap: 3px; }
.v107-price-steps small { color: rgba(255,255,255,.63); font-size: .77rem; }
.v107-price-steps b { white-space: nowrap; }

.v107-package-plan .public-price-plan-heading span:first-child { background: #fff3df; color: #815b22; }
.v107-package-price { display: flex; align-items: baseline; gap: 9px; margin: 20px 0 14px; }
.v107-package-price strong { color: #173c31; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); }
.v107-package-price span { color: var(--muted); }
.v107-credit-track { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 9px; margin-bottom: 18px; }
.v107-credit-track span { padding: 10px 12px; border-radius: 12px; text-align: center; font-size: .8rem; font-weight: 800; }
.v107-credit-track .paid { background: #e9f2ee; color: #214e40; }
.v107-credit-track .bonus { background: #fff0dc; color: #81501f; }
.v107-credit-track span:nth-child(2) { padding: 0; color: var(--muted); }

.v107-admin-pricing {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.v107-number-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.v107-number-field input {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.v107-number-field span {
  padding: 0 12px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}

#v107-pricing-form > .v107-fixed-rule {
  margin: 18px 0;
}

.v107-package-list { display: grid; gap: 14px; }
.v107-wallet-package { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.v107-wallet-package h3 { margin: 9px 0 3px; }
.v107-package-balance { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin: 16px 0 10px; }
.v107-package-balance span { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: #f3f6f4; }
.v107-package-balance strong { font-size: 1.15rem; }
.v107-package-balance small { color: var(--muted); }
.v107-package-progress { height: 8px; overflow: hidden; border-radius: 999px; background: #e4e9e6; }
.v107-package-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#2f745e,#e5a272); }
.v107-refund-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.v107-refund-row > div { display: grid; gap: 3px; }
.v107-refund-row small { color: var(--muted); }
.v107-terms-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.v107-terms-grid article { padding: 15px; border-radius: 15px; background: #f3f6f4; }
.v107-terms-grid p { margin-top: 5px; font-size: .82rem; }

@media (max-width: 1100px) {
  .v107-wallet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v107-wallet-main { grid-column: span 2; }
  .v107-wallet > .button { align-self: stretch; justify-content: center; }
}

@media (max-width: 720px) {
  .v107-product-option { grid-template-columns: 28px minmax(0, 1fr); padding: 14px; }
  .v107-product-option b { grid-column: 2; justify-self: start; }
  .v107-wallet { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px; }
  .v107-wallet-main { grid-column: 1 / -1; min-height: 108px; }
  .v107-wallet-stat { min-height: 98px; padding: 14px; }
  .v107-wallet-stat:nth-of-type(4) { grid-column: 1 / -1; }
  .v107-wallet > .button { grid-column: 1 / -1; margin: 12px; }
  .v107-admin-pricing,
  .v107-terms-grid { grid-template-columns: 1fr; }
  .v107-refund-row { align-items: stretch; flex-direction: column; }
  .v107-refund-row .button { width: 100%; }
}

/* GoLeje V96 · ensartet boligsøgning, robuste swipeikoner og mobilkort */
.content-tenant.view-browse .v92-search-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.v96-search-toolbar {
  position: relative;
  z-index: 1;
  top: auto;
  display: flex;
  width: 100%;
  min-height: 62px;
  gap: 10px;
  padding: 8px clamp(10px, 2vw, 16px);
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(23, 60, 49, .12);
  background: rgba(247, 245, 238, .96);
  box-shadow: 0 7px 20px rgba(20, 43, 36, .07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.v96-search-toolbar .v92-search-modes {
  display: grid;
  width: min(100%, 420px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid #cbd5cf;
  border-radius: 15px;
  background: #e9eee9;
  box-shadow: none;
  backdrop-filter: none;
}

.v96-search-toolbar .v92-search-modes button {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  gap: 7px;
  padding: 7px 12px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #52645d;
  font-weight: 800;
}

.v96-search-toolbar .v92-search-modes button.active {
  background: #173c31;
  color: #fff;
  box-shadow: 0 4px 12px rgba(23, 60, 49, .2);
}

.v96-search-toolbar .v92-search-modes button:hover:not(.active) {
  background: rgba(255, 255, 255, .72);
  color: #173c31;
}

.v96-search-toolbar .v92-search-modes .ui-icon {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.v96-search-toolbar .v92-search-modes span {
  font-size: .76rem;
  font-weight: 800;
}

.v96-search-toolbar .v92-search-settings {
  display: grid;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid #d5c2a9;
  border-radius: 14px;
  background: #f4e5cf;
  color: #704823;
  box-shadow: none;
  backdrop-filter: none;
}

.v96-search-toolbar .v92-search-settings:hover {
  background: #ecd5b5;
}

.v96-search-toolbar button:focus-visible,
.v96-image-details:focus-visible,
.v96-map-property:focus-visible {
  outline: 3px solid #d09472;
  outline-offset: 3px;
}

.v92-swipe-view .swipe-stage {
  width: min(100%, 900px);
  padding-top: 0;
}

.v92-swipe-view .swipe-card,
.v92-swipe-view .swipe-image {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.v92-swipe-view .swipe-image {
  height: min(62dvh, 600px);
  min-height: min(360px, 48dvh);
  max-height: 66dvh;
}

.v92-swipe-view .image-topline {
  top: 14px;
}

.v92-swipe-view .image-title {
  right: 82px;
  bottom: 18px;
  left: 20px;
  z-index: 8;
  max-width: 660px;
}

.v92-swipe-view .image-title h2 {
  margin-bottom: 3px;
}

.v96-image-price {
  display: flex;
  gap: 9px;
  margin-top: 10px;
  align-items: baseline;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

.v96-image-price strong {
  font-size: clamp(1.25rem, 4vw, 1.9rem);
  line-height: 1;
}

.v96-image-price span {
  color: rgba(255, 255, 255, .88);
  font-size: .72rem;
  font-weight: 700;
}

.v96-image-details {
  position: absolute;
  z-index: 12;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .88);
  border-radius: 17px;
  background: #df7958;
  color: #fff;
  box-shadow: 0 8px 24px rgba(47, 24, 16, .3);
  cursor: pointer;
}

.v96-image-details:hover {
  background: #c96546;
  transform: translateY(-2px);
}

.v96-image-details:active {
  transform: translateY(0) scale(.96);
}

.v96-image-details .ui-icon {
  display: block;
  width: 25px;
  height: 25px;
  stroke-width: 2;
}

.v92-swipe-view .swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] {
  grid-template-columns: repeat(4, 48px) !important;
  gap: 9px !important;
  min-height: 62px;
  padding: 7px 10px !important;
}

.v92-swipe-view .swipe-actions .swipe-action {
  display: grid !important;
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  place-items: center;
  border-width: 1px !important;
  border-radius: 15px !important;
}

.v92-swipe-view .swipe-actions .swipe-action .ui-icon {
  display: block !important;
  visibility: visible !important;
  width: 23px !important;
  height: 23px !important;
  opacity: 1 !important;
  stroke: currentColor !important;
  stroke-width: 2.2;
}

.v92-swipe-view .swipe-actions .swipe-action.dismiss {
  border-color: #e6b7ad !important;
  background: #fde9e4 !important;
  color: #9d4332 !important;
}

.v92-swipe-view .swipe-actions .swipe-action.later {
  border-color: #b7cfdb !important;
  background: #e5f1f6 !important;
  color: #2e637c !important;
}

.v92-swipe-view .swipe-actions .swipe-action.save {
  border-color: #e2c993 !important;
  background: #fbf0ce !important;
  color: #79591d !important;
}

.v92-swipe-view .swipe-actions .swipe-action.like {
  border-color: #a8cabb !important;
  background: #dff0e8 !important;
  color: #205c47 !important;
}

.v92-swipe-view .swipe-actions .swipe-action:hover {
  filter: saturate(1.08) brightness(.97);
  transform: translateY(-1px);
}

.v92-search-list-view {
  padding-bottom: 30px;
}

.v92-search-list-summary {
  margin-top: 16px;
}

.v96-search-map-view {
  padding-bottom: 32px;
}

.v96-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 16px;
  padding: 16px clamp(12px, 2vw, 18px) 0;
}

.v96-map-panel,
.v96-map-results {
  min-width: 0;
}

.v96-search-map {
  height: min(68dvh, 680px);
  min-height: 430px;
  touch-action: pan-y;
}

.v96-map-help {
  display: flex;
  gap: 10px;
  margin: 9px 4px 0;
  align-items: flex-start;
  color: #52645d;
}

.v96-map-help > .ui-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #173c31;
}

.v96-map-help strong,
.v96-map-help small {
  display: block;
}

.v96-map-help strong {
  font-size: .75rem;
}

.v96-map-help small {
  margin-top: 2px;
  font-size: .66rem;
  line-height: 1.4;
}

.v96-map-results {
  overflow: hidden;
  border: 1px solid #d8d9d1;
  border-radius: 18px;
  background: #fffefa;
}

.v96-map-results > div:first-child {
  display: grid;
  gap: 2px;
  padding: 16px;
  border-bottom: 1px solid #dddcd4;
  background: #f2f4ef;
}

.v96-map-results > div:first-child span {
  color: #647069;
  font-size: .68rem;
}

.v96-map-property {
  display: grid;
  width: 100%;
  min-height: 82px;
  grid-template-columns: 28px 58px minmax(0, 1fr) 18px;
  gap: 10px;
  padding: 10px 12px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid #e3e1d9;
  background: transparent;
  color: #17211d;
  text-align: left;
  cursor: pointer;
}

.v96-map-property:hover {
  background: #f1f5f2;
}

.v96-map-property > span:first-child {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #173c31;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
}

.v96-map-property.is-nearby > span:first-child {
  background: #7a8781;
}

.v96-map-property img {
  width: 58px;
  height: 56px;
  border-radius: 11px;
  object-fit: cover;
}

.v96-map-property > span:nth-child(3) {
  min-width: 0;
}

.v96-map-property strong,
.v96-map-property small,
.v96-map-property b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v96-map-property strong {
  font-size: .76rem;
}

.v96-map-property small {
  margin-top: 2px;
  color: #6b746f;
  font-size: .65rem;
}

.v96-map-property b {
  margin-top: 5px;
  color: #173c31;
  font-size: .72rem;
}

@media (max-width: 760px) {
  .v96-search-toolbar {
    min-height: 58px;
    padding: 6px 10px;
  }

  .v96-search-toolbar .v92-search-modes {
    width: 100%;
  }

  .v96-search-toolbar .v92-search-modes button {
    min-height: 42px;
    padding-inline: 8px;
  }

  .v96-search-toolbar .v92-search-settings {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .v92-swipe-view .swipe-image {
    height: min(54dvh, 480px);
    min-height: min(320px, 43dvh);
    max-height: 64dvh;
  }

  .v92-swipe-view .image-title {
    right: 74px;
    bottom: 15px;
    left: 15px;
  }

  .v92-swipe-view .image-title h2 {
    font-size: clamp(1.25rem, 6vw, 1.75rem);
  }

  .v96-image-price {
    display: grid;
    gap: 3px;
    margin-top: 8px;
  }

  .v96-image-details {
    right: 14px;
    bottom: 15px;
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .v96-map-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 12px;
  }

  .v96-search-map {
    height: min(58dvh, 500px);
    min-height: 350px;
    border-radius: 16px;
  }

  .v96-map-results {
    border-radius: 16px;
  }

  .v92-search-list-view .v92-search-list-summary,
  .v92-search-list-view .v92-search-list {
    margin-inline: 12px;
  }
}

@media (max-width: 390px) {
  .v96-search-toolbar .v92-search-modes button {
    gap: 5px;
    padding-inline: 6px;
  }

  .v96-search-toolbar .v92-search-modes span {
    font-size: .68rem;
  }

  .v92-swipe-view .swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] {
    grid-template-columns: repeat(4, 46px) !important;
    gap: 7px !important;
  }

  .v92-swipe-view .swipe-actions .swipe-action {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v96-image-details,
  .v92-swipe-view .swipe-actions .swipe-action {
    transition-duration: .01ms !important;
  }
}

/* V100 — focused landlord-validation modal */
.v100-validation-context {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(46, 117, 92, 0.2);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(232, 242, 237, 0.94), rgba(255, 252, 247, 0.96));
}

.v100-validation-context-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: #214f40;
  box-shadow: 0 10px 22px rgba(24, 64, 51, 0.18);
}

.v100-validation-context-icon svg {
  width: 25px;
  height: 25px;
}

.v100-validation-context strong {
  display: block;
  margin: 2px 0 4px;
  font-size: 1.05rem;
}

.v100-validation-context p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.v100-validation-modal .modal-body {
  display: grid;
  gap: 0;
}

@media (max-width: 620px) {
  .v100-validation-context {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .v100-validation-context-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
}

/* GoLeje V95 · nulstilbar førstegangsprofil */
.v95-fresh-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .72fr);
  gap: 24px;
  align-items: start;
}

.v95-fresh-onboarding {
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  background:
    radial-gradient(circle at 92% 2%, rgba(151, 202, 190, .26), transparent 34%),
    var(--surface, #fff);
}

.v95-fresh-intro {
  max-width: 660px;
  margin-bottom: 28px;
}

.v95-fresh-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 18px;
  color: #f8fffc;
  background: #163c31;
  box-shadow: 0 14px 30px rgba(22, 60, 49, .18);
}

.v95-fresh-mark svg { width: 27px; height: 27px; }
.v95-fresh-intro h2 { margin: 7px 0 10px; font-size: clamp(1.65rem, 3vw, 2.45rem); }
.v95-fresh-intro p { max-width: 620px; margin: 0; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.65; }

.v95-fresh-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid var(--line);
}

.v95-fresh-steps li + li { border-top: 1px solid var(--line); }

.v95-fresh-steps button {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  gap: 14px;
  align-items: center;
  padding: 14px 4px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, padding 180ms ease;
}

.v95-fresh-steps button:hover { padding-inline: 12px; background: rgba(151, 202, 190, .13); }
.v95-fresh-steps button:active { background: rgba(151, 202, 190, .2); }
.v95-fresh-steps button:focus-visible { outline: 3px solid rgba(43, 116, 96, .45); outline-offset: -3px; }
.v95-fresh-steps button > span:first-child { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #bfd4cd; border-radius: 50%; color: #285c4e; font-weight: 800; background: #edf5f2; }
.v95-fresh-steps button > span:nth-child(2) { display: grid; gap: 4px; }
.v95-fresh-steps button strong { font-size: 1rem; }
.v95-fresh-steps button small { color: var(--ink-soft); font-size: .9rem; }
.v95-fresh-steps button > svg { width: 20px; color: #55746c; }

.v95-fresh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.v95-fresh-actions .button { min-height: 46px; }
.v95-fresh-aside { display: grid; gap: 16px; }
.v95-fresh-aside h3 { margin: 7px 0 9px; font-size: 1.4rem; }
.v95-fresh-aside p { margin: 0; color: var(--ink-soft); line-height: 1.6; }

.v95-privacy-points {
  display: grid;
  gap: 11px;
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.v95-privacy-points span { display: flex; gap: 10px; align-items: center; color: #294b42; font-size: .92rem; font-weight: 720; }
.v95-privacy-points svg { width: 19px; flex: 0 0 auto; }

.v95-fresh-hint {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px;
  border-radius: 18px;
  color: #f2faf7;
  background: #153a30;
}

.v95-fresh-hint > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: rgba(255,255,255,.11); }
.v95-fresh-hint svg { width: 21px; }
.v95-fresh-hint strong { display: block; margin: 1px 0 5px; }
.v95-fresh-hint p { color: rgba(242,250,247,.72); font-size: .9rem; line-height: 1.5; }

.v95-reset-summary { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.v95-reset-summary > span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 16px; color: #285c4e; background: #e8f2ef; }
.v95-reset-summary svg { width: 23px; }
.v95-reset-summary h3 { margin: 2px 0 7px; }
.v95-reset-summary p { margin: 0; color: var(--ink-soft); line-height: 1.55; }

@media (max-width: 1040px) {
  .v95-fresh-layout { grid-template-columns: 1fr; }
  .v95-fresh-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .v95-fresh-layout { gap: 14px; }
  .v95-fresh-onboarding { padding: 22px 18px; }
  .v95-fresh-intro { margin-bottom: 20px; }
  .v95-fresh-aside { grid-template-columns: 1fr; }
  .v95-fresh-steps button { min-height: 78px; grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 10px; }
  .v95-fresh-steps button > span:first-child { width: 36px; height: 36px; }
  .v95-fresh-actions { display: grid; grid-template-columns: 1fr; }
  .v95-fresh-actions .button { width: 100%; }
}

/* GoLeje V90 · boligkort og postnummerbaseret søgning */
.v90-map {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 320px;
  overflow: hidden;
  border: 1px solid var(--line, #ddd9cf);
  border-radius: 18px;
  background: #dfe7e1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
  cursor: grab;
  isolation: isolate;
  touch-action: none;
  user-select: none;
}

.v90-map.is-dragging {
  cursor: grabbing;
}

.v90-map-tiles,
.v90-map-markers,
.v90-map-shade {
  position: absolute;
  inset: 0;
}

.v90-map-tiles img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.v90-map-shade {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 48, 38, .08), transparent 22%, transparent 74%, rgba(16, 48, 38, .08));
}

.v90-map-markers {
  z-index: 2;
  pointer-events: none;
}

.v90-property-marker,
.v90-postal-marker {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  cursor: pointer;
}

.v90-property-marker {
  display: grid;
  width: 46px;
  height: 52px;
  padding: 0 0 7px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 8px;
  background: var(--brand, #173c31);
  color: #fff;
  box-shadow: 0 7px 18px rgba(18, 42, 35, .3);
  transform: translate(-50%, -92%) rotate(-45deg);
}

.v90-property-marker > span,
.v90-property-marker > b {
  grid-area: 1 / 1;
  transform: rotate(45deg);
}

.v90-property-marker svg {
  width: 20px;
  height: 20px;
}

.v90-property-marker > b:not(:empty) {
  display: grid;
  width: 19px;
  height: 19px;
  margin: -25px -25px 0 0;
  place-items: center;
  border-radius: 999px;
  background: var(--accent, #b7684d);
  color: #fff;
  font-size: .66rem;
  line-height: 1;
}

.v90-property-marker.is-outside-search-area {
  border-color: rgba(23, 60, 49, .38);
  background: #f8f5ed;
  color: var(--brand, #173c31);
  box-shadow: 0 5px 14px rgba(18, 42, 35, .18);
}

.v90-property-marker.is-outside-search-area > b:not(:empty) {
  background: #788780;
}

.v90-postal-marker {
  display: grid;
  min-width: 58px;
  min-height: 44px;
  padding: 5px 9px;
  border: 1px solid rgba(23, 60, 49, .23);
  border-radius: 13px;
  background: rgba(255, 254, 250, .94);
  color: var(--brand, #173c31);
  box-shadow: 0 5px 14px rgba(19, 43, 35, .18);
  text-align: center;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.v90-postal-marker strong,
.v90-postal-marker span {
  display: block;
  white-space: nowrap;
}

.v90-postal-marker strong {
  font-size: .78rem;
  line-height: 1.05;
}

.v90-postal-marker span {
  max-width: 86px;
  overflow: hidden;
  color: var(--ink-soft, #69706b);
  font-size: .56rem;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.v90-postal-marker.is-selected {
  border-color: var(--brand, #173c31);
  background: var(--brand, #173c31);
  color: #fff;
  box-shadow: 0 6px 18px rgba(19, 56, 45, .32), 0 0 0 3px rgba(255, 255, 255, .8);
}

.v90-postal-marker.is-selected span {
  color: rgba(255, 255, 255, .78);
}

.v90-map-brand {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  display: flex;
  gap: 9px;
  align-items: center;
  max-width: calc(100% - 118px);
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 13px;
  background: rgba(255, 254, 250, .93);
  color: var(--brand, #173c31);
  box-shadow: 0 5px 18px rgba(19, 43, 35, .15);
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.v90-map-brand > svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.v90-map-brand strong,
.v90-map-brand small {
  display: block;
  line-height: 1.2;
}

.v90-map-brand strong {
  font-size: .72rem;
}

.v90-map-brand small {
  margin-top: 2px;
  color: var(--ink-soft, #69706b);
  font-size: .58rem;
}

.v90-map-controls {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(23, 60, 49, .2);
  border-radius: 13px;
  background: rgba(255, 254, 250, .95);
  box-shadow: 0 5px 18px rgba(19, 43, 35, .15);
}

.v90-map-controls button {
  display: grid;
  width: 44px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-bottom: 1px solid var(--line, #ddd9cf);
  background: transparent;
  color: var(--brand, #173c31);
  font: 700 1.18rem/1 sans-serif;
  cursor: pointer;
}

.v90-map-controls button:last-child {
  border-bottom: 0;
  font-size: 1rem;
}

.v90-map-controls button:hover {
  background: #edf3ef;
}

.v90-map-attribution {
  position: absolute;
  right: 8px;
  bottom: 7px;
  z-index: 4;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .82);
  color: #365148;
  font-size: .55rem;
  text-decoration: none;
}

.v90-property-location {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--line, #ddd9cf);
  border-radius: 18px;
  background: #f7f8f5;
}

.v90-property-location .section-header {
  align-items: end;
  margin-bottom: 14px;
}

.v90-property-map {
  height: 290px;
}

.v90-large-map {
  height: min(62vh, 610px);
  min-height: 430px;
  border-radius: 20px;
}

.v90-map-modal .modal-body {
  overflow-x: hidden;
}

.v90-map-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
  gap: 18px;
  min-width: 0;
}

.v90-map-modal-layout > section,
.v90-map-modal-layout > aside {
  min-width: 0;
}

.v90-map-modal-layout > aside {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line, #ddd9cf);
  border-radius: 18px;
  background: #fffefa;
}

.v90-map-list-heading {
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line, #ddd9cf);
}

.v90-map-list-heading h3 {
  margin: 3px 0 0;
}

.v90-map-property-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.v90-map-property-row {
  display: grid;
  grid-template-columns: 30px 58px minmax(0, 1fr) 18px;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 72px;
  padding: 10px 14px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line, #ddd9cf);
  background: transparent;
  color: var(--ink, #17211d);
  text-align: left;
  cursor: pointer;
}

.v90-map-property-row.is-in-search-area,
.v90-map-property-row.is-outside-search-area {
  grid-template-columns: 30px 58px minmax(0, 1fr) auto 18px;
}

.v90-map-property-row > em {
  padding: 5px 8px;
  border-radius: 999px;
  background: #e7f0eb;
  color: var(--brand, #173c31);
  font-size: .57rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.v90-map-property-row.is-outside-search-area > em {
  background: #f1eee6;
  color: #66716c;
}

.v90-map-property-row.is-outside-search-area .v90-map-row-number {
  background: #788780;
}

.v90-map-property-row:hover {
  background: #f1f5f2;
}

.v90-map-property-row img {
  width: 58px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
}

.v90-map-property-row > span:nth-of-type(2) {
  min-width: 0;
}

.v90-map-property-row strong,
.v90-map-property-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v90-map-property-row strong {
  font-size: .77rem;
}

.v90-map-property-row small {
  margin-top: 3px;
  color: var(--ink-soft, #69706b);
  font-size: .65rem;
}

.v90-map-row-number {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand, #173c31);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
}

.v90-map-filter-note {
  margin-bottom: 14px;
}

.v90-map-key {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px 0 8px;
  border: 1px solid rgba(23, 60, 49, .35);
  border-radius: 50%;
  vertical-align: 1px;
}

.v90-map-key.is-inside {
  background: var(--brand, #173c31);
}

.v90-map-key.is-outside {
  background: #f8f5ed;
}

.v90-map-empty {
  display: grid;
  min-height: 220px;
  padding: 28px;
  place-items: center;
  align-content: center;
  color: var(--ink-soft, #69706b);
  text-align: center;
}

.v90-map-empty svg {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
}

.v90-map-empty strong,
.v90-map-empty span {
  display: block;
}

.v90-map-empty strong {
  color: var(--ink, #17211d);
}

.v90-map-empty span {
  max-width: 28ch;
  margin-top: 5px;
  font-size: .72rem;
}

.v90-postal-field {
  margin-top: 4px;
}

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

.v90-postal-heading label,
.v90-postal-heading .field-hint {
  display: block;
}

.v90-postal-count {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e8f0eb;
  color: var(--brand, #173c31);
  font-size: .66rem;
  font-weight: 800;
}

.v90-postal-chips {
  display: flex;
  min-height: 45px;
  gap: 8px;
  margin-bottom: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.v90-postal-chips > button {
  display: inline-flex;
  min-height: 38px;
  gap: 8px;
  padding: 7px 9px 7px 12px;
  align-items: center;
  border: 1px solid #b9cbbf;
  border-radius: 999px;
  background: #edf4ef;
  color: var(--brand, #173c31);
  cursor: pointer;
}

.v90-postal-chips > button svg {
  width: 15px;
  height: 15px;
}

.v90-postal-empty {
  color: var(--ink-soft, #69706b);
  font-size: .7rem;
}

.v90-postal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(270px, .88fr);
  gap: 14px;
  min-width: 0;
}

.v90-postal-layout > * {
  min-width: 0;
}

.v90-postal-map {
  height: 440px;
}

.v90-postal-map-wrap > p {
  display: flex;
  gap: 7px;
  margin: 8px 3px 0;
  align-items: start;
  color: var(--ink-soft, #69706b);
  font-size: .64rem;
  line-height: 1.45;
}

.v90-postal-map-wrap > p svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.v90-postal-browser {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line, #ddd9cf);
  border-radius: 18px;
  background: #fffefa;
}

.v90-postal-search {
  position: relative;
  flex: 0 0 auto;
  padding: 12px;
  border-bottom: 1px solid var(--line, #ddd9cf);
}

.v90-postal-search svg {
  position: absolute;
  top: 50%;
  left: 25px;
  z-index: 1;
  width: 18px;
  height: 18px;
  color: var(--ink-soft, #69706b);
  transform: translateY(-50%);
  pointer-events: none;
}

.v90-postal-search input {
  min-height: 44px;
  padding-left: 40px;
}

.v90-postal-list {
  min-height: 0;
  max-height: 382px;
  padding: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.v90-postal-region h4 {
  margin: 10px 8px 6px;
  color: var(--ink-soft, #69706b);
  font-size: .59rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.v90-postal-region > div {
  display: grid;
  gap: 4px;
}

.v90-postal-region button {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 20px;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  padding: 7px 9px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ink, #17211d);
  text-align: left;
  cursor: pointer;
}

.v90-postal-region button:hover {
  background: #f1f5f2;
}

.v90-postal-region button strong {
  color: var(--brand, #173c31);
  font-size: .7rem;
}

.v90-postal-region button span {
  min-width: 0;
  overflow: hidden;
  font-size: .7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v90-postal-region button svg {
  width: 17px;
  height: 17px;
  opacity: 0;
}

.v90-postal-region button.is-selected {
  border-color: #b8cbbf;
  background: #eaf2ed;
}

.v90-postal-region button.is-selected svg {
  opacity: 1;
  color: var(--brand, #173c31);
}

.v90-map button:focus-visible,
.v90-map-property-row:focus-visible,
.v90-postal-chips button:focus-visible,
.v90-postal-region button:focus-visible {
  z-index: 6;
  outline: 3px solid #d6b69e;
  outline-offset: 2px;
}

@media (max-width: 920px) {
  .v90-map-modal-layout,
  .v90-postal-layout {
    grid-template-columns: 1fr;
  }

  .v90-map-modal-layout > aside {
    overflow: visible;
  }

  .v90-map-property-list,
  .v90-postal-list {
    max-height: none;
    overflow: visible;
  }

  .v90-large-map {
    height: min(54vh, 500px);
    min-height: 360px;
  }

  .v90-postal-map {
    height: 380px;
  }
}

@media (max-width: 560px) {
  .v90-property-location {
    padding: 14px;
    border-radius: 15px;
  }

  .v90-property-location .section-header,
  .v90-postal-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .v90-property-location .button {
    width: 100%;
  }

  .v90-property-map,
  .v90-postal-map,
  .v90-large-map {
    height: 340px;
    min-height: 340px;
    border-radius: 15px;
  }

  .v90-map-brand {
    top: 10px;
    left: 10px;
  }

  .v90-map-controls {
    top: 10px;
    right: 10px;
  }

  .v90-postal-marker span {
    display: none;
  }

  .v90-postal-marker {
    min-width: 52px;
    min-height: 38px;
  }

  .v90-map-property-row {
    grid-template-columns: 27px 52px minmax(0, 1fr) 16px;
    padding-inline: 10px;
  }

  .v90-map-property-row.is-in-search-area,
  .v90-map-property-row.is-outside-search-area {
    grid-template-columns: 27px 52px minmax(0, 1fr) 16px;
  }

  .v90-map-property-row > em {
    display: none;
  }

  .v90-map-property-row img {
    width: 52px;
    height: 48px;
  }
}

/* GoLeje V67 · fagområdebaseret fejlmelding og partnerforslag */
.v67-issue-trades { margin: 18px 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfa; }
.v67-issue-trades legend { padding: 0 6px; color: var(--ink); font-size: .92rem; font-weight: 800; }
.v67-issue-trades > p { margin: 0 0 12px; color: var(--ink-soft); font-size: .78rem; line-height: 1.5; }
.v67-issue-trade-options { display: flex; flex-wrap: wrap; gap: 8px; }
.v67-issue-trade-options label { position: relative; cursor: pointer; }
.v67-issue-trade-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.v67-issue-trade-options span { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid #cfdad4; border-radius: 999px; background: #fff; color: #354b42; font-size: .8rem; font-weight: 750; transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease; }
.v67-issue-trade-options span svg { width: 15px; height: 15px; }
.v67-issue-trade-options label:hover span { border-color: #6d9a86; background: #f2f7f4; }
.v67-issue-trade-options input:checked + span { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 5px 14px rgba(24,73,57,.16); }
.v67-issue-trade-options input:focus-visible + span { outline: 3px solid rgba(32,91,73,.25); outline-offset: 2px; }
.v67-issue-tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 2px; }
.v67-issue-tag-row > span { display: inline-flex; min-height: 28px; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; background: #eaf3ee; color: #26533f; font-size: .72rem; font-weight: 800; }
.v67-issue-tag-row svg { width: 13px; height: 13px; }
.v67-edit-issue-summary { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 13px; align-items: center; padding: 14px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.v67-edit-issue-summary > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 13px; background: #fff; color: var(--brand); }
.v67-edit-issue-summary small,.v67-edit-issue-summary h2,.v67-edit-issue-summary p { display: block; margin: 0; }
.v67-edit-issue-summary h2 { margin: 2px 0; font-size: 1rem; }
.v67-edit-issue-summary small,.v67-edit-issue-summary p { color: var(--ink-soft); font-size: .74rem; }
.v67-partner-recommendation { display: grid; grid-template-columns: 46px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 14px; margin: 14px 0 18px; border: 1px solid #bcd8ca; border-radius: 14px; background: #f0f8f3; }
.v67-partner-recommendation-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; background: #fff; color: var(--brand); box-shadow: 0 3px 10px rgba(24,73,57,.08); }
.v67-partner-recommendation h3,.v67-partner-recommendation p { margin: 0; }
.v67-partner-recommendation h3 { margin: 3px 0; font-size: .96rem; }
.v67-partner-recommendation p { color: var(--ink-soft); font-size: .76rem; }
@media (max-width: 620px) {
  .v67-issue-trade-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v67-issue-trade-options span { width: 100%; justify-content: center; }
  .v67-partner-recommendation { grid-template-columns: 44px minmax(0,1fr); }
  .v67-partner-recommendation > .badge { grid-column: 1 / -1; justify-self: start; }
}

/* GoLeje V59 · sikker og mobilklar fejlmelding */
.v59-issue-basics,
.v59-issue-media,
.v59-issue-access,
.v59-suggested-slots {
  margin-bottom: 22px;
}

.v59-issue-property-summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.v59-issue-property-summary > svg {
  width: 22px;
  height: 22px;
  margin: auto;
  color: var(--brand);
}

.v59-issue-property-summary > span,
.v59-issue-property-summary small,
.v59-issue-property-summary strong {
  display: block;
  min-width: 0;
}

.v59-issue-property-summary small {
  color: var(--ink-faint);
  font-size: .7rem;
  font-weight: 760;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.v59-issue-property-summary strong {
  margin: 3px 0 2px;
  color: var(--ink);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.v59-issue-property-summary > span > span {
  color: var(--ink-soft);
  font-size: .78rem;
}

.v59-issue-media,
.v59-suggested-slots {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffefa;
}

.v59-issue-media .form-section-heading {
  margin-bottom: 15px;
}

.v59-issue-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.v59-issue-photo-actions .button {
  min-height: 44px;
}

.v59-issue-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.v59-issue-photo-empty {
  grid-column: 1 / -1;
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 64px;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: .78rem;
}

.v59-issue-photo-empty svg {
  width: 20px;
  height: 20px;
}

.v59-issue-photo-preview {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 36px;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.v59-issue-photo-preview img {
  width: 64px;
  height: 52px;
  border-radius: 7px;
  object-fit: cover;
}

.v59-issue-photo-preview > div {
  min-width: 0;
}

.v59-issue-photo-preview strong,
.v59-issue-photo-preview small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v59-issue-photo-preview strong {
  font-size: .78rem;
}

.v59-issue-photo-preview small,
.v59-issue-photo-status {
  color: var(--ink-soft);
  font-size: .7rem;
}

.v59-issue-photo-preview button,
.v59-suggested-slot-list button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.v59-issue-photo-preview button:hover,
.v59-suggested-slot-list button:hover {
  background: var(--surface-2);
  color: var(--danger);
}

.v59-issue-photo-preview button:focus-visible,
.v59-suggested-slot-list button:focus-visible,
.v59-issue-photo-actions .button:focus-visible,
.v59-suggested-slot-control .button:focus-visible {
  outline: 3px solid #d6b69e;
  outline-offset: 2px;
}

.v59-issue-photo-status {
  margin: 10px 0 0;
}

.v59-issue-photo-status.error {
  color: var(--danger);
}

.v59-camera-panel {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: #10251f;
}

.v59-camera-panel[hidden] {
  display: none;
}

.v59-camera-panel video {
  display: block;
  width: 100%;
  max-height: 420px;
  border-radius: 9px;
  background: #07120f;
  object-fit: contain;
}

.v59-camera-panel > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.v59-suggested-slots {
  min-width: 0;
}

.v59-suggested-slots legend {
  padding: 0 6px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
}

.v59-suggested-slots > p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: .8rem;
  line-height: 1.5;
}

.v59-suggested-slot-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.v59-suggested-slot-control .field {
  margin: 0;
}

.v59-suggested-slot-control .button {
  min-height: 44px;
}

.v59-suggested-slot-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.v59-suggested-slot-list.is-empty {
  display: none;
}

.v59-suggested-slot-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 10px 10px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}

.v59-suggested-slot-list li > span {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
}

.v59-suggested-slot-list li > span > svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.v59-suggested-slot-list strong,
.v59-suggested-slot-list small {
  display: block;
}

.v59-suggested-slot-list strong {
  font-size: .78rem;
}

.v59-suggested-slot-list small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: .68rem;
}

@media (max-width: 700px) {
  .v59-issue-photo-grid,
  .v59-suggested-slot-control {
    grid-template-columns: 1fr;
  }

  .v59-issue-photo-actions .button,
  .v59-suggested-slot-control .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .v59-issue-media,
  .v59-suggested-slots {
    padding: 14px;
  }

  .v59-issue-photo-preview {
    grid-template-columns: 52px minmax(0, 1fr) 36px;
  }

  .v59-issue-photo-preview img {
    width: 52px;
    height: 48px;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% -10%, rgba(220, 235, 232, .85), transparent 30rem),
    radial-gradient(circle at 100% 0%, rgba(250, 232, 223, .65), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

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

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -.025em;
}

.noscript {
  margin: 20px;
  padding: 18px;
  border: 1px solid var(--danger);
  border-radius: var(--radius);
  background: var(--danger-soft);
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: minmax(210px, var(--sidebar)) minmax(0, 1fr) auto;
  align-items: center;
  height: var(--topbar);
  padding: 0 22px;
  border-bottom: 1px solid rgba(217, 224, 220, .9);
  background: rgba(250, 251, 248, .9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .85) inset;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--brand);
  box-shadow: 0 8px 22px rgba(28, 85, 92, .24);
}

.brand-mark::before {
  width: 15px;
  height: 14px;
  border-radius: 3px 3px 5px 5px;
  background: white;
  content: "";
}

.brand-mark::after {
  position: absolute;
  top: 8px;
  width: 19px;
  height: 19px;
  border-top: 4px solid white;
  border-left: 4px solid white;
  content: "";
  transform: rotate(45deg);
}

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.role-switcher {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-sm);
}

.role-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.role-button:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.role-button.active {
  background: var(--brand);
  color: white;
  box-shadow: 0 7px 18px rgba(28, 85, 92, .2);
}

.role-button:active,
.button:active,
.icon-button:active,
.nav-item:active {
  transform: translateY(1px);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.icon-button {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.icon-button:hover {
  border-color: #b9c7c2;
  background: white;
}

.icon-button .count {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 850;
  line-height: 16px;
  text-align: center;
}

.demo-user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 9px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .78);
}

.avatar {
  display: inline-grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.avatar.lg {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 15px;
}

.avatar.xl {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  font-size: 20px;
}

.avatar.accent {
  background: var(--accent-soft);
  color: #7d402c;
}

.avatar.blue {
  background: var(--info-soft);
  color: #2b5584;
}

.demo-user-copy {
  min-width: 0;
}

.demo-user-copy strong,
.demo-user-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-user-copy strong {
  max-width: 150px;
  font-size: 12px;
}

.demo-user-copy span {
  margin-top: 2px;
  color: var(--ink-faint);
  font-size: 10px;
}

.workspace {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: calc(100vh - var(--topbar));
}

.sidebar {
  position: sticky;
  top: var(--topbar);
  align-self: start;
  height: calc(100vh - var(--topbar));
  padding: 22px 16px 20px;
  border-right: 1px solid var(--line);
  background: rgba(248, 249, 246, .64);
  overflow-y: auto;
}

.sidebar-label {
  margin: 8px 10px 10px;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.nav-list {
  display: grid;
  gap: 5px;
}

.nav-item {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 13px;
  font-weight: 720;
  text-align: left;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.nav-item:hover {
  background: rgba(220, 235, 232, .64);
  color: var(--brand-strong);
}

.nav-item.active {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.nav-item .nav-icon {
  display: grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
  font-size: 13px;
}

.nav-item.active .nav-icon {
  background: white;
  box-shadow: 0 3px 10px rgba(18, 60, 66, .08);
}

.nav-item .nav-count {
  min-width: 22px;
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 999px;
  background: white;
  color: var(--brand-strong);
  font-size: 10px;
  font-weight: 850;
  text-align: center;
}

.sidebar-card {
  margin-top: 22px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow-sm);
}

.sidebar-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}

.sidebar-card p {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.content {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 30px 34px 70px;
  overflow: hidden;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.page-kicker {
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.page-title {
  margin-bottom: 7px;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.08;
}

.page-description {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.button:hover {
  border-color: #bac9c4;
  box-shadow: var(--shadow-sm);
}

.button.primary {
  background: var(--brand);
  color: white;
}

.button.primary:hover {
  border-color: var(--brand);
  background: var(--brand-strong);
}

.button.accent {
  background: var(--accent);
  color: white;
}

.button.accent:hover {
  border-color: var(--accent);
  background: #cf6c4d;
}

.button.secondary {
  border-color: var(--line);
  background: white;
}

.button.ghost {
  background: transparent;
  color: var(--ink-soft);
}

.button.danger {
  border-color: #e9c1c1;
  background: var(--danger-soft);
  color: var(--danger);
}

.button.success {
  border-color: #b9d9c7;
  background: var(--success-soft);
  color: var(--success);
}

.button.warning {
  border-color: #ead4a8;
  background: var(--warning-soft);
  color: var(--warning);
}

.button.small {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 11px;
}

.button.large {
  min-height: 50px;
  padding: 12px 19px;
  border-radius: 14px;
  font-size: 14px;
}

.button.full {
  width: 100%;
}

.button[disabled],
.button.disabled {
  cursor: not-allowed;
  opacity: .48;
  box-shadow: none;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  font-size: inherit;
  font-weight: 800;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.main-aside {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  align-items: start;
}

.grid.aside-main {
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.55fr);
  align-items: start;
}

.card,
.panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
}

.card {
  border-radius: var(--radius);
}

.panel {
  border-radius: var(--radius-lg);
}

.card-pad {
  padding: 18px;
}

.panel-pad {
  padding: 22px;
}

.stat-card {
  position: relative;
  min-height: 126px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-sm);
}

.stat-card::after {
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--brand-soft);
  content: "";
  opacity: .7;
}

.stat-card.accent::after {
  background: var(--accent-soft);
}

.stat-card.blue::after {
  background: var(--info-soft);
}

.stat-card.warning::after {
  background: var(--warning-soft);
}

.stat-label {
  position: relative;
  z-index: 1;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
}

.stat-value {
  position: relative;
  z-index: 1;
  display: block;
  margin: 13px 0 4px;
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -.055em;
}

.stat-meta {
  position: relative;
  z-index: 1;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 650;
}

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

.section-header h2,
.section-header h3 {
  margin-bottom: 0;
}

.section-header h2 {
  font-size: 20px;
}

.section-header h3 {
  font-size: 16px;
}

.section-copy {
  margin-top: -8px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.muted {
  color: var(--ink-soft);
}

.faint {
  color: var(--ink-faint);
}

.small-copy {
  font-size: 11px;
  line-height: 1.55;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 13px;
  color: var(--ink-soft);
  font-size: 11px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .02em;
  line-height: 1.1;
  white-space: nowrap;
}

.badge.success {
  background: var(--success-soft);
  color: var(--success);
}

.badge.warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.badge.danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.badge.info {
  background: var(--info-soft);
  color: var(--info);
}

.badge.brand {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.badge.accent {
  background: var(--accent-soft);
  color: #84442f;
}

.badge.dark {
  background: var(--ink);
  color: white;
}

.progress {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-2);
}

.progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transition: width .3s ease;
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 15px;
}

.profile-summary h3 {
  margin-bottom: 3px;
  font-size: 17px;
}

.profile-summary p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.profile-completion {
  margin-top: 17px;
}

.profile-completion-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 800;
}

.quick-list,
.list-stack {
  display: grid;
  gap: 10px;
}

.quick-item,
.list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .8);
}

.quick-item-icon {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 15px;
  font-weight: 900;
}

.quick-item-copy {
  min-width: 0;
  flex: 1;
}

.quick-item-copy strong,
.quick-item-copy span {
  display: block;
}

.quick-item-copy strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-item-copy span {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 9px;
}

.empty-state {
  display: grid;
  min-height: 250px;
  place-items: center;
  padding: 28px;
  border: 1px dashed #bcc9c4;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .48);
  text-align: center;
}

.empty-state.compact {
  min-height: 150px;
  padding: 18px;
}

.empty-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 20px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 26px;
}

.empty-state h3 {
  margin-bottom: 7px;
  font-size: 17px;
}

.empty-state p {
  max-width: 430px;
  margin: 0 auto 17px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

/* Browse / swipe */
.browse-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.swipe-stage {
  position: relative;
  min-height: 660px;
}

.swipe-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow-md);
}

.swipe-image {
  position: relative;
  height: 350px;
  overflow: hidden;
  background: var(--surface-2);
}

.swipe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 48%, rgba(12, 31, 35, .76));
}

.image-topline {
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.match-ring {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 5px solid rgba(255, 255, 255, .65);
  border-top-color: white;
  border-radius: 50%;
  background: rgba(18, 60, 66, .8);
  color: white;
  box-shadow: 0 8px 26px rgba(12, 31, 35, .2);
  font-size: 13px;
  font-weight: 900;
}

.image-title {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: white;
}

.image-title h2 {
  margin-bottom: 5px;
  font-size: clamp(26px, 4vw, 40px);
}

.image-title p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
}

.swipe-body {
  padding: 22px 24px 20px;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 15px;
}

.price-line strong {
  font-size: 25px;
  letter-spacing: -.045em;
}

.price-line span {
  color: var(--ink-faint);
  font-size: 11px;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.feature-pill {
  padding: 7px 9px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 750;
}

.match-explainer {
  display: grid;
  gap: 7px;
  margin-top: 15px;
  padding: 13px;
  border-radius: 13px;
  background: var(--brand-soft);
}

.match-explainer.warning {
  background: var(--warning-soft);
}

.match-explainer strong {
  font-size: 11px;
}

.match-explainer span {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.swipe-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 10px;
  padding: 0 24px 24px;
}

.swipe-action {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}

.swipe-action:hover {
  border-color: #b4c4be;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.swipe-action.dismiss {
  color: var(--danger);
}

.swipe-action.save {
  color: var(--warning);
}

.swipe-action.like {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.swipe-action.like:hover {
  background: var(--brand-strong);
}

.swipe-counter {
  margin-top: 13px;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 750;
  text-align: center;
}

.browse-aside {
  position: sticky;
  top: calc(var(--topbar) + 24px);
}

.filter-summary {
  display: grid;
  gap: 10px;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.filter-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.filter-row span:first-child {
  color: var(--ink-soft);
}

.filter-row strong {
  text-align: right;
}

/* Property lists */
.tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 18px;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .65);
}

.tab {
  display: inline-flex;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.tab.active {
  background: white;
  color: var(--brand-strong);
  box-shadow: var(--shadow-sm);
}

.tab-count {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 9px;
  text-align: center;
}

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

.property-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease;
}

.property-tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.property-tile.inactive {
  opacity: .78;
}

.property-tile-image {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: var(--surface-2);
}

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

.property-tile-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(12, 31, 35, .5));
  content: "";
}

.property-tile-badges {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  left: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.property-tile-match {
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(18, 60, 66, .88);
  color: white;
  font-size: 10px;
  font-weight: 900;
}

.property-tile-body {
  padding: 15px;
}

.property-tile h3 {
  margin-bottom: 5px;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-address {
  margin-bottom: 12px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-price {
  margin-bottom: 9px;
  font-size: 16px;
  font-weight: 900;
}

.property-price small {
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 650;
}

.property-tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.property-tile-actions {
  display: flex;
  gap: 6px;
}

.change-note {
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--warning-soft);
  color: #76511d;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.45;
}

.change-note.success {
  background: var(--success-soft);
  color: var(--success);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  background: #f8faf7;
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: #fbfcfa;
}

.table-user {
  display: flex;
  align-items: center;
  gap: 9px;
}

.table-user strong,
.table-user span {
  display: block;
}

.table-user strong {
  font-size: 11px;
}

.table-user span {
  margin-top: 2px;
  color: var(--ink-faint);
  font-size: 9px;
}

.table-actions {
  display: flex;
  gap: 5px;
  justify-content: flex-end;
}

/* Candidates */
.property-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .7);
}

.property-selector-card {
  display: flex;
  min-width: 220px;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  text-align: left;
}

.property-selector-card.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(28, 85, 92, .12);
}

.property-selector-card img {
  width: 52px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 9px;
  object-fit: cover;
}

.property-selector-card strong,
.property-selector-card span {
  display: block;
}

.property-selector-card strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-selector-card span {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 9px;
}

.candidate-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.search-field {
  position: relative;
  width: min(320px, 100%);
}

.search-field input {
  width: 100%;
  height: 42px;
  padding: 10px 13px 10px 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: white;
  font-size: 11px;
}

.search-field::before {
  position: absolute;
  top: 12px;
  left: 13px;
  content: "\2315";
  color: var(--ink-faint);
  font-size: 14px;
}

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.candidate-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
}

.candidate-card.favorite {
  border-color: #e3c27b;
  box-shadow: 0 0 0 2px rgba(227, 194, 123, .15), var(--shadow-sm);
}

.candidate-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
}

.candidate-name {
  min-width: 0;
  flex: 1;
}

.candidate-name h3 {
  margin-bottom: 3px;
  font-size: 14px;
}

.candidate-name p {
  margin-bottom: 0;
  color: var(--ink-faint);
  font-size: 9px;
}

.candidate-score {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 4px solid var(--brand-soft);
  border-top-color: var(--brand);
  border-radius: 50%;
  color: var(--brand-strong);
  font-size: 10px;
  font-weight: 900;
}

.candidate-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 13px;
}

.fact {
  min-width: 0;
  padding: 8px;
  border-radius: 10px;
  background: var(--surface-2);
}

.fact span,
.fact strong {
  display: block;
}

.fact span {
  margin-bottom: 3px;
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 750;
  text-transform: uppercase;
}

.fact strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-intro {
  min-height: 48px;
  margin-bottom: 13px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.candidate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* Notifications and timeline */
.notification-list {
  display: grid;
  gap: 10px;
}

.notification-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.notification-item.unread {
  border-color: #b9d2cc;
  background: #fbfefd;
}

.notification-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 17px;
}

.notification-icon.warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.notification-icon.danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.notification-icon.info {
  background: var(--info-soft);
  color: var(--info);
}

.notification-copy h3 {
  margin-bottom: 5px;
  font-size: 12px;
}

.notification-copy p {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.notification-copy time {
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 700;
}

.notification-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 14px;
  width: 2px;
  background: var(--line);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 0 0 16px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  z-index: 1;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  margin-left: 8px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 0 1px var(--line);
}

.timeline-dot.active {
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.timeline-dot.done {
  background: var(--success);
  box-shadow: 0 0 0 1px var(--success);
}

.timeline-copy strong,
.timeline-copy span {
  display: block;
}

.timeline-copy strong {
  font-size: 10px;
}

.timeline-copy span {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 8px;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  background: white;
  color: var(--ink);
  font-size: 11px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.field input,
.field select {
  height: 42px;
  padding: 9px 11px;
}

.field textarea {
  min-height: 105px;
  padding: 10px 11px;
  line-height: 1.55;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(28, 85, 92, .11);
}

.field-hint {
  color: var(--ink-faint);
  font-size: 8px;
  line-height: 1.45;
}

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

.check-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}

.check-card input {
  accent-color: var(--brand);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.toggle-row:last-child {
  border-bottom: 0;
}

.toggle-copy strong,
.toggle-copy span {
  display: block;
}

.toggle-copy strong {
  font-size: 11px;
}

.toggle-copy span {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 9px;
  line-height: 1.45;
}

.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex: 0 0 auto;
}

.switch input {
  width: 0;
  height: 0;
  opacity: 0;
}

.slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #cbd5d1;
  cursor: pointer;
  transition: background .2s ease;
}

.slider::before {
  position: absolute;
  bottom: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 8px rgba(21, 42, 48, .2);
  content: "";
  transition: transform .2s ease;
}

.switch input:checked + .slider {
  background: var(--brand);
}

.switch input:checked + .slider::before {
  transform: translateX(18px);
}

/* Admin and analytics */
.bar-chart {
  display: grid;
  gap: 11px;
}

.bar-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 55px;
  gap: 10px;
  align-items: center;
  font-size: 9px;
}

.bar-label {
  overflow: hidden;
  color: var(--ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-2);
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

.bar-value {
  font-weight: 850;
  text-align: right;
}

.funnel {
  display: grid;
  gap: 8px;
}

.funnel-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--surface-2);
}

.funnel-row:nth-child(2) {
  margin-inline: 4%;
}

.funnel-row:nth-child(3) {
  margin-inline: 8%;
}

.funnel-row:nth-child(4) {
  margin-inline: 12%;
}

.funnel-row strong {
  font-size: 10px;
}

.funnel-row span {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
}

.moderation-preview {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.moderation-preview .original {
  color: var(--danger);
  text-decoration: line-through;
}

.moderation-preview .clean {
  margin-top: 8px;
  color: var(--success);
}

.code-panel {
  max-height: 480px;
  padding: 16px;
  overflow: auto;
  border-radius: 14px;
  background: #14282d;
  color: #d7e7e2;
  font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pricing-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.pricing-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(28, 85, 92, .1), var(--shadow-md);
}

.pricing-card h3 {
  margin-bottom: 4px;
  font-size: 15px;
}

.pricing-card p {
  min-height: 38px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.5;
}

.pricing-value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 14px 0;
}

.pricing-value strong {
  font-size: 27px;
  letter-spacing: -.05em;
}

.pricing-value span {
  color: var(--ink-faint);
  font-size: 9px;
}

/* Invitations */
.invitation-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
}

.invitation-card img {
  width: 160px;
  height: 110px;
  border-radius: 13px;
  object-fit: cover;
}

.invitation-copy h3 {
  margin-bottom: 5px;
  font-size: 15px;
}

.invitation-copy p {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.invitation-actions {
  display: grid;
  min-width: 150px;
  gap: 7px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(11, 27, 31, .56);
  backdrop-filter: blur(8px);
  animation: fadeIn .16s ease;
}

.modal {
  width: min(760px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: modalIn .2s ease;
}

.modal.wide {
  width: min(1020px, 100%);
}

.modal.narrow {
  width: min(510px, 100%);
}

.modal-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px 15px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}

.modal-header h2 {
  margin-bottom: 5px;
  font-size: 21px;
}

.modal-header p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.modal-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  cursor: pointer;
  font-size: 18px;
}

.modal-body {
  padding: 22px;
}

.modal-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}

.property-detail-hero {
  position: relative;
  height: 300px;
  margin: -22px -22px 22px;
  overflow: hidden;
}

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

.property-detail-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(12, 31, 35, .7));
  content: "";
}

.property-detail-title {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 18px;
  left: 22px;
  color: white;
}

.property-detail-title h2 {
  margin-bottom: 4px;
  font-size: 29px;
}

.property-detail-title p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 11px;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 18px;
}

.detail-fact {
  padding: 11px;
  border-radius: 12px;
  background: var(--surface-2);
}

.detail-fact span,
.detail-fact strong {
  display: block;
}

.detail-fact span {
  margin-bottom: 4px;
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-fact strong {
  font-size: 10px;
}

.payment-box {
  padding: 18px;
  border: 1px solid #bdd8d1;
  border-radius: var(--radius);
  background: linear-gradient(140deg, #f9fdfb, var(--brand-soft));
}

.payment-box h3 {
  margin-bottom: 7px;
  font-size: 16px;
}

.payment-box p {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.payment-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.payment-option strong,
.payment-option span {
  display: block;
}

.payment-option strong {
  font-size: 11px;
}

.payment-option span {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 8px;
}

/* Toast */
.toast-root {
  position: fixed;
  z-index: 200;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: min(390px, calc(100vw - 36px));
  gap: 9px;
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(20, 40, 45, .95);
  box-shadow: var(--shadow-lg);
  color: white;
  pointer-events: auto;
  animation: toastIn .22s ease;
}

.toast-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, .12);
}

.toast strong,
.toast span {
  display: block;
}

.toast strong {
  margin-bottom: 3px;
  font-size: 11px;
}

.toast span {
  color: rgba(255, 255, 255, .74);
  font-size: 9px;
  line-height: 1.4;
}

/* Misc */
.divider {
  height: 1px;
  margin: 18px 0;
  background: var(--line);
}

.notice {
  display: flex;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid #bed7d0;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 10px;
  line-height: 1.55;
}

.notice.warning {
  border-color: #ead4a8;
  background: var(--warning-soft);
  color: #6e4b17;
}

.notice.danger {
  border-color: #e8bebe;
  background: var(--danger-soft);
  color: #7d3333;
}

.notice.info {
  border-color: #c3d3e5;
  background: var(--info-soft);
  color: #315b88;
}

.kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 750;
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mobile-role-label,
.mobile-nav {
  display: none;
}

.skeleton {
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(90deg, #eef1ee 25%, #f8faf8 45%, #eef1ee 65%);
  background-size: 250% 100%;
  animation: shimmer 1.4s infinite linear;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

@media (max-width: 1180px) {
  .grid.stats,
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-grid,
  .candidate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .browse-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 980px) {
  :root {
    --sidebar: 210px;
  }

  .topbar {
    grid-template-columns: 190px minmax(0, 1fr) auto;
  }

  .role-button span:last-child {
    display: none;
  }

  .grid.main-aside,
  .grid.aside-main,
  .browse-layout {
    grid-template-columns: 1fr;
  }

  .browse-aside {
    position: static;
  }

  .grid.three,
  .pricing-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .invitation-card {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .invitation-card img {
    width: 130px;
  }

  .invitation-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --topbar: 64px;
  }

  body {
    padding-bottom: 72px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    height: var(--topbar);
    padding: 0 13px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand small,
  .role-switcher,
  .demo-user {
    display: none;
  }

  .mobile-role-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 7px 9px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 10px;
    font-weight: 850;
  }

  .workspace {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .content {
    padding: 22px 14px 34px;
  }

  .page-header {
    display: block;
    margin-bottom: 20px;
  }

  .page-title {
    font-size: 29px;
  }

  .page-actions {
    justify-content: flex-start;
    margin-top: 15px;
  }

  .grid.stats,
  .grid.two,
  .grid.three,
  .grid.four,
  .property-grid,
  .candidate-grid,
  .pricing-cards,
  .form-grid,
  .form-grid.three,
  .detail-facts {
    grid-template-columns: 1fr;
  }

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

  .stat-card {
    min-height: 112px;
    padding: 14px;
  }

  .stat-value {
    font-size: 25px;
  }

  .panel-pad,
  .card-pad {
    padding: 15px;
  }

  .swipe-stage {
    min-height: 0;
  }

  .swipe-card {
    border-radius: 21px;
  }

  .swipe-image {
    height: 270px;
  }

  .swipe-body {
    padding: 17px;
  }

  .swipe-actions {
    grid-template-columns: 1fr 1fr;
    padding: 0 17px 17px;
  }

  .swipe-action.like {
    grid-column: 1 / -1;
  }

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

  .property-tile-image {
    height: 205px;
  }

  .notification-item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .notification-icon {
    width: 38px;
    height: 38px;
  }

  .notification-actions {
    grid-column: 2;
  }

  .invitation-card {
    grid-template-columns: 1fr;
  }

  .invitation-card img {
    width: 100%;
    height: 190px;
  }

  .invitation-actions {
    grid-column: auto;
  }

  .modal-backdrop {
    padding: 0;
    place-items: end center;
  }

  .modal,
  .modal.wide,
  .modal.narrow {
    width: 100%;
    max-height: 94vh;
    border-radius: 24px 24px 0 0;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .property-detail-hero {
    height: 240px;
    margin-right: -16px;
    margin-left: -16px;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .mobile-nav {
    position: fixed;
    z-index: 75;
    right: 9px;
    bottom: max(9px, env(safe-area-inset-bottom));
    left: 9px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    padding: 5px;
    border: 1px solid rgba(217, 224, 220, .9);
    border-radius: 17px;
    background: rgba(250, 251, 248, .94);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
  }

  .mobile-nav .nav-item {
    display: grid;
    min-height: 50px;
    place-items: center;
    gap: 2px;
    padding: 5px 3px;
    border-radius: 12px;
    font-size: 8px;
    text-align: center;
  }

  .mobile-nav .nav-icon {
    width: 22px;
    height: 22px;
  }

  .mobile-nav .nav-count {
    position: absolute;
    top: 2px;
    right: 4px;
  }

  .bar-row {
    grid-template-columns: 82px minmax(0, 1fr) 45px;
  }
}

@media (max-width: 430px) {
  .grid.stats {
    grid-template-columns: 1fr 1fr;
  }

  .topbar-actions .icon-button:nth-child(2) {
    display: none;
  }

  .image-title h2 {
    font-size: 25px;
  }

  .swipe-image {
    height: 235px;
  }

  .swipe-actions {
    gap: 7px;
  }

  .swipe-action {
    min-height: 50px;
    font-size: 10px;
  }

  .property-detail-title h2 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Expanded domain model: icons, shared property tags and pet details */
.ui-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  vertical-align: -0.18em;
}

.button .ui-icon,
.text-button .ui-icon,
.badge .ui-icon,
.meta-item .ui-icon,
.filter-row .ui-icon,
.notice > .ui-icon {
  width: 15px;
  height: 15px;
}

.nav-icon .ui-icon,
.role-button .ui-icon {
  width: 16px;
  height: 16px;
}

.icon-button .ui-icon,
.quick-item-icon .ui-icon,
.notification-icon .ui-icon {
  width: 19px;
  height: 19px;
}

.brand small {
  letter-spacing: .02em;
  text-transform: none;
}

.active-user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 9px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .78);
}

.active-user-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.active-user-copy strong {
  max-width: 160px;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.active-user-copy span {
  color: var(--ink-faint);
  font-size: 9px;
}

.sidebar-card-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.page-kicker {
  font-size: 12px;
  letter-spacing: .015em;
  text-transform: none;
}

.field label,
.field-label {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.field-hint {
  font-size: 10px;
}

.section-subtitle {
  margin: 4px 0 0;
  color: var(--ink-faint);
  font-size: 10px;
  line-height: 1.45;
}

.section-header > div > h2,
.section-header > div > h3 {
  margin-bottom: 0;
}

.stat-card {
  padding-right: 58px;
}

.stat-icon {
  position: absolute;
  z-index: 1;
  top: 17px;
  right: 17px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--brand);
}

.stat-card.accent .stat-icon,
.stat-card.blue .stat-icon,
.stat-card.warning .stat-icon {
  background: rgba(255, 255, 255, .72);
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  font-size: 10px;
}

.feature-pill .ui-icon {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

.meta-row .ui-icon,
.filter-row .ui-icon,
.detail-fact .ui-icon {
  color: var(--brand);
}

.filter-row > span:first-child,
.detail-fact > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.icon-facts .detail-fact span {
  text-transform: none;
  letter-spacing: 0;
  font-size: 10px;
}

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

.match-explainer {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.match-explainer-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .7);
  color: var(--brand);
}

.match-explainer.warning .match-explainer-icon {
  color: var(--warning);
}

.match-explainer div > strong,
.match-explainer div > span {
  display: block;
}

.swipe-action {
  flex-direction: row;
}

.swipe-action .ui-icon {
  width: 19px;
  height: 19px;
}

.image-title p {
  display: flex;
  align-items: center;
  gap: 6px;
}

.image-title p .ui-icon {
  width: 15px;
  height: 15px;
}

.quick-item-icon.success {
  background: var(--success-soft);
  color: var(--success);
}

.quick-item-icon.warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.badge.muted {
  background: var(--surface-2);
  color: var(--ink-faint);
}

.row-leading-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--brand);
}

.toggle-row .row-leading-icon + .toggle-copy {
  flex: 1;
}

.selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.selected-tag {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 2px 7px;
  min-height: 46px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
}

.selected-tag .ui-icon {
  grid-row: 1 / 3;
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.selected-tag span {
  font-size: 10px;
  font-weight: 800;
}

.selected-tag small {
  color: var(--ink-faint);
  font-size: 8px;
}

.selected-tag.must {
  border-color: #9fc4ba;
  background: var(--brand-soft);
}

.selected-tag.nice {
  background: var(--surface-2);
}

.compact-preferences .selected-tags {
  margin-top: 14px;
  gap: 6px;
}

.compact-preferences .selected-tag {
  min-height: 38px;
  padding: 6px 8px;
}

.form-section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.form-section + .form-section {
  margin-top: 15px;
}

.form-section.flush {
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.form-section.flush + .form-section.flush {
  margin-top: 22px;
}

.form-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 16px;
}

.form-section-heading > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.form-section-heading h2,
.form-section-heading h3,
.form-section-heading p {
  margin: 0;
}

.form-section-heading h2,
.form-section-heading h3 {
  font-size: 16px;
}

.form-section-heading p {
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: 10px;
  line-height: 1.45;
}

.form-grid.four {
  grid-template-columns: 1.1fr 1.4fr 1.2fr .55fr;
}

.choice-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-2);
  cursor: pointer;
}

.choice-row > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-control {
  position: relative;
  width: 38px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #bdc8c4;
  transition: background .18s ease;
}

.choice-control::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
  content: '';
  transition: transform .18s ease;
}

.choice-row > input:checked + .choice-control {
  background: var(--brand);
}

.choice-row > input:checked + .choice-control::after {
  transform: translateX(16px);
}

.choice-row strong,
.choice-row small {
  display: block;
}

.choice-row strong {
  font-size: 11px;
}

.choice-row small {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 9px;
}

.pet-editor {
  display: grid;
  gap: 11px;
  margin-top: 12px;
}

.pet-editor-row {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfa;
}

.pet-editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pet-editor-number {
  font-size: 11px;
  font-weight: 850;
}

.icon-button.subtle {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink-faint);
}

.icon-button.subtle:hover {
  background: var(--danger-soft);
  color: var(--danger);
}

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

.pet-list.compact {
  grid-template-columns: 1fr;
}

.pet-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-2);
}

.pet-card-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: white;
  color: var(--brand);
}

.pet-card strong,
.pet-card span {
  display: block;
}

.pet-card strong {
  font-size: 11px;
}

.pet-card div > span {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 9px;
}

.pet-empty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 11px;
}

.tag-group + .tag-group {
  margin-top: 16px;
}

.tag-group h4 {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 11px;
}

.preference-grid,
.select-tag-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.select-tag-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.preference-option {
  min-width: 0;
}

.preference-tag {
  display: grid;
  width: 100%;
  min-height: 88px;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 3px 8px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

.preference-tag:hover {
  border-color: #adc2bb;
  transform: translateY(-1px);
}

.preference-tag > .ui-icon {
  grid-row: 1 / 3;
  width: 21px;
  height: 21px;
}

.preference-label {
  overflow: hidden;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
}

.preference-state {
  color: var(--ink-faint);
  font-size: 8px;
}

.preference-tag.state-nice {
  border-color: #c1d5cf;
  background: var(--surface-2);
  color: var(--brand-strong);
}

.preference-tag.state-must {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
  box-shadow: 0 0 0 1px rgba(28, 85, 92, .06);
}

.preference-tag.state-nice .preference-state,
.preference-tag.state-must .preference-state {
  color: var(--brand);
  font-weight: 800;
}

.select-tag {
  min-width: 0;
  cursor: pointer;
}

.select-tag > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.select-tag-content {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 9px 31px 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 760;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.select-tag-content > .ui-icon {
  width: 17px;
  height: 17px;
}

.select-tag-content i {
  position: absolute;
  top: 50%;
  right: 8px;
  display: none;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  transform: translateY(-50%);
}

.select-tag-content i .ui-icon {
  width: 12px;
  height: 12px;
}

.select-tag > input:checked + .select-tag-content {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.select-tag > input:checked + .select-tag-content i {
  display: grid;
}

.pet-policy-details {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.pet-policy-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 11px;
  border-radius: 12px;
  background: var(--surface-2);
}

.pet-policy-summary > .ui-icon {
  color: var(--brand);
}

.pet-policy-summary strong,
.pet-policy-summary span {
  display: block;
}

.pet-policy-summary strong {
  font-size: 11px;
}

.pet-policy-summary span {
  margin-top: 2px;
  color: var(--ink-faint);
  font-size: 9px;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .preference-grid,
  .select-tag-grid,
  .select-tag-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .preference-grid,
  .select-tag-grid,
  .select-tag-grid.compact,
  .pet-list,
  .form-grid.four {
    grid-template-columns: 1fr;
  }

  .preference-tag {
    min-height: 66px;
  }

  .active-user {
    display: none;
  }
}

/* GoLeje V52 · vertical property accordion in the candidate workspace */
.candidate-property-accordion {
  width: min(100%, 760px);
  min-width: 0;
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 6px 22px rgba(18, 39, 31, .06);
}

.candidate-property-accordion[open] {
  border-color: #a9c1bc;
  box-shadow: 0 12px 34px rgba(18, 39, 31, .09);
}

.candidate-property-accordion > summary {
  min-width: 0;
  min-height: 84px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.candidate-property-accordion > summary::-webkit-details-marker { display: none; }

.candidate-property-accordion > summary:hover {
  background: #f8faf8;
}

.candidate-property-accordion > summary:focus-visible {
  outline: 3px solid rgba(28, 85, 92, .24);
  outline-offset: -3px;
}

.candidate-property-current {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.candidate-property-current > img {
  width: 72px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
}

.candidate-property-current-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.candidate-property-current-copy small {
  color: var(--brand);
  font-size: .72rem;
  font-weight: 780;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.candidate-property-current-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 730;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-property-current-copy > span {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: .82rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-property-summary-action {
  min-height: 44px;
  padding: 0 8px 0 12px;
  border-left: 1px solid var(--line);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-size: .78rem;
  font-weight: 730;
}

.candidate-property-summary-action .ui-icon {
  width: 18px;
  height: 18px;
  transition: transform .18s ease;
}

.candidate-property-accordion[open] .candidate-property-summary-action .ui-icon {
  transform: rotate(90deg);
}

.candidate-property-options {
  min-width: 0;
  padding: 0 12px 12px;
  border-top: 1px solid var(--line);
  background: #fafbf9;
}

.candidate-property-options-head {
  min-width: 0;
  padding: 13px 2px 11px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.candidate-property-options-head > div {
  display: grid;
  gap: 2px;
}

.candidate-property-options-head strong {
  color: var(--ink);
  font-size: .88rem;
}

.candidate-property-options-head span {
  color: var(--ink-soft);
  font-size: .75rem;
  line-height: 1.35;
}

.candidate-property-option-list {
  width: 100%;
  min-width: 0;
  max-height: 420px;
  overflow-x: hidden;
  overflow-y: auto;
  display: grid;
  gap: 7px;
  overscroll-behavior: contain;
}

.candidate-property-option {
  width: 100%;
  min-width: 0;
  min-height: 70px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 11px;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.candidate-property-option:hover {
  border-color: #a9c1bc;
  background: #f5f9f7;
  transform: translateY(-1px);
}

.candidate-property-option:focus-visible {
  outline: 3px solid rgba(28, 85, 92, .24);
  outline-offset: 2px;
}

.candidate-property-option.is-selected {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.candidate-property-option > img {
  width: 62px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.candidate-property-option-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.candidate-property-option-copy strong {
  overflow: hidden;
  font-size: .92rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-property-option-copy span {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: .78rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-property-option-meta {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: var(--ink-soft);
}

.candidate-property-option-meta strong {
  color: var(--ink);
  font-size: .92rem;
}

.candidate-property-option-meta span {
  font-size: .72rem;
}

.candidate-property-option-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
}

.candidate-property-option-check .ui-icon { width: 15px; height: 15px; }

.content-landlord.view-candidates .tabs {
  width: 100%;
  min-width: 0;
  padding: 6px;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(106px, 1fr));
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #efede6;
}

.content-landlord.view-candidates .tab {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  justify-content: center;
  white-space: normal;
  font-size: .78rem;
  line-height: 1.2;
}

.content-landlord.view-candidates .tab.active {
  border-bottom: 0;
  background: var(--surface);
  color: var(--brand-strong);
  box-shadow: 0 1px 4px rgba(18, 39, 31, .1);
}

@media (max-width: 560px) {
  .candidate-property-accordion { width: 100%; border-radius: 12px; }
  .candidate-property-accordion > summary { min-height: 76px; padding: 10px; gap: 9px; }
  .candidate-property-current { gap: 10px; }
  .candidate-property-current > img { width: 58px; height: 52px; }
  .candidate-property-current-copy small { font-size: .65rem; }
  .candidate-property-current-copy strong { font-size: .92rem; }
  .candidate-property-current-copy > span { font-size: .75rem; }
  .candidate-property-summary-action { width: 44px; padding: 0; justify-content: center; border-left: 0; }
  .candidate-property-summary-action > span { display: none; }
  .candidate-property-options { padding: 0 8px 9px; }
  .candidate-property-options-head { align-items: flex-start; flex-direction: column; gap: 2px; padding: 11px 2px 9px; }
  .candidate-property-options-head > span { display: none; }
  .candidate-property-option { grid-template-columns: 52px minmax(0, 1fr) auto; min-height: 66px; padding: 7px; gap: 9px; }
  .candidate-property-option > img { width: 52px; height: 48px; }
  .candidate-property-option-copy strong { font-size: .88rem; }
  .candidate-property-option-meta span { display: none; }
  .candidate-property-option-check { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .candidate-property-summary-action .ui-icon,
  .candidate-property-option { transition: none; }
}


/* Icon-led refinements */
.icon-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.icon-meta .ui-icon {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.role-card {
  position: relative;
  overflow: hidden;
}

.role-card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}

.role-card-icon .ui-icon {
  width: 23px;
  height: 23px;
}

.payment-option > span:first-child::before {
  content: '';
}


/* Calendar and shared appointments */
.calendar-stats {
  margin-bottom: 18px;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.calendar-month-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-month-controls h2 {
  min-width: 190px;
  margin: 0;
  font-size: 19px;
  text-align: center;
  text-transform: capitalize;
}

.calendar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, .72fr);
  gap: 18px;
  align-items: start;
}

.calendar-panel {
  overflow: hidden;
}

.month-calendar {
  min-width: 0;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.calendar-weekdays span {
  padding: 10px 8px;
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  min-width: 0;
  min-height: 126px;
  padding: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}

.calendar-day:nth-child(7n) {
  border-right: 0;
}

.calendar-day.outside {
  background: #fafbf9;
  color: var(--ink-faint);
}

.calendar-day.today {
  background: #f7fbfa;
  box-shadow: inset 0 0 0 2px var(--brand);
}

.calendar-day-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.calendar-day-number span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 850;
}

.calendar-day.today .calendar-day-number span {
  background: var(--brand);
  color: white;
}

.calendar-day-number small {
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 800;
}

.calendar-day-events {
  display: grid;
  gap: 4px;
}

.calendar-event {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px;
  align-items: center;
  padding: 5px 6px;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  cursor: pointer;
  font-size: 8px;
  font-weight: 760;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-event span {
  font-size: 7px;
  font-weight: 900;
}

.calendar-event.warning {
  background: var(--warning-soft);
  color: #6e4b17;
}

.calendar-event.danger,
.calendar-event.status-cancelled,
.calendar-event.status-no_show {
  background: var(--danger-soft);
  color: var(--danger);
  text-decoration: line-through;
}

.calendar-event.info {
  background: var(--info-soft);
  color: var(--info);
}

.calendar-event.success {
  background: var(--success-soft);
  color: var(--success);
}

.calendar-event.accent {
  background: var(--accent-soft);
  color: #8d4b34;
}

.calendar-more {
  padding-left: 4px;
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 750;
}

.calendar-agenda {
  position: sticky;
  top: calc(var(--topbar) + 16px);
  max-height: calc(100vh - var(--topbar) - 32px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
}

.appointment-list {
  display: grid;
  gap: 10px;
}

.appointment-card {
  display: grid;
  grid-template-columns: 52px 40px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: start;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.appointment-card.status-cancelled,
.appointment-card.status-no_show {
  opacity: .72;
}

.appointment-date {
  display: grid;
  min-height: 61px;
  place-items: center;
  align-content: center;
  border-radius: 13px;
  background: var(--surface-2);
  text-align: center;
}

.appointment-date strong,
.appointment-date span,
.appointment-date small {
  display: block;
}

.appointment-date strong {
  font-size: 19px;
  line-height: 1;
}

.appointment-date span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}

.appointment-date small {
  margin-top: 4px;
  color: var(--brand);
  font-size: 8px;
  font-weight: 850;
}

.appointment-type-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.appointment-type-icon.warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.appointment-type-icon.danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.appointment-type-icon.info {
  background: var(--info-soft);
  color: var(--info);
}

.appointment-type-icon.success {
  background: var(--success-soft);
  color: var(--success);
}

.appointment-type-icon.accent {
  background: var(--accent-soft);
  color: var(--accent);
}

.appointment-copy {
  min-width: 0;
}

.appointment-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.appointment-type-label,
.drawer-kicker {
  color: var(--brand);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.appointment-copy h3 {
  margin: 3px 0 7px;
  font-size: 12px;
}

.appointment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 11px;
  color: var(--ink-soft);
  font-size: 9px;
}

.appointment-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.appointment-meta .ui-icon {
  width: 13px;
  height: 13px;
  color: var(--brand);
}

.appointment-copy p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.5;
}

.appointment-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.next-appointment-card .appointment-card {
  grid-template-columns: 48px 36px minmax(0, 1fr);
  padding: 10px;
  box-shadow: none;
}

.next-appointment-card .appointment-actions {
  grid-column: 1 / -1;
  justify-content: flex-start;
}

.appointment-modal-hero {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 18px;
}

.appointment-modal-hero h2 {
  margin: 3px 0 7px;
}

.appointment-note {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-2);
}

.appointment-note strong {
  font-size: 10px;
}

.appointment-note p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

/* Notification center */
.notification-layer {
  position: fixed;
  z-index: 160;
  inset: 0;
}

.notification-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(16, 31, 35, .32);
  cursor: default;
  backdrop-filter: blur(3px);
  animation: notificationFade .16s ease;
}

.notification-drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: min(440px, 100vw);
  height: 100%;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  border-left: 1px solid var(--line);
  background: #fbfcfa;
  box-shadow: -24px 0 62px rgba(19, 42, 48, .18);
  animation: notificationSlide .2s ease;
}

.notification-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 20px 16px;
  border-bottom: 1px solid var(--line);
}

.notification-drawer-header h2 {
  margin: 3px 0 3px;
  font-size: 21px;
}

.notification-drawer-header p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 10px;
}

.notification-drawer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 10px;
  padding: 8px 20px;
  border-bottom: 1px solid var(--line);
  background: white;
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 750;
}

.notification-drawer-list {
  overflow: auto;
  padding: 10px;
}

.drawer-notification {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background .16s ease, border-color .16s ease;
}

.drawer-notification:hover {
  border-color: var(--line);
  background: white;
}

.drawer-notification.unread {
  background: #f0f7f4;
}

.drawer-notification .notification-icon {
  width: 42px;
  height: 42px;
}

.drawer-notification-copy {
  min-width: 0;
}

.drawer-notification-copy strong,
.drawer-notification-copy span,
.drawer-notification-copy time {
  display: block;
}

.drawer-notification-copy strong {
  margin-bottom: 4px;
  font-size: 10px;
}

.drawer-notification-copy span {
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.45;
}

.drawer-notification-copy time {
  margin-top: 6px;
  color: var(--ink-faint);
  font-size: 8px;
}

.unread-dot {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.drawer-arrow {
  display: grid;
  margin-top: 5px;
  color: var(--ink-faint);
}

.drawer-arrow .ui-icon {
  width: 15px;
  height: 15px;
}

.notification-drawer-footer {
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
  background: white;
}

.notification-trigger.active {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.notification-trigger.has-unread .count {
  animation: badgePop .28s ease;
}

@keyframes notificationSlide {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes notificationFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes badgePop {
  0% { transform: scale(.72); }
  70% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

@media (max-width: 1100px) {
  .calendar-layout {
    grid-template-columns: 1fr;
  }

  .calendar-agenda {
    position: static;
    max-height: none;
  }
}

@media (max-width: 760px) {
  .calendar-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-month-controls {
    justify-content: space-between;
  }

  .calendar-month-controls h2 {
    min-width: 0;
  }

  .month-calendar {
    overflow-x: auto;
  }

  .calendar-weekdays,
  .calendar-grid {
    min-width: 700px;
  }

  .appointment-card {
    grid-template-columns: 48px 36px minmax(0, 1fr);
  }

  .appointment-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .notification-drawer {
    width: 100vw;
  }

  .calendar-agenda {
    padding: 13px;
  }

  .appointment-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .appointment-type-icon {
    display: none;
  }

  .appointment-copy,
  .appointment-actions {
    grid-column: 2;
  }
}

/* GoLeje V83 · firevejs-swipe på boligkort */
.swipe-card[data-v83-swipe-card] {
  --v83-swipe-progress: 0;
  isolation: isolate;
  overflow: visible;
  transform: none;
  transform-origin: 50% 75%;
  transition: transform 240ms cubic-bezier(.16, 1, .3, 1), opacity 220ms ease, box-shadow 180ms ease;
  will-change: auto;
}

.swipe-card[data-v83-swipe-card] .swipe-image {
  position: sticky;
  z-index: 45;
  top: calc(var(--topbar) + 12px);
  cursor: grab;
  touch-action: none;
  user-select: none;
  border-radius: 27px 27px 0 0;
  box-shadow: 0 12px 28px rgba(18, 39, 31, .12);
}

.swipe-card[data-v83-swipe-card] .swipe-body {
  position: relative;
  z-index: 1;
  border-radius: 0 0 27px 27px;
  background: #fff;
}

.swipe-card[data-v83-swipe-card].v83-swipe-dragging {
  box-shadow: 0 34px 90px rgba(18, 39, 31, .22);
  transition: none;
  will-change: transform;
}

.swipe-card[data-v83-swipe-card].v83-swipe-dragging .swipe-image { cursor: grabbing; }

.v83-swipe-overlays {
  position: absolute;
  z-index: 30;
  inset: 0;
  overflow: hidden;
  border-radius: 0;
  pointer-events: none;
}

.v83-swipe-overlay {
  position: absolute;
  display: grid;
  inset: 0;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 28px;
  color: #fff;
  opacity: 0;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .2);
  transform: scale(.94);
  transition: opacity 90ms linear, transform 120ms ease;
}

.v83-swipe-overlay > span {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 7px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  font-size: 2rem;
  font-weight: 800;
}

.v83-swipe-overlay strong {
  max-width: 520px;
  font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
}

.v83-swipe-overlay small {
  margin-top: 5px;
  color: rgba(255, 255, 255, .9);
  font-size: .82rem;
  font-weight: 700;
}

.v83-swipe-left {
  justify-items: end;
  padding-right: clamp(28px, 7vw, 76px);
  padding-left: 42%;
  background: linear-gradient(90deg, rgba(119, 52, 40, .24), rgba(119, 52, 40, .94) 72%);
  text-align: right;
}

.v83-swipe-right {
  justify-items: start;
  padding-right: 42%;
  padding-left: clamp(28px, 7vw, 76px);
  background: linear-gradient(90deg, rgba(16, 61, 47, .94) 28%, rgba(16, 61, 47, .24));
  text-align: left;
}

.v83-swipe-up {
  align-content: end;
  padding-bottom: clamp(34px, 8vh, 82px);
  background: linear-gradient(180deg, rgba(125, 87, 31, .2), rgba(125, 87, 31, .95) 75%);
}

.v83-swipe-down {
  align-content: start;
  padding-top: clamp(34px, 8vh, 82px);
  background: linear-gradient(180deg, rgba(50, 77, 86, .95) 25%, rgba(50, 77, 86, .2));
}

[data-v83-swipe-direction="left"] .v83-swipe-left,
[data-v83-swipe-direction="right"] .v83-swipe-right,
[data-v83-swipe-direction="up"] .v83-swipe-up,
[data-v83-swipe-direction="down"] .v83-swipe-down {
  opacity: var(--v83-swipe-progress);
  transform: scale(1);
}

.swipe-card.v83-swipe-committing { pointer-events: none; will-change: transform, opacity; }
.swipe-card.v83-swipe-exit-left { opacity: 0; transform: translate3d(-125vw, 0, 0) rotate(-14deg) !important; }
.swipe-card.v83-swipe-exit-right { opacity: 0; transform: translate3d(125vw, 0, 0) rotate(14deg) !important; }
.swipe-card.v83-swipe-exit-up { opacity: 0; transform: translate3d(0, -115vh, 0) rotate(-2deg) !important; }
.swipe-card.v83-swipe-exit-down { opacity: 0; transform: translate3d(0, 115vh, 0) rotate(2deg) !important; }

.swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] {
  position: fixed;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(198, 198, 189, .82);
  border-radius: 15px;
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 16px 46px rgba(18, 39, 31, .16);
  box-sizing: border-box;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] .swipe-action {
  position: relative;
  min-height: 54px;
  min-width: 0;
  border-color: #cbd2cc;
  background: #fffdf8;
  color: #183a2f;
  font-weight: 760;
}

.swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] .swipe-action.dismiss,
.swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] .swipe-action.later,
.swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] .swipe-action.save,
.swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] .swipe-action.like {
  border-color: #cbd2cc;
  background: #fffdf8;
  color: #183a2f;
}

.swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] .swipe-action:hover {
  border-color: #7f9b91;
  background: #edf3ef;
  color: #102f26;
}

.v83-direction-arrow {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] .swipe-action:focus-visible {
  outline: 3px solid #d6b69e;
  outline-offset: 3px;
}

.content-tenant.view-browse {
  overflow: visible;
  overflow-x: clip;
  padding-bottom: calc(var(--v85-swipe-bar-height, 72px) + var(--v85-swipe-bar-bottom, 16px) + 48px);
}

.quick-item-icon {
  font-size: 1rem;
  font-weight: 900;
}

.tenant-mine-tabs {
  flex-wrap: wrap;
  overflow-x: visible;
}

.tenant-mine-tabs .tab {
  flex: 1 1 130px;
  justify-content: center;
}

@media (max-width: 760px) {
  .swipe-card[data-v83-swipe-card] .swipe-image {
    top: calc(var(--topbar) + 8px);
    border-radius: 21px 21px 0 0;
  }

  .swipe-card[data-v83-swipe-card] .swipe-body {
    border-radius: 0 0 21px 21px;
  }

  .swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    padding: 6px;
    border-radius: 13px;
  }

  .swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] .swipe-action.like {
    grid-column: auto;
    order: 0;
  }

  .swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] .swipe-action {
    min-height: 58px;
    gap: 3px;
    padding: 6px 3px;
    font-size: clamp(.62rem, 2.6vw, .72rem);
    line-height: 1.12;
  }

  .swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] .swipe-action svg {
    display: none;
  }

  .v83-swipe-overlay { padding: 20px; }
  .v83-swipe-left { padding-right: 22px; padding-left: 34%; }
  .v83-swipe-right { padding-right: 34%; padding-left: 22px; }
  .v83-swipe-up { padding-bottom: 38px; }
  .v83-swipe-down { padding-top: 38px; }
  .v83-swipe-overlay > span { width: 50px; height: 50px; font-size: 1.7rem; }
  .v83-swipe-overlay strong { font-size: clamp(1.65rem, 8.5vw, 2.6rem); }
}

@media (prefers-reduced-motion: reduce) {
  .swipe-card[data-v83-swipe-card],
  .v83-swipe-overlay {
    transition-duration: .01ms !important;
  }
}

/* GoLeje V86 · superadmin-adgang og rollevalg */
.role-modal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.role-modal-option {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid var(--hm-line);
  border-radius: 12px;
  background: var(--hm-paper);
  color: var(--hm-ink);
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}

.role-modal-option > span:first-child {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: var(--hm-sage-100);
  color: var(--hm-pine-800);
}

.role-modal-option > span:first-child svg { width: 19px; height: 19px; }
.role-modal-option > div { min-width: 0; }
.role-modal-option strong,
.role-modal-option small { display: block; }
.role-modal-option strong { font-size: .93rem; }
.role-modal-option small { margin-top: 3px; color: var(--hm-muted); font-size: .76rem; line-height: 1.4; }
.role-modal-option > svg:last-child { width: 17px; color: var(--hm-muted); }
.role-modal-option:hover { border-color: #9fb8aa; background: #f5f8f5; }
.role-modal-option.active { border-color: var(--hm-pine-700); background: #eaf2ed; }
.role-modal-option.active > svg:last-child { color: var(--hm-pine-800); }
.role-modal-option:focus-visible { outline: 3px solid #d6b69e; outline-offset: 2px; }

.v86-role-menu-note,
.v86-access-intro {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
  padding: 13px 14px;
  border: 1px solid #c8d9cf;
  border-radius: 12px;
  background: #edf4ef;
  color: var(--hm-pine-900);
}

.v86-role-menu-note > svg,
.v86-access-intro > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: var(--hm-pine-900);
  color: #fff;
}

.v86-access-intro > span svg { width: 19px; height: 19px; }
.v86-role-menu-note > svg { width: 19px; height: 19px; padding: 11px; box-sizing: border-box; }
.v86-role-menu-note strong,
.v86-role-menu-note small,
.v86-access-intro strong,
.v86-access-intro p { display: block; }
.v86-role-menu-note small { margin-top: 3px; color: #52675d; font-size: .75rem; line-height: 1.45; }
.v86-access-intro p { margin: 4px 0 0; color: #52675d; font-size: .8rem; line-height: 1.5; }

.v86-admin-role-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.v86-admin-role-choice legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--hm-ink);
  font-size: .8rem;
  font-weight: 800;
}

.v86-admin-role-choice label { position: relative; display: block; cursor: pointer; }
.v86-admin-role-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.v86-admin-role-choice label > span {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 2px 10px;
  min-height: 100%;
  padding: 14px;
  border: 1px solid var(--hm-line);
  border-radius: 12px;
  background: var(--hm-paper);
  box-sizing: border-box;
}
.v86-admin-role-choice label > span > svg { grid-row: 1 / 3; width: 22px; height: 22px; margin: 4px auto 0; color: var(--hm-pine-700); }
.v86-admin-role-choice strong { font-size: .9rem; }
.v86-admin-role-choice small { color: var(--hm-muted); font-size: .75rem; line-height: 1.42; }
.v86-admin-role-choice input:checked + span { border-color: var(--hm-pine-700); background: #edf4ef; box-shadow: inset 0 0 0 1px var(--hm-pine-700); }
.v86-admin-role-choice input:focus-visible + span { outline: 3px solid #d6b69e; outline-offset: 2px; }

.v86-password-help {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid #b58b4c;
  background: #f7f1e7;
  color: #65543a;
  font-size: .76rem;
  line-height: 1.5;
}

.v86-platform-user-feedback {
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid #ddb9b1;
  border-radius: 9px;
  background: #f8ece9;
  color: #843d32;
  font-size: .8rem;
  font-weight: 700;
}

.v86-platform-user-progress { min-height: 20px; margin-top: 8px; color: var(--hm-muted); font-size: .76rem; }

@media (max-width: 760px) {
  .topbar-main { min-width: 0; overflow: visible; }
  .topbar-actions { min-width: 0; }
  .topbar-actions .mobile-role-trigger { display: inline-flex; flex: 0 0 40px; width: 40px; padding: 0; justify-content: center; }
  .topbar-actions .mobile-role-trigger span,
  .topbar-actions .mobile-role-trigger svg:last-child { display: none; }
  .topbar-actions .backend-pill > span { display: none; }
  .v86-admin-role-choice { grid-template-columns: 1fr; }
  .role-modal-list { grid-template-columns: 1fr; }
  .role-modal-option { min-height: 70px; }
}

/* GoLeje V81 · nærområde, bolig-CV og søgeoptimering */
.v81-nearby-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 7px;
  width: 100%;
  margin: 13px 0;
}

.v81-nearby-strip > span {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--hm-pine-700, #205b49) 18%, var(--line));
  border-radius: 11px;
  background: #f2f6f2;
  color: var(--hm-pine-900, #17372f);
}

.v81-nearby-strip > span > svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--hm-pine-700, #205b49);
}

.v81-nearby-strip > span > span,
.v81-nearby-strip strong,
.v81-nearby-strip small {
  display: block;
  min-width: 0;
}

.v81-nearby-strip strong {
  font-size: .78rem;
  line-height: 1.15;
}

.v81-nearby-strip small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--hm-muted, #687069);
  font-size: .68rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v81-nearby-strip.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 12px 0 4px;
}

.v81-nearby-strip.compact > span {
  min-height: 42px;
  padding: 7px 8px;
}

.v81-nearby-strip.featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0 14px;
}

.v81-property-nearby {
  margin: 18px 0;
  border-color: #cddbd3;
  background: linear-gradient(145deg, #fbfdf9, #edf4ef);
}

.v81-data-source {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid #cfdbd4;
  border-radius: 999px;
  color: #466157;
  background: rgba(255,255,255,.72);
  font-size: .7rem;
  font-weight: 750;
}

.v81-data-source svg { width: 14px; height: 14px; }

.v81-nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 9px;
}

.v81-nearby-grid article {
  display: grid;
  min-width: 0;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(38, 83, 65, .13);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
}

.v81-nearby-grid article > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #205b49;
  background: #e4eee8;
}

.v81-nearby-grid article > span svg { width: 18px; height: 18px; }
.v81-nearby-grid small,
.v81-nearby-grid strong,
.v81-nearby-grid p { display: block; margin: 0; }
.v81-nearby-grid small { color: var(--hm-muted, #687069); font-size: .7rem; font-weight: 750; }
.v81-nearby-grid strong { margin-top: 2px; font-size: 1rem; }
.v81-nearby-grid p { margin-top: 4px; overflow: hidden; color: var(--hm-muted, #687069); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }

.v81-nearby-editor-grid,
.v81-preference-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.v81-nearby-editor-row,
.v81-preference-row {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1.3fr) minmax(120px, .7fr);
  gap: 10px;
  margin: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fffefa;
}

.v81-nearby-editor-row legend,
.v81-preference-row legend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 6px;
  color: var(--hm-pine-900, #17372f);
  font-size: .8rem;
  font-weight: 800;
}

.v81-nearby-editor-row legend svg,
.v81-preference-row legend svg { width: 16px; height: 16px; }
.v81-nearby-editor-row .field,
.v81-preference-row .field { margin: 0; }

.v81-profile-nearby {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 9px;
}

.v81-profile-nearby > span {
  display: grid;
  min-width: 0;
  min-height: 62px;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #d5ded8;
  border-radius: 12px;
  background: #f6f8f4;
}

.v81-profile-nearby > span > svg { width: 19px; height: 19px; color: #205b49; }
.v81-profile-nearby strong,
.v81-profile-nearby small { display: block; }
.v81-profile-nearby strong { font-size: .82rem; }
.v81-profile-nearby small { margin-top: 3px; color: var(--hm-muted, #687069); font-size: .7rem; line-height: 1.35; }
.v81-profile-nearby.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v81-nearby-empty { margin: 0; color: var(--hm-muted, #687069); font-size: .82rem; }

.v81-search-tip {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(100%, var(--content-max));
  margin: 0 auto 20px;
  padding: 18px 20px;
  border: 1px solid #d8bcae;
  border-radius: 16px;
  background: linear-gradient(110deg, #fff8f2, #f2f6f1 72%);
  box-shadow: 0 10px 26px rgba(40, 52, 45, .07);
}

.v81-tip-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--hm-rust, #b56a4d);
}

.v81-tip-icon svg { width: 22px; height: 22px; }
.v81-search-tip h2 { margin: 3px 0 4px; font-size: 1.1rem; }
.v81-search-tip p { max-width: 760px; margin: 0; color: var(--hm-muted, #687069); font-size: .82rem; line-height: 1.5; }
.v81-search-tip .button { min-height: 44px; white-space: nowrap; }
.v81-search-tip .button:focus-visible,
.v81-profile-location-card button:focus-visible { outline: 3px solid #d6b69e; outline-offset: 2px; }

@media (max-width: 1050px) {
  .v81-nearby-strip.featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v81-nearby-editor-grid,
  .v81-preference-editor-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .v81-nearby-strip,
  .v81-nearby-strip.compact,
  .v81-nearby-strip.featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v81-property-nearby .section-header { align-items: flex-start; flex-direction: column; }
  .v81-nearby-grid { grid-template-columns: 1fr; }
  .v81-nearby-editor-row,
  .v81-preference-row { grid-template-columns: 1fr; }
  .v81-profile-nearby,
  .v81-profile-nearby.compact { grid-template-columns: 1fr; }
  .v81-search-tip { grid-template-columns: 44px minmax(0, 1fr); padding: 15px; }
  .v81-tip-icon { width: 44px; height: 44px; }
  .v81-search-tip .button { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 410px) {
  .v81-nearby-strip,
  .v81-nearby-strip.compact,
  .v81-nearby-strip.featured { grid-template-columns: 1fr; }
}

/* V69 · iPhone-inspireret trådnavigation */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.v69-messages-stage {
  position: relative;
  width: min(100%, 1040px);
  min-height: 620px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(19, 42, 48, .08);
  isolation: isolate;
}

.v69-message-screen {
  width: 100%;
  min-width: 0;
  background: #fff;
  will-change: transform, opacity;
}

.v72-message-track {
  display: flex;
  width: 200%;
  min-height: inherit;
  transform: translate3d(0, 0, 0);
  transition: transform 520ms cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.v72-message-track.is-thread { transform: translate3d(-50%, 0, 0); }
.v72-message-track > .v69-message-screen {
  flex: 0 0 50%;
  width: 50%;
}

.v69-message-screen.from-right { animation: v69-message-from-right 280ms cubic-bezier(.16, 1, .3, 1) both; }
.v69-message-screen.from-left { animation: v69-message-from-left 250ms cubic-bezier(.16, 1, .3, 1) both; }

@keyframes v69-message-from-right {
  from { opacity: .35; transform: translateX(42px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes v69-message-from-left {
  from { opacity: .35; transform: translateX(-34px); }
  to { opacity: 1; transform: translateX(0); }
}

.v69-message-list-screen { min-height: 620px; }

.v69-message-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #fbfcfa 100%);
}

.v69-message-list-header h2,
.v69-message-list-header p { margin: 0; }
.v69-message-list-header h2 { margin-top: 4px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.v69-message-list-header p { margin-top: 6px; color: var(--ink-soft); font-size: .86rem; }

.v77-message-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid #e8ebe7;
  background: #fbfcfa;
}

.v77-message-filters button {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #5b6862;
  font: inherit;
  font-size: .76rem;
  font-weight: 760;
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}
.v77-message-filters button svg { width: 17px; height: 17px; }
.v77-message-filters button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v77-message-filters button strong { display: grid; min-width: 21px; height: 21px; padding: 0 5px; place-items: center; border-radius: 999px; background: #edf0ec; font-size: .66rem; }
.v77-message-filters button:hover { border-color: #d5ddd8; background: #f1f5f2; color: #183c31; }
.v77-message-filters button.active { border-color: #cbd8d1; background: #e7f0eb; color: #183c31; }
.v77-message-filters button.active strong { background: #fff; color: #183c31; }
.v77-message-filters button:focus-visible { outline: 3px solid #d6b69e; outline-offset: 1px; }

.v69-calendar-button,
.v69-thread-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.v69-calendar-button { padding: 0 12px; border-radius: 12px; }
.v69-calendar-button:hover,
.v69-thread-back:hover { background: var(--brand-soft); }
.v69-calendar-button:active,
.v69-thread-back:active { transform: scale(.97); }
.v69-calendar-button:focus-visible,
.v69-thread-back:focus-visible,
.v8-conversation-row:focus-visible {
  outline: 3px solid #d6b69e;
  outline-offset: -3px;
}

.v69-message-list-screen .v8-conversation-list {
  max-height: none;
  overflow: visible;
}

.v69-message-list-screen .v8-conversation-row {
  grid-template-columns: 52px minmax(0, 1fr) 20px;
  min-height: 88px;
  gap: 14px;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid #e8ebe7;
  transition: background-color 150ms ease, transform 150ms ease;
}

.v69-message-list-screen .v8-conversation-row:last-child { border-bottom: 0; }
.v69-message-list-screen .v8-conversation-row:hover { background: #f6f9f6; transform: translateX(2px); }
.v69-message-list-screen .v8-conversation-icon {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e7f0eb;
  color: #214d3e;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .02em;
}

.v71-thread-unread-dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #b85f43;
  box-shadow: 0 1px 4px rgba(92, 40, 24, .22);
}

.message-shortcut .count {
  top: 1px;
  right: -2px;
  display: grid;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  place-items: center;
  border: 2px solid var(--hm-paper, var(--paper));
  border-radius: 999px;
  background: var(--hm-rust, var(--accent));
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.message-shortcut.has-unread .count { animation: badgePop .28s ease; }

.v69-message-list-screen .v8-conversation-row.has-unread .v69-conversation-title strong { font-weight: 900; }
.v69-message-list-screen .v8-conversation-row.has-unread .v69-conversation-copy p { color: var(--ink); font-weight: 700; }
.v69-message-list-screen .v8-conversation-row.active { background: #edf4f0; box-shadow: inset 3px 0 0 #2f6655; }

.v69-conversation-copy { min-width: 0; }
.v69-conversation-title { display: flex; min-width: 0; align-items: baseline; justify-content: space-between; gap: 12px; }
.v69-conversation-title strong { min-width: 0; overflow: hidden; color: var(--ink); font-size: .98rem; text-overflow: ellipsis; white-space: nowrap; }
.v69-conversation-title time { flex: 0 0 auto; color: var(--ink-soft); font-size: .72rem; }
.v69-conversation-copy small { margin-top: 2px; color: #4e625b; font-size: .76rem; font-weight: 700; }
.v69-conversation-copy p { margin-top: 5px; color: var(--ink-soft); font-size: .82rem; line-height: 1.35; }
.v69-conversation-chevron { display: grid; place-items: center; color: #8b9893; }
.v69-conversation-chevron svg { width: 17px; height: 17px; }

.v69-messages-stage .v8-thread-panel {
  min-height: 620px;
  height: min(72vh, 760px);
  border: 0;
  border-radius: inherit;
}

.v69-messages-stage .v8-thread-header {
  display: grid;
  grid-template-columns: minmax(116px, 1fr) minmax(0, 2fr) minmax(116px, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 94px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
}

.v69-thread-back { justify-self: start; padding: 0 10px 0 4px; border-radius: 12px; }
.v69-thread-back svg { width: 20px; height: 20px; }
.v69-thread-heading { min-width: 0; text-align: center; }
.v69-thread-heading .eyebrow,
.v69-thread-heading h2,
.v69-thread-heading p { display: block; overflow: hidden; margin: 0; text-overflow: ellipsis; white-space: nowrap; }
.v69-thread-heading h2 { margin-top: 2px; font-size: 1.05rem; }
.v69-thread-heading p { margin-top: 2px; color: var(--ink-soft); font-size: .73rem; }
.v69-messages-stage .v8-thread-actions { justify-self: end; justify-content: flex-end; }

.v69-messages-stage .v8-thread-body {
  gap: 14px;
  padding: 24px clamp(16px, 4vw, 42px);
  overflow-x: hidden;
  background: #f4f6f3;
  scrollbar-color: #b8c2bd transparent;
  scrollbar-width: thin;
}

.v69-messages-stage .v8-thread-message { max-width: min(78%, 680px); }
.v69-messages-stage .v8-message-content {
  padding: 11px 14px;
  border-radius: 18px 18px 18px 6px;
  box-shadow: none;
}
.v69-messages-stage .v8-thread-message.own .v8-message-content {
  border-color: var(--brand);
  border-radius: 18px 18px 6px 18px;
  background: var(--brand);
}
.v69-messages-stage .v8-message-content p { font-size: .91rem; line-height: 1.48; }

.v69-messages-stage .v8-message-composer {
  padding: 12px 16px 14px;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(16px);
}
.v69-messages-stage .v8-message-composer textarea {
  min-height: 52px;
  max-height: 150px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f7f8f6;
  font-size: 1rem;
  resize: vertical;
}

.v77-thread-empty { display: grid; min-height: 620px; place-items: center; padding: 32px; background: #f7f8f5; }

@media (min-width: 1200px) {
  .v69-messages-stage { width: min(100%, 1180px); }
  .v72-message-track,
  .v72-message-track.is-list,
  .v72-message-track.is-thread {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(340px, 380px) minmax(0, 1fr);
    transform: none;
    transition: none;
  }
  .v72-message-track > .v69-message-screen { width: 100%; min-width: 0; }
  .v69-message-list-screen {
    display: flex;
    height: min(72vh, 760px);
    min-height: 620px;
    flex-direction: column;
    overflow: hidden;
    border-right: 1px solid #dde3df;
  }
  .v69-message-list-header { flex: 0 0 auto; gap: 10px; padding: 22px 18px 17px; }
  .v69-message-list-header h2 { font-size: 1.45rem; }
  .v69-message-list-header p { font-size: .76rem; }
  .v69-message-list-header .v69-calendar-button { width: 42px; padding: 0; }
  .v69-message-list-header .v69-calendar-button span { display: none; }
  .v77-message-filters { flex: 0 0 auto; }
  .v69-message-list-screen .v8-conversation-list { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; scrollbar-color: #bcc7c1 transparent; scrollbar-width: thin; }
  .v69-message-list-screen .v8-conversation-row { grid-template-columns: 44px minmax(0, 1fr) 16px; min-height: 78px; gap: 10px; padding: 11px 13px; }
  .v69-message-list-screen .v8-conversation-icon { width: 44px; height: 44px; }
  .v69-conversation-title strong { font-size: .87rem; }
  .v69-conversation-copy small { font-size: .7rem; }
  .v69-conversation-copy p { font-size: .75rem; }
  .v69-messages-stage .v8-thread-panel { border-radius: 0; }
  .v69-messages-stage .v8-thread-header { grid-template-columns: minmax(0, 1fr) auto; }
  .v69-messages-stage .v69-thread-back { display: none; }
  .v69-messages-stage .v69-thread-heading { text-align: left; }
}

@media (max-width: 700px) {
  .v69-messages-stage { min-height: 560px; border-radius: 18px; }
  .v69-message-list-screen { min-height: 560px; }
  .v69-message-list-header { padding: 22px 18px 17px; }
  .v69-message-list-screen .v8-conversation-row { grid-template-columns: 46px minmax(0, 1fr) 18px; min-height: 80px; gap: 11px; padding: 12px 14px; }
  .v69-message-list-screen .v8-conversation-icon { width: 46px; height: 46px; }
  .v69-calendar-button span { display: none; }
  .v69-calendar-button { width: 44px; padding: 0; }
  .v69-messages-stage .v8-thread-panel { min-height: 560px; height: calc(100dvh - 190px); }
  .v69-messages-stage .v8-thread-header { grid-template-columns: 44px minmax(0, 1fr) 44px; min-height: 78px; padding: 9px 10px; }
  .v69-thread-back { width: 44px; padding: 0; }
  .v69-thread-back span,
  .v69-messages-stage .v8-thread-actions .button span { display: none; }
  .v69-messages-stage .v8-thread-actions .button { width: 44px; min-width: 44px; padding: 0; }
  .v69-thread-heading h2 { font-size: .94rem; }
  .v69-messages-stage .v8-thread-body { padding: 18px 12px; }
  .v69-messages-stage .v8-thread-message { max-width: 92%; }
  .v69-messages-stage .v8-message-avatar { display: none; }
  .v69-messages-stage .v8-thread-message,
  .v69-messages-stage .v8-thread-message.own { grid-template-columns: minmax(0, 1fr); }
  .v69-messages-stage .v8-thread-message.own .v8-message-content { grid-column: 1; }
  .v69-messages-stage .v8-message-composer > div { flex-direction: row; align-items: center; }
  .v69-messages-stage .v8-message-composer .muted { display: none; }
  .v72-message-track { transition-duration: 460ms; }
}

@media (max-width: 430px) {
  .topbar-actions .message-shortcut { display: inline-grid !important; }
}

@media (prefers-reduced-motion: reduce) {
  .v69-message-screen.from-right,
  .v69-message-screen.from-left { animation: none; }
  .v69-message-list-screen .v8-conversation-row { transition: none; }
  .v72-message-track { transition: none; }
}


/* ========================================================================== 
   HJEMMATCH V4 — editorial product system
   ========================================================================== */
:root {
  --ink: #1e2421;
  --ink-soft: #626963;
  --ink-faint: #8b908b;
  --paper: #f5f3ee;
  --surface: #fffefa;
  --surface-2: #eeece6;
  --surface-3: #e4e5df;
  --line: #d8d6cf;
  --line-strong: #bbbcb5;
  --brand: #17372f;
  --brand-strong: #0d2821;
  --brand-soft: #e2e9e4;
  --accent: #b85f42;
  --accent-soft: #f2e3dc;
  --success: #315f4c;
  --success-soft: #e3ece7;
  --warning: #946126;
  --warning-soft: #f2eadb;
  --danger: #9b4b45;
  --danger-soft: #f2e3e1;
  --info: #456477;
  --info-soft: #e5eaed;
  --shadow-sm: 0 1px 2px rgba(27, 34, 30, .04);
  --shadow-md: 0 18px 48px rgba(27, 34, 30, .10);
  --shadow-lg: 0 32px 90px rgba(27, 34, 30, .16);
  --radius-sm: 5px;
  --radius: 9px;
  --radius-lg: 14px;
  --content-max: 1460px;
  --sidebar: 226px;
  --topbar: 68px;
}

::selection { background: #cad8d0; color: var(--brand-strong); }
html { background: var(--paper); }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: -.006em;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(23, 55, 47, .055) .55px, transparent .55px);
  background-size: 5px 5px;
  content: "";
  opacity: .22;
  pointer-events: none;
}
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -.035em; }
.page-title,
.image-title h2,
.property-detail-title h2,
.modal-header h2,
.notification-drawer-header h2 {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-weight: 500;
}
.ui-icon { width: 18px; height: 18px; stroke-width: 1.65; }

/* Shell */
.topbar {
  height: var(--topbar);
  grid-template-columns: minmax(210px, var(--sidebar)) minmax(0, 1fr) minmax(210px, auto);
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 243, 238, .97);
  box-shadow: none;
  backdrop-filter: none;
}
.brand { gap: 12px; font-size: inherit; }
.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--brand);
  border-radius: 4px;
  background: var(--brand);
  box-shadow: none;
}
.brand-mark::before {
  width: 13px;
  height: 15px;
  border-radius: 0;
  background: transparent;
  border-right: 3px solid #f5f3ee;
  border-left: 3px solid #f5f3ee;
}
.brand-mark::after {
  top: 9px;
  width: 13px;
  height: 13px;
  border-width: 3px 0 0 3px;
  border-color: #f5f3ee;
}
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 790;
  letter-spacing: -.055em;
  line-height: 1;
}
.brand small {
  margin: 0;
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 620;
  letter-spacing: .055em;
  text-transform: none;
}
.role-switcher {
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.role-button {
  position: relative;
  min-height: 42px;
  padding: 7px 16px;
  border-radius: 0;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 700;
}
.role-button .ui-icon { width: 15px; height: 15px; }
.role-button:hover { background: transparent; color: var(--ink); }
.role-button.active { background: transparent; color: var(--brand); box-shadow: none; }
.role-button.active::after {
  position: absolute;
  right: 16px;
  bottom: -13px;
  left: 16px;
  height: 2px;
  background: var(--brand);
  content: "";
}
.topbar-actions { gap: 8px; }
.icon-button {
  width: 38px;
  height: 38px;
  border-color: transparent;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}
.icon-button:hover { border-color: var(--line); background: var(--surface); }
.icon-button.active { border-color: var(--brand); color: var(--brand); }
.icon-button .count {
  top: -1px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid var(--paper);
  background: var(--accent);
  font-size: 9px;
  line-height: 14px;
}
.active-user, .demo-user {
  gap: 9px;
  padding: 3px 8px 3px 3px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.active-user .avatar, .demo-user .avatar { width: 34px; height: 34px; border-radius: 50%; }
.active-user-copy strong { font-size: 11px; }
.active-user-copy span { font-size: 9px; }
.avatar {
  border: 1px solid rgba(23,55,47,.10);
  border-radius: 50%;
  background: #e3e8e3;
  color: var(--brand);
  font-size: 11px;
  font-weight: 780;
}
.avatar.lg { border-radius: 50%; }
.avatar.xl { border-radius: 50%; }

.workspace { grid-template-columns: var(--sidebar) minmax(0, 1fr); }
.sidebar {
  padding: 26px 15px 22px;
  border-right: 1px solid var(--line);
  background: rgba(245,243,238,.9);
}
.sidebar-label {
  margin: 2px 12px 13px;
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .16em;
}
.nav-list { gap: 2px; }
.nav-item {
  position: relative;
  min-height: 42px;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 6px;
  color: #68706a;
  font-size: 12px;
  font-weight: 650;
}
.nav-item:hover { background: #ebece7; color: var(--ink); }
.nav-item.active { background: #e5e9e4; color: var(--brand); }
.nav-item.active::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: -15px;
  width: 3px;
  background: var(--brand);
  content: "";
}
.nav-item .nav-icon,
.nav-item.active .nav-icon {
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.nav-item .nav-icon .ui-icon { width: 17px; height: 17px; }
.nav-item .nav-count {
  min-width: 20px;
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 9px;
}
.sidebar-card {
  margin: 26px 4px 0;
  padding: 16px 12px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.sidebar-card-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
}
.sidebar-card strong { font-size: 11px; }
.sidebar-card p { font-size: 10px; line-height: 1.55; }
.sidebar-card .button { justify-content: flex-start; padding-inline: 0; border: 0; background: transparent; color: var(--brand); }

.content { max-width: var(--content-max); padding: 42px 44px 84px; }
.page-header { margin-bottom: 30px; gap: 32px; }
.page-kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
}
.page-title {
  max-width: 880px;
  margin-bottom: 10px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: .98;
}
.page-description {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}
.page-actions { gap: 8px; padding-top: 3px; }

/* Controls */
.button {
  min-height: 40px;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 6px;
  box-shadow: none;
  font-size: 11px;
  font-weight: 720;
}
.button:hover { border-color: var(--line-strong); box-shadow: none; transform: translateY(-1px); }
.button.primary { background: var(--brand); }
.button.primary:hover { background: var(--brand-strong); }
.button.accent { background: var(--accent); }
.button.secondary { border-color: var(--line-strong); background: var(--surface); }
.button.ghost { color: var(--ink-soft); }
.button.small { min-height: 32px; padding: 6px 10px; border-radius: 5px; font-size: 10px; }
.button.large { min-height: 48px; padding: 12px 18px; border-radius: 7px; font-size: 13px; }
.text-button { color: var(--brand); font-size: 11px; font-weight: 720; }
.text-button .ui-icon { width: 15px; height: 15px; }
input, select, textarea {
  border-radius: 6px !important;
  border-color: var(--line-strong) !important;
  background: var(--surface) !important;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand) !important; box-shadow: 0 0 0 3px rgba(23,55,47,.09) !important; }

/* Surfaces and hierarchy */
.grid { gap: 18px; }
.grid.stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,254,250,.72);
}
.stat-card {
  min-height: 114px;
  padding: 20px 22px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.stat-card:last-child { border-right: 0; }
.stat-card::after { display: none; }
.stat-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-faint);
}
.stat-icon .ui-icon { width: 14px; height: 14px; }
.stat-label { color: var(--ink-faint); font-size: 9px; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.stat-value { margin: 14px 0 5px; font-size: 29px; font-weight: 630; letter-spacing: -.055em; }
.stat-meta { max-width: 75%; color: var(--ink-soft); font-size: 9px; font-weight: 560; line-height: 1.4; }
.card, .panel {
  border-color: var(--line);
  background: rgba(255,254,250,.9);
  box-shadow: none;
}
.card { border-radius: var(--radius); }
.panel { border-radius: var(--radius-lg); }
.card-pad { padding: 19px; }
.panel-pad { padding: 24px; }
.section-header { margin-bottom: 18px; }
.section-header h2 { font-size: 19px; font-weight: 680; }
.section-header h3 { font-size: 14px; font-weight: 720; }
.divider { background: var(--line); }

.badge {
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 720;
  letter-spacing: .015em;
}
.badge .ui-icon { width: 12px; height: 12px; }
.badge.success { border-color: #c3d2c9; background: #edf3ef; color: var(--success); }
.badge.info { border-color: #cad6dc; background: #edf1f3; color: var(--info); }
.badge.warning { border-color: #ded0b8; background: #f5f0e6; color: var(--warning); }
.badge.danger { border-color: #dec5c2; background: #f6ecea; color: var(--danger); }
.badge.brand { border-color: #becdc5; background: #eaf0ec; color: var(--brand); }
.badge.accent { border-color: #dec0b5; background: #f6eae5; color: var(--accent); }
.feature-pills { gap: 6px; margin: 13px 0; }
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border: 1px solid #dfddd5;
  border-radius: 4px;
  background: #f5f3ed;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 620;
}
.feature-pill .ui-icon { width: 13px; height: 13px; }

/* Main dashboard */
.grid.main-aside { grid-template-columns: minmax(0, 1.75fr) minmax(300px, .7fr); gap: 22px; }
.grid.aside-main { grid-template-columns: minmax(280px, .65fr) minmax(0, 1.7fr); gap: 22px; }
.profile-summary { gap: 12px; }
.profile-summary h3 { font-size: 14px; }
.profile-summary p { font-size: 10px; }
.profile-completion { margin: 17px 0; }
.progress { height: 4px; border-radius: 0; background: var(--surface-2); }
.progress span { border-radius: 0; background: var(--brand); }
.quick-list { gap: 0; }
.quick-item {
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.quick-item:last-child { border-bottom: 0; }
.quick-item-icon { width: 32px; height: 32px; border-radius: 50%; }
.quick-item-copy strong { font-size: 10px; }
.quick-item-copy span { font-size: 9px; }

/* Browse experience */
.browse-layout { grid-template-columns: minmax(0, 1.65fr) 330px; gap: 28px; }
.swipe-stage { min-height: 680px; }
.swipe-card {
  max-width: 880px;
  border-color: var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 24px 68px rgba(29,35,31,.11);
}
.swipe-image { height: 430px; background: #deddd6; }
.swipe-image img { filter: saturate(.82) contrast(1.02); }
.image-overlay { background: linear-gradient(to bottom, rgba(18,28,24,.04) 40%, rgba(13,29,24,.84)); }
.image-topline { top: 20px; right: 20px; left: 20px; }
.image-topline .badge { border-color: rgba(255,255,255,.38); background: rgba(24,39,33,.72); color: white; backdrop-filter: blur(5px); }
.match-ring {
  width: auto;
  height: auto;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 999px;
  background: rgba(20,46,38,.78);
  box-shadow: none;
  font-size: 11px;
  backdrop-filter: blur(6px);
}
.image-title { right: 26px; bottom: 24px; left: 26px; }
.image-title h2 { margin-bottom: 7px; font-size: clamp(34px, 4.5vw, 54px); line-height: .96; }
.image-title p { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.swipe-body { padding: 24px 26px 20px; }
.price-line { margin-bottom: 15px; }
.price-line strong { font-size: 25px; font-weight: 670; }
.price-line span { font-size: 10px; }
.meta-row { gap: 12px; }
.meta-item { color: var(--ink-soft); font-size: 10px; }
.match-explainer {
  grid-template-columns: 30px minmax(0,1fr);
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  padding: 12px 13px;
  border: 1px solid #c8d4cd;
  border-radius: 6px;
  background: #edf2ee;
}
.match-explainer.warning { border-color: #ddceb4; background: #f4eee3; }
.match-explainer-icon { width: 28px; height: 28px; border-radius: 50%; }
.match-explainer strong { font-size: 10px; }
.match-explainer span { font-size: 9px; }
.swipe-actions {
  grid-template-columns: .8fr .8fr 1.8fr;
  gap: 8px;
  padding: 0 26px 26px;
}
.swipe-action {
  min-height: 50px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 720;
}
.swipe-action:hover { box-shadow: none; }
.swipe-action.dismiss, .swipe-action.save { background: #faf9f5; }
.swipe-action.like { border-color: var(--brand); }
.swipe-counter { margin-top: 14px; font-size: 9px; font-weight: 560; }
.browse-aside { top: calc(var(--topbar) + 28px); gap: 14px; }
.filter-row { padding: 10px 0; font-size: 10px; }
.filter-row:first-child { padding-top: 0; }
.compact-preferences { margin-top: 14px; }

/* Property tiles */
.tabs {
  gap: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.tab {
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 0;
  font-size: 10px;
}
.tab.active { border-bottom: 2px solid var(--brand); background: transparent; box-shadow: none; color: var(--brand); }
.tab-count { border: 1px solid var(--line); background: transparent; }
.property-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.property-tile {
  border-radius: 9px;
  box-shadow: none;
  transition: border-color .18s ease, transform .18s ease;
}
.property-tile:hover { border-color: var(--line-strong); box-shadow: none; transform: translateY(-2px); }
.property-tile-image { height: 190px; }
.property-tile-image img { filter: saturate(.82) contrast(1.02); }
.property-tile-image::after { background: linear-gradient(to bottom, transparent 62%, rgba(12,28,23,.58)); }
.property-tile-badges { top: 12px; right: 12px; left: 12px; }
.property-tile-match { padding: 6px 8px; border-radius: 999px; background: rgba(18,44,36,.82); font-size: 9px; }
.property-tile-body { padding: 16px; }
.property-tile h3 { margin-bottom: 6px; font-family: ui-serif, Georgia, serif; font-size: 18px; font-weight: 520; }
.property-address { margin-bottom: 14px; font-size: 9px; }
.property-price { font-size: 17px; font-weight: 680; }
.property-price small { font-size: 9px; }
.property-tile-footer { margin-top: 12px; padding-top: 13px; }
.change-note { border: 1px solid #ded0b8; border-radius: 5px; background: #f5f0e6; }
.change-note.success { border-color: #c4d4cb; background: #edf3ef; }

/* Candidate workspace */
.property-selector { gap: 8px; }
.property-selector-card {
  border-radius: 7px;
  box-shadow: none;
}
.property-selector-card.active { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.candidate-toolbar { padding: 12px 0 2px; }
.search-field input { height: 40px; border-radius: 6px; }
.search-field::before { content: "⌕"; }
.candidate-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.candidate-card {
  position: relative;
  padding: 17px;
  border-radius: 8px;
  box-shadow: none;
}
.candidate-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  border-radius: 8px 8px 0 0;
  background: var(--brand-soft);
  content: "";
}
.candidate-card.favorite { border-color: #c9a565; box-shadow: none; }
.candidate-card.favorite::before { background: #c9a565; }
.candidate-head { margin-bottom: 15px; }
.candidate-name h3 { font-size: 14px; }
.candidate-score {
  width: 45px;
  height: 45px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--brand);
}
.candidate-facts { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 10px 8px; border-radius: 0; background: transparent; }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact span { font-size: 7px; letter-spacing: .08em; }
.fact strong { font-size: 9px; }
.candidate-intro { min-height: 52px; font-size: 9px; }
.candidate-actions { padding-top: 13px; }

/* Tables */
.table-wrap { border-radius: 8px; box-shadow: none; }
table { font-size: 10px; }
th { background: #efeee8; color: #737a74; font-size: 8px; letter-spacing: .11em; }
th, td { padding: 14px 15px; }
tbody tr:hover { background: #f8f7f2; }

/* Notifications */
.notification-item {
  grid-template-columns: 38px minmax(0,1fr) auto;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.notification-item.unread { background: transparent; }
.notification-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}
.notification-copy h3 { font-size: 11px; }
.notification-copy p { font-size: 9px; }
.notification-drawer {
  width: min(440px, 100vw);
  border-left: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: -25px 0 70px rgba(24,31,27,.14);
}
.notification-drawer-header { padding: 28px 26px 22px; border-bottom: 1px solid var(--line); }
.notification-drawer-header h2 { font-size: 32px; }
.notification-drawer-toolbar { padding: 12px 26px; background: #f4f2ed; }
.notification-drawer-list { padding: 0 26px; }
.drawer-notification {
  grid-template-columns: 36px minmax(0,1fr) 14px;
  gap: 11px;
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.drawer-notification:hover { background: transparent; }
.drawer-notification.unread { background: transparent; }
.drawer-notification-copy strong { font-size: 10px; }
.drawer-notification-copy span { font-size: 9px; }
.drawer-notification-copy time { font-size: 8px; }
.notification-drawer-footer { padding: 16px 26px; }

/* Calendar */
.calendar-stats { margin-bottom: 20px; }
.calendar-toolbar {
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.calendar-month-controls h2 { font-family: ui-serif, Georgia, serif; font-size: 22px; font-weight: 520; }
.calendar-layout { gap: 22px; }
.calendar-panel { border-radius: 9px; box-shadow: none; }
.calendar-weekdays { background: #efeee8; }
.calendar-weekdays span { font-size: 8px; letter-spacing: .1em; }
.calendar-day { min-height: 112px; background: #fffefa; }
.calendar-day.today { box-shadow: inset 0 0 0 2px var(--brand); }
.calendar-day-number span { font-size: 11px; }
.calendar-event { border-radius: 3px; font-size: 8px; }
.appointment-card { border-radius: 7px; box-shadow: none; }

/* Forms, tags and profile */
.form-section { border-radius: 8px; box-shadow: none; }
.form-section-heading span:first-child { border-radius: 50%; }
.preference-group { border-top: 1px solid var(--line); }
.preference-tag, .select-tag {
  border-radius: 5px;
  box-shadow: none;
}
.preference-tag:hover, .select-tag:hover { transform: none; }
.pet-card, .pet-editor-row, .pet-policy-summary { border-radius: 7px; box-shadow: none; }
.toggle { border-radius: 999px; }

/* Modals */
.modal-backdrop { background: rgba(22,28,24,.56); backdrop-filter: blur(3px); }
.modal { border-radius: 12px; box-shadow: var(--shadow-lg); }
.modal-header { padding: 24px 26px 18px; }
.modal-header h2 { font-size: 31px; }
.modal-body { padding: 22px 26px 26px; }
.modal-footer { padding: 16px 26px; background: #f2f0ea; }
.property-detail-hero { border-radius: 8px; }
.property-detail-hero img { filter: saturate(.82); }
.property-detail-title h2 { font-size: 38px; }
.detail-facts { border-radius: 7px; }
.detail-fact { background: #f4f2ed; }

/* Empty states and toast */
.empty-state { border: 1px dashed var(--line-strong); border-radius: 9px; background: rgba(255,254,250,.55); }
.empty-icon { width: 52px; height: 52px; border-radius: 50%; }
.toast { border-radius: 7px; background: var(--brand-strong); box-shadow: var(--shadow-md); }

/* Responsive */
@media (max-width: 1180px) {
  :root { --sidebar: 205px; }
  .content { padding-inline: 28px; }
  .browse-layout { grid-template-columns: minmax(0,1fr) 290px; }
  .candidate-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar > .role-switcher { display: none; }
  .workspace { display: block; }
  .sidebar { display: none; }
  .content { padding: 30px 24px 96px; }
  .page-title { font-size: 44px; }
  .grid.stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat-card:nth-child(2) { border-right: 0; }
  .stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .browse-layout, .grid.main-aside, .grid.aside-main, .calendar-layout { grid-template-columns: 1fr; }
  .browse-aside { position: static; }
  .swipe-card { max-width: none; }
  .property-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mobile-nav { border-top: 1px solid var(--line); background: rgba(250,249,245,.97); box-shadow: none; backdrop-filter: none; }
  .mobile-nav .nav-item { border-radius: 0; }
  .mobile-nav .nav-item.active::before { display: none; }
  .mobile-nav .nav-item.active { background: transparent; color: var(--brand); }
}
@media (max-width: 760px) {
  :root { --topbar: 58px; }
  .topbar { padding: 0 14px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-copy strong { font-size: 16px; }
  .brand small, .active-user { display: none; }
  .content { padding: 24px 15px 92px; }
  .page-header { display: grid; gap: 16px; margin-bottom: 23px; }
  .page-title { font-size: 38px; }
  .page-description { font-size: 13px; }
  .page-actions { justify-content: flex-start; }
  .grid.stats { border-radius: 9px; }
  .stat-card { min-height: 102px; padding: 17px; }
  .stat-value { font-size: 25px; }
  .grid.two, .grid.three, .grid.four, .property-grid, .candidate-grid { grid-template-columns: 1fr; }
  .swipe-image { height: 330px; }
  .image-title h2 { font-size: 36px; }
  .swipe-body { padding: 19px 17px 17px; }
  .swipe-actions { grid-template-columns: 1fr 1fr; padding: 0 17px 18px; }
  .swipe-action.like { grid-column: 1 / -1; order: -1; }
  .property-tile-image { height: 220px; }
  .notification-drawer-header { padding: 22px 18px 17px; }
  .notification-drawer-toolbar, .notification-drawer-list, .notification-drawer-footer { padding-inline: 18px; }
  .calendar-day { min-height: 84px; }
  .modal { border-radius: 12px 12px 0 0; }
}
@media (max-width: 430px) {
  .topbar-actions { gap: 3px; }
  .icon-button { width: 36px; height: 36px; }
  .page-title { font-size: 34px; }
  .grid.stats { grid-template-columns: 1fr 1fr; }
  .stat-card { min-height: 96px; padding: 15px; }
  .stat-icon { display: none; }
  .stat-meta { max-width: 100%; }
  .swipe-image { height: 285px; }
  .image-title { right: 18px; bottom: 18px; left: 18px; }
  .image-title h2 { font-size: 31px; }
  .price-line { align-items: flex-start; flex-direction: column; gap: 2px; }
  .meta-row { align-items: flex-start; }
  .swipe-action span { display: inline; }
  .property-tile-footer { align-items: flex-start; flex-direction: column; }
  .property-tile-actions { width: 100%; }
  .property-tile-actions .button { flex: 1; }
}


/* V4 finishing details */
.image-title h2,
.property-detail-title h2 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(8, 20, 16, .28);
}
.image-title p,
.property-detail-title p { color: rgba(255,255,255,.86); }
.grid.main-aside > .panel .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.property-tile-actions { flex-wrap: wrap; justify-content: flex-end; }
.grid.main-aside > aside .notification-list { gap: 0; }
.grid.main-aside > aside .notification-item {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 0;
}
.grid.main-aside > aside .notification-icon {
  width: 32px;
  height: 32px;
}
.grid.main-aside > aside .notification-copy .badge,
.grid.main-aside > aside .notification-copy p { display: none; }
.grid.main-aside > aside .notification-copy h3 {
  margin: 1px 0 4px;
  font-size: 10px;
  line-height: 1.35;
}
.grid.main-aside > aside .notification-actions {
  grid-column: 2;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 4px;
}
.grid.main-aside > aside .notification-actions .button {
  min-height: 28px;
  padding: 5px 8px;
  font-size: 9px;
}
@media (max-width: 760px) {
  .grid.main-aside > .panel .property-grid { grid-template-columns: 1fr; }
}


/* ========================================================================== 
   HJEMMATCH — polished Scandinavian product interface
   ========================================================================== */
:root {
  --hm-pine-950: #0b271f;
  --hm-pine-900: #10362b;
  --hm-pine-800: #16483a;
  --hm-pine-700: #205b49;
  --hm-sage-100: #e5ece7;
  --hm-ivory: #f6f3ec;
  --hm-paper: #fffdf8;
  --hm-warm: #ede9df;
  --hm-line: #ddd9cf;
  --hm-line-dark: rgba(255,255,255,.13);
  --hm-ink: #18211d;
  --hm-muted: #687069;
  --hm-rust: #c66547;
  --hm-gold: #b17a34;
  --sidebar: 248px;
  --topbar: 74px;
  --content-max: 1320px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(16,35,28,.04), 0 8px 24px rgba(16,35,28,.035);
  --shadow-md: 0 18px 50px rgba(16,35,28,.11);
  --shadow-lg: 0 34px 90px rgba(16,35,28,.18);
}

html { background: var(--hm-ivory); }
body {
  background: var(--hm-ivory);
  color: var(--hm-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: -.008em;
}
body::before { display: none; }
button, input, select, textarea { font: inherit; }
button { letter-spacing: inherit; }
svg { stroke-linecap: round; stroke-linejoin: round; }

/* Shell */
.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  height: var(--topbar);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  height: var(--topbar);
  padding: 0 24px;
  border: 0;
  background: var(--hm-pine-950);
  color: #fff;
}
.brand-mark {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 11px;
  background: rgba(255,255,255,.06);
  color: #fff;
  overflow: hidden;
  font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 700;
  letter-spacing: -.15em;
}
.brand-mark::before, .brand-mark::after { display: none !important; }
.brand-mark i { display: inline; font-style: normal; font-size: 18px; line-height: 34px; }
.brand-mark i:first-child { transform: translateY(-1px); }
.brand-mark i:last-child { color: #d6b69e; transform: translate(-1px, 2px); }
.brand-copy { display: grid; min-width: 0; line-height: 1; }
.brand-copy strong { color: #fff; font-size: 18px; font-weight: 680; letter-spacing: -.04em; }
.brand-copy small { margin-top: 6px; color: rgba(255,255,255,.56); font-size: 10px; font-weight: 560; letter-spacing: .04em; }
.topbar-main {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  min-width: 0;
  height: var(--topbar);
  padding: 0 30px;
  border-bottom: 1px solid var(--hm-line);
  background: rgba(255,253,248,.94);
  backdrop-filter: blur(18px);
}
.topbar-context { display: grid; gap: 2px; justify-self: start; }
.topbar-context span { color: #8a8f8b; font-size: 9px; font-weight: 720; letter-spacing: .13em; text-transform: uppercase; }
.topbar-context strong { color: var(--hm-ink); font-size: 13px; font-weight: 650; }
.role-switcher {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 2px;
  width: auto;
  padding: 4px;
  border: 1px solid #e3dfd6;
  border-radius: 12px;
  background: #efede6;
}
.role-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  color: #747b75;
  background: transparent;
  font-size: 12px;
  font-weight: 630;
  box-shadow: none;
}
.role-button svg { width: 15px; height: 15px; }
.role-button:hover { color: var(--hm-ink); background: rgba(255,255,255,.55); }
.role-button.active { color: var(--hm-pine-950); background: var(--hm-paper); box-shadow: 0 1px 2px rgba(20,36,30,.08), 0 6px 18px rgba(20,36,30,.06); }
.role-button.active::after { display: none; }
.topbar-actions { justify-self: end; display: flex; align-items: center; gap: 9px; min-width: 0; }
.mobile-role-trigger { display: none; }
.icon-button {
  width: 39px;
  height: 39px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--hm-ink);
}
.icon-button:hover, .icon-button.active { border-color: var(--hm-line); background: #f2efe8; }
.notification-trigger .count {
  top: 1px;
  right: -2px;
  display: grid;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  place-items: center;
  border: 2px solid var(--hm-paper);
  border-radius: 999px;
  background: var(--hm-rust);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}
.active-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-left: 12px;
  border-left: 1px solid var(--hm-line);
}
.active-user .avatar { width: 34px; height: 34px; border: 1px solid #d5d9d4; background: var(--hm-sage-100); color: var(--hm-pine-900); }
.active-user-copy { display: grid; min-width: 0; line-height: 1.12; }
.active-user-copy strong { max-width: 180px; color: var(--hm-ink); font-size: 12px; font-weight: 680; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.active-user-copy span { margin-top: 4px; color: #8a8f8b; font-size: 10px; }

.workspace { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: calc(100vh - var(--topbar)); }
.sidebar {
  position: sticky;
  top: var(--topbar);
  display: flex;
  flex-direction: column;
  align-self: start;
  width: auto;
  height: calc(100vh - var(--topbar));
  min-height: 630px;
  padding: 25px 18px 18px;
  border: 0;
  background: var(--hm-pine-950);
  color: #fff;
  overflow: hidden auto;
}
.sidebar-main { flex: 1 1 auto; min-height: 0; }
.sidebar-label {
  margin: 0 11px 14px;
  color: rgba(255,255,255,.42);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.nav-list { display: grid; gap: 4px; }
.nav-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255,255,255,.66);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}
.nav-item::before { display: none; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: var(--hm-paper); color: var(--hm-pine-950); box-shadow: 0 8px 26px rgba(0,0,0,.16); }
.nav-icon { display: grid; place-items: center; width: 20px; height: 20px; }
.nav-icon svg { width: 17px; height: 17px; }
.nav-count {
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.76);
  font-size: 9px;
  font-weight: 740;
}
.nav-item.active .nav-count { border-color: #d9ddd8; background: var(--hm-sage-100); color: var(--hm-pine-900); }
.sidebar-summary {
  flex: 0 0 auto;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--hm-line-dark);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
}
.sidebar-summary-head { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 11px; }
.sidebar-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: rgba(255,255,255,.12); color: #fff; font-weight: 720; }
.sidebar-avatar svg { width: 18px; height: 18px; }
.sidebar-summary-head div { display: grid; gap: 3px; }
.sidebar-summary-head strong { color: #fff; font-size: 12px; font-weight: 670; }
.sidebar-summary-head span { color: rgba(255,255,255,.55); font-size: 10px; }
.sidebar-progress { height: 3px; margin: 14px 0 12px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.sidebar-progress span { display: block; height: 100%; border-radius: inherit; background: #d6b69e; }
.sidebar-summary-meta { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 13px 0; color: rgba(255,255,255,.64); font-size: 10px; }
.sidebar-summary-meta span { display: inline-flex; align-items: center; gap: 5px; }
.sidebar-summary-meta svg { width: 13px; height: 13px; }
.sidebar-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 0 0; border: 0; border-top: 1px solid var(--hm-line-dark); background: transparent; color: #fff; font-size: 10px; font-weight: 650; text-align: left; }
.sidebar-link svg { width: 13px; height: 13px; }
.sidebar-foot { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin: 14px 4px 0; color: rgba(255,255,255,.42); font-size: 9px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #7fb296; box-shadow: 0 0 0 4px rgba(127,178,150,.11); }

.content {
  min-width: 0;
  padding: 40px 44px 84px;
  background:
    radial-gradient(circle at 92% 0%, rgba(204,193,169,.14), transparent 28%),
    var(--hm-ivory);
}
.content > * { width: min(100%, var(--content-max)); margin-right: auto; margin-left: auto; }

/* Editorial page hierarchy */
.page-header {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}
.page-heading { max-width: 780px; }
.page-kicker {
  margin: 0 0 9px;
  color: var(--hm-rust);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.page-title {
  margin: 0;
  color: var(--hm-ink);
  font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
}
.page-description { max-width: 690px; margin: 13px 0 0; color: var(--hm-muted); font-size: 14px; line-height: 1.55; }
.page-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }

/* Buttons and controls */
.button {
  min-height: 41px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 690;
  box-shadow: none;
}
.button svg { width: 15px; height: 15px; }
.button.primary { border-color: var(--hm-pine-900); background: var(--hm-pine-900); color: #fff; }
.button.primary:hover { border-color: var(--hm-pine-800); background: var(--hm-pine-800); transform: translateY(-1px); }
.button.secondary { border-color: #cbc8bf; background: var(--hm-paper); color: var(--hm-ink); }
.button.secondary:hover { border-color: #aeb2ac; background: #fff; }
.button.ghost { color: var(--hm-muted); }
.button.light { border-color: rgba(255,255,255,.22); background: #fff; color: var(--hm-pine-950); }
.button.small { min-height: 34px; padding: 0 12px; border-radius: 8px; font-size: 10px; }
.text-button { gap: 6px; color: var(--hm-pine-800); font-size: 10px; font-weight: 680; }
.text-button svg { width: 13px; height: 13px; }

/* Stats as a single information strip */
.grid.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--hm-line);
  border-radius: 15px;
  background: var(--hm-paper);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.stat-card {
  position: relative;
  min-height: 124px;
  padding: 20px 22px 18px;
  border: 0;
  border-right: 1px solid var(--hm-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.stat-card:last-child { border-right: 0; }
.stat-card::before { display: none; }
.stat-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stat-label { color: #7d837e; font-size: 9px; font-weight: 760; letter-spacing: .085em; text-transform: uppercase; }
.stat-icon { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #e1ded6; border-radius: 9px; background: #f7f5ef; color: var(--hm-pine-700); }
.stat-icon svg { width: 14px; height: 14px; }
.stat-value { display: block; margin-top: 10px; color: var(--hm-ink); font-size: 27px; font-weight: 690; line-height: 1; letter-spacing: -.04em; }
.stat-meta { display: block; max-width: 210px; margin-top: 8px; color: var(--hm-muted); font-size: 10px; line-height: 1.35; }

/* Surfaces */
.panel, .card, .table-wrap, .calendar-shell, .calendar-sidebar, .message-composer, .candidate-card, .invitation-card {
  border: 1px solid var(--hm-line);
  border-radius: var(--radius);
  background: var(--hm-paper);
  box-shadow: var(--shadow-sm);
}
.panel-pad, .card-pad { padding: 22px; }
.section-header { align-items: flex-start; gap: 18px; margin-bottom: 18px; }
.section-header h2, .section-header h3 { margin: 0; color: var(--hm-ink); letter-spacing: -.025em; }
.section-header h2 { font-size: 19px; font-weight: 690; }
.section-header h3 { font-size: 15px; font-weight: 690; }
.section-eyebrow { display: block; margin-bottom: 5px; color: #8b908c; font-size: 8px; font-weight: 780; letter-spacing: .14em; text-transform: uppercase; }
.section-subtitle { margin-top: 4px; color: var(--hm-muted); }
.divider { border-color: var(--hm-line); }
.badge { min-height: 23px; padding: 0 8px; border-radius: 999px; font-size: 8px; font-weight: 720; letter-spacing: .015em; }
.badge svg { width: 11px; height: 11px; }
.badge.success { border-color: #c5d8ce; background: #eaf1ed; color: #2e624c; }
.badge.warning { border-color: #e4cfaa; background: #f7efe0; color: #8b5d20; }
.badge.danger { border-color: #e7c9c5; background: #f8e9e6; color: #984d45; }
.badge.info { border-color: #ccd9df; background: #edf2f4; color: #48697a; }
.badge.brand { border-color: #c8d9d1; background: #e8efeb; color: var(--hm-pine-700); }
.notice { border-radius: 10px; font-size: 10px; }

/* Dashboard */
.dashboard-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; align-items: start; gap: 24px; }
.dashboard-main, .dashboard-rail { display: grid; align-content: start; gap: 24px; min-width: 0; }
.dashboard-properties { overflow: hidden; }
.dashboard-properties .property-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.dashboard-activity { padding-bottom: 10px; }
.activity-list { border-top: 1px solid var(--hm-line); }
.activity-row {
  display: grid;
  grid-template-columns: 36px minmax(0,1fr) auto 18px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 2px;
  border: 0;
  border-bottom: 1px solid var(--hm-line);
  background: transparent;
  color: var(--hm-ink);
  text-align: left;
}
.activity-row:hover { background: #faf8f2; }
.activity-row.unread .activity-copy strong::after { display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-radius: 50%; background: var(--hm-rust); content: ""; vertical-align: 1px; }
.activity-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--hm-sage-100); color: var(--hm-pine-800); }
.activity-icon.warning { background: #f5ead8; color: #93601f; }
.activity-icon.danger { background: #f4e4e1; color: #994b43; }
.activity-icon.info { background: #e7eef1; color: #486a7b; }
.activity-icon svg { width: 16px; height: 16px; }
.activity-copy { display: grid; min-width: 0; gap: 3px; }
.activity-copy strong { overflow: hidden; color: var(--hm-ink); font-size: 11px; font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
.activity-copy span { overflow: hidden; color: var(--hm-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.activity-row time { color: #969b97; font-size: 9px; white-space: nowrap; }
.activity-arrow { color: #a2a7a3; }
.activity-arrow svg { width: 14px; height: 14px; }
.profile-hero-card {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 17px;
  background:
    radial-gradient(circle at 92% 8%, rgba(214,182,158,.25), transparent 31%),
    linear-gradient(145deg, var(--hm-pine-800), var(--hm-pine-950));
  color: #fff;
  box-shadow: 0 18px 44px rgba(9,35,27,.18);
  overflow: hidden;
}
.profile-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.profile-hero-card .avatar { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.11); color: #fff; }
.profile-status { display: inline-flex; align-items: center; gap: 5px; color: #dfece5; font-size: 9px; font-weight: 650; }
.profile-status svg { width: 12px; height: 12px; }
.profile-hero-card .section-eyebrow { color: rgba(255,255,255,.5); }
.profile-hero-card h2 { margin: 3px 0 4px; color: #fff; font-family: ui-serif, "Iowan Old Style", Georgia, serif; font-size: 29px; font-weight: 500; letter-spacing: -.035em; }
.profile-hero-card p { margin: 0; color: rgba(255,255,255,.64); font-size: 11px; line-height: 1.45; }
.profile-hero-card .profile-completion { margin: 0; }
.profile-hero-card .profile-completion-row { color: rgba(255,255,255,.72); }
.profile-hero-card .profile-completion-row strong { color: #fff; }
.profile-hero-card .progress { background: rgba(255,255,255,.13); }
.profile-hero-card .progress span { background: #d7b99f; }
.preference-card .preference-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hm-line); }
.preference-card .preference-row:first-of-type { border-top: 0; }
.preference-row span { display: inline-flex; align-items: center; gap: 9px; color: var(--hm-muted); font-size: 10px; }
.preference-row span svg { width: 15px; height: 15px; color: var(--hm-pine-700); }
.preference-row strong { color: var(--hm-ink); font-size: 10px; font-weight: 680; }

/* Property cards */
.property-grid { gap: 17px; }
.property-tile {
  border: 1px solid var(--hm-line);
  border-radius: 13px;
  background: var(--hm-paper);
  box-shadow: none;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.property-tile:hover { border-color: #c3c1b8; box-shadow: 0 14px 34px rgba(18,39,31,.09); transform: translateY(-2px); }
.property-tile-image { height: 204px; background: #dad7cf; }
.property-tile-image::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,22,17,.16), transparent 35%, rgba(9,22,17,.03)); content: ""; pointer-events: none; }
.property-tile-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.property-tile:hover .property-tile-image img { transform: scale(1.025); }
.property-tile-badges { z-index: 1; top: 12px; right: 12px; left: 12px; align-items: center; }
.property-tile-match { min-height: 25px; padding: 0 9px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(11,39,31,.86); color: #fff; font-size: 8px; font-weight: 760; backdrop-filter: blur(7px); }
.property-tile-body { padding: 18px; }
.property-tile-body h3 { margin: 0 0 5px; color: var(--hm-ink); font-family: ui-serif, "Iowan Old Style", Georgia, serif; font-size: 21px; font-weight: 500; line-height: 1.1; letter-spacing: -.025em; }
.property-address { color: #858b86; font-size: 9px; }
.property-price { margin-top: 15px; color: var(--hm-ink); font-size: 17px; font-weight: 730; letter-spacing: -.025em; }
.property-price small { color: #838984; font-size: 9px; font-weight: 520; }
.property-tile .meta-row { gap: 12px; margin-top: 11px; color: #707770; font-size: 9px; }
.property-tile .meta-row svg { width: 13px; height: 13px; color: var(--hm-pine-700); }
.change-note { margin-top: 13px; padding: 10px 11px; border-radius: 8px; font-size: 9px; }
.property-tile-footer { align-items: center; gap: 10px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--hm-line); }
.property-tile-actions { gap: 6px; }

/* Browse experience */
.browse-layout { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 24px; }
.swipe-stage { min-width: 0; }
.swipe-card {
  max-width: none;
  border: 1px solid #d0cdc4;
  border-radius: 18px;
  background: var(--hm-paper);
  box-shadow: 0 24px 70px rgba(18,39,31,.13);
  overflow: hidden;
}
.swipe-image { height: clamp(420px, 47vw, 540px); background: #d9d6cf; }
.swipe-image img { width: 100%; height: 100%; object-fit: cover; }
.image-overlay { background: linear-gradient(180deg, rgba(5,17,13,.28) 0%, rgba(5,17,13,0) 40%, rgba(5,17,13,.72) 100%); }
.image-topline { top: 20px; right: 20px; left: 20px; }
.image-topline .badge { border-color: rgba(255,255,255,.2); background: rgba(13,39,31,.78); color: #fff; backdrop-filter: blur(9px); }
.match-ring { display: inline-flex; width: auto; height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(13,39,31,.82); color: #fff; font-size: 11px; font-weight: 760; backdrop-filter: blur(9px); }
.image-title { right: 28px; bottom: 27px; left: 28px; color: #fff; }
.image-title h2 { max-width: 760px; margin: 0 0 9px; color: #fff; font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-size: clamp(38px, 4vw, 53px); font-weight: 500; line-height: .97; letter-spacing: -.045em; text-shadow: 0 2px 18px rgba(0,0,0,.2); }
.image-title p { display: flex; align-items: center; gap: 7px; margin: 0; color: rgba(255,255,255,.8); font-size: 11px; }
.image-title p svg { width: 15px; height: 15px; }
.swipe-body { padding: 26px 29px 22px; }
.price-line { align-items: baseline; }
.price-line strong { color: var(--hm-ink); font-size: 27px; font-weight: 740; letter-spacing: -.04em; }
.price-line span { color: #828882; font-size: 10px; }
.swipe-body > .meta-row { gap: 17px; margin: 13px 0 16px; color: #687069; font-size: 10px; }
.meta-item { gap: 6px; }
.meta-item svg { width: 14px; height: 14px; color: var(--hm-pine-700); }
.feature-pills { gap: 6px; }
.feature-pill { min-height: 27px; padding: 0 9px; border: 1px solid #ddd9d0; border-radius: 7px; background: #f3f0e9; color: #59615b; font-size: 9px; font-weight: 600; }
.feature-pill svg { width: 12px; height: 12px; color: var(--hm-pine-700); }
.match-explainer { margin-top: 17px; padding: 13px 15px; border-radius: 10px; }
.swipe-actions { display: grid; grid-template-columns: minmax(120px,.75fr) minmax(120px,.75fr) minmax(250px,1.55fr); gap: 9px; padding: 0 29px 28px; }
.swipe-action { min-height: 50px; border-radius: 10px; font-size: 11px; font-weight: 690; }
.swipe-action svg { width: 18px; height: 18px; }
.swipe-action.dismiss { border-color: #dbcec8; background: var(--hm-paper); color: #a15043; }
.swipe-action.save { border-color: #d8cfbe; background: #fbf8f0; color: #8d632a; }
.swipe-action.like { border-color: var(--hm-pine-900); background: var(--hm-pine-900); color: #fff; }
.swipe-counter { margin-top: 12px; color: #8b918c; font-size: 9px; }
.browse-aside { position: sticky; top: calc(var(--topbar) + 22px); gap: 16px; }
.browse-aside .card { border-radius: 14px; }
.filter-row { min-height: 45px; border-color: var(--hm-line); }
.filter-row span { color: #777e78; font-size: 10px; }
.filter-row strong { max-width: 165px; color: var(--hm-ink); font-size: 10px; }
.quick-item { padding: 13px 0; border-color: var(--hm-line); }
.quick-item-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--hm-sage-100); color: var(--hm-pine-700); }
.quick-item-copy strong { font-size: 10px; }
.quick-item-copy span { color: var(--hm-muted); font-size: 9px; line-height: 1.4; }

/* Profile and settings */
.grid.main-aside { grid-template-columns: minmax(0,1fr) 340px; gap: 24px; }
.profile-summary { gap: 14px; }
.avatar { border: 1px solid #d5dbd6; background: var(--hm-sage-100); color: var(--hm-pine-900); }
.profile-summary h2 { font-size: 22px; }
.detail-facts { gap: 8px; }
.detail-fact { padding: 13px; border: 1px solid #ebe7df; border-radius: 10px; background: #f5f2eb; }
.detail-fact span { color: #7c837d; font-size: 9px; }
.detail-fact strong { margin-top: 4px; color: var(--hm-ink); font-size: 10px; }
.toggle-row { min-height: 58px; border-color: var(--hm-line); }
.row-leading-icon { background: #f0eee8; color: var(--hm-pine-700); }
.toggle-copy strong { font-size: 10px; }
.toggle-copy span { font-size: 9px; }
.switch .slider { background: #d5d9d5; }
.switch input:checked + .slider { background: var(--hm-pine-800); }

/* Appointments and calendar */
.appointment-card { border-color: #e2ded5; border-radius: 11px; background: #fbfaf6; }
.appointment-date { border-radius: 10px; background: #eeeae1; color: var(--hm-ink); }
.appointment-type-icon { border-radius: 10px; background: var(--hm-sage-100); color: var(--hm-pine-700); }
.calendar-layout { gap: 22px; }
.calendar-shell { overflow: hidden; }
.calendar-toolbar { padding: 18px 20px; border-bottom: 1px solid var(--hm-line); }
.calendar-toolbar h2 { font-family: ui-serif, "Iowan Old Style", Georgia, serif; font-size: 24px; font-weight: 500; }
.calendar-weekday { background: #f0ede6; color: #797f7a; font-size: 9px; }
.calendar-day { min-height: 112px; border-color: #e3e0d8; background: var(--hm-paper); }
.calendar-day:hover { background: #faf8f2; }
.calendar-day.today { background: #edf2ee; }
.calendar-day-number { font-size: 10px; }
.calendar-event { border-radius: 7px; background: var(--hm-pine-900); color: #fff; }
.calendar-event.warning { background: #97652b; }
.calendar-event.danger { background: #994d45; }

/* Candidates, lists and tables */
.candidate-card { border-radius: 13px; }
.candidate-card:hover { border-color: #c7c4bb; box-shadow: 0 12px 32px rgba(18,39,31,.08); }
.table-wrap { overflow: hidden auto; }
thead { background: #efede6; }
th { color: #757c76; font-size: 8px; letter-spacing: .08em; }
td { border-color: #e5e1d9; }
.tabs { gap: 2px; padding: 4px; border: 1px solid var(--hm-line); border-radius: 11px; background: #efede6; }
.tab { min-height: 35px; border-radius: 7px; font-size: 10px; }
.tab.active { background: var(--hm-paper); color: var(--hm-pine-900); box-shadow: 0 1px 3px rgba(18,39,31,.08); }

/* Notifications */
.notification-layer { z-index: 90; }
.notification-scrim { background: rgba(11,27,21,.42); backdrop-filter: blur(2px); }
.notification-drawer { width: min(430px, 100vw); border-left: 1px solid rgba(255,255,255,.1); background: var(--hm-paper); box-shadow: -24px 0 70px rgba(10,30,23,.18); }
.notification-drawer-header { padding: 28px 26px 20px; border-color: var(--hm-line); background: var(--hm-pine-950); color: #fff; }
.notification-drawer-header h2 { color: #fff; font-family: ui-serif, "Iowan Old Style", Georgia, serif; font-size: 29px; font-weight: 500; }
.notification-drawer-header p, .drawer-kicker { color: rgba(255,255,255,.55); }
.notification-drawer-header .icon-button { color: #fff; }
.notification-drawer-toolbar { padding: 14px 24px; border-color: var(--hm-line); background: #f2efe8; }
.notification-drawer-list { padding: 4px 14px 18px; }
.drawer-notification { grid-template-columns: 38px minmax(0,1fr) 18px; gap: 12px; padding: 15px 10px; border-color: var(--hm-line); border-radius: 9px; }
.drawer-notification:hover { background: #f7f4ee; }
.drawer-notification.unread { background: #edf2ee; }
.drawer-notification-copy strong { font-size: 11px; }
.drawer-notification-copy span { color: var(--hm-muted); font-size: 10px; line-height: 1.45; }
.drawer-notification-copy time { font-size: 8px; }
.notification-drawer-footer { padding: 16px 24px 22px; border-color: var(--hm-line); }
.notification-item { grid-template-columns: 40px minmax(0,1fr) auto; padding: 18px; border-color: var(--hm-line); border-radius: 12px; }
.notification-copy h3 { font-size: 12px; }
.notification-copy p { color: var(--hm-muted); font-size: 10px; }

/* Dialogs and forms */
.modal { border: 1px solid rgba(255,255,255,.24); border-radius: 17px; background: var(--hm-paper); box-shadow: var(--shadow-lg); }
.modal-header { padding: 22px 24px 18px; border-color: var(--hm-line); }
.modal-header h2 { font-family: ui-serif, "Iowan Old Style", Georgia, serif; font-size: 27px; font-weight: 500; }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px 22px; border-color: var(--hm-line); background: #faf8f3; }
.field input, .field select, .field textarea { border-color: #ccc9c1; border-radius: 9px; background: #fffefa; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--hm-pine-700); box-shadow: 0 0 0 3px rgba(32,91,73,.12); }
.form-section { border-color: var(--hm-line); }

/* Toasts */
.toast-root { right: 24px; bottom: 24px; }
.toast { max-width: 390px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: var(--hm-pine-950); box-shadow: var(--shadow-md); }

/* Responsive */
@media (max-width: 1180px) {
  :root { --sidebar: 218px; }
  .content { padding-inline: 30px; }
  .dashboard-layout { grid-template-columns: minmax(0,1fr) 310px; }
  .browse-layout { grid-template-columns: minmax(0,1fr) 300px; }
  .topbar-main { padding-inline: 22px; }
  .role-button { padding-inline: 10px; }
}
@media (max-width: 1020px) {
  .topbar { grid-template-columns: 210px minmax(0,1fr); }
  .brand { padding-inline: 18px; }
  .topbar-main { grid-template-columns: minmax(0,1fr) auto; }
  .topbar-context, .topbar-main > .role-switcher { display: none; }
  .mobile-role-trigger { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 1px solid var(--hm-line); border-radius: 9px; background: #f4f1ea; color: var(--hm-ink); font-size: 10px; font-weight: 650; }
  .mobile-role-trigger svg { width: 13px; height: 13px; }
  .workspace { display: block; }
  .sidebar { display: none; }
  .content { padding: 34px 24px 100px; }
  .dashboard-layout, .grid.main-aside, .grid.aside-main, .browse-layout, .calendar-layout { grid-template-columns: 1fr; }
  .dashboard-rail { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .profile-hero-card { grid-row: span 2; }
  .browse-aside { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mobile-nav { border-top: 1px solid var(--hm-line); background: rgba(255,253,248,.96); box-shadow: 0 -10px 32px rgba(18,39,31,.08); backdrop-filter: blur(16px); }
  .mobile-nav .nav-item { color: #727973; }
  .mobile-nav .nav-item.active { color: var(--hm-pine-800); }
}
@media (max-width: 760px) {
  :root { --topbar: 64px; }
  .topbar { grid-template-columns: 156px minmax(0,1fr); }
  .brand { height: var(--topbar); gap: 9px; padding: 0 12px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .brand-mark i { font-size: 15px; line-height: 29px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { display: none; }
  .topbar-main { height: var(--topbar); padding: 0 12px; }
  .active-user { display: none; }
  .mobile-role-trigger span { display: none; }
  .content { padding: 26px 15px 92px; }
  .page-header { grid-template-columns: 1fr; align-items: start; gap: 18px; margin-bottom: 23px; }
  .page-title { font-size: 40px; }
  .page-description { font-size: 12px; }
  .page-actions { justify-content: flex-start; }
  .grid.stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat-card { min-height: 108px; padding: 16px; }
  .stat-card:nth-child(2) { border-right: 0; }
  .stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--hm-line); }
  .stat-value { font-size: 24px; }
  .dashboard-properties .property-grid, .property-grid, .candidate-grid, .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .dashboard-rail, .browse-aside { grid-template-columns: 1fr; }
  .profile-hero-card { grid-row: auto; }
  .swipe-image { height: 390px; }
  .image-title { right: 20px; bottom: 20px; left: 20px; }
  .image-title h2 { font-size: 37px; }
  .swipe-body { padding: 21px 18px 18px; }
  .swipe-actions { grid-template-columns: 1fr 1fr; padding: 0 18px 20px; }
  .swipe-action.like { grid-column: 1 / -1; order: -1; }
  .property-tile-image { height: 230px; }
  .activity-row { grid-template-columns: 34px minmax(0,1fr) 14px; }
  .activity-row time { display: none; }
  .notification-drawer { width: 100vw; }
}
@media (max-width: 430px) {
  .topbar { grid-template-columns: 128px minmax(0,1fr); }
  .brand-copy strong { font-size: 14px; }
  .brand-mark { width: 29px; height: 29px; }
  .topbar-actions { gap: 3px; }
  .icon-button { width: 36px; height: 36px; }
  .page-title { font-size: 35px; }
  .grid.stats { border-radius: 12px; }
  .stat-icon { display: none; }
  .stat-card { min-height: 100px; padding: 14px; }
  .stat-meta { font-size: 9px; }
  .swipe-image { height: 330px; }
  .image-title h2 { font-size: 31px; }
  .price-line { align-items: flex-start; flex-direction: column; gap: 3px; }
  .swipe-body > .meta-row { align-items: flex-start; flex-wrap: wrap; }
  .swipe-action { min-height: 47px; }
  .property-tile-footer { align-items: flex-start; flex-direction: column; }
  .property-tile-actions { width: 100%; }
  .property-tile-actions .button { flex: 1; }
}

/* Actionable dashboard metrics */
button.stat-card {
  width: 100%;
  margin: 0;
  border: 0;
  border-right: 1px solid var(--hm-line);
  border-radius: 0;
  appearance: none;
  color: inherit;
  font: inherit;
  text-align: left;
}
button.stat-card:last-child { border-right: 0; }
.stat-card.is-actionable {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.stat-card.is-actionable::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  height: 3px;
  background: var(--hm-pine-700);
  content: '';
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: left;
  transition: opacity .18s ease, transform .18s ease;
}
.stat-card.is-actionable:hover {
  z-index: 1;
  background: #f8f6ef;
  box-shadow: inset 0 0 0 1px rgba(25, 61, 49, .08), 0 10px 28px rgba(22, 45, 37, .06);
}
.stat-card.is-actionable:hover::after,
.stat-card.is-actionable:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}
.stat-card.is-actionable:active { transform: translateY(1px); }
.stat-card.is-actionable:focus-visible {
  z-index: 2;
  outline: 3px solid rgba(46, 100, 81, .28);
  outline-offset: -3px;
}
.stat-card.is-actionable .stat-icon,
.stat-card.is-actionable .stat-card-cue {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, opacity .18s ease;
}
.stat-card.is-actionable:hover .stat-icon,
.stat-card.is-actionable:focus-visible .stat-icon {
  border-color: rgba(25, 61, 49, .2);
  background: #fffdfa;
  transform: translateY(-1px);
}
.stat-card-cue {
  position: absolute;
  right: 20px;
  bottom: 17px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--hm-pine-700);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: .015em;
  opacity: .62;
}
.stat-card-cue .ui-icon { width: 12px; height: 12px; }
.stat-card.is-actionable:hover .stat-card-cue,
.stat-card.is-actionable:focus-visible .stat-card-cue {
  opacity: 1;
  transform: translateX(2px);
}
.dashboard-stats .stat-meta { max-width: calc(100% - 72px); }

@media (max-width: 760px) {
  button.stat-card:nth-child(2) { border-right: 0; }
  button.stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--hm-line); }
  .stat-card-cue { right: 14px; bottom: 13px; }
  .stat-card-cue span { display: none; }
  .dashboard-stats .stat-meta { max-width: calc(100% - 28px); }
}


/* V6: drill-down views and role-wide KPI interactions */
.property-filter-tabs,
.user-filter-tabs {
  margin-top: 2px;
}

.table-property-thumb {
  width: 46px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(20, 60, 49, 0.08);
}

.moderation-resolution {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  padding: 11px 12px;
  border: 1px solid rgba(31, 111, 84, 0.16);
  border-radius: 12px;
  background: rgba(31, 111, 84, 0.06);
}

.moderation-resolution > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
}

.moderation-resolution .ui-icon {
  width: 15px;
  height: 15px;
}

.moderation-resolution strong,
.moderation-resolution p {
  display: block;
  margin: 0;
}

.moderation-resolution p {
  margin-top: 2px;
  color: var(--ink-faint);
  font-size: 10px;
}

.plan-overview {
  display: grid;
  gap: 16px;
}

.plan-hero {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(145deg, #183f34, #0f2e27);
  color: #fff;
}

.plan-hero h2 {
  margin: 13px 0 6px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
}

.plan-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.compact-plan-stats {
  gap: 8px;
}

.compact-plan-stats .detail-fact {
  min-height: 82px;
  padding: 13px;
}

.compact-plan-stats .detail-fact strong {
  margin-top: 7px;
  font-size: 20px;
}

@media (max-width: 760px) {
  .table-property-thumb {
    width: 40px;
    height: 34px;
  }

  .compact-plan-stats {
    grid-template-columns: 1fr;
  }
}
/* GoLeje V7 · Portefølje, drift og kontrakter */
.v7-command-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
}

.v7-command-strip button {
  position: relative;
  display: grid;
  min-height: 126px;
  padding: 24px 24px 22px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.v7-command-strip button:last-child { border-right: 0; }
.v7-command-strip button:hover { background: var(--brand-soft); }
.v7-command-strip button:focus-visible { outline: 3px solid rgba(28,85,92,.22); outline-offset: -3px; }
.v7-command-strip button > span { position: absolute; top: 18px; right: 18px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--brand); }
.v7-command-strip button > span svg { width: 19px; height: 19px; }
.v7-command-strip strong { align-self: end; font-size: clamp(1.45rem, 2.1vw, 2rem); letter-spacing: -.055em; }
.v7-command-strip small { margin-top: 6px; color: var(--ink-soft); font-size: .78rem; font-weight: 650; }

.v7-dashboard-grid { align-items: start; }
.v7-property-list { display: grid; gap: 0; }
.v7-property-record {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 32px;
  align-items: stretch;
  width: 100%;
  min-height: 112px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .16s ease;
}
.v7-property-record:first-child { border-top: 1px solid var(--line); }
.v7-property-record:hover { background: #f8faf8; }
.v7-property-record:focus-visible { position: relative; z-index: 2; outline: 3px solid rgba(28,85,92,.22); }
.v7-property-image { position: relative; min-height: 112px; background-position: center; background-size: cover; }
.v7-property-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(255,255,255,.22)); content: ""; }
.v7-property-image > span { position: absolute; z-index: 2; top: 10px; left: 10px; }
.v7-property-copy { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 1.8fr); gap: 24px; align-items: center; padding: 17px 20px; }
.v7-property-title { display: grid; gap: 5px; }
.v7-property-title strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; letter-spacing: -.02em; }
.v7-property-title small { color: var(--ink-soft); line-height: 1.35; }
.v7-record-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.v7-record-grid > span { display: grid; gap: 3px; min-width: 0; }
.v7-record-grid small { color: var(--ink-faint); font-size: .67rem; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.v7-record-grid strong { display: flex; min-width: 0; align-items: center; gap: 5px; overflow: hidden; font-size: .79rem; text-overflow: ellipsis; white-space: nowrap; }
.v7-record-grid svg { width: 14px; height: 14px; color: var(--brand); }
.v7-record-arrow { display: grid; place-items: center; color: var(--brand); }
.v7-record-arrow svg { width: 18px; }

.v7-finance-card { overflow: hidden; }
.v7-finance-total { display: grid; margin: 8px 0 16px; }
.v7-finance-total strong { font-family: Georgia, "Times New Roman", serif; font-size: 2.6rem; letter-spacing: -.06em; }
.v7-finance-total span { color: var(--ink-soft); }
.v7-finance-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.v7-finance-foot span { display: grid; gap: 3px; }
.v7-finance-foot small { color: var(--ink-faint); font-size: .7rem; text-transform: uppercase; }
.v7-finance-foot strong { font-size: 1rem; }

.v7-chart { display: grid; grid-template-columns: repeat(9, minmax(18px, 1fr)); align-items: end; height: 176px; gap: 8px; padding: 16px 2px 2px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to top, transparent 0 43px, rgba(217,224,220,.55) 44px 45px); }
.v7-chart-col { display: grid; grid-template-rows: 1fr 22px; height: 100%; gap: 5px; align-items: end; }
.v7-chart-col small { color: var(--ink-faint); font-size: .62rem; text-align: center; }
.v7-chart-bars { display: flex; height: 100%; align-items: end; justify-content: center; gap: 3px; }
.v7-chart-bars span { width: min(13px, 42%); min-height: 2px; border-radius: 4px 4px 1px 1px; }
.v7-bar-income { background: var(--brand); }
.v7-bar-expense { background: var(--accent); }
.v7-chart-legend { display: flex; gap: 18px; margin-top: 10px; color: var(--ink-soft); font-size: .72rem; }
.v7-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.v7-chart-legend i { width: 9px; height: 9px; border-radius: 3px; }
.v7-chart-legend i.income { background: var(--brand); }
.v7-chart-legend i.expense { background: var(--accent); }

.v7-attention-list { display: grid; gap: 8px; }
.v7-attention-card { display: grid; grid-template-columns: 38px minmax(0, 1fr) 18px; gap: 11px; align-items: center; width: 100%; padding: 11px; border: 1px solid transparent; border-radius: 13px; background: var(--surface-2); text-align: left; cursor: pointer; }
.v7-attention-card:hover { border-color: var(--line); background: #fff; }
.v7-attention-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #fff; color: var(--brand); box-shadow: 0 2px 8px rgba(20,60,49,.06); }
.v7-attention-icon svg { width: 18px; }
.v7-attention-card > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.v7-attention-card strong { overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.v7-attention-card small { overflow: hidden; color: var(--ink-soft); font-size: .7rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.v7-attention-card > svg { width: 15px; color: var(--ink-faint); }

.v7-funnel-compact { display: grid; grid-template-columns: repeat(7, auto); align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 4px; }
.v7-funnel-compact span { display: grid; gap: 3px; text-align: center; }
.v7-funnel-compact strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.9rem; }
.v7-funnel-compact small { color: var(--ink-soft); font-size: .7rem; }
.v7-funnel-compact i { width: 34px; height: 1px; background: var(--line); }
.v7-retention-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v7-retention-grid button { display: flex; min-height: 96px; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: left; cursor: pointer; }
.v7-retention-grid button:hover { border-color: var(--brand); }
.v7-retention-grid svg { width: 24px; color: var(--brand); }
.v7-retention-grid span { display: grid; gap: 4px; }
.v7-retention-grid small { color: var(--ink-soft); font-size: .72rem; }

.v7-filterbar { display: flex; gap: 8px; margin-bottom: 18px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.v7-filterbar::-webkit-scrollbar { display: none; }
.v7-filterbar button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.78); color: var(--ink-soft); cursor: pointer; }
.v7-filterbar button.active { border-color: var(--brand); background: var(--brand); color: #fff; }
.v7-filterbar button strong { display: grid; min-width: 22px; height: 22px; place-items: center; border-radius: 999px; background: rgba(255,255,255,.18); font-size: .7rem; }
.v7-filterbar button:not(.active) strong { background: var(--surface-2); color: var(--ink); }
.v7-portfolio-panel { overflow: hidden; }
.v7-portfolio-head { display: grid; grid-template-columns: 116px minmax(0,1fr) 32px; min-height: 0; padding: 13px 20px 13px 136px; border-bottom: 1px solid var(--line); color: var(--ink-faint); font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.v7-portfolio-head span:nth-child(1) { grid-column: 1; }
.v7-portfolio-head span:nth-child(2) { grid-column: 2; }
.v7-portfolio-head span:nth-child(3) { display: none; }
.v7-portfolio-head span:nth-child(4) { display: none; }

.v7-workspace-hero { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: 18px; }
.v7-back { display: inline-flex; grid-column: 1 / -1; width: fit-content; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; color: var(--brand); font-weight: 760; cursor: pointer; }
.v7-back svg { width: 17px; }
.v7-workspace-title { display: flex; align-items: center; gap: 18px; }
.v7-workspace-photo { width: 94px; height: 94px; flex: 0 0 auto; border-radius: 20px; background-position: center; background-size: cover; box-shadow: var(--shadow-sm); }
.v7-workspace-title h1 { margin: 7px 0 4px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem,4vw,3.25rem); font-weight: 500; letter-spacing: -.05em; }
.v7-workspace-title p { margin: 0; color: var(--ink-soft); }
.v7-workspace-tabs { display: flex; gap: 3px; margin: 0 0 22px; overflow-x: auto; padding: 5px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.74); scrollbar-width: none; }
.v7-workspace-tabs::-webkit-scrollbar { display: none; }
.v7-workspace-tabs button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; padding: 10px 12px; border: 0; border-radius: 11px; background: transparent; color: var(--ink-soft); font-size: .76rem; font-weight: 700; cursor: pointer; }
.v7-workspace-tabs button.active { background: var(--brand); color: #fff; box-shadow: 0 5px 14px rgba(28,85,92,.16); }
.v7-workspace-tabs svg { width: 16px; }
.v7-workspace-tabs em { display: grid; min-width: 19px; height: 19px; place-items: center; border-radius: 999px; background: rgba(255,255,255,.17); font-size: .65rem; font-style: normal; }
.v7-workspace-tabs button:not(.active) em { background: var(--surface-2); color: var(--ink); }
.v7-workspace-body { animation: v7Fade .2s ease; }
@keyframes v7Fade { from { opacity: .25; transform: translateY(4px); } }
.v7-property-stats { margin-bottom: 18px; }

.v7-lifecycle { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; margin-top: 16px; }
.v7-lifecycle > div { position: relative; display: grid; gap: 5px; padding: 0 12px 14px 0; }
.v7-lifecycle > div::before { position: absolute; top: 16px; right: 0; left: 30px; height: 2px; background: var(--line); content: ""; }
.v7-lifecycle > div:last-child::before { display: none; }
.v7-lifecycle > div > span { position: relative; z-index: 1; display: grid; width: 32px; height: 32px; place-items: center; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-faint); }
.v7-lifecycle > div.done > span { border-color: var(--brand); background: var(--brand); color: #fff; }
.v7-lifecycle > div.done::before { background: var(--brand); }
.v7-lifecycle svg { width: 15px; }
.v7-lifecycle strong { margin-top: 4px; font-size: .76rem; }
.v7-lifecycle small { color: var(--ink-soft); font-size: .68rem; }
.v7-vacancy-callout { display: flex; align-items: center; gap: 13px; margin-top: 15px; padding: 14px; border-radius: 14px; background: var(--warning-soft); color: #6e4b16; }
.v7-vacancy-callout > svg { width: 23px; }
.v7-vacancy-callout span { display: grid; gap: 3px; }
.v7-vacancy-callout small { line-height: 1.4; }

.v7-fact-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 15px 0; }
.v7-fact-grid.compact { grid-template-columns: repeat(2,minmax(0,1fr)); }
.v7-fact-grid > div { display: grid; gap: 8px; min-height: 78px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfa; }
.v7-fact-grid span { display: flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: .68rem; font-weight: 700; }
.v7-fact-grid svg { width: 15px; color: var(--brand); }
.v7-fact-grid strong { font-size: .83rem; line-height: 1.35; overflow-wrap: anywhere; }
.v7-custom-fields { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.v7-custom-fields span { display: grid; gap: 2px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); }
.v7-custom-fields small { color: var(--ink-soft); font-size: .64rem; }
.v7-custom-fields strong { font-size: .77rem; }
.v7-folder-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 12px 0; }
.v7-folder-summary > span { display: grid; min-height: 88px; place-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 13px; text-align: center; }
.v7-folder-summary svg { width: 20px; color: var(--brand); }
.v7-folder-summary strong { font-size: 1.35rem; }
.v7-folder-summary small { color: var(--ink-soft); font-size: .65rem; }
.v7-doc-feature { display: grid; grid-template-columns: 34px minmax(0,1fr) 18px; gap: 10px; align-items: center; width: 100%; margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: #fff; text-align: left; cursor: pointer; }
.v7-doc-feature:hover { border-color: var(--brand); }
.v7-doc-feature > svg:first-child { width: 20px; color: var(--brand); }
.v7-doc-feature > svg:last-child { width: 15px; }
.v7-doc-feature span { display: grid; gap: 3px; }
.v7-doc-feature small { color: var(--ink-soft); font-size: .68rem; }

.v7-tenancy-list { display: grid; gap: 14px; }
.v7-tenancy-card { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.v7-tenancy-card.current { border-color: rgba(46,118,88,.32); box-shadow: inset 4px 0 var(--success); }
.v7-tenancy-top { display: flex; justify-content: space-between; gap: 20px; }
.v7-tenancy-top h3 { margin: 8px 0 4px; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.v7-tenancy-top p { color: var(--ink-soft); }
.v7-tenancy-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 16px 0; }
.v7-tenancy-facts span { display: grid; gap: 3px; padding: 10px; border-radius: 11px; background: var(--surface-2); }
.v7-tenancy-facts small { color: var(--ink-soft); font-size: .66rem; }
.v7-tenancy-facts strong { font-size: .8rem; }
.v7-tenancy-actions { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 14px; border-top: 1px solid var(--line); }
.v7-notice-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 14px 0; }
.v7-notice-grid div { display: grid; gap: 5px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.v7-notice-grid span { color: var(--ink-soft); font-size: .65rem; }
.v7-notice-grid strong { font-size: .8rem; }
.v7-check-list { display: grid; gap: 10px; padding: 0; list-style: none; color: var(--ink-soft); font-size: .79rem; }
.v7-check-list li { display: flex; align-items: center; gap: 8px; }
.v7-check-list svg { width: 16px; color: var(--success); }

.v7-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.v7-toolbar.compact { align-items: center; }
.v7-toolbar h2 { margin: 3px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 500; }
.v7-period { display: inline-flex; }
.v7-period button { cursor: pointer; }
.v7-kpi { display: grid; min-height: 112px; align-content: end; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.v7-kpi-label { color: var(--ink-faint); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.v7-kpi strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 500; }
.v7-kpi span { color: var(--ink-soft); font-size: .68rem; }
.v7-kpi.positive { background: var(--success-soft); }
.v7-kpi.negative { background: var(--accent-soft); }
.v7-table-heading { margin-top: 28px; }
.v7-table-wrap { overflow-x: auto; }
.v7-table { width: 100%; border-collapse: collapse; }
.v7-table th { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-faint); font-size: .65rem; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.v7-table td { padding: 12px; border-bottom: 1px solid var(--line); font-size: .75rem; vertical-align: middle; }
.v7-table td strong,.v7-table td small { display: block; }
.v7-table td small { margin-top: 3px; color: var(--ink-soft); font-size: .66rem; }
.v7-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.v7-table .income { color: var(--success); font-weight: 800; }
.v7-table .expense { color: var(--danger); font-weight: 800; }
.v7-category-list { display: grid; gap: 14px; margin-top: 14px; }
.v7-category-list > div { display: grid; grid-template-columns: minmax(0,1fr) 56px; gap: 7px 10px; align-items: center; }
.v7-category-list span { display: flex; justify-content: space-between; gap: 10px; }
.v7-category-list small { color: var(--ink-soft); }
.v7-category-list i { height: 6px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.v7-category-list b { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.v7-category-list em { grid-column: 2; grid-row: 1 / 3; color: var(--ink-soft); font-size: .68rem; font-style: normal; text-align: right; }
.v7-ranking { display: grid; gap: 5px; }
.v7-ranking button { display: grid; grid-template-columns: minmax(0,1fr) 60px; gap: 8px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.v7-ranking button > span { display: grid; grid-template-columns: 22px 1fr; gap: 2px 8px; }
.v7-ranking em { display: grid; grid-row: 1 / 3; width: 22px; height: 22px; place-items: center; border-radius: 999px; background: var(--surface-2); font-size: .65rem; font-style: normal; }
.v7-ranking small { color: var(--ink-soft); font-size: .65rem; }
.v7-ranking i { grid-column: 1 / -1; height: 4px; border-radius: 999px; background: var(--surface-2); }
.v7-ranking b { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.v7-ranking > button > strong { grid-column: 2; grid-row: 1; text-align: right; }

.v7-task-list { display: grid; gap: 12px; }
.v7-task-card { display: grid; grid-template-columns: 48px minmax(0,1fr) 130px; gap: 16px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.v7-task-card.blocking { border-left: 4px solid var(--warning); }
.v7-task-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.v7-task-icon svg { width: 22px; }
.v7-task-main h3 { margin: 8px 0 5px; }
.v7-task-main p { margin-bottom: 10px; color: var(--ink-soft); font-size: .78rem; line-height: 1.5; }
.v7-task-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; color: var(--ink-soft); font-size: .67rem; }
.v7-task-meta span { display: inline-flex; align-items: center; gap: 5px; }
.v7-task-meta svg { width: 14px; color: var(--brand); }
.v7-task-cost { display: grid; justify-items: end; gap: 4px; text-align: right; }
.v7-task-cost small { color: var(--ink-soft); font-size: .65rem; }
.v7-task-cost strong { font-size: 1rem; }
.v7-task-cost .icon-button { margin-top: 8px; }

.v7-document-list { display: grid; }
.v7-document-row { display: grid; grid-template-columns: 46px minmax(0,1fr) minmax(120px,.5fr) 18px; gap: 13px; align-items: center; width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.v7-document-row:hover .v7-doc-copy strong { color: var(--brand); }
.v7-doc-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 13px; background: var(--brand-soft); color: var(--brand); }
.v7-doc-icon svg { width: 21px; }
.v7-doc-copy,.v7-doc-status { display: grid; gap: 4px; min-width: 0; }
.v7-doc-copy strong,.v7-doc-copy small,.v7-doc-status small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v7-doc-copy small,.v7-doc-status small { color: var(--ink-soft); font-size: .67rem; }
.v7-doc-status { justify-items: start; }
.v7-document-row > svg { width: 16px; color: var(--ink-faint); }
.v7-contract-callout { position: relative; overflow: hidden; background: linear-gradient(145deg,var(--brand-strong),#173f34); color: #fff; }
.v7-contract-callout::after { position: absolute; right: -60px; bottom: -90px; width: 190px; height: 190px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; content: ""; }
.v7-contract-callout .v7-callout-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 28px; border: 1px solid rgba(255,255,255,.24); border-radius: 15px; }
.v7-contract-callout .v7-callout-icon svg { width: 23px; }
.v7-contract-callout p { color: rgba(255,255,255,.74); line-height: 1.55; }
.v7-contract-callout small { display: block; margin-top: 12px; color: rgba(255,255,255,.58); }
.v7-contract-callout .button { position: relative; z-index: 2; background: #fff; color: var(--brand-strong); }
.v7-document-preview { display: grid; justify-items: center; padding: 10px 0; text-align: center; }
.v7-document-preview > svg { width: 54px; height: 54px; margin-bottom: 14px; color: var(--brand); }
.v7-document-preview > p { color: var(--ink-soft); }
.v7-document-preview .v7-fact-grid { width: 100%; text-align: left; }

.v7-report-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.v7-report-card { display: grid; grid-template-columns: 150px minmax(0,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: var(--shadow-sm); }
.v7-report-cover { display: grid; align-content: space-between; justify-items: start; padding: 20px; background: linear-gradient(145deg,var(--brand-strong),#1f6054); color: #fff; }
.v7-report-cover > svg { width: 44px; height: 44px; }
.v7-report-copy { padding: 20px; }
.v7-report-copy h3 { margin: 4px 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.v7-report-copy p { color: var(--ink-soft); font-size: .76rem; line-height: 1.5; }
.v7-report-facts { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; margin: 14px 0; }
.v7-report-facts span { display: grid; gap: 3px; padding: 8px; border-radius: 10px; background: var(--surface-2); }
.v7-report-facts small { color: var(--ink-soft); font-size: .6rem; }
.v7-report-facts strong { font-size: .76rem; }

.v7-editor-header { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: end; margin-bottom: 18px; }
.v7-editor-header .v7-back { grid-column: 1 / -1; }
.v7-editor-header h1 { margin: 4px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem,4vw,3rem); font-weight: 500; }
.v7-editor-header p { margin: 0; color: var(--ink-soft); }
.v7-inspection-meta { margin-bottom: 16px; }
.v7-inspection-meta .grid + .grid,.v7-inspection-meta .grid + .field { margin-top: 12px; }
.v7-comparison-panel { overflow: hidden; }
.v7-comparison-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 22px; border-bottom: 1px solid var(--line); }
.v7-comparison-toolbar h2 { margin: 3px 0 0; }
.v7-comparison-table { width: 100%; min-width: 980px; border-collapse: collapse; }
.v7-comparison-table th { padding: 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); color: var(--ink-faint); font-size: .66rem; text-align: left; text-transform: uppercase; }
.v7-comparison-table td { width: 27%; padding: 11px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); vertical-align: top; }
.v7-comparison-table td:first-child { width: 19%; }
.v7-comparison-table td:last-child { border-right: 0; }
.v7-comparison-table tr.changed { background: #fffaf1; }
.v7-comparison-table td > strong,.v7-comparison-table td > small { display: block; }
.v7-comparison-table td > small { margin-top: 3px; color: var(--ink-soft); }
.v7-comparison-table select,.v7-comparison-table textarea,.v7-comparison-table input { width: 100%; margin-bottom: 6px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: .71rem; }
.v7-comparison-table .text-button { font-size: .68rem; }
.v7-comparison-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 16px 22px; }

.v7-key-handover-list { display: grid; gap: 8px; margin: 14px 0; }
.v7-key-handover-list > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; }
.v7-key-handover-list span { display: grid; gap: 2px; }
.v7-key-handover-list small { color: var(--ink-soft); }
.v7-key-handover-list label { display: flex; align-items: center; gap: 7px; font-size: .72rem; }
.v7-key-handover-list input { width: 76px; }

.v7-funnel-detailed { display: grid; gap: 8px; margin: 18px 0; }
.v7-funnel-detailed > div { position: relative; display: grid; grid-template-columns: minmax(100px,1fr) 55px 48px; gap: 10px; align-items: center; min-height: 31px; overflow: hidden; padding: 0 9px; border-radius: 8px; background: var(--surface-2); }
.v7-funnel-detailed > div > span { position: absolute; inset: 0 auto 0 0; min-width: 8%; background: linear-gradient(90deg,rgba(28,85,92,.16),rgba(28,85,92,.03)); }
.v7-funnel-detailed strong,.v7-funnel-detailed em,.v7-funnel-detailed small { position: relative; z-index: 1; }
.v7-funnel-detailed strong { font-size: .72rem; }
.v7-funnel-detailed em { font-style: normal; font-weight: 800; text-align: right; }
.v7-funnel-detailed small { color: var(--ink-soft); text-align: right; }
.v7-history-timeline { position: relative; display: grid; gap: 0; }
.v7-history-timeline::before { position: absolute; top: 15px; bottom: 15px; left: 21px; width: 1px; background: var(--line); content: ""; }
.v7-history-timeline article { position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 14px; padding: 12px 0; }
.v7-history-timeline article > span { z-index: 1; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--brand); }
.v7-history-timeline article > span svg { width: 18px; }
.v7-history-timeline time { color: var(--ink-faint); font-size: .66rem; }
.v7-history-timeline h3 { margin: 4px 0; font-size: .87rem; }
.v7-history-timeline p { margin: 0; color: var(--ink-soft); font-size: .72rem; }

.v7-tenant-hero { display: grid; grid-template-columns: 37% minmax(0,1fr); overflow: hidden; margin-bottom: 18px; border-radius: 24px; background: linear-gradient(145deg,var(--brand-strong),#173f34); color: #fff; box-shadow: var(--shadow-md); }
.v7-tenant-hero > span { min-height: 330px; background-position: center; background-size: cover; }
.v7-tenant-hero > div { align-self: center; padding: 34px; }
.v7-tenant-hero h2 { margin: 12px 0 5px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem,4vw,3rem); font-weight: 500; }
.v7-tenant-hero p { color: rgba(255,255,255,.72); }
.v7-tenant-quick { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-top: 26px; }
.v7-tenant-quick span { display: grid; gap: 5px; padding: 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 13px; background: rgba(255,255,255,.05); }
.v7-tenant-quick small { color: rgba(255,255,255,.63); font-size: .65rem; }
.v7-tenant-quick strong { font-size: .8rem; }
.v7-tenant-task { display: grid; grid-template-columns: 35px 1fr; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.v7-tenant-task > span { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.v7-tenant-task svg { width: 16px; }
.v7-tenant-task div { display: grid; gap: 3px; }
.v7-tenant-task small { color: var(--ink-soft); font-size: .67rem; }

.v7-ops-timeline { display: grid; }
.v7-ops-timeline article { display: grid; grid-template-columns: 92px 36px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.v7-ops-timeline time { color: var(--ink-soft); font-size: .7rem; }
.v7-ops-timeline article > span:nth-child(2) { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: var(--surface-2); color: var(--brand); }
.v7-ops-timeline svg { width: 17px; }
.v7-ops-timeline article > div { display: grid; gap: 3px; }
.v7-ops-timeline small { color: var(--ink-soft); font-size: .68rem; }

.v7-editor-header.contract { position: relative; }
.v7-contract-progress { height: 5px; margin: -5px 0 18px; overflow: hidden; border-radius: 999px; background: var(--surface-3); }
.v7-contract-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--brand),var(--success)); transition: width .25s ease; }
.v7-contract-layout { display: grid; grid-template-columns: 228px minmax(0,1fr) 286px; gap: 18px; align-items: start; }
.v7-contract-steps { position: sticky; top: calc(var(--topbar) + 18px); display: grid; gap: 4px; padding: 7px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm); }
.v7-contract-steps button { display: grid; grid-template-columns: 30px minmax(0,1fr) 15px; gap: 9px; align-items: center; padding: 10px; border: 0; border-radius: 11px; background: transparent; color: var(--ink-soft); text-align: left; cursor: pointer; }
.v7-contract-steps button.active { background: var(--brand); color: #fff; }
.v7-contract-steps button > span { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid currentColor; border-radius: 999px; font-size: .7rem; }
.v7-contract-steps strong { font-size: .73rem; }
.v7-contract-steps svg { width: 14px; }
.v7-contract-layout > main { min-width: 0; }
.v7-contract-layout > aside { position: sticky; top: calc(var(--topbar) + 18px); display: grid; gap: 14px; }
.v7-contract-section { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); }
.v7-contract-section-title { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.v7-contract-section-title > span { display: grid; min-width: 52px; height: 52px; place-items: center; border-radius: 15px; background: var(--brand); color: #fff; font-family: Georgia,serif; font-size: 1rem; }
.v7-contract-section-title h2 { margin: 0 0 3px; font-family: Georgia,"Times New Roman",serif; font-size: 1.8rem; font-weight: 500; }
.v7-contract-section-title p { margin: 0; color: var(--ink-soft); font-size: .75rem; }
.v7-contract-section .grid { margin-bottom: 13px; }
.v7-contract-section .grid.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.v7-contract-section .field label em { color: var(--danger); font-style: normal; }
.v7-contract-subhead { display: flex; align-items: center; gap: 10px; margin: 24px 0 12px; }
.v7-contract-subhead > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.v7-contract-subhead svg { width: 17px; }
.v7-contract-subhead div { display: grid; gap: 2px; }
.v7-contract-subhead small { color: var(--ink-soft); font-size: .66rem; }
.v7-check-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-bottom: 13px; }
.v7-check-field { position: relative; display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 2px 9px; align-items: center; min-height: 62px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.v7-check-field input { position: absolute; opacity: 0; }
.v7-check-field > span { display: grid; grid-row: 1 / 3; width: 28px; height: 28px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: transparent; }
.v7-check-field input:checked + span { border-color: var(--brand); background: var(--brand); color: #fff; }
.v7-check-field svg { width: 15px; }
.v7-check-field strong { font-size: .72rem; }
.v7-check-field small { color: var(--ink-soft); font-size: .61rem; line-height: 1.3; }
.v7-contract-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.v7-contract-nav > span { color: var(--ink-soft); font-size: .68rem; text-align: center; }
.v7-contract-summary h3 { margin: 6px 0 3px; font-family: Georgia,serif; font-size: 1.35rem; }
.v7-contract-summary p { color: var(--ink-soft); font-size: .72rem; }
.v7-signature-cards { margin: 16px 0; }
.v7-signature-cards article { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
.v7-signature-cards article.signed { border-color: rgba(46,118,88,.35); background: var(--success-soft); }
.v7-signature-cards article > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: var(--surface-2); color: var(--brand); }
.v7-signature-cards article > span svg { width: 22px; }
.v7-signature-cards h3 { margin: 3px 0; }
.v7-signature-cards p { margin: 0; color: var(--ink-soft); font-size: .7rem; }
.v7-signature-cards .button { grid-column: 1 / -1; }
.v7-pdf-card { display: grid; grid-template-columns: 92px minmax(0,1fr) auto; gap: 18px; align-items: center; margin-top: 22px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg,#f9faf7,#eef3ef); }
.v7-pdf-cover { display: grid; width: 78px; height: 104px; place-items: center; border-radius: 8px; background: #fff; color: var(--danger); font-family: Georgia,serif; font-size: 1.4rem; box-shadow: 0 8px 22px rgba(20,42,48,.12); }
.v7-pdf-cover small { display: block; color: var(--ink-soft); font-family: Inter,sans-serif; font-size: .58rem; }
.v7-pdf-card h3 { margin: 3px 0 5px; }
.v7-pdf-card p { color: var(--ink-soft); font-size: .73rem; line-height: 1.5; }
.v7-pdf-actions { display: grid; gap: 8px; }

.v7-signature-box { display: grid; gap: 14px; }
.v7-consent { display: flex; gap: 9px; align-items: flex-start; padding: 11px; border-radius: 12px; background: var(--surface-2); color: var(--ink-soft); font-size: .72rem; }
.v7-canvas-wrap { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.v7-canvas-wrap canvas { display: block; width: 100%; height: 210px; touch-action: none; cursor: crosshair; }
.v7-canvas-wrap > span { position: absolute; right: 14px; bottom: 10px; color: var(--ink-faint); font-size: .64rem; pointer-events: none; }
.v7-custom-edit-row { display: grid; grid-template-columns: 1fr 1fr 40px; gap: 8px; margin-bottom: 8px; }

.v7-empty-inline,.empty-inline { padding: 14px; border: 1px dashed var(--line); border-radius: 12px; color: var(--ink-soft); font-size: .75rem; text-align: center; }

@media (max-width: 1240px) {
  .v7-command-strip { grid-template-columns: repeat(3,1fr); }
  .v7-command-strip button:nth-child(3) { border-right: 0; }
  .v7-command-strip button:nth-child(n+4) { border-top: 1px solid var(--line); }
  .v7-contract-layout { grid-template-columns: 205px minmax(0,1fr); }
  .v7-contract-layout > aside { position: static; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .v7-property-copy { grid-template-columns: minmax(150px,.8fr) minmax(0,1.5fr); }
  .v7-report-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .v7-command-strip { grid-template-columns: repeat(2,1fr); }
  .v7-command-strip button:nth-child(2n) { border-right: 0; }
  .v7-command-strip button:nth-child(3) { border-right: 1px solid var(--line); }
  .v7-command-strip button:nth-child(n+3) { border-top: 1px solid var(--line); }
  .v7-property-record { grid-template-columns: 94px minmax(0,1fr) 28px; }
  .v7-property-copy { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .v7-record-grid { grid-template-columns: 1fr 1fr; }
  .v7-workspace-hero { grid-template-columns: 1fr; align-items: start; }
  .v7-workspace-title { align-items: flex-start; }
  .v7-workspace-photo { width: 76px; height: 76px; }
  .v7-workspace-hero .page-actions { justify-self: start; }
  .v7-fact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v7-lifecycle { grid-template-columns: 1fr; gap: 7px; }
  .v7-lifecycle > div { grid-template-columns: 32px 1fr; padding: 0; }
  .v7-lifecycle > div::before { top: 31px; bottom: -8px; left: 15px; width: 2px; height: auto; }
  .v7-lifecycle > div strong { grid-column: 2; grid-row: 1; margin: 4px 0 0; }
  .v7-lifecycle > div small { grid-column: 2; }
  .v7-notice-grid { grid-template-columns: repeat(2,1fr); }
  .v7-tenancy-facts { grid-template-columns: repeat(2,1fr); }
  .v7-task-card { grid-template-columns: 42px minmax(0,1fr); }
  .v7-task-cost { grid-column: 2; grid-template-columns: repeat(3,auto); justify-content: start; justify-items: start; align-items: center; gap: 10px; text-align: left; }
  .v7-document-row { grid-template-columns: 42px minmax(0,1fr) 18px; }
  .v7-doc-status { grid-column: 2; }
  .v7-document-row > svg { grid-column: 3; grid-row: 1 / 3; }
  .v7-report-card { grid-template-columns: 110px minmax(0,1fr); }
  .v7-editor-header { grid-template-columns: 1fr; align-items: start; }
  .v7-contract-layout { grid-template-columns: 1fr; }
  .v7-contract-steps { position: static; display: flex; overflow-x: auto; }
  .v7-contract-steps button { flex: 0 0 auto; min-width: 150px; }
  .v7-contract-layout > aside { grid-template-columns: 1fr; }
  .v7-contract-section .grid.four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v7-check-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v7-pdf-card { grid-template-columns: 78px minmax(0,1fr); }
  .v7-pdf-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .v7-tenant-hero { grid-template-columns: 1fr; }
  .v7-tenant-hero > span { min-height: 220px; }
  .v7-tenant-quick { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 620px) {
  .v7-command-strip { grid-template-columns: 1fr 1fr; border-radius: 17px; }
  .v7-command-strip button { min-height: 105px; padding: 17px; }
  .v7-command-strip button > span { top: 12px; right: 12px; width: 32px; height: 32px; }
  .v7-command-strip strong { font-size: 1.35rem; }
  .v7-property-record { grid-template-columns: 82px minmax(0,1fr) 24px; }
  .v7-property-image { min-height: 134px; }
  .v7-record-grid { grid-template-columns: 1fr; gap: 5px; }
  .v7-record-grid > span:nth-child(n+3) { display: none; }
  .v7-workspace-title { flex-direction: column; }
  .v7-workspace-title h1 { font-size: 2rem; }
  .v7-workspace-tabs button span { display: none; }
  .v7-workspace-tabs button { padding: 10px; }
  .v7-workspace-tabs em { position: absolute; transform: translate(10px,-10px); }
  .v7-fact-grid,.v7-fact-grid.compact { grid-template-columns: 1fr 1fr; }
  .v7-notice-grid { grid-template-columns: 1fr 1fr; }
  .v7-toolbar { align-items: stretch; flex-direction: column; }
  .v7-toolbar .page-actions { justify-content: flex-start; }
  .v7-period { width: 100%; overflow-x: auto; }
  .v7-chart { gap: 4px; }
  .v7-chart-col small { font-size: .55rem; }
  .v7-tenancy-facts { grid-template-columns: 1fr 1fr; }
  .v7-report-card { grid-template-columns: 1fr; }
  .v7-report-cover { min-height: 92px; grid-template-columns: 1fr auto; align-items: center; }
  .v7-report-facts { grid-template-columns: 1fr 1fr; }
  .v7-task-card { grid-template-columns: 36px minmax(0,1fr); padding: 13px; }
  .v7-task-icon { width: 36px; height: 36px; }
  .v7-task-cost { grid-template-columns: 1fr 1fr; }
  .v7-ops-timeline article { grid-template-columns: 72px 32px minmax(0,1fr); }
  .v7-ops-timeline article > .badge { grid-column: 3; justify-self: start; }
  .v7-contract-section { padding: 18px; }
  .v7-contract-section-title { align-items: flex-start; }
  .v7-contract-section-title > span { min-width: 44px; height: 44px; }
  .v7-contract-section .grid.four,.v7-check-grid { grid-template-columns: 1fr; }
  .v7-contract-nav > span { display: none; }
  .v7-pdf-card { grid-template-columns: 1fr; }
  .v7-pdf-actions { grid-template-columns: 1fr; }
  .v7-tenant-hero > div { padding: 22px; }
  .v7-tenant-quick { grid-template-columns: 1fr 1fr; }
  .v7-custom-edit-row { grid-template-columns: 1fr 40px; }
  .v7-custom-edit-row input:nth-child(2) { grid-column: 1; }
  .v7-custom-edit-row button { grid-column: 2; grid-row: 1 / 3; }
}

@media print {
  .topbar,.sidebar,.mobile-nav,.v7-editor-header .page-actions,.v7-back,.v7-workspace-tabs,.v7-comparison-footer,.toast-root { display: none !important; }
  .main-content { margin: 0 !important; padding: 0 !important; }
  .v7-comparison-panel,.v7-inspection-meta { border: 0 !important; box-shadow: none !important; }
  .v7-comparison-table { min-width: 0; font-size: 8pt; }
  .v7-comparison-table select,.v7-comparison-table textarea,.v7-comparison-table input { border: 0; padding: 0; appearance: none; }
  body { background: #fff; }
}

/* V36 · typed upload metadata and finance documentation */
.v36-document-meta,
.v36-metadata-summary {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #d9e2dc;
  border-radius: 14px;
  background: #f7faf8;
}

.v36-document-meta[hidden] { display: none !important; }

.v36-meta-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v36-meta-heading > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 10px;
  background: #e5f1eb;
  color: var(--brand-dark);
}

.v36-meta-heading svg { width: 18px; height: 18px; }
.v36-meta-heading div { display: grid; gap: 2px; }
.v36-meta-heading strong { color: var(--ink); font-size: 14px; }
.v36-meta-heading small { color: var(--ink-soft); font-size: 12px; line-height: 1.4; }
.v36-metadata-summary { margin-top: 18px; text-align: left; }
.v36-metadata-summary .v7-fact-grid { margin-top: 0; }

.v9-business-kpis .v9-kpi.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(24, 111, 82, .12);
}

.v17-image-preview {
  display: grid;
  aspect-ratio: auto;
  overflow: hidden;
  background: #fff;
}

.v17-image-preview::after { display: none; }
.v17-image-preview > img { aspect-ratio: 4 / 3; }
.v17-image-preview-meta {
  position: static;
  padding: 11px;
  color: var(--ink);
  background: #fff;
}

.v17-image-preview-meta > span { color: var(--ink-soft); }
.v17-image-preview-meta label { display: grid; gap: 4px; margin-top: 9px; }
.v17-image-preview-meta label span { color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.v17-image-preview-meta input { min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid #d5ddd8; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 12px; }
.v17-image-preview-meta input:focus { border-color: var(--brand); outline: 3px solid rgba(24, 111, 82, .12); }

/* GoLeje V48 · compact, readable calendar agenda */
.calendar-agenda {
  padding: 20px;
  border-color: #dcd8cf;
  border-radius: 18px;
  background: rgba(255, 254, 250, .96);
}

.calendar-agenda > .section-header {
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 0 2px;
}

.calendar-agenda > .section-header h2 { margin-bottom: 3px; }
.calendar-agenda > .section-header .section-subtitle { margin: 0; font-size: 12px; }

.agenda-count {
  display: inline-flex;
  min-height: 32px;
  align-items: baseline;
  gap: 4px;
  padding: 7px 10px;
  border: 1px solid #d8e3dd;
  border-radius: 999px;
  background: #f0f5f2;
  color: #416154;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.agenda-count strong { color: #244c3c; font-size: 13px; }

.appointment-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #e6e2d9;
}

.appointment-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.appointment-card-hit {
  position: absolute;
  z-index: 1;
  inset: 4px 0;
  border: 0;
  border-radius: 13px;
  background: transparent;
  cursor: pointer;
  transition: background-color .16s ease, box-shadow .16s ease;
}

.appointment-card-hit:hover { background: #f3f7f4; }
.appointment-card-hit:active { background: #eaf2ed; }
.appointment-card-hit:focus-visible { outline: 3px solid rgba(32, 91, 73, .28); outline-offset: 1px; }
.appointment-card > .appointment-date,
.appointment-card > .appointment-copy { position: relative; z-index: 2; pointer-events: none; }

.appointment-list .appointment-card + .appointment-card { border-top: 1px solid #e6e2d9; }
.appointment-card.status-cancelled,
.appointment-card.status-no_show { background: transparent; }
.appointment-type-icon { display: none; }

.appointment-date {
  display: grid;
  width: 58px;
  min-height: 72px;
  place-content: center;
  padding: 7px 4px;
  border: 0;
  border-radius: 13px;
  background: #f0ede6;
  color: #24302b;
  text-align: center;
}

.appointment-date strong { font-size: 24px; line-height: .95; }
.appointment-date span {
  margin-top: 5px;
  color: #68716c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
}
.appointment-date small {
  margin-top: 8px;
  color: #2e3e37;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
}

.appointment-copy { min-width: 0; }
.appointment-kicker-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}
.appointment-kicker-row .appointment-type-label {
  color: #355d4e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
}
.appointment-kicker-row .badge {
  min-height: 22px;
  margin-left: auto;
  padding: 3px 8px;
  font-size: 9px;
  white-space: nowrap;
}
.appointment-kicker-row .badge svg { width: 12px; height: 12px; }
.appointment-copy h3 { margin: 5px 0 8px; color: #1f2723; font-size: 16px; line-height: 1.25; }
.appointment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: #68706c;
  font-size: 12px;
  line-height: 1.35;
}
.appointment-meta span { display: inline-flex; min-width: 0; align-items: center; gap: 5px; }
.appointment-meta svg { width: 15px; height: 15px; flex: 0 0 auto; color: #3d5d50; }
.appointment-meta .appointment-time { color: #364840; font-weight: 700; }
.appointment-copy p {
  display: -webkit-box;
  margin: 9px 0 0;
  overflow: hidden;
  color: #737a76;
  font-size: 12px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.appointment-actions {
  position: relative;
  z-index: 3;
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  margin-top: -5px;
  pointer-events: none;
}
.appointment-actions button { pointer-events: auto; }
.appointment-open-cue {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 5px;
  color: #315849;
  font-size: 11px;
  font-weight: 750;
}
.appointment-open-cue svg { width: 15px; height: 15px; }
.appointment-open,
.appointment-cv {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #315849;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
.appointment-open:hover,
.appointment-cv:hover { background: #edf3ef; color: #173f31; }
.appointment-open:focus-visible,
.appointment-cv:focus-visible { outline: 3px solid rgba(32, 91, 73, .2); outline-offset: 2px; }
.appointment-open svg,
.appointment-cv svg { width: 15px; height: 15px; }

.next-appointment-card .appointment-list { border-top: 0; }
.next-appointment-card .appointment-card {
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 12px 0 0;
}
.next-appointment-card .appointment-actions {
  grid-column: 2;
  justify-content: flex-start;
}

@media (max-width: 640px) {
  .calendar-agenda { padding: 16px; }
  .appointment-card { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 0; }
  .appointment-date { width: 52px; min-height: 68px; }
  .appointment-actions { grid-column: 2; justify-content: flex-start; }
  .appointment-open,
  .appointment-cv { min-height: 36px; padding: 6px 8px 6px 0; }
  .appointment-kicker-row { align-items: flex-start; flex-wrap: wrap; }
  .appointment-kicker-row .badge { margin-left: 0; }
  .appointment-meta { display: grid; gap: 6px; }
}

/* GoLeje V42 · struktureret invitation og booking */
.v42-invite-modal,
.v42-booking-modal { max-width: 880px; }
.v42-invite-summary { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 14px 16px; border: 1px solid #d7e5dd; border-radius: 14px; background: #f6faf8; }
.v42-invite-summary h3,
.v42-window-heading h3 { margin: 2px 0 3px; }
.v42-invite-summary p,
.v42-window-heading p { margin: 0; color: var(--ink-soft); }
.v42-invite-basics { align-items: start; }
.v42-window-heading { display: flex; justify-content: space-between; gap: 18px; margin: 22px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.v42-viewing-window-list { display: grid; gap: 10px; }
.v42-viewing-window { display: grid; grid-template-columns: minmax(150px,1.35fr) minmax(112px,.8fr) minmax(112px,.8fr) 44px; gap: 10px; align-items: end; padding: 12px; border: 1px solid #d9e1dd; border-radius: 12px; background: #fbfcfb; }
.v42-viewing-window .field { min-width: 0; }
.v42-viewing-window input { min-height: 44px; }
.v42-date-field { position: relative; }
.v42-date-picker-button { display: grid; grid-template-columns: 22px minmax(0,1fr) 18px; align-items: center; gap: 9px; width: 100%; min-height: 52px; padding: 8px 11px; border: 1px solid #cfdad4; border-radius: 10px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.v42-date-picker-button:hover { border-color: #6b9c87; background: #f8fbf9; }
.v42-date-picker-button:focus-visible { outline: 3px solid rgba(34,112,82,.22); outline-offset: 2px; }
.v42-date-picker-button > svg { width: 20px; height: 20px; color: var(--brand); }
.v42-date-picker-button > span { display: grid; gap: 1px; min-width: 0; }
.v42-date-picker-button strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v42-date-picker-button small { color: var(--ink-soft); line-height: 1.25; }
.v42-calendar-popover { position: absolute; z-index: 80; top: calc(100% + 8px); left: 0; width: min(680px,calc(100vw - 64px)); padding: 14px; border: 1px solid #cbd8d1; border-radius: 14px; background: #fff; box-shadow: 0 18px 48px rgba(28,55,43,.18); }
.v42-calendar-popover[hidden] { display: none; }
.v42-calendar-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; color: var(--ink-soft); font-size: .82rem; }
.v42-calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.v42-calendar-legend i { width: 9px; height: 9px; border-radius: 50%; background: #dce9e2; }
.v42-calendar-legend i.busy { background: #d49a42; }
.v42-calendar-months { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.v42-calendar-month h4 { margin: 0 0 9px; text-transform: capitalize; }
.v42-calendar-weekdays,
.v42-calendar-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; }
.v42-calendar-weekdays { margin-bottom: 4px; color: var(--ink-soft); font-size: .72rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.v42-calendar-day,
.v42-calendar-blank { min-height: 42px; }
.v42-calendar-day { display: grid; place-items: center; align-content: center; gap: 0; padding: 3px 1px; border: 1px solid transparent; border-radius: 9px; background: #f5f8f6; color: var(--ink); cursor: pointer; }
.v42-calendar-day small { min-height: 10px; color: #8b5f20; font-size: .56rem; font-weight: 800; line-height: 1; }
.v42-calendar-day:hover:not(:disabled) { border-color: #63947e; background: #edf7f1; }
.v42-calendar-day.busy { border-color: #ead2ad; background: #fff8ed; }
.v42-calendar-day.selected { border-color: #257353; background: #257353; color: #fff; }
.v42-calendar-day.selected small { color: #fff; }
.v42-calendar-day:focus-visible { outline: 3px solid rgba(34,112,82,.25); outline-offset: 1px; }
.v42-calendar-day:disabled { color: #a1aaa5; background: #f7f7f6; cursor: not-allowed; opacity: .58; }
.v42-date-agenda { display: flex; align-items: flex-start; gap: 7px; margin-top: 7px; padding: 7px 9px; border-radius: 8px; background: #fff6e8; color: #76501c; }
.v42-date-agenda.free { background: #eef7f2; color: #286149; }
.v42-date-agenda > svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 1px; }
.v42-date-agenda > span { display: grid; gap: 2px; font-size: .76rem; }
.v42-date-agenda small { color: inherit; }
.v42-remove-window { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #e0d9d6; border-radius: 10px; background: #fff; color: #8c4138; cursor: pointer; }
.v42-remove-window:hover { border-color: #c78f87; background: #fff6f4; }
.v42-remove-window:focus-visible,
.v42-time-slot:focus-visible { outline: 3px solid rgba(34,112,82,.28); outline-offset: 2px; }
.v42-add-window { margin-top: 10px; min-height: 44px; }
.v42-slot-preview { display: flex; align-items: center; gap: 11px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #edf7f1; color: #215b45; }
.v42-slot-preview > svg { width: 22px; height: 22px; flex: 0 0 auto; }
.v42-slot-preview span { display: grid; gap: 2px; }
.v42-slot-preview small { color: #4b6f60; }
.v42-slot-preview.warning { background: #fff4e3; color: #79521e; }
.v42-slot-preview.warning small { color: #795f3b; }
.v42-form-error { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 13px 14px; border: 1px solid #e2aaa1; border-radius: 12px; background: #fff4f2; color: #8b3026; }
.v42-form-error[hidden] { display: none; }
.v42-form-error > svg { width: 20px; height: 20px; flex: 0 0 auto; }
.v42-form-error span { display: grid; gap: 3px; }
.v42-booking-intro { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; padding: 14px 16px; border-radius: 13px; background: #edf7f1; color: #174f3a; }
.v42-booking-intro > svg { width: 23px; height: 23px; flex: 0 0 auto; margin-top: 2px; }
.v42-booking-intro p { margin: 4px 0 0; color: #45695a; }
.v42-booking-date { padding: 15px; border: 1px solid #d9e1dd; border-radius: 14px; background: #fff; }
.v42-booking-date + .v42-booking-date { margin-top: 12px; }
.v42-booking-date > header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.v42-booking-date > header > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #e7f2ec; color: #226e52; }
.v42-booking-date > header > span svg { width: 20px; height: 20px; }
.v42-booking-date > header > div { display: grid; gap: 1px; }
.v42-booking-date > header small { color: var(--ink-soft); }
.v42-time-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(118px,1fr)); gap: 8px; }
.v42-time-slot { display: grid; gap: 1px; min-height: 72px; padding: 9px 12px; border: 1px solid #b9d3c5; border-radius: 11px; background: #f7fbf9; color: #174f3a; text-align: left; cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.v42-time-slot:hover:not(:disabled) { border-color: #337e60; background: #edf7f1; transform: translateY(-1px); }
.v42-time-slot strong { font-size: 1.02rem; }
.v42-time-slot span,
.v42-time-slot small { color: #547064; }
.v42-time-slot small { margin-top: 3px; font-weight: 700; }
.v42-time-slot:disabled { border-color: #ddd; background: #f3f3f2; color: #777; cursor: not-allowed; opacity: .72; }
.v42-time-slot:disabled span,
.v42-time-slot:disabled small { color: #777; }

@media (max-width: 700px) {
  .v42-invite-modal,
  .v42-booking-modal { max-width: none; }
  .v42-invite-basics { grid-template-columns: 1fr; }
  .v42-viewing-window { grid-template-columns: 1fr 1fr 44px; }
  .v42-viewing-window .field:first-child { grid-column: 1 / -1; }
  .v42-remove-window { grid-column: 3; grid-row: 2; }
  .v42-time-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v42-calendar-popover { width: min(620px,calc(100vw - 42px)); }
  .v42-calendar-months { grid-template-columns: 1fr; }
  .v42-calendar-months .v42-calendar-month:nth-child(2) { display: none; }
}

@media (max-width: 430px) {
  .v42-invite-summary { align-items: flex-start; }
  .v42-viewing-window { grid-template-columns: 1fr 1fr; }
  .v42-remove-window { grid-column: 1 / -1; grid-row: auto; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .v42-time-slot { transition: none; }
}

/* GoLeje V46 · ekstern kalendersynkronisering */
.v46-sync-modal { max-width: 900px; }
.v46-sync-hero { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 18px; padding: 17px; border: 1px solid #cfe0d7; border-radius: 15px; background: #f2f8f5; }
.v46-sync-hero-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; border-radius: 13px; background: #1f7051; color: #fff; }
.v46-sync-hero-icon svg { width: 24px; height: 24px; }
.v46-sync-hero h2 { margin: 2px 0 4px; }
.v46-sync-hero p { max-width: 680px; margin: 0; color: var(--ink-soft); }
.v46-provider-list { display: grid; gap: 11px; }
.v46-provider-card { overflow: hidden; border: 1px solid #d9e1dd; border-radius: 14px; background: #fff; }
.v46-provider-card > header { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: start; gap: 13px; padding: 15px; }
.v46-provider-card h3 { margin: 1px 0 3px; }
.v46-provider-card p { margin: 0; color: var(--ink-soft); }
.v46-provider-mark { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #dce3df; border-radius: 13px; background: #fff; color: #2d5d48; font-size: .88rem; font-weight: 900; letter-spacing: -.02em; }
.v46-provider-card.google .v46-provider-mark,
.v46-provider-mark.google { border-color: #cbd8f5; color: #2457a7; background: #f5f8ff; }
.v46-provider-card.microsoft .v46-provider-mark,
.v46-provider-mark.microsoft { border-color: #bcded8; color: #096a60; background: #f0fbf9; }
.v46-provider-card.ics .v46-provider-mark { border-color: #d8d2e8; color: #5b477d; background: #f8f6fc; }
.v46-provider-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 0 15px 14px 76px; }
.v46-provider-details span { display: grid; gap: 2px; padding: 9px 11px; border-radius: 9px; background: #f6f8f7; }
.v46-provider-details small { color: var(--ink-soft); }
.v46-provider-card > footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 11px 15px; border-top: 1px solid #e6ebe8; background: #fafbfa; }
.v46-privacy-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 15px; padding: 13px 15px; border-radius: 12px; background: #f6f7f6; }
.v46-privacy-note > svg { width: 21px; height: 21px; flex: 0 0 auto; color: #267052; }
.v46-privacy-note p { margin: 3px 0 0; color: var(--ink-soft); }
.v46-consent-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 17px; }
.v46-consent-head h3 { margin: 2px 0 3px; }
.v46-consent-head p { margin: 0; color: var(--ink-soft); }
.v46-sync-options { display: grid; gap: 9px; margin: 0; padding: 0; border: 0; }
.v46-sync-options legend { margin-bottom: 9px; font-weight: 800; }
.v46-sync-options label { display: grid; grid-template-columns: 22px minmax(0,1fr); align-items: start; gap: 10px; min-height: 62px; padding: 11px 12px; border: 1px solid #d9e1dd; border-radius: 11px; background: #fff; cursor: pointer; }
.v46-sync-options label:hover { border-color: #8eb3a2; background: #f8fbf9; }
.v46-sync-options input { width: 19px; height: 19px; margin-top: 2px; accent-color: #1f7051; }
.v46-sync-options label > span { display: grid; grid-template-columns: 21px minmax(0,1fr); gap: 2px 8px; }
.v46-sync-options label svg { width: 19px; height: 19px; color: #35745a; }
.v46-sync-options label strong { align-self: center; }
.v46-sync-options label small { grid-column: 2; color: var(--ink-soft); }
.v46-account-preview { display: flex; align-items: center; gap: 10px; margin: 13px 0; padding: 11px 12px; border-radius: 11px; background: #f3f7f5; }
.v46-account-preview > div { display: grid; gap: 1px; }
.v46-account-preview small { color: var(--ink-soft); }

@media (max-width: 700px) {
  .v46-sync-modal { max-width: none; }
  .v46-provider-card > header { grid-template-columns: 46px minmax(0,1fr); }
  .v46-provider-card > header > .badge { grid-column: 2; justify-self: start; }
  .v46-provider-details { grid-template-columns: 1fr; padding: 0 13px 13px; }
  .v46-provider-card > footer { justify-content: stretch; }
  .v46-provider-card > footer .button { flex: 1 1 100%; }
}

/* V40 · explainable trust states and multi-image demo galleries */
.v40-control-badge { max-width: 100%; white-space: normal; line-height: 1.25; text-align: left; }
.v40-image-signals { display: flex; min-width: 0; flex-wrap: wrap; gap: 7px; }
.v40-photo-count,
.v40-gallery-count { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; font-size: 12px; font-weight: 750; }
.v40-photo-count { padding: 6px 9px; background: rgba(18, 45, 38, .86); color: #fff; backdrop-filter: blur(8px); }
.v40-photo-count svg,
.v40-gallery-count svg { width: 14px; height: 14px; }

.v40-property-gallery .property-detail-hero { min-height: 420px; }
.v40-gallery-count { width: fit-content; margin-bottom: 8px; padding: 6px 10px; background: rgba(255,255,255,.94); color: #17372f; }
.v40-gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fit,minmax(118px,1fr)); gap: 8px; }
.v40-gallery-thumb { position: relative; min-width: 0; min-height: 96px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 10px; background: #e9eeeb; cursor: pointer; }
.v40-gallery-thumb img { width: 100%; height: 96px; object-fit: cover; transition: transform .18s ease; }
.v40-gallery-thumb span { position: absolute; right: 6px; bottom: 6px; left: 6px; overflow: hidden; padding: 4px 6px; border-radius: 6px; background: rgba(17,44,36,.84); color: #fff; font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.v40-gallery-thumb:hover img { transform: scale(1.035); }
.v40-gallery-thumb.active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(24,111,82,.14); }
.v40-gallery-thumb:focus-visible { outline: 3px solid #d69b5b; outline-offset: 2px; }

.v40-landlord-summary { align-items: flex-start; }
.v40-landlord-summary .eyebrow { display: block; margin-bottom: 3px; }
.v40-control-card { display: grid; gap: 16px; margin-top: 18px; padding: 18px; border: 1px solid #cddbd3; border-left: 5px solid #287658; border-radius: 14px; background: #f7faf8; }
.v40-control-card.basis,
.v40-control-card.pending { border-color: #e1d2b8; border-left-color: #ad772d; background: #fffaf2; }
.v40-control-heading { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 12px; align-items: start; }
.v40-control-heading > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #e0efe7; color: #176043; }
.v40-control-card.basis .v40-control-heading > span,
.v40-control-card.pending .v40-control-heading > span { background: #f5e9d5; color: #855a21; }
.v40-control-heading svg { width: 20px; height: 20px; }
.v40-control-heading h3 { margin: 2px 0 5px; font-size: 18px; }
.v40-control-heading p { max-width: 760px; margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.v40-control-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.v40-control-columns > div { padding: 13px; border: 1px solid #d8e2dc; border-radius: 10px; background: #fff; }
.v40-control-columns > div.missing { border-color: #e8d9c1; }
.v40-control-columns strong { font-size: 12px; letter-spacing: .03em; text-transform: uppercase; }
.v40-control-columns ul { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.v40-control-columns li { display: grid; grid-template-columns: 17px minmax(0,1fr); gap: 7px; align-items: start; color: #40534b; font-size: 13px; line-height: 1.4; }
.v40-control-columns li svg { width: 16px; height: 16px; color: #267253; }
.v40-control-columns .missing li svg { color: #9b6727; }
.v40-control-actor { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid #dce4df; }
.v40-control-actor > div { display: grid; gap: 1px; }
.v40-control-actor span:not(.avatar),
.v40-control-actor small,
.v40-table-subline { display: block; color: var(--ink-soft); font-size: 11px; }

@media (max-width: 680px) {
  .v40-property-gallery .property-detail-hero { min-height: 300px; }
  .v40-gallery-thumbs { display: flex; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; }
  .v40-gallery-thumb { min-width: 112px; flex: 0 0 112px; scroll-snap-align: start; }
  .v40-control-card { padding: 14px; }
  .v40-control-columns { grid-template-columns: 1fr; }
  .v40-control-heading { grid-template-columns: 36px minmax(0,1fr); }
  .v40-control-heading > span { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .v40-gallery-thumb img { transition: none; }
}

@media (max-width: 680px) {
  .v36-document-meta,
  .v36-metadata-summary { padding: 14px; }
  .v36-document-meta .grid.three,
  .v36-document-meta .grid.two { grid-template-columns: 1fr; }
}

.v7-signature-divider { display:flex; align-items:center; gap:14px; color:var(--muted); font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.12em; margin:2px 0; }
.v7-signature-divider::before,.v7-signature-divider::after { content:""; height:1px; flex:1; background:var(--line); }

.v7-fact-list { display:grid; gap:0; margin-top:14px; }
.v7-fact-list > div { display:grid; grid-template-columns:minmax(0,1fr) minmax(92px,auto); gap:16px; align-items:start; padding:10px 0; border-bottom:1px solid var(--line); }
.v7-fact-list > div:last-child { border-bottom:0; padding-bottom:0; }
.v7-fact-list span { color:var(--ink-soft); font-size:.75rem; line-height:1.35; }
.v7-fact-list strong { color:var(--ink); font-size:.78rem; line-height:1.35; text-align:right; overflow-wrap:anywhere; }

/* GoLeje V8 · underskrift, kommunikation og serviceøkosystem */
.role-switcher-four .role-button { padding-inline: 10px; }
.role-switcher-four .role-button span { max-width: 92px; white-space: nowrap; }

.v8-lifecycle-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--content-max);
  margin: 0 auto 18px;
}
.v8-lifecycle-rail.admin { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v8-lifecycle-rail > button,
.v8-tenant-command > button {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) 20px;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-sm);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.v8-lifecycle-rail > button:hover,
.v8-tenant-command > button:hover { transform: translateY(-2px); border-color: rgba(28,85,92,.42); box-shadow: var(--shadow-md); }
.v8-lifecycle-rail > button > span:first-child,
.v8-tenant-command > button > svg:first-child {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
}
.v8-lifecycle-rail strong,.v8-lifecycle-rail small,.v8-tenant-command strong,.v8-tenant-command small { display:block; }
.v8-lifecycle-rail strong,.v8-tenant-command strong { font-size:.9rem; }
.v8-lifecycle-rail small,.v8-tenant-command small { margin-top:3px; color:var(--ink-faint); font-size:.72rem; }
.v8-lifecycle-rail > button > svg:last-child,.v8-tenant-command > button > svg:last-child { color:var(--ink-faint); }
.v8-tenant-command { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:18px; }

.v8-signature-stats { margin-bottom: 16px; }
.v8-filter-tabs {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin: 0 0 14px;
  padding: 5px;
  width:max-content;
  max-width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.72);
}
.v8-filter-tabs button { border:0; border-radius:10px; background:transparent; padding:8px 12px; color:var(--ink-soft); font-size:.76rem; font-weight:750; cursor:pointer; }
.v8-filter-tabs button.active { background:var(--brand); color:#fff; box-shadow:0 6px 16px rgba(28,85,92,.18); }
.v8-signature-list,.v8-card-list { display:grid; gap:10px; }
.v8-signature-card {
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  width:100%;
  padding:14px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
  text-align:left;
  cursor:pointer;
  transition:.18s ease;
}
.v8-signature-card:hover { border-color:rgba(28,85,92,.42); box-shadow:var(--shadow-sm); transform:translateY(-1px); }
.v8-signature-card.needs-action { border-left:4px solid var(--accent); }
.v8-signature-card-icon,.v8-stream-icon {
  display:grid;
  width:44px;
  height:44px;
  place-items:center;
  border-radius:13px;
  background:var(--surface-2);
  color:var(--brand);
}
.v8-signature-card-icon.warning,.v8-stream-icon.warning { background:var(--warning-soft); color:var(--warning); }
.v8-signature-card-icon.success,.v8-stream-icon.success { background:var(--success-soft); color:var(--success); }
.v8-signature-card-icon.danger,.v8-stream-icon.danger { background:var(--danger-soft); color:var(--danger); }
.v8-signature-card-icon.blue,.v8-stream-icon.blue { background:var(--info-soft); color:var(--info); }
.v8-signature-card-copy { min-width:0; }
.v8-signature-card-copy > strong,.v8-signature-card-copy > small { display:block; }
.v8-signature-card-copy > strong { margin-top:7px; font-size:.93rem; }
.v8-signature-card-copy > small { margin-top:4px; color:var(--ink-faint); }
.v8-card-topline { display:flex; gap:10px; align-items:center; justify-content:space-between; }
.v8-card-topline time { color:var(--ink-faint); font-size:.7rem; }
.v8-signature-card-action { display:flex; gap:6px; align-items:center; color:var(--brand); font-size:.75rem; font-weight:800; }
.v8-signature-detail-grid { align-items:start; }
.v8-document-hero,.v8-sign-document-summary { display:flex; gap:14px; align-items:flex-start; }
.v8-document-icon,.v8-sign-document-summary > span {
  display:grid;
  flex:0 0 auto;
  width:48px;
  height:48px;
  place-items:center;
  border-radius:15px;
  background:var(--brand-soft);
  color:var(--brand);
}
.v8-document-hero h2,.v8-sign-document-summary h2 { margin:8px 0 4px; }
.v8-document-hero p,.v8-sign-document-summary p { margin:0; color:var(--ink-soft); }
.v8-document-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; overflow:hidden; margin:18px 0; border:1px solid var(--line); border-radius:14px; background:var(--line); }
.v8-document-facts > div { padding:12px; background:#fff; }
.v8-document-facts span,.v8-document-facts strong { display:block; }
.v8-document-facts span { color:var(--ink-faint); font-size:.68rem; text-transform:uppercase; letter-spacing:.08em; }
.v8-document-facts strong { margin-top:5px; font-size:.8rem; overflow-wrap:anywhere; }
.v8-document-facts.compact { grid-template-columns:repeat(2,minmax(0,1fr)); }
.v8-section-gap { margin-top:22px; }
.v8-signature-progress { display:grid; gap:8px; }
.v8-signer-step { display:flex; gap:12px; align-items:center; padding:12px; border:1px solid var(--line); border-radius:13px; background:var(--surface); }
.v8-step-index { display:grid; width:30px; height:30px; place-items:center; border-radius:50%; background:var(--surface-3); color:var(--ink-soft); font-weight:800; }
.v8-signer-step.signed .v8-step-index { background:var(--success); color:#fff; }
.v8-signer-step.rejected .v8-step-index { background:var(--danger); color:#fff; }
.v8-signer-step strong,.v8-signer-step small { display:block; }
.v8-signer-step small { margin-top:2px; color:var(--ink-faint); font-size:.7rem; }
.v8-sign-callout { display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:14px; align-items:center; margin-top:18px; padding:14px; border:1px solid rgba(231,132,98,.45); border-radius:15px; background:var(--accent-soft); }
.v8-sign-callout > span { display:grid; width:42px; height:42px; place-items:center; border-radius:12px; background:#fff; color:var(--accent); }
.v8-sign-callout p { margin:3px 0 0; color:var(--ink-soft); font-size:.78rem; }
.v8-identity-card { display:flex; gap:12px; align-items:center; padding:13px; margin:12px 0; border:1px solid var(--line); border-radius:14px; background:var(--surface-2); }
.v8-identity-card > span { display:grid; width:40px; height:40px; place-items:center; border-radius:12px; background:#fff; color:var(--brand); }
.v8-identity-card strong,.v8-identity-card small { display:block; }
.v8-identity-card small { margin-top:2px; color:var(--ink-faint); font-size:.7rem; }
.v8-audit-list,.v8-timeline { display:grid; gap:10px; }
.v8-audit-list > div,.v8-timeline > div { display:grid; grid-template-columns:34px minmax(0,1fr); gap:10px; }
.v8-audit-list > div > span,.v8-timeline > div > span { display:grid; width:32px; height:32px; place-items:center; border-radius:10px; background:var(--surface-2); color:var(--brand); }
.v8-audit-list strong,.v8-audit-list small,.v8-audit-list p,.v8-timeline strong,.v8-timeline small,.v8-timeline p { display:block; margin:0; }
.v8-audit-list small,.v8-timeline small { margin-top:2px; color:var(--ink-faint); font-size:.68rem; }
.v8-audit-list p,.v8-timeline p { margin-top:4px; color:var(--ink-soft); font-size:.76rem; }

.v8-sign-modal { display:grid; gap:16px; }
.v8-sign-methods { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.v8-method-option input { position:absolute; opacity:0; pointer-events:none; }
.v8-method-option > span { display:flex; gap:10px; align-items:center; padding:13px; border:1px solid var(--line); border-radius:14px; background:#fff; cursor:pointer; }
.v8-method-option:has(input:checked) > span { border-color:var(--brand); background:var(--brand-soft); color:var(--brand); }
.v8-method-option strong,.v8-method-option small { display:block; }
.v8-method-option small { color:var(--ink-faint); font-size:.68rem; }
.v8-canvas-wrap { position:relative; padding:10px; border:1px dashed #9eb4ad; border-radius:15px; background:#fff; }
.v8-canvas-wrap canvas { display:block; width:100%; height:180px; border-radius:10px; background:#fff; touch-action:none; cursor:crosshair; }
.v8-canvas-wrap > span { position:absolute; right:18px; bottom:14px; color:var(--ink-faint); font-size:.67rem; pointer-events:none; }
.v8-secure-confirm { display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:12px; align-items:center; padding:13px; border:1px solid var(--line); border-radius:14px; background:var(--surface-2); }
.v8-secure-confirm > span:first-child { display:grid; width:40px; height:40px; place-items:center; border-radius:12px; background:#fff; color:var(--brand); }
.v8-secure-confirm.confirmed { border-color:rgba(46,118,88,.35); background:var(--success-soft); }
.v8-secure-confirm strong,.v8-secure-confirm small { display:block; }
.v8-secure-confirm small { margin-top:2px; color:var(--ink-soft); font-size:.7rem; }
.split-actions { display:flex; gap:12px; align-items:center; justify-content:space-between; }

.v8-messages-layout { display:grid; grid-template-columns:minmax(250px,330px) minmax(0,1fr); gap:14px; min-height:620px; }
.v8-conversation-list { overflow:hidden; }
.v8-conversation-head { padding:18px 18px 12px; border-bottom:1px solid var(--line); }
.v8-conversation-head h2 { margin:5px 0 0; }
.v8-conversation-row { display:grid; grid-template-columns:38px minmax(0,1fr) auto; gap:10px; width:100%; padding:13px 16px; border:0; border-bottom:1px solid var(--line); background:#fff; text-align:left; cursor:pointer; }
.v8-conversation-row:hover,.v8-conversation-row.active { background:var(--surface-2); }
.v8-conversation-row.active { box-shadow:inset 3px 0 var(--brand); }
.v8-conversation-icon { display:grid; width:36px; height:36px; place-items:center; border-radius:11px; background:var(--brand-soft); color:var(--brand); }
.v8-conversation-row strong,.v8-conversation-row small,.v8-conversation-row p { display:block; margin:0; }
.v8-conversation-row small,.v8-conversation-row p,.v8-conversation-row time { color:var(--ink-faint); font-size:.68rem; }
.v8-conversation-row p { margin-top:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.v8-thread-panel { display:grid; grid-template-rows:auto minmax(0,1fr) auto; overflow:hidden; }
.v8-thread-header { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; padding:18px; border-bottom:1px solid var(--line); }
.v8-thread-header h2 { margin:4px 0; }
.v8-thread-header p { margin:0; color:var(--ink-faint); }
.v8-thread-actions { display:flex; gap:8px; }
.v8-thread-body { display:grid; align-content:start; gap:12px; padding:20px; overflow:auto; background:linear-gradient(180deg,#f9faf8,#f4f6f3); }
.v8-thread-message { display:grid; grid-template-columns:34px minmax(0,680px); gap:10px; max-width:85%; }
.v8-thread-message.own { justify-self:end; grid-template-columns:minmax(0,680px) 34px; }
.v8-thread-message.own .v8-message-avatar { grid-column:2; }
.v8-thread-message.own .v8-message-content { grid-column:1; grid-row:1; background:var(--brand); color:#fff; }
.v8-message-avatar { display:grid; width:32px; height:32px; place-items:center; border-radius:10px; background:var(--surface-3); color:var(--brand); font-size:.7rem; font-weight:800; }
.v8-message-content { padding:11px 13px; border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:0 3px 10px rgba(19,42,48,.04); }
.v8-message-content header { display:flex; gap:9px; align-items:center; flex-wrap:wrap; }
.v8-message-content header span,.v8-message-content header time { font-size:.65rem; opacity:.72; }
.v8-message-content p { margin:7px 0 0; white-space:pre-wrap; line-height:1.5; }
.v8-message-composer { padding:14px; border-top:1px solid var(--line); background:#fff; }
.v8-message-composer textarea { width:100%; }
.v8-message-composer > div { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:8px; }
.v63-message-scope,.v63-message-recipient { display:grid; grid-template-columns:46px minmax(0,1fr); gap:12px; align-items:center; padding:14px; margin-bottom:14px; border:1px solid var(--line); border-radius:15px; background:var(--surface-2); }
.v63-message-scope > span,.v63-message-recipient > span { display:grid; width:44px; height:44px; place-items:center; border-radius:13px; background:#fff; color:var(--brand); box-shadow:0 2px 8px rgba(19,42,48,.06); }
.v63-message-scope small,.v63-message-scope strong,.v63-message-scope p,.v63-message-recipient small,.v63-message-recipient strong,.v63-message-recipient p { display:block; margin:0; }
.v63-message-scope small,.v63-message-recipient small { color:var(--ink-faint); font-size:.7rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.v63-message-scope strong,.v63-message-recipient strong { margin-top:2px; color:var(--ink); }
.v63-message-scope p,.v63-message-recipient p { margin-top:2px; color:var(--ink-soft); font-size:.76rem; }
.v63-message-recipient { background:#fff; }
.v63-message-note { display:flex; gap:8px; align-items:center; margin:2px 0 0; color:var(--ink-soft); font-size:.73rem; }
.v63-message-note svg { flex:0 0 auto; color:var(--brand); }

.v8-maintenance-toolbar { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:14px; }
.v8-maintenance-tabs { display:flex; gap:6px; flex-wrap:wrap; }
.v8-maintenance-tabs button { display:flex; gap:7px; align-items:center; padding:9px 12px; border:1px solid var(--line); border-radius:11px; background:#fff; color:var(--ink-soft); cursor:pointer; font-weight:750; font-size:.76rem; }
.v8-maintenance-tabs button.active { background:var(--brand); border-color:var(--brand); color:#fff; }
.v8-issue-card,.v8-workorder-card,.v8-partner-card,.v8-service-card {
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto;
  gap:13px;
  align-items:center;
  padding:14px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
}
.v8-issue-card > span:first-child,.v8-workorder-card > span:first-child { display:grid; width:42px; height:42px; place-items:center; border-radius:12px; background:var(--surface-2); color:var(--brand); }
.v8-issue-card h3,.v8-workorder-card h3,.v8-partner-card h3,.v8-service-card h3 { margin:5px 0 3px; font-size:.9rem; }
.v8-issue-card p,.v8-workorder-card p,.v8-partner-card p,.v8-service-card p { margin:0; color:var(--ink-soft); font-size:.75rem; }
.v8-card-actions { display:flex; gap:7px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
.v8-partner-grid,.v8-temporary-grid,.v8-customer-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.v8-partner-card { grid-template-columns:54px minmax(0,1fr); align-items:start; }
.v8-partner-logo { display:grid; width:48px; height:48px; place-items:center; border-radius:14px; background:var(--brand); color:#fff; font-size:.72rem; font-weight:850; letter-spacing:.03em; }
.v8-partner-logo.large { width:64px; height:64px; border-radius:18px; }
.v8-partner-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:13px 0; }
.v8-partner-metrics > div { padding:9px; border-radius:11px; background:var(--surface-2); }
.v8-partner-metrics strong,.v8-partner-metrics span { display:block; }
.v8-partner-metrics span { margin-top:2px; color:var(--ink-faint); font-size:.63rem; }
.v8-check-list { display:grid; gap:8px; margin-top:12px; }
.v8-check-list span { display:flex; gap:8px; align-items:flex-start; color:var(--ink-soft); font-size:.76rem; }
.v8-check-list svg { flex:0 0 auto; color:var(--success); }
.v8-customer-card { overflow:hidden; }
.v8-customer-image { height:150px; background-size:cover; background-position:center; }
.v8-customer-copy { padding:16px; }
.v8-customer-copy h3 { margin:9px 0 5px; }

.v8-period-summary { display:flex; justify-content:space-between; align-items:center; gap:22px; padding:18px 20px; margin-bottom:15px; }
.v8-period-summary h2 { margin:5px 0; }
.v8-period-summary p { margin:0; color:var(--ink-soft); }
.v8-period-line { position:relative; display:block; width:min(360px,42%); height:8px; border-radius:99px; background:var(--surface-3); }
.v8-period-line::before,.v8-period-line::after { content:""; position:absolute; top:50%; width:16px; height:16px; border:4px solid #fff; border-radius:50%; background:var(--brand); box-shadow:0 0 0 1px var(--line); transform:translateY(-50%); }
.v8-period-line::before { left:0; }.v8-period-line::after { right:0; }
.v8-temporary-card { overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-lg); background:#fff; box-shadow:var(--shadow-sm); }
.v8-temporary-image { display:flex; align-items:flex-start; justify-content:flex-end; min-height:220px; padding:14px; background-size:cover; background-position:center; }
.v8-temporary-copy { padding:18px; }
.v8-temporary-copy h2 { margin:6px 0; }
.v8-temporary-copy > p { color:var(--ink-soft); }
.v8-period-bars { height:6px; margin:12px 0 16px; border-radius:99px; background:var(--surface-3); overflow:hidden; }
.v8-period-bars span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--brand),#4b8b7f); }
.v8-option-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.v8-option-grid label { display:flex; gap:10px; align-items:flex-start; padding:12px; border:1px solid var(--line); border-radius:13px; background:var(--surface-2); }
.v8-option-grid strong,.v8-option-grid small { display:block; }
.v8-option-grid small { margin-top:3px; color:var(--ink-faint); font-size:.68rem; }
.v8-period-card { margin-bottom:16px; }
.v8-period-card-body { padding:16px; border-radius:14px; background:linear-gradient(135deg,var(--surface-2),#fff); }
.v8-period-card-body h3 { margin:10px 0 5px; }
.v8-period-card-body p { margin:0; color:var(--ink-soft); }

.v8-admin-stream,.v8-partner-rank { display:grid; }
.v8-admin-stream > button,.v8-partner-rank > button { display:grid; grid-template-columns:44px minmax(0,1fr) auto 18px; gap:12px; align-items:center; width:100%; padding:12px 0; border:0; border-bottom:1px solid var(--line); background:transparent; text-align:left; cursor:pointer; }
.v8-admin-stream > button:last-child,.v8-partner-rank > button:last-child { border-bottom:0; }
.v8-admin-stream strong,.v8-admin-stream small,.v8-partner-rank strong,.v8-partner-rank small { display:block; }
.v8-admin-stream small,.v8-partner-rank small { margin-top:3px; color:var(--ink-faint); font-size:.7rem; }
.v8-admin-stream em,.v8-partner-rank em { font-style:normal; color:var(--brand); font-size:.72rem; font-weight:800; }
.v8-partner-rank > button { grid-template-columns:44px minmax(0,1fr) auto; }
.v8-empty-inline { display:flex; gap:12px; align-items:center; padding:22px 0; color:var(--ink-soft); }
.v8-empty-inline svg { color:var(--success); }
.v8-empty-inline strong,.v8-empty-inline small { display:block; }
.v8-empty-inline small { margin-top:3px; color:var(--ink-faint); }
.v8-contract-sign-panel { margin-top:18px; }
.v8-contract-sign-layout { display:flex; justify-content:space-between; gap:16px; align-items:center; padding:14px; border:1px solid var(--line); border-radius:14px; background:var(--surface-2); }
.v8-contract-sign-layout > div:first-child { display:flex; gap:12px; align-items:center; }
.v8-contract-sign-layout p { margin:3px 0 0; color:var(--ink-faint); font-size:.75rem; }

@media (max-width: 1180px) {
  .role-switcher-four .role-button span { display:none; }
  .v8-document-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .v8-lifecycle-rail,.v8-lifecycle-rail.admin,.v8-tenant-command { grid-template-columns:1fr; }
}
@media (max-width: 860px) {
  .v8-messages-layout { grid-template-columns:1fr; min-height:0; }
  .v8-conversation-list { max-height:290px; }
  .v8-thread-panel { min-height:520px; }
  .v8-partner-grid,.v8-temporary-grid,.v8-customer-grid { grid-template-columns:1fr; }
  .v8-sign-callout,.v8-secure-confirm { grid-template-columns:42px minmax(0,1fr); }
  .v8-sign-callout .button,.v8-secure-confirm .button,.v8-secure-confirm .badge { grid-column:1 / -1; }
  .v8-period-summary { align-items:flex-start; flex-direction:column; }
  .v8-period-line { width:100%; }
  .v8-option-grid { grid-template-columns:1fr; }
}
@media (max-width: 620px) {
  .v8-signature-card { grid-template-columns:40px minmax(0,1fr); }
  .v8-signature-card-action { grid-column:2; }
  .v8-document-facts,.v8-document-facts.compact { grid-template-columns:1fr; }
  .v8-sign-methods { grid-template-columns:1fr; }
  .v8-canvas-wrap canvas { height:145px; }
  .v8-thread-message { max-width:96%; }
  .v8-message-composer > div,.v8-contract-sign-layout { align-items:stretch; flex-direction:column; }
  .v8-card-actions { justify-content:flex-start; }
}

/* V8 component alignment fixes */
.v8-lifecycle-rail > button,
.v8-tenant-command > button {
  grid-template-columns: 42px minmax(0,1fr) 18px;
  grid-template-rows: auto auto;
}
.v8-lifecycle-rail > button > :first-child,
.v8-tenant-command > button > :first-child { grid-column:1; grid-row:1 / 3; }
.v8-lifecycle-rail > button > strong,
.v8-tenant-command > button > span > strong { grid-column:2; grid-row:1; align-self:end; }
.v8-lifecycle-rail > button > small { grid-column:2; grid-row:2; align-self:start; }
.v8-lifecycle-rail > button > :last-child,
.v8-tenant-command > button > :last-child { grid-column:3; grid-row:1 / 3; align-self:center; }
.v8-tenant-command > button > span { grid-column:2; grid-row:1 / 3; }

button.stat-card.interactive {
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 22px;
  grid-template-rows:auto;
  gap:12px;
  align-items:center;
  width:100%;
  min-height:112px;
  padding:18px;
  border:0;
  border-right:1px solid var(--line);
  border-radius:0;
  background:#fff;
  text-align:left;
  cursor:pointer;
}
.grid.stats > button.stat-card.interactive:first-child { border-radius:var(--radius) 0 0 var(--radius); }
.grid.stats > button.stat-card.interactive:last-child { border-right:0; border-radius:0 var(--radius) var(--radius) 0; }
button.stat-card.interactive .stat-icon { display:grid; width:42px; height:42px; place-items:center; border-radius:13px; background:var(--surface-2); color:var(--brand); }
button.stat-card.interactive .stat-icon.accent { background:var(--accent-soft); color:var(--accent); }
button.stat-card.interactive .stat-icon.blue { background:var(--info-soft); color:var(--info); }
button.stat-card.interactive .stat-icon.warning { background:var(--warning-soft); color:var(--warning); }
button.stat-card.interactive .stat-copy { min-width:0; }
button.stat-card.interactive .stat-copy > span,
button.stat-card.interactive .stat-copy > strong,
button.stat-card.interactive .stat-copy > small { display:block; }
button.stat-card.interactive .stat-copy > span { color:var(--ink-faint); font-size:.67rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
button.stat-card.interactive .stat-copy > strong { margin-top:5px; font-size:1.45rem; line-height:1; }
button.stat-card.interactive .stat-copy > small { margin-top:7px; color:var(--ink-soft); font-size:.7rem; }
button.stat-card.interactive .stat-cue { display:flex; align-items:center; justify-content:flex-end; color:var(--brand); font-size:0; }
button.stat-card.interactive .stat-cue svg { width:16px; height:16px; }
button.stat-card.interactive:hover { background:var(--surface-2); }

.v8-hub-tabs { display:flex; flex-wrap:wrap; gap:6px; margin:16px 0 12px; }
.v8-hub-tabs button { display:flex; gap:8px; align-items:center; padding:9px 12px; border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--ink-soft); font-size:.75rem; font-weight:800; cursor:pointer; }
.v8-hub-tabs button b { display:grid; min-width:20px; height:20px; place-items:center; padding:0 5px; border-radius:999px; background:var(--surface-2); color:var(--ink); font-size:.65rem; }
.v8-hub-tabs button.active { background:var(--brand); border-color:var(--brand); color:#fff; }
.v8-hub-tabs button.active b { background:rgba(255,255,255,.18); color:#fff; }
.v8-hub-content { min-height:320px; }

.v8-issue-card,.v8-workorder-card { display:block; padding:16px; }
.v8-issue-card.urgent { border-left:4px solid var(--danger); }
.v8-issue-card > header,.v8-workorder-card > header,
.v8-issue-card > footer,.v8-workorder-card > footer { display:flex; justify-content:space-between; gap:14px; align-items:center; }
.v8-issue-card > header > div,.v8-workorder-card > header > div { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.v8-issue-card > header time,.v8-workorder-card > header > strong { color:var(--ink-faint); font-size:.7rem; }
.v8-issue-card h3,.v8-workorder-card h3 { margin:14px 0 6px; font-size:1rem; }
.v8-issue-card > p,.v8-workorder-card > p { margin:0; color:var(--ink-soft); line-height:1.55; }
.v8-issue-facts,.v8-workorder-route { display:flex; flex-wrap:wrap; gap:8px 16px; margin:14px 0; padding:11px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.v8-issue-facts span,.v8-workorder-route span { display:inline-flex; align-items:center; gap:5px; color:var(--ink-soft); font-size:.7rem; }
.v8-issue-card > footer > span strong,.v8-issue-card > footer > span small,
.v8-workorder-card > footer > span strong,.v8-workorder-card > footer > span small { display:block; }
.v8-issue-card > footer > span small,.v8-workorder-card > footer > span small { margin-top:2px; color:var(--ink-faint); font-size:.68rem; }
.v8-issue-card > footer > div,.v8-workorder-card > footer > div { display:flex; gap:7px; flex-wrap:wrap; justify-content:flex-end; }
.v8-workorder-progress { display:grid; grid-template-columns:repeat(4,1fr); gap:5px; margin:13px 0; }
.v8-workorder-progress span { height:5px; border-radius:99px; background:var(--surface-3); }
.v8-workorder-progress span.active { background:var(--brand); }

.v8-partner-card { display:block; padding:16px; }
.v8-partner-card > header { display:grid; grid-template-columns:50px minmax(0,1fr) 38px; gap:12px; align-items:start; }
.v8-partner-card > header h3 { margin:7px 0 3px; }
.v8-partner-tags { display:flex; flex-wrap:wrap; gap:6px; }
.v8-partner-tags span { display:inline-flex; gap:5px; align-items:center; padding:6px 8px; border-radius:9px; background:var(--surface-2); color:var(--ink-soft); font-size:.66rem; }
.v15-partner-taxonomy { margin-top: 14px; }
.v15-partner-taxonomy > small { display: block; margin-bottom: 7px; color: var(--hm-muted); font-weight: 680; }
.v15-partner-trades { display: flex; flex-wrap: wrap; gap: 7px; }
.v15-partner-trade {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid #b8cec1;
  border-radius: 999px;
  background: #e3f0e8;
  color: #24533f;
  font-size: 13px;
  font-weight: 700;
}
.v15-partner-trade svg { width: 14px; height: 14px; }
.v15-partner-trade.muted { border-color: var(--hm-line); background: var(--hm-canvas); color: var(--hm-muted); }
.v8-partner-card > footer { display:flex; justify-content:space-between; gap:10px; align-items:center; margin-top:13px; padding-top:13px; border-top:1px solid var(--line); }
.v8-partner-card > footer > span { display:flex; gap:6px; align-items:center; color:var(--ink-soft); font-size:.72rem; }
.v8-service-list { display:grid; gap:10px; }
.v8-service-card { grid-template-columns:44px minmax(0,1fr) auto; }
.v8-service-icon { display:grid; width:42px; height:42px; place-items:center; border-radius:12px; background:var(--brand-soft); color:var(--brand); }
.v8-service-card > div:last-child { text-align:right; }
.v8-service-card > div:last-child small,.v8-service-card > div:last-child strong,.v8-service-card > div:last-child span { display:block; }
.v8-service-card > div:last-child small { color:var(--ink-faint); }

@media (max-width:900px) {
  .grid.stats > button.stat-card.interactive { border-right:0; border-bottom:1px solid var(--line); border-radius:0; }
  .grid.stats > button.stat-card.interactive:first-child { border-radius:var(--radius) var(--radius) 0 0; }
  .grid.stats > button.stat-card.interactive:last-child { border-bottom:0; border-radius:0 0 var(--radius) var(--radius); }
}
@media (max-width:620px) {
  .v8-issue-card > footer,.v8-workorder-card > footer,.v8-partner-card > footer { align-items:flex-start; flex-direction:column; }
  .v8-issue-card > footer > div,.v8-workorder-card > footer > div { justify-content:flex-start; }
}

.goleje-brand { gap: 0; }
.goleje-brand img {
  width: 100%;
  max-width: 200px;
  max-height: calc(var(--topbar) - 14px);
  object-fit: contain;
  object-position: left center;
}
.goleje-brand .brand-copy { display: none; }

/* GoLeje V10 · platform- og kundeadministration */
.role-switcher-five .role-button { padding-inline: 9px; }

.v10-section { margin-top: 22px; }

.v10-platform-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--hm-line);
  border-radius: 18px;
  background: var(--hm-surface);
  box-shadow: var(--shadow-sm);
}
.v10-platform-kpis > button {
  position: relative;
  min-height: 142px;
  padding: 24px;
  border: 0;
  border-right: 1px solid var(--hm-line);
  background: transparent;
  color: var(--hm-ink);
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.v10-platform-kpis > button:last-child { border-right: 0; }
.v10-platform-kpis > button:hover { background: var(--hm-pine-950); color: #fff; }
.v10-platform-kpis > button:focus-visible,
.v10-role-distribution button:focus-visible,
.v10-partner-card button:focus-visible { outline: 3px solid #d6b69e; outline-offset: -3px; }
.v10-platform-kpis span,
.v10-platform-kpis small { display: block; color: inherit; opacity: .68; font-size: 11px; }
.v10-platform-kpis strong { display: block; margin: 10px 0 8px; font-family: ui-serif, "Iowan Old Style", Georgia, serif; font-size: clamp(30px, 4vw, 48px); font-weight: 620; letter-spacing: -.05em; line-height: .95; }

.v10-role-distribution { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.v10-role-distribution button {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--hm-line);
  border-radius: 12px;
  background: var(--hm-canvas);
  color: var(--hm-ink);
  text-align: left;
  cursor: pointer;
}
.v10-role-distribution button:hover { border-color: var(--hm-pine-700); background: #eef3ef; }
.v10-role-icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: #e4ebe6; color: var(--hm-pine-800); }
.v10-role-icon svg { width: 17px; }
.v10-role-distribution strong,
.v10-role-distribution small { display: block; }
.v10-role-distribution strong { font-size: 22px; }
.v10-role-distribution small { margin-top: 2px; color: var(--hm-muted); font-size: 10px; }

.v10-client-cell { display: flex; min-width: 220px; align-items: center; gap: 11px; }
.v10-client-cell > span:last-child { display: grid; gap: 3px; }
.v10-client-cell small,
.v10-table-note { display: block; color: var(--hm-muted); font-size: 10px; font-weight: 500; }
.v10-client-table td:last-child { min-width: 330px; }
.v10-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.v10-actions .button,
.v10-partner-card footer .button { min-height: 44px; }
.v10-overdue { color: var(--danger); }

.v10-impersonation {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid #d6b69e;
  border-radius: 14px;
  background: #fff5eb;
  color: #3d2a1e;
  box-shadow: 0 8px 24px rgba(64, 40, 20, .08);
}
.v10-impersonation > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 11px; background: #3d2a1e; color: #fff; }
.v10-impersonation > span svg { width: 19px; }
.v10-impersonation strong,
.v10-impersonation small { display: block; }
.v10-impersonation small { margin-top: 4px; color: #765d49; font-size: 11px; line-height: 1.45; }

.v10-audit-list { display: grid; }
.v10-audit-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hm-line);
}
.v10-audit-row:last-child { border-bottom: 0; }
.v10-audit-row.compact { grid-template-columns: 34px minmax(0, 1fr); min-height: 58px; }
.v10-audit-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: #e9efeb; color: var(--hm-pine-800); }
.v10-audit-icon svg { width: 16px; }
.v10-audit-row strong,
.v10-audit-row small { display: block; }
.v10-audit-row small { margin-top: 4px; color: var(--hm-muted); font-size: 10px; line-height: 1.4; }
.v10-audit-row time { color: var(--hm-muted); font-size: 10px; white-space: nowrap; }

.v10-partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.v10-partner-card { overflow: hidden; border: 1px solid var(--hm-line); border-radius: 16px; background: var(--hm-surface); box-shadow: var(--shadow-sm); }
.v10-partner-card > header { display: flex; align-items: flex-start; gap: 14px; padding: 20px; }
.v10-partner-card > header > div { min-width: 0; }
.v10-partner-card h2 { margin: 9px 0 4px; font-size: 20px; }
.v10-partner-card p { margin: 0; color: var(--hm-muted); font-size: 11px; }
.v10-partner-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--hm-line); background: var(--hm-canvas); }
.v10-partner-facts span { min-width: 0; padding: 13px; border-right: 1px solid var(--hm-line); }
.v10-partner-facts span:last-child { border-right: 0; }
.v10-partner-facts small,
.v10-partner-facts strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v10-partner-facts small { margin-bottom: 5px; color: var(--hm-muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.v10-partner-facts strong { font-size: 11px; }
.v10-partner-card > footer { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 20px; color: var(--hm-muted); font-size: 11px; }
.v10-partner-statusline,
.v10-partner-actions,
.v10-partner-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.v10-partner-tags { padding: 0 20px 17px; }
.v10-partner-tags > span {
  padding: 5px 9px;
  border: 1px solid #d8e1dc;
  border-radius: 999px;
  background: #f3f7f4;
  color: var(--hm-pine-800);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .02em;
}
.v10-partner-profile { display: grid; grid-template-columns: 1.15fr .85fr; border-block: 1px solid var(--hm-line); background: var(--hm-canvas); }
.v10-partner-profile section { min-width: 0; padding: 17px 20px; }
.v10-partner-profile section + section { border-left: 1px solid var(--hm-line); }
.v10-partner-profile section > small,
.v10-partner-commercial small {
  display: block;
  margin-bottom: 8px;
  color: var(--hm-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.v10-partner-profile ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.v10-partner-profile li,
.v10-partner-profile section > span { display: flex; align-items: center; gap: 7px; color: var(--hm-muted); font-size: 10px; }
.v10-partner-profile li svg { width: 13px; color: var(--hm-success); }
.v10-partner-profile section > strong { display: block; margin-bottom: 9px; font-size: 11px; line-height: 1.5; }
.v10-partner-profile section > span svg { width: 13px; }
.v10-partner-commercial { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--hm-line); }
.v10-partner-commercial > div { min-width: 0; padding: 15px 20px; border-right: 1px solid var(--hm-line); }
.v10-partner-commercial > div:last-child { border-right: 0; }
.v10-partner-commercial .discount { background: #edf5ef; }
.v10-partner-commercial strong,
.v10-partner-commercial span { display: block; }
.v10-partner-commercial strong { font-size: 11px; line-height: 1.4; }
.v10-partner-commercial span { margin-top: 4px; overflow: hidden; color: var(--hm-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.v10-partner-actions { justify-content: flex-end; }

.v10-form-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--hm-line); }
.v10-form-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.v10-form-heading { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; margin-bottom: 18px; }
.v10-form-heading > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: #e8efea; color: var(--hm-pine-800); }
.v10-form-heading > span svg { width: 18px; }
.v10-form-heading h3 { margin: 0 0 3px; font-size: 15px; }
.v10-form-heading p { margin: 0; color: var(--hm-muted); font-size: 10px; line-height: 1.5; }
.v10-form-section .field > small { margin-top: 6px; color: var(--hm-muted); font-size: 9px; line-height: 1.45; }
.v10-form-section .field-span-two { grid-column: 1 / -1; }
.v10-input-suffix { display: grid; grid-template-columns: minmax(0, 1fr) auto; overflow: hidden; border: 1px solid var(--hm-line); border-radius: 10px; background: var(--hm-surface); }
.v10-input-suffix:focus-within { border-color: var(--hm-pine-700); box-shadow: 0 0 0 3px rgba(32, 91, 70, .12); }
.v10-input-suffix input { min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
.v10-input-suffix input:focus { box-shadow: none; }
.v10-input-suffix span { display: flex; align-items: center; padding: 0 12px; border-left: 1px solid var(--hm-line); background: var(--hm-canvas); color: var(--hm-muted); font-size: 10px; font-weight: 700; }

@media (max-width: 1280px) {
  .role-switcher-five .role-button span { display: none; }
  .role-switcher-five .role-button { width: 38px; padding: 0; }
  .v10-role-distribution { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .v10-platform-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v10-platform-kpis > button:nth-child(2) { border-right: 0; }
  .v10-platform-kpis > button:nth-child(-n+2) { border-bottom: 1px solid var(--hm-line); }
  .v10-partner-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .v10-platform-kpis { grid-template-columns: 1fr; }
  .v10-platform-kpis > button { min-height: 112px; border-right: 0; border-bottom: 1px solid var(--hm-line); }
  .v10-platform-kpis > button:last-child { border-bottom: 0; }
  .v10-role-distribution { grid-template-columns: 1fr 1fr; }
  .v10-impersonation { grid-template-columns: 40px minmax(0, 1fr); }
  .v10-impersonation .button { grid-column: 1 / -1; width: 100%; min-height: 44px; }
  .v10-audit-row { grid-template-columns: 36px minmax(0, 1fr); }
  .v10-audit-row time,
  .v10-audit-row > .badge { grid-column: 2; justify-self: start; }
  .v10-partner-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v10-partner-facts span:nth-child(2) { border-right: 0; }
  .v10-partner-facts span:nth-child(-n+2) { border-bottom: 1px solid var(--hm-line); }
  .v10-partner-card > footer { align-items: flex-start; flex-direction: column; }
  .v10-partner-profile,
  .v10-partner-commercial { grid-template-columns: 1fr; }
  .v10-partner-profile section + section { border-top: 1px solid var(--hm-line); border-left: 0; }
  .v10-partner-commercial > div { border-right: 0; border-bottom: 1px solid var(--hm-line); }
  .v10-partner-commercial > div:last-child { border-bottom: 0; }
  .v10-partner-actions { width: 100%; justify-content: stretch; }
  .v10-partner-actions .button { flex: 1 1 150px; }
  .v10-form-section .field-span-two { grid-column: auto; }
}

/* GoLeje V11 · genbrugelige arbejdsområder */
.v11-area-picker {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 2px 0 4px;
  padding: 18px;
  border: 1px solid var(--hm-line);
  border-radius: 14px;
  background: var(--hm-canvas);
}
.v11-area-picker legend { padding: 0 7px; color: var(--hm-ink); font-size: 14px; font-weight: 720; }
.v11-area-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--hm-muted); font-size: 13px; }
.v11-area-picker-head strong { display: grid; min-width: 28px; height: 28px; padding: 0 8px; place-items: center; border-radius: 999px; background: var(--hm-pine-900); color: #fff; font-size: 12px; }
.v11-area-selected-list,
.v11-card-area-tags,
.v11-market-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.v11-area-selected-list { min-height: 48px; margin-bottom: 15px; }
.v11-area-empty { color: var(--hm-muted); font-size: 13px; }
.v11-area-selected,
.v11-area-filter-list button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #cfd9d3;
  border-radius: 999px;
  background: #fff;
  color: var(--hm-pine-900);
  cursor: pointer;
  font-weight: 680;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}
.v11-area-selected { border-color: var(--hm-pine-800); background: var(--hm-pine-900); color: #fff; }
.v11-area-selected svg { width: 15px; height: 15px; }
.v11-area-selected:hover { background: #7a3f38; border-color: #7a3f38; }
.v11-area-selected:focus-visible,
.v11-area-filter-list button:focus-visible { outline: 3px solid #d6b69e; outline-offset: 2px; }
.v11-area-picker > label { display: block; margin-bottom: 7px; color: var(--hm-ink); font-size: 13px; font-weight: 680; }
.v12-area-combobox { position: relative; }
.v12-area-combobox > input { width: 100%; padding-right: 190px; }
.v12-area-keyhint {
  position: absolute;
  top: 50%;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--hm-muted);
  font-size: 13px;
  pointer-events: none;
  transform: translateY(-50%);
}
.v12-area-keyhint kbd {
  min-width: 25px;
  padding: 2px 5px;
  border: 1px solid #cbd5cf;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #f7f9f7;
  color: var(--hm-pine-900);
  font: 650 12px/1.2 inherit;
  text-align: center;
}
.v12-area-autocomplete {
  position: absolute;
  z-index: 80;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  max-height: 286px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid #c9d5ce;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(22, 53, 42, .16);
}
.v12-area-autocomplete[hidden],
.v12-area-confirm[hidden] { display: none; }
.v12-area-suggestion {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--hm-ink);
  cursor: pointer;
  font-weight: 680;
  text-align: left;
}
.v12-area-suggestion small { color: var(--hm-muted); font-size: 13px; font-weight: 540; white-space: nowrap; }
.v12-area-suggestion:hover,
.v12-area-suggestion.active { background: #e7f0ea; color: var(--hm-pine-950); }
.v12-area-suggestion:focus-visible { outline: 3px solid #d6b69e; outline-offset: -2px; }
.v12-area-confirm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding: 13px 14px;
  border: 1px solid #dfc79d;
  border-radius: 12px;
  background: #fff8e9;
}
.v12-area-confirm > div:first-child { display: grid; gap: 3px; min-width: 0; }
.v12-area-confirm strong { color: #60491f; font-size: 14px; }
.v12-area-confirm span { color: #715c34; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.v12-area-confirm-actions { display: flex; flex: 0 0 auto; gap: 7px; }
.v12-area-confirm-actions .button { min-height: 40px; white-space: nowrap; }
.v11-area-picker > small { display: block; margin-top: 9px; color: var(--hm-muted); line-height: 1.45; }
.v11-area-error { display: block; margin-top: 9px; color: var(--danger); font-size: 13px; font-weight: 680; }
.v11-area-error[hidden] { display: none; }
.v11-area-picker.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(169, 71, 71, .1); }

.v11-partner-finder { margin-bottom: 18px; padding: 18px; border: 1px solid var(--hm-line); border-radius: 14px; background: #f4f7f4; }
.v11-partner-finder-head { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-bottom: 15px; }
.v11-partner-finder-head > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--hm-pine-900); color: #fff; }
.v11-partner-finder-head > span svg { width: 18px; }
.v11-partner-finder-head h3 { margin: 0 0 3px; font-size: 17px; }
.v11-partner-finder-head p { margin: 0; color: var(--hm-muted); }
.v11-partner-finder-head > strong { color: var(--hm-pine-800); font-size: 14px; white-space: nowrap; }
.v11-area-filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
.v11-area-filter-list button { background: var(--hm-surface); }
.v11-area-filter-list button:hover,
.v11-area-filter-list button.active { border-color: var(--hm-pine-900); background: var(--hm-pine-900); color: #fff; }
.v11-area-filter-list button span { display: grid; min-width: 23px; height: 23px; padding: 0 6px; place-items: center; border-radius: 999px; background: rgba(24, 62, 49, .1); font-size: 12px; }
.v11-area-filter-list button.active span,
.v11-area-filter-list button:hover span { background: rgba(255, 255, 255, .18); }
.v11-card-area-tags { margin: 14px 0 2px; }
.v11-partner-area,
.v11-market-areas span,
.v11-market-areas strong { display: inline-flex; min-height: 30px; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #d4ddd7; border-radius: 999px; background: #eef4ef; color: var(--hm-pine-800); font-size: 12px; font-weight: 680; }
.v11-partner-area svg,
.v11-market-areas svg { width: 13px; }
.v11-partner-area.muted { color: var(--hm-muted); }
.v11-market-areas { margin: 13px 0; }
.v11-market-areas strong { border-color: #bfd5c8; background: #e4f1e8; color: #2e624c; }

@media (max-width: 620px) {
  .v11-area-picker { padding: 15px; }
  .v12-area-combobox > input { padding-right: 12px; }
  .v12-area-keyhint { position: static; display: flex; margin-top: 7px; transform: none; }
  .v12-area-autocomplete { top: 49px; }
  .v12-area-confirm { align-items: stretch; flex-direction: column; }
  .v12-area-confirm-actions { flex-wrap: wrap; }
  .v12-area-confirm-actions .button { flex: 1 1 145px; }
  .v11-partner-finder-head { grid-template-columns: 42px minmax(0, 1fr); }
  .v11-partner-finder-head > strong { grid-column: 2; }
  .v11-area-filter-list { flex-wrap: nowrap; margin-right: -15px; padding-right: 15px; overflow-x: auto; scrollbar-width: thin; }
  .v11-area-filter-list button { flex: 0 0 auto; }
}

/* GoLeje V16 · inline chip-input */
.v16-inline-tag-picker {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.v16-inline-tag-picker legend {
  margin-bottom: 7px;
  padding: 0;
  color: var(--hm-ink);
  font-size: 14px;
  font-weight: 720;
}
.v16-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.v16-tag-control {
  display: flex;
  width: 100%;
  min-height: 52px;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid #c8d2cc;
  border-radius: 10px;
  background: #fff;
  cursor: text;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.v16-tag-control:hover { border-color: #94aa9e; }
.v16-tag-control:focus-within {
  border-color: #bb8c58;
  box-shadow: 0 0 0 3px rgba(187, 140, 88, .16);
}
.v16-inline-tag-picker .v11-area-selected-list {
  display: contents;
  min-height: 0;
  margin: 0;
}
.v16-inline-tag-picker .v11-area-selected {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 6px 10px;
}
body :is(.app-shell, #modal-root) .v16-tag-control > input {
  width: auto;
  min-width: 170px;
  min-height: 38px;
  flex: 1 1 190px;
  padding: 5px 3px;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.v16-tag-control > input:hover,
.v16-tag-control > input:focus {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.v16-inline-tag-picker .v12-area-confirm {
  position: absolute;
  z-index: 81;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  margin-top: 0;
  box-shadow: 0 16px 38px rgba(22, 53, 42, .16);
}
.v16-inline-tag-picker.invalid { box-shadow: none; }
.v16-inline-tag-picker.invalid .v16-tag-control {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(169, 71, 71, .1);
}

@media (max-width: 620px) {
  .v16-inline-tag-picker { padding: 0; }
  .v16-tag-control > input { min-width: 135px; padding-right: 3px; }
  .v16-inline-tag-picker .v12-area-autocomplete,
  .v16-inline-tag-picker .v12-area-confirm { top: calc(100% + 6px); }
}

/* GoLeje V11 · fælles læsbar typografi */
:root {
  --ui-text-compact: 12px;
  --ui-text-meta: 13px;
  --ui-text-control: 14px;
  --ui-text-body: 15px;
  --ui-text-comfortable: 16px;
}

body { font-size: var(--ui-text-body); line-height: 1.5; }

body :is(.app-shell, #modal-root, #toast-root) p {
  font-size: var(--ui-text-body);
  line-height: 1.55;
}

body :is(.app-shell, #modal-root, #toast-root) small,
body :is(.app-shell, #modal-root, #toast-root) time {
  font-size: var(--ui-text-meta);
  line-height: 1.45;
}

body :is(.app-shell, #modal-root, #toast-root) :is(button, .button, .text-button, .tab) {
  font-size: var(--ui-text-control);
  line-height: 1.35;
}

body :is(.app-shell, #modal-root, #toast-root) :is(input, select, textarea) {
  font-size: var(--ui-text-body);
  line-height: 1.45;
}

body :is(.app-shell, #modal-root, #toast-root) .field label,
body :is(.app-shell, #modal-root, #toast-root) .form-label {
  font-size: var(--ui-text-control);
  line-height: 1.4;
}

body :is(.app-shell, #modal-root, #toast-root) :is(.badge, .property-tile-match, .feature-pill, .nav-count, .notification-trigger .count) {
  font-size: var(--ui-text-compact);
  line-height: 1.2;
}

body :is(.app-shell, #modal-root, #toast-root) :is(.page-kicker, .eyebrow, .section-eyebrow, .stat-label) {
  font-size: var(--ui-text-compact);
  line-height: 1.35;
}

body :is(.app-shell, #modal-root, #toast-root) :is(.page-description, .section-subtitle, .notice, .modal-header p) {
  font-size: var(--ui-text-body);
  line-height: 1.6;
}

body :is(.app-shell, #modal-root, #toast-root) :is(.nav-item, .role-button, .mobile-role-trigger) {
  font-size: var(--ui-text-control);
}

body :is(.app-shell, #modal-root, #toast-root) .stat-meta {
  font-size: var(--ui-text-meta);
  line-height: 1.5;
}

body :is(.app-shell, #modal-root, #toast-root) table { font-size: var(--ui-text-control); }
body :is(.app-shell, #modal-root, #toast-root) th { font-size: var(--ui-text-compact); line-height: 1.35; }
body :is(.app-shell, #modal-root, #toast-root) td { font-size: var(--ui-text-control); line-height: 1.45; }

/* Backend session and login */
.backend-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 15% 18%, rgba(98, 151, 124, .18), transparent 35%),
    radial-gradient(circle at 85% 82%, rgba(218, 176, 96, .16), transparent 32%),
    #f6f4ee;
}

.backend-login-card {
  width: min(100%, 460px);
  display: grid;
  gap: 22px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(20, 60, 49, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 70px rgba(18, 39, 31, .12);
}

.backend-login-card > img { width: min(190px, 58%); height: auto; }
.backend-login-card h1 { margin: 5px 0 8px; color: #143c31; font-size: clamp(28px, 6vw, 38px); line-height: 1.08; }
.backend-login-card p { margin: 0; color: #66706a; font-size: 16px; line-height: 1.55; }
.backend-login-card form { display: grid; gap: 16px; }
.backend-login-card .button { min-height: 48px; width: 100%; }
.backend-login-progress { min-height: 22px; color: #4f625a; font-size: 14px; text-align: center; }
.backend-login-error { padding: 12px 14px; border: 1px solid #efc0b8; border-radius: 12px; background: #fff2ef; color: #8a2e20; font-size: 14px; line-height: 1.45; }

.backend-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  padding: 5px 9px;
  border: 1px solid #cfd9d3;
  border-radius: 999px;
  color: #496158;
  background: #f5f8f6;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.backend-pill .ui-icon { width: 15px; height: 15px; }
.backend-pill.connected { border-color: #b9d9c8; color: #1f6a49; background: #edf8f1; }
.backend-pill.syncing { border-color: #d8c99c; color: #765c17; background: #fff9e7; }
.backend-pill.error { border-color: #efb8ad; color: #9b3726; background: #fff0ed; }
.backend-pill.local { border-color: #d8d5ce; color: #6a6862; background: #f5f3ef; }
.backend-logout { width: 34px; height: 34px; }

@media (max-width: 760px) {
  .backend-pill span { display: none; }
  .backend-pill { width: 32px; min-height: 32px; justify-content: center; padding: 4px; }
  .backend-logout { display: none; }
  .backend-login { padding: 16px; }
}

body :is(.app-shell, #modal-root, #toast-root) :is(.activity-copy strong, .quick-item-copy strong, .notification-copy h3, .drawer-notification-copy strong, .preference-row strong, .detail-fact strong, .toggle-copy strong) {
  font-size: var(--ui-text-control);
  line-height: 1.4;
}

body :is(.app-shell, #modal-root, #toast-root) :is(.activity-copy span, .quick-item-copy span, .notification-copy p, .drawer-notification-copy span, .profile-summary p, .preference-row span, .detail-fact span, .toggle-copy span) {
  font-size: var(--ui-text-meta);
  line-height: 1.5;
}

body :is(.app-shell, #modal-root, #toast-root) :is(.v7-command-strip, .v7-record-grid, .v7-chart-legend, .v7-attention-card, .v7-funnel-compact, .v7-retention-grid, .v8-hub-tabs, .v8-issue-card, .v8-workorder-card, .v8-partner-card, .v8-service-card, .v8-thread-message) small {
  font-size: var(--ui-text-meta);
}

body :is(.app-shell, #modal-root, #toast-root) :is(.v8-issue-card, .v8-workorder-card, .v8-partner-card, .v8-service-card, .v8-thread-message) p {
  font-size: var(--ui-text-control);
}

body :is(.app-shell, #modal-root, #toast-root) :is(.v8-hub-tabs button, .v8-maintenance-tabs button, .v7-filterbar button) {
  font-size: var(--ui-text-control);
}

body :is(.app-shell, #modal-root, #toast-root) :is(.v8-partner-tags span, .v8-issue-facts span, .v8-workorder-route span, .v8-check-list span, .v8-partner-card > footer > span) {
  font-size: var(--ui-text-meta);
  line-height: 1.45;
}

body :is(.app-shell, #modal-root, #toast-root) .v10-platform-kpis :is(span, small) { font-size: var(--ui-text-control); }
body :is(.app-shell, #modal-root, #toast-root) .v10-role-distribution small { font-size: var(--ui-text-meta); }
body :is(.app-shell, #modal-root, #toast-root) :is(.v10-client-cell small, .v10-table-note, .v10-impersonation small, .v10-audit-row small, .v10-audit-row time) { font-size: var(--ui-text-meta); }
body :is(.app-shell, #modal-root, #toast-root) .v10-audit-row strong { font-size: var(--ui-text-control); line-height: 1.4; }
body :is(.app-shell, #modal-root, #toast-root) .v10-partner-card p,
body :is(.app-shell, #modal-root, #toast-root) .v10-partner-card > footer { font-size: var(--ui-text-control); }
body :is(.app-shell, #modal-root, #toast-root) .v10-partner-tags > span { font-size: var(--ui-text-meta); }
body :is(.app-shell, #modal-root, #toast-root) .v10-partner-profile :is(li, section > span, section > strong) { font-size: var(--ui-text-control); }
body :is(.app-shell, #modal-root, #toast-root) .v10-partner-commercial strong { font-size: var(--ui-text-body); }
body :is(.app-shell, #modal-root, #toast-root) .v10-partner-commercial span { font-size: var(--ui-text-meta); line-height: 1.45; white-space: normal; }
body :is(.app-shell, #modal-root, #toast-root) .v10-form-heading p { font-size: var(--ui-text-control); }
body :is(.app-shell, #modal-root, #toast-root) .v10-form-section .field > small { font-size: var(--ui-text-meta); }
body :is(.app-shell, #modal-root, #toast-root) .v10-input-suffix span { font-size: var(--ui-text-control); }

@media (max-width: 760px) {
  body :is(.app-shell, #modal-root, #toast-root) :is(input, select, textarea) { font-size: 16px; }
  body :is(.app-shell, #modal-root, #toast-root) .page-description { font-size: var(--ui-text-body); }
  body :is(.app-shell, #modal-root, #toast-root) .stat-meta { font-size: var(--ui-text-meta); }
}

/* GoLeje V17 · optimeret billedupload til boliger */
.v17-image-section { min-width: 0; }
.v17-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.v17-image-dropzone {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1.5px dashed #9baea4;
  border-radius: 12px;
  background: #f7f8f4;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.v17-image-dropzone:hover,
.v17-image-dropzone.is-dragging {
  border-color: var(--hm-pine-700, #205b49);
  background: #eef4ef;
  box-shadow: inset 0 0 0 1px rgba(32, 91, 73, .12);
}
.v17-image-dropzone > div { display: grid; gap: 4px; }
.v17-image-dropzone strong { color: var(--hm-pine-950, #17372f); font-size: 15px; }
.v17-image-dropzone span { color: var(--hm-muted, #596a64); font-size: 13px; }
.v17-image-dropzone .button { flex: 0 0 auto; min-height: 44px; }
.v17-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.v17-image-empty {
  display: grid;
  min-height: 122px;
  grid-column: 1 / -1;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 18px;
  border: 1px solid #d8dfda;
  border-radius: 10px;
  color: #5e7068;
  text-align: center;
}
.v17-image-empty .ui-icon { width: 24px; height: 24px; color: #205b49; }
.v17-image-empty strong { color: #17372f; font-size: 14px; }
.v17-image-empty span { max-width: 340px; font-size: 13px; }
.v17-image-preview {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #d2dbd5;
  border-radius: 10px;
  background: #e7ebe8;
}
.v17-image-preview > img { width: 100%; height: 100%; object-fit: cover; }
.v17-image-preview::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 54%;
  background: linear-gradient(transparent, rgba(11, 26, 22, .78));
  pointer-events: none;
}
.v17-image-preview-top {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  left: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.v17-image-preview-top > button {
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  color: #17372f;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 5px 16px rgba(12, 32, 26, .14);
}
.v17-image-preview-top > button:hover { background: #fff; border-color: #fff; }
.v17-image-preview-top > button:focus-visible { outline: 3px solid #d69b5b; outline-offset: 2px; }
.v17-image-preview-top .v17-image-remove {
  width: 44px;
  padding: 0;
  display: grid;
  flex: 0 0 44px;
  place-items: center;
}
.v17-image-preview-top .v17-image-remove .ui-icon { width: 18px; height: 18px; }
.v17-image-preview-meta {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 9px;
  left: 10px;
  display: grid;
  min-width: 0;
  gap: 1px;
  color: #fff;
}
.v17-image-preview-meta strong,
.v17-image-preview-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v17-image-preview-meta strong { font-size: 13px; }
.v17-image-preview-meta span { color: rgba(255,255,255,.82); font-size: 12px; }
.v17-image-status { margin: 9px 0 0; color: #5a6c64; font-size: 13px; }
.v17-image-status.error { color: var(--danger, #a94747); font-weight: 650; }
.v17-image-section.is-processing .v17-image-grid { opacity: .62; }
.v17-property-gallery { display: grid; gap: 8px; margin-bottom: 18px; }
.v17-property-gallery .property-detail-hero { margin-bottom: 0; }
.v17-property-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.v17-property-gallery-thumbs img,
.v17-property-gallery-thumbs > span {
  width: 100%;
  height: 82px;
  border-radius: 8px;
}
.v17-property-gallery-thumbs img { border: 1px solid #d4dcd7; object-fit: cover; }
.v17-property-gallery-thumbs > span {
  display: grid;
  place-items: center;
  background: #17372f;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}
@media (max-width: 620px) {
  .v17-image-dropzone { min-height: 0; align-items: stretch; flex-direction: column; padding: 16px; }
  .v17-image-dropzone .button { width: 100%; justify-content: center; }
  .v17-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .v17-image-preview-top { top: 6px; right: 6px; left: 6px; }
  .v17-image-preview-top > button:not(.v17-image-remove) { max-width: calc(100% - 50px); padding-inline: 8px; }
  .v17-property-gallery-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v17-property-gallery-thumbs img,
  .v17-property-gallery-thumbs > span { height: 74px; }
}

.boot-screen{min-height:100vh;display:grid;place-items:center;padding:32px;background:#f4f5f1;color:#152a30;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.boot-card{width:min(520px,100%);padding:28px;border:1px solid #d9e0dc;border-radius:20px;background:#fff;box-shadow:0 16px 42px rgba(19,42,48,.12);text-align:center}.boot-card img{width:min(310px,85%);height:auto;margin:0 auto 18px}.boot-card p{margin:0;color:#4f6368}.fatal-error{position:fixed;inset:18px;z-index:999999;overflow:auto;padding:24px;border:2px solid #a94747;border-radius:18px;background:#fff;color:#152a30;box-shadow:0 28px 72px rgba(19,42,48,.25)}.fatal-error h1{font-size:1.35rem}.fatal-error pre{white-space:pre-wrap;word-break:break-word;padding:14px;border-radius:12px;background:#f7e5e5;color:#722}

/* GoLeje brand splash */
html.splash-active,
html.splash-active body { overflow: hidden; }

.splash-screen {
  --splash-pine: #0c2d25;
  --splash-pine-deep: #071f1a;
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #f5fbf8;
  background:
    radial-gradient(circle at 50% 43%, rgba(142, 204, 190, .17), transparent 32%),
    linear-gradient(145deg, #051a16, var(--splash-pine-deep) 28%, var(--splash-pine) 68%, #10372e);
  opacity: 1;
  transition: opacity 320ms cubic-bezier(.65, 0, .35, 1), transform 320ms cubic-bezier(.65, 0, .35, 1);
}

.splash-screen::before {
  content: '';
  position: absolute;
  inset: -25%;
  z-index: -1;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(600px) rotateX(58deg) translateY(26%);
  transform-origin: center bottom;
  mask-image: linear-gradient(to bottom, transparent 12%, #000 68%);
}

.splash-screen.is-leaving { opacity: 0; transform: scale(1.025); pointer-events: none; }

.splash-content {
  position: relative;
  z-index: 2;
  width: min(76vw, 440px);
  display: grid;
  justify-items: center;
  gap: 18px;
  animation: splash-content-enter 780ms cubic-bezier(.16, 1, .3, 1) both;
}

.splash-logo-stage {
  position: relative;
  width: min(100%, 420px);
  display: grid;
  place-items: center;
  padding: 0;
}

.splash-logo-stage::before {
  content: none;
}

.splash-logo-stage img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 46px rgba(0,0,0,.32));
  animation: splash-logo-focus 1100ms cubic-bezier(.16, 1, .3, 1) 90ms both;
}

.splash-logo-halo {
  position: absolute;
  z-index: 1;
  width: 270px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(111, 193, 176, .16);
  filter: blur(46px);
  animation: splash-halo 1800ms ease-in-out infinite alternate;
}

.splash-content p {
  margin: 0;
  color: rgba(235, 247, 242, .76);
  font-size: clamp(12px, 2vw, 14px);
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  animation: splash-copy-enter 650ms ease-out 560ms both;
}

.splash-progress {
  position: relative;
  width: min(210px, 56vw);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  animation: splash-copy-enter 500ms ease-out 680ms both;
}

.splash-progress > span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #63b7a6, #eefaf6 74%, #63b7a6);
  transform: scaleX(0);
  transform-origin: left center;
  animation: splash-progress 1750ms cubic-bezier(.65, 0, .35, 1) 120ms forwards;
  box-shadow: 0 0 18px rgba(99,183,166,.72);
}

.splash-atmosphere { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.splash-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(111, 190, 173, .17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.splash-orbit::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fc1b0;
  box-shadow: 0 0 17px 4px rgba(111,193,176,.52);
}

.splash-orbit-one {
  width: min(70vw, 700px);
  aspect-ratio: 1;
  animation: splash-orbit-one 15s linear infinite;
}

.splash-orbit-two {
  width: min(92vw, 920px);
  aspect-ratio: 1;
  border-color: rgba(111, 190, 173, .09);
  animation: splash-orbit-two 22s linear infinite;
}

.splash-light {
  position: absolute;
  top: -30%;
  left: 48%;
  width: 18%;
  height: 150%;
  background: linear-gradient(to right, transparent, rgba(170, 229, 216, .09), transparent);
  filter: blur(12px);
  transform: rotate(22deg) translateX(-240%);
  animation: splash-light-sweep 1750ms cubic-bezier(.65, 0, .35, 1) 80ms both;
}

@keyframes splash-content-enter {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes splash-logo-focus {
  0% { opacity: 0; transform: scale(.86); filter: blur(10px) drop-shadow(0 22px 46px rgba(0,0,0,0)); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: scale(1); filter: blur(0) drop-shadow(0 22px 46px rgba(0,0,0,.32)); }
}

@keyframes splash-copy-enter {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes splash-progress { to { transform: scaleX(1); } }
@keyframes splash-halo { from { opacity: .55; transform: scale(.82); } to { opacity: 1; transform: scale(1.18); } }
@keyframes splash-orbit-one { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes splash-orbit-two { from { transform: translate(-50%, -50%) rotate(160deg); } to { transform: translate(-50%, -50%) rotate(-200deg); } }
@keyframes splash-light-sweep { to { transform: rotate(22deg) translateX(480%); } }

@media (max-width: 620px) {
  .splash-content { width: min(82vw, 340px); gap: 16px; }
  .splash-logo-stage { width: min(100%, 330px); }
  .splash-orbit-one { width: 115vw; }
  .splash-orbit-two { width: 155vw; }
}

@media (prefers-reduced-motion: reduce) {
  .splash-content,
  .splash-logo-stage img,
  .splash-content p,
  .splash-progress,
  .splash-progress > span { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; }
  .splash-orbit,
  .splash-light,
  .splash-logo-halo { animation: none !important; }
  .splash-screen { transition-duration: 120ms; }
  .splash-progress > span { transform: scaleX(1); }
}

@media print { .splash-screen { display: none !important; } }

/* GoLeje V21 · konsekvent navigation */
.brand-home {
  appearance: none;
  cursor: pointer;
  text-align: left;
}

.brand-home img {
  transition: opacity 160ms ease, transform 160ms ease;
}

.brand-home:hover img { opacity: .9; transform: translateY(-1px); }
.brand-home:active img { transform: translateY(0) scale(.985); }
.brand-home:focus-visible,
.nav-item:focus-visible,
.sidebar-link:focus-visible {
  outline: 3px solid #d6b69e;
  outline-offset: -3px;
}

.sidebar .nav-item { min-height: 44px; }

@media (min-width: 901px) {
  .topbar {
    position: fixed;
    z-index: 50;
    inset: 0 0 auto;
    width: 100%;
    grid-template-columns: var(--sidebar) minmax(0, 1fr);
  }

  .workspace {
    display: grid;
    grid-template-columns: var(--sidebar) minmax(0, 1fr);
    min-height: 100vh;
    padding-top: var(--topbar);
    box-sizing: border-box;
  }

  .sidebar {
    position: fixed;
    z-index: 20;
    top: 0;
    bottom: auto;
    left: 0;
    display: flex;
    width: var(--sidebar);
    height: 100%;
    min-height: 0;
    padding-top: calc(var(--topbar) + 25px);
    box-sizing: border-box;
  }

  .workspace > .sidebar + .content { grid-column: 2; }
  .mobile-nav { display: none; }
}

/* GoLeje V80 · administratornavigation uden overlap */
@media (min-width: 901px) {
  .sidebar:not(.v23-tenant-sidebar) .sidebar-main {
    min-height: 0;
    padding-right: 6px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(255,255,255,.24) transparent;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
  }

  .sidebar:not(.v23-tenant-sidebar) .sidebar-main::-webkit-scrollbar {
    width: 5px;
  }

  .sidebar:not(.v23-tenant-sidebar) .sidebar-main::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255,255,255,.24);
  }
}

@media (min-width: 901px) and (max-width: 1730px) {
  .topbar-main > .role-switcher-five .role-button {
    width: 38px;
    padding-inline: 0;
    justify-content: center;
  }

  .topbar-main > .role-switcher-five .role-button span {
    display: none;
  }
}

@media (min-width: 901px) and (max-width: 1400px) {
  .topbar-main {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .topbar-context,
  .topbar-main > .role-switcher {
    display: none;
  }

  .mobile-role-trigger {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid var(--hm-line);
    border-radius: 9px;
    background: #f4f1ea;
    color: var(--hm-ink);
    font-size: 10px;
    font-weight: 650;
  }

  .mobile-role-trigger svg {
    width: 13px;
    height: 13px;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .sidebar:not(.v23-tenant-sidebar) .sidebar-summary {
    margin-top: 12px;
    padding: 12px;
  }

  .sidebar:not(.v23-tenant-sidebar) .sidebar-summary-meta {
    margin-block: 10px;
  }

  .sidebar:not(.v23-tenant-sidebar) .sidebar-foot {
    margin-top: 8px;
  }
}

@media (max-width: 900px) {
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }

  .workspace { display: block; }
  .sidebar { display: none; }
  .content { padding-bottom: 104px; }

  .mobile-nav {
    position: fixed;
    z-index: 75;
    right: 9px;
    bottom: max(9px, env(safe-area-inset-bottom));
    left: 9px;
    display: grid;
    grid-template-columns: repeat(var(--mobile-nav-items, 5), minmax(0, 1fr));
    gap: 3px;
    padding: 5px;
    border: 1px solid rgba(203, 207, 201, .92);
    border-radius: 17px;
    background: rgba(255, 253, 248, .96);
    box-shadow: 0 -10px 32px rgba(18, 39, 31, .1);
    backdrop-filter: blur(16px);
  }

  .mobile-nav .nav-item {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    min-height: 54px;
    place-items: center;
    align-content: center;
    gap: 3px;
    padding: 5px 3px;
    border-radius: 12px;
    color: #636b65;
    font-size: 10px;
    line-height: 1.1;
    text-align: center;
  }

  .mobile-nav .nav-item > span:nth-child(2) {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-nav .nav-icon { width: 22px; height: 22px; }
  .mobile-nav .nav-icon svg { width: 19px; height: 19px; }
  .mobile-nav .nav-item.active { background: var(--hm-sage-100, #e5ece7); color: var(--hm-pine-900, #17372f); }
  .mobile-nav .nav-item.active::before { display: none; }
  .mobile-nav .nav-count { position: absolute; top: 3px; right: 6px; }
}

@media (max-width: 520px) {
  .mobile-nav .nav-item { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-home img { transition: none; }
}

@media print {
  .mobile-nav { display: none !important; }
}

/* GoLeje V22 · udlejerens administratorer */
.v22-section { margin-top: 22px; }

.v22-admin-banner {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border: 1px solid #cbd7d0;
  border-radius: 16px;
  background: linear-gradient(115deg, #edf3ef, #fffdf8 72%);
}

.v22-admin-banner.is-empty {
  border-color: #d8cbb9;
  background: linear-gradient(115deg, #f7f1e8, #fffdf8 72%);
}

.v22-admin-banner-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 15px;
  background: var(--hm-pine-950, #143c31);
  color: #fff;
}

.v22-admin-banner-icon svg { width: 24px; height: 24px; }
.v22-admin-banner .eyebrow { display: block; margin-bottom: 4px; }
.v22-admin-banner h2 { margin: 0 0 4px; font-family: ui-serif, "Iowan Old Style", Georgia, serif; font-size: 22px; font-weight: 560; }
.v22-admin-banner p { margin: 0; color: var(--hm-muted, #687069); font-size: 13px; }

.v22-admin-grid,
.v22-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.v22-admin-card,
.v22-directory-card {
  min-width: 0;
  border: 1px solid var(--hm-line, #ddd9cf);
  border-radius: 16px;
  background: #fffefa;
}

.v22-admin-card { padding: 18px; }
.v22-admin-card > header { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.v22-admin-card h3,
.v22-directory-card h3,
.v22-own-admin h3,
.v22-selected-admin h3,
.v22-empty-admin h3 { margin: 0; color: var(--hm-ink, #18211d); font-size: 16px; }
.v22-admin-card header p { margin: 3px 0 0; color: var(--hm-muted, #687069); font-size: 12px; }

.v22-admin-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #d4ddd7;
  border-radius: 14px;
  background: #edf2ef;
  color: var(--hm-pine-900, #17372f);
  font-size: 13px;
  font-weight: 780;
}

.v22-admin-avatar.goleje { border-color: var(--hm-pine-950, #143c31); background: var(--hm-pine-950, #143c31); color: #fff; }
.v22-admin-avatar svg { width: 21px; height: 21px; }

.v22-admin-card-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 17px 0 13px;
  padding: 13px 0;
  border-top: 1px solid var(--hm-line, #ddd9cf);
  border-bottom: 1px solid var(--hm-line, #ddd9cf);
}

.v22-admin-card-facts > span { min-width: 0; padding: 0 12px; border-right: 1px solid var(--hm-line, #ddd9cf); }
.v22-admin-card-facts > span:first-child { padding-left: 0; }
.v22-admin-card-facts > span:last-child { padding-right: 0; border-right: 0; }
.v22-admin-card-facts strong,
.v22-admin-card-facts small { display: block; }
.v22-admin-card-facts strong { font-size: 14px; }
.v22-admin-card-facts small { margin-top: 3px; color: var(--hm-muted, #687069); font-size: 10px; }

.v22-access-note { display: flex; align-items: center; gap: 7px; margin: 0 0 15px; color: var(--hm-muted, #687069); font-size: 12px; }
.v22-access-note svg { width: 15px; height: 15px; color: var(--hm-pine-700, #205b49); }
.v22-admin-card footer { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.danger-text { color: #8d3b34 !important; }

.v22-empty-admin {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 132px;
  padding: 22px;
  border: 1px dashed #b9c8c0;
  border-radius: 16px;
  background: #fbfcf9;
}

.v22-empty-admin > span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #e7eee9; color: var(--hm-pine-800, #1c4b3f); }
.v22-empty-admin > span svg { width: 25px; height: 25px; }
.v22-empty-admin p { margin: 5px 0 0; color: var(--hm-muted, #687069); font-size: 13px; }

.v22-invitation-list { display: grid; gap: 9px; }
.v22-invitation-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--hm-line, #ddd9cf);
  border-radius: 12px;
  background: #fffefa;
}
.v22-invitation-row .v22-admin-avatar { width: 44px; height: 44px; }
.v22-invitation-row strong,
.v22-invitation-row small { display: block; }
.v22-invitation-row small { margin-top: 3px; color: var(--hm-muted, #687069); font-size: 11px; }
.v22-row-actions { display: flex; align-items: center; gap: 5px; }

.v22-property-cell { display: flex; align-items: center; gap: 10px; }
.v22-property-cell > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: #edf2ef; color: var(--hm-pine-800, #1c4b3f); }
.v22-property-cell > span svg { width: 17px; height: 17px; }
.v22-property-cell strong,
.v22-property-cell small { display: block; }
.v22-property-cell small { margin-top: 2px; color: var(--hm-muted, #687069); font-size: 10px; }
.v22-property-table td:last-child { width: 132px; }

.v22-choice-intro {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid #cbd7d0;
  border-radius: 13px;
  background: #edf3ef;
}
.v22-choice-intro > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--hm-pine-950, #143c31); color: #fff; }
.v22-choice-intro strong { display: block; margin-bottom: 3px; }
.v22-choice-intro p { margin: 0; color: #4f6259; font-size: 12px; line-height: 1.5; }

.v22-directory-card { display: flex; flex-direction: column; padding: 18px; }
.v22-directory-card.featured { border-color: #8aa99a; box-shadow: inset 0 3px var(--hm-pine-700, #205b49); }
.v22-directory-card > header { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 11px; }
.v22-directory-card > p { min-height: 42px; margin: 14px 0 12px; color: var(--hm-muted, #687069); font-size: 12px; line-height: 1.55; }
.v22-directory-meta { display: flex; flex-wrap: wrap; gap: 7px 13px; color: #46574f; font-size: 11px; }
.v22-directory-meta span { display: inline-flex; align-items: center; gap: 5px; }
.v22-directory-meta svg { width: 14px; height: 14px; color: var(--hm-pine-700, #205b49); }
.v22-directory-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 13px 0 17px; }
.v22-directory-tags span { padding: 5px 8px; border-radius: 999px; background: #eef1ed; color: #49564f; font-size: 10px; }
.v22-directory-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hm-line, #ddd9cf); }
.v22-directory-card > footer strong { font-size: 12px; }

.v22-own-admin {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px dashed #aebdb5;
  border-radius: 14px;
  background: #fafbf8;
}
.v22-own-admin p { margin: 4px 0 0; color: var(--hm-muted, #687069); font-size: 12px; }

.v22-selected-admin { display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: center; gap: 13px; margin-bottom: 18px; padding: 14px; border: 1px solid var(--hm-line, #ddd9cf); border-radius: 13px; background: #faf9f5; }
.v22-selected-admin .v22-admin-avatar { width: 50px; height: 50px; }

.v22-property-picker { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.v22-property-picker legend { margin-bottom: 9px; color: var(--hm-ink, #18211d); font-size: 12px; font-weight: 720; }
.v22-property-picker > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.v22-property-picker label { position: relative; cursor: pointer; }
.v22-property-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.v22-property-picker label > span {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid #d6d8d2;
  border-radius: 11px;
  background: #fffefa;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.v22-property-picker label > span > svg { width: 18px; height: 18px; color: var(--hm-pine-700, #205b49); }
.v22-property-picker label strong,
.v22-property-picker label small { display: block; }
.v22-property-picker label strong { font-size: 12px; }
.v22-property-picker label small { margin-top: 3px; color: var(--hm-muted, #687069); font-size: 10px; }
.v22-property-picker input:checked + span { border-color: var(--hm-pine-700, #205b49); background: #edf4ef; box-shadow: inset 0 0 0 1px var(--hm-pine-700, #205b49); }
.v22-property-picker input:focus-visible + span { outline: 3px solid #d6b69e; outline-offset: 2px; }

.v22-future-toggle { display: flex; min-height: 70px; align-items: center; gap: 11px; padding: 12px 14px; border: 1px solid #d6d8d2; border-radius: 11px; background: #fffefa; cursor: pointer; }
.v22-future-toggle input { width: 18px; height: 18px; accent-color: var(--hm-pine-700, #205b49); }
.v22-future-toggle strong,
.v22-future-toggle small { display: block; }
.v22-future-toggle strong { font-size: 12px; }
.v22-future-toggle small { margin-top: 3px; color: var(--hm-muted, #687069); font-size: 10px; }

.v22-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 19px; }
.v22-mode-grid label { position: relative; cursor: pointer; }
.v22-mode-grid input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.v22-mode-grid label > span { display: grid; grid-template-columns: 34px minmax(0, 1fr); min-height: 92px; align-content: center; gap: 3px 11px; padding: 14px; border: 1px solid #d6d8d2; border-radius: 12px; background: #fffefa; }
.v22-mode-grid label > span > svg { grid-row: 1 / 3; align-self: center; width: 22px; height: 22px; color: var(--hm-pine-700, #205b49); }
.v22-mode-grid strong,
.v22-mode-grid small { display: block; }
.v22-mode-grid strong { font-size: 13px; }
.v22-mode-grid small { color: var(--hm-muted, #687069); font-size: 10px; line-height: 1.45; }
.v22-mode-grid input:checked + span { border-color: var(--hm-pine-700, #205b49); background: #edf4ef; box-shadow: inset 0 0 0 1px var(--hm-pine-700, #205b49); }
.v22-mode-grid input:focus-visible + span { outline: 3px solid #d6b69e; outline-offset: 2px; }

.v22-end-list { display: grid; gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; }
.v22-end-list li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--hm-line, #ddd9cf); border-radius: 9px; background: #fffefa; font-size: 12px; }
.v22-end-list svg { width: 16px; height: 16px; color: var(--hm-pine-700, #205b49); }

.v22-admin-card button,
.v22-invitation-row button,
.v22-directory-card button,
.v22-own-admin button { min-height: 44px; }

.v22-admin-card button:focus-visible,
.v22-invitation-row button:focus-visible,
.v22-directory-card button:focus-visible,
.v22-own-admin button:focus-visible { outline: 3px solid #d6b69e; outline-offset: 2px; }

@media (max-width: 1040px) {
  .v22-admin-grid,
  .v22-directory-grid { grid-template-columns: 1fr; }
  .v22-directory-card > p { min-height: 0; }
}

@media (max-width: 760px) {
  .v22-admin-banner { grid-template-columns: 46px minmax(0, 1fr); padding: 15px; }
  .v22-admin-banner-icon { width: 46px; height: 46px; }
  .v22-admin-banner .button { grid-column: 1 / -1; width: 100%; }
  .v22-admin-card > header { grid-template-columns: 44px minmax(0, 1fr); }
  .v22-admin-card > header > .badge { grid-column: 1 / -1; justify-self: start; }
  .v22-admin-card footer .button { flex: 1 1 100%; }
  .v22-empty-admin { grid-template-columns: 52px minmax(0, 1fr); }
  .v22-empty-admin > .button { grid-column: 1 / -1; width: 100%; }
  .v22-invitation-row { grid-template-columns: 44px minmax(0, 1fr); }
  .v22-invitation-row > .badge { justify-self: start; }
  .v22-row-actions { grid-column: 1 / -1; }
  .v22-row-actions .button { flex: 1; }
  .v22-property-picker > div,
  .v22-mode-grid { grid-template-columns: 1fr; }
  .v22-own-admin { grid-template-columns: 46px minmax(0, 1fr); }
  .v22-own-admin .button { grid-column: 1 / -1; width: 100%; }
  .v22-directory-card > header { grid-template-columns: 46px minmax(0, 1fr); }
  .v22-directory-card > header > .badge { grid-column: 1 / -1; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .v22-property-picker label > span { transition: none; }
}

@media print {
  .v22-admin-banner .button,
  .v22-admin-card footer,
  .v22-row-actions,
  .v22-property-table td:last-child { display: none !important; }
}

/* GoLeje V23 · situationsstyret lejeroplevelse */
.v23-tenant-sidebar {
  height: calc(100vh - var(--topbar));
  height: calc(100dvh - var(--topbar));
  box-sizing: border-box;
  overflow: hidden;
}
.v23-tenant-sidebar .sidebar-main {
  display: grid;
  align-content: start;
  gap: 20px;
  min-height: 0;
  padding-right: 5px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: rgba(255,255,255,.22) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}
.v23-tenant-sidebar .sidebar-main::-webkit-scrollbar { width: 5px; }
.v23-tenant-sidebar .sidebar-main::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(255,255,255,.22); }
.v23-sidebar-profile { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 11px; padding: 0 8px 18px; border-bottom: 1px solid var(--hm-line-dark, rgba(255,255,255,.13)); }
.v23-sidebar-profile > div { min-width: 0; }
.v23-sidebar-profile > div > strong { display: block; overflow: hidden; color: #fff; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.v23-sidebar-profile .sidebar-avatar { width: 42px; height: 42px; }
.v23-nav-group { min-width: 0; }
.v23-nav-group .sidebar-label { margin-bottom: 8px; }

.v23-situation-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid #ced8d2;
  border-radius: 11px;
  background: #edf3ef;
  color: var(--hm-pine-900, #17372f);
}
.v23-situation-badge > svg { width: 18px; height: 18px; }
.v23-situation-badge span,
.v23-situation-badge strong,
.v23-situation-badge small { display: block; }
.v23-situation-badge strong { font-size: 12px; line-height: 1.25; }
.v23-situation-badge small { margin-top: 2px; color: #5d6c64; font-size: 11px; line-height: 1.25; }
.v23-situation-badge.search { border-color: #ddc4b7; background: #f7ede7; color: #7b3929; }
.v23-situation-badge.dual { border-color: #c8cdbf; background: linear-gradient(90deg, #e8f0eb 0 50%, #f8ece5 50%); }

.v23-sidebar-profile .v23-situation-badge { min-height: 0; margin-top: 6px; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.72); }
.v23-sidebar-profile .v23-situation-badge > svg { width: 13px; height: 13px; }
.v23-sidebar-profile .v23-situation-badge strong { font-size: 11px; font-weight: 620; }
.v23-sidebar-profile .v23-situation-badge small { display: none; }

.v23-demo-switcher { flex: 0 0 auto; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hm-line-dark, rgba(255,255,255,.13)); }
.v23-demo-switcher > .sidebar-label { display: block; margin: 0 8px 7px; }
.v23-demo-switcher > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.v23-demo-switcher button { display: grid; min-width: 0; min-height: 58px; align-content: center; justify-items: center; gap: 5px; padding: 6px 3px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: rgba(255,255,255,.62); text-align: center; cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 150ms ease; }
.v23-demo-switcher button:hover { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.06); color: #fff; }
.v23-demo-switcher button.active { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.1); color: #fff; }
.v23-demo-switcher button:active { transform: translateY(1px); }
.v23-demo-switcher button:focus-visible { outline: 3px solid #d6b69e; outline-offset: 2px; }
.v23-demo-switcher button > span:first-child { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; background: rgba(255,255,255,.08); }
.v23-demo-switcher button svg { width: 14px; height: 14px; }
.v23-demo-switcher button strong,
.v23-demo-switcher button small { display: block; }
.v23-demo-switcher button strong { overflow: hidden; max-width: 100%; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.v23-demo-switcher button small { display: none; }
.v23-demo-mobile { display: none; }

@media (min-width: 901px) {
  .v23-tenant-sidebar {
    position: fixed;
    z-index: 20;
    top: 0;
    bottom: auto;
    left: 0;
    width: var(--sidebar);
    height: 100%;
    padding-top: calc(var(--topbar) + 25px);
  }
  .v23-tenant-sidebar + .content { grid-column: 2; }
}

.v23-search-entry,
.v23-home-entry {
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
}

.v23-search-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 28px;
  margin-bottom: 22px;
  padding: 25px;
  border: 1px solid #d8bcae;
  background:
    radial-gradient(circle at 92% 12%, rgba(198,101,71,.13), transparent 18rem),
    #fff8f3;
}
.v23-search-entry-copy { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 14px; }
.v23-area-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 16px; background: var(--hm-rust, #c66547); color: #fff; box-shadow: 0 12px 28px rgba(198,101,71,.18); }
.v23-area-icon svg { width: 23px; height: 23px; }
.v23-search-entry .eyebrow { color: #9b4a32; }
.v23-search-entry h2 { margin: 3px 0 6px; font-family: ui-serif, "Iowan Old Style", Georgia, serif; font-size: clamp(24px, 3vw, 35px); font-weight: 540; letter-spacing: -.035em; }
.v23-search-entry p { margin: 0; color: #6c5b53; font-size: 14px; }
.v23-search-numbers { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid #ead7cd; border-radius: 12px; background: rgba(255,255,255,.62); }
.v23-search-numbers span { padding: 12px 15px; border-right: 1px solid #ead7cd; }
.v23-search-numbers span:last-child { border-right: 0; }
.v23-search-numbers strong,
.v23-search-numbers small { display: block; }
.v23-search-numbers strong { color: #632f21; font-size: 18px; }
.v23-search-numbers small { margin-top: 2px; color: #74645d; font-size: 12px; }
.v23-search-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.v23-home-entry {
  display: grid;
  grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
  margin-bottom: 22px;
  border: 1px solid #244a3f;
  background: var(--hm-pine-950, #143c31);
  color: #fff;
  box-shadow: 0 20px 48px rgba(20,60,49,.13);
}
.v23-home-image { position: relative; min-height: 270px; overflow: hidden; }
.v23-home-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(20,60,49,.45)); content: ''; }
.v23-home-image img { width: 100%; height: 100%; object-fit: cover; }
.v23-home-image .badge { position: absolute; z-index: 1; top: 15px; left: 15px; }
.v23-home-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 28px; }
.v23-home-copy .eyebrow { color: #d8b69f; }
.v23-home-copy h2 { margin: 5px 0 7px; color: #fff; font-family: ui-serif, "Iowan Old Style", Georgia, serif; font-size: clamp(27px, 3vw, 40px); font-weight: 530; }
.v23-home-copy > p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }
.v23-home-status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 21px 0; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.v23-home-status > span { display: grid; grid-template-columns: 19px minmax(0, 1fr); align-items: center; column-gap: 7px; padding: 0 13px; border-right: 1px solid rgba(255,255,255,.12); }
.v23-home-status > span:first-child { padding-left: 0; }
.v23-home-status > span:last-child { padding-right: 0; border-right: 0; }
.v23-home-status svg { grid-row: 1 / 3; width: 17px; height: 17px; color: #d8b69f; }
.v23-home-status strong,
.v23-home-status small { display: block; }
.v23-home-status strong { color: #fff; font-size: 14px; }
.v23-home-status small { color: rgba(255,255,255,.64); font-size: 11px; }
.v23-home-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.v23-home-entry .button.secondary { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.08); color: #fff; }
.v23-home-entry .button.secondary:hover { background: rgba(255,255,255,.14); }
.v23-home-entry .button.primary { background: #fff; color: var(--hm-pine-950, #143c31); }

.v23-search-paused {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  padding: 19px 21px;
  border: 1px dashed #b6c1ba;
  border-radius: 16px;
  background: #fafbf8;
}
.v23-search-paused > span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: #e9eeea; color: #596760; }
.v23-search-paused > span svg { width: 22px; height: 22px; }
.v23-search-paused h2,
.v23-search-paused h3 { margin: 3px 0 5px; }
.v23-search-paused h2 { font-family: ui-serif, "Iowan Old Style", Georgia, serif; font-size: 22px; font-weight: 540; }
.v23-search-paused p { margin: 0; color: var(--hm-muted, #687069); font-size: 13px; line-height: 1.5; }
.v23-search-paused.compact { grid-template-columns: 46px minmax(0, 1fr); align-items: start; }
.v23-search-paused.compact > span { width: 46px; height: 46px; }
.v23-search-paused.compact .button { grid-column: 1 / -1; }

.v23-dual-heading { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 8px; }
.v23-dual-heading > span { display: flex; align-items: center; gap: 8px; color: var(--hm-muted, #687069); font-size: 12px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.v23-dual-heading i { width: 8px; height: 8px; border-radius: 50%; }
.v23-dual-heading i.home { background: var(--hm-pine-700, #205b49); }
.v23-dual-heading i.search { background: var(--hm-rust, #c66547); }
.v23-dual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
.v23-dual-grid > section { height: 100%; margin: 0; }
.v23-dual-grid .v23-home-entry { grid-template-columns: 1fr; }
.v23-dual-grid .v23-home-image { min-height: 190px; max-height: 220px; }
.v23-dual-grid .v23-home-image::after { background: linear-gradient(0deg, rgba(20,60,49,.5), transparent 50%); }
.v23-dual-grid .v23-home-copy { justify-content: flex-start; padding: 23px; }
.v23-dual-grid .v23-home-copy h2 { font-size: 29px; }
.v23-dual-grid .v23-search-entry { display: flex; flex-direction: column; align-items: stretch; padding: 23px; }
.v23-dual-grid .v23-search-entry-copy { grid-template-columns: 46px minmax(0, 1fr); }
.v23-dual-grid .v23-area-icon { width: 46px; height: 46px; }
.v23-dual-grid .v23-search-entry h2 { font-size: 29px; }
.v23-dual-grid .v23-search-numbers { grid-column: auto; width: 100%; margin-top: auto; }
.v23-dual-grid .v23-search-actions { justify-content: stretch; }
.v23-dual-grid .v23-search-actions .button { flex: 1; }

.v23-recommendations { margin-top: 22px; }
.v23-recommendations .property-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v23-search-stats { margin-top: 22px; }
.v23-account-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--hm-line, #ddd9cf); }
.v23-account-head h2 { margin: 4px 0; font-family: ui-serif, "Iowan Old Style", Georgia, serif; font-size: 28px; font-weight: 540; }
.v23-account-head p { margin: 0; color: var(--hm-muted, #687069); }

.v23-pause-confirm { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 15px; align-items: start; }
.v23-pause-confirm > span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 15px; background: #edf2ef; color: var(--hm-pine-800, #1c4b3f); }
.v23-pause-confirm h3 { margin: 2px 0 6px; }
.v23-pause-confirm p { margin: 0; color: var(--hm-muted, #687069); line-height: 1.55; }

.v23-search-entry button,
.v23-home-entry button,
.v23-search-paused button { min-height: 44px; }
.v23-search-entry button:focus-visible,
.v23-home-entry button:focus-visible,
.v23-search-paused button:focus-visible { outline: 3px solid #d6b69e; outline-offset: 2px; }

@media (max-width: 1120px) {
  .v23-dual-grid { grid-template-columns: 1fr; }
  .v23-dual-heading { display: none; }
  .v23-recommendations .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .v23-demo-mobile { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding: 9px 11px; border: 1px solid var(--hm-line, #ddd9cf); border-radius: 11px; background: #fffdf8; }
  .v23-demo-mobile > span { color: var(--hm-muted, #687069); font-size: 12px; font-weight: 720; letter-spacing: .09em; text-transform: uppercase; }
  .v23-demo-mobile select { min-height: 44px; max-width: 220px; border: 1px solid #cfd4cf; border-radius: 9px; background: #fff; color: var(--hm-ink, #18211d); font-size: 12px; }
}

@media (max-width: 760px) {
  .v23-search-entry { display: flex; flex-direction: column; align-items: stretch; padding: 18px; }
  .v23-search-entry-copy { grid-template-columns: 44px minmax(0, 1fr); }
  .v23-area-icon { width: 44px; height: 44px; border-radius: 13px; }
  .v23-search-entry h2 { font-size: 25px; }
  .v23-search-actions { justify-content: stretch; }
  .v23-search-actions .button { flex: 1 1 100%; }
  .v23-home-entry { grid-template-columns: 1fr; }
  .v23-home-image { min-height: 220px; max-height: 260px; }
  .v23-home-image::after { background: linear-gradient(0deg, rgba(20,60,49,.5), transparent 50%); }
  .v23-home-copy { padding: 21px; }
  .v23-home-copy h2 { font-size: 30px; }
  .v23-home-status > span { padding-inline: 8px; }
  .v23-home-actions .button { flex: 1 1 100%; }
  .v23-search-paused { grid-template-columns: 46px minmax(0, 1fr); padding: 16px; }
  .v23-search-paused > span { width: 46px; height: 46px; }
  .v23-search-paused > .button { grid-column: 1 / -1; width: 100%; }
  .v23-recommendations .property-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .v23-search-numbers span { padding: 10px 8px; }
  .v23-search-numbers strong { font-size: 16px; }
  .v23-home-status { grid-template-columns: 1fr; gap: 8px; }
  .v23-home-status > span { padding: 6px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .v23-home-status > span:last-child { border-bottom: 0; }
  .v23-demo-mobile { align-items: stretch; flex-direction: column; }
  .v23-demo-mobile select { width: 100%; max-width: none; }
}

@media (max-width: 520px) {
  .v23-tenant-mobile-nav .nav-item { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .v23-demo-switcher button { transition: none; }
}

@media print {
  .v23-demo-mobile,
  .v23-demo-switcher,
  .v23-search-actions,
  .v23-home-actions,
  .v23-search-paused .button { display: none !important; }
}

/* GoLeje V25 · administration på den enkelte bolig */
.v7-property-image > span { top: 7px; left: 7px; }
.v7-property-image .badge {
  display: inline-flex;
  width: max-content;
  height: 23px;
  min-height: 23px;
  align-self: flex-start;
  gap: 4px;
  padding: 3px 7px;
  box-sizing: border-box;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 7px rgba(18, 39, 31, .12);
}
.v7-property-image .badge svg { width: 12px; height: 12px; }

/* GoLeje V27 · kompakte porteføljefiltre uden vandret scroll */
.v7-filterbar {
  flex-wrap: wrap;
  gap: 6px;
  overflow-x: visible;
  padding-bottom: 0;
}

.v7-filterbar button {
  flex: 0 1 auto;
  min-height: 44px;
  gap: 6px;
  padding: 9px 10px;
}

.v7-filterbar button strong {
  min-width: 20px;
  height: 20px;
}

@media (max-width: 620px) {
  .v7-filterbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  }

  .v7-filterbar button {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
  }
}

/* GoLeje V28 · kompakte statusbobler i boligens arbejdsrum */
.v7-workspace-hero .feature-pills > .badge,
.v7-tenancy-card .badge {
  display: inline-flex;
  width: max-content;
  height: 23px;
  min-height: 23px;
  align-self: flex-start;
  gap: 4px;
  padding: 3px 7px;
  box-sizing: border-box;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.v7-workspace-hero .feature-pills > .badge svg,
.v7-tenancy-card .badge svg {
  width: 12px;
  height: 12px;
}

/* GoLeje V30 · visuel ejendomstjekliste på udlejerdashboardet */
.v30-property-checklist {
  margin-bottom: 28px;
  overflow: hidden;
}

.v30-checklist-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 20px;
}

.v30-checklist-heading h2 {
  margin: 5px 0 6px;
  font-family: ui-serif, "Iowan Old Style", Georgia, serif;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 540;
  letter-spacing: -.035em;
}

.v30-checklist-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.v30-checklist-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafbf8;
}

.v30-checklist-summary > span {
  display: grid;
  min-height: 72px;
  align-content: center;
  gap: 2px;
  padding: 10px 13px;
  border-right: 1px solid var(--line);
}

.v30-checklist-summary > span:last-child { border-right: 0; }
.v30-checklist-summary strong { color: var(--brand); font-size: 21px; line-height: 1; }
.v30-checklist-summary small { color: var(--ink-soft); font-size: 11px; line-height: 1.25; }
.v30-checklist-summary .has-missing { background: #fff8ec; }
.v30-checklist-summary .has-missing strong { color: #8b5d20; }
.v30-checklist-summary .is-complete { background: #edf5f0; }

.v30-property-check-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.v30-property-check-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.v30-property-check-card.needs-attention { border-color: #decfae; }
.v30-property-check-card.complete { border-color: #c7d9cf; }

.v30-property-check-card > summary {
  display: grid;
  min-height: 78px;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
}

.v30-property-check-card > summary::-webkit-details-marker { display: none; }
.v30-property-check-card > summary::marker { content: ""; }
.v30-property-check-card > summary:hover { background: #fafbf8; }
.v30-property-check-card > summary:focus-visible {
  outline: 3px solid rgba(28,85,92,.22);
  outline-offset: -3px;
}

.v30-property-check-card h3 {
  margin: 4px 0 2px;
  font-family: ui-serif, "Iowan Old Style", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.v30-property-check-card summary p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.v30-check-status { color: var(--brand); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

.v30-check-progress {
  display: grid;
  min-width: 52px;
  min-height: 46px;
  place-content: center;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  text-align: center;
}

.v30-check-progress strong { color: var(--brand); font-size: 16px; line-height: 1; }
.v30-check-progress small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; text-transform: uppercase; }
.v30-check-toggle {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: var(--brand);
}
.v30-check-toggle svg { width: 15px; height: 15px; transform: rotate(90deg); }
.v30-property-check-card[open] .v30-check-toggle svg { transform: rotate(-90deg); }
.v30-check-card-body { border-top: 1px solid var(--line); }
.v30-progress-track { height: 4px; margin: 14px 16px 0; overflow: hidden; border-radius: 999px; background: #e7e8e3; }
.v30-progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }

.v30-required { padding: 14px 16px 13px; }
.v30-required > small,
.v30-optional > small { display: block; margin-bottom: 8px; color: var(--ink-faint); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.v30-required ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 10px; margin: 0; padding: 0; list-style: none; }

.v30-check-step {
  display: grid;
  min-width: 0;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.25;
}

.v30-check-step > span:first-child {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #d5d8d3;
  border-radius: 999px;
  background: #f6f7f4;
}

.v30-check-step svg { width: 11px; height: 11px; }
.v30-check-step.done { color: #285b45; }
.v30-check-step.done > span:first-child { border-color: #bcd2c5; background: #e8f1ec; color: #285b45; }
.v30-check-step.missing { color: #77541e; }
.v30-check-step.missing > span:first-child { border-color: #dfcda9; background: #fff5df; color: #8b5d20; }

.v30-missing {
  margin: 0 16px 13px;
  padding: 11px 12px;
  border: 1px solid #ead8b6;
  border-radius: 11px;
  background: #fff9ee;
  color: #68491d;
}

.v30-missing.clear { border-color: #c8dbd0; background: #edf5f0; color: #285b45; }
.v30-missing > strong { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.v30-missing > strong svg { width: 14px; height: 14px; }
.v30-missing ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 7px 0 0; padding-left: 17px; font-size: 11px; line-height: 1.4; }
.v30-missing p { margin: 6px 0 0; font-size: 11px; line-height: 1.4; }

.v30-optional {
  padding: 12px 16px 14px;
  border-top: 1px solid var(--line);
  background: #fafbf8;
}

.v30-optional > div { display: flex; flex-wrap: wrap; gap: 6px; }
.v30-optional > div > span { display: inline-flex; min-height: 24px; align-items: center; gap: 4px; padding: 4px 7px; border: 1px solid #d4ddd7; border-radius: 999px; background: #fff; color: #3f5e50; font-size: 10px; font-weight: 700; }
.v30-optional svg { width: 11px; height: 11px; }
.v30-optional em { color: var(--ink-faint); font-size: 11px; font-style: normal; }

.v30-property-check-card footer { display: flex; justify-content: flex-end; padding: 11px 16px 14px; border-top: 1px solid var(--line); }
.v30-property-check-card footer .button { min-height: 44px; }
.v30-property-check-card footer .button:focus-visible { outline: 3px solid rgba(28,85,92,.22); outline-offset: 2px; }

@media (max-width: 1180px) {
  .v30-checklist-heading { grid-template-columns: 1fr; align-items: start; }
  .v30-checklist-summary { width: 100%; }
}

@media (max-width: 620px) {
  .v30-property-checklist { margin-inline: -2px; }
  .v30-checklist-heading { gap: 16px; }
  .v30-checklist-heading p { font-size: 13px; }
  .v30-checklist-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v30-checklist-summary > span { min-width: 0; min-height: 70px; padding: 9px 8px; }
  .v30-checklist-summary small { font-size: 9px; }
  .v30-property-check-card > summary { min-height: 74px; grid-template-columns: minmax(0, 1fr) auto 24px; gap: 8px; padding: 12px 14px; }
  .v30-check-progress { min-width: 60px; }
  .v30-check-toggle { width: 24px; height: 24px; }
  .v30-progress-track { margin-inline: 14px; }
  .v30-required { padding-inline: 14px; }
  .v30-required ul { grid-template-columns: 1fr; }
  .v30-missing { margin-inline: 14px; }
  .v30-optional { padding-inline: 14px; }
  .v30-property-check-card footer { padding-inline: 14px; }
}

.v25-property-administration {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
  color: #334b42;
}
.v25-property-administration > svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--hm-pine-700, #205b49);
}
.v25-property-administration > span { display: grid; min-width: 0; gap: 1px; }
.v25-property-administration small {
  color: #66736c;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}
.v25-property-administration strong {
  overflow: hidden;
  color: #21382f;
  font-size: 14px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v25-property-administration.self > svg { color: #68736d; }
.v25-property-administration.compact {
  gap: 6px;
  margin-top: 7px;
  padding: 4px 8px;
  border: 1px solid #d9e1dc;
  border-radius: 8px;
  background: #f5f8f5;
}
.v25-property-administration.compact > svg { width: 14px; height: 14px; }
.v25-property-administration.compact > span { display: flex; gap: 4px; align-items: baseline; }
.v25-property-administration.compact small { font-size: 11px; }
.v25-property-administration.compact strong { font-size: 12px; }

.v25-administration-picker {
  border: 1px solid #cddbd3;
  border-radius: 16px;
  background: #f6faf7;
}
.v25-administration-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, .55fr);
  align-items: center;
  gap: 18px;
}
.v25-administration-field select { min-height: 46px; font-size: 15px; }
.v25-administration-preview {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid #cad8d0;
  border-radius: 12px;
  background: #fff;
}
.v25-administration-preview > svg {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 10px;
  background: #e8f0eb;
  color: var(--hm-pine-700, #205b49);
}
.v25-administration-preview > span,
.v25-administration-preview small,
.v25-administration-preview strong { display: block; min-width: 0; }
.v25-administration-preview small { color: #66736c; font-size: 12px; font-weight: 650; }
.v25-administration-preview strong { margin-top: 2px; overflow: hidden; color: #17372f; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.v25-administration-preview.self > svg { background: #eef0ed; color: #68736d; }

.v25-property-administration-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 1px solid #d6dfd9;
  border-radius: 13px;
  background: #f7faf7;
}
.v25-property-administration-banner .v25-property-administration { margin: 0; }

.v7-property-title > .v25-property-administration { justify-self: start; }
.v7-workspace-title .v25-property-administration { margin-top: 10px; }
.property-tile-body > .v25-property-administration { margin: 8px 0 2px; }

.v25-administration-field select:focus-visible,
.v25-property-administration-banner .button:focus-visible {
  outline: 3px solid #d6b69e;
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .v25-administration-field { grid-template-columns: 1fr; }
  .v25-administration-preview { min-width: 0; }
  .v25-property-administration-banner { align-items: stretch; flex-direction: column; }
  .v25-property-administration-banner .button { width: 100%; min-height: 44px; }
}

@media (max-width: 620px) {
  .v7-property-title > .v25-property-administration.compact { padding: 3px 6px; }
  .v7-property-title > .v25-property-administration.compact small { display: none; }
}

@media print {
  .v25-administration-picker,
  .v25-property-administration-banner .button { display: none !important; }
}

/* GoLeje V32 · intuitiv standregistrering og billedspor */
html,
body,
.app-shell { max-width: 100%; overflow-x: clip; }

.v32-inspection-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.v32-inspection-guide article {
  display: grid;
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcf9;
}

.v32-inspection-guide article.active { border-color: #b9cec2; background: #edf5f0; }
.v32-inspection-guide article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #e6ebe7;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}
.v32-inspection-guide article.active > span { background: var(--brand); color: #fff; }
.v32-inspection-guide strong { display: block; margin: 1px 0 4px; color: var(--ink); font-size: 14px; line-height: 1.3; }
.v32-inspection-guide p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }

.v32-comparison-panel { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; }
.v32-comparison-panel .v7-table-wrap { display: block; width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.v32-comparison-panel .v7-comparison-toolbar { align-items: center; }
.v32-comparison-panel .v7-comparison-toolbar p { max-width: 680px; margin: 6px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.v32-comparison-table { min-width: 900px; table-layout: fixed; }
.v32-comparison-table.is-moveout th:nth-child(1),
.v32-comparison-table.is-moveout td:nth-child(1) { width: 17%; }
.v32-comparison-table.is-moveout th:nth-child(2),
.v32-comparison-table.is-moveout td:nth-child(2) { width: 27%; }
.v32-comparison-table.is-moveout th:nth-child(3),
.v32-comparison-table.is-moveout td:nth-child(3) { width: 31%; }
.v32-comparison-table.is-moveout th:nth-child(4),
.v32-comparison-table.is-moveout td:nth-child(4) { width: 25%; }
.v32-comparison-table.is-movein th:first-child,
.v32-comparison-table.is-movein td:first-child { width: 24%; }
.v32-comparison-table.is-movein th:last-child,
.v32-comparison-table.is-movein td:last-child { width: 76%; }
.v32-comparison-table thead th { padding: 14px 13px; color: #40544c; font-size: 11px; letter-spacing: .07em; }
.v32-comparison-table thead th small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 10px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.v32-comparison-table td { padding: 14px 13px; }
.v32-comparison-table .v32-room-divider th {
  padding: 10px 13px;
  border-top: 1px solid #cad5ce;
  border-bottom: 1px solid #cad5ce;
  background: #eef3ef;
  color: #294b3d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}
.v32-comparison-table .v32-point-row > td:first-child strong { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; }
.v32-comparison-table .v32-point-row > td:first-child small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 11px; }
.v32-comparison-table tr.changed { background: #fffaf1; }
.v32-baseline-cell { background: #fafbf9; }
.v32-locked-baseline { display: grid; gap: 6px; }
.v32-locked-baseline > span { display: flex; align-items: center; gap: 5px; color: #607068; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.v32-locked-baseline > span svg { width: 13px; height: 13px; }
.v32-locked-baseline > strong { color: #294b3d; font-size: 15px; }
.v32-locked-baseline p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.4; }

.v32-condition-field { display: grid; gap: 5px; margin-bottom: 9px; }
.v32-condition-field > label { color: #53635c; font-size: 11px; font-weight: 750; }
.v32-comparison-table .v32-condition-field select,
.v32-comparison-table .v32-condition-field textarea,
.v32-comparison-table .v32-condition-field input {
  min-height: 44px;
  margin: 0;
  padding: 10px 11px;
  border-color: #cfd6d1;
  font-size: 13px;
}
.v32-comparison-table .v32-condition-field textarea { min-height: 68px; resize: vertical; }
.v32-comparison-table select:focus-visible,
.v32-comparison-table textarea:focus-visible,
.v32-comparison-table input:focus-visible,
.v32-photo-add:focus-visible,
.v32-photo-thumb button:focus-visible { outline: 3px solid rgba(28,85,92,.24); outline-offset: 2px; }
.v32-money-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; overflow: hidden; border: 1px solid #cfd6d1; border-radius: 9px; background: #fff; }
.v32-comparison-table .v32-money-input input { border: 0; border-radius: 0; }
.v32-money-input span { padding: 0 11px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }

.v32-photo-control { display: grid; gap: 7px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #d5dbd7; }
.v32-photo-list { display: flex; min-height: 42px; flex-wrap: wrap; gap: 6px; align-items: center; }
.v32-photo-thumb { position: relative; display: block; width: 48px; height: 48px; flex: 0 0 48px; }
.v32-photo-thumb img { width: 100%; height: 100%; border: 1px solid #cfd6d1; border-radius: 8px; object-fit: cover; }
.v32-photo-thumb button { position: absolute; top: -7px; right: -7px; display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #d1d8d3; border-radius: 999px; background: #fff; color: #7f352c; cursor: pointer; }
.v32-photo-thumb button svg { width: 12px; height: 12px; }
.v32-photo-empty { color: var(--ink-faint); font-size: 11px; }
.v32-photo-legacy { display: inline-flex; min-height: 32px; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid #d6ddd8; border-radius: 8px; background: #fff; color: #53635c; font-size: 11px; }
.v32-photo-legacy svg { width: 13px; height: 13px; }
.v32-photo-add { width: fit-content; min-height: 44px; font-size: 12px; cursor: pointer; }
.v32-photo-control > small { color: var(--ink-faint); font-size: 10px; }
.v32-comparison-table td.is-processing { opacity: .65; pointer-events: none; }

@media (max-width: 900px) {
  .v32-inspection-guide { grid-template-columns: 1fr; }
  .v32-inspection-guide article { grid-template-columns: 32px minmax(0, 1fr); padding: 13px; }
  .v32-inspection-guide article > span { width: 32px; height: 32px; }
  .v32-comparison-panel .v7-comparison-toolbar { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .v32-comparison-panel .v7-table-wrap { overflow: visible; }
  .v32-comparison-table,
  .v32-comparison-table tbody { display: block; width: 100%; min-width: 0; }
  .v32-comparison-table thead { display: none; }
  .v32-comparison-table .v32-room-divider { display: block; margin-top: 14px; }
  .v32-comparison-table .v32-room-divider:first-child { margin-top: 0; }
  .v32-comparison-table .v32-room-divider th { display: block; width: 100%; border-top: 0; }
  .v32-comparison-table .v32-point-row { display: block; margin: 0 12px 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
  .v32-comparison-table .v32-point-row > td,
  .v32-comparison-table.is-moveout .v32-point-row > td,
  .v32-comparison-table.is-movein .v32-point-row > td { display: block; width: 100%; padding: 13px; border-right: 0; }
  .v32-comparison-table .v32-point-row > td::before { display: block; margin-bottom: 9px; color: #607068; content: attr(data-label); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
  .v32-comparison-table .v32-point-row > td:first-child { background: #f5f7f4; }
  .v32-comparison-table .v32-point-row > td:first-child::before { display: none; }
  .v32-comparison-table tr.changed { background: #fff; }
  .v32-comparison-table tr.changed > td:first-child { box-shadow: inset 4px 0 #c18a3a; }
  .v32-comparison-table .v32-baseline-cell { background: #fafbf9; }
  .v32-photo-add { width: 100%; justify-content: center; }
}

@media print {
  .v32-inspection-guide,
  .v32-photo-add,
  .v32-photo-thumb button { display: none !important; }
  .v32-comparison-table { min-width: 0; }
}

/* V38 · final cascade for editable property-image metadata */
.v17-image-preview {
  display: grid;
  aspect-ratio: auto;
  overflow: hidden;
  background: #fff;
}
.v17-image-preview::after { display: none; }
.v17-image-preview > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.v17-image-preview-meta {
  position: static;
  display: grid;
  right: auto;
  bottom: auto;
  left: auto;
  padding: 11px;
  color: var(--ink);
  background: #fff;
}
.v17-image-preview-meta > strong,
.v17-image-preview-meta > span { color: var(--ink); }
.v17-image-preview-meta > span { color: var(--ink-soft); }
.v17-image-preview-meta label { display: grid; gap: 4px; margin-top: 9px; }
.v17-image-preview-meta label span { color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.v17-image-preview-meta input { min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid #d5ddd8; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 12px; }
.v17-image-preview-meta input:focus { border-color: var(--brand); outline: 3px solid rgba(24, 111, 82, .12); }

/* GoLeje V49 · invitation response deadlines */
.v49-invite-settings { display: grid; gap: 13px; }
.v49-deadline-field input { min-height: 44px; }
.v49-deadline-field input[aria-invalid="true"] {
  border-color: #b7564b;
  background: #fff8f7;
  box-shadow: 0 0 0 3px rgba(183, 86, 75, .12);
}

.v49-invitation-deadline {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  margin: 11px 0 12px;
  padding: 8px 10px;
  border-left: 3px solid #36745b;
  border-radius: 0 8px 8px 0;
  background: #eff6f2;
  color: #285641;
}
.v49-invitation-deadline > svg { width: 17px; height: 17px; flex: 0 0 auto; }
.v49-invitation-deadline > span { display: grid; gap: 1px; min-width: 0; }
.v49-invitation-deadline small { color: #557064; font-size: 10px; font-weight: 700; }
.v49-invitation-deadline strong { color: inherit; font-size: 12px; line-height: 1.25; }
.v49-invitation-deadline.urgent { border-left-color: #b47728; background: #fff5e5; color: #754b13; }
.v49-invitation-deadline.urgent small { color: #805f34; }
.v49-invitation-deadline.expired { border-left-color: #a84b42; background: #fff1ef; color: #86352e; }
.v49-invitation-deadline.expired small { color: #91554f; }
.v49-invitation-deadline.compact { margin: 9px 0 11px; padding-block: 7px; }
.v49-invitation-deadline.compact strong { font-size: 11px; }
.invitation-card.is-expired img { filter: grayscale(.55); }
.invitation-card.is-expired .invitation-copy > p { color: var(--ink-soft); }

@media (max-width: 700px) {
  .v49-invite-settings { grid-template-columns: 1fr; }
  .v49-invitation-deadline { width: 100%; }
}
/* GoLeje V50 · language access, tenant CV languages and message routing */
.v50-language-trigger {
  min-width: 68px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.v50-language-trigger:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-1px);
}

.v50-language-trigger:focus-visible,
.v50-language-option:focus-visible,
.v50-language-remove:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 28%, transparent);
  outline-offset: 2px;
}

.v50-language-trigger > span {
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.v50-language-trigger small {
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 650;
}

/* GoLeje V62 · sammenhængende grøn topbjælke ved alle skærmbredder */
@media screen {
  .topbar,
  .topbar-main {
    background: var(--hm-pine-950);
  }

  .topbar-main {
    border-bottom-color: rgba(255, 255, 255, .1);
    box-shadow: inset 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: none;
  }

  .topbar-context span,
  .active-user-copy span {
    color: rgba(255, 255, 255, .56);
  }

  .topbar-context strong,
  .active-user-copy strong {
    color: #fff;
  }

  .topbar-main > .role-switcher {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .07);
  }

  .topbar-main .role-button {
    color: rgba(255, 255, 255, .72);
  }

  .topbar-main .role-button:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
  }

  .topbar-main .role-button.active {
    color: var(--hm-pine-950);
    background: var(--hm-paper);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .17);
  }

  .topbar-main .role-button:focus-visible,
  .topbar-actions .icon-button:focus-visible,
  .topbar-actions .v50-language-trigger:focus-visible {
    outline: 3px solid #d6b69e;
    outline-offset: 2px;
  }

  .topbar-actions .icon-button {
    border-color: transparent;
    color: rgba(255, 255, 255, .82);
  }

  .topbar-actions .icon-button:hover,
  .topbar-actions .icon-button.active {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .09);
    color: #fff;
  }

  .topbar-main .mobile-role-trigger {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .08);
    color: #fff;
  }

  .topbar-main .mobile-role-trigger:hover {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .13);
  }

  .topbar-main .mobile-role-trigger:focus-visible {
    outline: 3px solid #d6b69e;
    outline-offset: 2px;
  }

  .topbar-actions .v50-language-trigger {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .07);
    color: #fff;
  }

  .topbar-actions .v50-language-trigger small {
    color: rgba(255, 255, 255, .63);
  }

  .topbar-actions .v50-language-trigger:hover {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .12);
  }

  .topbar-actions .active-user {
    border-left-color: rgba(255, 255, 255, .14);
  }

  .topbar-actions .active-user .avatar {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .12);
    color: #fff;
  }

  .topbar-actions .backend-pill.local {
    border-color: rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .72);
  }
}

.v50-language-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.v50-language-option {
  min-height: 70px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.v50-language-option:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-1px);
}

.v50-language-option.is-current {
  border-color: color-mix(in srgb, var(--brand) 60%, var(--line));
  background: var(--brand-soft);
  box-shadow: inset 3px 0 0 var(--brand);
}

.v50-language-option-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.v50-language-option-copy strong {
  font-size: .95rem;
  line-height: 1.15;
}

.v50-language-option-copy span,
.v50-language-code {
  color: var(--muted);
  font-size: .75rem;
}

.v50-language-code {
  font-weight: 800;
  letter-spacing: .08em;
}

.v50-language-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.v50-language-check .ui-icon { width: 15px; height: 15px; }
.v50-language-note { margin-top: 14px; }

.v50-language-list {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.v50-language-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, .75fr) 44px;
  align-items: end;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 92%, var(--paper));
}

.v50-language-remove {
  width: 44px;
  height: 44px;
  color: var(--muted);
}

.v50-language-remove:hover { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); }

.v50-language-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.v50-language-pill {
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--line));
  border-radius: 999px;
  background: var(--brand-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.v50-language-pill strong { font-size: .78rem; }
.v50-language-pill span { color: var(--muted); font-size: .7rem; }
.v50-language-pill span::before { content: '·'; margin-right: 6px; }

.v50-language-more {
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
  display: inline-grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
}

.v50-language-empty { color: var(--muted); font-size: .84rem; }

.v50-candidate-languages {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.v50-candidate-languages > span {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 750;
}

.v50-candidate-languages .ui-icon,
.v50-message-language-help .ui-icon { width: 16px; height: 16px; }

.v50-message-routing {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: 16px;
  background: color-mix(in srgb, var(--brand-soft) 55%, var(--surface));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.v50-message-language-help {
  grid-column: 1 / -1;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .78rem;
  line-height: 1.45;
}

.v50-thread-language-picker {
  margin: 0 0 10px !important;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: 13px;
  background: color-mix(in srgb, var(--brand-soft) 48%, #fff);
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .9fr);
  align-items: end !important;
  gap: 12px !important;
}

.v50-thread-recipient {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.v50-thread-recipient .ui-icon { width: 18px; height: 18px; color: var(--brand); flex: 0 0 auto; }
.v50-thread-recipient > span { min-width: 0; display: grid; gap: 2px; }
.v50-thread-recipient small,
.v50-thread-language-picker label > span { color: var(--ink-soft); font-size: .7rem; font-weight: 750; }
.v50-thread-recipient strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .86rem; }

.v50-thread-language-picker label { display: grid; gap: 5px; }
.v50-thread-language-picker select { width: 100%; min-height: 40px; }

.v50-thread-language-badge {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 750;
}

.v50-thread-language-badge .ui-icon { width: 13px; height: 13px; }

html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .topbar-actions,
html[dir="rtl"] .profile-summary,
html[dir="rtl"] .quick-item,
html[dir="rtl"] .toggle-row,
html[dir="rtl"] .form-section-heading { direction: rtl; }
html[dir="rtl"] .v50-language-option { text-align: right; }
html[dir="rtl"] .v50-language-option.is-current { box-shadow: inset -3px 0 0 var(--brand); }

@media (max-width: 760px) {
  .v50-language-trigger {
    min-width: 44px;
    width: 44px;
    padding: 0;
  }
  .v50-language-trigger small { display: none; }
  .v50-language-menu { grid-template-columns: 1fr; }
  .v50-language-option { min-height: 62px; }
  .v50-language-row { grid-template-columns: minmax(0, 1fr) 44px; }
  .v50-language-row .field:nth-child(2) { grid-column: 1 / 2; }
  .v50-language-remove { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .v50-message-routing { grid-template-columns: 1fr; }
  .v50-message-language-help { grid-column: 1; }
  .v50-thread-language-picker { grid-template-columns: 1fr; align-items: stretch !important; }
}

@media (max-width: 420px) {
  .v50-language-pill { align-items: flex-start; flex-direction: column; gap: 3px; border-radius: 12px; }
  .v50-language-pill span::before { display: none; }
}

/* GoLeje V51 · invitation state replaces duplicate invite actions */
.candidate-invitation-state {
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  background: var(--surface-2);
}

.candidate-invitation-state .ui-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.candidate-invitation-state > span {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}

.candidate-invitation-state strong {
  color: inherit;
  font-size: .75rem;
  font-weight: 760;
}

.candidate-invitation-state small {
  color: var(--ink-soft);
  font-size: .66rem;
}

.candidate-invitation-state.warning { border-color: #d9c79e; background: var(--warning-soft); color: #76551c; }
.candidate-invitation-state.brand { border-color: #b8d1cd; background: var(--brand-soft); color: var(--brand-strong); }
.candidate-invitation-state.success { border-color: #b8d8c8; background: var(--success-soft); color: #245f48; }
.candidate-invitation-state.danger { border-color: #e4bcbc; background: var(--danger-soft); color: #893b3b; }
.candidate-invitation-state.muted { background: var(--surface-2); color: var(--ink-soft); }

.candidate-actions .button {
  min-height: 44px;
}

.modal-footer .candidate-invitation-state {
  margin-right: auto;
}

@media (max-width: 560px) {
  .candidate-invitation-state {
    flex: 1 1 100%;
  }

  .modal-footer .candidate-invitation-state {
    width: 100%;
    margin-right: 0;
  }
}

/* GoLeje V53 · shared role calendar */
.calendar-toolbar-tools {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.calendar-scope {
  display: grid;
  min-width: min(230px, 100%);
  gap: 5px;
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 750;
}

.calendar-scope select {
  width: 100%;
  min-height: 44px;
  padding: 8px 34px 8px 11px;
  border: 1px solid #d4dcd7;
  border-radius: 10px;
  background-color: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .86rem;
}

.calendar-scope select:hover { border-color: #9eb6ab; }
.calendar-scope select:focus-visible { outline: 3px solid rgba(32, 91, 73, .2); outline-offset: 2px; }

.calendar-event {
  min-height: 28px;
  font-size: .7rem;
}

.calendar-event span { font-size: .63rem; }

@media (max-width: 980px) {
  .calendar-toolbar { align-items: stretch; flex-direction: column; }
  .calendar-toolbar-tools { width: 100%; justify-content: flex-start; }
  .calendar-scope { flex: 1 1 220px; }
  .calendar-filters { flex: 1 1 100%; }
}

@media (max-width: 760px) {
  .view-calendar .page-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .view-calendar .page-actions .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .view-calendar .page-actions .button.primary { grid-column: 1 / -1; }

  .calendar-toolbar-tools,
  .calendar-scope,
  .calendar-filters { width: 100%; min-width: 0; }

  .calendar-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .calendar-filters .tab {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 7px 8px;
    white-space: normal;
  }

  .month-calendar { overflow: hidden; }

  .calendar-weekdays,
  .calendar-grid { min-width: 0; }

  .calendar-weekdays span {
    padding: 8px 1px;
    font-size: .58rem;
  }

  .calendar-day {
    min-height: 58px;
    padding: 5px 3px;
  }

  .calendar-day-number {
    height: 100%;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    margin: 0;
  }

  .calendar-day-number span {
    width: 27px;
    height: 27px;
    font-size: .72rem;
  }

  .calendar-day-number small {
    min-width: 16px;
    padding: 2px 5px;
    border-radius: 99px;
    background: #e7efea;
    color: #315849;
    font-size: .6rem;
    line-height: 1.2;
    text-align: center;
  }

  .calendar-day-events { display: none; }
}

@media (max-width: 380px) {
  .calendar-day { min-height: 52px; }
  .calendar-day-number span { width: 25px; height: 25px; }
}

/* GoLeje V58 · fokuseret fejlmeldingsoversigt */
.grid.stats.v58-tenant-issue-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.stats.v58-tenant-issue-stats > button.stat-card.interactive .stat-icon {
  position: static;
  grid-column: 1;
}

.grid.stats.v58-tenant-issue-stats > button.stat-card.interactive .stat-copy {
  grid-column: 2;
}

.grid.stats.v58-tenant-issue-stats > button.stat-card.interactive .stat-cue {
  grid-column: 3;
}

@media (min-width: 761px) {
  .grid.stats.v58-tenant-issue-stats > button.stat-card.interactive {
    border-right: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 0;
  }

  .grid.stats.v58-tenant-issue-stats > button.stat-card.interactive:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
  }

  .grid.stats.v58-tenant-issue-stats > button.stat-card.interactive:last-child {
    border-right: 0;
    border-radius: 0 var(--radius) var(--radius) 0;
  }
}

@media (max-width: 760px) {
  .grid.stats.v58-tenant-issue-stats {
    grid-template-columns: 1fr;
  }

  .grid.stats.v58-tenant-issue-stats > button.stat-card.interactive {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .grid.stats.v58-tenant-issue-stats > button.stat-card.interactive:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .grid.stats.v58-tenant-issue-stats > button.stat-card.interactive:last-child {
    border-bottom: 0;
    border-radius: 0 0 var(--radius) var(--radius);
  }
}

/* GoLeje V54 · ejendomsfordeling uden vandret overflow */
@media (max-width: 760px) {
  .content-landlord.view-administrators .table-wrap {
    width: 100%;
    min-width: 0;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .content-landlord.view-administrators .v22-property-table,
  .content-landlord.view-administrators .v22-property-table tbody {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 10px;
  }

  .content-landlord.view-administrators .v22-property-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .content-landlord.view-administrators .v22-property-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 14px;
    width: 100%;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--hm-line, #ddd9cf);
    border-radius: 12px;
    background: #fffefa;
  }

  .content-landlord.view-administrators .v22-property-table td {
    display: block;
    width: auto !important;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
  }

  .content-landlord.view-administrators .v22-property-main,
  .content-landlord.view-administrators .v22-property-action {
    grid-column: 1 / -1;
  }

  .content-landlord.view-administrators .v22-property-admin {
    grid-column: 1;
  }

  .content-landlord.view-administrators .v22-property-status {
    grid-column: 2;
    align-self: end;
    justify-self: end;
  }

  .content-landlord.view-administrators .v22-property-admin::before,
  .content-landlord.view-administrators .v22-property-status::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: var(--hm-muted, #687069);
    font-size: .68rem;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .content-landlord.view-administrators .v22-property-status::before {
    text-align: right;
  }

  .content-landlord.view-administrators .v22-property-cell,
  .content-landlord.view-administrators .v22-property-cell > div {
    min-width: 0;
  }

  .content-landlord.view-administrators .v22-property-cell strong,
  .content-landlord.view-administrators .v22-property-cell small {
    overflow-wrap: anywhere;
  }

  .content-landlord.view-administrators .v22-property-action .button {
    width: 100%;
    min-height: 44px;
  }
}

.v59-saved-issue-photos,
.v59-workorder-slot-wishes {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.v59-saved-issue-photos > div:first-child,
.v59-workorder-slot-wishes > div:first-child {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 10px;
}

.v59-saved-issue-photos > div:first-child > span,
.v59-workorder-slot-wishes > div:first-child > span:first-child {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: #e7efea;
  color: var(--brand);
}

.v59-saved-issue-photos > div:first-child > span svg,
.v59-workorder-slot-wishes > div:first-child > span:first-child svg {
  width: 17px;
  height: 17px;
}

.v59-saved-issue-photos > div:first-child strong,
.v59-saved-issue-photos > div:first-child small,
.v59-workorder-slot-wishes strong,
.v59-workorder-slot-wishes small {
  display: block;
}

.v59-saved-issue-photos > div:first-child small,
.v59-workorder-slot-wishes small {
  margin-left: auto;
  color: var(--ink-soft);
  font-size: .7rem;
}

.v59-saved-issue-photos > div:last-child {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
}

.v59-saved-issue-photos img {
  width: 100%;
  height: 86px;
  border-radius: 8px;
  object-fit: cover;
}

.v59-workorder-slot-wishes > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v59-workorder-slot-wishes > div:last-child button {
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.v59-workorder-slot-wishes > div:last-child button:hover {
  border-color: var(--brand);
  background: #f5f8f6;
}

.v59-workorder-slot-wishes > div:last-child button:focus-visible {
  outline: 3px solid #d6b69e;
  outline-offset: 2px;
}

.v59-workorder-slot-wishes > div:last-child button small {
  margin: 3px 0 0;
}

@media (max-width: 520px) {
  .v59-saved-issue-photos > div:first-child,
  .v59-workorder-slot-wishes > div:first-child {
    align-items: flex-start;
  }

  .v59-saved-issue-photos > div:first-child small {
    margin-left: 0;
  }

  .v59-workorder-slot-wishes > div:first-child > span:last-child {
    min-width: 0;
  }

  .v59-workorder-slot-wishes > div:first-child small {
    margin-left: 0;
    line-height: 1.45;
  }

  .v59-workorder-slot-wishes > div:last-child,
  .v59-workorder-slot-wishes > div:last-child button {
    width: 100%;
  }
}
/* GoLeje V92 · stabil lejernavigation og samlet boligsøgning */
.v23-demo-mobile,
.v23-demo-switcher {
  display: none !important;
}

.v92-sidebar-profile {
  display: flex;
  gap: 12px;
  margin: 4px 0 24px;
  padding: 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
}

.v92-sidebar-profile > div {
  min-width: 0;
}

.v92-sidebar-profile strong,
.v92-sidebar-profile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v92-sidebar-profile small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .67);
  font-size: .72rem;
}

.v92-sidebar-shortcuts {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.v92-sidebar-shortcuts button {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  align-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  text-align: left;
  cursor: pointer;
}

.v92-sidebar-shortcuts button:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.v92-sidebar-shortcuts b {
  display: grid;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent, #b7684d);
  color: #fff;
  font-size: .68rem;
}

.v92-role-layout {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
  gap: 20px;
  align-items: start;
}

.v92-role-demos {
  padding: 22px;
  border: 1px solid var(--line, #dedbd3);
  border-radius: 20px;
  background: #f5f2e9;
}

.v92-role-demos h3 {
  margin: 3px 0 4px;
}

.v92-role-demos p {
  margin: 0;
  color: var(--ink-soft, #687069);
  font-size: .78rem;
  line-height: 1.5;
}

.v92-role-demos > div:last-child {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.v92-role-demos button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 10px 12px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink, #17211d);
  text-align: left;
  cursor: pointer;
}

.v92-role-demos button:hover,
.v92-role-demos button.active {
  border-color: rgba(23, 60, 49, .28);
  background: #fff;
}

.v92-role-demos button > span:first-child {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #e4ece7;
  color: var(--brand, #173c31);
}

.v92-role-demos button strong,
.v92-role-demos button small {
  display: block;
}

.v92-role-demos button small {
  margin-top: 2px;
  color: var(--ink-soft, #687069);
}

.content-tenant.view-browse {
  padding-top: 0 !important;
}

.v92-search-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.v92-swipe-view > .page-header,
.v92-swipe-view > .v81-search-tip,
.v92-swipe-view .browse-aside {
  display: none !important;
}

.v92-swipe-view .browse-layout {
  display: block;
  margin: 0;
}

.v92-swipe-view .swipe-stage {
  width: min(100%, 900px);
  max-width: none;
  margin: 0 auto;
  padding-bottom: calc(var(--v85-swipe-bar-height, 64px) + 54px);
}

.v92-swipe-view .swipe-card {
  overflow: hidden;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.v92-swipe-view .swipe-image {
  top: 0 !important;
  min-height: clamp(390px, 55vh, 570px);
}

.v92-swipe-header {
  position: absolute;
  z-index: 9;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}

.v92-swipe-header h1 {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 12px;
  background: rgba(15, 38, 31, .78);
  color: #fff;
  font-family: inherit;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .25);
  backdrop-filter: blur(8px);
}

.v92-swipe-tools,
.v92-search-header > div:last-child {
  display: flex;
  gap: 7px;
  align-items: center;
  pointer-events: auto;
}

.v92-search-modes {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 14px;
  background: rgba(15, 38, 31, .78);
  backdrop-filter: blur(8px);
}

.v92-search-modes button,
.v92-search-settings {
  display: inline-grid;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.v92-search-modes button {
  grid-template-columns: 20px auto;
  gap: 7px;
}

.v92-search-modes button.active {
  background: #fff;
  color: var(--brand, #173c31);
}

.v92-search-modes button:hover:not(.active),
.v92-search-settings:hover {
  background: rgba(255, 255, 255, .14);
}

.v92-search-modes span {
  font-size: .67rem;
  font-weight: 800;
}

.v92-search-settings {
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(15, 38, 31, .78);
  backdrop-filter: blur(8px);
}

.v92-swipe-view .image-topline {
  top: 80px;
}

.v92-swipe-view .swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] {
  display: grid !important;
  grid-template-columns: repeat(4, 48px) !important;
  gap: 10px !important;
  width: auto;
  min-height: 64px;
  padding: 8px 12px !important;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(23, 60, 49, .15);
  border-radius: 18px;
  background: rgba(255, 254, 250, .94);
  box-shadow: 0 9px 30px rgba(18, 42, 35, .18);
  backdrop-filter: blur(12px);
}

.v92-swipe-view .swipe-actions .swipe-action {
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  border-radius: 14px !important;
}

.v92-swipe-view .swipe-actions .swipe-action > span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.v92-swipe-view .swipe-actions .swipe-action .ui-icon {
  width: 21px;
  height: 21px;
}

.v92-search-header {
  display: flex;
  gap: 24px;
  padding: 28px 0 22px;
  align-items: end;
  justify-content: space-between;
}

.v92-search-header h1 {
  margin: 4px 0 5px;
  font-size: clamp(1.65rem, 4vw, 2.7rem);
}

.v92-search-header p,
.v92-search-list-summary span {
  margin: 0;
  color: var(--ink-soft, #687069);
}

.v92-search-header .v92-search-modes {
  border-color: var(--line, #dedbd3);
  background: #fff;
}

.v92-search-header .v92-search-modes button {
  color: var(--ink-soft, #687069);
}

.v92-search-header .v92-search-modes button.active {
  background: var(--brand, #173c31);
  color: #fff;
}

.v92-search-header .v92-search-settings {
  border-color: var(--line, #dedbd3);
  background: #fff;
  color: var(--brand, #173c31);
}

.v92-search-list-summary {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  justify-content: space-between;
  border: 1px solid var(--line, #dedbd3);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #f5f2e9;
}

.v92-search-list {
  overflow: hidden;
  border: 1px solid var(--line, #dedbd3);
  border-radius: 0 0 16px 16px;
  background: #fff;
}

.v92-search-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 20px;
  gap: 16px;
  width: 100%;
  min-width: 0;
  min-height: 112px;
  padding: 12px 16px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line, #dedbd3);
  background: #fff;
  color: var(--ink, #17211d);
  text-align: left;
  cursor: pointer;
}

.v92-search-row:last-child {
  border-bottom: 0;
}

.v92-search-row:hover {
  background: #f5f8f6;
}

.v92-search-row img {
  width: 112px;
  height: 86px;
  border-radius: 12px;
  object-fit: cover;
}

.v92-search-row-copy,
.v92-search-row-copy > span {
  min-width: 0;
}

.v92-search-row-copy > span {
  display: flex;
  gap: 10px;
  align-items: center;
}

.v92-search-row-copy strong,
.v92-search-row-copy small,
.v92-search-row-copy b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v92-search-row-copy strong {
  font-size: 1rem;
}

.v92-search-row-copy small {
  margin: 5px 0 8px;
  color: var(--ink-soft, #687069);
}

.v92-search-row-copy b span {
  color: var(--ink-soft, #687069);
  font-size: .72rem;
  font-weight: 600;
}

.v92-search-row-copy em {
  padding: 4px 7px;
  border-radius: 999px;
  background: #e4eee8;
  color: var(--brand, #173c31);
  font-size: .62rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.v92-search-row.is-nearby .v92-search-row-copy em {
  background: #f1eee6;
  color: #66716c;
}

.v92-opportunity-shell {
  display: grid;
  min-height: calc(100vh - 180px);
  place-items: center;
}

.v92-opportunity-card {
  width: min(100%, 620px);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid rgba(183, 104, 77, .26);
  border-radius: 28px;
  background: #f5efe3;
  text-align: center;
}

.v92-opportunity-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  color: var(--accent, #b7684d);
}

.v92-opportunity-card h1 {
  margin: 6px 0 10px;
}

.v92-opportunity-card p {
  margin: 0 auto 24px;
  color: var(--ink-soft, #687069);
  line-height: 1.65;
}

.v92-opportunity-card > div {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.v92-status-tabs,
.v92-profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.v92-status-tabs button,
.v92-profile-tabs button {
  display: inline-flex;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  align-items: center;
  border: 1px solid var(--line, #dedbd3);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft, #687069);
  font-weight: 750;
  cursor: pointer;
}

.v92-status-tabs button.active,
.v92-profile-tabs button.active {
  border-color: var(--brand, #173c31);
  background: var(--brand, #173c31);
  color: #fff;
}

.v92-status-tabs b {
  display: grid;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  background: rgba(23, 60, 49, .08);
  font-size: .65rem;
}

.v92-status-tabs button.active b {
  background: rgba(255, 255, 255, .18);
}

.v92-status-list {
  overflow: hidden;
}

.v92-status-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto 18px;
  gap: 14px;
  width: 100%;
  min-width: 0;
  min-height: 102px;
  padding: 12px 16px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line, #dedbd3);
  background: transparent;
  color: var(--ink, #17211d);
  text-align: left;
  cursor: pointer;
}

.v92-status-row:last-child {
  border-bottom: 0;
}

.v92-status-row:hover {
  background: #f5f8f6;
}

.v92-status-row img {
  width: 86px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
}

.v92-status-row > span {
  min-width: 0;
}

.v92-status-row > span strong,
.v92-status-row > span small,
.v92-status-row > span em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v92-status-row > span small {
  margin-top: 3px;
  color: var(--ink-soft, #687069);
}

.v92-status-row > span em {
  margin-top: 7px;
  color: var(--ink-soft, #687069);
  font-size: .7rem;
  font-style: normal;
}

.v92-status-badge {
  padding: 6px 9px;
  border-radius: 999px;
  background: #edf0ed;
  color: #4e5d56;
  font-size: .65rem;
  white-space: nowrap;
}

.v92-status-badge.success { background: #e4eee8; color: #255d48; }
.v92-status-badge.warning { background: #f6ebd5; color: #7a541c; }
.v92-status-badge.brand { background: #dfeae5; color: var(--brand, #173c31); }
.v92-status-badge.info { background: #e8eef0; color: #31576a; }
.v92-status-badge.private { background: #f1eee6; color: #665f51; }

.v92-empty {
  display: grid;
  min-height: 260px;
  padding: 30px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.v92-empty > span {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 16px;
  background: #edf2ee;
  color: var(--brand, #173c31);
}

.v92-empty p {
  color: var(--ink-soft, #687069);
}

.v92-profile-panel {
  min-height: 340px;
}

.v92-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.v92-profile-person {
  display: flex;
  gap: 16px;
  align-items: center;
}

.v92-profile-person h2 {
  margin: 4px 0;
}

.v92-profile-person p,
.v92-profile-about,
.v92-profile-panel .section-copy {
  color: var(--ink-soft, #687069);
  line-height: 1.6;
}

.v92-profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.v92-profile-facts > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line, #dedbd3);
  border-radius: 13px;
  background: #fbfaf6;
}

.v92-profile-facts span,
.v92-profile-facts strong {
  display: block;
}

.v92-profile-facts span {
  margin-bottom: 5px;
  color: var(--ink-soft, #687069);
  font-size: .68rem;
}

.v92-profile-facts strong {
  overflow-wrap: anywhere;
}

.v92-language-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.v92-language-chips span {
  padding: 8px 11px;
  border: 1px solid rgba(23, 60, 49, .18);
  border-radius: 999px;
  background: #edf3ef;
  color: var(--brand, #173c31);
  font-size: .72rem;
  font-weight: 750;
}

.v92-more-list {
  display: grid;
  gap: 8px;
}

.v92-more-list button {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto 18px;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 10px 12px;
  align-items: center;
  border: 1px solid var(--line, #dedbd3);
  border-radius: 15px;
  background: #fff;
  color: var(--ink, #17211d);
  text-align: left;
  cursor: pointer;
}

.v92-more-list button:hover {
  border-color: rgba(23, 60, 49, .28);
  background: #f5f8f6;
}

.v92-more-list button > span:first-child {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  background: #e8f0eb;
  color: var(--brand, #173c31);
}

.v92-more-list strong,
.v92-more-list small {
  display: block;
}

.v92-more-list small {
  margin-top: 3px;
  color: var(--ink-soft, #687069);
}

.v92-more-list b {
  display: grid;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent, #b7684d);
  color: #fff;
  font-size: .68rem;
}

.v92-role-demos button:focus-visible,
.v92-search-modes button:focus-visible,
.v92-search-settings:focus-visible,
.v92-search-row:focus-visible,
.v92-status-tabs button:focus-visible,
.v92-status-row:focus-visible,
.v92-profile-tabs button:focus-visible,
.v92-more-list button:focus-visible,
.v92-sidebar-shortcuts button:focus-visible {
  outline: 3px solid var(--accent, #b7684d);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .v92-role-layout,
  .v92-profile-grid {
    grid-template-columns: 1fr;
  }

  .v92-search-header {
    align-items: flex-start;
  }

  .v92-search-header > div:last-child {
    flex-direction: column-reverse;
    align-items: flex-end;
  }
}

@media (max-width: 640px) {
  .content-tenant.view-browse {
    padding-inline: 0 !important;
  }

  .v92-swipe-view .swipe-card,
  .v92-swipe-view .swipe-image {
    border-radius: 0;
  }

  .v92-swipe-view .swipe-image {
    min-height: min(58vh, 470px);
  }

  .v92-swipe-header {
    top: 10px;
    right: 10px;
    left: 10px;
    gap: 8px;
  }

  .v92-swipe-header h1 {
    padding: 8px 9px;
    font-size: .92rem;
  }

  .v92-swipe-header .v92-search-modes span {
    display: none;
  }

  .v92-swipe-header .v92-search-modes button {
    grid-template-columns: 20px;
    padding: 0;
  }

  .v92-swipe-tools {
    gap: 5px;
  }

  .v92-search-modes {
    gap: 2px;
    padding: 3px;
  }

  .v92-search-modes button,
  .v92-search-settings {
    min-width: 42px;
    min-height: 42px;
  }

  .v92-swipe-view .image-topline {
    top: 66px;
  }

  .v92-search-list-view {
    padding: 0 14px 30px;
  }

  .v92-search-header {
    display: grid;
    gap: 16px;
    padding-top: 18px;
  }

  .v92-search-header > div:last-child {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .v92-search-header .v92-search-modes span {
    display: none;
  }

  .v92-search-header .v92-search-modes button {
    grid-template-columns: 20px;
  }

  .v92-search-list-summary {
    display: grid;
    gap: 3px;
  }

  .v92-search-row {
    grid-template-columns: 82px minmax(0, 1fr) 16px;
    gap: 11px;
    min-height: 96px;
    padding: 10px;
  }

  .v92-search-row img {
    width: 82px;
    height: 72px;
  }

  .v92-search-row-copy > span {
    display: block;
  }

  .v92-search-row-copy em {
    display: inline-block;
    margin-top: 4px;
  }

  .v92-opportunity-shell {
    padding: 16px;
  }

  .v92-opportunity-card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .v92-opportunity-card > div {
    display: grid;
  }

  .v92-status-row {
    grid-template-columns: 68px minmax(0, 1fr) 16px;
    gap: 10px;
    padding: 10px;
  }

  .v92-status-row img {
    width: 68px;
    height: 62px;
  }

  .v92-status-badge {
    grid-column: 2;
    width: max-content;
    max-width: 100%;
    margin-top: -8px;
  }

  .v92-profile-facts {
    grid-template-columns: 1fr;
  }

  .v92-profile-tabs,
  .v92-status-tabs {
    gap: 6px;
  }

  .v92-profile-tabs button,
  .v92-status-tabs button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .v92-role-demos {
    padding: 16px;
  }
}

/* V96 skal ligge sidst i cascade: mobilregler må ikke skjule ikoner eller overtage kortgestus. */
.v92-swipe-view .image-topline {
  top: 14px;
}

.v92-swipe-view .swipe-actions .swipe-action .ui-icon {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.v96-search-map.v90-map {
  touch-action: pan-y;
}

@media (max-width: 760px) {
  .v92-swipe-view .swipe-image {
    height: min(54dvh, 480px);
    min-height: min(320px, 43dvh);
    max-height: 64dvh;
  }
}

/* V98 · anonym udlejervalidering i boligsøgningen */
.v98-landlord-trust-compact {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  padding: 13px 14px;
  border: 1px solid rgba(48, 91, 76, 0.2);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(226, 239, 233, 0.9), rgba(248, 247, 242, 0.96));
}

.v98-trust-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 13px;
  color: var(--green, #183f34);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 0 1px rgba(48, 91, 76, 0.14);
}

.v98-trust-icon .ui-icon {
  width: 22px;
  height: 22px;
}

.v98-landlord-trust-compact > div {
  min-width: 0;
}

.v98-landlord-trust-compact strong,
.v98-landlord-trust-compact span {
  display: block;
}

.v98-landlord-trust-compact > div > strong {
  margin-bottom: 3px;
  color: var(--ink, #17231f);
  font-size: 0.94rem;
}

.v98-landlord-trust-compact > div > span {
  color: var(--muted, #68716d);
  font-size: 0.8rem;
  line-height: 1.35;
}

.v98-trust-link {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(48, 91, 76, 0.2);
  border-radius: 11px;
  color: var(--green, #183f34);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
}

.v98-trust-link:hover {
  background: #fff;
  border-color: rgba(48, 91, 76, 0.42);
}

.profile-summary.v98-landlord-trust {
  display: block;
  padding: 22px;
  border: 1px solid rgba(48, 91, 76, 0.2);
  border-radius: 22px;
  background: linear-gradient(145deg, #edf5f1, #fbfaf6 62%);
}

.v98-trust-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.v98-trust-heading > div {
  min-width: 0;
}

.v98-trust-heading h3 {
  margin: 3px 0 5px;
}

.v98-trust-heading p,
.v98-trust-context p {
  margin: 0;
  color: var(--muted, #68716d);
  line-height: 1.5;
}

.v98-trust-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0;
}

.v98-trust-stats > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(48, 91, 76, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.v98-trust-stats span,
.v98-trust-stats strong {
  display: block;
}

.v98-trust-stats span {
  margin-bottom: 5px;
  color: var(--muted, #68716d);
  font-size: 0.75rem;
}

.v98-trust-stats strong {
  color: var(--ink, #17231f);
  font-size: 1rem;
  line-height: 1.25;
}

.v98-trust-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(190px, 0.65fr);
  gap: 18px;
}

.v98-trust-checks {
  display: grid;
  gap: 9px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.v98-trust-checks li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: flex-start;
}

.v98-trust-checks li > .ui-icon {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  color: #fff;
  background: #2f6a56;
}

.v98-trust-checks li.is-neutral > .ui-icon {
  color: #604f2a;
  background: #eadfbf;
}

.v98-trust-checks strong,
.v98-trust-checks small {
  display: block;
}

.v98-trust-checks small {
  margin-top: 2px;
  color: var(--muted, #68716d);
  line-height: 1.4;
}

.v98-trust-context {
  padding: 15px;
  border-left: 1px solid rgba(48, 91, 76, 0.15);
}

.v98-trust-context > strong {
  display: block;
  margin: 7px 0 6px;
}

@media (max-width: 760px) {
  .v98-landlord-trust-compact {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 11px 12px;
  }

  .v98-landlord-trust-compact .v98-trust-icon {
    width: 38px;
    height: 38px;
  }

  .v98-landlord-trust-compact .v98-trust-link {
    grid-column: 2;
    justify-self: start;
    min-height: 32px;
    margin-top: -2px;
  }

  .profile-summary.v98-landlord-trust {
    padding: 17px;
    border-radius: 18px;
  }

  .v98-trust-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v98-trust-lower {
    grid-template-columns: 1fr;
  }

  .v98-trust-context {
    padding: 14px 0 0;
    border-top: 1px solid rgba(48, 91, 76, 0.15);
    border-left: 0;
  }
}

/* V99 · flere billeder i swipe og manuelt slideshow i boligdetaljer */
.v99-swipe-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  padding: 8px 14px 2px;
  background: #fff;
}

.v99-swipe-thumbnail {
  position: relative;
  min-width: 0;
  height: 62px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #e8ece9;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.v99-swipe-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v99-swipe-thumbnail:not(.active) {
  opacity: 0.7;
}

.v99-swipe-thumbnail:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.v99-swipe-thumbnail.active {
  border-color: #2e755c;
  box-shadow: 0 0 0 2px rgba(46, 117, 92, 0.14);
  opacity: 1;
}

.v99-swipe-thumbnail:focus-visible,
.v99-gallery-nav:focus-visible,
.v99-gallery-dots button:focus-visible,
.v99-property-gallery:focus-visible {
  outline: 3px solid #cc813d;
  outline-offset: 2px;
}

.v99-swipe-thumbnail > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(11, 39, 31, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.v99-property-gallery {
  min-width: 0;
  margin-bottom: 20px;
  border-radius: 18px;
}

.v99-gallery-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 390px;
  max-height: 590px;
  overflow: hidden;
  border-radius: 18px;
  background: #dfe6e2;
}

.v99-gallery-viewport::after {
  position: absolute;
  z-index: 1;
  inset: 45% 0 0;
  content: '';
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8, 29, 23, 0.8));
}

.v99-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.v99-gallery-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
}

.v99-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v99-gallery-slide figcaption {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  display: grid;
  max-width: min(70%, 380px);
  gap: 2px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  color: #fff;
  background: rgba(11, 39, 31, 0.76);
  backdrop-filter: blur(8px);
}

.v99-gallery-slide figcaption strong {
  font-size: 0.8rem;
}

.v99-gallery-slide figcaption span {
  overflow: hidden;
  font-size: 0.74rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v99-gallery-title {
  position: absolute;
  z-index: 3;
  right: 76px;
  bottom: 22px;
  left: 24px;
  color: #fff;
  pointer-events: none;
}

.v99-gallery-title h2 {
  margin: 8px 0 3px;
  color: inherit;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.06;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.32);
}

.v99-gallery-title p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.v99-gallery-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #17372f;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  font-weight: 800;
}

.v99-gallery-count .ui-icon {
  width: 15px;
  height: 15px;
}

.v99-gallery-nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #17372f;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(6, 28, 21, 0.24);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.v99-gallery-nav:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.v99-gallery-nav.prev {
  left: 15px;
}

.v99-gallery-nav.prev .ui-icon {
  transform: rotate(180deg);
}

.v99-gallery-nav.next {
  right: 15px;
}

.v99-gallery-nav:disabled {
  opacity: 0.32;
  cursor: default;
}

.v99-gallery-position {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(11, 39, 31, 0.78);
  font-size: 0.76rem;
  backdrop-filter: blur(8px);
}

.v99-gallery-position strong {
  font-size: 0.95rem;
}

.v99-gallery-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 2px 8px 0;
}

.v99-gallery-dots button {
  display: grid;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.v99-gallery-dots button::after {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c5cfca;
  content: '';
  transition: width 160ms ease, background 160ms ease;
}

.v99-gallery-dots button.active::after {
  width: 28px;
  background: #2e755c;
}

@media (max-width: 760px) {
  .v99-swipe-thumbnails {
    gap: 5px;
    padding: 7px 10px 1px;
  }

  .v99-swipe-thumbnail {
    height: 48px;
    border-radius: 8px;
  }

  .v99-gallery-viewport {
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-radius: 14px;
  }

  .v99-gallery-slide figcaption {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 92px);
    padding: 6px 9px;
  }

  .v99-gallery-title {
    right: 62px;
    bottom: 15px;
    left: 15px;
  }

  .v99-gallery-title h2 {
    font-size: 1.45rem;
  }

  .v99-gallery-title p {
    overflow: hidden;
    font-size: 0.83rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .v99-gallery-nav {
    width: 44px;
    height: 44px;
  }

  .v99-gallery-nav.prev {
    left: 9px;
  }

  .v99-gallery-nav.next {
    right: 9px;
  }

  .v99-gallery-position {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v99-gallery-track,
  .v99-swipe-thumbnail,
  .v99-gallery-nav,
  .v99-gallery-dots button {
    transition: none;
  }
}

/* GoLeje V102 · offentlig forside, boligsøgning og adgang */
.public-app-shell {
  min-height: 100vh;
  background: #f5f2e9;
  color: #183329;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-site,
.public-auth-page {
  min-height: 100vh;
  overflow: clip;
  background:
    radial-gradient(circle at 3% 20%, rgba(139, 190, 169, .18), transparent 26rem),
    #f7f4ec;
}

.public-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(24, 51, 41, .13);
  background: rgba(247, 244, 236, .94);
  backdrop-filter: blur(16px);
}

.public-header-inner {
  display: grid;
  width: min(100% - 40px, 1440px);
  min-height: 86px;
  margin: 0 auto;
  grid-template-columns: minmax(190px, 1fr) auto minmax(310px, 1fr);
  gap: 28px;
  align-items: center;
}

.public-brand {
  width: max-content;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.public-brand img,
.public-footer img {
  display: block;
  width: 190px;
  height: auto;
}

.public-main-nav,
.public-header-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}

.public-header-actions {
  justify-content: flex-end;
}

.public-main-nav a,
.public-main-nav button,
.public-login-link,
.public-signup-button,
.public-footer button {
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #29483d;
  font: inherit;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.public-main-nav a:hover,
.public-main-nav button:hover,
.public-login-link:hover {
  background: rgba(24, 51, 41, .07);
}

.public-signup-button {
  padding-inline: 20px;
  background: #173c31;
  color: #fff;
  box-shadow: 0 8px 20px rgba(23, 60, 49, .16);
}

.public-signup-button:hover {
  background: #245847;
  transform: translateY(-1px);
}

.public-language select {
  min-height: 44px;
  max-width: 128px;
  padding: 8px 32px 8px 11px;
  border: 1px solid rgba(24, 51, 41, .16);
  border-radius: 12px;
  background-color: #fffdf8;
  color: #29483d;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
}

.public-hero {
  position: relative;
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  background: #173c31;
  color: #fff;
}

.public-hero-copy {
  position: relative;
  z-index: 3;
  width: min(690px, calc(100% - 64px));
  margin-right: 0;
  margin-left: max(32px, calc((100vw - 1440px) / 2));
  padding: 90px 0 180px;
}

.public-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: #edb18f;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.public-hero h1,
.public-auth-story h1,
.public-contact-gate h1 {
  max-width: 810px;
  margin: 0;
  font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(3.6rem, 6.8vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .86;
}

.public-hero h1 em,
.public-auth-story h1 em,
.public-contact-gate h1 em {
  color: #9fd1bf;
  font-weight: inherit;
}

.public-hero-copy > p,
.public-auth-story > p,
.public-contact-gate > div > p {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.public-demo-link {
  display: inline-flex;
  min-height: 46px;
  gap: 9px;
  margin-top: 24px;
  padding: 10px 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 13px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.public-demo-link:hover { background: rgba(255, 255, 255, .16); }

.public-hero-art {
  position: absolute;
  inset: 0 0 0 52%;
  overflow: hidden;
}

.public-hero-art::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #173c31 0%, rgba(23, 60, 49, .5) 20%, transparent 62%), linear-gradient(0deg, rgba(12, 35, 28, .22), transparent 45%);
  content: '';
}

.public-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-hero-art span {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 12%;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 255, 255, .06), 0 0 0 44px rgba(255, 255, 255, .035);
}

.public-search-card {
  position: absolute;
  z-index: 5;
  right: max(32px, calc((100vw - 1440px) / 2));
  bottom: -64px;
  left: max(32px, calc((100vw - 1440px) / 2));
  padding: 20px;
  border: 1px solid rgba(19, 52, 42, .16);
  border-radius: 24px;
  background: #fffdf8;
  color: #183329;
  box-shadow: 0 24px 70px rgba(11, 36, 28, .25);
}

.public-search-heading {
  display: flex;
  gap: 11px;
  margin-bottom: 14px;
  align-items: center;
}

.public-search-heading > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: #dfeee7;
  color: #173c31;
}

.public-search-heading strong,
.public-search-heading small { display: block; }
.public-search-heading small { margin-top: 2px; color: #68766f; }

.public-search-fields {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) minmax(180px, .7fr) minmax(190px, .72fr) auto;
  gap: 12px;
  align-items: end;
}

.public-search-card .field,
.public-auth-card .field {
  gap: 7px;
  margin: 0;
}

.public-search-card label,
.public-auth-card .field > label {
  color: #365449;
  font-size: .78rem;
  font-weight: 800;
}

.public-search-card input,
.public-search-card select,
.public-auth-card input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cfd9d3;
  border-radius: 13px;
  background: #fff;
  color: #183329;
  font: inherit;
  font-size: 1rem;
}

.public-search-submit,
.public-auth-submit {
  display: inline-flex;
  min-height: 50px;
  gap: 9px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px;
  background: #b95f43;
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.public-search-submit:hover,
.public-auth-submit:hover { background: #984a34; }
.public-search-submit:disabled,
.public-auth-submit:disabled { opacity: .58; cursor: wait; }

.public-trust-row {
  display: grid;
  width: min(100% - 40px, 1260px);
  margin: 112px auto 0;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(24, 51, 41, .14);
  border-bottom: 1px solid rgba(24, 51, 41, .14);
}

.public-trust-row span {
  display: flex;
  min-height: 82px;
  gap: 12px;
  padding: 18px 24px;
  align-items: center;
  justify-content: center;
  color: #365449;
}

.public-trust-row span + span { border-left: 1px solid rgba(24, 51, 41, .14); }
.public-trust-row svg { color: #b95f43; }

.public-results,
.public-how,
.public-pricing,
.public-landlord-cta {
  width: min(100% - 40px, 1360px);
  margin: 0 auto;
}

.public-results { padding: 110px 0 120px; }

.public-results > header {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: end;
  justify-content: space-between;
}

.public-results h2,
.public-how h2,
.public-landlord-cta h2 {
  margin: 6px 0 8px;
  font-family: ui-serif, "Iowan Old Style", Georgia, serif;
  font-size: clamp(2.35rem, 4.8vw, 4.9rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .96;
}

.public-results header p,
.public-how p,
.public-landlord-cta p { margin: 0; color: #65756e; font-size: 1.02rem; line-height: 1.6; }

.public-clear-button,
.public-empty button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #becbc4;
  border-radius: 12px;
  background: transparent;
  color: #29483d;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.public-property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.public-property-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(24, 51, 41, .15);
  border-radius: 22px;
  background: #fffdf8;
  box-shadow: 0 10px 34px rgba(24, 51, 41, .07);
}

.public-property-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #dfe7e1;
}

.public-property-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 30, 23, .65), transparent 46%);
  content: '';
}

.public-property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}

.public-property-card:hover .public-property-image img { transform: scale(1.035); }

.public-verified {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: inline-flex;
  min-height: 34px;
  gap: 6px;
  padding: 7px 10px;
  align-items: center;
  border-radius: 999px;
  background: rgba(245, 251, 247, .94);
  color: #245847;
  font-size: .72rem;
  font-weight: 850;
}

.public-property-price {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 15px;
  left: 16px;
  display: flex;
  gap: 9px;
  align-items: baseline;
  color: #fff;
}

.public-property-price strong { font-family: ui-serif, Georgia, serif; font-size: 1.8rem; font-weight: 600; }
.public-property-price small { color: rgba(255,255,255,.78); }

.public-property-copy { padding: 22px; }
.public-property-copy h3 { margin: 5px 0 4px; font-family: ui-serif, Georgia, serif; font-size: 1.55rem; font-weight: 560; letter-spacing: -.025em; }
.public-property-copy > p { margin: 0; color: #65756e; }

.public-property-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 18px 0;
  color: #486158;
  font-size: .82rem;
  font-weight: 700;
}

.public-property-facts span { display: inline-flex; gap: 5px; align-items: center; }
.public-property-facts svg { width: 16px; height: 16px; }

.public-contact-button {
  display: flex;
  width: 100%;
  min-height: 48px;
  gap: 8px;
  padding: 11px 15px;
  align-items: center;
  justify-content: center;
  border: 1px solid #b8c9c0;
  border-radius: 13px;
  background: #edf4ef;
  color: #173c31;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.public-contact-button:hover { border-color: #173c31; background: #173c31; color: #fff; }

.public-empty {
  padding: 54px 24px;
  border: 1px dashed #afc0b7;
  border-radius: 22px;
  text-align: center;
}
.public-empty > span { display: grid; width: 54px; height: 54px; margin: 0 auto 14px; place-items: center; border-radius: 50%; background: #dfeee7; }
.public-empty h3 { margin: 0 0 7px; font-family: ui-serif, Georgia, serif; font-size: 1.7rem; }
.public-empty p { margin: 0 0 18px; color: #65756e; }

.public-how {
  display: grid;
  padding: 80px 0 110px;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 90px;
  border-top: 1px solid rgba(24, 51, 41, .15);
}

.public-how ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.public-how li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid rgba(24, 51, 41, .13); }
.public-how li > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: #173c31; color: #fff; font-family: ui-serif, Georgia, serif; }
.public-how li strong { display: block; margin-bottom: 4px; font-size: 1.08rem; }

.public-pricing {
  margin-bottom: 90px;
  padding: 88px clamp(24px, 5vw, 72px);
  border-radius: 34px;
  background: #173c31;
  color: #fff;
}

.public-pricing-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .58fr);
  gap: 56px;
  margin-bottom: 46px;
  align-items: end;
}

.public-pricing-intro .eyebrow { color: #edb18f; }
.public-pricing-intro h2 {
  max-width: 820px;
  margin: 8px 0 0;
  color: #fff;
  font-family: ui-serif, "Iowan Old Style", Georgia, serif;
  font-size: clamp(2.55rem, 5.3vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .96;
}

.public-pricing-intro p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 1.02rem;
  line-height: 1.65;
}

.public-pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 25px;
  background: rgba(255, 255, 255, .055);
}

.public-price-plan {
  display: flex;
  min-width: 0;
  padding: clamp(24px, 4vw, 44px);
  flex-direction: column;
}

.public-price-plan + .public-price-plan { border-left: 1px solid rgba(255, 255, 255, .17); }
.public-price-plan.landlord { background: #e5ae8d; color: #31261f; }

.public-price-plan-heading {
  display: flex;
  gap: 15px;
  margin-bottom: 24px;
  align-items: center;
}

.public-price-plan-heading > span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, .11);
  color: #9fd1bf;
}

.public-price-plan.landlord .public-price-plan-heading > span { background: rgba(255, 255, 255, .46); color: #9b4d36; }
.public-price-plan-heading small,
.public-price-plan-heading h3 { display: block; }
.public-price-plan-heading small { color: rgba(255, 255, 255, .62); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.public-price-plan.landlord .public-price-plan-heading small { color: #755343; }
.public-price-plan-heading h3 { margin: 3px 0 0; font-family: ui-serif, Georgia, serif; font-size: clamp(1.55rem, 2.5vw, 2.15rem); font-weight: 560; letter-spacing: -.03em; }
.public-price-plan.tenant .public-price-plan-heading h3,
.public-price-plan.tenant li strong { color: #fff; }

.public-price-plan ul { margin: 0 0 28px; padding: 0; list-style: none; }
.public-price-plan li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 18px 0;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.public-price-plan.landlord li { border-top-color: rgba(49, 38, 31, .16); }
.public-price-plan li strong,
.public-price-plan li small { display: block; }
.public-price-plan li strong { font-size: .92rem; }
.public-price-plan li small { margin-top: 4px; color: rgba(255, 255, 255, .62); font-size: .76rem; line-height: 1.45; }
.public-price-plan.landlord li small { color: #6d5142; }
.public-price-plan li b { color: #fff; font-family: ui-serif, Georgia, serif; font-size: 1.32rem; font-weight: 600; white-space: nowrap; }
.public-price-plan.landlord li b { color: #31261f; }

.public-price-action {
  display: inline-flex;
  min-height: 50px;
  gap: 9px;
  margin-top: auto;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #173c31;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.public-price-action:hover { background: #dff0e8; transform: translateY(-1px); }
.public-price-action.light { background: #173c31; color: #fff; }
.public-price-action.light:hover { background: #245847; }

.public-pricing-fineprint {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  margin-top: 24px;
  align-items: center;
}

.public-pricing-fineprint > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(159, 209, 191, .16);
  color: #9fd1bf;
}

.public-pricing-fineprint p { margin: 0; color: rgba(255, 255, 255, .68); font-size: .8rem; line-height: 1.55; }
.public-pricing-fineprint strong { color: #fff; }

.public-landlord-cta {
  display: flex;
  gap: 40px;
  margin-bottom: 110px;
  padding: clamp(32px, 6vw, 72px);
  align-items: end;
  justify-content: space-between;
  border-radius: 30px;
  background: #e5ae8d;
  color: #31261f;
}

.public-landlord-cta > div { max-width: 820px; }
.public-landlord-cta p { max-width: 650px; color: #604a3e; }
.public-landlord-cta button { display: inline-flex; min-width: 220px; min-height: 54px; gap: 9px; padding: 14px 20px; align-items: center; justify-content: center; border: 0; border-radius: 15px; background: #173c31; color: #fff; font: inherit; font-weight: 850; cursor: pointer; }

.public-footer {
  display: flex;
  width: min(100% - 40px, 1360px);
  min-height: 120px;
  gap: 24px;
  margin: 0 auto;
  align-items: center;
  border-top: 1px solid rgba(24, 51, 41, .15);
}
.public-footer p { flex: 1; color: #65756e; }

.public-auth-page main {
  width: min(100% - 40px, 1320px);
  margin: 0 auto;
  padding: 32px 0 80px;
}

.public-auth-back {
  display: inline-flex;
  min-height: 44px;
  gap: 7px;
  margin-bottom: 30px;
  padding: 9px 4px;
  align-items: center;
  border: 0;
  background: transparent;
  color: #29483d;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.public-auth-layout {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .65fr);
  overflow: hidden;
  border-radius: 30px;
  background: #173c31;
  box-shadow: 0 26px 75px rgba(23, 60, 49, .18);
}

.public-auth-story {
  padding: clamp(48px, 7vw, 90px);
  color: #fff;
  background: radial-gradient(circle at 15% 90%, rgba(159, 209, 191, .22), transparent 24rem);
}

.public-auth-story h1,
.public-contact-gate h1 { font-size: clamp(3.2rem, 5.5vw, 6.4rem); }

.public-auth-card {
  align-self: stretch;
  padding: clamp(30px, 5vw, 58px);
  background: #fffdf8;
}

.public-auth-card h2 { margin: 5px 0 26px; font-family: ui-serif, Georgia, serif; font-size: 2.45rem; font-weight: 550; letter-spacing: -.04em; }
.public-auth-card form { display: grid; gap: 15px; }
.public-auth-card .field small { color: #6c7873; font-size: .75rem; line-height: 1.4; }
.public-auth-card .field label span { color: #7c8882; font-weight: 500; }

.public-auth-submit { width: 100%; margin-top: 5px; background: #173c31; }
.public-auth-submit:hover { background: #245847; }
.backend-login-progress { display: block; min-height: 18px; color: #65756e; font-size: .8rem; }
.backend-login-error { padding: 12px 14px; border: 1px solid #d6a79c; border-radius: 12px; background: #f8e6e0; color: #773d31; font-size: .88rem; line-height: 1.45; }

.public-auth-switch { margin: 20px 0 0; color: #65756e; text-align: center; }
.public-auth-switch button { min-height: 44px; padding: 8px; border: 0; background: transparent; color: #173c31; font: inherit; font-weight: 850; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.public-auth-property,
.public-contact-property {
  display: grid;
  margin-top: 34px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
}

.public-auth-property { grid-template-columns: 72px 1fr; gap: 14px; background: rgba(255,255,255,.08); }
.public-auth-property img { width: 72px; height: 72px; border-radius: 11px; object-fit: cover; }
.public-auth-property span,
.public-auth-property strong,
.public-auth-property small,
.public-contact-property span,
.public-contact-property strong,
.public-contact-property small { display: block; }
.public-auth-property span,
.public-auth-property small { color: rgba(255,255,255,.68); }

.public-role-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
.public-role-choice legend { margin-bottom: 8px; color: #365449; font-size: .78rem; font-weight: 800; }
.public-role-choice label { min-width: 0; cursor: pointer; }
.public-role-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: -1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.public-role-choice label > span { display: grid; min-height: 112px; padding: 13px; align-content: start; border: 1px solid #cad6cf; border-radius: 14px; background: #fff; }
.public-role-choice svg { width: 21px; height: 21px; margin-bottom: 8px; color: #b95f43; }
.public-role-choice strong,
.public-role-choice small { display: block; }
.public-role-choice strong { font-size: .85rem; }
.public-role-choice small { margin-top: 3px; color: #6c7873; font-size: .72rem; line-height: 1.35; }
.public-role-choice input:checked + span { border-color: #173c31; background: #e8f1ec; box-shadow: inset 0 0 0 1px #173c31; }

.public-consent { display: flex; gap: 9px; align-items: start; color: #52645d; font-size: .82rem; line-height: 1.4; cursor: pointer; }
.public-consent input { width: 18px; min-height: 18px; margin-top: 1px; accent-color: #173c31; }

.public-contact-gate {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(360px, .8fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 30px;
  background: #173c31;
  color: #fff;
}
.public-contact-gate-image img { width: 100%; height: 100%; object-fit: cover; }
.public-contact-gate > div:last-child { padding: clamp(42px, 6vw, 80px); }
.public-contact-property { margin-top: 28px; background: rgba(255,255,255,.08); }
.public-contact-property span,
.public-contact-property small { color: rgba(255,255,255,.68); }
.public-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.public-contact-actions .public-login-link { border: 1px solid rgba(255,255,255,.28); color: #fff; }
.public-contact-note { display: block; margin-top: 16px; color: rgba(255,255,255,.62); }

.public-header button:focus-visible,
.public-header a:focus-visible,
.public-site button:focus-visible,
.public-site input:focus-visible,
.public-site select:focus-visible,
.public-auth-page button:focus-visible,
.public-auth-page input:focus-visible,
.public-auth-page select:focus-visible {
  outline: 3px solid #df8b69;
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .public-header-inner { grid-template-columns: 1fr auto; }
  .public-main-nav { display: none; }
  .public-hero { grid-template-columns: 1fr; }
  .public-hero-art { inset: 0; opacity: .45; }
  .public-hero-art::before { background: linear-gradient(90deg, rgba(23,60,49,.95), rgba(23,60,49,.45)), linear-gradient(0deg, #173c31 0%, transparent 40%); }
  .public-hero-copy { width: min(760px, calc(100% - 48px)); margin-left: 24px; }
  .public-search-fields { grid-template-columns: 1.2fr .8fr .8fr; }
  .public-search-submit { grid-column: 1 / -1; }
  .public-property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-pricing-intro { grid-template-columns: 1fr; gap: 20px; }
  .public-auth-layout { grid-template-columns: minmax(0, .8fr) minmax(410px, .7fr); }
}

@media (max-width: 760px) {
  .public-header-inner { width: min(100% - 24px, 1440px); min-height: 72px; gap: 10px; }
  .public-brand img { width: 142px; }
  .public-header-actions { gap: 4px; }
  .public-header-actions .public-signup-button { display: none; }
  .public-language select { width: 84px; max-width: 84px; padding: 8px 24px 8px 8px; color: #29483d; font-size: .72rem; }
  .public-hero { min-height: 690px; }
  .public-hero-copy { width: calc(100% - 32px); margin-left: 16px; padding: 70px 0 250px; }
  .public-hero h1 { font-size: clamp(3.3rem, 16vw, 5.2rem); }
  .public-hero-copy > p { font-size: 1rem; }
  .public-search-card { right: 12px; bottom: -174px; left: 12px; padding: 15px; border-radius: 19px; }
  .public-search-fields { grid-template-columns: 1fr 1fr; gap: 10px; }
  .public-search-fields .field:first-child { grid-column: 1 / -1; }
  .public-search-submit { grid-column: 1 / -1; }
  .public-trust-row { margin-top: 218px; grid-template-columns: 1fr; }
  .public-trust-row span { min-height: 62px; justify-content: flex-start; }
  .public-trust-row span + span { border-top: 1px solid rgba(24,51,41,.14); border-left: 0; }
  .public-results { padding: 70px 0 90px; }
  .public-results > header { align-items: start; flex-direction: column; }
  .public-property-grid { grid-template-columns: 1fr; }
  .public-property-image { height: 255px; }
  .public-how { padding: 65px 0 80px; grid-template-columns: 1fr; gap: 30px; }
  .public-pricing { width: calc(100% - 24px); margin-bottom: 60px; padding: 44px 16px 28px; border-radius: 24px; }
  .public-pricing-intro { margin-bottom: 28px; }
  .public-pricing-grid { grid-template-columns: 1fr; border-radius: 19px; }
  .public-price-plan { padding: 24px 18px; }
  .public-price-plan + .public-price-plan { border-top: 1px solid rgba(255, 255, 255, .17); border-left: 0; }
  .public-price-plan li { gap: 12px; }
  .public-price-plan li b { font-size: 1.12rem; }
  .public-pricing-fineprint { align-items: start; }
  .public-landlord-cta { margin-bottom: 70px; padding: 28px; align-items: start; flex-direction: column; }
  .public-landlord-cta button { width: 100%; }
  .public-footer { min-height: 150px; align-items: flex-start; flex-direction: column; padding: 28px 0; }
  .public-footer p { flex: none; margin: 0; }
  .public-auth-page main { width: min(100% - 24px, 1320px); padding-top: 20px; }
  .public-auth-layout { grid-template-columns: 1fr; border-radius: 22px; }
  .public-auth-story { padding: 36px 24px; }
  .public-auth-story h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .public-auth-story > p { font-size: .98rem; }
  .public-auth-card { padding: 28px 20px; }
  .public-role-choice { grid-template-columns: 1fr; }
  .public-role-choice label > span { min-height: 84px; }
  .public-contact-gate { grid-template-columns: 1fr; border-radius: 22px; }
  .public-contact-gate-image { height: 260px; }
  .public-contact-gate h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
}

/* GoLeje V103 · kompakt swipe-viewport og foldbare afstande */
.content-tenant.view-browse:has(.v92-swipe-view) {
  height: calc(100dvh - var(--topbar));
  min-height: 0;
  padding: 0 !important;
  overflow: hidden !important;
}

.content-tenant.view-browse .v92-swipe-view {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-rows: 48px minmax(0, 1fr);
  overflow: hidden;
}

.v92-swipe-view .v96-search-toolbar {
  min-height: 48px;
  padding: 3px 10px;
  border-bottom-color: rgba(23, 60, 49, .1);
  box-shadow: 0 4px 14px rgba(20, 43, 36, .05);
}

.v92-swipe-view .v96-search-toolbar .v92-search-modes {
  width: min(100%, 330px);
  gap: 2px;
  padding: 2px;
  border-radius: 12px;
}

.v92-swipe-view .v96-search-toolbar .v92-search-modes button,
.v92-swipe-view .v96-search-toolbar .v92-search-settings {
  min-height: 40px;
  border-radius: 9px;
}

.v92-swipe-view .v96-search-toolbar .v92-search-modes button {
  padding: 4px 9px;
}

.v92-swipe-view .v96-search-toolbar .v92-search-settings {
  width: 40px;
  min-width: 40px;
  height: 40px;
}

.v92-swipe-view .v96-search-toolbar .v92-search-modes .ui-icon,
.v92-swipe-view .v96-search-toolbar .v92-search-settings .ui-icon {
  width: 17px;
  height: 17px;
}

.v92-swipe-view .swipe-stage {
  display: grid;
  width: min(100%, 820px);
  height: 100%;
  min-height: 0;
  grid-template-rows: minmax(0, 570px) 58px 16px;
  gap: 6px;
  padding: 8px 10px 5px !important;
  align-content: start;
  box-sizing: border-box;
}

.v92-swipe-view .swipe-card[data-v83-swipe-card] {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) 58px;
  overflow: hidden;
  border-radius: 18px;
}

.v92-swipe-view .swipe-card[data-v83-swipe-card] .swipe-image {
  position: relative;
  top: auto !important;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  border-radius: 18px 18px 0 0;
  box-shadow: none;
}

.v92-swipe-view .v99-swipe-thumbnails {
  display: none !important;
}

.v92-swipe-view .v103-swipe-summary {
  min-height: 0;
  padding: 0 14px;
  border-radius: 0 0 18px 18px;
}

.v103-swipe-facts {
  display: grid;
  height: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
}

.v103-swipe-facts > span {
  display: grid;
  min-width: 0;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  padding: 0 12px;
  align-items: center;
  border-right: 1px solid rgba(23, 60, 49, .11);
}

.v103-swipe-facts > span:last-child {
  border-right: 0;
}

.v103-swipe-facts .ui-icon {
  width: 19px;
  height: 19px;
  color: #2e755c;
}

.v103-swipe-facts small,
.v103-swipe-facts strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v103-swipe-facts small {
  margin-bottom: 2px;
  color: #6d766f;
  font-size: .62rem;
  line-height: 1;
}

.v103-swipe-facts strong {
  color: #17372f;
  font-size: .76rem;
  line-height: 1.15;
}

.v92-swipe-view .image-title {
  right: 72px;
  bottom: 15px;
  left: 17px;
}

.v92-swipe-view .image-title h2 {
  margin-bottom: 2px;
  font-size: clamp(1.35rem, 3.2vw, 2.25rem);
}

.v92-swipe-view .image-title p {
  font-size: .72rem;
}

.v92-swipe-view .v96-image-price {
  margin-top: 7px;
}

.v92-swipe-view .v96-image-price strong {
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
}

.v92-swipe-view .v96-image-details {
  right: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.v92-swipe-view .image-topline {
  top: 12px;
  right: 12px;
  left: 12px;
}

.v92-swipe-view .swipe-stage > .swipe-actions[data-v85-fixed-swipe-actions] {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  display: grid !important;
  width: max-content !important;
  min-height: 58px;
  grid-template-columns: repeat(4, 46px) !important;
  gap: 8px !important;
  margin: 0 auto;
  padding: 5px 8px !important;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(18, 42, 35, .11);
}

.v92-swipe-view .swipe-actions .swipe-action {
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  border-radius: 13px !important;
}

.v92-swipe-view .swipe-counter {
  margin: 0;
  align-self: center;
  color: #6a746e;
  font-size: .64rem;
  line-height: 1;
  text-align: center;
}

.v103-detail-accordion {
  margin: 14px 0;
  overflow: clip;
  border: 1px solid #d8ddd8;
  border-radius: 16px;
  background: #fbfaf6;
}

.v103-detail-accordion > summary {
  display: grid;
  min-height: 72px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 11px 14px;
  align-items: center;
  color: #17372f;
  cursor: pointer;
  list-style: none;
}

.v103-detail-accordion > summary::-webkit-details-marker {
  display: none;
}

.v103-detail-accordion > summary:hover {
  background: #f1f5f1;
}

.v103-detail-accordion > summary:focus-visible {
  outline: 3px solid #cc813d;
  outline-offset: -3px;
}

.v103-accordion-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: #e5eee8;
  color: #255d48;
}

.v103-accordion-icon .ui-icon {
  width: 21px;
  height: 21px;
}

.v103-detail-accordion summary small,
.v103-detail-accordion summary strong,
.v103-detail-accordion summary em {
  display: block;
}

.v103-detail-accordion summary small {
  margin-bottom: 2px;
  color: #7a827c;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.v103-detail-accordion summary strong {
  font-size: .9rem;
}

.v103-detail-accordion summary em {
  margin-top: 2px;
  color: #67716b;
  font-size: .7rem;
  font-style: normal;
}

.v103-accordion-toggle {
  display: inline-flex;
  min-height: 44px;
  gap: 6px;
  padding: 0 8px 0 12px;
  align-items: center;
  color: #2e644f;
  font-size: .7rem;
  font-weight: 800;
}

.v103-accordion-toggle > span {
  display: none;
}

.v103-accordion-toggle::before {
  content: 'Vis';
}

.v103-detail-accordion[open] .v103-accordion-toggle::before {
  content: 'Skjul';
}

.v103-accordion-toggle .ui-icon {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.v103-detail-accordion[open] .v103-accordion-toggle .ui-icon {
  transform: rotate(90deg);
}

.v103-accordion-content {
  padding: 0 14px 14px;
  border-top: 1px solid #e1e4df;
}

.v103-distance-accordion .v81-nearby-grid {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  margin-top: 14px;
}

.v103-distance-accordion .v81-data-source {
  margin: 12px 2px 0;
}

.v103-map-accordion .v90-property-location {
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}

@media (max-width: 900px) {
  body:has(.content-tenant.view-browse .v92-swipe-view) {
    padding-bottom: 0;
    overflow: hidden;
  }

  .workspace:has(.content-tenant.view-browse .v92-swipe-view) {
    height: calc(100dvh - var(--topbar));
    min-height: 0;
    overflow: hidden;
  }

  .content-tenant.view-browse:has(.v92-swipe-view) {
    height: calc(100dvh - var(--topbar) - 82px);
  }

  .content-tenant.view-browse .v92-swipe-view {
    grid-template-rows: 46px minmax(0, 1fr);
  }

  .v92-swipe-view .swipe-stage {
    grid-template-rows: minmax(0, 520px) 56px 14px;
    gap: 4px;
    padding: 6px 7px 3px !important;
  }
}

@media (max-width: 600px) {
  .v92-swipe-view .v96-search-toolbar {
    min-height: 46px;
    padding: 2px 7px;
  }

  .v92-swipe-view .v96-search-toolbar .v92-search-modes {
    width: min(100%, 218px);
  }

  .v92-swipe-view .v96-search-toolbar .v92-search-modes button {
    grid-template-columns: 18px;
    min-width: 44px;
    padding: 0;
  }

  .v92-swipe-view .v96-search-toolbar .v92-search-modes button > span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .v92-swipe-view .swipe-card[data-v83-swipe-card] {
    grid-template-rows: minmax(0, 1fr) 68px;
    border-radius: 14px;
  }

  .v92-swipe-view .swipe-card[data-v83-swipe-card] .swipe-image {
    border-radius: 14px 14px 0 0;
  }

  .v92-swipe-view .v103-swipe-summary {
    padding: 0 6px;
  }

  .v103-swipe-facts > span {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 0 5px;
    justify-items: center;
    text-align: center;
  }

  .v103-swipe-facts .ui-icon {
    width: 16px;
    height: 16px;
  }

  .v103-swipe-facts small {
    display: none;
  }

  .v103-swipe-facts strong {
    max-width: 100%;
    font-size: .68rem;
  }

  .v92-swipe-view .image-title {
    right: 64px;
    bottom: 12px;
    left: 13px;
  }

  .v92-swipe-view .image-title h2 {
    font-size: clamp(1.15rem, 5.4vw, 1.55rem);
  }

  .v92-swipe-view .image-title p {
    max-width: 100%;
    overflow: hidden;
    font-size: .66rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .v92-swipe-view .v96-image-price {
    display: flex;
    gap: 6px;
    margin-top: 6px;
  }

  .v92-swipe-view .v96-image-details {
    right: 11px;
    bottom: 11px;
    width: 44px;
    height: 44px;
  }

  .v103-detail-accordion > summary {
    grid-template-columns: 42px minmax(0, 1fr) 48px;
    gap: 9px;
    padding: 9px 10px;
  }

  .v103-accordion-icon {
    width: 42px;
    height: 42px;
  }

  .v103-accordion-toggle {
    padding: 0;
    justify-content: center;
  }

  .v103-accordion-toggle::before {
    display: none;
  }
}

@media (max-height: 650px) {
  .v92-swipe-view .swipe-card[data-v83-swipe-card] {
    grid-template-rows: minmax(0, 1fr) 56px;
  }

  .v92-swipe-view .image-title h2 {
    font-size: 1.15rem;
  }

  .v92-swipe-view .v96-image-price span,
  .v92-swipe-view .image-title p {
    display: none;
  }

  .v92-swipe-view .image-topline .v40-photo-count {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v103-accordion-toggle .ui-icon {
    transition: none;
  }
}

@media (max-width: 430px) {
  .public-login-link { padding-inline: 8px; }
  .public-search-fields { grid-template-columns: 1fr; }
  .public-search-fields .field:first-child,
  .public-search-submit { grid-column: auto; }
  .public-search-card { bottom: -276px; }
  .public-hero-copy { padding-bottom: 340px; }
  .public-trust-row { margin-top: 320px; }
  .public-property-copy { padding: 18px; }
  .public-results,
  .public-how,
  .public-pricing,
  .public-landlord-cta { width: min(100% - 24px, 1360px); }
}

@media (prefers-reduced-motion: reduce) {
  .public-property-image img,
  .public-signup-button,
  .public-price-action { transition: none; }
  .public-property-card:hover .public-property-image img,
  .public-signup-button:hover,
  .public-price-action:hover { transform: none; }
}

/* GoLeje V104 · førstegangsvejledning til swipe */
.v104-swipe-help-modal {
  width: min(620px, calc(100vw - 24px));
  max-height: min(92dvh, 820px);
  border-radius: 22px;
  background: #fffdf8;
}

.v104-swipe-help-modal .modal-header {
  padding-bottom: 14px;
  border-bottom: 1px solid #e1e4df;
}

.v104-swipe-help-modal .modal-header h2 {
  font-size: 1.15rem;
}

.v104-swipe-help-modal .modal-header p {
  margin-top: 3px;
  font-size: .72rem;
}

.v104-swipe-help-modal .modal-body {
  padding: 18px 20px 12px;
}

.v104-swipe-help-modal .modal-footer {
  display: block;
  padding: 12px 16px 16px;
  border-top: 1px solid #e1e4df;
  background: #f7f5ef;
}

.v104-help-step {
  display: grid;
  gap: 15px;
  animation: v104-help-enter 220ms cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes v104-help-enter {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.v104-help-step h3 {
  margin: 4px 0 6px;
  color: #17372f;
  font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.v104-help-step h3:focus {
  outline: 0;
}

.v104-help-step p {
  margin: 0;
  color: #5d6963;
  font-size: .82rem;
  line-height: 1.5;
}

.v104-help-visual {
  position: relative;
  width: min(100%, 300px);
  height: 100px;
  margin: 0 auto;
  border: 1px solid #d6ddd7;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 48%, rgba(213, 230, 220, .9), transparent 42%),
    #f4f4ee;
}

.v104-help-visual > span {
  position: absolute;
  display: grid;
  gap: 2px;
  place-items: center;
  color: #17372f;
  font-size: .61rem;
  font-weight: 800;
}

.v104-help-visual > span .ui-icon {
  width: 18px;
  height: 18px;
}

.v104-help-up { top: 10px; left: 50%; transform: translateX(-50%); }
.v104-help-down { bottom: 10px; left: 50%; transform: translateX(-50%); }
.v104-help-left { top: 50%; left: 12px; transform: translateY(-50%); }
.v104-help-right { top: 50%; right: 12px; transform: translateY(-50%); }

.v104-help-home {
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  border: 1px solid #bfcfc5;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(23, 55, 47, .12);
  transform: translate(-50%, -50%);
}

.v104-help-home .ui-icon {
  width: 25px !important;
  height: 25px !important;
  color: #2e755c;
}

.v104-choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v104-choice-list li {
  display: grid;
  min-width: 0;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  padding: 10px;
  align-items: start;
  border: 1px solid #dfe2de;
  border-radius: 13px;
  background: #faf9f5;
}

.v104-choice-list li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
}

.v104-choice-list li > span .ui-icon {
  width: 18px;
  height: 18px;
}

.v104-choice-list strong,
.v104-choice-list small {
  display: block;
}

.v104-choice-list strong {
  color: #1d352d;
  font-size: .72rem;
  line-height: 1.3;
}

.v104-choice-list small {
  margin-top: 3px;
  color: #69726d;
  font-size: .65rem;
  line-height: 1.35;
}

.v104-choice-list .dismiss > span { background: #fde9e4; color: #9d4332; }
.v104-choice-list .later > span { background: #e5f1f6; color: #2e637c; }
.v104-choice-list .save > span { background: #fbf0ce; color: #79591d; }
.v104-choice-list .like > span { background: #dff0e8; color: #205c47; }

.v104-help-shield {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid #bfd2c6;
  border-radius: 20px;
  background: #e5eee8;
  color: #255d48;
}

.v104-help-shield .ui-icon {
  width: 30px;
  height: 30px;
}

.v104-visibility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.v104-visibility-grid article {
  display: grid;
  min-width: 0;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  padding: 13px;
  align-items: start;
  border: 1px solid #dce2dd;
  border-radius: 15px;
  background: #f4f7f4;
}

.v104-visibility-grid article.shared {
  border-color: #c8a994;
  background: #f8ede6;
}

.v104-visibility-grid article > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: #2e755c;
}

.v104-visibility-grid article.shared > span {
  color: #a65338;
}

.v104-visibility-grid strong {
  display: block;
  margin-bottom: 3px;
  color: #17372f;
  font-size: .75rem;
}

.v104-visibility-grid p {
  font-size: .68rem;
  line-height: 1.4;
}

.v104-help-note {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid #ddd4bd;
  border-radius: 13px;
  background: #f6f0df;
  color: #755b22;
}

.v104-help-note .ui-icon {
  width: 20px;
  height: 20px;
}

.v104-help-note p {
  color: #635537;
  font-size: .72rem;
}

.v104-help-mine {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  gap: 11px;
  padding: 11px 13px;
  align-items: center;
  border-radius: 15px;
  background: #17372f;
  color: #fff;
}

.v104-help-mine > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, .12);
}

.v104-help-mine small,
.v104-help-mine strong {
  display: block;
}

.v104-help-mine small {
  color: rgba(255, 255, 255, .62);
  font-size: .62rem;
}

.v104-help-mine strong {
  margin-top: 2px;
  font-size: .85rem;
}

.v104-help-mine b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #17372f;
  font-size: .7rem;
}

.v104-help-tabs {
  display: flex;
  gap: 5px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid #d9ded9;
  border-radius: 12px;
  background: #eef1ed;
}

.v104-help-tabs span {
  flex: 1 1 auto;
  min-width: 0;
  padding: 7px 6px;
  overflow: hidden;
  border-radius: 8px;
  color: #69726d;
  font-size: .61rem;
  font-weight: 800;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v104-help-tabs span.active {
  background: #fff;
  color: #17372f;
  box-shadow: 0 3px 10px rgba(23, 55, 47, .1);
}

.v104-interest-path {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v104-interest-path li {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  min-height: 56px;
  align-items: start;
}

.v104-interest-path li:not(:last-child)::after {
  position: absolute;
  top: 36px;
  bottom: 2px;
  left: 18px;
  width: 1px;
  background: #cfd9d2;
  content: '';
}

.v104-interest-path li > span {
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #cbd8d0;
  border-radius: 12px;
  background: #edf3ef;
  color: #2e755c;
}

.v104-interest-path strong,
.v104-interest-path small {
  display: block;
}

.v104-interest-path strong {
  margin-top: 2px;
  color: #17372f;
  font-size: .75rem;
}

.v104-interest-path small {
  margin-top: 3px;
  color: #68736d;
  font-size: .68rem;
  line-height: 1.35;
}

.v104-help-footer {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto minmax(150px, 1fr);
  gap: 10px;
  align-items: center;
}

.v104-help-footer > .button:first-child {
  justify-self: start;
}

.v104-help-footer > .button:last-child {
  justify-self: end;
}

.v104-help-progress {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.v104-help-progress span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #c8d0cb;
  transition: width 160ms ease, background 160ms ease;
}

.v104-help-progress span.active {
  width: 22px;
  background: #2e755c;
}

.v104-swipe-help-modal button:focus-visible,
[data-v87-swipe-anchor]:focus-visible {
  outline: 3px solid #cc813d;
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .v104-swipe-help-modal {
    width: calc(100vw - 14px);
    max-height: calc(100dvh - 14px);
    border-radius: 18px;
  }

  .v104-swipe-help-modal .modal-header {
    padding: 14px 15px 11px;
  }

  .v104-swipe-help-modal .modal-body {
    padding: 14px 14px 9px;
  }

  .v104-help-step {
    gap: 11px;
  }

  .v104-help-visual {
    height: 92px;
  }

  .v104-choice-list {
    gap: 6px;
  }

  .v104-choice-list li {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 7px;
    padding: 8px;
  }

  .v104-choice-list li > span {
    width: 31px;
    height: 31px;
  }

  .v104-choice-list strong {
    font-size: .68rem;
  }

  .v104-choice-list small {
    font-size: .61rem;
  }

  .v104-visibility-grid {
    grid-template-columns: 1fr;
  }

  .v104-help-footer {
    grid-template-columns: auto 1fr auto;
    gap: 7px;
  }

  .v104-help-footer .button {
    min-height: 44px;
    padding-inline: 11px;
    font-size: .7rem;
  }

  .v104-help-progress {
    gap: 4px;
  }
}

@media (max-width: 380px) {
  .v104-choice-list {
    grid-template-columns: 1fr;
  }

  .v104-help-visual {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v104-help-step {
    animation: none;
  }

  .v104-help-progress span {
    transition: none;
  }
}

/* GoLeje V106 · fokuserede profiler, søgeagent og administratorleads */
.v106-profile-stack{display:grid;gap:18px}.v106-section-heading{align-items:flex-start;gap:16px}.v106-section-heading h2{margin-top:4px}.v106-access-card{display:flex;gap:16px;padding:20px;border:1px solid #cbd8d2;border-radius:18px;background:#edf4f0;color:#173c31}.v106-access-card>svg{flex:0 0 24px;width:24px;height:24px;margin-top:2px}.v106-access-card strong{display:block;margin:5px 0 4px;font-size:1.05rem}.v106-access-card p{margin:0;line-height:1.55;color:#52615b}.v106-mail-status{display:flex;align-items:center;gap:14px;margin-top:18px;padding:16px;border-radius:16px;background:#f5f6f2}.v106-mail-status>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#dfeae4;color:#214e40}.v106-mail-status strong,.v106-mail-status small{display:block}.v106-mail-status small{margin-top:3px;color:#65706b}.v106-area-chips,.v106-tag-input>[data-v106-area-chips]{display:flex;flex-wrap:wrap;gap:8px}.v106-area-chips{margin:4px 0 20px}.v106-area-chips>span,.v106-tag-input [data-v106-area-chips]>span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#e7f0eb;color:#214e40;font-weight:700;font-size:.9rem}.v106-tag-input{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:52px;padding:7px 10px;border:1px solid #b9c2bc;border-radius:14px;background:#fff}.v106-tag-input:focus-within{border-color:#2d6b57;box-shadow:0 0 0 3px rgba(45,107,87,.12)}.v106-tag-input>[data-v106-area-chips]{display:contents}.v106-tag-input [data-v106-area-chips]>span button{display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:rgba(22,58,47,.1);color:inherit}.v106-tag-input [data-v106-area-chips]>span button svg{width:14px;height:14px}.v106-tag-input>input[data-v106-area-input]{flex:1 1 220px;min-width:160px;padding:8px 4px;border:0;box-shadow:none;background:transparent}.v106-nearby-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.v106-nearby-summary>span{display:flex;gap:10px;padding:14px;border-radius:14px;background:#f5f6f2}.v106-nearby-summary>span>svg{width:20px;color:#315f50}.v106-nearby-summary strong,.v106-nearby-summary small{display:block}.v106-nearby-summary small{margin-top:3px;color:#69736e}.v106-empty-copy{margin:0;color:#69736e}.v106-nearby-editor{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.v106-nearby-editor fieldset{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0;padding:14px;border:1px solid #d8d9d2;border-radius:14px}.v106-nearby-editor legend{padding:0 6px;font-weight:800}.v106-agent-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 20px}.v106-agent-card p{margin:6px 0 0;color:#65706b}.v106-agent-card .button{grid-column:2;grid-row:1 / span 2}.v106-profile-modal .modal-body{background:#faf9f5}.v106-profile-modal .form-section{background:#fff}.v106-child-ages:empty{display:none}
.v106-public-admin{display:grid;grid-template-columns:minmax(0,.88fr) minmax(420px,1.12fr);gap:0;max-width:1380px;margin:0 auto 80px;border-radius:30px;overflow:hidden;background:#fff;box-shadow:0 22px 65px rgba(24,42,35,.13)}.v106-admin-visual{padding:54px;background:#153c30;color:#fff}.v106-admin-visual>span{display:grid;place-items:center;width:66px;height:66px;margin-bottom:30px;border-radius:20px;background:#d8a878;color:#153c30}.v106-admin-visual>span svg{width:34px;height:34px}.v106-admin-visual>small{display:block;text-transform:uppercase;letter-spacing:.15em;color:#b7cec5;font-weight:800}.v106-admin-visual>strong{display:block;max-width:520px;margin:12px 0 16px;font:600 clamp(2rem,3vw,3.5rem)/1.02 var(--font-display,serif)}.v106-admin-visual>p{max-width:540px;color:#d9e4df;line-height:1.65}.v106-admin-visual ul{display:grid;gap:11px;margin:28px 0 0;padding:0;list-style:none}.v106-admin-visual li{display:flex;align-items:center;gap:10px}.v106-admin-visual li svg{width:18px;color:#e3b98e}.v106-admin-contact{padding:48px}.v106-admin-contact h2{margin:8px 0 8px;font-size:2rem}.v106-admin-contact>p{margin:0 0 28px;color:#64706a}.v106-admin-contact>.button{margin-top:20px}.v106-admin-contact>small{display:block;margin-top:12px;color:#707975}.v106-lead-success{display:flex;align-items:flex-start;gap:18px;padding:28px;border-radius:20px;background:#edf6f1;color:#173c31}.v106-lead-success>svg{width:38px;height:38px}.v106-lead-success h2{margin:5px 0}.v106-lead-success p{margin:0}.v106-lead-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.v106-lead-summary>span{padding:20px;border:1px solid #deded7;border-radius:18px;background:#fff}.v106-lead-summary strong,.v106-lead-summary small{display:block}.v106-lead-summary strong{font-size:1.7rem}.v106-lead-summary small{margin-top:4px;color:#6a736f}.v106-lead-list{display:grid;gap:14px}.v106-lead-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 24px}.v106-lead-card h2{margin:10px 0 4px}.v106-lead-card p{margin:0;color:#66706b}.v106-lead-meta{display:flex;gap:10px}.v106-lead-meta>span{display:grid;grid-template-columns:auto auto;gap:0 7px;align-items:center;padding:10px 13px;border-radius:13px;background:#f4f5f1}.v106-lead-meta svg{grid-row:1 / span 2;width:18px}.v106-lead-meta small{color:#6b746f}.v106-lead-card blockquote{grid-column:1 / -1;margin:0;padding:16px;border-left:4px solid #c69264;background:#faf7f1;color:#46514c}.v106-lead-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:10px}
@media(max-width:900px){.v106-public-admin{grid-template-columns:1fr;margin:0 16px 50px}.v106-admin-visual,.v106-admin-contact{padding:30px}.v106-agent-card{grid-template-columns:1fr}.v106-agent-card .button{grid-column:auto;grid-row:auto}.v106-lead-card{grid-template-columns:1fr}.v106-lead-meta{flex-wrap:wrap}.v106-lead-summary{grid-template-columns:1fr}.v106-nearby-editor{grid-template-columns:1fr}}
@media(max-width:600px){.v106-section-heading{display:grid}.v106-section-heading .button{width:100%}.v106-admin-visual>strong{font-size:2.1rem}.v106-admin-contact .form-grid{grid-template-columns:1fr}.v106-nearby-editor fieldset{grid-template-columns:1fr}.v106-lead-actions{display:grid}.v106-profile-modal .modal-body{padding-inline:12px}}

/* GoLeje V108 · superadminens kontoregister */
.v108-access-panel{margin-top:22px}.v108-access-head{align-items:flex-end;gap:20px}.v108-user-tools{display:flex;align-items:center;gap:10px}.v108-user-tools label:first-child{display:flex;align-items:center;gap:8px;min-width:260px;padding:0 12px;border:1px solid #c9d0cc;border-radius:13px;background:#fff}.v108-user-tools label:first-child:focus-within{border-color:#2d6b57;box-shadow:0 0 0 3px rgba(45,107,87,.13)}.v108-user-tools svg{flex:0 0 19px;width:19px;color:#4f655d}.v108-user-tools input{width:100%;min-height:44px;padding:8px 0;border:0!important;box-shadow:none!important;background:transparent;font-size:1rem}.v108-user-tools select{min-height:46px;padding:8px 38px 8px 12px;border:1px solid #c9d0cc;border-radius:13px;background:#fff;font-size:.95rem}.v108-account-list{display:grid;gap:1px;margin-top:18px;overflow:hidden;border:1px solid #d7dcd8;border-radius:18px;background:#d7dcd8}.v108-account-row{display:grid;grid-template-columns:minmax(230px,1.3fr) minmax(190px,1fr) minmax(160px,.8fr) minmax(140px,.7fr) auto;align-items:center;gap:16px;min-height:98px;padding:16px 18px;background:#fff}.v108-account-row[hidden]{display:none}.v108-account-identity{display:flex;align-items:center;gap:12px;min-width:0}.v108-account-identity .avatar{flex:0 0 44px;width:44px;height:44px}.v108-account-identity>span:last-child,.v108-login-state,.v108-account-status{display:grid;gap:4px;min-width:0}.v108-account-identity strong,.v108-account-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v108-account-identity em{display:inline-block;margin-left:6px;padding:3px 6px;border-radius:999px;background:#e5efe9;color:#245342;font-size:.65rem;font-style:normal;text-transform:uppercase;letter-spacing:.08em}.v108-account-identity small,.v108-login-state small,.v108-account-status small{color:#68736e;font-size:.78rem}.v108-account-roles{display:flex;flex-wrap:wrap;gap:6px}.v108-role-chip{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:#edf2ef;color:#234d40;font-size:.75rem;font-weight:800}.v108-role-chip svg{width:14px;height:14px}.v108-role-chip.critical{background:#fae9df;color:#874727}.v108-account-actions{display:flex;justify-content:flex-end;gap:7px}.v108-loading{display:flex;align-items:center;gap:10px;margin:14px 0;padding:14px 16px;border-radius:14px;background:#edf4f0;color:#265545}.v108-loading svg{width:20px;animation:v108-spin 1.1s linear infinite}.v108-filter-empty{padding:34px;text-align:center}.v108-filter-empty strong,.v108-filter-empty span{display:block}.v108-filter-empty span{margin-top:5px;color:#68736e}@keyframes v108-spin{to{transform:rotate(360deg)}}
.v108-account-modal .modal-body{background:#f7f6f2}.v108-account-tabs{display:grid;gap:16px}.v108-account-tabs>form,.v108-account-modal #v108-account-form{display:grid;gap:18px}.v108-security-intro{display:flex;align-items:flex-start;gap:14px;padding:18px;border-radius:18px;background:#173c31;color:#fff}.v108-security-intro>span{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:14px;background:#dcebe4;color:#173c31}.v108-security-intro svg{width:23px;height:23px}.v108-security-intro strong{font-size:1.05rem}.v108-security-intro p{margin:4px 0 0;color:#cfddd7;line-height:1.45}.v108-role-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;border:0}.v108-role-picker legend{grid-column:1/-1;padding:0;font-size:1.05rem;font-weight:850}.v108-role-picker>p{grid-column:1/-1;margin:-4px 0 4px;color:#68736e}.v108-role-picker label{position:relative;cursor:pointer}.v108-role-picker input{position:absolute;opacity:0;pointer-events:none}.v108-role-option{display:grid;grid-template-columns:40px minmax(0,1fr) 24px;align-items:center;gap:11px;min-height:78px;padding:13px;border:1px solid #d3d8d4;border-radius:16px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.v108-role-picker label:hover .v108-role-option{transform:translateY(-1px);border-color:#87a79b}.v108-role-picker input:focus-visible+.v108-role-option{outline:3px solid rgba(45,107,87,.25);outline-offset:2px}.v108-role-picker input:checked+.v108-role-option{border-color:#2d6b57;box-shadow:0 0 0 3px rgba(45,107,87,.1);background:#f5faf7}.v108-role-picker input:disabled+.v108-role-option{cursor:not-allowed;background:#eef1ef}.v108-role-option>i{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#e7efeb;color:#214d3f}.v108-role-option>i svg{width:21px;height:21px}.v108-role-option>span{display:grid;gap:3px}.v108-role-option small{color:#67726d;line-height:1.35}.v108-role-option>b{display:grid;place-items:center;width:22px;height:22px;border:1px solid #b9c5bf;border-radius:50%;color:transparent}.v108-role-picker input:checked+.v108-role-option>b{border-color:#2d6b57;background:#2d6b57;color:#fff}.v108-role-option>b svg{width:14px;height:14px}.v108-password-section{display:grid;gap:15px;padding:18px;border:1px solid #d7dcd8;border-radius:18px;background:#fff}.v108-section-title{display:flex;align-items:center;gap:12px}.v108-section-title>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#f4eadf;color:#7c4d27}.v108-section-title>span svg{width:21px}.v108-section-title>div{display:grid;gap:3px}.v108-section-title small{color:#69736e}.v108-password-warning{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;border-radius:12px;background:#edf3f0;color:#36574c;font-size:.84rem;line-height:1.4}.v108-password-warning svg{flex:0 0 18px;width:18px}.v108-form-feedback{padding:12px 14px;border:1px solid #e3b6ad;border-radius:12px;background:#fff0ed;color:#873b32;font-weight:700}.v108-form-feedback[hidden]{display:none}.v108-account-modal input{font-size:1rem}
@media(max-width:1180px){.v108-account-row{grid-template-columns:minmax(230px,1.2fr) minmax(180px,1fr) minmax(150px,.8fr) auto}.v108-account-status{display:none}.v108-account-actions{flex-direction:column}.v108-account-actions .button{width:100%}}
@media(max-width:780px){.v108-access-head{align-items:stretch;flex-direction:column}.v108-user-tools{display:grid;grid-template-columns:1fr}.v108-user-tools label:first-child{min-width:0}.v108-account-list{overflow:visible;border:0;background:transparent}.v108-account-row{grid-template-columns:1fr;gap:12px;margin-bottom:10px;border:1px solid #d7dcd8;border-radius:17px}.v108-account-status{display:grid}.v108-account-actions{display:grid;grid-template-columns:1fr 1fr}.v108-account-actions .button{min-height:44px}.v108-role-picker{grid-template-columns:1fr}.v108-role-picker legend,.v108-role-picker>p{grid-column:auto}}
@media(max-width:480px){.v108-account-actions{grid-template-columns:1fr}.v108-role-option{grid-template-columns:36px minmax(0,1fr) 22px;padding:11px}.v108-role-option>i{width:36px;height:36px}.v108-security-intro{padding:15px}.v108-account-modal .modal-body{padding-inline:12px}}
@media(prefers-reduced-motion:reduce){.v108-loading svg{animation:none}.v108-role-option{transition:none}}
