:root { font: 16px system-ui, sans-serif; color: #182c32; background: #f1f5f2; }
body { margin: 0; }
main { max-width: 58rem; margin: 0 auto; padding: 2rem 1rem; }
header, nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
h1 { margin: .25rem 0 .75rem; font-size: clamp(1.65rem, 5vw, 2.65rem); }
.brand { color: #255949; font-weight: 750; margin: 0; }
form, article { background: #fff; border: 1px solid #b9cbc3; border-radius: .75rem; padding: 1rem; margin: 1rem 0; }
#login, #mfa { max-width: 25rem; }
label { display: block; font-weight: 650; margin: .75rem 0; }
input { display: block; box-sizing: border-box; width: 100%; margin-top: .35rem; padding: .6rem; border: 1px solid #597269; border-radius: .35rem; font: inherit; }
button { background: #255949; color: white; border: 0; padding: .65rem 1rem; border-radius: .35rem; font: inherit; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid #ab630b; outline-offset: 3px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
[hidden] { display: none !important; }

dialog { box-sizing: border-box; width: min(42rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 0; border: 1px solid #597269; border-radius: .75rem; }
dialog::backdrop { background: #182c3288; }
dialog form { margin: 0; border: 0; }
textarea, select { display: block; box-sizing: border-box; width: 100%; margin-top: .35rem; padding: .6rem; border: 1px solid #597269; border-radius: .35rem; font: inherit; }
textarea { resize: vertical; }
fieldset { border: 1px solid #b9cbc3; border-radius: .35rem; margin: 1rem 0; }
.choice { display: flex; gap: .6rem; align-items: center; font-weight: 400; }
.choice input { width: auto; margin: 0; }
.editor-actions { display: flex; gap: .6rem; justify-content: flex-end; }
