:root {
  --editor-height: 0px;
}
.editor-banner {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 24px;
  background: #fff2b3;
  color: #39331d;
  font-size: 12px;
  box-shadow: 0 1px 0 #ded29e;
}
.editor-banner nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.editor-banner form {
  margin: 0;
}
.editor-banner button {
  border: 0;
  padding: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.is-editor {
  padding-top: var(--editor-height);
}
.is-editor .site-header {
  top: var(--editor-height);
  height: calc(100svh - var(--editor-height));
}
.editor-entry {
  font-size: 11px;
  margin-top: 16px;
  text-decoration: underline;
}
.editor-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  font-size: 12px;
}
.editor-tools span {
  color: #75683b;
}
.art-card {
  position: relative;
}
.sort-handle {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d1c48b;
  background: #fff4c9;
  color: #544822;
  font-size: 24px;
  cursor: grab;
  touch-action: none;
  border-radius: 3px;
}
.sort-handle:hover {
  background: #ffe896;
}
.sort-handle:active {
  cursor: grabbing;
}
.is-dragging {
  opacity: 0.5;
  outline: 2px dashed #ad8b20;
}
.editor-dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: 90svh;
  padding: 28px;
  border: 1px solid #ddd;
  background: white;
}
.editor-dialog::backdrop {
  background: #0006;
}
.editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.editor-heading button {
  border: 0;
  background: none;
  font-size: 28px;
}
.editor-panel {
  max-width: 760px;
}
.studio-form {
  display: grid;
  gap: 22px;
}
.studio-field {
  display: grid;
  gap: 8px;
}
.studio-form label {
  font-size: 12px;
}
.studio-form input:not([type="checkbox"]):not([type="hidden"]),
.studio-form textarea,
.studio-form select {
  width: 100%;
  padding: 10px;
  border: 1px solid #bbb;
  font: inherit;
  background: white;
}
.studio-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
}
.studio-form .fine-print {
  margin: 0;
}
.studio-form .errorlist {
  color: #a32121;
  font-size: 13px;
  list-style: none;
  padding: 0;
}
.editor-save {
  position: sticky;
  bottom: -28px;
  background: white;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #eee;
}
.editor-save span {
  font-size: 11px;
  color: #777;
}
.photo-editor {
  margin-top: 36px;
  border-top: 1px solid #ded5b2;
  padding-top: 18px;
}
.photo-editor > summary {
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 20px;
}
.photo-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 18px;
  margin: 20px 0;
}
.photo-edit-grid article {
  position: relative;
  border: 1px solid #eee;
  padding: 8px;
}
.photo-edit-grid img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
}
.photo-edit-actions form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.photo-edit-grid button:not(.sort-handle) {
  font-size: 11px;
  border: 0;
  background: #f5f3e8;
  padding: 7px;
}
.photo-archive {
  margin-top: 24px;
}
.photo-archive > summary {
  font-size: 12px;
  color: #777;
}
.enquiry-row {
  border-top: 1px solid #ddd;
  padding: 24px 0;
}
.enquiry-row p {
  margin: 10px 0;
}
.enquiry-row form {
  display: flex;
  gap: 16px;
}
.enquiry-row h2 {
  font-size: 16px;
}
#editor-status {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  background: #fff2b3;
  box-shadow: 0 2px 20px #0002;
  padding: 10px 20px;
  font-size: 12px;
}
#editor-status:empty {
  display: none;
}
#editor-status.error {
  background: #ffe0d5;
}
.login-page {
  max-width: 420px;
}
.login-page > p {
  margin: 24px 0;
}
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}
.contact-buttons .button {
  min-width: 120px;
  flex: 1;
  text-align: center;
}
.contact-page .contact-buttons {
  max-width: 600px;
}
.tryon-cta {
  display: flex;
  margin: 28px 0 0;
  justify-content: center;
  min-height: 48px;
}
.detail-info .detail-price {
  margin-top: 28px;
}
.enquiry-disclosure {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
}
.enquiry-disclosure > summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  list-style: none;
}
.enquiry-disclosure[open] > summary span {
  transform: rotate(45deg);
}
.enquiry-disclosure .enquiry-panel {
  border: 0;
  margin-top: 20px;
  padding-top: 0;
}
.enquiry-disclosure h2 {
  display: none;
}
@media (max-width: 760px) {
  .editor-banner {
    padding: 9px 16px;
    flex-wrap: wrap;
    font-size: 11px;
  }
  .editor-banner nav {
    gap: 16px;
  }
  .editor-banner strong {
    display: inline;
  }
  .is-editor .site-header {
    height: auto;
    top: auto;
  }
  .editor-dialog {
    padding: 18px;
  }
  .editor-save {
    bottom: -18px;
  }
  .editor-tools {
    margin-top: 16px;
  }
  .photo-edit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.member-picker .member-card {
  display: flex;
  position: relative;
  cursor: pointer;
}
.member-card.is-selected {
  outline: 2px solid #c7a338;
  background: #fffdf3;
}
.member-card:focus-within {
  outline: 2px solid #333;
}
.member-card .member-check {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 20px;
  height: 20px;
  accent-color: #222;
}
.member-card[hidden] {
  display: none;
}
.member-no-photo {
  height: 210px;
  display: grid;
  place-items: center;
  background: #f5f5f5;
}
.selected-work-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.selected-work-thumbs img {
  width: 65px;
  height: 75px;
  object-fit: contain;
}
.members-footer {
  position: sticky;
  bottom: -26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 16px 0;
  border-top: 1px solid #ddd;
  margin-top: 20px;
}
.collection-picker-dialog .picker-heading h2 {
  font-size: 20px;
  font-weight: 400;
}
.collection-picker-dialog .picker-card {
  margin: 0;
}
@media (max-width: 600px) {
  .members-footer {
    bottom: -16px;
  }
  .collection-picker-dialog .picker-filters select {
    width: 100%;
  }
}
