:root { color-scheme: light; background: #f7f5ee; color: #232526; font: 1rem/1.55 system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; padding: clamp(1rem, 6vw, 4rem); }
main { max-width: 32rem; margin: auto; padding: clamp(1.1rem, 5vw, 2.4rem); background: #fffdf7; border: 1px solid #62685c; border-radius: 1rem; }
header { margin-bottom: 1.5rem; }
header strong { font-size: 1.6rem; }
header small { font-size: .875rem; }
h1 { font: 500 clamp(2rem, 8vw, 3.25rem)/1.1 Georgia, serif; }
label { display: block; font-weight: 700; }
input, button { min-height: 48px; font: inherit; border: 1px solid #424946; }
input { width: 100%; padding: .55rem; border-radius: .35rem; }
button { padding: .5rem 1.2rem; border-radius: 2rem; background: #daf797; color: #232526; font-weight: 750; cursor: pointer; }
nav { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-top: 1rem; }
a { color: #344a27; display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #7135bc; outline-offset: 3px; }
.errorlist { color: #8b1515; }
.notice { padding: .65rem; background: #e8eddd; border-radius: .4rem; }
.account-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.account-delete { background: #952528; border-color: #952528; color: white; }
.account-field { margin-block: 1rem; }
.account-field p { margin-block: .35rem 0; }
.field-input { display: flex; flex-wrap: wrap; gap: .5rem; }
.field-input input { flex: 1 1 10rem; min-width: 0; }
.password-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: .5rem; }
.password-toggle { background: #edf3ea; border-radius: .35rem; padding-inline: .65rem; }
.password-eye { display: grid; place-items: center; width: 1.05rem; height: .68rem; border: 1.5px solid currentColor; border-radius: 70% 30%; transform: rotate(25deg); }
.password-eye::after { content: ""; width: .3rem; aspect-ratio: 1; border-radius: 50%; background: currentColor; }
.account-brand { display: flex; align-items: center; gap: .65rem; }
.account-site-nav { margin-top: .65rem; padding-bottom: .35rem; border-bottom: 1px solid #62685c; }
.account-mark { position: relative; display: grid; place-items: center; width: 2.25rem; aspect-ratio: 1; border-radius: .55rem; background: #202823; }
.account-mark::before { content: ""; width: 1.1rem; height: .65rem; border: 1.5px solid #daf797; border-radius: 70% 30%; transform: rotate(30deg); }
.account-mark::after { content: ""; position: absolute; width: .33rem; aspect-ratio: 1; border-radius: 50%; background: #daf797; }
.history-messages li { margin-block: .7rem; padding: .65rem; border-radius: .35rem; background: #edf3ea; }
.history-messages p { white-space: pre-wrap; overflow-wrap: anywhere; margin-block: .3rem 0; }
.account-choice { margin: 1rem 0; padding: .65rem .8rem; border: 1px solid #62685c; border-radius: .4rem; min-inline-size: 0; }
.account-choice legend { font-weight: 700; }
.account-choice p { margin: .15rem 0 .35rem; }
.account-choice label, .account-terms label { display: flex; align-items: center; gap: .6rem; min-height: 44px; }
.account-choice input, .account-terms input { width: 1.3rem; min-height: 0; height: 1.3rem; flex: none; accent-color: #294d3b; }
.account-terms { margin: 1rem 0; padding: .8rem; border: 1px solid #62685c; border-radius: .4rem; }
.account-terms h2 { margin: 0; font-size: 1.15rem; }
.account-terms p { margin-block: .35rem 0; }
