:root { font-family: Inter, system-ui, Arial, sans-serif; color: #24342e; background: #f4f6f3; color-scheme: light; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-height: 100svh; margin: 0; display: grid; place-items: center; padding: 32px 20px; }
.card { width: 100%; max-width: 440px; padding: 36px; border: 1px solid #dfe7df; border-radius: 18px; background: #fff; box-shadow: 0 10px 40px #213e290a; }
header { text-align: center; }
.brand-mark { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: #244f3c; color: #fff; font-size: 28px; font-weight: 650; }
h1 { margin: 0; font-size: clamp(24px, 6vw, 28px); font-weight: 700; letter-spacing: -.7px; }
.subtitle { margin: 8px 0 0; color: #64756b; font-size: 15px; }
.message { min-height: 24px; margin: 26px 0 20px; color: #52665a; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.message.error { color: #923d32; }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
input, button { font: inherit; }
input[type="text"], input[type="password"] { width: 100%; height: 48px; margin-bottom: 20px; padding: 10px 12px; border: 1px solid #bfcec3; border-radius: 8px; background: #fff; color: #24342e; font-size: 16px; }
.show-password { display: flex; align-items: center; gap: 9px; width: fit-content; margin: 0 0 24px; color: #52665a; font-weight: 400; cursor: pointer; }
.show-password input { margin: 0; width: 18px; height: 18px; accent-color: #2b6a4d; }
button { width: 100%; min-height: 48px; padding: 12px 18px; border: 1px solid #2b6a4d; border-radius: 9px; background: #2b6a4d; color: #fff; font-weight: 650; cursor: pointer; }
button:hover:not(:disabled) { background: #245a41; }
button:disabled, fieldset:disabled { cursor: wait; opacity: .7; }
:focus-visible { outline: 3px solid #2b6a4d; outline-offset: 4px; }
h2 { margin: 0 0 24px; font-size: 20px; font-weight: 650; }
.identity-label { margin: 0 0 6px; color: #64756b; font-size: 13px; }
.user-name { margin: 0 0 28px; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
footer { margin-top: 30px; border-top: 1px solid #e7ede7; padding-top: 20px; color: #64756b; text-align: center; font-size: 12px; line-height: 1.6; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 480px) { body { padding: 20px 16px; } .card { padding: 28px 24px; } }
@media (prefers-reduced-motion: no-preference) { button { transition: background-color .15s; } }

.agent-preview-link{display:block;text-align:center;padding:12px 15px;margin-bottom:12px;color:#245a41;border:1px solid #bfcec3;border-radius:9px;text-decoration:none;font-size:14px;font-weight:650}
.agent-preview-link:hover{background:#eef4ef}
