.owner-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: #292e26;
  color: #f4f0e8;
  box-shadow: 0 4px 25px #0004;
  border: 1px solid #7d806b;
  border-radius: 6px;
  font: 13px/1.5 system-ui;
  max-width: calc(100% - 24px);
  width: max-content;
}
.owner-bar button,
.owner-dialog button {
  font: inherit;
  border: 0;
  padding: 10px 15px;
  background: #f4f0e8;
  color: #292e26;
  cursor: pointer;
  border-radius: 3px;
}
.owner-bar a {
  color: #f4f0e8;
}
.owner-editing [data-edit] {
  outline: 1px dashed #a76732;
  outline-offset: 6px;
  cursor: pointer;
}
.owner-editing [data-edit]:hover,
.owner-editing [data-edit]:focus {
  outline: 2px solid #a76732;
  background: #a7673212;
}
.owner-dialog {
  width: min(660px, calc(100% - 24px));
  max-height: 85dvh;
  overflow: auto;
  padding: 28px;
  border: 1px solid #d6d4c9;
  border-radius: 8px;
  background: #f4f0e8;
  color: #292e26;
  font: 15px/1.6 system-ui;
}
.owner-dialog::backdrop {
  background: #18201888;
}
.owner-dialog h2 {
  font: 30px Georgia;
  margin: 0 0 12px;
}
.owner-dialog label {
  display: block;
  margin: 14px 0;
  font-weight: 600;
}
.owner-dialog select,
.owner-dialog textarea {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #aaa;
  background: white;
  color: #292e26;
  font: 16px/1.5 system-ui;
  box-sizing: border-box;
}
.owner-dialog textarea {
  resize: vertical;
}
.owner-dialog button {
  background: #292e26;
  color: #fff;
}
.owner-dialog button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.owner-dialog .owner-close {
  float: right;
  margin-left: 20px;
}
.owner-dialog .owner-close button {
  background: none;
  color: #292e26;
}
.owner-dialog a {
  display: inline-block;
  text-decoration: underline;
  margin: 16px 16px 16px 0;
}
.owner-dialog details {
  border-top: 1px solid #d6d4c9;
  padding: 12px 0;
}
.owner-dialog details p {
  white-space: pre-wrap;
}
.owner-dialog summary {
  cursor: pointer;
  font-weight: 600;
}
.owner-dialog [hidden] {
  display: none;
}
.owner-dialog :focus-visible,
.owner-bar :focus-visible {
  outline: 2px solid #a76732;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .owner-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 8px;
  }
  .owner-bar > span {
    display: none;
  }
  .owner-bar button {
    padding: 8px 10px;
  }
  .owner-dialog {
    padding: 20px;
  }
}
