:root {
  --bg: #f8fafc; --card: #fff; --text: #1e293b; --muted: #64748b;
  --border: #e2e8f0; --accent: #2563eb; --danger: #dc2626; --radius: 8px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a; --card: #1e293b; --text: #e2e8f0; --muted: #94a3b8;
    --border: #334155; --accent: #3b82f6;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body { font: 14px/1.5 -apple-system, system-ui, sans-serif; background: var(--bg); color: var(--text); margin: 0; }
body.login { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-card { background: var(--card); border-radius: var(--radius); padding: 3rem 2.5rem; text-align: center; max-width: 26rem; }
.login-card h1 { font-size: 1.25rem; margin: 0; }
.login-card .subtitle { color: var(--muted); margin: .25rem 0 1.5rem; }
.login-card .error { background: #fee2e2; color: var(--danger); padding: .75rem; border-radius: var(--radius); margin-bottom: 1rem; }
.btn-google { display: inline-block; padding: .75rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.btn-google:hover { background: var(--bg); }
.domain-note { color: var(--muted); font-size: .8rem; margin-top: 1rem; }
body.admin header { background: var(--card); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
body.admin header h1 { font-size: 1rem; margin: 0; }
body.admin header nav { display: flex; gap: 1rem; align-items: center; color: var(--muted); }
body.admin main { max-width: 60rem; margin: 2rem auto; padding: 0 1.5rem; }
table.submissions { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
table.submissions th, table.submissions td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
table.submissions th { background: var(--bg); color: var(--muted); font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
table.submissions tr:last-child td { border-bottom: 0; }
.status-pill { display: inline-block; padding: .15rem .5rem; border-radius: 999px; font-size: .75rem; }
.status-pill.draft     { background: #fef3c7; color: #92400e; }
.status-pill.submitted { background: #dbeafe; color: #1e40af; }
.status-pill.archived  { background: #e5e7eb; color: #374151; }
video.preview { width: 100%; max-width: 40rem; background: #000; border-radius: var(--radius); }
.field-list { display: grid; grid-template-columns: 12rem 1fr; gap: .5rem 1rem; }
.field-list dt { color: var(--muted); }
button.archive { background: transparent; border: 1px solid var(--border); padding: .4rem .8rem; border-radius: var(--radius); cursor: pointer; }
button.archive:hover { background: var(--bg); }
