/* Official shared PNG in both themes. Admin139 BASE ATUAL expressly supersedes
   the old solid Blue background instruction; theme changes action/accent colors. */
:root {
  --nexa-background: url("/static/brand/nexa-background-20260916.png");
  --nexa-home-background: var(--nexa-background);
  --nexa-selected-background:var(--nexa-background);
  --nexa-primary: #C7C4D9;
  --nexa-primary-text: #303440;
  --nexa-focus: #4B4F5E;
}
:root[data-nexa-theme="blue_breeze"], body[data-authenticated-theme="blue_breeze"], body[data-core-theme="blue_breeze"] { --nexa-primary: #8EA2B7; }
body[data-authenticated-theme="lavender"], body[data-core-theme="lavender"] { --nexa-primary:#C7C4D9; }
html { min-height:100%; background:#FAFAF8; }


:root[data-nexa-theme="blue_breeze"] :is(.home-day-action,.home-quick-grid a,.home-round-icon) { background-image:none; }
body, body.compact-auth, body.admin-page { --nexa-background:url("/static/brand/nexa-background-20260916.png")!important; background:var(--nexa-background)!important; background-attachment:scroll!important; background-repeat:no-repeat!important; background-size:100% 100%!important; }
body::before { background-image:none; mask-image:none; }
body[data-authenticated-theme] main, .authenticated-home { background:transparent!important; }
.authenticated-home { border-color:transparent; box-shadow:none; }
.admin-profile-page { container-type:inline-size; }
.admin-page .admin-page-heading { background:transparent; }
.profile-photo-row, .profile-photo-actions { flex-wrap:wrap; }
@container (max-width:680px) { .admin-profile-layout { grid-template-columns:minmax(0,1fr); } }
.admin-sidebar nav a, aside nav a, aside nav .nav-parent { align-items:center; }
.admin-sidebar nav a > span { align-self:center; }
:is(.primary,.auth-primary,.profile-save,form button[type="submit"],form button:not([type])):not(.secondary):not(.danger):not(.password-visibility):not([data-admin-logout]),
.compact-auth .public-login-card .auth-primary, .onb-page button:not(.secondary), .onb-button {
  background:var(--nexa-primary)!important; border-color:var(--nexa-primary)!important; color:var(--nexa-primary-text)!important;
}
:is(.primary,.auth-primary,.profile-save,form button[type="submit"],form button:not([type])):not(:disabled):hover { filter:none; box-shadow:0 0 0 1px var(--nexa-focus); }
:is(.primary,.auth-primary,.profile-save,form button[type="submit"],form button:not([type])):not(:disabled):active { filter:none; box-shadow:inset 0 0 0 2px var(--nexa-focus); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline:3px solid var(--nexa-focus); outline-offset:3px; }
:is(.primary,.auth-primary,.profile-save,form button[type="submit"],form button:not([type])):disabled { opacity:.55; cursor:not-allowed; }
button.secondary,.button.secondary { background:transparent; border:1px solid var(--nexa-focus); color:var(--nexa-focus); }
