* { box-sizing: border-box; }
body.auth { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 24px 14px; background: linear-gradient(160deg, #e7f0ec, #f5f6f4 60%); color: #1b2733; font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.card { background: #fff; border-radius: 18px; padding: 28px 26px; width: 100%; max-width: 400px; box-shadow: 0 10px 40px rgba(20,40,35,.12); }
.card.wide { max-width: 720px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #2f6f5e; margin-bottom: 6px; }
.logo { width: 30px; height: 30px; border-radius: 8px; background: #2f6f5e; color: #fff; display: grid; place-items: center; }
h1 { font-size: 21px; margin: 4px 0 16px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; margin-bottom: 12px; color: #3c4954; }
input { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #cdd5db; border-radius: 10px; min-height: 44px; }
input:focus-visible { outline: 3px solid rgba(47,111,94,.35); }
.btn { font: inherit; font-weight: 700; min-height: 46px; padding: 10px 18px; border-radius: 10px; border: 0; cursor: pointer; }
.btn.primary { background: #2f6f5e; color: #fff; }
.btn.block { width: 100%; }
.alert { background: #fdecea; color: #7a1d16; border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; }
.alert p { margin: 4px 0; }
.notice { background: #e6f4ec; color: #1e7a4c; border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; font-size: 14px; }
.muted, .hint { color: #62707c; }
.hint { font-size: 13px; margin: -6px 0 10px; }
.foot { text-align: center; color: #8a96a0; font-size: 12px; margin: 18px 0 0; }
fieldset { border: 1px solid #e1e6ea; border-radius: 12px; padding: 12px 14px 4px; margin: 0 0 14px; }
legend { font-weight: 700; padding: 0 6px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0 0 14px; font-size: 14px; }
.checks .ok { color: #1e7a4c; }
.checks .ko { color: #b3261e; font-weight: 700; }
code { background: #eef1f3; padding: 1px 5px; border-radius: 4px; }
