/* Admin: Sightline and Mission Control in the app's colours and type. */

/* The admin area (Sightline) in the app's colours and type. */
.sl {
  /* The gold marks the nav, tabs and bars; where the accent is text, or sits
     behind white text, it is a deeper copper so both reach 4.5:1 on the
     cream page. */
  --sl-accent: var(--gold);
  --sl-accent-text: #8f5835;
  --sl-series-1: var(--gold);
  --sl-font: var(--sans);
  --sl-font-heading: var(--serif);
}
.sl .button_to {
  display: inline;
}
.admin-action {
  margin: 0 6px 6px 0;
  padding: 5px 10px;
  font-size: 11px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
}
.admin-action:hover {
  border-color: var(--gold);
}
@media (min-width: 701px) {
  .sl-table:has(.admin-action) td {
    overflow-wrap: normal;
  }
  .sl-table:has(.admin-action) td:nth-child(-n + 3) {
    white-space: nowrap;
  }
  .sl-table:has(.admin-action) td:nth-child(5),
  .sl-table:has(.admin-action) td:nth-child(6) {
    overflow-wrap: anywhere;
  }
  .sl-table:has(.admin-action) td:nth-child(5) {
    min-width: 15em;
  }
  .sl-table:has(.admin-action) td:nth-child(6) {
    min-width: 14em;
  }
  .sl-table:has(.admin-action) td:last-child {
    width: 1%;
  }
  .sl-table .admin-action {
    white-space: nowrap;
  }
}
@media (min-width: 1200px) {
  .sl-table:has(.admin-action) td:last-child {
    white-space: nowrap;
  }
}
@media (max-width: 700px) {
  .sl .sl-nav {
    flex-wrap: wrap;
    gap: 0;
  }
  .sl .sl-nav-link {
    padding: 10px 9px;
  }
}
