#ds-residence-open {
  margin: 0 0 .8rem;
  padding: .45rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}
#ds-residence {
  box-sizing: border-box;
  width: min(30rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: clamp(1.25rem, 5vw, 2rem);
  border: 1px solid #b99c70;
  background: #fffdf9;
  color: #292820;
  box-shadow: 0 16px 60px rgb(0 0 0 / 24%);
}
#ds-residence::backdrop { background: rgb(36 30 21 / 52%); }
#ds-residence h2 {
  font: 500 clamp(1.45rem, 5vw, 2rem)/1.2 "Playfair Display", Georgia, serif;
  margin: 0 0 .7rem;
}
#ds-residence p { margin: 0 0 1.2rem; }
#ds-residence label { display: block; font-weight: 600; margin-bottom: .4rem; }
#ds-residence input, #ds-residence select {
  width: 100%;
  min-height: 44px;
  padding: .55rem .7rem;
  color: inherit;
  background: #fff;
  border: 1px solid #91754b;
  font: inherit;
}
#ds-residence input { margin-bottom: .7rem; }
#ds-residence-list {
  list-style: none;
  margin: -.4rem 0 .7rem;
  padding: 0;
  max-height: 14rem;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #91754b;
}
#ds-residence-list li { padding: .6rem .7rem; cursor: pointer; }
#ds-residence-list li:hover, #ds-residence-list li[aria-selected="true"] { background: #efe6d6; }
#ds-residence-list li.ds-empty { cursor: default; color: #684c27; }
#ds-local-estimate-note { font-size: .9rem; }
#choose-service [hidden] { display: none !important; }
[data-country-for-price] {
  align-self: flex-start;
  min-height: 44px;
  margin: 0 0 .75rem;
  padding: .3rem 0;
  border: 0;
  background: transparent;
  color: #684c27;
  font: inherit;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
[data-country-for-price]:focus-visible { outline: 2px solid #795e39; outline-offset: 3px; }
.ds-residence-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.1rem; }
.ds-residence-actions button {
  min-height: 44px;
  padding: .55rem .8rem;
  border: 1px solid #292820;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.ds-residence-apply { color: #fff; background: #292820; }
.ds-residence-dismiss { color: #292820; background: transparent; }
#ds-residence :focus-visible, #ds-residence-open:focus-visible {
  outline: 2px solid #795e39;
  outline-offset: 3px;
}
