/* admin-launcher.css — the ADMIN section of the app picker (shared).
   Rows follow the Unstuck Games picker: icon tile, title, purpose, outlined label.
   Heading in Caprasimo (selfActual display face). Everything is scoped to .sa-admin*. */
@import url('https://fonts.googleapis.com/css2?family=Caprasimo&family=Figtree:wght@400;600;700&display=swap');

.sa-admin {
  --sa-admin-bg: #ffffff;
  --sa-admin-ink: #2a2620;
  --sa-admin-muted: #6b6a64;
  --sa-admin-line: #ecebe6;
  --sa-admin-hover: #ffd23f;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--sa-admin-bg);
  color: var(--sa-admin-ink);
  border-radius: 10px;
  overflow: hidden;
}
.sa-admin-heading {
  font-family: "Caprasimo", Georgia, serif;
  font-size: 22px;
  letter-spacing: .04em;
  line-height: 1;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--sa-admin-line);
}
.sa-admin-list { display: flex; flex-direction: column; }
.sa-admin-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--sa-admin-line);
  color: inherit;
  text-decoration: none;
  transition: background-color .12s ease;
}
.sa-admin-row:last-child { border-bottom: 0; }
.sa-admin-row:hover, .sa-admin-row:focus-visible { background: var(--sa-admin-hover); text-decoration: none; outline: none; }
.sa-admin-tile {
  width: 34px; height: 34px; border-radius: 7px;
  display: grid; place-items: center;
  font-size: 17px; font-weight: 700; line-height: 1; color: #fff;
}
.sa-admin-text { display: flex; flex-direction: column; min-width: 0; }
.sa-admin-title { font-size: 17px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-admin-purpose { font-size: 14px; line-height: 1.3; color: var(--sa-admin-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-admin-launch {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  padding: 4px 9px; border: 1.5px solid currentColor; border-radius: 3px;
}

/* Tones: tile background + label colour. */
.sa-admin-tone-ink .sa-admin-tile { background: #101418; color: #67e8f9; }
.sa-admin-tone-ink .sa-admin-launch { color: #1d4ed8; }
.sa-admin-tone-teal .sa-admin-tile { background: #15645f; }
.sa-admin-tone-teal .sa-admin-launch { color: #15645f; }
.sa-admin-tone-blue .sa-admin-tile { background: #2563eb; }
.sa-admin-tone-blue .sa-admin-launch { color: #1d4ed8; }
.sa-admin-tone-rust .sa-admin-tile { background: #b95b44; }
.sa-admin-tone-rust .sa-admin-launch { color: #b95b44; }
.sa-admin-tone-amber .sa-admin-tile { background: #8a5a2b; }
.sa-admin-tone-amber .sa-admin-launch { color: #8a5a2b; }
.sa-admin-tone-moss .sa-admin-tile { background: #2e8a4a; }
.sa-admin-tone-moss .sa-admin-launch { color: #2e8a4a; }
.sa-admin-row:hover .sa-admin-launch { color: var(--sa-admin-ink); }

/* Dropdown mode (attach). */
.sa-admin-popover {
  position: fixed; z-index: 1000;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(22, 24, 29, .22), 0 1px 2px rgba(22, 24, 29, .12);
}
