:root {
  --bg: #0d0d0d;
  --bg-card: #171512;
  --gold: #c9a45c;
  --gold-bright: #e0be7e;
  --brown: #4a3826;
  --text: #eae5db;
  --text-dim: #a89f8f;
  --green: #4caf7a;
  --amber: #d9a441;
  --red: #b3413a;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.banner-strip {
  height: 10px;
  margin: 0 -1rem 1.5rem;
  background: linear-gradient(90deg, #4a3826, var(--gold) 20%, var(--gold-bright) 50%, var(--gold) 80%, #4a3826);
}

header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 0.15rem;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
}

header h1 .subtitle {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.who { font-size: 0.9rem; color: var(--text-dim); margin-top: 0.5rem; }
.who a { color: var(--gold); }

.badge.organizer {
  background: var(--brown);
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  padding: 0.1rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  margin-left: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.flashes {
  background: #2a2115;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  list-style: none;
  margin: 1rem 0;
}

.table-card {
  border: 1px solid #2c2820;
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.1rem;
  background: var(--bg-card);
}

.table-card.confirmed { border-left-color: var(--green); }
.table-card.unconfirmed { border-left-color: var(--amber); }

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}
.table-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
}

.status-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.65rem;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.status-badge.confirmed { background: rgba(76,175,122,0.15); color: var(--green); border: 1px solid var(--green); }
.status-badge.unconfirmed { background: rgba(217,164,65,0.15); color: var(--amber); border: 1px solid var(--amber); }

.meta { color: var(--text-dim); font-size: 0.9rem; margin: 0.4rem 0; }
.meta strong { color: var(--text); }
.notes { font-style: italic; color: var(--text-dim); font-size: 0.92rem; }

details { margin: 0.6rem 0; color: var(--text-dim); }
details summary { cursor: pointer; color: var(--gold); font-size: 0.88rem; }
details ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }

.actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.9rem; }

button, .button {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  border: none;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #241c10;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s ease;
}
button:hover, .button:hover { filter: brightness(1.08); }
button:disabled { background: #3a352c; color: var(--text-dim); cursor: not-allowed; }
button.secondary { background: none; border: 1px solid var(--gold); color: var(--gold-bright); }
button.danger { background: none; border: 1px solid var(--red); color: #e57a72; }

.form label {
  display: block;
  margin-bottom: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
.form input, .form textarea {
  display: block;
  width: 100%;
  padding: 0.6rem 0.7rem;
  margin-top: 0.35rem;
  border: 1px solid #3a352c;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #0f0d0a;
  color: var(--text);
  box-sizing: border-box;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

a { color: var(--gold-bright); }
