:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #202860; background: #f4f5fa; }
* { box-sizing: border-box; }
body { min-height: 100svh; margin: 0; display: grid; place-items: center; }
.shell { width: min(100%, 470px); padding: 28px 20px; }
.brand { text-align: center; margin-bottom: 28px; }
.brand span { letter-spacing: .12em; font-weight: 800; font-size: .8rem; }
h1 { margin: 4px 0; font-size: 2rem; } h2 { margin-top: 0; } p { color: #525871; line-height: 1.5; }
.card { background: white; border-radius: 18px; padding: 25px; box-shadow: 0 10px 35px #20286018; }
form { display: grid; gap: 15px; margin-top: 22px; } label { display: grid; gap: 7px; font-weight: 650; }
input, select, textarea { border: 1px solid #cbd0df; border-radius: 9px; padding: 13px; font: inherit; width: 100%; }
button { border: 0; border-radius: 9px; background: #202860; color: white; cursor: pointer; font: 700 1rem inherit; padding: 14px; }
button:hover { background: #161c52; } .status { font-size: .88rem; margin: 20px 0 0; }
.preview-output { width: 100%; overflow: auto; white-space: pre-wrap; background: #f4f6fb; border: 1px solid #c7d1e6; border-radius: 10px; padding: 14px; font-size: .78rem; line-height: 1.4; }
.hidden { display: none; } .hint, .field-help { font-size: .84rem; color: #65737e; }
.toolbar, .actions { display: flex; gap: .75rem; align-items: center; justify-content: space-between; }
.toolbar button, .actions button { width: auto; } .actions { margin-top: 1.25rem; }
.secondary { background: #e9edf0; color: #202860; }
