:root { color-scheme: dark; font-family: system-ui, sans-serif; background:#101318; color:#edf1f6; }
* { box-sizing: border-box; }
body { margin:0; } .shell { max-width:680px; margin:auto; padding:16px; }
header { display:flex; align-items:center; justify-content:space-between; gap:12px; } h1 { font-size:1.4rem; }
.card { background:#1a2029; border:1px solid #303a49; border-radius:12px; padding:16px; margin:12px 0; }
label { display:block; margin:10px 0; } input, textarea, select, button { font:inherit; }
input, textarea, select { width:100%; margin-top:5px; padding:10px; border-radius:7px; border:1px solid #4d5a6d; background:#101318; color:inherit; }
textarea { resize:vertical; min-height:13rem; } button { padding:10px 14px; border:0; border-radius:7px; background:#5b9cff; color:#07101e; font-weight:650; cursor:pointer; }
button.secondary, button.quiet { background:#2b3544; color:#edf1f6; } button:disabled { opacity:.55; cursor:not-allowed; }
nav,.actions { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; } .file { border:1px dashed #4d5a6d; padding:10px; border-radius:7px; }
.file input { border:0; padding:0; } #status { min-height:1.4em; } #dirty { color:#ffd68a; } .history-item { border-top:1px solid #303a49; padding:12px 0; }
.history-item button { margin-top:7px; } @media (prefers-reduced-motion: reduce) { * { scroll-behavior:auto !important; transition:none !important; } }
@media (max-width:420px) { .actions button, nav button { width:100%; } }
