/* Shared by the review page and the public forms (site/events/submit.html, bands/add.html, events/tell-us.html).
   Edit here, once. review.css imports it. */
:root {
  --bg: #17140f;
  --card: #221e18;
  --line: #403835;
  --text: #f4eedd;
  --muted: #c7ad87;
  --pink: #e31c79;
  --yellow: #f6d000;
  --blue: #2aa8e0;
  --red: #ff8a8a;
  --ok: #9fdc8a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 "Space Grotesk", system-ui, sans-serif;
}
.stripe {
  height: 8px;
  background-image: repeating-linear-gradient(-45deg, #e31c79 0 20px, #f6d000 20px 40px, #2aa8e0 40px 60px, #c81e2c 60px 80px);
}
a { color: var(--blue); }
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}
h1 { font-size: clamp(24px, 5vw, 32px); margin: 8px 0 6px; color: var(--yellow); }
h2 { font-size: 20px; margin: 0; }
h3 { font-size: 16px; margin: 14px 0 6px; color: var(--muted); font-weight: 600; }
.lede { color: var(--muted); max-width: 60ch; margin: 0 0 12px; }
.stack { display: flex; flex-direction: column; gap: 10px; max-width: 26rem; }
input, textarea, select {
  width: 100%; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font: inherit;
}
textarea { min-block-size: 3.2em; }
button { font: inherit; cursor: pointer; }
button.primary, button.approve, button.reject, button.answer, button.secondary {
  min-block-size: 40px; padding: 8px 16px; border-radius: 6px; border: 1px solid transparent; font-weight: 700;
}
button.primary, button.approve, button.answer { background: var(--pink); color: var(--bg); }
button.reject, button.secondary { background: transparent; color: var(--text); border-color: var(--line); }
button[disabled] { opacity: .55; cursor: wait; }
button.link { background: none; border: 0; color: var(--blue); text-decoration: underline; padding: 4px; }
.list { display: flex; flex-direction: column; gap: 14px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px;
}
.card:focus-visible, .card.current { outline: 2px solid var(--blue); outline-offset: 2px; }
.card header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.kind { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.meta { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.facts { margin: 10px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; align-items: center; }
fieldset { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
legend { padding: 0; margin-bottom: 6px; color: var(--muted); }
fieldset label { display: inline-flex; align-items: center; gap: 6px; min-block-size: 32px; }
fieldset input[type="radio"] { width: auto; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row input { width: auto; flex: 1 1 10rem; }
.contact { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 0; }
.empty { color: var(--muted); padding: 24px 0; }
.status {
  position: fixed; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 40rem;
  background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.status:empty { display: none; }
.status.err { background: var(--red); bottom: 64px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 30rem) { .facts { grid-template-columns: 1fr; } .facts dt { margin-top: 6px; } }

.line { margin: 6px 0 0; }
.flags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.flag { font-size: 13px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.flag.strong { color: var(--bg); background: var(--yellow); border-color: var(--yellow); font-weight: 700; }
.flag.good { color: var(--ok); border-color: currentColor; }
.flag.warn { color: var(--yellow); border-color: currentColor; }
details.more { margin-top: 8px; }
details.more summary { cursor: pointer; color: var(--blue); min-block-size: 32px; display: inline-flex; align-items: center; }
details.more[open] summary { margin-bottom: 4px; }
select { max-width: 100%; }
.row select { flex: 1 1 10rem; min-width: 0; width: auto; }
form.edit { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
form.edit .field { max-width: none; }
form.edit .row .field { flex: 1 1 8rem; }
form.edit .field input { flex: 0 0 auto; width: 100%; }
form.edit .row select { flex: 0 1 auto; }
.show-form { max-width: 34rem; }
.show-form .field { gap: 4px; }
.show-form .from { font-size: 0.85em; color: var(--muted); }
.show-form .from.read { color: var(--yellow); }
.show-form .from.missing { color: var(--muted); font-style: italic; }
.show-form fieldset.when label { min-block-size: 0; }
.show-form .dates { font-size: 0.9em; color: var(--muted); }
#flyer-preview { max-width: 12rem; max-height: 16rem; border: 1px solid var(--line); border-radius: 8px; display: block; margin: 8px 0; }
.show-form label.row input[type="checkbox"], form.edit label.row input[type="checkbox"] { flex: 0 0 auto; width: auto; }
.show-form .row input[type="number"] { flex: 1 1 5rem; }
table.changes { border-collapse: collapse; margin: 8px 0; font-size: 14px; }
table.changes th, table.changes td { text-align: left; padding: 4px 10px 4px 0; vertical-align: top; border-bottom: 1px solid var(--line, #403835); }
table.changes td.to { color: var(--yellow); }
.quote { margin: 8px 0; font-style: italic; }
.card.mine h3 { margin: 18px 0 8px; }
.card.show { padding: 10px 12px; }
.card.show h3 { margin: 0; font-size: 1rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button.spam { color: var(--muted); }
