/* V1443 — Earth-green branding, logo-free sign-in; retains V1442 layouts. */
@layer er-earth {
 html.er-earth {
  --er-brand-text:#286340!important;--er-focus:#347b51!important;
 }
 html.er-earth .er-auth-login{
  background:linear-gradient(180deg,#edf2e9 0%,#f6f5ef 62%,#f8f7f3 100%)!important;
 }
 html.er-earth .er-auth-login .er-auth-header{
  position:relative!important;isolation:isolate!important;max-width:none!important;
  min-height:151px!important;
  background:linear-gradient(126deg,#224d35 0%,#346d47 51%,#678353 100%)!important;
  padding:calc(31px + env(safe-area-inset-top,0px)) max(24px,calc((100vw - 1052px)/2)) 40px!important;
 }
 html.er-earth .er-auth-login .er-auth-header::after{
  content:''!important;position:absolute!important;inset:0!important;z-index:-1!important;
  background:radial-gradient(circle at 90% 0%,rgba(207,224,167,.21),transparent 39%),
             radial-gradient(circle at 13% 100%,rgba(18,62,44,.20),transparent 51%)!important;
 }
 html.er-earth .er-auth-login .er-auth-brand{color:#fff!important;display:inline-flex!important;gap:0!important;}
 html.er-earth .er-auth-login .er-auth-brand strong{font-size:23px!important;letter-spacing:-.7px!important;font-weight:750!important;color:#fff!important;}
 html.er-earth .er-auth-login .er-auth-brand small{color:#e0eadd!important;letter-spacing:.01em!important;font-size:11px!important;}
 html.er-earth .er-auth-login .er-auth-main{margin:-55px auto 0!important;position:relative!important;z-index:1!important;align-items:start!important;}
 html.er-earth .er-auth-login .er-auth-card{border:1px solid #d9e3d9!important;border-top:3px solid #5a9166!important;border-radius:17px!important;box-shadow:0 20px 50px -32px rgba(24,68,40,.29)!important;background:#fffefa!important;}
 html.er-earth .er-auth-login .er-auth-kicker{color:#367049!important;}
 html.er-earth .er-auth-login .er-auth-submit{background:#2b6b45!important;border-color:#2b6b45!important;}
 html.er-earth .er-auth-login .er-auth-submit:hover{background:#215637!important;}
 html.er-earth .er-auth-login .er-auth-input:focus{outline:none!important;box-shadow:none!important;border-color:#347b51!important;}
 html.er-earth .er-auth-login .er-auth-input:focus-visible{outline:none!important;box-shadow:none!important;border-color:#347b51!important;}
 html.er-earth .er-auth-login .er-auth-footer{color:#617264!important;}
 html.er-earth .er-auth-login .er-auth-mode select{border-color:#d4dfd4!important;}
 /* Dark mode keeps proper charcoal surfaces and green only where it matters. */
 html.er-earth[data-er-theme="dark"] .er-auth-login{background:#151b19!important;}
 html.er-earth[data-er-theme="dark"] .er-auth-login .er-auth-header{
  background:linear-gradient(125deg,#183e30 0%,#285943 57%,#3b624b 100%)!important;
 }
 html.er-earth[data-er-theme="dark"] .er-auth-login .er-auth-card{background:#202823!important;border-color:#34483c!important;border-top-color:#7ba77f!important;box-shadow:0 20px 50px -30px #050d07!important;}
 html.er-earth[data-er-theme="dark"] .er-auth-login .er-auth-kicker{color:#9dcea6!important;}
 html.er-earth[data-er-theme="dark"] .er-auth-login .er-auth-submit{background:#376c4c!important;border-color:#579067!important;}
 html.er-earth[data-er-theme="dark"] .er-auth-login .er-auth-footer{color:#a7b6ac!important;}
 @media(min-width:900px){
  html.er-earth .er-auth-login .er-auth-header{min-height:110px!important;padding-top:31px!important;padding-bottom:22px!important;}
  html.er-earth .er-auth-login .er-auth-main{margin:auto!important;align-items:center!important;}
  html.er-earth .er-auth-login .er-auth-story{position:relative!important;display:block!important;background:linear-gradient(145deg,#e0e9d9 0%,#f1f5eb 100%)!important;border-radius:24px!important;padding:42px!important;border:1px solid #d4dfd1!important;}
  html.er-earth .er-auth-login .er-auth-story h2{color:#234a36!important;}
  html.er-earth .er-auth-login .er-auth-story p{color:#536b59!important;}
  html.er-earth[data-er-theme="dark"] .er-auth-login .er-auth-story{background:#202c25!important;border-color:#34483d!important;}
  html.er-earth[data-er-theme="dark"] .er-auth-login .er-auth-story h2{color:#e0ebdf!important;}
  html.er-earth[data-er-theme="dark"] .er-auth-login .er-auth-story p{color:#b6c7bc!important;}
 }
 @media(max-width:650px){
  html.er-earth .er-auth-login .er-auth-header{min-height:157px!important;padding-left:25px!important;padding-right:25px!important;}
  html.er-earth .er-auth-login .er-auth-main{margin:-55px auto 0!important;padding:0 17px 12px!important;min-height:0!important;}
  html.er-earth .er-auth-login .er-auth-card{padding:29px 23px!important;}
  html.er-earth .er-auth-login .er-auth-footer{padding-top:5px!important;}
 }
 @media(max-height:680px) and (max-width:899px){
  html.er-earth .er-auth-login .er-auth-header{min-height:115px!important;padding-top:17px!important;padding-bottom:18px!important;}
  html.er-earth .er-auth-login .er-auth-main{margin:-34px auto 0!important;}
  html.er-earth .er-auth-login .er-auth-card{padding-top:18px!important;padding-bottom:17px!important;}
 }
}
@layer er-earth {
 html.er-earth[data-er-theme="dark"] #app :is(.cv-list,.chat-list,.chat-sidebar) :is(.cv-name,.cv-head-label,.cv-sec,.cv-people-label){color:#f0f3f0!important;-webkit-text-fill-color:#f0f3f0!important;}
 html.er-earth[data-er-theme="dark"] #app :is(.cv-list,.chat-list,.chat-sidebar) :is(.cv-last,.cv-time,.cv-sub){color:#b8c1bd!important;-webkit-text-fill-color:#b8c1bd!important;}
 html.er-earth[data-er-theme="dark"] #app .cv-row.cv-person .cv-name{color:#f0f3f0!important;-webkit-text-fill-color:#f0f3f0!important;}
 html.er-earth[data-er-theme="dark"] #app .cv-row.cv-person{background:#242a28!important;border-color:#3a4440!important;}
 html.er-earth[data-er-theme="dark"] #app :is(.chat-list.cv-list,.cv-threads){background:#121418!important;background-image:none!important;}
 html.er-earth[data-er-theme="dark"] #app .er1020-chat-filters{border-color:#343c43!important;}
 html.er-earth[data-er-theme="dark"] #app .er1020-chat-filters button{color:#b8c1bd!important;-webkit-text-fill-color:#b8c1bd!important;background:transparent!important;}
 html.er-earth[data-er-theme="dark"] #app .er1020-chat-filters button.active{color:#bad4c8!important;-webkit-text-fill-color:#bad4c8!important;border-color:#91b8a2!important;}
 html.er-earth[data-er-theme="dark"] #app .cv-search :is(.cv-search-ic,.cv-filter){color:#b8c1bd!important;}
}

/* In-place session recovery, including small screens and the mobile keyboard. */
.er-session-dialog{margin:auto!important;inset:0!important;position:fixed!important;box-sizing:border-box;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:24px;border:1px solid #d6ded9;border-radius:18px;background:#fffefa;color:#253a2d;box-shadow:0 20px 70px #0005;font-family:inherit}
.er-session-dialog::backdrop{background:#10191499}
.er-session-dialog h2{font-size:23px;line-height:1.2;margin:0 0 10px}
.er-session-dialog p{font-size:14px;line-height:1.5;margin:0 0 20px;color:#58675e}
.er-session-dialog label{display:block;font-size:13px;font-weight:650;margin:16px 0 7px}
.er-session-dialog input{box-sizing:border-box;width:100%;min-height:48px;padding:10px 12px;font:inherit;font-size:16px;border:1px solid #bdcbbf;border-radius:10px;background:#fff;color:#24382b;outline-offset:2px}
.er-session-dialog input:focus{outline:2px solid #35774c}
.er-session-dialog .er-session-error{margin:16px 0 0;color:#a32d27}
.er-session-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
.er-session-actions button{min-height:44px;padding:10px 18px;border:1px solid #cad5cd;border-radius:10px;font:inherit;font-size:14px;font-weight:650;background:#f5f7f4;color:#314b38}
.er-session-actions button[type=submit]{background:#2b6b45;border-color:#2b6b45;color:#fff}
.er-session-actions button:disabled{opacity:.6}
html[data-er-theme=dark] .er-session-dialog{background:#202329;border-color:#414851;color:#eff3ef}
html[data-er-theme=dark] .er-session-dialog p{color:#bcc5c0}
html[data-er-theme=dark] .er-session-dialog input{background:#181b20;border-color:#555f59;color:#f5f7f5}
html[data-er-theme=dark] .er-session-dialog .er-session-error{color:#ffb1a7}
html[data-er-theme=dark] .er-session-actions button:not([type=submit]){background:#30363b;border-color:#4b5550;color:#eff3ef}
@layer er-earth {
 html.er-earth .er-session-dialog input:focus,
 html.er-earth .er-session-dialog input:focus-visible{outline:none!important;box-shadow:none!important;border-color:#357b50!important;}
}
