:root {
  --green: #16865c;
  --dark: #173d2e;
  --muted: #65776d;
  --border: #dbe5df;
}
.success-alert { padding: 13px; border-radius: 8px; background: #e8f5ec; color: #24744b; font-size: 12px; margin-bottom: 20px; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; color: var(--dark); background: #f1f7f3; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.auth-layout { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 28px 16px; }
.form-panel { width: 100%; max-width: 420px; padding: 32px; border: 1px solid #e0e9e3; border-radius: 16px; background: #fff; box-shadow: 0 12px 40px #173d2e0a; }
.brand-header { text-align: center; margin-bottom: 28px; }
.logo { display: inline-flex; align-items: center; gap: 6px; font-size: 25px; font-weight: 700; letter-spacing: -.7px; }
.logo span { color: var(--green); }
.brand-header p { color: var(--muted); font-size: 13px; margin: 9px 0 0; line-height: 1.5; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 8px; background: #eef5f0; margin-bottom: 26px; }
.tab { flex: 1; padding: 11px 8px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font-size: 13px; }
.tab.active { color: var(--green); background: white; font-weight: 700; box-shadow: 0 1px 4px #173d2e10; }
h2 { font-size: 21px; margin: 0 0 8px; letter-spacing: -.4px; }
.subtitle { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0 0 23px; }
label { display: block; margin: 17px 0 8px; font-size: 13px; font-weight: 600; }
.input-wrap { height: 46px; display: flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.input-wrap:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px #16865c12; }
.input-wrap > span { display: none; }
.input-wrap input { width: 100%; min-width: 0; flex: 1; height: 100%; border: 0; outline: 0; background: transparent; padding: 0 13px; font-size: 13px; color: var(--dark); }
.input-wrap input::placeholder { color: #85958b; }
.reveal { border: 0; background: transparent; color: var(--muted); padding: 12px; }
.password-hint { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 10px 0 0; }
.submit { width: 100%; display: block; margin-top: 24px; padding: 14px; border: 0; border-radius: 8px; color: white; background: var(--green); font-size: 14px; font-weight: 600; transition: background .2s; }
.submit:hover { background: #106b48; }
.submit:disabled { opacity: .65; cursor: wait; }
.switch-note { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.6; margin: 20px 0 0; }
.switch-note button { padding: 0 2px; border: 0; background: transparent; color: var(--green); font-size: inherit; font-weight: 600; }
.form-footer { margin-top: 26px; padding-top: 20px; border-top: 1px solid #e8eee9; text-align: center; color: var(--muted); font-size: 11px; }
.alert { font-size: 13px; line-height: 1.5; border: 1px solid #edc7c1; color: #923e30; background: #fff1ef; padding: 12px; border-radius: 8px; margin-bottom: 20px; }
:focus-visible { outline: 2px solid #61b18b; outline-offset: 3px; }
.dashboard { max-width: 900px; margin: 70px auto; padding: 30px; }
.dashboard h1 { font-size: 36px; margin-top: 35px; overflow-wrap: anywhere; }
.dashboard p { color: var(--muted); line-height: 1.7; overflow-wrap: anywhere; }
.dashboard .submit { max-width: 190px; }
.eyebrow { display: block; font-size: 11px; letter-spacing: 1px; }
@media (max-width: 480px) {
  .form-panel { padding: 26px 22px; }
  .logo { font-size: 23px; }
  .dashboard { margin: 20px auto; padding: 24px; }
}
