body.admin-mode {
  background: #f5f7f1;
}
.admin-mode > header,
.admin-mode > main,
.admin-mode > footer,
.admin-mode > #detail {
  display: none;
}
#admin-root {
  display: grid;
  grid-template-columns: 235px 1fr;
  min-height: 100vh;
  color: #294234;
  font:
    14px "DM Sans",
    sans-serif;
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 35px 22px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid #e1e7dc;
}
.admin-sidebar > img {
  width: 180px;
  margin-bottom: 26px;
}
.admin-workspace {
  font-size: 8px;
  color: #89947e;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
}
.admin-sidebar > a,
.admin-nav {
  display: flex;
  gap: 12px;
  padding: 14px;
  font-size: 13px;
  border: 0;
  border-radius: 7px;
  margin: 0 0 8px;
  color: #5e7156;
  background: none;
}
.admin-nav.active {
  color: #315f47;
  background: #e9f0e0;
  font-weight: 600;
  text-align: left;
}
.admin-sidebar-bottom {
  margin-top: auto;
  color: #809075;
  font-size: 11px;
  line-height: 1.7;
  padding: 15px 8px 0;
}
.admin-sidebar-bottom strong {
  color: #4c6a40;
  font-size: 12px;
}
.admin-main {
  padding: 46px 5%;
  max-width: 1500px;
  width: 100%;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
#admin-root h1 {
  font-size: 38px;
  font-weight: 550;
  letter-spacing: -1.5px;
  margin: 0 0 13px;
}
.admin-eyebrow {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #849475;
  margin: 0 0 15px;
}
.admin-top p:not(.admin-eyebrow) {
  color: #7f8c75;
  font-size: 13px;
  margin-bottom: 0;
}
#admin-root button,
#admin-root a,
#admin-root .admin-backup label {
  cursor: pointer;
}
#admin-root .admin-primary {
  background: #315f47;
  color: #fff;
  border: 0;
  padding: 14px 18px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
}
.admin-local-notice {
  margin: 28px 0;
  padding: 16px 20px;
  background: #edf2e3;
  border: 1px solid #dce5cd;
  border-radius: 9px;
  display: flex;
  gap: 13px;
  color: #6a7f5e;
}
.admin-local-notice > span {
  color: #789552;
  padding-top: 3px;
}
.admin-local-notice p {
  margin: 0;
  font-size: 11px;
  line-height: 1.8;
}
.admin-local-notice strong {
  color: #48653d;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 30px;
}
.admin-stat {
  padding: 20px 23px;
  border: 1px solid #e1e7d9;
  border-radius: 10px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.admin-stat span {
  font-size: 12px;
  color: #7c8a70;
}
.admin-stat strong {
  font-size: 29px;
  font-weight: 500;
}
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.admin-filters {
  display: flex;
  gap: 5px;
}
.admin-filters button {
  border: 0;
  padding: 10px 13px;
  background: none;
  color: #829175;
  border-radius: 6px;
  font-size: 12px;
}
.admin-filters button.active {
  color: #315f47;
  background: #e3ecda;
}
#admin-search {
  max-width: 280px;
  width: 100%;
  margin: 0;
  background: #fff;
  padding: 11px 13px;
  font-size: 12px;
}
.admin-listing {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr) 130px;
  gap: 20px;
  background: #fff;
  border: 1px solid #dfe6d7;
  border-radius: 12px;
  padding: 17px;
  margin-bottom: 15px;
  align-items: center;
}
.admin-listing > img {
  width: 135px;
  height: 105px;
  object-fit: cover;
  border-radius: 8px;
}
.admin-listing-info h3 {
  font-size: 17px;
  font-weight: 550;
  margin: 10px 0 6px;
  line-height: 1.4;
}
.admin-listing-info p {
  font-size: 11px;
  color: #849278;
  line-height: 1.7;
  margin: 0;
}
.admin-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.badge {
  font-size: 9px;
  border-radius: 4px;
  padding: 4px 7px;
  background: #f0f3eb;
  color: #78866c;
}
.badge.published,
.badge.state-available {
  background: #e9f2df;
  color: #5d7d3e;
}
.badge.draft {
  background: #f7f0df;
  color: #9a8043;
}
.badge.state-rented {
  background: #f0e9e2;
  color: #92755a;
}
.admin-listing-meta {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.admin-listing-meta strong {
  font-size: 13px;
  font-weight: 600;
}
.admin-listing-meta span {
  font-size: 11px;
  color: #89957d;
}
.admin-row-actions {
  grid-column: 2/-1;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #edf0e8;
  padding-top: 12px;
}
.admin-row-actions button,
.admin-row-actions a {
  border: 1px solid #dce4d3;
  padding: 8px 13px;
  border-radius: 5px;
  background: #fff;
  color: #496b38;
  font-size: 11px;
}
.admin-row-actions .quiet {
  margin-left: auto;
  border-color: transparent;
  color: #92a085;
}
.admin-backup {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}
.admin-backup button,
.admin-backup label {
  padding: 0;
  background: none;
  border: 0;
  font-size: 11px;
  color: #6f865e;
}
#admin-status {
  color: #4b753b;
  font-size: 12px;
  margin-top: 20px;
}
.admin-empty {
  padding: 60px 25px;
  text-align: center;
  background: #fff;
  border: 1px dashed #ccd8bf;
  border-radius: 12px;
  color: #849676;
  font-size: 13px;
}
#admin-editor {
  width: 880px;
  max-width: calc(100vw - 30px);
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: 15px;
  color: #31523b;
}
#admin-editor::backdrop {
  background: #152e2377;
  backdrop-filter: blur(3px);
}
#admin-form {
  padding: 0;
  background: #fff;
}
.editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e6ecde;
  padding: 25px 30px;
  background: #fafcf6;
}
.editor-heading h2 {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.8px;
}
.editor-heading .admin-eyebrow {
  margin-bottom: 10px;
}
#editor-close {
  border: 0;
  background: #edf2e5;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 24px;
  color: #54783f;
}
.editor-body {
  padding: 28px 30px;
}
.admin-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
#admin-form label {
  font-size: 11px;
  color: #6c805d;
  font-weight: 500;
}
#admin-form input,
#admin-form textarea,
#admin-form select {
  background: #fbfcf8;
  font-size: 13px;
  border-color: #dfe6d6;
  padding: 12px;
  margin-top: 8px;
  margin-bottom: 19px;
}
.editor-section {
  border-top: 1px solid #e5ebde;
  padding-top: 25px;
  margin-top: 15px;
}
.editor-section h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 9px;
}
.editor-section p {
  font-size: 11px;
  color: #8a997d;
  line-height: 1.7;
  margin-bottom: 17px;
}
#admin-form .photo-upload {
  display: inline-block;
  border: 1px dashed #b8c9a3;
  background: #f4f8ed;
  border-radius: 7px;
  color: #65864a;
  padding: 18px 23px;
  cursor: pointer;
}
#admin-form input[hidden] {
  display: none;
}
#admin-photo-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.admin-photo {
  position: relative;
  border-radius: 7px;
  overflow: hidden;
}
.admin-photo > img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}
.photo-cover {
  position: absolute;
  top: 7px;
  left: 7px;
  background: #f9fff2e8;
  color: #53763c;
  font-size: 8px;
  padding: 4px 6px;
  border-radius: 3px;
}
.photo-actions {
  position: absolute;
  bottom: 7px;
  right: 7px;
  display: flex;
  gap: 4px;
}
.photo-actions button {
  border: 0;
  width: 27px;
  height: 27px;
  border-radius: 4px;
  background: #fff;
  color: #52773c;
}
.photo-actions button:disabled {
  opacity: 0.4;
}
#admin-form .inline-check {
  display: flex;
  align-items: center;
  gap: 9px;
}
#admin-form .inline-check input {
  margin: 0;
  width: 15px;
  height: 15px;
  accent-color: #315f47;
}
.editor-language-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 13px;
}
.editor-language-heading h3 {
  margin: 0;
}
.editor-languages {
  display: flex;
  gap: 4px;
}
.editor-languages button {
  border: 0;
  padding: 8px 13px;
  background: #f0f4e9;
  color: #8b9c7b;
  border-radius: 5px;
  font-size: 10px;
}
.editor-languages button.active {
  background: #315f47;
  color: #fff;
}
.editor-footer {
  position: sticky;
  bottom: 0;
  background: #fafcf8f5;
  border-top: 1px solid #dfe7d6;
  padding: 19px 30px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  backdrop-filter: blur(5px);
}
.editor-footer > div {
  display: flex;
  gap: 10px;
}
.editor-footer button {
  border: 1px solid #cedbc0;
  padding: 12px 15px;
  border-radius: 6px;
  color: #6b8755;
  background: #fff;
  font-size: 11px;
}
#editor-status {
  color: #96723e;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 1000px) {
  #admin-root {
    grid-template-columns: 190px 1fr;
  }
  .admin-sidebar {
    padding: 28px 17px;
  }
  .admin-sidebar > img {
    width: 150px;
  }
  .admin-main {
    padding: 35px 4%;
  }
  .admin-listing {
    grid-template-columns: 100px 1fr;
    gap: 15px;
  }
  .admin-listing > img {
    width: 100px;
    height: 90px;
  }
  .admin-listing-meta {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .admin-top {
    align-items: flex-start;
  }
  #admin-root h1 {
    font-size: 32px;
  }
  .admin-stat {
    padding: 18px 15px;
  }
  .admin-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  #admin-search {
    max-width: none;
  }
}
@media (max-width: 650px) {
  #admin-root {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 5%;
  }
  .admin-sidebar > img {
    width: 130px;
    margin: 0;
  }
  .admin-workspace,
  .admin-sidebar-bottom,
  .admin-nav {
    display: none;
  }
  .admin-sidebar > a {
    margin: 0;
    font-size: 11px;
    padding: 8px;
  }
  .admin-main {
    padding: 25px 5%;
  }
  .admin-top {
    flex-direction: column;
    gap: 20px;
  }
  .admin-stats {
    gap: 8px;
  }
  .admin-stat {
    padding: 15px 10px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .admin-stat span {
    font-size: 10px;
  }
  .admin-stat strong {
    font-size: 25px;
  }
  .admin-listing-info h3 {
    font-size: 15px;
  }
  .admin-listing {
    grid-template-columns: 85px 1fr;
    gap: 12px;
    padding: 13px;
  }
  .admin-listing > img {
    width: 85px;
    height: 85px;
  }
  .admin-row-actions {
    grid-column: 1/-1;
  }
  .admin-filters button {
    font-size: 11px;
    padding: 9px;
  }
  .admin-fields {
    grid-template-columns: 1fr;
  }
  .editor-body {
    padding: 22px;
  }
  .editor-heading {
    padding: 22px;
  }
  .editor-footer {
    padding: 15px;
    flex-direction: column;
  }
  .editor-footer > div {
    justify-content: space-between;
  }
  .editor-footer button {
    font-size: 10px;
    padding: 10px;
  }
  #admin-photo-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .admin-photo > img {
    height: 85px;
  }
}
.local-preview-banner {
  background: #f1e8c9;
  color: #75613c;
  padding: 12px 5%;
  font-size: 12px;
  text-align: center;
}
.admin-entry {
  color: #768c65;
}
/* Consistent select geometry across Safari, Chromium and mobile browsers. */
#admin-form select {
  -webkit-appearance: none;
  appearance: none;
  height: 48px;
  padding: 0 52px 0 15px;
  border: 1px solid #d9e2d4;
  border-radius: 10px;
  background-color: #f8faf5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m6 8 4 4 4-4' stroke='%23577561' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 15px center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  line-height: normal;
  font-weight: 500;
  cursor: pointer;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background-color 0.18s;
}
#admin-form select:hover {
  border-color: #a9bd9e;
  background-color: #f3f7ee;
}
#admin-form select:focus-visible {
  outline: none;
  border-color: #527a5e;
  box-shadow: 0 0 0 3px #527a5e1c;
}
.admin-top {
  position: relative;
  padding-top: 44px;
  flex-wrap: wrap;
}
.admin-interface-languages {
  position: absolute;
  right: 0;
  top: -10px;
  display: flex;
  gap: 3px;
  padding: 4px;
  background: #e9eee3;
  border-radius: 9px;
}
.admin-interface-languages button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #7a8a6f;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 600;
}
.admin-interface-languages button[aria-pressed="true"] {
  background: #fff;
  color: #315f47;
  box-shadow: 0 1px 4px #25402e12;
}
.admin-sidebar > a,
.admin-nav {
  line-height: 1.5;
}
.editor-footer button {
  white-space: normal;
}
#admin-root input[hidden] {
  display: none;
}
/* Keep the editor inside Safari's visible viewport, with only its body scrolling. */
#admin-editor {
  position: fixed;
  inset: 0;
  margin: auto;
  overflow: hidden;
  width: 880px;
  max-width: calc(100% - 24px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  border-radius: 16px;
  box-sizing: border-box;
}
#admin-editor[open] {
  display: flex;
  flex-direction: column;
}
#admin-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  max-height: inherit;
  overflow: hidden;
}
#admin-form .editor-heading {
  flex-shrink: 0;
  gap: 16px;
}
#admin-form .editor-heading > div {
  min-width: 0;
}
#admin-form .editor-heading h2 {
  line-height: 1.2;
  margin: 0;
  overflow-wrap: anywhere;
}
#admin-form .editor-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  flex: 1 1 auto;
}
#admin-form .editor-footer {
  position: static;
  flex-shrink: 0;
}
#admin-editor:focus,
#editor-close:focus {
  outline: none;
}
#editor-close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
#editor-close:focus-visible {
  outline: 2px solid #527a5e;
  outline-offset: 3px;
}
body:has(#admin-editor[open]) {
  overflow: hidden;
}
@media (max-width: 650px) {
  #admin-editor {
    max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  }
  #admin-form .editor-heading {
    padding: 18px 20px;
  }
  #admin-form .editor-heading h2 {
    font-size: 22px;
    letter-spacing: -0.5px;
  }
  #admin-form .editor-body {
    padding: 20px;
  }
  #admin-form .editor-footer {
    padding: 12px;
    gap: 8px;
  }
  #admin-form .editor-footer > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  #admin-form .editor-footer button {
    min-height: 40px;
    padding: 9px 10px;
    line-height: 1.4;
    white-space: normal;
    font-size: 11px;
  }
  #admin-form input:not([type="checkbox"]):not([type="file"]),
  #admin-form textarea,
  #admin-form select {
    font-size: 16px;
  }
}
.admin-contact-nav {
  padding: 13px 18px;
  border: 1px solid #d4dfca;
  border-radius: 8px;
  background: #fff;
  color: #315f47;
  font-size: 12px;
}
.admin-contact-panel {
  margin-top: 36px;
  padding: 28px;
  background: #fff;
  border: 1px solid #dfe6d7;
  border-radius: 14px;
  scroll-margin-top: 25px;
}
.admin-contact-panel h2 {
  font-size: 25px;
  font-weight: 500;
  margin: 0 0 12px;
}
.admin-contact-panel > p {
  color: #7b8b70;
  font-size: 13px;
  line-height: 1.7;
}
.admin-contact-panel form {
  padding: 0;
  max-width: 650px;
}
.admin-contact-panel label {
  color: #6b805c;
  font-size: 12px;
}
.admin-contact-panel input {
  font-size: 16px;
  background: #fafcf6;
}
#contact-save-status {
  color: #527a3e;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 15px;
}
@media (max-width: 650px) {
  .admin-contact-panel {
    padding: 22px;
  }
  .admin-top {
    gap: 14px;
  }
}
.admin-sidebar .admin-contact-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  margin: 0 0 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #5e7156;
  font-size: 13px;
  text-align: left;
  line-height: 1.5;
}
.admin-sidebar .admin-contact-nav::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='1.6'/%3E%3Ccircle cx='8' cy='10' r='2' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M5 16c0-3 6-3 6 0m3-6h4m-4 4h4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.admin-sidebar .admin-contact-nav:hover {
  background: #edf2e5;
  color: #315f47;
}
@media (max-width: 650px) {
  .admin-sidebar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .admin-sidebar .admin-contact-nav {
    width: auto;
    margin: 0;
    padding: 8px;
    font-size: 11px;
  }
  .admin-sidebar > a {
    margin-left: auto;
  }
}
.content-languages {
  margin: 16px 0;
}
.content-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.content-actions a {
  font-size: 12px;
  color: #547a43;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#site-content-form textarea {
  font-size: 16px;
  line-height: 1.7;
}
#site-content-form select {
  font-size: 16px;
}
#site-content-form [role="status"] {
  font-size: 12px;
  color: #527a3e;
  margin-top: 16px;
}
.site-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.site-media-card {
  padding: 14px;
  border: 1px solid #e0e7d9;
  border-radius: 12px;
  min-width: 0;
}
.site-media-card > img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}
.site-media-card h3 {
  font-size: 14px;
  margin: 16px 0;
  line-height: 1.5;
}
.site-media-card .media-upload,
.media-reset {
  display: block;
  cursor: pointer;
  padding: 10px 12px;
  border: 1px solid #d5dfcb;
  border-radius: 6px;
  background: #f5f8ef;
  color: #52743d;
  font-size: 11px;
  margin: 8px 0;
  text-align: center;
  width: 100%;
}
.enquiry-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.enquiry-toolbar select {
  width: 160px;
}
.enquiry-toolbar input {
  flex: 1;
  min-width: 180px;
}
.enquiry-export {
  padding: 12px;
  border: 1px solid #d5dfcb;
  border-radius: 6px;
  background: white;
  color: #52743d;
}
.enquiry-add {
  border: 1px dashed #cbd9bd;
  border-radius: 9px;
  padding: 16px;
  margin-bottom: 20px;
}
.enquiry-add summary {
  cursor: pointer;
  color: #52743d;
}
.enquiry-add form {
  padding-top: 20px;
}
.enquiry-card {
  border: 1px solid #dfe7d7;
  border-radius: 10px;
  padding: 18px;
  margin-top: 12px;
}
.enquiry-card > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.enquiry-card time {
  margin-left: auto;
  font-size: 11px;
  color: #86947a;
}
.enquiry-card h3 {
  font-size: 16px;
  margin: 20px 0 10px;
}
.enquiry-message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.8;
}
.enquiry-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 16px 0;
}
.enquiry-contact a {
  font-size: 12px;
  color: #52743d;
}
.enquiry-card form {
  border-top: 1px solid #e3e9dc;
  padding-top: 18px;
}
.enquiry-status {
  font-size: 12px;
  color: #52743d;
}
@media (max-width: 700px) {
  .site-media-grid {
    grid-template-columns: 1fr;
  }
  .site-media-card > img {
    height: 180px;
  }
  .admin-sidebar {
    flex-wrap: wrap;
  }
  .enquiry-card > summary {
    flex-wrap: wrap;
  }
  .enquiry-toolbar select {
    width: 100%;
  }
  .enquiry-toolbar input {
    width: 100%;
  }
}
/* A single aligned control row for the enquiry list. */
#admin-requests .enquiry-toolbar {
  display: grid;
  grid-template-columns: 165px minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  margin: 20px 0;
}
#admin-requests .enquiry-toolbar select,
#admin-requests .enquiry-toolbar input,
#admin-requests .enquiry-toolbar button {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  min-height: 46px;
  margin: 0;
  border: 1px solid #d9e2d3;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
}
#admin-requests .enquiry-toolbar input {
  min-width: 0;
  padding: 0 15px;
  background: #fafcf7;
}
#admin-requests .enquiry-toolbar select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding: 0 44px 0 14px;
  color: #385a41;
  background: #fafcf7
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m6 8 4 4 4-4' stroke='%23577561' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  background-size: 20px;
}
#admin-requests .enquiry-toolbar button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  white-space: nowrap;
  background: #fff;
  color: #52743d;
}
#admin-requests .enquiry-toolbar button::before {
  content: "";
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v12m-4-4 4 4 4-4M5 16v4h14v-4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
#admin-requests .enquiry-toolbar select:focus-visible,
#admin-requests .enquiry-toolbar input:focus-visible,
#admin-requests .enquiry-toolbar button:focus-visible {
  outline: 2px solid #7c9c69;
  outline-offset: 2px;
}
@media (max-width: 850px) {
  #admin-requests .enquiry-toolbar {
    grid-template-columns: 145px minmax(0, 1fr);
  }
  #admin-requests .enquiry-toolbar button {
    grid-column: 1/-1;
    justify-self: start;
    width: auto;
  }
}
@media (max-width: 500px) {
  #admin-requests .enquiry-toolbar {
    grid-template-columns: 1fr;
  }
  #admin-requests .enquiry-toolbar button {
    width: 100%;
  }
}
body.server-login-mode > header,
body.server-login-mode > main:not(.server-login),
body.server-login-mode > footer {
  display: none;
}
.server-login {
  max-width: 420px;
  margin: 8vh auto;
  padding: 30px;
  background: #fff;
  border: 1px solid #dfe6d6;
  border-radius: 16px;
}
.server-login > img {
  display: block;
  width: 170px;
  margin: 0 0 30px;
}
.server-login h1 {
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 15px;
}
.server-login > p {
  font-size: 14px;
  color: #74846b;
}
.server-login form {
  padding: 0;
}
.server-login [role="status"],
.server-error {
  font-size: 14px;
  line-height: 1.7;
  color: #865c37;
}
.server-error {
  margin: 40px;
}
.server-controls {
  margin: 0 0 30px;
}
.server-controls h2 {
  font-size: 22px;
}
@media (max-width: 500px) {
  .server-login {
    margin: 5vh 16px;
    padding: 25px;
  }
}
.server-status-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.server-status-heading h2 {
  margin: 0;
}
.server-controls > p {
  max-width: 800px;
  margin-bottom: 0;
}
/* Sign-in and account screens replace the whole page, including the open admin panel. */
body.server-login-mode > *:not(.server-login) {
  display: none !important;
}
body.server-login-mode > main.server-login {
  display: block !important;
}

/* Buttons shared by the admin account screens and the server box: one accent, one 7px radius, one light theme. */
.pv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: #315f47;
  color: #fff;
  border: 1px solid #315f47;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.pv-btn:hover {
  background: #285a48;
  border-color: #285a48;
  transform: translateY(-1px);
}
.pv-btn:focus-visible,
.pv-link:focus-visible {
  outline: 2px solid #315f47;
  outline-offset: 3px;
}
.pv-btn:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}
.pv-btn.ghost {
  background: transparent;
  color: #315f47;
  border-color: #cbd9c1;
}
.pv-btn.ghost:hover {
  background: #e3ecd8;
  border-color: #b7c9ab;
}
.pv-link {
  display: block;
  margin-top: 18px;
  padding: 0;
  background: none;
  border: 0;
  color: #547a43;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.server-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.server-controls .server-actions {
  margin-top: 20px;
}
.server-login .server-actions .pv-btn[type="submit"] {
  flex: 1 1 auto;
}
.server-login .server-languages {
  position: static;
  width: max-content;
  margin: 0 0 24px;
}
.server-login .server-intro {
  margin: 0 0 24px;
  line-height: 1.6;
}
.server-login label {
  color: #6b805c;
  font-size: 12px;
}
.server-login input {
  padding: 13px 14px;
  font-size: 15px;
  border-radius: 7px;
  border-color: #dfe6d7;
  background: #fafcf6;
}
.server-login input:focus {
  outline: 0;
  border-color: #315f47;
  background: #fff;
}
.server-login [role="status"] {
  min-height: 1.7em;
  margin: 16px 0 0;
}
.server-login[dir="rtl"] {
  text-align: right;
}
.server-login[dir="rtl"] .server-languages {
  direction: ltr;
}
