/* v268r1 — refino progressivo da UI; o original permanece fallback. */
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome .nav-family-section-label{
  grid-column:1/-1;order:1;font:850 .95rem/1.4 system-ui,sans-serif;
  color:#ebf1f7;padding:6px 1px 2px}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome .nav-family-menu-heading{order:0}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome [data-nav-family="config"]{order:2}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome [data-nav-family="participation"]{order:3}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome [data-nav-family="cadastro"]{order:4}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome [data-nav-family="guests"]{order:5}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome [data-nav-family="communication"]{order:6}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome .nav-hub-card:first-of-type{grid-column:auto!important}
html.nav-hub-ready #screen-house.nav-hub-root.nav-hub-guest #familyNavHome .nav-family-section-label{display:none}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome .nav-hub-card{min-height:116px!important}
html.nav-hub-ready #screen-house.nav-hub-root #familyNavHome .nav-hub-copy small{font-size:.82rem!important}
#screen-album .va-haunt-intro{margin:7px 0 10px;color:#d6e4ef;font:750 .87rem/1.45 system-ui,sans-serif}
#screen-album .va-wallet-zero[hidden]{display:none!important}
#screen-album .va-wallet-zero{box-sizing:border-box;display:grid;gap:9px;margin:8px 0 12px;
  padding:13px;border:1px solid #c0a2d6;border-radius:12px;background:#332d46;color:#fff3fa}
#screen-album .va-wallet-zero strong{font-size:.98rem}
#screen-album .va-wallet-zero span{font-size:.83rem;line-height:1.45}
#screen-album .va-wallet-zero button{min-height:48px;border:2px solid #ffb968;border-radius:10px;
  background:#f5a12b;color:#152536;font:900 .89rem/1.3 system-ui,sans-serif}
.va-comment-scope{box-sizing:border-box;margin:10px 0 6px;padding:10px;border:1px solid #7394af;
  border-radius:9px;background:#1b3548;color:#f5f8fc;font:800 .86rem/1.4 system-ui,sans-serif}
.communication-reply-context:not(.hidden){padding:12px!important;border:1px solid #bba6e7!important;
  background:#293752!important;font-size:.87rem!important;line-height:1.5!important}
#familyPublicCommentSubmit{min-height:48px!important;font-size:.93rem!important;white-space:normal!important}
#familyPublicReplyCancelBtn{min-height:44px!important;font-size:.83rem!important}
#adminUxOverview{display:grid;gap:10px;margin:0 0 15px;color:#f5f8fc}
#adminUxOverview h3{font-size:1.35rem;margin:3px 0 0}
#adminUxOverview h4{font-size:1rem;margin:5px 0 0}
#adminUxOverview>p{font-size:.88rem;line-height:1.45;color:#cddbe8;margin:0}
#adminUxOverview button{display:grid;gap:6px;text-align:left;min-width:0;
  min-height:76px;padding:13px;border:1px solid #64849b;border-radius:13px;
  color:#f7f9fc;background:#203a4b;font:inherit;cursor:pointer}
#adminUxOverview button strong{font-size:.99rem;overflow-wrap:anywhere}
#adminUxOverview button small{font-size:.82rem;color:#d4dfe8;line-height:1.36;overflow-wrap:anywhere}
#adminUxOverview .va-admin-pending{border-color:#e9ab5e;background:#453321}
#adminUxPendingCount{display:inline-grid;place-items:center;min-width:28px;height:28px;
  padding:0 5px;border-radius:99px;background:#f5a12b;color:#172535;font-weight:900}
.va-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#adminUxOverview .va-admin-wide{grid-column:1/-1;min-height:60px}
#adminUxBack{display:none;min-height:44px;margin:0 0 9px;padding:8px 14px;
  border:1px solid #ffb86a;border-radius:10px;background:#233b4c;color:#ffe0b6;
  font:850 .9rem/1.3 system-ui,sans-serif}
#adminPanel:not(.va-admin-on-overview) #adminUxOverview{display:none}
#adminPanel:not(.va-admin-on-overview) #adminUxBack{display:block}
#adminPanel.va-admin-on-overview .admin-tabs,#adminPanel.va-admin-on-overview>.admin-pane{display:none!important}
#adminPanel :is(#adminUxBack,#adminUxOverview button):focus-visible,
#screen-album .va-wallet-zero button:focus-visible{outline:3px solid #ffca80;outline-offset:3px}
@media(max-width:390px){.va-admin-grid{gap:6px}#adminUxOverview button{padding:10px}}
@media(prefers-reduced-motion:reduce){
 #screen-map :is([class*="witch"],[class*="bat"]),.vote-fly-animation,.slimer-fly,.gaspar-fly{
   animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
 .nav-hub-card,.va-walking-search-panel{transition-duration:.01ms!important}
}
/* v269r1 — Guloseimas é a ação operacional em destaque de Família,
   com a mesma linguagem visual usada em Explorar, sem virar outro menu. */
html.nav-hub-ready #screen-house.nav-hub-root #familyCandyQuickPanel.nav-candy-quick:not([hidden]){
  border:2px solid #ffa94b!important;
  background:linear-gradient(120deg,#39424a,#243c4a)!important;
  box-shadow:0 5px 18px rgba(0,0,0,.24)!important;
  padding:15px!important;
}
html.nav-hub-ready #screen-house.nav-hub-root #familyCandyQuickPanel .nav-candy-head strong{
  font-size:1.12rem!important;
  color:#fff4e5!important;
}
html.nav-hub-ready #screen-house.nav-hub-root #familyCandyQuickPanel .nav-candy-head span{
  display:inline-flex;align-items:center;min-height:30px;padding:4px 9px;
  border:1px solid rgba(255,190,105,.52);border-radius:999px;
  background:rgba(255,169,75,.12);color:#ffe0b2!important;
  font-size:.78rem!important;
}
html.nav-hub-ready #screen-house.nav-hub-root #familyCandyQuickPanel .nav-candy-intro{
  color:#e6edf4!important;font-size:.86rem!important;margin:7px 0 11px!important;
}
html.nav-hub-ready #screen-house.nav-hub-root #familyCandyQuickPanel .nav-candy-main button{
  min-height:88px!important;border-color:rgba(255,255,255,.24)!important;
  background:#162d3e!important;
}
html.nav-hub-ready #screen-house.nav-hub-root #familyCandyQuickPanel .nav-candy-main button.active,
html.nav-hub-ready #screen-house.nav-hub-root #familyCandyQuickPanel .nav-candy-pause.active{
  border-color:#ffc173!important;background:#5a4025!important;
  box-shadow:inset 0 0 0 1px rgba(255,196,119,.28),0 3px 10px rgba(0,0,0,.18)!important;
}
html.nav-hub-ready #screen-house.nav-hub-root #familyCandyQuickPanel .nav-candy-main button>b{
  font-size:.86rem!important;
}
html.nav-hub-ready #screen-house.nav-hub-root #familyCandyQuickPanel .nav-candy-pause{
  border-color:rgba(255,194,114,.36)!important;background:#2a3b49!important;
}
@media(max-width:350px){
  html.nav-hub-ready #screen-house.nav-hub-root #familyCandyQuickPanel.nav-candy-quick:not([hidden]){
    padding:12px!important;
  }
}

/* v270r1 — Perfil, estados globais e padronização interna da Administração. */
#screen-profile .profile-section-card.va-profile-v270{display:grid;gap:14px}
#screen-profile .va-profile-action-groups{display:grid;gap:12px}
#screen-profile .va-profile-action-section{border:1px solid #49667b;border-radius:15px;background:#172b3a;padding:12px}
#screen-profile .va-profile-action-head{display:grid;gap:3px;margin:0 0 9px}
#screen-profile .va-profile-action-head strong{font-size:1rem;color:#fff4e9}
#screen-profile .va-profile-action-head small{font-size:.8rem;color:#bfd0dd}
#screen-profile .va-profile-action-list{display:grid;gap:8px}
#screen-profile .va-profile-action{min-height:58px!important;text-align:left!important;display:grid!important;gap:3px!important;align-content:center!important;white-space:normal!important}
#screen-profile .va-profile-action::after{content:attr(data-va-hint);display:block;font-size:.76rem;line-height:1.35;font-weight:650;color:#c8d5df}
#screen-profile .va-profile-action.btn.primary::after{color:#fff1df}
#screen-profile .va-profile-session-section{border-color:#72464b;background:#2a2029}
#screen-profile .va-profile-session-section .va-profile-action-head strong{color:#ffd9dd}
#screen-profile .va-profile-privacy{margin:0!important;background:#202a3f!important;border-color:#596984!important}
#screen-profile .va-profile-privacy h4{font-size:.96rem;margin-bottom:6px}
#screen-profile .va-profile-privacy p{font-size:.79rem!important;line-height:1.5!important}

.empty.va-state-card,.va-state-card{box-sizing:border-box;display:grid;justify-items:center;gap:6px;min-height:84px;padding:16px!important;border:1px solid #526e83!important;border-radius:13px!important;background:#192d3b!important;color:#eaf2f8!important;text-align:center!important}
.empty.va-state-card::before{content:'✓';display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#29465a;color:#ddecf7;font-weight:900}
.empty.va-state-card.va-state-error{border-color:#8b555d!important;background:#35252d!important;color:#ffe8eb!important}
.empty.va-state-card.va-state-error::before{content:'!';background:#7b3d48;color:#fff}
.va-state-loading{border-style:solid!important}
.va-state-loading b{font-size:.9rem}.va-state-loading small{font-size:.76rem;color:#bfd0dc}
.va-state-spinner{width:26px;height:26px;border:3px solid rgba(255,255,255,.22);border-top-color:#ffad52;border-radius:50%;animation:vaStateSpin .8s linear infinite}
@keyframes vaStateSpin{to{transform:rotate(360deg)}}

#adminPanel .va-admin-pane-heading{display:grid;gap:4px;margin:0 0 12px;padding:12px 13px;border:1px solid #4e6d83;border-radius:12px;background:#193142}
#adminPanel .va-admin-pane-heading strong{font-size:1rem;color:#fff3e5}
#adminPanel .va-admin-pane-heading small{font-size:.79rem;line-height:1.4;color:#c5d3de}
#adminPanel .admin-pane .btn{min-height:44px;white-space:normal}
#adminPanel .admin-pane :is(input,select,textarea){min-height:44px}
#adminPanel .admin-family-card,#adminPanel .pending-card{border-color:#526f83!important;background:#172b39!important}
#adminPanel .pending-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}
#adminPanel [aria-busy='true']{opacity:.92}
@media(max-width:390px){
  #screen-profile .va-profile-action-section{padding:10px}
  #screen-profile .va-profile-action{min-height:62px!important}
  #adminPanel .pending-actions{grid-template-columns:1fr!important}
  #adminPanel .admin-tabs{gap:5px;overflow-x:auto;padding-bottom:5px}
  #adminPanel .admin-tabs button{flex:0 0 auto;min-width:118px;min-height:46px;white-space:normal}
}
@media(prefers-reduced-motion:reduce){.va-state-spinner{animation:none}}
