/* V1442: a shared auth layout and neutral, low-glare dark palette. */
@layer er-earth {
 html.er-earth,html.er-earth body {
  --er-canvas:#f5f7fa!important;--er-paper:#ffffff!important;--er-field:#ffffff!important;
  --er-soft:#edf1f5!important;--er-line:#dce1e7!important;--er-ink:#25313d!important;--er-muted:#626d79!important;
  --er-brand-text:#2e6557!important;--er-focus:#497f6e!important;--er-thread-head:#f8fafc!important;
 }
 html.er-earth[data-er-theme="dark"],html.er-earth[data-er-theme="dark"] body {
  --er-canvas:#121418!important;--er-paper:#1b1f25!important;--er-field:#161a20!important;
  --er-soft:#262c34!important;--er-line:#363d47!important;--er-ink:#edf0f4!important;--er-muted:#b0b8c4!important;
  --er-brand-text:#bad7ce!important;--er-focus:#8bb8aa!important;--er-thread-head:#1b2027!important;
  --er-forest:#edf0f4!important;--er-moss:#668d80!important;--er-sage:#28322f!important;
  --ink:var(--er-ink)!important;--text:var(--er-ink)!important;--muted:var(--er-muted)!important;
  --surface:var(--er-paper)!important;--paper:var(--er-paper)!important;--bg:var(--er-canvas)!important;
  --cream-50:var(--er-paper)!important;--cream-100:var(--er-soft)!important;
 }
 html.er-earth .er-auth {box-sizing:border-box!important;min-height:100dvh!important;width:100%!important;background:var(--er-canvas)!important;color:var(--er-ink)!important;display:flex!important;flex-direction:column!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;overflow-x:clip!important;}
 html.er-earth .er-auth * {box-sizing:border-box!important;}
 html.er-earth .er-auth-header {width:100%!important;max-width:1100px!important;margin:0 auto!important;padding:calc(22px + var(--er-login-safe-top,0px)) 24px 14px!important;}
 html.er-earth .er-auth-brand {display:inline-flex!important;align-items:center!important;gap:11px!important;border:0!important;background:transparent!important;color:var(--er-ink)!important;padding:0!important;text-align:left!important;cursor:pointer!important;}
 html.er-earth .er-auth-mark {display:grid!important;place-items:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;border:1px solid var(--er-line)!important;border-radius:12px!important;background:var(--er-paper)!important;color:var(--er-brand-text)!important;}
 html.er-earth .er-auth-mark svg {width:29px!important;height:29px!important;}
 html.er-earth .er-auth-brand strong {display:block!important;font-size:20px!important;line-height:1.2!important;letter-spacing:-.6px!important;font-weight:720!important;}
 html.er-earth .er-auth-brand small {display:block!important;font-size:11px!important;line-height:1.6!important;color:var(--er-muted)!important;font-weight:450!important;}
 html.er-earth .er-auth-main {display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:1100px!important;margin:auto!important;padding:18px 20px!important;gap:30px!important;flex:1 0 auto!important;align-items:center!important;justify-items:center!important;}
 html.er-earth .er-auth-story {display:none!important;}
 html.er-earth .er-auth-card {width:100%!important;max-width:440px!important;padding:26px 24px!important;background:var(--er-paper)!important;border:1px solid var(--er-line)!important;border-radius:18px!important;box-shadow:0 8px 30px #15202e05!important;}
 html.er-earth .er-auth-kicker {display:block!important;margin:0 0 10px!important;font-size:10px!important;line-height:1.4!important;font-weight:700!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:var(--er-brand-text)!important;}
 html.er-earth .er-auth-heading h1 {margin:0!important;font-size:29px!important;font-weight:700!important;letter-spacing:-1px!important;line-height:1.18!important;color:var(--er-ink)!important;font-family:inherit!important;}
 html.er-earth .er-auth-heading p {font-size:14px!important;line-height:1.65!important;margin:10px 0 25px!important;color:var(--er-muted)!important;font-weight:400!important;}
 html.er-earth .er-auth-form {display:flex!important;flex-direction:column!important;gap:17px!important;margin:0!important;}
 html.er-earth .er-auth-field {margin:0!important;padding:0!important;min-width:0!important;}
 html.er-earth .er-auth-field label {display:block!important;margin:0 0 7px!important;color:var(--er-ink)!important;font:600 12px/1.4 system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;}
 html.er-earth .er-auth-input-wrap {position:relative!important;width:100%!important;}
 html.er-earth .er-auth-input {display:block!important;width:100%!important;height:50px!important;min-height:50px!important;margin:0!important;border:1px solid var(--er-line)!important;background:var(--er-field)!important;border-radius:9px!important;padding:12px 13px!important;font:400 16px/1.4 system-ui,sans-serif!important;letter-spacing:0!important;color:var(--er-ink)!important;box-shadow:none!important;outline:none!important;}
 html.er-earth .er-auth-input::placeholder {color:var(--er-muted)!important;opacity:1!important;}
 html.er-earth .er-auth-input:has(+.er-auth-eye) {padding-right:49px!important;}
 html.er-earth .er-auth-input:is(:focus,:focus-visible) {border-color:var(--er-focus)!important;box-shadow:none!important;outline:none!important;border-width:2px!important;}
 html.er-earth .er-auth-eye {position:absolute!important;right:3px!important;top:3px!important;display:grid!important;place-items:center!important;width:44px!important;height:44px!important;border:0!important;border-radius:8px!important;padding:0!important;background:transparent!important;color:var(--er-muted)!important;cursor:pointer!important;}
 html.er-earth .er-auth-eye svg {width:20px!important;height:20px!important;}
 html.er-earth .er-auth-field small {display:block!important;margin:6px 0 0!important;color:var(--er-muted)!important;font-size:11px!important;line-height:1.5!important;font-weight:400!important;}
 html.er-earth .er-auth-submit {display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:100%!important;min-height:49px!important;margin:5px 0 0!important;padding:12px!important;background:#315e51!important;color:#ffffff!important;border:1px solid #315e51!important;border-radius:9px!important;box-shadow:none!important;font:650 14px/1.4 system-ui,sans-serif!important;cursor:pointer!important;}
 html.er-earth .er-auth-submit svg {width:17px!important;height:17px!important;}
 html.er-earth .er-auth-submit:disabled {opacity:.65!important;cursor:wait!important;}
 html.er-earth .er-auth-help {margin:20px 0 0!important;font-size:12px!important;line-height:1.7!important;color:var(--er-muted)!important;font-weight:400!important;}
 html.er-earth .er-auth-help span {color:var(--er-ink)!important;}
 html.er-earth .er-auth-switch {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;margin:23px 0 0!important;padding-top:18px!important;border-top:1px solid var(--er-line)!important;font-size:12px!important;line-height:1.6!important;color:var(--er-muted)!important;}
 html.er-earth .er-auth-switch button {display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:32px!important;padding:0!important;background:transparent!important;border:0!important;color:var(--er-brand-text)!important;font-size:13px!important;font-weight:650!important;cursor:pointer!important;}
 html.er-earth .er-auth-switch svg {width:14px!important;height:14px!important;}
 html.er-earth .er-auth-switch-inline {flex-direction:row!important;align-items:center!important;flex-wrap:wrap!important;gap:6px!important;margin-top:19px!important;padding-top:15px!important;}
 html.er-earth .er-auth-error {display:none!important;padding:10px 12px!important;margin:0 0 18px!important;border-radius:8px!important;border:1px solid #e2b5b0!important;background:#fff2f0!important;color:#8d3932!important;font-size:12px!important;line-height:1.5!important;}
 html.er-earth .er-auth-error:not(:empty) {display:block!important;}
 html.er-earth .er-auth-footer {display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:12px 24px!important;width:100%!important;max-width:1100px!important;margin:0 auto!important;padding:16px 20px calc(22px + env(safe-area-inset-bottom,0px))!important;color:var(--er-muted)!important;font:400 10px/1.5 system-ui,sans-serif!important;}
 html.er-earth .er-auth-mode {display:flex!important;align-items:center!important;gap:8px!important;color:var(--er-muted)!important;font-size:11px!important;}
 html.er-earth .er-auth-mode select {height:34px!important;border:1px solid var(--er-line)!important;border-radius:7px!important;background:var(--er-paper)!important;color:var(--er-ink)!important;padding:5px 7px!important;font-size:12px!important;min-width:79px!important;}
 html.er-earth[data-er-theme="dark"] .er-auth-card {box-shadow:none!important;}
 html.er-earth[data-er-theme="dark"] .er-auth-submit {background:#446e60!important;border-color:#446e60!important;}
 /* The status area and contact row share this exact surface. */
 html.er-earth body.ww-chat-active.chat-thread-open,
 html.er-earth .chat-thread-head,
 html.er-earth .chat-thread-head .cth-card {background:var(--er-thread-head)!important;background-image:none!important;}
 html.er-earth .chat-thread-head :is(.cth-name,.cth-info strong,.cth-sub,.cth-presence,.cth-back,.cth-act,.cth-info-btn,.cth-call,.cth-action) {color:var(--er-ink)!important;}
 html.er-earth .chat-thread-head .cth-presence {color:var(--er-muted)!important;}
 html.er-earth .chat-thread-head :is(.cth-card,.cth-back,.cth-act) {background:transparent!important;background-image:none!important;box-shadow:none!important;}
 html.er-earth .chat-thread-head::before,html.er-earth .chat-thread-head::after {background:var(--er-thread-head)!important;background-image:none!important;}
 html.er-earth[data-er-theme="dark"] :is(.topbar,.sidebar,.wwnav) {background:#171b21!important;background-image:none!important;border-color:var(--er-line)!important;}
 html.er-earth[data-er-theme="dark"] :is(.rst-hero,.hm-hero,.pf2-hero,.er1319-welcome,.manager-hero,.directory-hub-hero) {background:#242b33!important;background-image:none!important;border-color:#3b4550!important;box-shadow:none!important;}
 html.er-earth[data-er-theme="dark"] :is(.rst-hero,.hm-hero,.pf2-hero,.er1319-welcome,.manager-hero,.directory-hub-hero) :is(h1,h2,h3,p,small,em,strong,.rst-hs span) {color:var(--er-ink)!important;}
 html.er-earth[data-er-theme="dark"] :is(.rst-day,.ets-day):not(.sel) {background:#232932!important;border-color:var(--er-line)!important;}
 html.er-earth[data-er-theme="dark"] :is(.rst-day.sel,.ets-day.sel) {background:#344b42!important;border-color:#75998c!important;color:#fff!important;}
 html.er-earth[data-er-theme="dark"] :is(.btn-primary,.csend) {background:#446e60!important;border-color:#527f70!important;}
 html.er-earth[data-er-theme="dark"] .msg.mine .bubble {background:#354c43!important;border-color:#4e655b!important;color:var(--er-ink)!important;}
 html.er-earth[data-er-theme="dark"] .msg:not(.mine) .bubble {background:#272e37!important;border-color:#3a424d!important;color:var(--er-ink)!important;}
 html.er-earth[data-er-theme="dark"] :is(.er1024-more-btn,.rwg-search,.ets-stat-grid>div,.er-push-heading>span,.er1024-cover-head>.ic,.er1024-cover-count) {background:var(--er-soft)!important;color:var(--er-ink)!important;}
 html.er-earth[data-er-theme="dark"] :is(.rc-b,.rc-1,.rc-2,.rc-3,.rc-4,.rc-5,.rc-name,.rc-time,.rc-addr,.nm,.nm-b,.pf2-row-v,.pf2-row-l,.pf2-link-txt strong,.pf2-link-txt span) {color:var(--er-ink)!important;}
 html.er-earth[data-er-theme="dark"] .rc-l {filter:saturate(.65)!important;}
 html.er-earth[data-er-theme="dark"] .hm-hs {background:var(--er-paper)!important;border-color:var(--er-line)!important;box-shadow:none!important;}
 html.er-earth[data-er-theme="dark"] .hm-hs strong {color:var(--er-ink)!important;}
 html.er-earth[data-er-theme="dark"] .hm-hs em {color:var(--er-muted)!important;}
 html.er-earth[data-er-theme="dark"] .hm-hero-add {background:#446e60!important;color:#fff!important;}
 html.er-earth[data-er-theme="dark"] .hm-hero-add :is(svg,span) {color:#fff!important;}
 html.er-earth[data-er-theme="dark"] .hm-pill {background:var(--er-soft)!important;color:var(--er-muted)!important;border-color:var(--er-line)!important;}
 html.er-earth[data-er-theme="dark"] .er1024-filter.active {color:var(--er-brand-text)!important;}
 @media(min-width:900px) {
  html.er-earth .er-auth-main {grid-template-columns:minmax(0,1fr) 440px!important;align-content:center!important;padding:28px 24px 40px!important;gap:70px!important;}
  html.er-earth .er-auth-story {display:block!important;justify-self:start!important;max-width:430px!important;}
  html.er-earth .er-auth-story h2 {font-size:42px!important;font-weight:650!important;line-height:1.13!important;letter-spacing:-1.7px!important;color:var(--er-ink)!important;margin:18px 0!important;}
  html.er-earth .er-auth-story p {font-size:16px!important;color:var(--er-muted)!important;line-height:1.7!important;max-width:340px!important;}
  html.er-earth .er-auth-story-note {display:flex!important;align-items:center!important;gap:9px!important;color:var(--er-brand-text)!important;font-size:12px!important;margin-top:30px!important;}
  html.er-earth .er-auth-story-note svg {width:18px!important;height:18px!important;}
  html.er-earth .er-auth-card {padding:30px!important;}
 }
 @media(max-width:360px) {
  html.er-earth .er-auth-header {padding-left:18px!important;padding-right:18px!important;}
  html.er-earth .er-auth-main {padding:10px 12px!important;}
  html.er-earth .er-auth-card {padding:23px 19px!important;border-radius:14px!important;}
  html.er-earth .er-auth-heading h1 {font-size:26px!important;}
 }
}
@layer er-earth {
 html.er-earth body.ww-chat-active.chat-thread-open::before {background:var(--er-thread-head)!important;background-image:none!important;box-shadow:none!important;}
 html.er-earth body.ww-chat-active.chat-thread-open .chat-thread-head {border-bottom:1px solid var(--er-line)!important;}
}
@layer er-earth {
 html.er-earth[data-er-theme="dark"] #app .chat-thread .msg:not(.mine) .bubble :is(.b-meta,.b-meta span,.b-time,time) {color:var(--er-muted)!important;-webkit-text-fill-color:var(--er-muted)!important;}
 html.er-earth[data-er-theme="dark"] #app .chat-thread :is(.chat-day,.chat-day span,.chat-day-label,.chat-date,.chat-date span) {background:var(--er-soft)!important;color:var(--er-muted)!important;border-color:var(--er-line)!important;}
 html.er-earth[data-er-theme="dark"] #app .chat-composer .cattach {background:var(--er-soft)!important;color:var(--er-brand-text)!important;border-color:var(--er-line)!important;}
 html.er-earth[data-er-theme="dark"] #app .chat-composer #chatInput {border-color:var(--er-line)!important;}
}
@layer er-earth {
 html.er-earth[data-er-theme="dark"] #app .chat-thread .chat-date-separator span {background:var(--er-soft)!important;color:var(--er-muted)!important;border:1px solid var(--er-line)!important;}
}
@layer er-earth {
 html.er-earth #app .chat-composer .er-message-issue {grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important;padding:1px 0 7px!important;font-size:12px!important;line-height:1.4!important;color:var(--er-muted)!important;background:transparent!important;}
 html.er-earth #app .er-message-issue button {border:0!important;background:transparent!important;color:var(--er-brand-text)!important;padding:4px 0!important;font-size:12px!important;font-weight:650!important;white-space:nowrap!important;}
 html.er-earth #app .er-message-issue button[hidden] {display:none!important;}
}
@layer er-earth {
 html.er-earth .er-auth-signup .er-auth-main {padding-top:8px!important;padding-bottom:8px!important;}
 html.er-earth .er-auth-signup .er-auth-heading p {margin-bottom:20px!important;}
 html.er-earth .er-auth-signup .er-auth-form {gap:14px!important;}
 html.er-earth .er-auth-signup .er-auth-card {padding-top:24px!important;padding-bottom:24px!important;}
 html.er-earth .er-auth-signup .er-auth-input {height:48px!important;min-height:48px!important;}
}
