:root { color-scheme: light; font-family: Inter, system-ui, sans-serif; color: #172539; background: #f4f6f9; }
* { box-sizing: border-box; }
body { margin: 0; }
main { margin: 3rem auto; max-width: 780px; padding: 0 1.25rem 2rem; }
header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
h1 { margin: 0; font-size: clamp(1.5rem, 5vw, 2.25rem); }
h2 { margin: 0; font-size: 1.25rem; }
p { line-height: 1.5; }
header p { margin: .25rem 0 0; color: #465973; }
section { background: white; border: 1px solid #dce4ef; border-radius: 12px; padding: 1.35rem; margin-bottom: 1rem; }
.fields { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; margin-top: 1rem; }
label { display: block; font-weight: 650; margin-bottom: 1rem; }
input:not([type=checkbox]), textarea { display: block; width: 100%; font: inherit; padding: .65rem .75rem; margin-top: .35rem; border: 1px solid #8f9db1; border-radius: 6px; background: #fff; color: inherit; }
small { display: block; margin-top: .4rem; font-weight: 400; color: #465973; }
.check { display: flex; align-items: center; gap: .55rem; }
.check input { width: 1rem; height: 1rem; }
button { background: #203ee1; color: #fff; border: 1px solid transparent; border-radius: 6px; padding: .65rem 1rem; font: inherit; font-weight: 650; cursor: pointer; }
.secondary { color: #203ee1; background: #fff; border-color: #b0bbee; }
.error, .notice, .success { padding: .65rem 1rem; border-radius: 6px; }
.error { background: #ffe5e5; color: #8b2424; }
.notice { background: #e7efff; color: #253864; }
.success { background: #e1f4e8; color: #214e32; }
:focus-visible { outline: 3px solid #223dd0; outline-offset: 2px; }
@media (max-width: 510px) { main { margin-top: 1.5rem; } .fields { grid-template-columns: 1fr; gap: 0; } }

.oauth-button { display: inline-block; background: #203ee1; color: #fff; padding: .65rem 1rem; border: 1px solid transparent; border-radius: 6px; font-weight: 650; text-decoration: none; }
.oauth-button.secondary { color: #203ee1; background: #fff; border-color: #b0bbee; }
