@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#26332d;--muted:#7b8981;--green:#658b73;--green-dark:#466b55;--cream:#f5f7f3;--line:#e8ede7;--white:#fff}
*{box-sizing:border-box}
html,body{min-height:100%;margin:0}
body{font-family:'DM Sans',sans-serif;color:var(--ink)}
.auth-page{min-height:100vh;min-height:100svh;background:var(--cream);display:grid;place-items:center;padding:34px}
.auth-layout{width:min(1080px,100%);min-height:610px;display:grid;grid-template-columns:1.08fr .92fr;background:#fff;border:1px solid var(--line);border-radius:28px;overflow:hidden;box-shadow:0 24px 70px rgba(43,65,49,.08)}
.login-art{position:relative;isolation:isolate;overflow:hidden;padding:64px 58px;background:linear-gradient(145deg,#e8f0e7 0%,#edf2ed 58%,#e8eff0 100%);display:flex;flex-direction:column;justify-content:center}
.art-kicker{position:relative;z-index:1;font-size:10px;letter-spacing:2px;font-weight:700;color:#7d8a7e}
.login-art h1{position:relative;z-index:1;font:600 clamp(34px,4vw,49px)/1.13 Manrope,sans-serif;letter-spacing:-2px;margin:19px 0 15px;color:var(--ink)}
.login-art h1 em{font-style:normal;color:#64845f}
.login-art p{position:relative;z-index:1;max-width:360px;color:#718078;font-size:14px;line-height:1.8;margin:0}
.art-orbit{position:absolute;z-index:0;border:1px solid rgba(100,132,95,.18);border-radius:50%;pointer-events:none}
.orbit-one{width:390px;height:390px;right:-155px;bottom:-145px}
.orbit-two{width:270px;height:270px;right:-95px;bottom:-85px}
.art-mark{position:absolute;z-index:1;right:44px;bottom:38px;width:70px;height:70px;border:1px solid rgba(100,132,95,.28);border-radius:22px;background:rgba(255,255,255,.12);transform:rotate(0deg);display:grid;place-items:center;box-shadow:0 8px 24px rgba(80,111,83,.05)}
.art-mark span{display:block;width:25px;height:25px;border-radius:8px;background:#789477;box-shadow:0 0 0 9px rgba(120,148,119,.14)}
.login-side{display:grid;place-items:center;padding:50px 46px;min-width:0}
.login-card{width:100%;max-width:384px;display:flex;flex-direction:column;align-items:stretch}
.login-card .eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#7d8a7e;margin:0}
.login-card h2{font:700 27px/1.2 Manrope,sans-serif;letter-spacing:-.8px;margin:13px 0 8px;color:var(--ink)}
.login-card .muted{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 27px}
.login-card label{font-size:12px;font-weight:600;color:#536159;margin:0 0 8px}
.login-card input{width:100%;height:50px;min-width:0;padding:0 14px;border:1px solid #e0e7e0;border-radius:12px;background:#fbfcfa;color:var(--ink);font:14px 'DM Sans',sans-serif;outline:none;margin-bottom:19px;transition:border-color .2s,box-shadow .2s}
.login-card input:focus{border-color:#8ca991;box-shadow:0 0 0 3px rgba(101,139,115,.12)}
.login-card input::placeholder{color:#a4aea6}
.password-field{position:relative;width:100%;margin-bottom:19px}
.login-card .password-field input{margin-bottom:0;padding-right:52px}
.password-toggle{position:absolute;top:50%;right:9px;transform:translateY(-50%);width:36px;height:36px;display:grid;place-items:center;padding:0;border:0;border-radius:9px;background:transparent;color:#849188;cursor:pointer;transition:background .18s,color .18s}
.password-toggle:hover{background:#edf3ed;color:#466b55}
.password-toggle:focus-visible{outline:2px solid #8ca991;outline-offset:2px}
.password-toggle svg{width:20px;height:20px;display:block}
.password-toggle .eye-off-icon{display:none}
.password-toggle.is-visible .eye-icon{display:none}
.password-toggle.is-visible .eye-off-icon{display:block}
.primary.full{width:100%;min-height:51px;margin-top:5px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 17px;border:0;border-radius:12px;background:#557d64;color:#fff;font:600 14px 'DM Sans',sans-serif;cursor:pointer;transition:background .2s}
.primary.full:hover{background:var(--green-dark)}
.primary.full span{font-size:20px;font-weight:400}
.login-note{margin-top:23px;padding-top:18px;border-top:1px solid #edf0ed;text-align:center;color:#9aa59d;font-size:10px;line-height:1.5}
.lock{color:#78917e;margin-right:6px}
.auth-messages{margin:-12px 0 18px}
.auth-flash{padding:11px 12px;border-radius:10px;font-size:12px;line-height:1.5}
.auth-flash.error{background:#fff0ed;color:#9b4538}
.auth-flash.success{background:#edf7ef;color:#376d4a}
@media(max-width:820px){
  .auth-page{display:block;padding:16px;}
  .auth-layout{grid-template-columns:minmax(0,1fr);min-height:0;width:100%;max-width:560px;margin:0 auto;border-radius:23px;}
  .login-art{min-height:252px;padding:34px 30px 38px;}
  .login-art h1{font-size:clamp(31px,7vw,39px);letter-spacing:-1.5px;margin:15px 0 12px;}
  .login-art p{font-size:13px;line-height:1.65;max-width:min(330px,calc(100% - 52px));}
  .orbit-one{width:280px;height:280px;right:-145px;bottom:-152px;}
  .orbit-two{width:205px;height:205px;right:-100px;bottom:-112px;}
  .art-mark{right:12px;bottom:10px;width:54px;height:54px;border-radius:17px;transform:rotate(0deg);}
  .art-mark span{width:20px;height:20px;border-radius:6px;box-shadow:0 0 0 7px rgba(120,148,119,.14);}
  .login-side{padding:34px 30px 32px;}
  .login-card{max-width:440px;}
  .login-card .muted{margin-bottom:23px;}
}
@media(max-width:420px){
  .auth-page{padding:10px;}
  .auth-layout{border-radius:19px;}
  .login-art{min-height:226px;padding:27px 22px 32px;}
  .art-kicker{font-size:9px;letter-spacing:1.7px;}
  .login-art h1{font-size:clamp(29px,8vw,34px);letter-spacing:-1.25px;margin:13px 0 10px;}
  .login-art p{font-size:12px;line-height:1.55;max-width:calc(100% - 44px);}
  .art-mark{right:9px;bottom:8px;width:46px;height:46px;border-radius:15px;}
  .art-mark span{width:17px;height:17px;border-radius:5px;box-shadow:0 0 0 6px rgba(120,148,119,.14);}
  .login-side{padding:29px 22px 27px;}
  .login-card h2{font-size:25px;}
  .login-card .muted{font-size:12px;margin-bottom:21px;}
  .login-card input{height:52px;font-size:16px;margin-bottom:17px}
  .login-card .password-field{margin-bottom:17px}
  .login-card .password-field input{margin-bottom:0}
  .primary.full{min-height:52px;font-size:14px;}
  .login-note{margin-top:19px;padding-top:15px;font-size:10px;}
}
@media(max-width:340px){
  .login-art{padding-left:18px;padding-right:18px;}
  .login-art h1{font-size:28px;}
  .login-side{padding-left:18px;padding-right:18px;}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
