:root { color-scheme: light dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { margin: 0; background: #f8fafc; color: #0f172a; }
.top-header { position: sticky; top: 0; display: flex; justify-content: flex-end; gap: 0.75rem; align-items: center; padding: 0.75rem 1rem; background: #172554; color: white; z-index: 5; }
main { max-width: 960px; margin: 0 auto; padding: 2rem 1rem 4rem; }
.update-button { border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; background: rgba(255,255,255,0.1); color: inherit; padding: 0.45rem 0.9rem; }
.update-button.has-update::before { content: '•'; color: #facc15; margin-right: 0.35rem; }
.update-menu { position: absolute; right: 1rem; top: 3.5rem; display: grid; gap: 0.25rem; padding: 0.5rem; background: white; color: #0f172a; border: 1px solid #cbd5e1; border-radius: 0.75rem; box-shadow: 0 20px 30px rgba(15, 23, 42, 0.2); }
section { margin: 1.5rem 0; padding: 1rem; background: white; border: 1px solid #e2e8f0; border-radius: 1rem; }
label { display: block; margin: 0.75rem 0; }
input, select, textarea, button { font: inherit; }
textarea { display: block; min-height: 6rem; width: min(100%, 42rem); }
.mobile-update-sheet { position: fixed; inset: 0; display: grid; place-items: end center; background: rgba(15,23,42,0.35); z-index: 10; }
.sheet-card, .mobile-update-sheet.preview { width: min(100% - 2rem, 36rem); padding: 1rem; margin: 1rem; background: white; border-radius: 1rem; color: #0f172a; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
#toast { margin-top: 1rem; min-height: 1.5rem; }
@media (prefers-color-scheme: dark) { body { background: #020617; color: #e2e8f0; } section, .sheet-card, .mobile-update-sheet.preview, .update-menu { background: #0f172a; color: #e2e8f0; border-color: #334155; } }
