* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; background: #f4f4f5; color: #18181b; }
.site-header { display: flex; justify-content: space-between; padding: 1rem 1.5rem; background: #fff; border-bottom: 1px solid #e4e4e7; }
.site-header a { color: inherit; text-decoration: none; margin-left: 1rem; }
.logo { font-weight: 700; }
.site-main { max-width: 720px; margin: 0 auto; padding: 2rem 1rem; }
.hero h1 { margin-top: 0; }
.form-card { background: #fff; padding: 1.5rem; border-radius: 8px; display: grid; gap: 1rem; }
.form-card--narrow { max-width: 400px; }
label { display: grid; gap: 0.35rem; font-size: 0.9rem; }
input, textarea { padding: 0.5rem 0.65rem; border: 1px solid #d4d4d8; border-radius: 6px; font: inherit; }
.btn { display: inline-block; padding: 0.55rem 1rem; border-radius: 6px; border: 1px solid #d4d4d8; background: #fff; cursor: pointer; text-decoration: none; color: inherit; font: inherit; }
.btn--primary { background: #2563eb; color: #fff; border-color: #2563eb; }
.flash { padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
.flash--error { background: #fee2e2; color: #991b1b; }
.muted { color: #71717a; }
.badge { font-size: 0.75rem; background: #e4e4e7; padding: 0.15rem 0.45rem; border-radius: 4px; }
.pres-list { list-style: none; padding: 0; }
.pres-list li { background: #fff; margin-bottom: 0.5rem; padding: 0.75rem 1rem; border-radius: 6px; display: flex; justify-content: space-between; }
.outline-list li { margin-bottom: 1rem; }
.slide-card { background: #fff; padding: 1rem; border-radius: 8px; margin-bottom: 1rem; }
.slide-json { white-space: pre-wrap; font-size: 0.8rem; background: #f4f4f5; padding: 0.5rem; border-radius: 4px; overflow: auto; }
.theme-picker { border: none; margin: 0; padding: 0; }
.theme-picker__legend { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.65rem; padding: 0; }
.theme-picker__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
@media (min-width: 520px) { .theme-picker__grid { grid-template-columns: repeat(4, 1fr); } }
.theme-picker__card {
  display: grid; gap: 0.35rem; padding: 0.5rem; border: 2px solid #e4e4e7; border-radius: 8px;
  cursor: pointer; background: #fff; transition: border-color 0.15s;
}
.theme-picker__card:has(input:checked) { border-color: #2563eb; box-shadow: 0 0 0 1px #2563eb; }
.theme-picker__card input { position: absolute; opacity: 0; pointer-events: none; }
.theme-picker__preview { display: block; height: 2.5rem; border-radius: 4px; }
.theme-picker__name { font-size: 0.8rem; font-weight: 600; }
.theme-picker__desc { font-size: 0.65rem; color: #71717a; line-height: 1.3; }
.theme-switch { margin-bottom: 1.25rem; display: grid; gap: 0.75rem; }
.foxy-deck { margin-top: 0.5rem; }
