/* Scoped studio queue. All spacing and colors leave the existing proof UI alone. */
.studio-queue{--queue-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,.9fr) minmax(0,1.45fr) 5.6rem;margin:0 auto;max-width:1100px;color:var(--ink);font-family:var(--sans)}
.studio-queue__hero{display:flex;align-items:start;justify-content:space-between;gap:1.5rem;padding-bottom:1.25rem;border-bottom:1px solid var(--line)}
.studio-queue__kicker{font-size:.75rem;font-weight:700;letter-spacing:.13em;margin-bottom:.35rem}
.studio-queue__title{font:400 clamp(2.85rem,7vw,5.45rem)/.98 var(--serif);letter-spacing:-.035em;margin:0 0 .55rem}
.studio-queue__description{color:var(--muted);margin:0;max-width:42ch}
.studio-queue__boundary{flex:none;border:1px solid var(--line);border-radius:99rem;padding:.35rem .65rem;margin:0;color:var(--muted);font-size:.78rem;font-weight:600}
.studio-queue__tools{display:flex;flex-wrap:wrap;align-items:end;column-gap:1.25rem;row-gap:.75rem;margin:1rem 0 1.15rem}
.studio-queue__search{display:flex;flex:1 1 13rem;flex-direction:column;gap:.3rem;min-width:0;font-size:.86rem;font-weight:600}
.studio-queue__search input{width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:4px;padding:.5rem .65rem;background:#fff;color:var(--ink);font-size:1rem}
.studio-queue__search input::placeholder{color:var(--muted)}
.studio-queue__filters{display:flex;flex-wrap:wrap;gap:.38rem;align-items:center;min-width:0}
.studio-queue__filter{display:inline-flex;align-items:center;gap:.3rem;min-height:44px;border:1px solid var(--line);border-radius:99rem;padding:.36rem .63rem;color:var(--ink);background:var(--paper);font-size:.84rem;font-weight:600;text-align:left}
.studio-queue__filter-count{min-width:1.35rem;padding:0 .18rem;border-radius:99rem;background:var(--soft);color:var(--ink);font-size:.72rem;text-align:center;line-height:1.35rem}
.studio-queue__filter:hover{border-color:var(--ink)}
.studio-queue__filter[aria-pressed="true"]{color:#fff;background:var(--ink);border-color:var(--ink)}
.studio-queue__filter[aria-pressed="true"] .studio-queue__filter-count{color:#fff;background:#ffffff25}
.studio-queue__count{color:var(--muted);margin:0 0 .5rem;font-size:.88rem}
.studio-queue__columns,.studio-queue__row{display:grid;grid-template-columns:var(--queue-columns);gap:clamp(.5rem,1.4vw,1.25rem);align-items:center;padding:.6rem .7rem}
.studio-queue__columns{background:var(--soft);border:1px solid var(--line);border-bottom:0;font-size:.79rem;font-weight:700}
.studio-queue__list{margin:0;padding:0;list-style:none;border:1px solid var(--line)}
.studio-queue__item + .studio-queue__item{border-top:1px solid var(--line)}
.studio-queue__row{position:relative;min-height:76px;color:inherit;text-decoration:none}
a.studio-queue__row:hover{background:#f7f5ee}
a.studio-queue__row:focus-visible{z-index:1;outline-offset:-3px}
.studio-queue__row > span{min-width:0}
.studio-queue__identity{display:flex;align-items:center;gap:.64rem}
.studio-queue__thumb{flex:none;width:42px;height:52px;background:#e8e4d7;border:1px solid var(--line);overflow:hidden}
.studio-queue__thumb img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.studio-queue__nameplate,.studio-queue__progress,.studio-queue__context{display:flex;flex-direction:column;min-width:0}
.studio-queue__name{font-size:.97rem;line-height:1.25;overflow-wrap:anywhere}
.studio-queue__id,.studio-queue__date{font-size:.8rem;color:var(--muted)}
.studio-queue__badge{display:inline-block;border-radius:4px;padding:.23rem .42rem;background:var(--soft);font-size:.79rem;font-weight:700;line-height:1.28;overflow-wrap:anywhere}
.studio-queue__badge--new-order,.studio-queue__badge--needs-studio{color:#792a19;background:#fbe8dd}
.studio-queue__badge--ready-print{color:#214837;background:#e4eee2}
.studio-queue__badge--completed{color:#334c40;background:#e8eee6}
.studio-queue__progress{gap:.24rem}
.studio-queue__progress-text{font-size:.82rem;line-height:1.3}
.studio-queue__meter{display:block;height:4px;max-width:7.8rem;border-radius:2rem;overflow:hidden;background:#e8e4da}
.studio-queue__meter-fill{display:block;height:100%;background:#37604b;border-radius:2rem}
.studio-queue__context{gap:.12rem;overflow-wrap:anywhere}
.studio-queue__detail{font-size:.87rem;line-height:1.35;color:var(--muted)}
.studio-queue__open{color:#8a301d;font-size:.83rem;font-weight:700;text-align:right;white-space:nowrap}
.studio-queue__empty{padding:1.55rem .85rem;text-align:center;border:1px dashed var(--line);color:var(--muted)}
.studio-queue__empty h2{margin:0 0 .35rem;color:var(--ink)}
.studio-queue__empty p{margin:0 0 .3rem}
.studio-queue__clear{border:none;background:transparent;text-decoration:underline;color:var(--ink);font-weight:600;min-height:44px}
@media(max-width:900px){
 .studio-queue__tools{align-items:start;flex-direction:column}
 .studio-queue__search{flex:auto;width:min(100%,25rem)}
}
@media(max-width:700px){
 .studio-queue__hero{flex-direction:column;gap:.65rem;padding-bottom:.85rem}
 .studio-queue__boundary{order:-1}
 .studio-queue__tools{gap:.66rem;margin:.75rem 0 .95rem}
 .studio-queue__columns{display:none}
 .studio-queue__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:.55rem;row-gap:.5rem;padding:.72rem .65rem}
 .studio-queue__identity{grid-column:1/-1}
 .studio-queue__state,.studio-queue__progress{align-self:start}
 .studio-queue__context{grid-column:1/-1}
 .studio-queue__open{grid-column:1/-1;text-align:left}
}
.studio-queue__email{display:block;color:var(--muted);font-size:.85rem;line-height:1.2;overflow-wrap:anywhere}
