#visitDock {
  position: absolute;
  z-index: 12;
  width: max-content;
  max-width: calc(100% - 8px);
  color: #213e2d;
}
#visitDock[hidden] {
  display: none;
}
.visit-pop {
  background: #fffaf0;
  border: 1px solid #9da990;
  border-radius: 15px;
  padding: 9px;
  box-shadow:
    0 5px 16px #172f2840,
    0 2px 3px #172f2825;
  position: relative;
}
.visit-pop:after {
  content: "";
  position: absolute;
  left: var(--tip-x);
  bottom: -6px;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: #fffaf0;
  border: solid #9da990;
  border-width: 0 1px 1px 0;
  pointer-events: none;
}
.opens-below .visit-pop:after {
  bottom: auto;
  top: -6px;
  transform: translateX(-50%) rotate(225deg);
}
.visit-pop h3 {
  font: 700 14px/1.2 var(--serif);
  margin: 0 3px 6px;
  color: #264836;
}
.visit-buttons {
  display: flex;
  gap: 5px;
}
.visit-buttons button,
.visit-pop > button,
.cleaning-wallet button {
  cursor: pointer;
  border: 1px solid #c7cfbb;
  border-radius: 10px;
  background: #f4f5e9;
  color: #244333;
  font: 650 13px/1.1 var(--sans);
}
.visit-buttons button {
  display: flex;
  align-items: center;
  gap: 3px;
  text-align: left;
  padding: 4px 8px 4px 4px;
  min-height: 39px;
}
.visit-buttons img {
  width: 26px;
  height: 26px;
}
.visit-buttons small {
  display: block;
  margin-top: 3px;
  font: 600 11px/1 var(--sans);
  color: #556749;
}
.visit-pop > button {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  margin-top: 5px;
  padding: 4px 7px;
}
.visit-buttons button:hover,
.visit-pop > button:hover,
.cleaning-wallet button:enabled:hover {
  background: #e2ecd9;
}
.cleaning-wallet {
  padding: 10px 0 0;
  margin-top: 10px;
  border-top: 1px solid #ffffff52;
  color: #fff;
}
.cleaning-wallet h3 {
  font: 700 14px var(--serif);
  margin: 0 0 5px;
}
.cleaning-wallet > div {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  text-align: left;
  font: 600 14px/1.3 var(--sans);
}
.cleaning-wallet small {
  display: block;
  color: #edf5ed;
  margin-top: 3px;
  font-weight: 500;
}
.cleaning-wallet button {
  margin-left: auto;
  padding: 7px;
  white-space: nowrap;
}
.cleaning-wallet button:disabled {
  background: #d2ded3;
  color: #304b39;
  opacity: 1;
  cursor: default;
}
.visit-sheet {
  display: grid;
  gap: 12px;
  text-align: start;
}
.visit-sheet:not(:first-child) {
  margin: 12px 0;
}
.visit-section,
.resident,
.cleaning-note {
  padding: 12px 14px;
  background: #f0f3e8;
  border-radius: 12px;
}
.visit-section h3 {
  margin: 0 0 6px;
  font: 700 18px/1.1 var(--serif);
}
.visit-section p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #506050;
}
.visit-choices,
.resident,
.cleaning-note {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.visit-section button {
  background: #fffdf4;
  color: #263f30;
  border: 1px solid #becbb9;
  border-radius: 9px;
  padding: 7px 10px;
  min-height: 36px;
  font: 650 14px/1.2 var(--sans);
}
.visit-section button:hover {
  background: #e7eddd;
}
.resident {
  flex-wrap: nowrap;
}
.resident small {
  display: block;
  color: #556453;
  font: 500 13px/1.45 var(--sans);
  margin-top: 4px;
}
.mess-portrait {
  object-fit: contain;
  flex: none;
}
.slippers-portrait {
  object-fit: contain;
  vertical-align: middle;
  flex: none;
}
.visit-pop > button .slippers-portrait {
  width: 24px;
  height: 24px;
}
