/* Nexus Book 12.0, etapa 01: foundations only. */
:root{
  --nx-bg:#f7f3ec;--nx-paper:#fffdf8;--nx-soft:#f0e9df;
  --nx-ink:#352a23;--nx-muted:#75675c;--nx-border:#e5dcd0;
  --nx-brand:#a24f31;--nx-brand-hover:#853c25;--nx-tint:#f5e6da;
  --nx-danger:#a33632;--nx-focus:#a24f31;
  --nx-radius-sm:10px;--nx-radius:16px;--nx-radius-lg:22px;
  --nx-shadow:0 8px 32px #49332109;--nx-shadow-float:0 18px 48px #38251b24;
  --nx-space-1:4px;--nx-space-2:8px;--nx-space-3:12px;
  --nx-space-4:16px;--nx-space-5:24px;--nx-space-6:32px;
  --nx-font-ui:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --nx-font-literary:Georgia,serif;
  --bg:var(--nx-bg);--surface:var(--nx-paper);--paper:var(--nx-paper);
  --ink:var(--nx-ink);--text:var(--nx-ink);--muted:var(--nx-muted);
  --line:var(--nx-border);--accent:var(--nx-brand);--nx-accent:var(--nx-brand);
}
html.premium-dark{
  color-scheme:dark;--nx-bg:#211d1a;--nx-paper:#2a2420;--nx-soft:#352c25;
  --nx-ink:#f4ebe0;--nx-muted:#bcac9d;--nx-border:#4a3d32;
  --nx-brand:#e0a17c;--nx-brand-hover:#efbb96;--nx-tint:#453024;
  --nx-danger:#f08d86;--nx-focus:#efbb96;
  --nx-shadow:0 8px 32px #0003;--nx-shadow-float:0 18px 48px #0008;
  --bg:var(--nx-bg);--surface:var(--nx-paper);--paper:var(--nx-paper);
  --ink:var(--nx-ink);--text:var(--nx-ink);--muted:var(--nx-muted);
  --line:var(--nx-border);--accent:var(--nx-brand);--nx-accent:var(--nx-brand);
}
body{font-family:var(--nx-font-ui)}
button,input,select,textarea{font-family:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid var(--nx-focus);outline-offset:2px
}
button:disabled{opacity:.55;cursor:not-allowed}
#nbAccountShell,.npSection,.npDialog,.npSettings,.npAdmin,.accountCard,
.accountRecoveryCard,.accountMailSettings,.premium-tools{
  border-color:var(--nx-border);color:var(--nx-ink)
}
.npSection,.accountCard,.accountMailSettings,.accountRecoveryCard{
  background:var(--nx-paper);border-radius:var(--nx-radius)
}
.npDialog,.npSettings,.npAdmin,.accountRecoveryDialog{
  background:var(--nx-paper);color:var(--nx-ink);border-radius:var(--nx-radius-lg)
}
.npDialog::backdrop,.accountRecoveryDialog::backdrop{background:#251a1699}
.npSettings .npSection input,.npSettings .npSection button,
.accountRecoveryCard input,.accountRecoveryCard button{
  border-radius:var(--nx-radius-sm)
}
.npSettings .npSection input,.accountRecoveryCard input{
  background:var(--nx-paper);color:var(--nx-ink);border-color:var(--nx-border)
}
.npSettings .npSection input[readonly]{background:var(--nx-soft);color:var(--nx-muted)}
.npSettings .npSection,.accountCard{min-width:0;overflow-wrap:anywhere}
.npSettings .npSection form>*{min-width:0}
.npSettings .npSection .npHint{margin-bottom:var(--nx-space-5)}
.npSettings [data-save],.accountRecoveryCard button{background:var(--nx-brand);color:var(--nx-paper)}
.npSettings .npChoices button[aria-pressed=true]{border-color:var(--nx-brand)!important}
.npSettings .npChoices button[aria-pressed=true]:after{background:var(--nx-brand)}
.npStatus:not(:empty),[role="alert"]:not(:empty){border-color:var(--nx-danger)}
.npStatus:not(:empty){background:var(--nx-paper);color:var(--nx-ink);box-shadow:var(--nx-shadow)}
[aria-busy="true"]{cursor:progress}
@media(prefers-reduced-motion:no-preference){
  button:not(:disabled),input,select,textarea,.npDialog,.npSection{
    transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease
  }
}
@media(prefers-reduced-motion:reduce){
  button,input,select,textarea,.npDialog,.npSection{transition:none!important}
}
