/* The site-wide search panel (static/search.js). Used on the directory's pages and, through
   Ghost's code injection, on Ghost's, so it carries its own colors and fonts instead of
   either site's variables. Class names start with gfs- to stay clear of the Ghost theme's. */
.gfs-dialog {
  --gfs-bg: #faf6e9; --gfs-surface: #fffdf7; --gfs-text: #15171a; --gfs-muted: #6b6358;
  --gfs-border: #e6dfcc; --gfs-link: #c4004c; --gfs-tint: #fde8ef; --gfs-good-bg: #e6f2e7; --gfs-good: #1f6b43;
  width: min(640px, calc(100% - 32px)); max-height: min(80vh, 680px); margin: 10vh auto 0; padding: 0;
  border: 1px solid var(--gfs-border); border-radius: 10px; background: var(--gfs-surface); color: var(--gfs-text);
  box-shadow: 0 20px 60px rgba(21, 23, 26, 0.18);
  font: 19px/1.45 "EB Garamond", Georgia, "Times New Roman", serif; text-align: left;
}
.gfs-dialog[open] { display: flex; flex-direction: column; }
.gfs-dialog::backdrop { background: rgba(21, 23, 26, 0.35); }
.gfs-box { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px;
  border-bottom: 1px solid var(--gfs-border); }
.gfs-box svg { width: 22px; height: 22px; flex: none; color: var(--gfs-muted); }
.gfs-box input { flex: 1; min-width: 0; margin: 0; padding: 6px 0; font: inherit; font-size: 20px; color: var(--gfs-text);
  background: none; border: 0; outline: 0; box-shadow: none; }
.gfs-close { font: 13px/1 system-ui, sans-serif; color: var(--gfs-muted); padding: 6px 8px; cursor: pointer;
  background: var(--gfs-bg); border: 1px solid var(--gfs-border); border-radius: 6px; }
.gfs-status { margin: 10px 18px 0; font-size: 15px; color: var(--gfs-muted); }
.gfs-status:empty { display: none; }
.gfs-results { list-style: none; margin: 0; padding: 0 0 8px; overflow-y: auto; }
.gfs-results .gfs-heading { margin: 12px 18px 2px; font: 600 12px/1.4 system-ui, sans-serif; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gfs-muted); }
.gfs-results li { margin: 0; padding: 0; }
.gfs-results a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 8px 18px; color: var(--gfs-text); text-decoration: none; }
.gfs-results a:hover, .gfs-results a:focus { background: var(--gfs-tint); outline: 0; }
.gfs-results strong { font-weight: 600; }
.gfs-results small { display: block; color: var(--gfs-muted); font-size: 15px; }
.gfs-badge { flex: none; font: 700 12px/1.6 system-ui, sans-serif; padding: 0 8px; border-radius: 999px; }
.gfs-badge.good { background: var(--gfs-good-bg); color: var(--gfs-good); }
.gfs-badge.town { background: var(--gfs-tint); color: var(--gfs-link); }
.gfs-badge.none { color: var(--gfs-muted); font-weight: 500; border: 1px solid var(--gfs-border); }
