/* Survivor One v0.3.22 — pre-paint presentation stability only.
   Prevents legacy/additive intermediate UI from being painted before the current
   presentation layers finish, and makes Control Room tab contrast correct from
   the first painted frame instead of waiting for JavaScript post-processing. */

/* A base app render is hidden only for the current frame while additive UI
   enhancers settle. Top/bottom chrome remains visible and stable. */
#app.v0322-stabilizing .shell .content{visibility:hidden!important}

/* Panels are inserted by the frozen base first and enhanced additively. Never
   paint that intermediate panel body. The v0.3.22 runtime releases it on the
   next animation frame after all registered MutationObservers have settled. */
.panel-view:not(.v0322-ready) .panel-content{visibility:hidden!important}

/* The active Control Room background is the user's --accent color. Its text
   color is precomputed once from that exact accent and is available before a
   tab can paint. This also outranks the older data-tone correction selectors. */
.v0318-control-room .v0318-tab.active,
.v0318-control-room .v0318-tab.active[data-v0320-tone]{
  color:var(--v0322-accent-ink,#071018)!important;
  -webkit-text-fill-color:var(--v0322-accent-ink,#071018)!important;
  text-shadow:none!important
}

/* Inactive tabs always inherit the normal app foreground once the old active
   tab is deselected; v0.3.22 removes stale inline contrast styles synchronously. */
.v0318-control-room .v0318-tab:not(.active){
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important
}
