/* static/hz/pages/states.css: the states of a page in the new look (UI migration Phase 4, OI-413 (ui)).
   The fixed loading shapes that were here (and templates/hz/_loading.html) are gone: every loading shape is drawn by static/hz/skeleton.js.
   2. the standalone frame (templates/hz/_bare.html): a slim top bar and a centred column for sign-in, errors and legal pages. */

/* ---- 2. the standalone frame ---- */
.app[data-sid="error"],.app[data-sid="legal"]{ overflow-y:auto }
/* SU3: every screen without tabs starts at ONE top offset, the mock's (--hz-bare-top, hz-app.css): the bare bar here, Setup in setup.css */
.hzb-bar{ position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; padding:var(--hz-bare-top) 20px 0 }
.app[data-medium="desk"] .hzb-bar{ max-width:73.75rem; width:100%; margin:0 auto; padding:var(--hz-bare-top) 28px 0 }
.hzb-col{ position:relative; z-index:1; width:100%; margin:0 auto; padding:20px 20px 40px }
.app[data-medium="tabP"] .hzb-col,.app[data-medium="tabL"] .hzb-col{ padding:24px 24px 40px }

/* ---- 3. How it works: each diagram plays its steps in turn (Lively motion; design/hz-mock/review15.css `.flow.play`) ---- */
[data-motion="lively"] .flow.play span{ animation:hzs-step 600ms var(--ease-enter,ease-out) both; animation-delay:calc(var(--fd,0ms) + var(--n,0) * 260ms) }
[data-motion="lively"] .flow.play span:nth-of-type(1){ --n:0 } [data-motion="lively"] .flow.play span:nth-of-type(2){ --n:1 }
[data-motion="lively"] .flow.play span:nth-of-type(3){ --n:2 } [data-motion="lively"] .flow.play span:nth-of-type(4){ --n:3 }
[data-motion="lively"] .flow.play i{ animation:hz-fade 400ms ease both; animation-delay:calc(var(--fd,0ms) + 200ms) }
@keyframes hzs-step{ 0%{ opacity:0; transform:translateY(6px) } 60%{ opacity:1; box-shadow:0 0 0 3px rgba(var(--acc-rgb),.35) } 100%{ opacity:1; transform:none; box-shadow:0 0 0 0 rgba(var(--acc-rgb),0) } }
@media (prefers-reduced-motion:reduce){ .flow.play span,.flow.play i{ animation:none } }
