/* WS19-P systemic (b), boot CLS: no transitions while the shell settles (assets/boot-settle.v1.js holds body.pqb-settling
   from <body>'s first paint until two frames after body.booting leaves). Interactions afterwards animate as before. */
body.pqb-settling,body.pqb-settling *,body.pqb-settling *::before,body.pqb-settling *::after{transition:none!important}
/* the page itself stays unpainted while booting (the loader, #bootmark, is what shows): content that painted before the shell
   class arrived jumped 200px right when the rail's padding landed. Invisible content is not a layout shift.
   setChrome() drops body.booting on EVERY view (gate included); the 3s reveal is a safety net for any path that never lands. */
body.booting #app{visibility:hidden;animation:pqb-boot-reveal 0s linear 3s forwards}
@keyframes pqb-boot-reveal{to{visibility:visible}}

/* ---- the table spec (ORCHA ruling c): numbers right-aligned in tabular figures, one row height, one date format ---- */
/* the quote document: Qty / Unit / Line total were centred under centred headers, so $32,000 and $21,500 shared no edge */
#out table.qdoc-t th.num,#out table.qdoc-t td.c,#out table.qdoc-t td.linetot{text-align:right;font-variant-numeric:tabular-nums}
/* every register table carries the one row model on desktop (it reached only a few: Catalog, Approvals, Owner Quotes, ...) */
@media(min-width:768px){.qt td{height:var(--row-h)}}
.qt td.num,.qt td.r,.qt th.r,.qt th.num{text-align:right;font-variant-numeric:tabular-nums}
.pqb-day{white-space:nowrap}

/* ---- the one failed state (plain words + Try again), whatever surface it sits on ---- */
[data-state="failed"] .d-btn,[data-state="failed"]>button{margin-left:var(--s2);vertical-align:middle}
.pqbk-empty>.d-btn{margin-top:var(--s3)}

/* ---- one status chip (ruling c): the shared .qstat, with the needs-you / working / neutral tones for non-quote statuses ---- */
.qstat.st-warn{--cf-ink:var(--c-warn);--cf-bg:var(--c-warn-bg)}
.qstat.st-good{--cf-ink:var(--c-good);--cf-bg:var(--c-good-bg)}
.qstat.st-neutral{--cf-ink:var(--c-neutral);--cf-bg:var(--c-neutral-bg)}
