.account-status{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:10px 0 2px}
.acc-dot{width:10px;height:10px;border-radius:50%;background:#9aa8a0;display:inline-block}
.acc-dot[data-state="synced"]{background:#2f8a5f}.acc-dot[data-state="syncing"],.acc-dot[data-state="starting"]{background:#d8b44a}
.acc-dot[data-state="offline"],.acc-dot[data-state="paused"],.acc-dot[data-state="needsChoice"]{background:#d18960}.acc-dot[data-state="error"]{background:#ae4031}
.account-tabs{display:inline-flex;margin:8px 0}
.account-form{max-width:420px}.account-form .field input{border:1px solid #d6e1d7;border-radius:9px;padding:10px;width:100%;color:var(--ink);background:#fff}
.account-form .field label{font-size:12px;font-weight:700;color:#536d5c}
.account-form .save,.account-option .save{border:0;padding:10px 15px;border-radius:9px;font-weight:700}
.account-secondary{flex-wrap:wrap}.account-accept{display:block;font-size:13px;margin-top:14px;line-height:1.5}
.account-accept input{width:18px;height:18px;vertical-align:-3px}
.account-msg{font-size:13px;color:#536a52;min-height:1em}
.account-actions{flex-wrap:wrap}.account-pre{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.account-pre a{text-decoration:none;display:inline-block}
.ghost.danger,.cancel.danger,.save.danger{color:#ae4031;border-color:#efc9c1}.save.danger{background:#ae4031;color:#fff}
.account-option{border-top:1px solid var(--line);padding:12px 0}.account-option p{margin:6px 0 0}
.account-dialog .modal{max-height:85vh;overflow:auto}.account-dialog .modalbuttons{flex-wrap:wrap}
.account-dialog .modalbuttons button{border:0;padding:10px 15px;border-radius:9px;font-weight:700}
.legal-links a{color:#426b52}#sync-notices ul{margin:0 0 6px;padding-left:18px}
#account-root button:disabled,.account-dialog button:disabled{opacity:.55;cursor:not-allowed}
/* 1.4: header account icon + menu, Inicio card, sign-in dialog */
.account-header{position:relative;flex:none;display:flex;align-items:center}.account-header[hidden]{display:none}
.account-enter{min-height:40px;padding:0 14px;border:1px solid #ffffff55;border-radius:999px;background:transparent;color:#fff;font-size:13px;font-weight:700;white-space:nowrap}
.account-enter:hover{background:#ffffff14}
.account-avatar{width:40px;height:40px;border-radius:50%;border:2px solid #ffffff33;background:#bce49c;color:#133c2d;font-size:16px;font-weight:800;display:grid;place-items:center;padding:0}
.account-enter:focus-visible,.account-avatar:focus-visible{outline:2px solid #d6edb2;outline-offset:2px}
.account-enter[hidden],.account-avatar[hidden],.account-menu[hidden],.account-home-card[hidden]{display:none}
.account-menu{position:absolute;z-index:60;right:0;top:calc(100% + 8px);min-width:220px;max-width:calc(100vw - 24px);background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 40px #0b1f1d33;padding:8px}
.account-menu-email{margin:4px 8px 8px;font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.account-menu-item{display:block;width:100%;text-align:left;background:transparent;border:0;border-radius:8px;padding:10px 8px;min-height:44px;color:var(--ink);font-weight:650}
.account-menu-item:hover,.account-menu-item:focus-visible{background:#edf3e8;outline:none}
.account-home-card p{margin:0 0 8px;color:var(--ink);font-weight:650}.account-home-card .actions{flex-wrap:wrap}
.account-home-card .save,#account-root .account-panel-enter{border:0;padding:10px 15px;border-radius:9px;font-weight:700;background:#176849;color:#fff}
.account-auth h2{margin-top:0}
@media(max-width:560px){.account-header{order:2}}
@media(max-width:400px){.brand{font-size:11px;letter-spacing:.02em;white-space:nowrap}.brand i{width:30px;height:30px;margin-right:6px}.top{gap:4px 8px}.top .language-control select{min-width:0}.account-enter{padding:0 10px}}

/* 1.6: eye to show the password. The button goes inside the field, on the right, without covering the text. */
.pw-reveal{position:relative}
.pw-reveal input,.account-form .field .pw-reveal input{width:100%;padding-right:52px;box-sizing:border-box}
.pw-reveal .pw-eye{position:absolute;top:50%;right:2px;transform:translateY(-50%);width:44px;height:44px;min-height:0;display:grid;place-items:center;padding:0;margin:0;border:0;border-radius:10px;background:transparent;color:inherit;opacity:.75;cursor:pointer}
.pw-reveal .pw-eye:hover,.pw-reveal .pw-eye:focus-visible{opacity:1}
.pw-reveal .pw-eye:focus-visible{outline:2px solid currentColor;outline-offset:-4px}
.pw-reveal input::-ms-reveal{display:none}
/* 1.6: the main button of the account forms (Entrar, Crear cuenta, Guardar) keeps its green color. */
.account-form .actions button.save{background:#176849;color:#fff;border-color:#176849;min-height:44px;padding:10px 18px;font-size:14px}
.account-form .actions button.save:disabled{opacity:.6}

/* 1.9: logo, nombre y lema en el inicio de sesión y en las pantallas de contraseña */
.auth-brand{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;margin:0 0 14px}
.auth-brand img{width:44px;height:44px;border-radius:12px;object-fit:cover;background:#001a17}
.auth-brand-name{font-size:20px;letter-spacing:.02em;color:var(--ink,#142a28)}
.auth-brand-tagline{font-size:12px;color:var(--muted,#657875);line-height:1.3;max-width:260px}
.account-auth h2{text-align:center}
.account-resend{margin-top:8px}
/* 2.0: encabezado más grande y legible */
header .top{align-items:center}
header .brand{align-items:center;flex:1 1 auto;min-width:0;font-size:inherit;letter-spacing:normal;white-space:normal}
header .brand i{width:44px;height:44px;margin-right:12px;flex:none;border-radius:12px}
header .brand-text{min-width:0;line-height:1.2}
header .brand-name{font-size:22px;font-weight:800;color:#fff;letter-spacing:.01em;line-height:1.15}
header .brand-tagline{font-size:13px;font-weight:500;color:#d6edb2;margin-top:3px;line-height:1.3;letter-spacing:0;white-space:normal;overflow-wrap:anywhere}
header .top .private{font-size:12px;font-weight:600;color:#dbe9df;letter-spacing:.02em}
header .top .language-control,header .top .account-header{align-self:center}
@media(min-width:721px){header .brand i{width:52px;height:52px;margin-right:14px;border-radius:14px}header .brand-name{font-size:26px}header .brand-tagline{font-size:14px}}
@media(max-width:560px){header .top{flex-wrap:wrap;gap:6px 6px}header .top .private{order:3;flex-basis:100%;margin-top:2px}header .brand i{margin-right:10px}}
@media(max-width:400px){header .brand i{width:44px;height:44px;margin-right:10px}header .top{gap:6px 4px}header .top .language-control select{min-width:0}}
/* 2.0: pie con la empresa y enlaces legales */
.auth-copyright{margin:2px 0 0;font-size:12px;color:#4f625f}.legal-links{line-height:1.8}
