:root {
  --color-bg: #fafafa;
  --color-surface: #fff;
  --color-text: #1a1a1a;
  --color-muted: #6b7280;
  --color-accent: #4f46e5;
  --color-accent-hover: #4338ca;
  --color-border: #e5e7eb;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.back-link:hover {
  color: var(--color-accent);
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.page-header h1 {
  margin-bottom: 0;
}

.content-section {
  margin-top: 1.5rem;
}

.content-section .owner-list,
.content-section .attendee-list {
  margin-bottom: 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.section-header h2 {
  margin-bottom: 0;
}

.section-actions {
  position: relative;
}

.section-actions-toggle {
  background: transparent;
  border: none;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-muted);
}

.section-actions-toggle:hover {
  color: var(--color-text);
}

.section-actions-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.25rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  min-width: 12rem;
  z-index: 10;
  padding: 0.25rem;
}

.section-actions-item {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
}

.section-actions-item:hover {
  background: var(--color-surface);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-muted);
  font-size: 1rem;
}
