/*
 * Public HDS alignment layer.
 * Home is the visual source of truth; product-specific layouts remain intact.
 */
.hds-public-page {
  --hds-ink: #111;
  --hds-paper: #fff;
  --hds-white: #fff;
  --hds-muted: #77726a;
  --hds-line: #d8d3c9;
  --hds-public-rail: calc(clamp(24px, 4vw, 72px) + 18px);
  --hds-gutter: var(--hds-public-rail);
  --page: var(--hds-public-rail);
  --directory-gutter: var(--hds-public-rail);
  background: var(--hds-white);
  color: var(--hds-ink);
  font-family: "Inter HDS", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* One public navigation shell, with Home's restrained scale and rhythm. */
.hds-public-page .dir-header {
  box-sizing: border-box;
  grid-template-columns: auto 1fr;
  width: 100%;
  height: 76px;
  min-height: 76px;
  padding: 0 var(--hds-gutter);
  border-bottom: 1px solid rgba(17, 17, 17, .1);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}

.hds-public-page .dir-brand {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1;
}

.hds-public-page .dir-nav {
  justify-self: end;
  gap: clamp(18px, 2.1vw, 34px);
}

.hds-public-page .dir-nav > a,
.hds-public-page .dir-action-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}

.hds-public-page .dir-nav > a {
  height: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 0;
  box-shadow: none;
  transition: opacity .18s ease;
}

.hds-public-page .dir-nav > a:hover,
.hds-public-page .dir-nav > a:focus-visible {
  opacity: .5;
}

.hds-public-page .dir-nav > a.active,
.hds-public-page .dir-nav > a.is-active,
.hds-public-page .dir-nav > a[aria-current="page"] {
  padding-bottom: 0;
  border: 0;
  box-shadow: none;
}

.hds-public-page .dir-actions-group {
  display: none;
}

.hds-public-page .dir-shortlist-link,
.hds-public-page .dir-account-link {
  gap: 7px;
}

.hds-public-page .dir-nav .dir-nav-action {
  min-height: 36px;
}

.hds-public-page .dir-nav .dir-nav-action .dir-action-icon {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
}

/* Home uses one sans-serif editorial voice, never a competing display serif. */
.hds-public-page h1,
.hds-public-page h2,
.hds-public-page h3,
.hds-public-page .space-title,
.hds-public-page .directory-link-group a {
  font-family: "Inter HDS", Inter, Arial, sans-serif;
}

.hds-public-page .editions-hero h1 {
  background: none;
  color: var(--hds-ink);
  -webkit-text-fill-color: currentColor;
}

/* Directory is a white, product-led catalogue. */
.hds-public-page [data-directory-app],
.hds-public-page .directory-selected,
.hds-public-page .directory-explore,
.hds-public-page .directory-explore-tabs,
.hds-public-page .directory-editorial,
.hds-public-page .directory-links {
  background: var(--hds-white);
}

.hds-public-page .directory-results-head {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.hds-public-page .directory-explore-head h2,
.hds-public-page .editions-hero h1 {
  margin: 0;
  color: var(--hds-ink);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.hds-public-page.site-directory .dir-header {
  border-bottom: 0;
}

/* List your Space follows Home's compact, contained Focus Panel language. */
.hds-public-page.list-space-page .list-space-hero {
  box-sizing: border-box;
  width: calc(100% - (2 * var(--hds-gutter)));
  max-width: 1500px;
  min-height: 400px;
  margin: clamp(22px, 3vw, 42px) auto;
  padding-block: clamp(54px, 5.5vw, 82px);
  gap: clamp(42px, 6vw, 92px);
  border: 1px solid var(--hds-line);
  background: var(--hds-white);
}

.hds-public-page.list-space-page .list-space-hero h1 {
  max-width: 9ch;
  font-size: clamp(58px, 7vw, 108px);
  letter-spacing: -.065em;
  line-height: .9;
}

.hds-public-page .editions-journey__intro h2,
.hds-public-page .directory-selected .section-head h2,
.hds-public-page .directory-editorial-head h2,
.hds-public-page .directory-continuity h2,
.hds-public-page .directory-hub-hero h1,
.hds-public-page .directory-hub-card h2,
.hds-public-page .listing-hero h1,
.hds-public-page .claim-strip h3 {
  font-family: "Inter HDS", Inter, Arial, sans-serif;
  font-weight: 400;
}

/* Directory city names use the same sans-serif voice as the public site. */
.hds-public-page .directory-explore-copy strong {
  font-family: "Inter HDS", Inter, Arial, sans-serif;
}

/* Shared About section — identical editorial block on Home and Directory. */
.hds-public-page .de-about {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(56px, 8vw, 150px);
  padding: clamp(110px, 10vw, 176px) var(--hds-public-rail);
  background: #111;
  color: #fff;
}

.hds-public-page .de-about-intro {
  max-width: 880px;
}

.hds-public-page .de-about .de-kicker {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.hds-public-page .de-about h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 5.5vw, 88px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .95;
}

.hds-public-page .de-about-copy {
  align-self: end;
  display: grid;
  gap: 24px;
  max-width: 560px;
}

.hds-public-page .de-about-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .hds-public-page .de-about {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hds-public-page .de-about {
    padding-bottom: 110px;
  }
}

/* Keep the black-and-white Home language across buttons and focus states. */
.hds-public-page button,
.hds-public-page .btn,
.hds-public-page .button,
.hds-public-page .editions-find-space,
.hds-public-page .editions-journey__link {
  border-radius: 0;
}

.hds-public-page :focus-visible {
  outline-color: var(--hds-ink);
}

.hds-public-page .public-footer {
  padding-inline: var(--hds-gutter);
}

.hds-public-page .public-mobile-menu {
  display: none;
}

.hds-public-page [data-directory-app] .space-card-shortlist {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: auto;
  left: auto;
  z-index: 5;
  display: grid;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  background: rgba(255, 255, 255, .9);
  color: var(--hds-ink);
  opacity: 1;
  backdrop-filter: blur(8px);
}

.hds-public-page [data-directory-app] .space-card-shortlist::before {
  display: none;
  content: none;
}

.hds-public-page [data-directory-app] .space-card-shortlist:hover,
.hds-public-page [data-directory-app] .space-card-shortlist:focus-visible,
.hds-public-page [data-directory-app] .space-card-shortlist.is-selected {
  background: #fff;
  color: var(--hds-ink);
  opacity: 1;
}

.hds-public-page .dir-wishlist-button {
  position: relative;
  display: grid;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  align-items: center;
  justify-items: center;
  border: 0;
  background: transparent;
  color: var(--hds-ink);
  cursor: pointer;
  transition: opacity .18s ease;
}

.hds-public-page .dir-wishlist-button .wishlist-heart {
  width: 19px;
  height: 19px;
}

.hds-public-page .dir-wishlist-indicator {
  position: absolute;
  top: 5px;
  right: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hds-ink);
  opacity: 0;
  transform: scale(.5);
  transition: opacity .18s ease, transform .18s ease;
}

.hds-public-page .dir-wishlist-button.has-items .dir-wishlist-indicator {
  opacity: 1;
  transform: scale(1);
}

@media (hover: hover) {
  .hds-public-page .dir-wishlist-button:hover {
    opacity: .55;
  }
}

@media (min-width: 901px) and (max-width: 980px) {
  .hds-public-page .dir-nav {
    display: flex;
  }
}

@media (max-width: 900px) {
  .hds-public-page {
    --hds-public-rail: 33px;
  }

  .hds-public-page .dir-header {
    grid-template-columns: 1fr auto;
  }

  .hds-public-page .dir-actions-group {
    display: flex;
    gap: 2px;
  }

  .hds-public-page .dir-actions-group .dir-shortlist-link,
  .hds-public-page .dir-actions-group .dir-account-link,
  .hds-public-page .dir-actions-group .dir-wishlist-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    justify-content: center;
  }

  .hds-public-page .public-mobile-menu {
    display: block;
  }

}

@media (max-width: 640px) {
  .hds-public-page.list-space-page .list-space-hero {
    width: calc(100% - 32px);
    min-height: auto;
    margin: 16px auto 28px;
    padding: 42px 20px 38px;
    gap: 24px;
  }

  .hds-public-page.list-space-page .list-space-hero h1 {
    max-width: none;
    font-size: clamp(52px, 16vw, 72px);
    line-height: .9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hds-public-page .dir-nav > a {
    transition: none;
  }
}

/* Shared HDS focus-panel frame: right drawer, quiet top rail, dimmed context. */
.hds-focus-shell[hidden] {
  display: none;
}

.hds-focus-shell,
.hds-focus-backdrop {
  position: fixed;
  inset: 0;
}

.hds-focus-shell {
  z-index: 90;
}

.hds-focus-backdrop {
  border: 0;
  background: rgba(17, 17, 17, .35);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.hds-focus-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1;
  width: 50vw;
  min-width: 680px;
  max-width: 900px;
  overflow-y: auto;
  outline: none;
  background: #fff;
  box-shadow: -22px 0 64px rgba(17, 17, 17, .16);
  overscroll-behavior: contain;
}

.hds-focus-topbar {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 52px;
  border-bottom: 1px solid var(--hds-line);
}

.hds-focus-close {
  display: inline-flex;
  min-height: 44px;
  padding: 0;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--hds-ink);
  font: inherit;
  font-size: 11px;
  letter-spacing: .04em;
  cursor: pointer;
}

.hds-focus-close > span {
  font-size: 27px;
  font-weight: 240;
  line-height: 1;
}

.hds-focus-brand,
.hds-focus-context {
  font-size: 10px;
  font-weight: 550;
  letter-spacing: .14em;
}

.hds-focus-context {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

body.is-wishlist-open {
  overflow: hidden;
}

.directory-wishlist-drawer {
  width: min(640px, 100%);
  min-width: 0;
}

.directory-wishlist-drawer .hds-focus-topbar {
  min-height: 76px;
  margin-inline: 34px;
  border-bottom: 0;
}

.directory-wishlist-intro {
  display: flex;
  min-height: 0;
  padding: 34px 34px 30px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.directory-wishlist-intro > p {
  margin: 0 0 16px;
  color: var(--hds-muted);
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.directory-wishlist-intro h2 {
  max-width: 15ch;
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.04;
}

.directory-wishlist-intro > div {
  max-width: 46ch;
  margin-top: 14px;
  color: var(--hds-muted);
  font-size: 13px;
  line-height: 1.5;
}

.directory-wishlist-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 34px 18px;
  border-top: 0;
}

.directory-wishlist-heading h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -.01em;
}

.directory-wishlist-heading > span {
  padding-bottom: 7px;
  color: var(--hds-muted);
  font-size: 11px;
}

.directory-wishlist-heading > span strong {
  color: var(--hds-ink);
  font-weight: 550;
}

.directory-wishlist-list {
  margin: 0 34px;
  border: 0;
}

.directory-wishlist-item {
  display: grid;
  grid-template-columns: minmax(230px, .84fr) minmax(0, 1.16fr);
  min-height: 300px;
}

.directory-wishlist-item + .directory-wishlist-item {
  border-top: 1px solid var(--hds-line);
}

.directory-wishlist-item__media {
  min-height: 300px;
  overflow: hidden;
  background: #f1f1ef;
}

.directory-wishlist-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.directory-wishlist-item__body {
  display: flex;
  min-width: 0;
  padding: 30px 32px;
  flex-direction: column;
  justify-content: center;
}

.directory-wishlist-item__ref {
  color: var(--hds-muted);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.directory-wishlist-item h3 {
  margin: 10px 0 6px;
  font-size: 22px;
  font-weight: 420;
  letter-spacing: -.025em;
}

.directory-wishlist-item p {
  margin: 0;
  color: var(--hds-muted);
  font-size: 12px;
}

.directory-wishlist-item__meta,
.directory-wishlist-item__actions {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.directory-wishlist-item__meta {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--hds-line);
  font-size: 10px;
}

.directory-wishlist-item__actions {
  margin-top: 24px;
}

.directory-wishlist-item__actions a,
.directory-wishlist-item__actions button,
.directory-wishlist-footer a,
.directory-wishlist-footer button {
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.hds-public-page .directory-wishlist-item__actions .shortlist-remove {
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.directory-wishlist-empty {
  padding: 46px 0 54px;
  text-align: left;
}

.directory-wishlist-empty p {
  margin: 0 0 18px;
  color: var(--hds-muted);
  font-size: 14px;
}

.directory-wishlist-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 28px 34px 36px;
}

.directory-wishlist-empty button,
.directory-wishlist-footer a,
.list-space-page .list-space-submit-row button {
  display: inline-flex;
  min-width: 0;
  min-height: 48px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--hds-ink);
  color: #fff;
  font: inherit;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
}

.directory-wishlist-footer[hidden] {
  display: none;
}

/* List your Space is a task-focused drawer, not another editorial landing page. */
body.list-space-page {
  overflow: hidden;
}

.list-space-page .dir-header {
  position: relative;
  z-index: 1;
}

.list-space-page .list-space-focus-shell,
.list-space-page .list-space-focus-backdrop {
  position: fixed;
  inset: 0;
}

.list-space-page .list-space-focus-shell {
  z-index: 90;
}

.list-space-page .list-space-focus-backdrop {
  background: rgba(17, 17, 17, .62);
  backdrop-filter: blur(6px);
}

.list-space-page .list-space-focus-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  box-sizing: border-box;
  width: min(640px, 100%);
  padding: 0 34px 40px;
  overflow-y: auto;
  background: var(--hds-white);
  box-shadow: -18px 0 48px rgba(17, 17, 17, .12);
  overscroll-behavior: contain;
}

.list-space-page .list-space-focus-drawer > .hds-focus-topbar {
  min-height: 76px;
  margin-inline: 0;
  border-bottom: 0;
}

.hds-public-page.list-space-page .list-space-hero {
  display: block;
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 4px 0 18px;
  border: 0;
  background: transparent;
  text-align: left;
}

.hds-public-page.list-space-page .list-space-hero h1 {
  max-width: none;
  margin-top: 16px;
  font-size: clamp(34px, 3.2vw, 40px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.list-space-page .list-space-kicker {
  margin: 0;
  text-align: left;
}

.list-space-page .list-space-hero > p {
  max-width: 430px;
  margin: 30px auto 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
}

.list-space-page .list-space-hero > p:empty {
  display: none;
}

.list-space-page .list-space-workflow {
  padding: 0;
}

.list-space-page .list-space-workflow > header {
  display: none;
}

.list-space-page .list-space-methods {
  grid-template-columns: 1fr;
  gap: 0;
  border: 0;
}

.list-space-page .list-space-method {
  position: relative;
  min-height: 60px;
  padding: 14px 18px 14px 52px;
  gap: 0;
  border: 0;
  background: transparent;
  color: var(--hds-ink);
}

.list-space-page .list-space-method::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 15px;
  height: 15px;
  border: 1px solid #8d8a84;
  border-radius: 50%;
  transform: translateY(-50%);
}

.list-space-page .list-space-method small {
  display: none;
}

.list-space-page .list-space-method strong {
  align-self: auto;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -.015em;
}

.list-space-page .list-space-method span {
  max-width: 48ch;
  color: var(--hds-muted);
  font-size: 13px;
}

.list-space-page .list-space-method.is-active,
.list-space-page .list-space-method:hover,
.list-space-page .list-space-method:focus-visible {
  background: transparent;
  color: var(--hds-ink);
}

.list-space-page .list-space-method.is-active::before {
  border-color: var(--hds-ink);
  box-shadow: inset 0 0 0 4px var(--hds-white), inset 0 0 0 8px var(--hds-ink);
}

.list-space-page .list-space-method.is-active span,
.list-space-page .list-space-method:hover span,
.list-space-page .list-space-method:focus-visible span {
  color: var(--hds-muted);
}

.list-space-page .list-space-form {
  margin-top: 18px;
  scroll-margin-top: 24px;
}

.list-space-page .list-space-panel {
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 0;
}

.list-space-page .list-space-panel-heading h2 {
  max-width: 12ch;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.04;
}

.list-space-page .list-space-panel-heading > div > p {
  display: none;
}

.list-space-page .list-space-fields {
  gap: 22px 18px;
}

/* The intake panel uses quiet surfaces instead of a stack of ruled lines. */
.list-space-page .list-space-field input,
.list-space-page .list-space-field select,
.list-space-page .list-space-field textarea {
  box-sizing: border-box;
  min-height: 52px;
  padding: 13px 15px;
  border: 0;
  background: #f5f4f1;
}

.list-space-page .list-space-field textarea {
  min-height: 104px;
}

.list-space-page .list-space-field input:focus,
.list-space-page .list-space-field select:focus,
.list-space-page .list-space-field textarea:focus {
  border: 0;
  box-shadow: inset 0 0 0 1px var(--hds-ink);
}

.list-space-page .list-space-uses label span {
  border: 0;
  background: #f5f4f1;
}

.list-space-page .list-space-consent {
  margin-top: 2px;
}

.list-space-page .list-space-consent,
.list-space-page .list-space-contact .hds-turnstile,
.list-space-page .list-space-contact .hds-turnstile-status,
.list-space-page .list-space-submit-row,
.list-space-page .list-space-status {
  grid-column: 1;
}

.list-space-page .list-space-submit-row {
  grid-template-columns: 1fr;
  gap: 0;
}

.list-space-page .list-space-submit-row button {
  width: 100%;
}

/* Final public UI rule: the Directory filter header is open, never gridded. */
.hds-public-page.site-directory:not(.is-space-view) .directory-hero {
  border-bottom: 0;
}

.hds-public-page.site-directory:not(.is-space-view) .directory-explore {
  border-top: 0;
}

.hds-public-page.site-directory:not(.is-space-view) .directory-hero .search-box,
.hds-public-page.site-directory:not(.is-space-view) .directory-floating-panel {
  border: 0;
  box-shadow: none;
}

.hds-public-page.site-directory:not(.is-space-view) .directory-search-field,
.hds-public-page.site-directory:not(.is-space-view) .directory-floating-panel .directory-search-field {
  border: 0;
}

.list-space-page .public-footer {
  display: none;
}

@media (max-width: 900px) {
  .hds-focus-drawer {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .hds-focus-topbar {
    min-height: 68px;
    margin-inline: 20px;
  }

  .directory-wishlist-heading {
    padding: 25px 20px 22px;
  }

  .directory-wishlist-intro {
    min-height: 300px;
    padding: 58px 28px 46px;
  }

  .directory-wishlist-intro > p {
    margin-bottom: 26px;
  }

  .directory-wishlist-heading h3 {
    font-size: 14px;
  }

  .directory-wishlist-list {
    margin-inline: 20px;
  }

  .directory-wishlist-item {
    grid-template-columns: 42% minmax(0, 1fr);
    min-height: 180px;
  }

  .directory-wishlist-item__media {
    min-height: 180px;
  }

  .directory-wishlist-item__body {
    padding: 20px 18px;
  }

  .directory-wishlist-item h3 {
    font-size: 18px;
  }

  .directory-wishlist-item__meta {
    display: grid;
    margin-top: 14px;
    gap: 4px;
  }

  .directory-wishlist-item__actions {
    margin-top: 16px;
  }

  .directory-wishlist-footer {
    margin: 28px 20px 36px;
  }

  .list-space-page .list-space-focus-drawer {
    padding: 0 20px 36px;
  }

  .hds-public-page.list-space-page .list-space-hero {
    width: auto;
    margin: 0;
    padding: 4px 0 18px;
  }

  .hds-public-page.list-space-page .list-space-hero h1 {
    margin-top: 16px;
    font-size: 34px;
  }

  .list-space-page .list-space-hero > p {
    margin-top: 22px;
    font-size: 15px;
  }

  .list-space-page .list-space-method {
    min-height: 58px;
    padding: 13px 16px 13px 48px;
  }

  .list-space-page .list-space-method::before {
    left: 16px;
  }

  .list-space-page .list-space-fields {
    grid-template-columns: 1fr;
  }

  .list-space-page .list-space-field-wide {
    grid-column: auto;
  }
}


/* Home Focus Panels — shared Switch workspace grammar. */
:root {
  --hds-focus-width: 640px;
  --hds-focus-bg: #fff;
  --hds-focus-ink: #11110f;
  --hds-focus-muted: #7f7b73;
  --hds-focus-line: #d8d4cb;
  --hds-focus-overlay: rgba(33, 33, 30, .42);
}

.directory-wishlist-shell .hds-focus-backdrop,
.list-space-page .list-space-focus-backdrop {
  background: var(--hds-focus-overlay);
  backdrop-filter: blur(6px);
}

.directory-wishlist-drawer,
.list-space-page .list-space-focus-drawer {
  box-sizing: border-box;
  width: min(var(--hds-focus-width), 100%);
  min-width: 0;
  max-width: none;
  background: var(--hds-focus-bg);
  color: var(--hds-focus-ink);
  box-shadow: none;
}

.directory-wishlist-drawer .hds-focus-topbar,
.list-space-page .list-space-focus-drawer > .hds-focus-topbar {
  display: flex;
  min-height: 84px;
  margin-inline: 38px;
  padding: 0;
  align-items: center;
  justify-content: flex-start;
  border: 0;
}

.directory-wishlist-drawer .hds-focus-close,
.list-space-page .hds-focus-close {
  display: inline-flex;
  width: auto;
  min-height: 44px;
  padding: 0;
  align-items: center;
  gap: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 15px;
  font-weight: 420;
  letter-spacing: -.01em;
  text-transform: none;
}

.directory-wishlist-drawer .hds-focus-close-icon,
.list-space-page .hds-focus-close > span {
  font-size: 38px;
  font-weight: 250;
  line-height: .8;
  transform: translateY(-1px);
}

.directory-wishlist-drawer .hds-focus-close-label {
  font-size: 15px;
  font-weight: 420;
  letter-spacing: -.01em;
}

/* Shortlist */
.directory-wishlist-intro {
  display: block;
  min-height: 0;
  padding: 72px 38px 66px;
  text-align: center;
}

.directory-wishlist-intro h2 {
  max-width: none;
  margin: 0;
  font-size: 44px;
  font-weight: 390;
  letter-spacing: -.045em;
  line-height: 1;
}

.directory-wishlist-intro > div {
  max-width: 38ch;
  margin: 28px auto 0;
  color: var(--hds-focus-muted);
  font-size: 17px;
  line-height: 1.45;
  text-align: center;
}

.directory-wishlist-heading {
  align-items: center;
  padding: 22px 38px 18px;
  border: 0;
  border-top: 1px solid var(--hds-focus-line);
}

.directory-wishlist-heading h3 {
  padding: 0;
  font-size: 12px;
  font-weight: 590;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.directory-wishlist-heading > span {
  padding: 0;
  font-size: 14px;
  letter-spacing: 0;
}

.directory-wishlist-list {
  margin: 0 38px;
  border: 0;
}

.directory-wishlist-empty {
  padding: 58px 0 38px;
  text-align: center;
}

.directory-wishlist-empty h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 390;
  letter-spacing: -.035em;
}

.directory-wishlist-empty p {
  max-width: 38ch;
  margin: 16px auto 30px;
  color: var(--hds-focus-muted);
  font-size: 15px;
  line-height: 1.55;
}

.directory-wishlist-empty small {
  display: block;
  margin-top: 34px;
  color: var(--hds-focus-muted);
  font-size: 13px;
  line-height: 1.5;
}

.directory-wishlist-text-action,
.directory-wishlist-empty .directory-wishlist-text-action,
.directory-wishlist-footer .directory-wishlist-text-action,
.directory-wishlist-item__actions .directory-wishlist-text-action,
.hds-public-page .directory-wishlist-item__actions .shortlist-remove {
  box-sizing: border-box;
  display: inline-flex;
  width: max-content;
  min-width: 0;
  min-height: 42px;
  padding: 0 8px;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  border-radius: 0;
  background: linear-gradient(#e8e5de, #e8e5de) no-repeat 0 100% / 0 100%;
  color: var(--hds-focus-ink);
  font: inherit;
  font-size: 11px;
  font-weight: 590;
  letter-spacing: .12em;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-size 180ms ease;
}

.directory-wishlist-item {
  grid-template-columns: 172px minmax(0, 1fr);
  min-height: 200px;
  padding-block: 24px;
  border: 0;
}

.directory-wishlist-item + .directory-wishlist-item {
  margin-top: 0;
  border-top: 1px solid var(--hds-focus-line);
}

.directory-wishlist-item__media {
  min-height: 200px;
}

.directory-wishlist-item__body {
  padding: 12px 0 12px 28px;
  justify-content: center;
}

.directory-wishlist-item__ref {
  color: var(--hds-focus-muted);
  font-size: 12px;
  font-weight: 470;
  letter-spacing: .14em;
}

.directory-wishlist-item h3 {
  margin: 12px 0 7px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.directory-wishlist-item p {
  color: var(--hds-focus-muted);
  font-size: 15px;
  line-height: 1.35;
}

.directory-wishlist-item__meta {
  margin-top: 18px;
  padding-top: 0;
  gap: 16px;
  border-top: 0;
  font-size: 13px;
  line-height: 1.3;
}

.directory-wishlist-item__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 14px;
  gap: 14px;
}

.hds-public-page .directory-wishlist-item__actions .shortlist-remove {
  margin: 0;
}

.directory-wishlist-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  margin: 30px 38px 38px;
  gap: 18px;
  border: 0;
}

.directory-wishlist-footer .directory-wishlist-text-action {
  font-size: 11px;
}

.directory-wishlist-footer .directory-wishlist-text-action:last-child {
  justify-self: end;
}

.directory-wishlist-footer[hidden] {
  display: none;
}

/* List your Space */
.list-space-page .list-space-focus-drawer {
  padding: 0 38px 44px;
}

.hds-public-page.list-space-page .list-space-hero {
  display: block;
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 72px 0 66px;
  border: 0;
  background: transparent;
  text-align: center;
}

.hds-public-page.list-space-page .list-space-hero > div {
  display: block;
}

.list-space-page .list-space-kicker {
  margin: 0 0 24px;
  color: var(--hds-focus-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .15em;
  text-align: center;
  text-transform: uppercase;
}

.hds-public-page.list-space-page .list-space-hero h1 {
  max-width: none;
  margin: 0;
  font-size: 44px;
  font-weight: 390;
  letter-spacing: -.045em;
  line-height: 1;
  text-align: center;
}

.list-space-page .list-space-workflow {
  padding: 0;
}

.list-space-page .list-space-workflow > header {
  display: none;
}

.list-space-page .list-space-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 0;
  border-top: 1px solid var(--hds-focus-line);
  border-bottom: 1px solid var(--hds-focus-line);
}

.list-space-page .list-space-method {
  position: relative;
  display: grid;
  min-height: 112px;
  padding: 24px 20px 24px 64px;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--hds-focus-ink);
  text-align: left;
}

.list-space-page .list-space-method + .list-space-method {
  border-top: 1px solid var(--hds-focus-line);
}

.list-space-page .list-space-method::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border: 1px solid #817d75;
  border-radius: 50%;
  transform: translateY(-50%);
}

.list-space-page .list-space-method strong {
  grid-row: 1;
  align-self: auto;
  font-size: 19px;
  font-weight: 430;
  letter-spacing: -.01em;
}

.list-space-page .list-space-method small {
  display: block;
  grid-row: 2;
  color: var(--hds-focus-muted);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.list-space-page .list-space-method.is-active,
.list-space-page .list-space-method:hover,
.list-space-page .list-space-method:focus-visible {
  background: #f5f4f1;
  color: var(--hds-focus-ink);
}

.list-space-page .list-space-method.is-active::before {
  border-color: var(--hds-focus-ink);
  box-shadow: inset 0 0 0 4px var(--hds-focus-bg), inset 0 0 0 8px var(--hds-focus-ink);
}

.list-space-page .list-space-form {
  margin-top: 28px;
  scroll-margin-top: 24px;
}

.list-space-page .list-space-panel {
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 30px 0;
  border-top: 0;
}

.list-space-page .list-space-panel-heading h2 {
  max-width: 15ch;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.06;
}

.list-space-page .list-space-field input,
.list-space-page .list-space-field select,
.list-space-page .list-space-field textarea {
  box-sizing: border-box;
  min-height: 52px;
  padding: 13px 15px;
  border: 0;
  background: #f5f4f1;
}

.list-space-page .list-space-field textarea {
  min-height: 104px;
}

.list-space-page .list-space-field input:focus,
.list-space-page .list-space-field select:focus,
.list-space-page .list-space-field textarea:focus {
  border: 0;
  box-shadow: inset 0 0 0 1px var(--hds-focus-ink);
}

.list-space-page .list-space-uses label span {
  border: 0;
  background: #f5f4f1;
}

@media (hover: hover) {
  .directory-wishlist-text-action:hover,
  .hds-public-page .directory-wishlist-item__actions .shortlist-remove:hover {
    background-size: 100% 100%;
  }
}

@media (max-width: 640px) {
  .directory-wishlist-drawer .hds-focus-topbar,
  .list-space-page .list-space-focus-drawer > .hds-focus-topbar {
    min-height: 70px;
    margin-inline: 20px;
  }

  .directory-wishlist-drawer .hds-focus-close-icon,
  .list-space-page .hds-focus-close > span {
    font-size: 34px;
  }

  .directory-wishlist-drawer .hds-focus-close-label,
  .list-space-page .hds-focus-close {
    font-size: 14px;
  }

  .directory-wishlist-intro {
    padding: 52px 20px 46px;
  }

  .directory-wishlist-intro h2 {
    font-size: 38px;
  }

  .directory-wishlist-intro > div {
    margin-top: 22px;
    font-size: 15px;
  }

  .directory-wishlist-heading {
    padding: 20px 20px 14px;
  }

  .directory-wishlist-list {
    margin-inline: 20px;
  }

  .directory-wishlist-empty {
    padding-top: 44px;
  }

  .directory-wishlist-item {
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 164px;
    padding-block: 20px;
  }

  .directory-wishlist-item__media {
    min-height: 164px;
  }

  .directory-wishlist-item__body {
    padding: 8px 0 8px 17px;
  }

  .directory-wishlist-item__ref {
    font-size: 10px;
  }

  .directory-wishlist-item h3 {
    margin-top: 9px;
    font-size: 20px;
  }

  .directory-wishlist-item p {
    font-size: 13px;
  }

  .directory-wishlist-item__meta {
    display: none;
  }

  .directory-wishlist-item__actions {
    margin-top: 10px;
    gap: 4px;
  }

  .directory-wishlist-item__actions .directory-wishlist-text-action,
  .hds-public-page .directory-wishlist-item__actions .shortlist-remove {
    padding-inline: 5px;
    font-size: 9px;
  }

  .directory-wishlist-footer {
    margin: 24px 20px 32px;
    gap: 8px;
  }

  .directory-wishlist-footer .directory-wishlist-text-action {
    padding-inline: 4px;
    font-size: 9px;
    letter-spacing: .09em;
  }

  .list-space-page .list-space-focus-drawer {
    padding: 0 20px 36px;
  }

  .hds-public-page.list-space-page .list-space-hero {
    padding: 52px 0 46px;
  }

  .hds-public-page.list-space-page .list-space-hero h1 {
    font-size: 38px;
  }

  .list-space-page .list-space-kicker {
    margin-bottom: 20px;
  }

  .list-space-page .list-space-method {
    min-height: 102px;
    padding: 22px 14px 22px 54px;
  }

  .list-space-page .list-space-method::before {
    left: 14px;
  }

  .list-space-page .list-space-method strong {
    font-size: 18px;
  }

  .list-space-page .list-space-method small {
    font-size: 14px;
  }

  .list-space-page .list-space-fields {
    grid-template-columns: 1fr;
  }

  .list-space-page .list-space-field-wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .directory-wishlist-text-action,
  .hds-public-page .directory-wishlist-item__actions .shortlist-remove {
    transition: none;
  }
}
