/**
 * Sticker Studio — cutline editor, design 4a.
 *
 * Recreated from design_handoff_cutline_editor/. The mockup carries its design
 * in 90 inline style attributes and 10 class names, so it cannot be lifted
 * directly; the values below are transcribed from it and from the repo
 * stylesheets the handoff says they came from.
 *
 * Loaded only when the 4a layout is switched on, so the existing studio is
 * untouched while this is built.
 */

.asp-4a {
    /* Handoff tokens — every value is quoted in its README. */
    --a4-dark:      #2d384b;   /* primary CTA, active borders          */
    --a4-blue-mid:  #3f5b95;   /* section labels, price                */
    --a4-blue:      #1ab0e0;   /* selection, sliders                   */
    --a4-teal:      #048882;   /* success, quality badge               */
    --a4-on-dark:   #86abd8;   /* light blue text on the printed pane  */
    --a4-border:    #d1d5db;
    --a4-hairline:  #e5e7eb;
    --a4-muted:     #6b7280;
    --a4-canvas:    #fafafa;
    /* Process cyan 100/0/0/0 — the design system's cut-line colour. The
       canvas strokes the same value in sticker-upload.js; if one moves the
       other has to, or the legend stops describing the line it sits under. */
    --a4-cut:       #00AEEF;
    --a4-bleed:     rgba(236, 31, 163, .14);

    /*
     * Wider than the handoff's 236px. That width holds the mockup's
     * controls; it does not hold the real ones — a 2x2 shape grid, four
     * border pills, the cut-size readout and the sheet diagram. Reported as
     * "too narrow for the tools in it".
     */
    /* 104px: a 72px tile plus its 8px padding and the column's 16px either
       side. The rail holds the designs and nothing else now — the order
       details it was sized for moved to the cut panel. */
    --a4-rail-l:    120px;
    --a4-topbar:    60px;

    /*
     * The adjusted design drops the plugin's own palette for the site's. These
     * are the theme tokens by value — the editor renders inside a modal on the
     * product page and cannot rely on the theme stylesheet being loaded, so it
     * carries its own copies rather than var()-ing at something that may not
     * be there.
     */
    --a4-navy:      #2d3445;   /* selected shape fill                  */
    --a4-tint:      #e3f6fc;   /* selected quantity, cut-size note     */
    --a4-line:      rgba(45, 56, 75, .14);
    --a4-ready-bg:  #e9f8ef;   /* the artwork-ready strip              */
    --a4-ready-ink: #1e7a46;

    /*
     * ─── POPPINS, LIKE THE REST OF THE SITE AND THE DESIGN ───────────────
     *
     * This asked for brandon-grotesque, which NOTHING LOADS — there is no
     * Typekit link on the page — so every weight in the studio was resolving
     * to system-ui. That is why the type read heavier than the handoff: SF
     * and Poppins distribute weight differently, and 400 in one is not 400 in
     * the other.
     *
     * The theme's --font-sans is already Poppins, the page already fetches
     * weights 400-800 for it, and the handoff specifies it. The fallback
     * repeats the token's own stack so the plugin still renders correctly if
     * the theme's tokens.css is not in play.
     */
    font-family: var(--font-sans, 'Poppins', system-ui, -apple-system, sans-serif);
    color: var(--a4-dark);
    background: #fff;
    display: grid;
    /*
     * Three tracks for what can be three children. This was `60px 1fr` — a
     * template written for topbar + body — and on a bundle the productrow
     * makes a third child: it landed in the 1fr track and the body fell to
     * an implicit auto row. Nobody saw it for weeks because a laptop's body
     * fills the viewport and the slack was zero; on a 1440p monitor the
     * canvas runs out before the screen does and every leftover pixel was
     * dumped into the tabs band as dead white. The auto track costs nothing
     * when the productrow is hidden — display:none collapses it.
     */
    /*
     * Two rows, not three. The middle one was the product row, which is now
     * display:none — an `auto` track with no in-flow child still participates,
     * and the 1fr below it stopped reaching the bottom of the modal, leaving a
     * white band under the columns.
     */
    grid-template-rows: var(--a4-topbar) 1fr;
    height: 100%;
}

/* ── Topbar ───────────────────────────────────────────────────────────── */
.asp-4a__topbar {
    display: flex; align-items: center; gap: 16px;
    /* See --a4-maxw. Collapses to the original 16px below the cap. */
    padding: 0 max(16px, calc((100% - var(--a4-maxw)) / 2 + 16px));
    background: #fff;
}
/*
 * Sized by WIDTH, like the studio modal's logo and for the same reason: this
 * SVG has no intrinsic width or height, so `width: auto` resolves to 100% of
 * the container. Sized by height alone it fills the bar and pushes the
 * controls out of reach.
 */
/* The mark sits beside the wordmark, so it is sized to the bar's text, not to
   a hero. `height` alone is not enough — this SVG's intrinsic width then
   decides, and it is far wider than the bar. */
.asp-4a__logo { width: 104px; height: auto; display: block; flex: none; }
@media (min-width: 768px) {
  /* 118, not 180: the mark now shares the bar with the StickerStudio
     wordmark, and 180 filled it. */
  .asp-4a__logo { width: 118px; }
}
/*
 * The product, and under it what the order is. Sentence case: this is the
 * product's own name, and uppercasing it made a 40-character title shout.
 * The layout and colours for the dark bar are below, on the same selector —
 * do not add a second copy of this rule, which is how the uppercase survived
 * a merge that was supposed to remove it.
 */
.asp-4a__context {
    font-size: 12px; font-weight: 700; color: var(--a4-blue-mid); white-space: nowrap;
}
.asp-4a__spacer { flex: 1 1 auto; }
.asp-4a__topbar .asp-4a__iconbtn { margin-left: 0; }

/*
 * Edit / Split / Printed — floating over the canvas it controls.
 *
 * It used to sit in the topbar between the product name and the order buttons,
 * where it read as a fourth decision about the order rather than a way of
 * looking at the artwork.
 */
.asp-4a__seg {
    position: absolute; top: 20px; left: 50%; transform: translateX(-50%); z-index: 3;
    display: inline-flex; padding: 4px; gap: 2px;
    background: #fff; border: 1.5px solid rgba(45, 56, 75, .12); border-radius: 999px;
    box-shadow: 0 6px 16px rgba(36, 41, 56, .1);
}
.asp-4a__seg button {
    border: 0; background: transparent; cursor: pointer;
    font: inherit; font-weight: 700; font-size: 13px; line-height: 1; color: #555b68;
    padding: 8px 18px; border-radius: 999px;
}
.asp-4a__seg button[aria-pressed="true"] { background: var(--a4-navy); color: #fff; }
/*
 * What a pill can carry beside its word: the Cut line button's dashes — the
 * legend that used to be a chip of its own on the artboard — and the Ruler and
 * Artboard icons, which dim when that display is off (Dennis, 2026-10-14).
 */
.asp-4a__seg button { display: inline-flex; align-items: center; gap: 7px; }
.asp-4a__seg .sw-cut { display: inline-block; width: 20px; height: 0; border-top: 2.5px dashed var(--a4-cut); }
.asp-4a__seg--display button[aria-pressed="false"] svg { opacity: .5; }

/*
 * ─── ONE FILLED BUTTON ────────────────────────────────────────────────────
 *
 * The design allows exactly one, and it is add-to-cart. Everything else in the
 * bar is quieter than the thing it sits next to: the bug is an icon, Exit is
 * text, "have a person check it" is an outline. Six equal-weight uppercase
 * pills is what this was, and it made leaving look as reasonable as buying.
 *
 * Sentence case, 13px, per the design — the uppercase 11.5px was the plugin's
 * own house style and is not the site's.
 */
.asp-4a__btn {
    display: inline-flex; align-items: center; gap: 8px;
    border-radius: 999px; cursor: pointer; white-space: nowrap;
    font: inherit; font-weight: 700; font-size: 13px; line-height: 1; padding: 11px 18px;
}
.asp-4a__btn--outline { background: #fff; border: 1.5px solid rgba(45, 56, 75, .22); color: var(--a4-dark); }
.asp-4a__btn--outline svg { color: var(--a4-blue); }
.asp-4a__btn--go {
    background: var(--a4-blue); border: 1.5px solid var(--a4-blue); color: #fff;
    padding: 11px 22px; box-shadow: 0 4px 12px rgba(26, 176, 224, .35);
}
.asp-4a__btn--go:hover:not([disabled]) { background: #159ac6; border-color: #159ac6; }
.asp-4a__btn--go[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* The debug-only report control: an icon, and only where may_report() allows. */
.asp-4a__iconbtn {
    width: 34px; height: 34px; flex: none; margin-left: auto;
    display: grid; place-items: center;
    border: 0; border-radius: 50%; background: transparent;
    color: #9aa0ad; cursor: pointer;
}
.asp-4a__iconbtn:hover { background: var(--color-surface-alt, #e4e4e4); color: #555b68; }

.asp-4a__exit {
    border: 0; background: transparent; cursor: pointer;
    font: inherit; font-weight: 600; font-size: 13px; line-height: 1; color: #555b68; padding: 10px 6px;
}
.asp-4a__exit:hover { color: var(--a4-dark); }
.asp-4a__divider { width: 1px; height: 24px; background: rgba(45, 56, 75, .14); flex: none; }

/* ── Body: three columns ──────────────────────────────────────────────── */
/*
 * ─── THE LAYOUT STOPS GROWING SOMEWHERE ─────────────────────────────────
 *
 * The three shell rows each spanned the whole viewport and their contents are
 * pushed to the two ends, so the wider the screen the further apart everything
 * sat. Measured at 2055px: the body resolved to `340px 1715px` — the rail
 * pinned at its fixed width while the canvas took every remaining pixel — and
 * the slot chips ended at x 890 with "1 of 5 artwork slots used" stranded out
 * at x 1923. Nothing was broken in the CSS sense; there was simply no cap, and
 * a full-bleed row on a 27" display is a row with a metre of nothing in it.
 *
 * A measure, then, shared by all three rows so their contents stay on the same
 * left and right edges as each other. The BACKGROUNDS still span the full
 * width — the white bar and its hairline are chrome and should reach the edges;
 * it is the content inside them that is bounded.
 *
 * Done with padding rather than an inner wrapper because these rows are flex
 * containers whose children are positioned against them, and introducing a
 * wrapper would have meant re-pointing every one of those rules. Below the cap
 * max() yields the original padding exactly, so narrow screens are untouched.
 */
/*
 * ─── ONE CAP, READ BY THE BAR AND THE BODY BOTH ──────────────────────────────
 *
 * It lives here and ONLY here. It used to be declared three times — 1600px on
 * this element for the top bar, then redeclared 1900px on .asp-4a__body and
 * 2500px on its console variant — and a custom property redeclared on a child
 * is invisible to that child's siblings. So the bar centred its contents in
 * 1600px while the row beneath it used 1900px, and the logo sat 166px right of
 * the rail it is supposed to line up with. Measured at a 2048px studio: logo
 * at 496, body at 330.
 *
 * Anything that wants a different cap changes it HERE, on a modifier of the
 * root, so both rows move together. The console does exactly that below.
 */
.asp-4a { --a4-maxw: 1900px; }

/*
 * Pay for the console's column rather than taking it off the canvas. At 1600px
 * the canvas lost a quarter of its width the moment the console appeared, which
 * made the tool for looking at cutlines worse at showing cutlines. Raised again
 * when the cut panel became a fourth column.
 *
 * On the ROOT, not on .asp-4a__body--console, so the top bar widens with it.
 * studio-4a.js sets both classes — see setConsole().
 */
.asp-4a--console { --a4-maxw: 2500px; }

/*
 * ─── THREE COLUMNS: THE ORDER, THE ARTWORK, THE CUT ──────────────────────────
 *
 * Left is what you are BUYING — bundle, finish, turnaround, quantity. Centre is
 * the ARTWORK. Right is the CUT: the question, and the tools if the answer is
 * no.
 *
 * The cut panel used to be the second card in the left rail, under the order,
 * which is the order a form is filled in and not the order a proof is read. The
 * customer is looking at their artwork and being asked about the line drawn on
 * it, and the answer was two columns away.
 *
 * clamp() for the width, not a media query — same reasoning as the console rail
 * below: 300px at a laptop, 380px on a large monitor, no new rung on the
 * breakpoint ladder.
 */
.asp-4a__body {
    display: grid;
    grid-template-columns: var(--a4-rail-l) minmax(0, 1fr) clamp(300px, 21vw, 380px);
    min-height: 0;
    width: 100%;
    max-width: var(--a4-maxw);
    margin-inline: auto;
}

/*
 * ─── THE PROOF CONSOLE TAKES A THIRD COLUMN ──────────────────────────────────
 *
 * Staff only, so the modifier is on the body and not just the panel: an empty
 * column reserved for markup that is not there would narrow the canvas for every
 * customer.
 *
 * NO NEW BREAKPOINT, and it was tempting. clamp() does the job a media query
 * would: 240px of column on a 1100px laptop, 420px on Dennis's monitor, tracking
 * the viewport in between. The ladder's top rung is 1200px — too low to be the
 * threshold for "wide enough for three columns" and too high to be useful — and
 * the right answer turned out not to need a rung at all.
 *
 * Below 1100px the existing collapse rule takes over and the panel stacks under
 * the canvas, which is the correct order for a tool you consult rather than
 * operate.
 */
.asp-4a__body--console {
    grid-template-columns: var(--a4-rail-l) minmax(0, 1fr) clamp(300px, 21vw, 380px) clamp(240px, 17vw, 360px);
    /* The cap that pays for this column is on .asp-4a--console — see it for why. */
}

/* ── The cut panel ────────────────────────────────────────────────────────── */
.asp-4a__cutpanel {
    min-width: 0; min-height: 0; overflow-y: auto;
    padding: 20px 20px 32px;
    background: #fff;
    border-left: 1px solid var(--a4-line);
}
/* The step inside it is now the whole column; it does not need its own card. */
.asp-4a__cutpanel .asp-4a__step {
    border: 0; border-radius: 0; padding: 0; background: transparent;
}
.asp-4a__cutpanel .asp-4a__step--active { border: 0; }

/* ── Left rail: guided steps ──────────────────────────────────────────── */
/*
 * 16 + 72 + 16 = 104 for the tile and its gutters, plus ~16 for the scrollbar
 * track. At 104 the rail scrolls as soon as there are more than a few designs
 * and the bar sat over the tiles' right edge, clipping the thumbnails and the
 * number badge. `scrollbar-gutter: stable` below reserves it whether or not it
 * is showing, so the tiles do not shift when the list grows.
 */
.asp-4a__steps {
    display: flex; flex-direction: column; gap: 16px;
    padding: 20px 16px 32px; background: #fff;
    border-right: 1px solid rgba(45, 56, 75, .12);
    overflow: auto;
}
.asp-4a__step {
    border: 1.5px solid var(--a4-line); border-radius: 16px; padding: 16px 18px;
    background: #fff; text-align: left;
}
/* Blue, not navy: the active card and the numbered badges are the same colour. */
.asp-4a__step--active { border: 2px solid var(--a4-blue); }
/*
 * No dimming. --upcoming faded this card to 60%, which was reasonable when it
 * held an empty "Order" placeholder and is not now it holds "What we did" —
 * the studio's explanation of what it changed about the customer's artwork,
 * greyed out as though it were disabled.
 */
.asp-4a__step-head { display: flex; align-items: center; gap: 10px; }
.asp-4a__badge {
    width: 24px; height: 24px; border-radius: 50%; flex: 0 0 24px;
    display: grid; place-items: center;
    font: inherit; font-weight: 800; font-size: 12px; line-height: 1; background: var(--a4-blue); color: #fff;
}
.asp-4a__step-title { font: inherit; font-weight: 700; font-size: 13px; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: var(--a4-dark); }
.asp-4a__step-sub   { font-size: 12.5px; font-weight: 600; color: var(--a4-blue); margin-top: 8px; }

.asp-4a__label {
    font: inherit; font-weight: 700; font-size: 11.5px; line-height: 1; text-transform: uppercase; letter-spacing: .08em;
    color: #555b68; margin: 14px 0 8px;
}
.asp-4a__pills      { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/*
 * Flex, so the row fits however many options there are. It was
 * repeat(4, 1fr) — a count baked into the stylesheet — and dropping "None"
 * from borders() would have left a fourth empty column holding a gap.
 */
.asp-4a__pills--row { display: flex; gap: 8px; }

/* The gap-fill stepper: two square endcaps around the value they change. */
.asp-4a__stepper { align-items: center; gap: 10px; }
/* The bar replaced it: the position is shown, and the number is on the label. */
.asp-4a__stepper .asp-4a__stepper-value { display: none; }
.asp-4a__stepper .asp-4a__stepper-btn { flex: 0 0 44px; font-size: 15px; line-height: 1; }
.asp-4a__stepper .asp-4a__stepper-btn:disabled { opacity: .35; cursor: default; }
.asp-4a__stepper-value {
	flex: 1; text-align: center; font-weight: 700; font-size: 12.5px;
	font-variant-numeric: tabular-nums;
}
.asp-4a__pills--row .asp-4a__pill { flex: 1; }
.asp-4a__pill {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    border: 1.5px solid rgba(45, 56, 75, .18); border-radius: 12px;
    background: #fff; color: var(--a4-dark); cursor: pointer;
    font: inherit; font-weight: 700; font-size: 13px; line-height: 1; padding: 11px 8px;
}
/*
 * The two rows answer different questions and the design colours them
 * differently on purpose: SHAPE fills navy, WHITE BORDER fills blue. Both used
 * to be "grow a 2px dark border", which read as focus rather than selection and
 * made the two rows indistinguishable at a glance.
 */
.asp-4a__pill[aria-pressed="true"] {
    background: var(--a4-navy); border-color: var(--a4-navy); color: #fff;
}
.asp-4a__pills--row .asp-4a__pill { border-radius: 999px; font-size: 12.5px; padding: 9px 4px; color: #555b68; }
.asp-4a__pills--row .asp-4a__pill[aria-pressed="true"] {
    background: var(--a4-blue); border-color: var(--a4-blue); color: #fff;
}
.asp-4a__pill--wide { width: 100%; }
/* Background: the labels differ in length, so the pills take the width their
   label needs instead of a third each — "Remove shadow too" broke onto two
   lines inside a pill at the panel's 270px. */
#asp-4a-bg .asp-4a__pill,
#asp-4a-fill .asp-4a__pill { flex: 1 1 auto; padding-inline: 10px; white-space: nowrap; }
/* Four answers do not fit one row at that width; the row wraps rather than
   running out of the panel. */
#asp-4a-bg,
#asp-4a-fill .asp-4a__pills { flex-wrap: wrap; }

/* ── Artwork size and position (shapes only) ──────────────────────────── */
/*
 * Shown only for a circle / rectangle / rounded rectangle — for a contour cut
 * the sticker is the artwork's silhouette and there is nothing to place.
 */
.asp-4a__label--row {
    display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.asp-4a__value {
    font: inherit; font-weight: 700; font-size: 11px; line-height: 1; letter-spacing: 0; text-transform: none;
    color: var(--a4-dark);
}
.asp-scale-warn-icon { margin-left: 4px; color: #b45309; cursor: help; }

.asp-4a__range {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 4px; margin: 0;
    border-radius: 999px; background: var(--a4-hairline); cursor: pointer;
}
.asp-4a__range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 15px; height: 15px; border-radius: 50%;
    background: var(--a4-blue); border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3); cursor: pointer;
}
.asp-4a__range::-moz-range-thumb {
    width: 15px; height: 15px; border-radius: 50%;
    background: var(--a4-blue); border: 2px solid #fff; cursor: pointer;
}

.asp-4a__hint { margin: 6px 0 0; font-size: 10.5px; line-height: 1.45; color: var(--a4-muted); }

.asp-4a__check {
    display: flex; align-items: center; gap: 6px;
    margin-top: 8px; font: inherit; font-weight: 500; font-size: 10.5px; line-height: 1.3; color: var(--a4-muted); cursor: pointer;
}
.asp-4a__check input { margin: 0; }

/*
 * No DETAIL slider.
 *
 * The handoff specifies one ("Smooth <-> Exact"), but smoothing is skipped
 * whenever the traced path carries Bezier handles, which is essentially
 * always, and forcing it on took sharp corners from 2 to 12 on a measured
 * case. A control that does nothing is worse than no control: it invites
 * tuning that cannot work and teaches the operator the wrong model of the
 * tracer. Removed until something real drives it.
 */
.asp-4a__note {
    font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0;
    font-size: 12px; color: #555b68; padding-left: 8px;
}

/* ── Centre: split preview ────────────────────────────────────────────── */
/*
 * Split is an overlay, not two halves.
 *
 * Two 290px rails leave the centre narrow before anything is drawn in it, and
 * halving what is left gave two panes too small to judge a cutline in — which
 * is the one job this screen has.
 *
 * So the edit pane keeps the full centre and the printed view sits over it as
 * a picture-in-picture. Clicking it is the same as pressing PRINTED, which is
 * what makes the small size acceptable: it is a glance, and the full view is
 * one click away rather than permanently occupying half the screen.
 */
.asp-4a__panes { display: grid; grid-template-columns: 1fr; min-width: 0; position: relative; padding-top: 56px; }

/*
 * ─── THE VIEW SWITCH NOW CHOOSES A SCENE ────────────────────────────────
 *
 * Edit / Split / Printed described one thing between them: whether the
 * floating "Printed — what arrives" card was showing, and how big. That card
 * is retired, so the rules that positioned it went with it.
 *
 * Cut line is the artboard. The three scenes replace it with a drawing of the
 * sticker on something, at its real relative size.
 */
.asp-4a--view-preview .asp-4a__pane--edit { display: none; }

/* Preview: the sticker on the dark ground the printed card used, full pane. */
.asp-4a__pane--preview {
    background: var(--a4-dark);
    align-content: center; justify-items: center; gap: 14px;
}
.asp-4a__pane--preview[hidden] { display: none; }
.asp-4a__pane--preview .asp-4a__printed-sticker { max-width: 100%; height: auto; }
.asp-4a__pane--preview .asp-4a__caption {
    font: inherit; font-size: 12px; font-weight: 600; color: var(--a4-on-dark);
}

.asp-4a__pane { position: relative; display: grid; place-items: center; min-width: 0; padding: 24px; }
.asp-4a__pane--edit    { background: var(--a4-canvas); border-right: 1px solid var(--a4-hairline); }
.asp-4a__pane--printed { background: var(--a4-dark); }
.asp-4a__corner {
    position: absolute; top: 12px; left: 14px;
    font: inherit; font-weight: 900; font-size: 10px; line-height: 1; text-transform: uppercase; letter-spacing: .12em;
    color: var(--a4-blue-mid);
}
.asp-4a__pane--printed .asp-4a__corner { color: var(--a4-on-dark); }
.asp-4a__quality {
    position: absolute; top: 10px; right: 14px;
    background: var(--a4-teal); color: #fff; border-radius: 999px;
    font: inherit; font-weight: 700; font-size: 10px; line-height: 1; text-transform: uppercase; padding: 6px 10px;
}
.asp-4a__caption {
    position: absolute; bottom: 12px; right: 14px;
    font-size: 10.5px; color: var(--a4-on-dark);
}

/* Marching ants, edit pane only — the printed pane must show no guides. */
@keyframes asp-4a-ants { to { stroke-dashoffset: -12; } }
.asp-4a__pane--edit .asp-4a-cut { stroke-dasharray: 6 6; animation: asp-4a-ants 1.2s linear infinite; }
@media (prefers-reduced-motion: reduce) {
    .asp-4a__pane--edit .asp-4a-cut { animation: none; }
}

.asp-4a__printed-sticker {
    transform: rotate(-1.5deg);
    filter: drop-shadow(0 10px 26px rgba(0,0,0,.4)) drop-shadow(0 2px 6px rgba(0,0,0,.3));
}

/*
 * ─── THE TWO COLOURED STRIPS ──────────────────────────────────────────────
 *
 * Both elements belong to the older studio and are styled in studio-modal.css,
 * which this file is not allowed to disturb — the legacy studio still renders
 * from it. Scoped under .asp-4a so 4a gets the design's treatment and the old
 * layout keeps its own.
 *
 * The cut-size readout is a blue-tint card, not a left-bar callout; the ready
 * message is a green strip rather than the modal's generic green-on-white
 * notice. They say different things — one is a measurement, one is a verdict —
 * and the design gives them different weights.
 */
.asp-4a .asp-cut-size,
.asp-4a .asp-4a__ask-note {
    background: var(--a4-tint); border: 0; border-radius: 12px;
    padding: 11px 14px; margin: 12px 0 0;
    font-size: 12px; line-height: 1.55; color: var(--a4-dark);
}
/* The same card over the answers: the cut moved under an add (studio-modal.js cancelAdd()). */
.asp-4a .asp-4a__ask-note { margin: 0 0 10px; }
.asp-4a .asp-cut-size strong { font-weight: 700; }

.asp-4a .asp-studio-status {
    border-radius: 12px; padding: 11px 14px; margin-top: 4px;
    font-size: 12.5px; font-weight: 600; line-height: 1.5;
}
.asp-4a .asp-studio-status--ready {
    background: var(--a4-ready-bg); border: 0; color: var(--a4-ready-ink);
}

/*
 * ─── "WHAT WE DID": ALMOST NOTHING TO DO HERE ─────────────────────────────
 *
 * review-panel.css already builds these rows exactly as the design draws them —
 * relative <li>, absolutely positioned dot, heading over explanation. I wrote a
 * second copy of all of it, and the second copy was wrong twice:
 *
 * It set display:flex on the <li>. The entries are two block <p>s
 * (.asp-rv-t and .asp-rv-s), so flexing their parent made them two COLUMNS: the
 * heading wrapped three words to a line down the left with its explanation
 * beside it.
 *
 * And it forced every dot blue, which throws away what the dot is FOR. The
 * colour is the severity — #b8730a for a warning, grey for a note — so "this
 * will look a little soft" and "we removed the background" would have read as
 * the same kind of remark. It only stayed correct on screen because
 * review-panel.css happens to be enqueued after this file: the two selectors
 * are both (0,2,2), so source order was the only thing deciding it.
 *
 * So the duplicate is gone and only the type weight is adjusted, which is the
 * one place the design actually differs.
 */
.asp-4a .asp-rv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.asp-4a .asp-rv-t { font-weight: 700; color: var(--a4-dark); }
.asp-4a .asp-rv-s { opacity: 1; color: #555b68; }

/* ── Size and quantity, in the one rail ───────────────────────────────── */
.asp-4a__size { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.asp-4a__size input {
    width: 64px; flex: none; text-align: center; padding: 10px 8px;
    border: 1.5px solid rgba(45, 56, 75, .2); border-radius: 10px;
    font: inherit; font-weight: 600; font-size: 14px; line-height: 1; color: var(--a4-dark);
}
.asp-4a__size span { font: inherit; font-weight: 700; font-size: 13px; line-height: 1; color: #555b68; }

.asp-4a__qty { display: flex; flex-direction: column; margin-top: 10px; }
.asp-4a__qty label {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    border: 1.5px solid transparent; border-radius: 12px; padding: 6px 12px;
    font: inherit; font-weight: 700; font-size: 13.5px; line-height: 1.3; color: var(--a4-dark);
}
.asp-4a__qty label[data-selected="1"] { background: var(--a4-tint); border-color: var(--a4-blue); }
.asp-4a__tag {
    background: var(--a4-blue); color: #fff; border-radius: 999px;
    font: inherit; font-weight: 800; font-size: 9.5px; line-height: 1; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px;
}
.asp-4a__total {
	margin-top: 10px;
}
.asp-4a__total-label {
	font: inherit;
	line-height: 1;
	text-transform: uppercase;
}
.asp-4a__total-price {
	font: inherit;
	line-height: 1;
	color: var(--a4-blue-mid);
	margin-top: 6px;
}
.asp-4a__cart {
    width: 100%; margin-top: 12px; padding: 13px;
    background: var(--a4-dark); color: #fff; border: 0; border-radius: 999px;
    font: inherit; font-weight: 700; font-size: 13px; line-height: 1; text-transform: uppercase; letter-spacing: .06em;
    cursor: pointer;
}

/* A note, not a notice. Deliberately the quietest text in the step: nothing is
   wrong, and anything that reads as a warning would make people think it is. */
.asp-4a__resized {
    margin: 8px 0 0;
    font-size: 11.5px; line-height: 1.45;
    color: var(--a4-muted);
}
.asp-4a__resized[hidden] { display: none; }

/* ── Ask first, tools on request ──────────────────────────────────────────── */
/*
 * The question is the loudest thing in the step, because answering it is the
 * only thing most customers need to do. The tools under it are deliberately
 * quieter — they are the detour, not the path.
 */
.asp-4a__ask { margin: 4px 0 2px; }
/*
 * The panel's heading. Every number is the mock's own — 32/1.15/-0.02em —
 * rather than my eye: comparing a build against a reference render only
 * works if the values come from the same place the reference did.
 */
.asp-4a__ask-q {
    margin: 0 0 8px; font: inherit; font-weight: 800; font-size: 32px;
    line-height: 1.15; letter-spacing: -.02em; color: var(--a4-dark);
}
.asp-4a__ask-row { display: flex; gap: 8px; }
.asp-4a__ask-row > * { flex: 1; }

.asp-4a__ask-yes {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    width: 100%; padding: 12px 14px;
    background: var(--a4-blue); color: #fff; border: 0; border-radius: 999px;
    font: inherit; font-weight: 700; font-size: 14px; line-height: 1;
    cursor: pointer;
}
.asp-4a__ask-yes:hover { background: #0e9cc9; }
.asp-4a__ask-yes:focus-visible { outline: 2px solid var(--a4-dark); outline-offset: 2px; }

.asp-4a__ask-no {
    width: 100%; padding: 12px 14px;
    background: #fff; color: var(--a4-dark);
    border: 1.5px solid rgba(45, 56, 75, .22); border-radius: 999px;
    font: inherit; font-weight: 600; font-size: 13.5px; line-height: 1;
    cursor: pointer;
}
.asp-4a__ask-no:hover { border-color: rgba(45, 56, 75, .4); }
.asp-4a__ask-no:focus-visible { outline: 2px solid var(--a4-blue); outline-offset: 2px; }

.asp-4a__tools[hidden] { display: none; }
.asp-4a__tools-lede {
    margin: 0 0 20px; font-size: 13.5px; font-weight: 500; line-height: 1.45; color: #6b7384;
}

/* Lives at the foot of the panel now, beside the ask's buttons. */
.asp-4a__toolsfoot[hidden] { display: none; }
.asp-4a__toolsfoot {
    margin-top: 18px; padding-top: 18px;
    border-top: 1px solid var(--a4-line);
    display: flex; flex-direction: column; gap: 8px;
}
.asp-4a__toolsfoot-row { display: flex; gap: 8px; }
.asp-4a__toolsfoot-row > * { flex: 1; }
.asp-4a__toolsfoot-note {
    margin: 2px 0 0; font-size: 11.5px; line-height: 1.45; color: var(--a4-muted);
}

/* ── The review modal ─────────────────────────────────────────────────────── */
.asp-review[hidden] { display: none; }
.asp-review {
    position: fixed; inset: 0; z-index: 1200;
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.asp-review__scrim { position: absolute; inset: 0; background: rgba(45, 56, 75, .45); }
.asp-review__panel {
    position: relative; width: 100%; max-width: 460px;
    background: #fff; border-radius: 18px; padding: 26px 28px 22px;
    box-shadow: 0 22px 44px rgba(36, 41, 56, .3);
    max-height: calc(100vh - 40px); overflow-y: auto;
}
.asp-review__title { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: var(--a4-dark); }
.asp-review__lede  { margin: 0 0 16px; font-size: 13.5px; color: var(--a4-muted); }

.asp-review__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.asp-review__chip {
    padding: 7px 13px; font: inherit; font-size: 13px; line-height: 1;
    background: #fff; color: var(--a4-dark);
    border: 1.5px solid rgba(45, 56, 75, .2); border-radius: 999px; cursor: pointer;
}
.asp-review__chip:hover { border-color: var(--a4-blue); }
.asp-review__chip.is-on {
    background: var(--a4-blue); border-color: var(--a4-blue); color: #fff; cursor: default;
}
.asp-review__chip:focus-visible { outline: 2px solid var(--a4-blue); outline-offset: 2px; }

.asp-review__label,
.asp-play__label {
    display: block; font-size: 11.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    color: var(--a4-muted); margin-bottom: 6px;
}
.asp-review__note,
.asp-play__caption {
    width: 100%; padding: 11px 13px; font: inherit; font-size: 14px;
    border: 1.5px solid var(--a4-line); border-radius: 10px; resize: vertical;
    color: var(--a4-dark); background: #fff;
}
.asp-review__note:focus-visible,
.asp-play__caption:focus-visible { outline: 2px solid var(--a4-blue); outline-offset: 1px; border-color: var(--a4-blue); }

.asp-review__foot { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.asp-review__note-free {
    margin: 10px 0 0; font-size: 11.5px; line-height: 1.45;
    color: var(--a4-muted); text-align: center;
}

/* ── Right rail: the proof console ────────────────────────────────────────── */
/*
 * Cooler and flatter than the panes beside it, on purpose. This is a staff tool
 * sitting inside a customer-facing screen, and it should not read as part of the
 * product being configured.
 */
.asp-4a__console {
    display: flex; flex-direction: column; min-width: 0; min-height: 0;
    background: #f7f8fa;
    border-left: 1px solid var(--a4-line);
    font-size: 12px; line-height: 1.45;
}
/* Closed until its icon is pressed: [hidden] has to beat the flex column above. */
.asp-4a__console[hidden] { display: none; }
.asp-4a__console-close {
    margin-left: 4px; width: 26px; height: 26px; border: 0; border-radius: 6px;
    background: transparent; color: var(--a4-muted); font-size: 18px; line-height: 1; cursor: pointer;
}
.asp-4a__console-close:hover { background: rgba(45, 56, 75, .06); color: var(--a4-dark); }
.asp-4a__iconbtn[aria-expanded="true"] { background: #e3f6fc; color: #0e7ca0; }
.asp-4a__console-head {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 14px 16px 10px;
    border-bottom: 1px solid var(--a4-line);
    position: sticky; top: 0; background: #f7f8fa; z-index: 1;
}
.asp-4a__console-title {
    margin: 0; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--a4-blue-mid);
}
.asp-4a__console-copy {
    flex: none; padding: 4px 9px; font: inherit; font-size: 11px;
    background: #fff; color: var(--a4-muted);
    border: 1px solid var(--a4-line); border-radius: 6px; cursor: pointer;
}
.asp-4a__console-copy:hover { color: var(--a4-dark); border-color: rgba(45, 56, 75, .3); }
.asp-4a__console-copy:focus-visible { outline: 2px solid var(--a4-blue); outline-offset: 1px; }

.asp-4a__console-list {
    list-style: none; margin: 0; padding: 8px 0 24px;
    overflow-y: auto; min-height: 0; flex: 1;
}
.asp-4a__console-empty {
    margin: 0; padding: 14px 16px; color: var(--a4-muted); font-style: italic;
}

/*
 * A phase heading, for a stage the pipeline runs more than once. Without it the
 * trace and simplify lines appear twice identically and read as a bug — see
 * ASP_Proof_Log::phase().
 */
.asp-4a__console-phase {
    padding: 14px 16px 4px; margin: 0;
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    color: var(--a4-muted);
}
.asp-4a__console-phase::before { content: "↳ "; }

.asp-4a__console-step {
    padding: 7px 16px;
    border-left: 2px solid transparent;
}
.asp-4a__console-step + .asp-4a__console-step { border-top: 1px solid rgba(45, 56, 75, .06); }

/* A decision that fired. */
.asp-4a__console-step--did { border-left-color: var(--a4-blue); }
/* One that did not, and said why. Dimmed, never hidden: "the border was not
   measured, because the background was lifted" is as much an answer as a
   measurement, and a log that omits it makes the reader guess whether the step
   ran and found nothing or never ran at all. */
.asp-4a__console-step--skipped { border-left-color: rgba(45, 56, 75, .18); }
.asp-4a__console-step--skipped .asp-4a__console-label { color: var(--a4-muted); font-style: italic; }

.asp-4a__console-key {
    display: block; font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    color: var(--a4-blue-mid);
}

/*
 * The Proofing Forks labels (ASP_Proof_Log::fork()): the path this proof took,
 * leading the log, and the label on each step that decided a fork. Each opens
 * its card on the map, so a report can name the branch it took.
 */
.asp-4a__console-path {
    padding: 9px 16px 10px;
    border-left: 2px solid var(--a4-dark);
    background: rgba(45, 56, 75, .04);
    border-bottom: 1px solid rgba(45, 56, 75, .08);
}
.asp-4a__console-pathline {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 5px;
    margin-top: 3px; color: var(--a4-muted); font-size: 11px;
}
.asp-4a__console-pathline .asp-4a__console-fork { font-size: 11.5px; padding: 0 5px; }
.asp-4a__console-fork {
    display: inline-block; margin-right: 5px; padding: 0 4px;
    border: 1px solid rgba(45, 56, 75, .28); border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px; font-weight: 700; line-height: 1.5;
    text-transform: none; letter-spacing: 0;
    color: var(--a4-dark); background: #fff; text-decoration: none;
}
.asp-4a__console-pathline .asp-4a__console-fork { margin-right: 0; }
a.asp-4a__console-fork:hover { border-color: var(--a4-blue); color: var(--a4-blue); }
a.asp-4a__console-fork:focus-visible { outline: 2px solid var(--a4-blue); outline-offset: 1px; }
.asp-4a__console-label {
    display: block; color: var(--a4-dark); font-weight: 600;
    overflow-wrap: anywhere;
}
.asp-4a__console-facts {
    margin: 3px 0 0; display: grid; gap: 1px 8px;
    grid-template-columns: auto minmax(0, 1fr);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
}
.asp-4a__console-facts dt { color: var(--a4-muted); white-space: nowrap; }
.asp-4a__console-facts dd { margin: 0; color: var(--a4-dark); overflow-wrap: anywhere; }
/* Digits in a column want to line up — most of these facts are measurements. */
.asp-4a__console-facts dd { font-variant-numeric: tabular-nums; }

.asp-4a__console-via {
    display: block; margin-top: 3px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px; color: rgba(107, 114, 128, .85);
}

@media (max-width: 1100px) {
    .asp-4a__body  { grid-template-columns: 1fr; }
    .asp-4a__panes { grid-template-columns: 1fr; }
    /* Stacked, the cut panel follows the artwork — which is the order it is
       read in on a phone too, and the order the design stacks them. */
    .asp-4a__cutpanel {
        border-left: 0; border-top: 1px solid var(--a4-line);
        overflow-y: visible;
    }
    /*
     * Stacked, it is the last thing on the page and has no business holding its
     * own scroll — two scroll containers answering one drag is the trap this
     * stylesheet already records against .asp-4a__steps.
     */
    .asp-4a__console--stacked,
    .asp-4a__console {
        border-left: 0; border-top: 1px solid var(--a4-line);
    }
    .asp-4a__console-list { overflow-y: visible; }
    .asp-4a__console-head { position: static; }
}

/* ── Dropzone and overlay inside the edit pane ────────────────────────────
   Both sit over the pane rather than in flow: the canvas is centred by the
   pane's grid, and putting the dropzone in that same cell would push it.     */
.asp-4a__pane--edit { position: relative; }
.asp-4a__dropzone {
    position: absolute; inset: 24px; z-index: 2;
    display: grid; place-items: center;
    border: 2px dashed var(--a4-border); border-radius: 12px;
    background: #fff;
}
.asp-4a__pane--edit #scg-trace-overlay {
    position: absolute; inset: 0; z-index: 3;
    display: grid; place-items: center;
    background: rgba(250, 250, 250, .82);
}
.asp-4a__pane--edit #scg-widget { position: absolute; top: 12px; left: 14px; z-index: 2; }
.asp-4a__pane--edit .scg-preview-canvas { max-width: 100%; height: auto; }

/* Controls the studio's JS needs to exist but 4a expresses as pills.
   Hidden rather than removed: the handlers they carry do more than set a
   value, and reimplementing that in the pill click would duplicate rules. */
.asp-4a__hidden-control { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Quantity rows ────────────────────────────────────────────────────────
   Markup comes from pricing.js; these are its class names dressed to the
   handoff. Selection is a filled row with a blue ring, per the design.      */
.asp-4a .asp-studio-qty-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	font-size: 12px;
	color: var(--a4-muted);
}
.asp-4a .asp-studio-qty-row:hover { background: #fafafa; }
.asp-4a .asp-studio-qty-row--selected {
    background: #f0f7fb; border-color: var(--a4-blue); color: var(--a4-dark);
}
.asp-4a .asp-studio-qty-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.asp-4a .asp-studio-qty-dot {
    width: 12px; height: 12px; flex: 0 0 12px; border-radius: 999px;
    border: 1px solid var(--a4-border); background: #fff;
}
.asp-4a .asp-studio-qty-row--selected .asp-studio-qty-dot {
    border: 4px solid var(--a4-blue);
}
.asp-4a .asp-studio-qty-num { font-weight: 600; color: inherit; }
.asp-4a .asp-studio-qty-popular {
    background: var(--a4-blue-mid); color: #fff; border-radius: 999px;
    font: inherit; font-weight: 700; font-size: 9px; line-height: 1; text-transform: uppercase; letter-spacing: .04em;
    padding: 4px 7px;
}

/*
 * The upgrade, on the quantity that is the upgrade.
 *
 * Amber rather than the Popular badge's red: one is "most people pick this",
 * the other is "this costs more and gets you more", and they can appear in the
 * same rail. Same size and shape so the row reads as one thing either way.
 */
.asp-4a .asp-studio-qty-upgrade {
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: #fdefc7;
	color: #8a6100;
	border: 1px solid #e8c877;
	padding: 1px 6px;
	border-radius: 8px;
	white-space: nowrap;
}
.asp-4a .asp-studio-qty-price { font-variant-numeric: tabular-nums; color: inherit; }
.asp-4a .asp-studio-qty-row--selected .asp-studio-qty-price { color: var(--a4-dark); font-weight: 700; }

/* The modal shell is `position: fixed; inset: 0`, so the editor takes its
   height from the viewport. Without this the grid has no height to divide
   between the topbar and the body. */
.asp-studio-modal > .asp-4a { height: 100vh; height: 100dvh; }

/* ── Size from the viewport, not from an ancestor ─────────────────────────
   Reported twice as "half visible in a small frame". The editor was taking
   its height from whatever contained it, so any container that did not fill
   the screen cropped it — and the chain from the WooCommerce add-to-cart hook
   up to the body runs through theme markup this plugin does not control.

   Pinning the editor to the viewport removes the dependency entirely: it no
   longer matters what the modal shell or the theme does above it. The shell
   still owns visibility (display:none until --open); this owns geometry.     */
.asp-studio-modal .asp-4a {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    overflow: hidden;
    z-index: 1;
    background: #fff;
}

/* The rails scroll independently rather than the page: at 100dvh the editor
   is exactly the viewport, so anything taller has to scroll inside its own
   column or it is simply unreachable. */
.asp-studio-modal .asp-4a__steps,
.asp-studio-modal .asp-4a__steps { overflow-y: auto; min-height: 0; }
.asp-studio-modal .asp-4a__body  { min-height: 0; }
.asp-studio-modal .asp-4a__panes { min-height: 0; }
.asp-studio-modal .asp-4a__pane  { min-height: 0; overflow: hidden; }

/* ── Pro panel ────────────────────────────────────────────────────────────
   Proofers only. Collapsed by default: it edits global settings and should
   not be one stray click from a customer-facing control.                    */
.asp-4a__pro {
    border: 1.5px dashed var(--a4-border); border-radius: 12px;
    padding: 10px 12px; background: #fcfcfd;
}
.asp-4a__pro > summary {
    cursor: pointer; font: inherit; font-weight: 700; font-size: 10px; line-height: 1.4; text-transform: uppercase;
    letter-spacing: .08em; color: var(--a4-blue-mid);
}
.asp-4a__pro .asp-4a__label { margin-top: 10px; }
.asp-4a__pro-input {
    width: 100%; padding: 6px 8px; border: 1.5px solid var(--a4-border);
    border-radius: 6px; font: inherit; font-weight: 600; font-size: 12px; line-height: 1; color: var(--a4-dark);
}
.asp-4a__pro-unit { display: block; margin-top: 3px; font-size: 10px; color: var(--a4-muted); }
.asp-4a__pro-warn {
    margin: 12px 0 0; padding: 7px 9px; border-radius: 6px;
    background: #fdf3e7; color: #8a4b12; font-size: 10.5px; line-height: 1.45;
}
.asp-4a__pro-status { margin: 6px 0 0; font-size: 10.5px; color: var(--a4-muted); min-height: 1em; }

/* Artwork step is a control, not a label — it goes back to the upload. */
.asp-4a__step--nav { width: 100%; cursor: pointer; font: inherit; background: #fff; }
.asp-4a__step--nav:hover { border-color: var(--a4-dark); }

/* The pro panel sat at the bottom of a scrolling rail and was reported as
   missing. It is not hidden — it was below the fold. Give the rail a visible
   scroll affordance and keep the panel distinct from the step cards. */
/*
 * Reserved again, now that the rail is 120px and has room for it. Releasing
 * it made the scrollbar overlay the tiles instead: the thumbnails and their
 * number badges were clipped down the right-hand side as soon as the list was
 * long enough to scroll.
 */
.asp-4a__steps { scrollbar-gutter: stable; }
.asp-4a__pro { margin-top: 4px; }
.asp-4a__pro[open] > summary { margin-bottom: 4px; }

/* Fragmentation warning. Louder than the global-settings notice: that one
   says "this affects others", this one says "part of the sticker is gone". */
.asp-4a__frag {
    margin: 8px 0 0; padding: 9px 10px; border-radius: 6px;
    background: #fdecec; border-left: 3px solid #c0392b;
    color: #8c2f22; font-size: 10.5px; line-height: 1.5;
}

/* Drift: a setting that is not its default has to look different, or a
   leftover from someone else's session reads as a fresh start. */
.asp-4a__drift { display: none; font-style: normal; color: #8a4b12; margin-left: 6px; }
.asp-4a__drift--on { display: inline; }
.asp-4a__pro-input--drifted { border-color: #c8811f; background: #fffaf3; }

.asp-4a__pro-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.asp-4a__pro-reset {
    border: 1.5px solid var(--a4-border); background: #fff; border-radius: 999px;
    font: inherit; font-weight: 700; font-size: 10px; line-height: 1; text-transform: uppercase; letter-spacing: .05em;
    color: var(--a4-dark); padding: 7px 12px; cursor: pointer;
}
.asp-4a__pro-reset:hover { border-color: var(--a4-dark); }
.asp-4a__pro-reset[disabled] { opacity: .45; cursor: default; }
.asp-4a__pro-count { font-size: 10px; color: #8a4b12; }

/* ═══ Sidebar corrections, 2026-08-22 ═══════════════════════════════════════ */

/*
 * Shape pills on one row.
 *
 * NOTE: this is a deliberate departure from handoff section J, which specifies
 * "SHAPE 2x2 grid (Contour/Circle/Rect/Rounded)". Dennis asked for a single row
 * on desktop; recorded here so the next person comparing against the mock knows
 * it is a decision and not drift.
 *
 * auto-fit rather than repeat(4, 1fr): the count is not baked in, so adding or
 * removing a shape does not leave an empty column holding a gap — the same
 * reasoning the --row modifier below already carries.
 */
/*
 * Four tiles, not four pills — the rebuild makes shape the first and biggest
 * choice in the tools panel, so it gets icons at a size you can read.
 */
#asp-4a-shape {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
    margin-bottom: 20px;
}
#asp-4a-shape .asp-4a__pill {
    flex-direction: column; gap: 8px;
    padding: 14px 4px 11px; border-radius: 14px;
    font-size: 11.5px; line-height: 1;
}
#asp-4a-shape .asp-4a__pill svg { width: 21px; height: 21px; }
#asp-4a-shape .asp-4a__pill[aria-pressed="true"] {
    background: var(--a4-tint); border-color: var(--a4-blue); color: var(--a4-dark);
}

/* ── Step 1: Artwork ──────────────────────────────────────────────────────────
 * Now a container rather than a button, holding the designs strip and the
 * change-image control. See the note in class-studio-4a.php. */
.asp-4a__step--artwork { display: flex; flex-direction: column; gap: 10px; }
.asp-4a__change {
    align-self: flex-start;
    background: none; border: 0; padding: 0;
    font: inherit; font-size: 13px; font-weight: 700;
    color: var(--a4-blue); cursor: pointer; text-align: left;
}
.asp-4a__change:hover { text-decoration: underline; }

/*
 * Designs as a vertical stack: thumbnail left, details right.
 *
 * The strip was a horizontal scroller — sensible when it sat in the wide
 * product column, wrong in a 340px sidebar, where five tiles became a sideways
 * scroll a customer has to discover. Stacked, every design is visible at once
 * and the row has space for a status longer than two words.
 */
.asp-4a__step--artwork .asp-slot-strip__list {
    display: flex; flex-direction: column; gap: 8px;
    overflow-x: visible; scroll-snap-type: none;
}
.asp-4a__step--artwork .asp-slot-cell { display: flex; align-items: center; gap: 10px; }
.asp-4a__step--artwork .asp-slot-tile {
    flex: 1 1 auto; min-width: 0;
    flex-direction: row; align-items: center; gap: 10px;
    text-align: left;
    border: 1.5px solid rgba(45, 56, 75, .18); border-radius: 12px;
    padding: 8px 10px; background: #fff;
}
.asp-4a__step--artwork .asp-slot-tile--active { border-color: var(--a4-blue); border-width: 2px; padding: 7.5px 9.5px; }
.asp-4a__step--artwork .asp-slot-tile__thumb { flex: none; width: 44px; max-width: 44px; }
/* The label and status stack to the right of the thumbnail. */
.asp-4a__step--artwork .asp-slot-tile__label,
.asp-4a__step--artwork .asp-slot-tile__status { text-align: left; }
.asp-4a__step--artwork .asp-slot-tile__label { font-size: 13px; }
.asp-4a__step--artwork .asp-slot-tile__status { font-size: 11px; }
.asp-4a__step--artwork .asp-slot-cell__qty { flex: none; width: 58px; }

/* ── Why there is more than one slot ──────────────────────────────────────────
 * A toggle, closed. It was a three-line tinted panel above the slots, which is
 * more vertical weight in a 340px rail than an optional feature deserves and
 * pushed the designs themselves down the page. The question it answers gets
 * asked once, so it is available rather than announced. */
.asp-slot-strip__why { margin: 2px 0 0; }
.asp-slot-strip__why > summary {
    cursor: pointer; list-style: none;
    font-size: 11.5px; font-weight: 700; color: var(--a4-blue); padding: 2px 0;
}
.asp-slot-strip__why > summary::-webkit-details-marker { display: none; }
.asp-slot-strip__why > summary::before { content: "＋ "; }
.asp-slot-strip__why[open] > summary::before { content: "－ "; }
.asp-slot-strip__why > p {
    margin: 6px 0 0; padding: 9px 11px;
    background: rgba(26, 176, 224, .08); border-radius: 10px;
    font-size: 11.5px; line-height: 1.45; color: #555b68;
}

/* ── Optional designs ─────────────────────────────────────────────────────────
 * Only the first design is required. An empty slot past it is room the
 * quantity bought, not an outstanding task, so it recedes instead of
 * advertising itself. */
.asp-4a__step--artwork .asp-slot-tile--optional {
    border-style: dashed; background: #fafbfc; opacity: .72;
}
.asp-4a__step--artwork .asp-slot-tile--optional:hover { opacity: 1; }
.asp-4a__step--artwork .asp-slot-tile--optional .asp-slot-tile__label { color: #9aa0ad; }
.asp-4a__step--artwork .asp-slot-tile--optional .asp-slot-tile__status {
    font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 10px;
}

/* ── Replace, on the design it replaces ─────────────────────────────────────
 *
 * ─── EXCEPT IN THE BATCH STRIP, WHERE IT IS A ROW OF ITS OWN ──────────────
 *
 * .asp-slot-cell is a column, so a Replace under every tile is not a button —
 * it is a second row of buttons the width of the strip, and it appears exactly
 * when the customer has done the most work. Measured on a Split 5: the cell
 * goes 68px to 100, the strip 87 to 119, and the band above the studio 132 to
 * 164. A row of pills floating under the tiles, attached to nothing.
 *
 * It is not needed here any more. It was added because a single "Choose a
 * different image" at the foot of the Artwork step "gave no clue WHICH design
 * it would replace" — and that is no longer true: studio-batch.js:224 writes
 * "Now editing · 2 of 5" and the filename into that same card, so the control
 * sits directly under the name of the design it acts on. On a phone the same
 * button is the "Change image" in the canvas header, over the canvas showing
 * that one design.
 *
 * So the strip goes back to being what it is asked to be — a row of designs to
 * look at and switch between — and replacing artwork happens in the one place
 * that says which artwork.
 */
.asp-slot-strip--batch .asp-slot-cell__replace { display: none; }

.asp-slot-cell__replace {
    flex: none; align-self: center;
    border: 1.5px solid rgba(45, 56, 75, .18); border-radius: 999px;
    background: #fff; color: #555b68; cursor: pointer;
    font: inherit; font-weight: 700; font-size: 11px; line-height: 1; padding: 7px 11px;
}
.asp-slot-cell__replace:hover { border-color: var(--a4-blue); color: var(--a4-blue); }

/* ── The editor's own total ───────────────────────────────────────────────────
 * The block existed and nothing wrote to it; now that it has content it needs
 * to look like a total. */
/*
 * Pinned to the bottom of the rail. The negative offset absorbs the rail's own
 * 32px bottom padding so it sits flush rather than floating above it, and the
 * negative side margins let it span the full rail width so scrolling content
 * passes behind rather than beside it.
 */
.asp-4a__total {
    position: sticky; bottom: -32px; z-index: 3;
    display: grid; grid-template-columns: 1fr auto; align-items: baseline;
    gap: 2px 10px;
    margin: 4px -20px -32px; padding: 14px 20px 20px;
    background: var(--color-surface-alt, #e4e4e4);
    border-top: 1px solid rgba(45, 56, 75, .12);
}
.asp-4a__total-label { font-size: 12px; font-weight: 700; color: #555b68; }
.asp-4a__total-price { grid-row: 1 / span 2; align-self: center; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.asp-4a__total-each  { font-size: 11.5px; color: #555b68; }

/* The rail's quantity rows carry no per-unit line, so they can be tighter than
   the product page's table. Matches the density of handoff section J. */
.asp-4a .asp-studio-qty-row { padding: 6px 9px; }
.asp-4a .asp-studio-qty-hint {
    padding: 6px 9px; font-size: 12px; font-weight: 700; color: var(--a4-blue); cursor: pointer;
}

/* ==========================================================================
   Signoff — the order's own screen, before the cart
   ==========================================================================

   Transcribed from the Cutline Editor V2 handoff (section Q, Batch mock),
   which carries its design in inline styles; the values below are that
   mockup's, expressed against this stylesheet's tokens where they agree.

   Literal values, not the --a4-* tokens. Those are declared on .asp-4a, and
   this panel is moved to <body> at init so it can appear over the product page
   as well as over the studio — outside that scope every token resolves to
   nothing, which showed up as white text on a transparent button.

   The two status chips carry the handoff's own green and amber. They have to
   read as a pair — "nothing to do" against "a person will look" — which
   --a4-teal alone could not do even in scope.
   ========================================================================== */

.asp-signoff[hidden] { display: none; }

/* ══════════════════════════════════════════════════════════════════════════
   THE FINAL SCREEN, INSIDE THE STUDIO
   ══════════════════════════════════════════════════════════════════════════

   Values below are lifted from the handoff — Sticker Cutline Review Tools,
   the <main> behind `<sc-if value="{{ allDone }}">` — not estimated from a
   render of it. The ones that matter, in its own words:

       main   flex:1; justify-content:center; padding:36px 20px 48px;
              background:#F5F8FA
       inner  width:100%; max-width:780px; gap:22px
       card   background:#FFFFFF; border:1px solid rgba(45,56,75,0.1);
              border-radius:16px; overflow:hidden
       row    display:flex; align-items:center; gap:16px; padding:14px 20px
              + border-top:1px solid rgba(45,56,75,0.08) on all but the first
       alloc  padding:16px 20px; background:#FAFBFC;
              border-top:1px solid rgba(45,56,75,0.08)

   The rows are ONE card with hairlines between them, not a stack of separate
   cards — which is what they had become, and the single most visible way the
   screen stopped matching the design.
   ========================================================================== */

/* The editor steps aside; the top bar does not. */
.asp-4a--view-final .asp-4a__body { display: none; }

.asp-4a .asp-signoff {
    flex: 1; min-height: 0;
    display: flex; justify-content: center;
    padding: 36px 20px 48px;
    background: var(--color-surface-alt, #e4e4e4);
    overflow: auto;
}

/*
 * No longer a window: static, unshadowed, no radius of its own. The card
 * further down is the only thing on this screen that is one.
 */
.asp-4a .asp-signoff__panel {
    position: static; transform: none;
    width: 100%; max-width: 780px; max-height: none;
    display: flex; flex-direction: column; gap: 22px;
    background: none; border-radius: 0; box-shadow: none;
    overflow: visible;
}

.asp-4a .asp-signoff__head {
    align-items: center;
    padding: 0; border-bottom: 0;
}
/* Filled, not tinted — the handoff's #2FA45C on white. */
.asp-4a .asp-signoff__seal { background: #2fa45c; color: #fff; }
.asp-4a .asp-signoff__heading strong { font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.asp-4a .asp-signoff__heading em { font-size: 14px; }

.asp-4a .asp-signoff__body {
    gap: 22px; padding: 0; overflow: visible;
}

/* ── The rows, as one card ────────────────────────────────────────────────── */
.asp-4a .asp-signoff__rows {
    gap: 0;
    background: #fff;
    border: 1px solid rgba(45, 56, 75, .1);
    /*
     * Square at the foot, because the allocation block below is the rest of
     * this card and rounds it off. The :last-child rule further down is the
     * case where there is no allocation block — a single-design order — and
     * the rows ARE the whole card.
     */
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}
.asp-4a .asp-signoff__rows .asp-signoff__row {
    border: 0; border-radius: 0; box-shadow: none; background: none;
    padding: 14px 20px;
}
.asp-4a .asp-signoff__rows .asp-signoff__row + .asp-signoff__row {
    border-top: 1px solid rgba(45, 56, 75, .08);
}

/*
 * The allocation block belongs to the card, on its own ground.
 *
 * It is a sibling of the rows in our markup and a child of the card in the
 * handoff, so it is pulled up against them rather than reparented: moving it
 * would mean rebuilding the split renderer, and this is the same picture.
 */
.asp-4a .asp-split {
    margin-top: -22px;
    background: #fafbfc;
    border: 1px solid rgba(45, 56, 75, .1);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    padding: 16px 20px;
}
.asp-4a .asp-signoff__rows:last-child { border-radius: 16px; }

/*
 * ─── THE ALLOCATION BLOCK, IN THE HANDOFF'S ORDER ────────────────────────────
 *
 *     [ All 250 assigned ✓ ............................. Split evenly ]
 *     [ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ]
 *       Type any amount — even 1 of a design is fine.
 *
 * Ours read bar / verdict-beside-it / Split-evenly-underneath, which buried the
 * one line saying whether the split adds up.
 *
 * Done as a grid rather than by moving markup: the bar and the verdict are one
 * container (.asp-split__pool) and the button another (.asp-split__foot), and
 * reparenting them means touching the renderer that writes all three. The pool
 * goes `display: contents` so its two children become grid items in their own
 * right, and the three cells are then placed explicitly.
 */
.asp-4a .asp-split {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 12px;
}
.asp-4a .asp-split__head  { display: none; }   /* the screen's own h1 says it */
.asp-4a .asp-split__grid  { grid-column: 1 / -1; }
.asp-4a .asp-split__pool  { display: contents; }
.asp-4a .asp-split__note  { grid-row: 1; grid-column: 1; font-size: 13px; }
.asp-4a .asp-split__foot  { grid-row: 1; grid-column: 2; justify-self: end; }
.asp-4a .asp-split__bar   { grid-row: 2; grid-column: 1 / -1; }
.asp-4a .asp-split__hint  { grid-row: 3; grid-column: 1 / -1; margin: 0; }
.asp-4a .asp-split__even  { font-size: 12.5px; font-weight: 700; color: #1ab0e0; }

/* Only the final screen has one; nothing else renders this block. */
.asp-split__hint { display: none; }
.asp-4a .asp-split__hint { display: block; font-size: 11.5px; color: #9aa0ad; }

/* ── The row's status word ────────────────────────────────────────────────── */
/*
 * #1E7A46 and #B3752A are the handoff's, and the amber is the same one the
 * "For Review" chip in the header carries — the row and the tally have to agree
 * about what colour that state is.
 */
.asp-4a .asp-signoff__mark {
    font-weight: 700; font-size: 12.5px;
    background: none; border: 0; padding: 0; gap: 0;
}
.asp-4a .asp-signoff__mark--ok    { color: #1e7a46; }
.asp-4a .asp-signoff__mark--human { color: #b3752a; }


/* ── The foot: price left, the way back and the cart right ────────────────── */
.asp-4a .asp-signoff__foot {
    padding: 0; border-top: 0; background: none;
    align-items: center; gap: 18px; flex-wrap: wrap;
}
.asp-4a .asp-signoff__total strong { font-size: 24px; font-weight: 800; }
.asp-4a .asp-signoff__total em { font-size: 12px; }


/*
 * Above the studio, which is z-index 99999.
 *
 * The handoff's 60/61 are its own stacking context, where the editor is the
 * page rather than a modal over one. Here the studio IS a modal, so a panel at
 * 61 opens correctly and renders underneath the thing it is supposed to be
 * covering — which looks exactly like a button that does nothing.
 */
.asp-signoff__panel {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 100003;
    display: flex; flex-direction: column; overflow: hidden;
    box-sizing: border-box;
    width: min(820px, calc(100vw - 48px));
    max-height: calc(100vh - 64px);
    background: #fff; border-radius: 24px;
    box-shadow: 0 34px 80px rgba(36, 41, 56, .45);
}

/*
 * ─── AND CENTRED BELOW THE PROOF BAR, NOT BEHIND IT ───────────────────────
 *
 * A proofer opening a slot gets a fixed bar across the top of the storefront
 * (studio-proof.js sets body.asp-is-proofing and publishes its measured height
 * into --asp-proofbar-h). Everything else of this studio's survives that
 * because it is bottom-anchored or proportional — this panel does not: it
 * centres on the VIEWPORT, and `calc(100vh - 64px)` pins its top at 32px
 * whatever the screen height. Against a 42px bar that is a constant 10px
 * overlap, and it grows one-for-one if the bar ever wraps to a second line.
 *
 * This panel is z-index 100003 against the bar's 100000, so it is the bar that
 * disappears underneath — the proofer's own controls, covered by the screen
 * they are reviewing on. Centred in the space below the bar instead: half the
 * bar's height added to the midpoint, and the same height off the ceiling.
 *
 * Scoped to .asp-is-proofing, which only that script sets, so a customer's
 * review screen is untouched. The 0px fallback makes it inert if the class
 * ever arrives before the variable does.
 *
 * ─── AND WIDE SCREENS ONLY, WHICH IS NOT A DETAIL ─────────────────────────
 *
 * Below 760px this panel is a bottom sheet: `top: auto`, `bottom: 0`,
 * max-height 88vh. Written unguarded, this rule is (0,2,1) against that rule's
 * (0,1,0) — so it wins on specificity no matter that the media query comes
 * later in the file, and it did: it put `top: 452px` on a sheet still pinned
 * to `bottom: 0`, which cut it from 743px tall to 392 and doubled the
 * scrolling. That is the third time this stylesheet has been bitten by
 * assuming a media query outranks a longer selector; see .asp-4a__panes and
 * .asp-4a__steps for the other two.
 *
 * A sheet does not need this anyway. It is bottom-anchored, so its top edge
 * lands at 101px on an 844px screen — clear of a 60px bar by 41.
 */
@media (min-width: 761px) {
    body.asp-is-proofing .asp-signoff__panel {
        top: calc(50% + var(--asp-proofbar-h, 0px) / 2);
        max-height: calc(100vh - var(--asp-proofbar-h, 0px) - 64px);
    }
}

.asp-signoff__head {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 28px 36px 20px;
    border-bottom: 1px solid rgba(45, 56, 75, .1);
}
.asp-signoff__seal {
    flex: none; display: grid; place-items: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: #f2fbf5; color: #1e7a46;
}
.asp-signoff__heading { display: flex; flex-direction: column; gap: 3px; }
.asp-signoff__heading strong { font-weight: 800; font-size: 23px; letter-spacing: -.01em; }
.asp-signoff__heading em { font-style: normal; font-size: 13.5px; color: #555b68; }
.asp-signoff__x {
    margin-left: auto; flex: none;
    width: 36px; height: 36px; border-radius: 50%; border: 0;
    display: grid; place-items: center; cursor: pointer;
    background: none; color: #555b68; font-size: 15px; line-height: 1;
}
.asp-signoff__x:hover { background: var(--color-surface-alt, #e4e4e4); }

.asp-signoff__body {
    display: flex; flex-direction: column; gap: 10px;
    padding: 20px 36px; overflow: auto;
}
.asp-signoff__rows { display: flex; flex-direction: column; gap: 10px; }

.asp-signoff__row {
    display: flex; align-items: center; gap: 16px;
    padding: 10px 16px 10px 10px;
    border: 1.5px solid rgba(45, 56, 75, .1); border-radius: 14px;
    /* The review tick and its note live INSIDE this border now (Dennis,
       2026-09-08) — they wrap to their own full-width lines under the
       design they belong to. */
    flex-wrap: wrap;
}
.asp-signoff__row .asp-signoff__ask { flex-basis: 100%; margin: 0; padding: 4px 2px 0; }
.asp-signoff__row .asp-signoff__why { flex-basis: 100%; margin: 0 0 2px; }
.asp-signoff__thumb {
    flex: none; position: relative; overflow: hidden;
    width: 54px; height: 54px; border-radius: 10px; background: var(--color-surface-alt, #e4e4e4);
}
.asp-signoff__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.asp-signoff__what { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.asp-signoff__name {
    font-weight: 700; font-size: 13.5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.asp-signoff__spec { font-size: 12px; color: #555b68; }

/* ── The merged review row, at every width ───────────────────────────────────
 *
 * These lived inside @media (max-width: 760px), because the one-row layout
 * was the phone's and desktop drew a second grid of cards. studio-signoff.js
 * renders the one row at every width now, so the row had the markup and none
 * of the layout above 760px: the shape glyph, the size, the state mark and
 * Edit stacked down the middle of the row instead of reading across it.
 *
 * Structure only. The phone block still owns its own sizes — 40px thumb, 13px
 * name, 11px spec — and still wins, because it comes later in the file.
 */
.asp-signoff__under { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.asp-signoff__spec {
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 6px;
    white-space: nowrap; overflow: hidden;
}
.asp-signoff__shape { flex: none; display: flex; color: #55607a; }
.asp-signoff__size  { flex: none; }
/* .asp-signoff__edit already gets flex:none from its own rule below. */
/* The row's two actions, right-aligned in their own column — the handoff's
   96px, "Edit cut" over "Ask a person". */
.asp-signoff__acts {
    flex: none; width: 96px;
    display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}
.asp-signoff__askmore {
    border: 0; background: none; cursor: pointer; padding: 0;
    font: inherit; font-size: 11.5px; font-weight: 600; color: #555b68;
    white-space: nowrap;
}
.asp-signoff__askmore:hover { color: #2d3445; }

/* The note, quoted back on the row — the handoff's third line. */
.asp-signoff__note {
    font-size: 12px; color: #555b68; font-style: italic;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* The cut shape in words as well as the glyph. The glyph exists because a
   phone row has about 200px for its second line and "Contour · 3 × 3″ ·
   Review requested" does not fit — see shapeIcon(). Above that width the
   handoff writes the word, so it is hidden rather than dropped. */
.asp-signoff__shapeword { flex: none; }

/* The separators the handoff draws between the parts of the spec line: a 3px
   dot, not a middot glyph, so it sits on the optical centre whatever the type
   around it is doing. Before the size and the status only — the shape's glyph
   and its word are one item. */
.asp-signoff__size::before,
.asp-signoff__mark::before {
    content: ''; flex: none;
    width: 3px; height: 3px; border-radius: 50%;
    background: #c3c8d2; margin-right: 6px;
}
.asp-signoff__size, .asp-signoff__mark { display: flex; align-items: center; }

/* "Finish with N designs" — the quiet second action in an empty slot's drop
   zone, beside Choose a file. The handoff's values: 14px/600, 14px padding,
   14px radius, 1.5px border, and the border and the word both go blue on
   hover rather than the box filling. */
.asp-4a__finish-fewer {
    display: flex; align-items: center; justify-content: center;
    margin-top: 10px; padding: 14px;
    border: 1.5px solid rgba(45, 56, 75, 0.22); border-radius: 14px;
    background: none; cursor: pointer;
    font: inherit; font-size: 14px; font-weight: 600; color: #2d3445;
}
.asp-4a__finish-fewer:hover { border-color: #1ab0e0; color: #1ab0e0; }
.asp-4a__finish-fewer[hidden] { display: none; }
.asp-signoff__mark  { flex: none; display: flex; align-items: center; gap: 4px; }
.asp-signoff__mark--human { color: #b3752a; font-weight: 700; }
.asp-signoff__row--flagged .asp-signoff__spec { flex-wrap: wrap; white-space: normal; }
.asp-signoff__share { flex: none; display: flex; }
.asp-signoff__qty { flex: none; font-weight: 800; font-size: 14px; }

.asp-signoff__chip {
    flex: none; display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 13px; border-radius: 999px;
    font-size: 11.5px; font-weight: 800; white-space: nowrap;
}
.asp-signoff__chip--ok    { background: #f2fbf5; color: #1e7a46; }
.asp-signoff__chip--human { background: #fef4e4; color: #b3752a; }

.asp-signoff__edit {
    flex: none; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 12px; font-weight: 700; color: #1ab0e0;
}
.asp-signoff__edit:hover { text-decoration: underline; }

.asp-signoff__human {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 18px; border-radius: 14px; background: #fef4e4;
}
.asp-signoff__human[hidden] { display: none; }

/* The reason box, under the design it is about — see studio-signoff.js. */
/* ─── THE VIEW ROW: HOW YOU LOOK AT IT, AND WHAT YOU DECIDED ─────────────────
 *
 * .asp-4a__seg was the absolutely positioned thing, floating centred over the
 * pane. The row takes that job now and the seg sits static inside it, so the
 * verdict can share the line instead of being positioned to chase it.
 *
 * Two groups, not one control of six: they answer different questions, and a
 * shared border would say they were alternatives to each other.
 */
.asp-4a__viewrow {
    position: absolute; top: 20px; left: 50%; transform: translateX(-50%); z-index: 3;
    display: flex; align-items: center; justify-content: center;
    gap: 10px; flex-wrap: wrap; max-width: calc(100% - 32px);
    /*
     * Its own width, not the room left of centre. Placed at left: 50%, an
     * absolutely positioned box gets half the pane to lay out in, so once the
     * Ruler / Artboard group joined the row (2026-10-14) it wrapped under
     * Cut line / Preview and onto the artboard at any pane under ~700px.
     */
    width: max-content;
}
.asp-4a__viewrow .asp-4a__seg {
    position: static; transform: none; top: auto; left: auto;
}

/*
 * Matched to the seg on purpose — same pill, same shadow, same height — so the
 * row reads as one strip of controls rather than two designs meeting.
 *
 * A machine-flagged design shows the pair LOCKED rather than hidden: a control
 * that disappears reads as a bug, one that is locked reads as a decision
 * already made, and the amber says who made it.
 */
/*
 * The verdict toggle is the MECHANISM, not a control — Perfect and Have a
 * person fix it click these buttons rather than writing their own state, and
 * the slot strip's badge reads from them. It is off the canvas because two
 * controls for one decision is how a design ends up approved on one screen
 * and queued on another.
 *
 * Hidden here rather than with the `hidden` attribute, so nothing that
 * toggles that attribute can put it back.
 */
.asp-4a__verdict { display: none !important; }
.asp-4a__verdictbtn {
    display: inline-flex; align-items: center; gap: 6px;
    border: 0; background: transparent; cursor: pointer;
    font: inherit; font-weight: 700; font-size: 13px; line-height: 1; color: #555b68;
    padding: 8px 14px; border-radius: 999px; white-space: nowrap;
}
.asp-4a__verdictbtn.is-on { background: var(--a4-navy); color: #fff; }
.asp-4a__verdictbtn:disabled { cursor: default; }
.asp-4a__verdict.is-locked .asp-4a__verdictbtn.is-on { background: #8a5210; }
.asp-4a__verdict.is-locked .asp-4a__verdictbtn:disabled { opacity: .45; }

/*
 * The labels are long for a phone. The icons carry the meaning there and the
 * words come back as soon as there is room for them.
 */
@media (max-width: 640px) {
    .asp-4a__verdictbtn span { display: none; }
    .asp-4a__verdictbtn { padding: 8px 12px; }
}

/* ─── PER-DESIGN REVIEW REQUEST ──────────────────────────────────────────────
 *
 * Sits between a design's row and its note, because the three are one thought:
 * this design, whether a person sees it, and what to tell them. A tick the
 * machine set is locked and dimmed — that one is not the customer's call.
 */
.asp-signoff__ask {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 0;
	padding: 6px 2px 0;
	font-size: 13px;
	cursor: pointer;
}
.asp-signoff__ask-input { margin: 0; flex: none; }
.asp-signoff__ask-input:disabled { cursor: default; }
.asp-signoff__ask-input:disabled + span { opacity: .65; cursor: default; }

.asp-signoff__why {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: -4px 0 2px;
    padding: 10px 12px;
    background: #f4fbfe;
    border: 1px solid #cfeaf6;
    border-radius: 10px;
}
.asp-signoff__why-label {
    font: inherit;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.3;
    color: #2d384b;
}
.asp-signoff__why-input {
    font: inherit;
    font-size: 12.5px;
    line-height: 1.5;
    color: #2d384b;
    padding: 7px 9px;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    background: #fff;
    resize: vertical;
    min-height: 38px;
    width: 100%;
    box-sizing: border-box;
}
.asp-signoff__why-input:focus {
    outline: 2px solid var(--st-focus, #0e8ab5);
    outline-offset: 2px;
    border-color: #1ab0e0;
}
.asp-signoff__why-input::placeholder { color: #8a93a3; }
.asp-signoff__eye { flex: none; display: flex; padding-top: 2px; color: #b3752a; }
.asp-signoff__human p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #2d384b; }

.asp-signoff__foot {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 36px 26px;
    border-top: 1px solid rgba(45, 56, 75, .1);
}
.asp-signoff__total { display: flex; flex-direction: column; gap: 1px; }
.asp-signoff__total strong { font-weight: 800; font-size: 19px; }
.asp-signoff__total em { font-style: normal; font-size: 12px; color: #555b68; }
.asp-signoff__keep {
    margin-left: auto; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 13px; font-weight: 700; color: #555b68;
}
.asp-signoff__keep:hover { color: #2d384b; }
.asp-signoff__go {
    display: flex; align-items: center; gap: 9px;
    padding: 14px 30px; border: 0; border-radius: 999px; cursor: pointer;
    background: #1ab0e0; color: #fff;
    font: inherit; font-size: 14.5px; font-weight: 700;
    box-shadow: 0 4px 12px rgba(26, 176, 224, .35);
}
.asp-signoff__go:hover { background: #159ac6; }

/*
 * Adding to cart. The button is the progress line and cannot be pressed
 * twice; the rows and Review again are held still — see setBusy() in
 * studio-signoff.js.
 */
.asp-signoff__go[aria-busy="true"],
.asp-signoff__go[aria-busy="true"]:hover { background: #1ab0e0; cursor: progress; opacity: .85; }
.asp-signoff.is-busy .asp-signoff__body { opacity: .6; }
.asp-signoff__keep:disabled { opacity: .4; cursor: default; }
.asp-signoff__err {
    margin: 0; padding: 12px 16px; border-radius: 12px;
    background: #fdecea; color: #a12a1f;
    font-size: 13px; font-weight: 600; line-height: 1.5;
}
.asp-signoff__err[hidden] { display: none; }
.asp-signoff__err a { color: inherit; }

/* ==========================================================================
   The product row — Cutline Editor V2, batch
   ==========================================================================

   The order across the top: what it is, what it costs, and every design in it.
   Values transcribed from the Batch mock, which carries them inline.
   ========================================================================== */

/*
 * The row is retired. Everything that was visible in it — the slots note and
 * the now-editing card — moved or went, and an empty row rendered as a white
 * band under the header. Kept in the markup because studio-batch.js writes
 * into it and toggles it.
 */

/*
 * ─── THE BUNDLE CARD IS A LABEL, NOT A POSTER ─────────────────────────────
 *
 * 82px of a full-width band, for a badge, a sentence and an offer — on a
 * screen whose subject is the artwork underneath it. It was sized as though a
 * customer arrives at the studio needing to be sold the bundle; they arrive
 * having already bought it, to put five designs into it.
 *
 * Every number here is one step down: the padding, the badge, the two figures
 * and the gap between them. Nothing is removed — the upgrade is still findable,
 * which is the one thing in this card that is genuinely an offer.
 */
.asp-slot-strip--batch {
    flex: 1; min-width: 0;
    overflow-x: auto; overflow-y: hidden;
}
.asp-slot-strip--batch .asp-slot-strip__head,
.asp-slot-strip--batch .asp-slot-strip__why,
.asp-slot-strip--batch .asp-slot-strip__split,
.asp-slot-strip--batch .asp-slot-strip__even,
.asp-slot-strip--batch .asp-slot-strip__reset { display: none; }

.asp-slot-strip--batch .asp-slot-strip__list {
    display: flex; flex-direction: row; gap: 10px; align-items: stretch;
}
.asp-slot-strip--batch .asp-slot-cell { flex: none; }

.asp-slot-strip--batch .asp-slot-tile {
    display: flex; flex-direction: row; align-items: center; gap: 10px;
    padding: 6px 12px 6px 6px;
    border-radius: 12px; border: 2px dashed rgba(179, 117, 42, .5);
    background: #fff; cursor: pointer; text-align: left;
}
.asp-slot-strip--batch .asp-slot-tile__thumb {
    flex: none; width: 52px; height: 52px;
    border-radius: 9px; overflow: hidden; background: var(--color-surface-alt, #e4e4e4);
}
.asp-slot-strip--batch .asp-slot-tile__thumb img { width: 100%; height: 100%; object-fit: contain; }
.asp-slot-strip--batch .asp-slot-tile__label {
    font-weight: 800; font-size: 13px; white-space: nowrap;
}
.asp-slot-strip--batch .asp-slot-tile__status {
    font-size: 10.5px; font-weight: 800; white-space: nowrap;
}

/*
 * State reads as a border first and a word second, which is what lets five
 * designs be scanned rather than read. The handoff's three: blue for the one
 * being worked on, green for done, amber dashed for outstanding.
 */
.asp-slot-strip--batch .asp-slot-tile--traced {
    border: 2px solid #2fa45c; background: #f2fbf5;
}
.asp-slot-strip--batch .asp-slot-tile--traced .asp-slot-tile__status { color: #1e7a46; }

.asp-slot-strip--batch .asp-slot-tile--needs-human .asp-slot-tile__status,
.asp-slot-strip--batch .asp-slot-tile--tracing .asp-slot-tile__status { color: #b3752a; }

.asp-slot-strip--batch .asp-slot-tile--active {
    border: 2px solid #1ab0e0; background: #f0fafe;
    box-shadow: 0 0 0 3px rgba(26, 176, 224, .18);
}
.asp-slot-strip--batch .asp-slot-tile--active .asp-slot-tile__status { color: #1ab0e0; }

.asp-slot-strip--batch .asp-slot-tile--empty,
.asp-slot-strip--batch .asp-slot-tile--locked {
    border: 2px dashed rgba(45, 56, 75, .18); background: #fff;
}
.asp-slot-strip--batch .asp-slot-tile--empty .asp-slot-tile__status,
.asp-slot-strip--batch .asp-slot-tile--locked .asp-slot-tile__status { color: #9aa0ad; }

/* The share input rides under its tile rather than beside it. */
.asp-slot-strip--batch .asp-slot-cell { display: flex; flex-direction: column; gap: 4px; }
.asp-slot-strip--batch .asp-slot-cell input { width: 100%; }

/* ── Which design the sidebar is describing ──────────────────────────────── */
.asp-4a__nowediting {
    display: flex; flex-direction: column; gap: 2px;
    padding: 10px 12px; margin-bottom: 10px;
    border-radius: 12px; background: #e3f6fc;
}
.asp-4a__nowediting[hidden] { display: none; }
.asp-4a__nowediting-eyebrow {
    font-style: normal; font-size: 10.5px; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase; color: #1ab0e0;
}
.asp-4a__nowediting-name {
    font-weight: 700; font-size: 14px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── "N of M artworks ready", under the product name ──────────────────────── */
.asp-4a__ready {
    display: block;
    font-style: normal; font-size: 11.5px; font-weight: 600; color: #555b68;
    letter-spacing: 0;
}
.asp-4a__ready[hidden] { display: none; }

@media (max-width: 900px) {
    .asp-4a__productrow { padding: 12px 14px; gap: 12px; }
    .asp-4a__slotsnote { order: 3; width: 100%; }
}

/* ==========================================================================
   Adjust the split — Cutline Editor V2, batch
   ==========================================================================

   Literal values rather than the --a4-* tokens, for the same reason the
   signoff carries its own: the panel is moved to <body> at init so it can sit
   over the studio, and outside .asp-4a every token resolves to nothing.
   ========================================================================== */

.asp-4a__rowend {
    flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 7px;
}

/* ── The split, as a section of the review screen ─────────────────────────
 *
 * It was a centred dialog with its own scrim, at z-index 100001, opened from a
 * pill above the canvas. It is a block inside .asp-signoff__body now — the
 * reasoning is in class-studio-4a.php and studio-split.js — so everything that
 * made it float is gone: the fixed position, the viewport sizing, the shadow,
 * the scrim and the close button that went with them.
 *
 * What it keeps is a rule above it. It is a distinct question from the list of
 * designs it sits under — those are being confirmed, this is being decided —
 * and on a screen where everything else is read-only it should be visible that
 * this part is not.
 */
.asp-split[hidden] { display: none; }

.asp-split {
    display: flex; flex-direction: column; gap: 14px;
    margin-top: 18px; padding-top: 18px;
    border-top: 1px solid rgba(45, 56, 75, .12);
}

/*
 * The split's own head and card grid are retired. The stepper lives in each
 * design's row now — see targetFor() in studio-split.js — so these would be a
 * second listing of the same four designs. Kept in the markup because
 * studio-split.js still measures and writes into the pool bar beside them.
 */
.asp-split__head,
.asp-split__grid { display: none; }
.asp-split__head--legacy { display: flex; align-items: flex-start; gap: 16px; }
.asp-split__heading { display: flex; flex-direction: column; gap: 3px; }
.asp-split__heading strong { font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.asp-split__heading em { font-style: normal; font-size: 13px; color: #555b68; }
.asp-split__grid {
    display: grid; gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
}
.asp-split__card {
    display: flex; flex-direction: column; align-items: center; gap: 9px;
    padding: 14px 10px;
    border: 1.5px solid rgba(45, 56, 75, .12); border-radius: 14px;
}
.asp-split__thumb {
    width: 64px; height: 64px; border-radius: 11px;
    overflow: hidden; background: var(--color-surface-alt, #e4e4e4);
}
.asp-split__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.asp-split__name {
    max-width: 100%; font-size: 11px; font-weight: 600; color: #555b68;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.asp-split__step {
    display: flex; align-items: center; overflow: hidden;
    border: 1.5px solid rgba(45, 56, 75, .2); border-radius: 999px;
    transition: border-color .12s, box-shadow .12s;
}
/*
 * ─── THE ACTIVE FIELD HAS TO SHOW ON THE BORDER ──────────────────────────────
 *
 * The field's own :focus rule draws an outline at outline-offset: 2px — which
 * this element then CLIPS, because it sets overflow: hidden to keep the − / +
 * inside its pill. An outline is painted outside the box, so the only part of
 * that rule reaching the screen was the input's background tint. Dennis:
 * "I can change the quantity on the review screen but the active border doesn't
 * change."
 *
 * So the pill shows it, which is the thing with a border in the first place.
 * :focus-within, not :focus — the element that takes focus is the input inside.
 * Matched to the selected pack card's treatment (#1AB0E0 with a 3px wash) so
 * "this is the thing you are editing" reads the same everywhere on the screen.
 */
.asp-split__step:focus-within {
    border-color: var(--a4-blue, #1ab0e0);
    box-shadow: 0 0 0 3px rgba(26, 176, 224, .18);
}
.asp-split__step button {
    width: 30px; height: 32px; border: 0; background: none; cursor: pointer;
    font: inherit; font-weight: 800; font-size: 15px; color: inherit;
}
.asp-split__step button:hover:not(:disabled) { background: var(--color-surface-alt, #e4e4e4); }
.asp-split__step button:disabled { opacity: .35; cursor: default; }
.asp-split__step output,
.asp-split__step input {
    width: 52px; text-align: center; font-weight: 800; font-size: 14px;
    border: 0; background: none; color: inherit; font-family: inherit;
    -moz-appearance: textfield; appearance: textfield; padding: 0;
}
.asp-split__step input::-webkit-outer-spin-button,
.asp-split__step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* No outline: it is clipped by the pill's overflow (see :focus-within above).
   The tint stays — it marks WHICH of the three cells has the caret. */
.asp-split__step input:focus { outline: none; background: #f0fafe; }

.asp-split__pool { display: flex; align-items: center; gap: 14px; }
.asp-split__bar {
    flex: 1; height: 8px; border-radius: 999px;
    background: rgba(45, 56, 75, .1); overflow: hidden;
}
.asp-split__bar i { display: block; height: 100%; border-radius: 999px; background: #1ab0e0; width: 0; }
.asp-split__note { font-size: 12.5px; font-weight: 800; white-space: nowrap; }

.asp-split__foot { display: flex; align-items: center; gap: 14px; }
.asp-split__even {
    border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 13px; font-weight: 700; color: #1ab0e0;
}
.asp-split__even:hover { text-decoration: underline; }

/*
 * The exits wrapper is not in the desktop flow at all — see the note in
 * class-studio-4a.php. It only becomes a box inside the mobile media query.
 */
/* .asp-4a__exits is gone — see class-studio-4a.php. Rule kept out, not kept. */

/* ==========================================================================
   The studio on a phone — StickerStudio, mobile
   ==========================================================================

   Built to section V of the StickerStudio handoff at phone width
   (design/handoffs/sticker-studio-mobile; requirement ids M01–M09 are its
   README's): one column, top to bottom — the header, the product line, "How
   about this?", the artboard card with its toolbar across the top, the design
   line, Size and Quantity, the designs in one sideways row, the progress
   line, and the price and the buttons pinned to the foot of the screen.

   The desktop's markup, re-laid. The cut panel and its first step are
   display: contents, so their parts are items of the body's column and
   `order` places them among the canvas and the designs strip. The one thing a
   stylesheet cannot do — gather the total and the buttons into one bar —
   studio-mobile.js does, by moving the nodes.

   It replaced the tab-bar layout built to `Sticker Cutline Editor Mobile
   Tabs.dc.html`, which stopped running when the steps left the rail and was
   removed on 2026-11-11 (git history has it).

   760px is the studio's own phone width, not a rung of the ladder (720): it
   predates the ladder, and the script that builds the bar has to switch at
   the same pixel as these rules. It is stated in six places, which move
   together or not at all: this block; `min-width: 761px` and the artwork
   picker's `max-width: 760px` in this file; studio-mobile.js and
   studio-signoff.js (matchMedia); admin-proofer.css's proof bar.
   ========================================================================== */

@media (max-width: 760px) {

    /*
     * ─── THE SHELL CANNOT BE WIDENED BY WHAT IS IN IT ───────────────────
     *
     * On a bundle this was catastrophic and silent. The designs strip renders
     * one cell per design — thumbnail, name, status, Replace — each about
     * 200px laid out as a row, so five of them come to 1052px of content.
     *
     * A grid item's automatic minimum size is `auto`, which means "as wide as
     * my content", and a track with no cap grows to fit it. So the grid COLUMN
     * became 1076px inside a 390px phone, and every child took that width with
     * it: the topbar, the product row, the body, and through the body the
     * canvas at 1061 and the tab bar and step cards under it. .asp-4a is
     * overflow-x: hidden, so none of it scrolled — it was simply cut off, and
     * roughly two thirds of the studio sat outside the screen with no way to
     * reach it. Nothing reported an error; the layout just quietly left.
     *
     * minmax(0, 1fr) caps the track at the container, and min-width: 0 lets the
     * three children sit inside it rather than insisting on their content. The
     * strip's own overflow-x: auto then finally does its job — it never had a
     * chance to, because it was being handed all the width it asked for.
     *
     * The single-artwork studio never showed this: studio-slots.js hides the
     * strip when there is one design, so the widest thing in the row was the
     * promo, which wraps.
     */
    .asp-4a { grid-template-columns: minmax(0, 1fr); }
    .asp-4a > .asp-4a__topbar,
    .asp-4a > .asp-4a__productrow,
    .asp-4a > .asp-4a__body { min-width: 0; }

    /* ── The whole studio scrolls ─────────────────────────────────────── */
    /*
     * The desktop pins the editor to the viewport and scrolls its columns.
     * Here the editor itself scrolls, so the header and the product line go up
     * with the page as the mock's do, and the artwork gets the screen. Scoped
     * to the modal to outrank `.asp-studio-modal .asp-4a { overflow: hidden }`.
     */
    .asp-studio-modal .asp-4a { overflow-x: hidden; overflow-y: auto; }

    /* One column, 14px between its parts. No bottom padding: the pinned bar
       is the last item and has to reach the edge of the screen (see it).
       display at one class, so `.asp-4a--view-final .asp-4a__body
       { display: none }` still clears the editor for the final check. */
    .asp-4a__body { display: flex; flex-direction: column; overflow: visible; }
    .asp-4a .asp-4a__body { gap: 14px; padding: 2px 16px 0; }
    /* Air under the last thing in the column when nothing is pinned there. */
    .asp-4a__body::after { content: ""; order: 9; flex: 0 0 10px; }

    /*
     * ─── A SCROLLING COLUMN MUST NOT SQUEEZE WHAT IT SCROLLS ────────────
     *
     * The body is a fixed-height flex column that scrolls, and flex items
     * shrink by default. So instead of scrolling, it squeezed: the designs
     * strip went from 224px to 69px and the cut panel from 802px to 243px,
     * and their content spilled out over the next box. On a phone the design
     * tiles sat on top of "How about this?" and the review rows (2026-11-10,
     * measured at 390 x 844). Each part keeps its own height.
     *
     * The cut panel's parts are items of the column too (see below), and the
     * low-res question — overflow: hidden, so it has no content minimum —
     * shrank to its own border until they were listed here (2026-11-11).
     *
     * ─── THE CUT PANEL DISSOLVES INTO THE COLUMN ────────────────────────
     *
     * The panel and its first step draw nothing (display: contents), so their
     * children sit in the column and `order` places them. Everything keeps its
     * source order at 4 unless named below: the question 1, the card 2, the
     * design line 3, the bar 7 in the flow or 10 pinned, the designs 8, the
     * progress line 9.
     */
    .asp-4a .asp-4a__cutpanel,
    .asp-4a .asp-4a__cutpanel > .asp-4a__step--active { display: contents; }
    .asp-4a__body > *,
    .asp-4a .asp-4a__cutpanel > *,
    .asp-4a .asp-4a__step--active > * { order: 4; flex-shrink: 0; }

    /*
     * ─── THE FLOOR OUTRANKS THE CEILING, AGAIN ──────────────────────────
     *
     * `overflow: visible` here lost to `.asp-studio-modal .asp-4a__steps
     * { overflow-y: auto }` above — two classes against one, and a media query
     * adds no specificity of its own. This is the same trap as .asp-4a__panes
     * and min-height, in the same stylesheet, on the other half of the layout.
     *
     * What it left was a scroll container inside a scroll container — two
     * scrollbars answering the same drag — and because the rail thought it
     * scrolled, `scrollbar-gutter: stable` reserved 15px down its right edge
     * for a bar that iOS draws as an overlay and never occupies.
     *
     * Scoped to the modal so it carries the same weight, exactly as the panes
     * rule is. On a phone the rail is the designs row (M08), after the buttons.
     */
    .asp-4a__steps,
    .asp-studio-modal .asp-4a__steps {
        order: 8;
        width: 100%;
        max-width: none;
        padding: 0;
        border-right: 0;
        overflow: visible;
        scrollbar-gutter: auto;
    }

    /*
     * ─── THE ARTBOARD IS ONE CARD, ITS TOOLBAR ACROSS THE TOP (M04) ─────
     *
     * The view switch and Replace / Remove leave the canvas, where they
     * floated over the artwork at this width, and become a white row across
     * the top of the card — away from Perfect, as the handoff asks. A grid of
     * two rows: the toolbar ("bar" for the switches, "act" for the art
     * actions) and the canvas under it. The edit pane draws nothing, so its
     * board and its actions are the card's own items.
     *
     * ─── THE FLOOR HAS TO OUTRANK THE CEILING ───────────────────────────
     *
     * `.asp-studio-modal .asp-4a__panes { min-height: 0 }` lets the canvas
     * shrink inside the 100dvh shell, which is right on a desktop. Two class
     * names beat one, and a media query adds no specificity of its own — so a
     * floor written as `.asp-4a__panes` lost everywhere the studio runs, and
     * the canvas once collapsed to 48px. The floor is the board's now, 300px,
     * and the card is scoped to the modal to carry the weight.
     */
    .asp-4a .asp-4a__panes,
    .asp-studio-modal .asp-4a .asp-4a__panes {
        order: 2;
        display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr);
        grid-template-areas: "bar act" "art art";
        min-height: 0; padding: 0;
        border: 1px solid var(--color-border-soft, rgba(45, 56, 75, .12));
        border-radius: var(--radius-lg, 18px);
        overflow: hidden;
        background: var(--a4-canvas);
    }
    .asp-4a .asp-4a__pane--edit { display: contents; }
    .asp-4a .asp-4a__viewrow {
        grid-area: bar; position: static; transform: none;
        justify-self: stretch; width: auto; max-width: none;
        display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 8px; min-width: 0;
        padding: 6px 0 6px 8px; background: var(--color-surface, #fff);
        border-bottom: 1px solid var(--color-border-soft, rgba(45, 56, 75, .12));
    }
    .asp-4a .asp-4a__viewrow .asp-4a__seg {
        position: static; transform: none; flex: none;
        padding: 3px; gap: 1px; border: 0; box-shadow: none;
        background: var(--color-surface-alt, #e4e4e4); border-radius: var(--radius-pill, 999px);
    }
    /* Ruler and Artboard as icons; their words stay for a screen reader. */
    .asp-4a .asp-4a__viewrow .asp-4a__seg--display button { gap: 0; padding: 5px 8px; }
    .asp-4a .asp-4a__viewrow .asp-4a__seg--display button > span {
        position: absolute; width: 1px; height: 1px; overflow: hidden;
        clip: rect(0 0 0 0); white-space: nowrap;
    }
    .asp-4a .asp-4a__artactions {
        grid-area: act; align-self: stretch;
        display: flex; align-items: center; justify-content: flex-end; gap: 6px;
        padding: 6px 6px 6px 0; margin: 0; background: var(--color-surface, #fff);
        border-bottom: 1px solid var(--color-border-soft, rgba(45, 56, 75, .12));
    }
    .asp-4a .asp-4a__artactions[hidden] { display: none; }
    /* Two separate icon buttons, not the desktop's divided pill. Flex, not
       grid: the label is a text node, and as a second grid row it pushed the
       icon 6px above centre. Through the edit pane to outrank the pill's
       :first-child / :last-child corners, which come later in the file. */
    .asp-4a .asp-4a__pane--edit .asp-4a__artactions .asp-4a__step-sub {
        display: flex; align-items: center; justify-content: center; gap: 0;
        width: 36px; height: 36px; min-height: 0; padding: 0; margin: 0; box-sizing: border-box;
        font-size: 0; line-height: 0;
        border: 1px solid var(--a4-line); border-radius: var(--radius-sm, 10px);
        background: var(--color-surface, #fff); color: var(--a4-navy);
    }
    .asp-4a .asp-4a__pane--edit .asp-4a__artactions .asp-4a__step-sub svg { width: 14px; height: 14px; }
    .asp-4a .asp-4a__pane--edit .asp-4a__artactions .asp-4a__remove { color: var(--color-text-muted, #555b68); }
    .asp-4a .asp-4a__board,
    .asp-4a .asp-4a__pane--preview { grid-area: art; min-height: 300px; }
    /* The card draws the corners and the edge; Artboard on adds no second card inside it. */
    .asp-4a .asp-4a__board { border-radius: 0; box-shadow: none; }
    /* Preview is the printed sticker alone. The edit pane is display: contents
       here, so the desktop's way of hiding it in preview
       (`.asp-4a--view-preview .asp-4a__pane--edit`, earlier, same weight) does
       not apply, and the board goes by name. Hidden, not removed: it keeps the
       art cell its size (`--a4-board-w`, square) and the preview fills that
       same cell, so switching views never moves the column at any width. */
    .asp-4a.asp-4a--view-preview .asp-4a__board { visibility: hidden; }
    /* The chevrons sat on the cut line at 358px, and the mock hides them on a
       phone too: the designs row is the way between designs here. */
    .asp-4a .asp-4a__browse { display: none; }

    /* ── The header (M01) ─────────────────────────────────────────────── */
    /*
     * ─── THE TOPBAR IS A GRID ROW, NOT A PADDED BOX ─────────────────────
     *
     * .asp-4a is `grid-template-rows: var(--a4-topbar) 1fr`, so the bar's
     * height is that token — the token is what to change. auto on a phone:
     * the bar is two rows here, the mark and Save & exit, then the product
     * line, and it sizes to them.
     */
    .asp-4a { --a4-topbar: auto; }
    .asp-4a .asp-4a__topbar {
        flex-wrap: wrap; align-items: center; column-gap: 0; row-gap: 0;
        min-height: 0; padding: 10px 16px 0;
    }
    .asp-4a .asp-4a__logo { display: block; width: 80px; height: 20px; }
    .asp-4a .asp-4a__topbar .asp-4a__wordmark { font-size: 14px; line-height: 14px; margin-left: 10px; }
    /* The tap area keeps its padding; the row is drawn at the mock's 20px. */
    .asp-4a .asp-4a__exit {
        padding: 8px 6px; margin: -8px -6px;
        font-size: 13px; font-weight: 600; color: var(--color-text-muted, #555b68);
    }
    /* Staff tools are the desktop's: four of them pushed Save & exit to a row of its own. */
    .asp-4a .asp-4a__topbar .asp-4a__iconbtn,
    .asp-4a .asp-4a__topbar .asp-4a__pro { display: none; }

    /*
     * The divider separated Exit from the order buttons. Those buttons are the
     * fixed bar at the foot of the screen at this width, so it was a rule at
     * the right edge of the bar with nothing on the other side of it.
     */
    .asp-4a__divider { display: none; }
    .asp-4a__ready { display: none; }

    /*
     * ─── THE PRODUCT LINE GETS ITS OWN ROW (M02) ────────────────────────
     *
     * Hidden here until 2026-11-11, because squeezed into one 390px bar it
     * was the product name clipped. The mock gives it a row under the mark:
     * the name left, what the order is right, the header's hairline full
     * width above it and its own inset one below. Scoped to the bar so it
     * outranks the unscoped `.asp-4a__context { display: flex }` later on.
     */
    .asp-4a .asp-4a__topbar .asp-4a__context {
        display: flex; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 10px;
        order: 10; flex: 0 0 100%; min-width: 0; position: relative;
        margin: 10px 0 0; padding: 13px 0 10px; border-left: 0;
        border-bottom: 1px solid var(--color-border-soft, rgba(45, 56, 75, .12));
        white-space: nowrap;
    }
    .asp-4a .asp-4a__topbar .asp-4a__context::before {
        content: ""; position: absolute; top: 0; left: -16px; right: -16px;
        border-top: 1px solid var(--color-border-soft, rgba(45, 56, 75, .12));
    }
    .asp-4a .asp-4a__context-name {
        min-width: 0; overflow: hidden; text-overflow: ellipsis;
        font-size: 12px; font-weight: 700; line-height: normal; color: var(--a4-navy);
    }
    .asp-4a .asp-4a__context-sub {
        flex: none;
        font-size: 12px; font-weight: 400; line-height: normal; color: var(--color-text-muted, #555b68);
    }
    /* "pick a size and quantity" is the desktop's; the phone keeps the count. */
    .asp-4a .asp-4a__context-more { display: none; }
    /* The no-file exit (only before a design lands) gets a row under the product line. */
    .asp-4a .asp-4a__topbar #asp-studio-later { order: 11; margin: 10px auto 0; }

    /*
     * "Have a person check it" is an order-level request and stays reachable —
     * it is the escape hatch for someone whose file is not working, which is
     * more likely on a phone, not less. It just stops shouting.
     */
    #asp-studio-human { padding: 7px 11px; font-size: 11.5px; }

    /* ── The product row becomes the mock's card ──────────────────────── */
    .asp-4a__productrow {
        flex-direction: column; align-items: stretch; gap: 8px;
        padding: 10px 12px;
    }
    /*
     * ─── "3 OF 5 ARTWORK SLOTS USED" IS ALREADY ON SCREEN ───────────────
     *
     * The row holds one thing now that the Adjust pill has gone to the review
     * screen: that count. And the strip directly above it labels every tile
     * "Design 1 of 5", "Design 2 of 5" — so the total is stated once per slot,
     * and each tile says its own state underneath. The line restates, on its
     * own row, what five tiles have just finished saying.
     *
     * The whole row goes rather than just the note, so its 8px of column gap
     * goes with it — hiding the text alone would leave the space it sat in.
     *
     * Desktop keeps it. There the product row is a horizontal band and the
     * count sits at the right-hand end of it, beside the slots rather than
     * under them, which is where it was asked to be if it stayed.
     */
    .asp-4a__rowend  { display: none; }

    /*
     * ─── THE DESIGNS, ONE SIDEWAYS ROW (M08) ────────────────────────────
     *
     * After the buttons, 64px tiles, numbered, the current one ringed. The
     * strip scrolls, not its list: a scrolling list clipped the current tile's
     * halo, so the strip carries the padding the halo needs. It stops at the
     * gutter like the mock's rail, and its list is centred while it is
     * narrower than the column.
     *
     * ─── THE STRIP SCROLLS SIDEWAYS, AND HAD TO BE MADE TO ──────────────
     *
     * Width matters here: stretching a flex item fills the LINE, and a flex
     * line is sized by its contents — so with nothing pinning it the strip
     * once took the 1052px its cells asked for and there was nothing left over
     * to scroll. min-width: 0 pins it to the column.
     */
    .asp-4a .asp-4a__designs { margin: 0; gap: 8px; }
    .asp-4a .asp-4a__designs::before { content: none; }
    .asp-4a .asp-4a__designs .asp-slot-strip--batch {
        display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
        width: auto; max-width: none; min-width: 0;
        margin: 0; padding: 8px 4px 4px;
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .asp-4a .asp-4a__designs .asp-slot-strip--batch .asp-slot-strip__list {
        flex: 0 0 auto; flex-direction: row; gap: 10px; align-items: flex-start;
        overflow: visible; width: max-content; max-width: none; margin: 0 auto; padding: 0;
    }
    .asp-4a .asp-4a__designs .asp-slot-strip--batch .asp-slot-cell { flex: none; width: auto; }
    .asp-4a .asp-4a__designs .asp-slot-strip--batch .asp-slot-tile {
        flex: none; width: 64px; max-width: 64px; height: 64px;
        padding: 0; gap: 0; border-radius: 11px;
    }
    .asp-4a .asp-4a__designs .asp-slot-strip--batch .asp-slot-tile__thumb { width: calc(100% - 8px); height: calc(100% - 8px); margin: 4px; border-radius: 7px; }
    /* The batch strip's own ring (one 3px halo), not the desktop rail's double one. */
    .asp-4a .asp-4a__designs .asp-slot-tile--active { box-shadow: 0 0 0 3px rgba(26, 176, 224, .18); }

    /* ── The question first, centred, without its byline (M03) ────────── */
    .asp-4a .asp-4a__panelhead { order: 1; text-align: center; margin: 0; padding: 12px 0 0; }
    .asp-4a .asp-4a__panelhead .asp-4a__ask-q {
        margin: 0; font-size: 19px; font-weight: 700; line-height: normal; letter-spacing: -0.01em; color: var(--a4-navy);
    }
    .asp-4a .asp-4a__panelhead .asp-4a__ask-sub { display: none; }
    /* The segments say what the design line and the progress line say. */
    .asp-4a .asp-4a__step--active > .asp-4a__progress { display: none; }
    /* The column's gap spaces the low-res question; its desktop margins doubled it. */
    .asp-4a .asp-4a__step--active > .asp-4a__lowres { margin: 0; }

    /*
     * ─── THE DESIGN LINE (M05) ──────────────────────────────────────────
     *
     * The facts list as one line under the card: which design, the file,
     * what it cuts at. "Design N of M" is the list's data-design, written by
     * paintToolsProgress() with the same count as the progress line. A
     * bundle's size note is a second line. Resolution asks for itself as a
     * question when it matters; quantity and price are the bar's, or the
     * bundle's and already chosen.
     */
    .asp-4a .asp-4a__facts {
        order: 3;
        display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0;
        margin: -4px 0 0; padding: 0 4px;
    }
    .asp-4a .asp-4a__facts::before {
        content: attr(data-design); flex: none;
        font-size: 15px; font-weight: 700; color: var(--a4-navy);
    }
    .asp-4a .asp-4a__facts:not([data-design])::before { content: none; }
    .asp-4a .asp-4a__facts .asp-4a__fact { display: flex; align-items: baseline; gap: 4px; padding: 0; border: 0; min-width: 0; }
    .asp-4a .asp-4a__facts .asp-4a__fact:first-child { flex: 1 1 0; }
    .asp-4a .asp-4a__facts .asp-4a__fact:first-child dt { display: none; }
    .asp-4a .asp-4a__facts .asp-4a__fact:first-child dd {
        overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        font-size: 12.5px; font-weight: 400; color: var(--color-text-muted, #555b68);
    }
    .asp-4a .asp-4a__facts #asp-4a-fact-size-row { flex: none; }
    .asp-4a .asp-4a__facts #asp-4a-fact-size-row dt { font-size: 12.5px; font-weight: 400; color: var(--color-text-muted, #555b68); text-transform: lowercase; }
    .asp-4a .asp-4a__facts #asp-4a-fact-size-row dd { font-size: 12.5px; font-weight: 700; color: var(--a4-navy); }
    .asp-4a .asp-4a__facts .asp-4a__fact-note { flex: 0 0 100%; order: 1; margin: 0; padding: 0; border: 0; font-size: 12px; line-height: 1.45; }
    .asp-4a .asp-4a__facts .asp-4a__fact-note[hidden],
    .asp-4a .asp-4a__facts #asp-4a-fact-dpi-row,
    .asp-4a .asp-4a__facts #asp-4a-fact-qty-row,
    .asp-4a .asp-4a__facts #asp-4a-fact-price-row { display: none; }

    /*
     * ─── SIZE AND QUANTITY (M06) ────────────────────────────────────────
     *
     * Each step's title and its note on one line, no rule between the steps
     * (the column's gap separates them), the quantity collapsed to its pick.
     */
    .asp-4a .asp-4a__cutpanel .asp-4a__step ~ .asp-4a__step { margin-top: 0; padding-top: 0; border-top: 0; }
    .asp-4a .asp-4a__cutpanel .asp-4a__step ~ .asp-4a__step--qty { margin-top: 2px; }
    .asp-4a .asp-4a__step--size {
        display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 9px 12px;
    }
    .asp-4a .asp-4a__step--size .asp-4a__step-head { grid-column: 1; margin: 0; }
    .asp-4a .asp-4a__step--size .asp-4a__size-note {
        grid-column: 2; grid-row: 1; margin: 0; text-align: right;
        font-size: 12px; font-weight: 400; color: var(--color-text-muted, #555b68);
    }
    .asp-4a .asp-4a__step--size .asp-4a__size { grid-column: 1 / -1; margin-top: 0; }
    /* The border's colour only, and not while focused: the focus ring is the field's blue border. */
    .asp-4a .asp-4a__step--size .asp-4a__sizefield:not(:focus-within) { border-color: var(--color-border, rgba(45, 56, 75, .18)); }
    .asp-4a .asp-4a__step--size .asp-4a__sizefield input { line-height: 19px; color: var(--a4-navy); }
    /* `.asp-4a__size span` (13px/700/#555b68) is what the W / H, the unit and the × draw with on
       the desktop; the phone's are the mock's. */
    .asp-4a .asp-4a__step--size .asp-4a__sizefield-k { font-size: 11px; font-weight: 700; letter-spacing: 0; color: var(--color-placeholder, #9aa0ad); }
    .asp-4a .asp-4a__step--size .asp-4a__sizefield-u { font-size: 12px; font-weight: 400; color: var(--color-placeholder, #9aa0ad); }
    .asp-4a .asp-4a__step--size .asp-4a__size-x { font-size: 16px; line-height: normal; color: var(--color-placeholder, #9aa0ad); }
    .asp-4a .asp-4a__step-title { font-size: 13px; font-weight: 700; line-height: 20px; letter-spacing: 0; text-transform: none; color: var(--a4-navy); }
    .asp-4a .asp-4a__step--qty .asp-4a__qty-summary { min-height: 47px; margin-top: 7px; padding: 11px 14px; border-radius: 12px; }

    /*
     * While the tools are open the column is the cut and its tools, and the
     * tools' own exits: the mock hides Size, Quantity, the designs, the
     * progress line and the pinned bar until Looks perfect now or Undo.
     */
    .asp-4a:has(#asp-4a-tools:not([hidden])) :is(.asp-4a__step--size, .asp-4a__step--qty, .asp-4a__steps, .asp-4a__toolscount, .asp-4a__phonebar) { display: none; }

    /*
     * ─── THUMB-SIZED, NOT OVERSIZED ─────────────────────────────────────
     *
     * These were 44px of min-height on top of the padding the desktop rule
     * already carries, which made every control on the phone TALLER than the
     * same control on a 1440px monitor — the opposite of what a small screen
     * wants. 40px is still a comfortable target and stops the rail reading as
     * a stack of oversized slabs.
     *
     * The padding goes with it: with min-height doing the sizing, the desktop
     * padding is just extra height nothing asked for.
     */
    .asp-4a__pills button { min-height: 36px; padding: 5px 4px; font-size: 12.5px; border-radius: 10px; }
    .asp-4a__pills        { gap: 6px; }
    .asp-4a .asp-4a__seg button { min-height: 0; padding: 5px 10px; font-size: 11px; font-weight: 700; line-height: normal; }
    .asp-4a__range        { height: 24px; }

    /* The steps' own furniture, one size down to match. */
    .asp-4a__step-head  { gap: 8px; }
    .asp-4a__label      { margin: 10px 0 5px; font-size: 10.5px; }

    /*
     * ─── THE PRICE AND THE BUTTONS (M07) ────────────────────────────────
     *
     * studio-mobile.js moves .asp-4a__total and #asp-4a-ask-actions into one
     * .asp-4a__phonebar (the nodes themselves, not copies) and marks it
     * --pinned when there is a price in it: an order the customer is still
     * pricing. Without one — a bundle, whose price was chosen on the product
     * page — the buttons sit in the column under the design line, as the
     * mock's bundle frame has them.
     *
     * Pinned, it is the column's LAST item, so sticky bottom: 0 holds it at
     * the foot of the screen the whole way down. Earlier in the column it was
     * pinned only until its own place scrolled into view, then rode up.
     */
    .asp-4a .asp-4a__phonebar { order: 7; display: flex; flex-direction: column; gap: 12px; }
    .asp-4a .asp-4a__phonebar[hidden] { display: none; }
    .asp-4a .asp-4a__phonebar--pinned {
        order: 10;
        position: sticky; bottom: 0; z-index: 4;
        margin: 0 -16px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
        background: var(--color-surface, #fff);
        border-top: 1px solid var(--color-border-soft, rgba(45, 56, 75, .12));
        border-radius: var(--radius-lg, 18px) var(--radius-lg, 18px) 0 0;
        box-shadow: var(--shadow-sticky, 0 -8px 24px rgba(36, 41, 56, .13));
    }
    /* The desktop total is a sticky row with its own ground; in the bar it is the bar's first line. */
    .asp-4a .asp-4a__phonebar .asp-4a__total {
        position: static; gap: 0 10px;
        margin: 0; padding: 0; border: 0; background: none;
    }
    .asp-4a .asp-4a__phonebar .asp-4a__total-price { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: normal; color: var(--a4-navy); }
    .asp-4a .asp-4a__phonebar .asp-4a__total-label,
    .asp-4a .asp-4a__phonebar .asp-4a__total-each {
        justify-self: end; text-align: right;
        font-size: 12px; font-weight: 400; line-height: 16.8px; color: var(--color-text-muted, #555b68);
    }
    .asp-4a .asp-4a__phonebar .asp-4a__ask { margin: 0; padding: 0; border: 0; background: none; }
    /*
     * Side by side at the mock's 1 : 1.4. A label too long to share the row
     * ("A person will check this · Next design") keeps its one line and takes
     * a row of its own, on top, rather than wrapping to three.
     */
    .asp-4a .asp-4a__phonebar .asp-4a__ask-row { flex-direction: row-reverse; flex-wrap: wrap; gap: 10px; }
    .asp-4a .asp-4a__phonebar .asp-4a__ask-row > button { width: auto; min-height: 47px; padding: 12px; border-radius: 12px; }
    .asp-4a .asp-4a__phonebar .asp-4a__ask-row > button svg { flex: none; }
    .asp-4a .asp-4a__phonebar .asp-4a__ask-no  { flex: 1 1 0; min-width: max-content; font-size: 14px; }
    /* No side padding on the blue one: it centres its label, and its padding
       counted toward its share of the row (150 / 198 instead of 160 / 188).
       Through `> ` to outrank the row's own `> button { padding: 12px }`. */
    .asp-4a .asp-4a__phonebar .asp-4a__ask-row > .asp-4a__ask-yes { flex: 1.4 1 0; min-width: max-content; padding-inline: 0; font-size: 15px; }
    .asp-4a .asp-4a__phonebar .asp-4a__ask-yes:not(:disabled) { box-shadow: 0 6px 16px rgba(26, 176, 224, .3); }

    /* ── The progress line, last before the bar (M09) ─────────────────── */
    /* The count paintToolsProgress() writes for the desktop's panel head,
       in the phone's words: "2 of 5 marked perfect". */
    .asp-4a .asp-4a__step--active > .asp-4a__toolscount {
        order: 9; margin: 0; text-align: center;
        font-size: 12.5px; font-weight: 400; line-height: normal; color: var(--color-text-muted, #555b68);
    }
    .asp-4a .asp-4a__toolscount-at { display: none; }
    .asp-4a .asp-4a__toolscount-of { display: inline; }
    .asp-4a .asp-4a__toolscount b { font-weight: 700; color: var(--a4-navy); }

    /*
     * ─── THE QUANTITY LADDER BECOMES BADGES ─────────────────────────────
     *
     * It was a table: five full-width rows, each a radio dot, a number and a
     * price laid out across 366px, 46px tall apiece and 300px of card with its
     * own scrollbar inside a pane that already scrolls. On a desktop rail that
     * is a price list you read down. On a phone it is five lines of mostly
     * empty middle — the row is wide because the price is right-aligned to an
     * edge a long way from the number it belongs to.
     *
     * A quantity is one of a small set of choices, which is what the shape and
     * border rows above already look like. So the same treatment: a grid of
     * tiles, the number over its price, the selected one filled. Three across
     * fits the presets in two rows and takes the step from ~300px to ~130.
     *
     * All of it is CSS. The markup comes from pricing.js — dot, number,
     * "Popular" tag and price, in that order, inside .asp-studio-qty-left —
     * and none of it needed to change: display:contents lifts the left group
     * away so its children lay out in the tile, and `order` puts them in
     * reading order without touching the renderer.
     *
     * The radio dot goes. A filled tile IS the selection, and a dot inside it
     * is the control saying twice what the fill already says.
     */
    .asp-4a__qty { margin-top: 6px; }

    /*
     * 12px row gap and 8px of head room, both for the "Popular" ribbon below:
     * it straddles the top edge of its tile and hangs 7px above it, and that
     * has to fall into the gap rather than onto the tile above. The tag can
     * land on any quantity, so every row needs the clearance, and the first
     * one needs it from the container.
     */
    .asp-4a #asp-studio-qty-list:not(.asp-4a__qty--collapsed) {
        display: grid; grid-template-columns: repeat(3, 1fr);
        gap: 12px 6px; padding-top: 8px;
    }
    /*
     * ─── !important, BECAUSE THE THEME GOT THERE FIRST ──────────────────
     *
     * atomic-theme.css flags six of these on .asp-studio-qty-row —
     * display, align-items, justify-content, padding, border-radius, border —
     * and !important outranks any selector, so the first version of this block
     * landed HALF applied: flex-direction, gap and min-height took, while the
     * tile kept the table row's space-between, its 12px side padding, its 3px
     * radius and its transparent border. On screen that read as tiles with no
     * edges and a number and price pushed to opposite ends of a box that was
     * taller than either needed.
     *
     * Matching the flag is the only way to answer one. Flagged here property by
     * property rather than on the block, so it says exactly which six are
     * arguments with the theme and leaves the rest ordinary.
     */
    .asp-4a .asp-studio-qty-row {
        position: relative;
        display: flex; flex-direction: column;
        align-items: center;
        justify-content: center !important;
        gap: 3px;
        border: 1.5px solid rgba(45, 56, 75, .18) !important;
        border-radius: 10px !important;
        padding: 8px 4px !important;
        min-height: 44px;
        background: #fff; color: var(--a4-dark);
    }
    .asp-4a .asp-studio-qty-row--selected {
        background: var(--a4-navy); color: #fff;
        border-color: var(--a4-navy) !important;
    }
    .asp-4a .asp-studio-qty-row:hover { background: #fff; }
    .asp-4a .asp-studio-qty-row--selected:hover { background: var(--a4-navy); }

    /* The left group stops being a group: its children become tiles' own rows. */
    .asp-4a .asp-studio-qty-left { display: contents; }
    .asp-4a .asp-studio-qty-dot  { display: none; }

    .asp-4a .asp-studio-qty-num {
        order: 1; font-weight: 800; font-size: 14px; line-height: 1;
    }
    .asp-4a .asp-studio-qty-price {
        order: 2; font-size: 11px; line-height: 1; font-weight: 600;
    }
    .asp-4a .asp-studio-qty-row--selected .asp-studio-qty-price { color: #fff; }

    /*
     * ─── THE TAG CANNOT BE ALLOWED TO SET THE HEIGHT ────────────────────
     *
     * In flow it was a third line, so the tile carrying it was 64px against
     * its neighbours' 47 — and a grid row is as tall as its tallest cell, so
     * the two-line tiles beside it stretched to 64 as well. Their number and
     * price stayed 3px apart and centred, with 18px of air above and below:
     * one tile with a tag, two that looked like they had a line missing.
     *
     * Out of flow it sets nothing. Every tile is 47px whether it is the
     * popular one or sits beside it.
     *
     * On the top edge, not in a corner. The corner is the tidier idea and it
     * does not fit: at 46px the tag reaches 66px into a 118px tile and the
     * centred number's right edge is at 75, so it sat ON the number — on the
     * one tile the customer is most likely to be reading. Centred on the edge
     * it clears the content entirely, because the content is centred too and
     * the tag is above where it starts.
     *
     * Cyan, not the mid blue it wears on the desktop rail: on the selected
     * tile that badge would be navy on navy, and would disappear at exactly
     * the moment the customer chose it.
     */
    .asp-4a .asp-studio-qty-popular {
        position: absolute; top: 0; left: 50%;
        transform: translate(-50%, -50%);
        background: var(--a4-blue); color: #fff;
        font-size: 7px; padding: 2px 6px; letter-spacing: .04em;
        border-radius: 999px; white-space: nowrap;
    }

    /* "Show larger quantities" spans the tile grid; it is how the bigger
       tiers are reached on a phone, as on the desktop. */
    .asp-4a .asp-studio-qty-hint { grid-column: 1 / -1; }

    /*
     * ─── THE REVIEW SCREEN, CONDENSED ───────────────────────────────────
     *
     * Measured on a Split 5 before this: the scrolling body was 1952px inside a
     * 411px window — 4.75 screens — and 1426px of it was five designs described
     * twice, once as a 173px row and once as a 166px split card. The rest of
     * this block is the consequences of merging them.
     *
     * Reading order first. The body is a flex column, so it can be reordered
     * without touching the markup: the designs, then the pool they divide, then
     * the one that needs a person, then the offer. The upgrade goes last
     * deliberately — it is the only thing here that is not part of approving
     * the order, and it should not sit between the designs and their total.
     */
    .asp-signoff__rows    { order: 1; }
    #asp-split            { order: 2; }
    #asp-signoff-human    { order: 3; }

    .asp-signoff__body { gap: 14px; padding: 14px 18px 16px; }

    /* The heading says it; the sentence under it said it again. */
    .asp-signoff__head .asp-signoff__heading em { display: none; }
    /*
     * The tally chips under the heading, lined up with its text (the seal's
     * 30px and the 12px gap). Beside it, "1 Ready" and "1 For Review" left the
     * heading 111px, three lines, and ran the second chip off the edge.
     */
    .asp-4a .asp-signoff__head { flex-wrap: wrap; gap: 10px 12px; }
    .asp-4a .asp-signoff__head .asp-signoff__heading { flex: 1 1 0; min-width: 0; }
    .asp-4a .asp-signoff__head .asp-signoff__tally { order: 1; flex: 0 0 calc(100% - 42px); margin-left: 42px; }
    /* One pack a row: two side by side left each card's words 74px and 21px. */
    .asp-4a .asp-signoff__packs { grid-template-columns: 1fr; gap: 10px; }
    .asp-signoff__seal { width: 30px; height: 30px; }
    .asp-signoff__seal svg { width: 17px; height: 17px; }
    .asp-signoff__x { width: 28px; height: 28px; font-size: 14px; }

    /* ── one row per design, carrying its share ─────────────────────── */
    /*
     * Two lines, as the handoff's final check draws them: the picture, the
     * name and the spec; then the share and the row's actions, right-aligned.
     * A flagged row's "Our team will check this one" takes a third line
     * (`.asp-signoff__row .asp-signoff__ask`, flex-basis 100%).
     *
     * This said `flex-wrap: nowrap` until 2026-11-11, overriding the desktop
     * rule's wrap: a picture, a name, a stepper and two actions in one 350px
     * line left the name 42px ("ima…") and the flagged row's sentence one word
     * a line, clipped at the edge.
     */
    .asp-signoff__rows { gap: 8px; }
    .asp-signoff__row {
        align-items: center; gap: 10px 12px;
        padding: 9px 10px; border-radius: 12px;
    }
    .asp-signoff__row--flagged {
        background: #fefaf3; border-color: rgba(179, 117, 42, .35);
    }
    .asp-signoff__thumb { width: 40px; height: 40px; border-radius: 8px; }
    /* Fills the first line beside the 40px picture, so the share starts the second. */
    .asp-signoff__what  { flex: 1 1 calc(100% - 52px); order: 0; min-width: 0; gap: 2px; }
    .asp-signoff__acts  { margin-left: auto; }
    .asp-signoff__name  { font-size: 13px; }

    .asp-signoff__under { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
    .asp-signoff__spec {
        flex: 1; min-width: 0;
        display: flex; align-items: center; gap: 5px;
        font-size: 11px; white-space: nowrap; overflow: hidden;
    }
    .asp-signoff__shape { flex: none; display: flex; color: #55607a; }
    /* The glyph says it in the space a phone row has. */
    .asp-signoff__shapeword { display: none; }
    .asp-signoff__size  { flex: none; }
    .asp-signoff__edit  { flex: none; font-size: 11px; }

    /* Passing is a mark; only the exception spends words. */
    .asp-signoff__mark { flex: none; display: flex; align-items: center; gap: 4px; }
    .asp-signoff__mark--human { color: #b3752a; font-weight: 700; }

    /*
     * ─── THE ONE ROW THAT SPENDS WORDS GETS THE ROOM FOR THEM ───────────
     *
     * The second line has 136px: the row is 334 wide inside its padding, and
     * the thumbnail, the stepper, the gaps and Edit take the rest. A glyph, a
     * size and a green disc need 100 of it. "Review requested" needs 170, so it
     * clipped to "Review requ…" — on the one row whose whole purpose is to be
     * read.
     *
     * Wrapping is the honest answer rather than shortening the term Dennis
     * chose or dropping the size from this row alone. It costs 14px, once, on
     * the exception — and a flagged design is worth one more line than a
     * passing one.
     */
    .asp-signoff__row--flagged .asp-signoff__spec { flex-wrap: wrap; white-space: normal; }
    .asp-signoff__row--flagged .asp-signoff__mark--human { margin-top: 1px; }

    /*
     * The stepper studio-split.js renders into this row. Narrower than the one
     * on its own card — 34px of number rather than 44 — because it is sharing
     * a 354px row with a name and a spec rather than owning a card.
     */
    .asp-signoff__share { flex: none; display: flex; }
    .asp-signoff__share .asp-split__step { padding: 3px; gap: 0; }
    .asp-signoff__share .asp-split__step button { width: 26px; height: 26px; font-size: 15px; }
    .asp-signoff__share .asp-split__step output,
.asp-split__step input { width: 40px; font-size: 13px; }

    /*
     * What is left of the split section here is the pool and the even split —
     * the two things about the ORDER rather than about one design. Its heading
     * and its grid are on the rows now.
     */
    #asp-split { gap: 10px; margin-top: 0; padding-top: 0; border-top: 0; }

    #asp-split .asp-split__pool { gap: 10px; }
    #asp-split .asp-split__bar { height: 6px; }
    #asp-split .asp-split__note { font-size: 11.5px; }
    #asp-split .asp-split__foot { padding-top: 0; border-top: 0; }
    #asp-split .asp-split__even { font-size: 11.5px; }

    /* The proofer notice, one line and led by the term the row uses. */
    #asp-signoff-human { align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; }
    #asp-signoff-human p { font-size: 11.5px; line-height: 1.45; }
    .asp-signoff__eye { padding-top: 0; }
    .asp-signoff__eye svg { width: 15px; height: 15px; }

    /*
     * ─── THE OFFER IS NOT A WARNING ─────────────────────────────────────
     *
     * The upgrade wore the studio's amber, directly under a proofer notice that
     * wears the same amber for the opposite reason — so the screen ran two
     * yellow blocks in a row and the second read as a second thing to worry
     * about. Dennis: "lets not use yellow for anything sales related, it
     * implies caution (as the message above it does)."
     *
     * The studio's own light blue instead, with a ×2 mark so the offer is
     * legible before the sentence is read. The button keeps whatever
     * studio-batch.js labels it — that module owns the amounts and the way back
     * out of an upgrade already taken.
     *
     * ─── AND THE TOKENS ARE SPELLED OUT, NOT var()'d ────────────────────
     *
     * --a4-tint and friends are declared on .asp-4a, and studio-signoff.js
     * appends #asp-signoff to <body> — so this panel is not inside .asp-4a and
     * never inherits them. var(--a4-tint) resolves to nothing here and the
     * whole declaration is dropped, silently: written that way this box had a
     * blue border, no blue fill, and a ×2 badge with no background at all.
     *
     * The tokens block says as much about the theme's own variables — "it
     * cannot rely on the theme stylesheet being loaded, so it carries its own
     * copies". Same rule one level in. Values, not references, anywhere under
     * .asp-signoff.
     */
    .asp-signoff__upgrade {
        display: flex; align-items: center; gap: 11px;
        margin-top: 0; padding: 9px 11px;
        border: 1px solid rgba(26, 176, 224, .42); border-radius: 12px;
        background: linear-gradient(180deg, #f4fcfe 0%, #e3f6fc 100%);
    }
    .asp-signoff__upgrade::before {
        content: '\00D7 2';
        flex: none; display: grid; place-items: center;
        width: 30px; height: 30px; border-radius: 9px;
        background: #1ab0e0; color: #fff;
        font: inherit; font-weight: 800; font-size: 12px; letter-spacing: -.02em;
    }

    /* Room under Add to cart (and the home indicator): it sat on the screen's edge. */
    .asp-4a .asp-signoff__foot { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
    .asp-signoff__total strong { font-size: 17px; }
    .asp-signoff__total em     { font-size: 11px; white-space: nowrap; }
    .asp-signoff__keep { flex: none; margin-left: 0; font-size: 12px; }
    .asp-signoff__go {
        flex: 1 1 auto; min-width: 0; min-height: 46px;
        justify-content: center; padding: 0 16px; font-size: 14px;
    }


    /* ── Sheets, not centred dialogs ──────────────────────────────────── */
    .asp-signoff__panel {
        position: fixed; left: 0; right: 0; bottom: 0; top: auto;
        transform: none;
        width: 100%; max-width: none;
        max-height: 88vh;
        border-radius: 20px 20px 0 0;
    }
}

/* ── Corner rounding ──────────────────────────────────────────────────────
 *
 * Asked in inches — see studio-corners.js for why the state stays a
 * percentage. The value sits in the label so the number and its unit read as
 * one thing, which is how the mock has it: "0.25″ corners".
 */
.asp-4a__corners { display: flex; flex-direction: column; gap: 6px; }
.asp-4a__corners[hidden] { display: none; }
.asp-4a__corners .asp-4a__label { display: flex; align-items: baseline; justify-content: space-between; }
.asp-4a__corners .asp-4a__value { font-weight: 800; color: var(--a4-accent, #1ab0e0); font-size: 12px; }

/* A heading inside the pro panel, separating what changes how the artwork is
   READ from what changes how the cut is SHAPED. The panel went from five
   controls to eleven and an undivided list of eleven numbers is a wall. */
.asp-4a__pro-heading {
    grid-column: 1 / -1;
    margin: 14px 0 2px;
    font: inherit; font-weight: 800; font-size: 10.5px;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--a4-blue-mid, #0E7CA0);
}
.asp-4a__pro-heading:first-of-type { margin-top: 4px; }


/* ─── SPLIT BUNDLE STAGING ───────────────────────────────────────────────────
 *
 * The screen before the editor. Its palette is the studio's own — the customer
 * is about to walk into that room and this is the doorway, not a different
 * building.
 *
 * Two states carry the whole idea and are the only places colour is spent:
 * green for artwork already approved, amber for a file that still needs a
 * cutline. Everything else is grey so those two read at a glance.
 */
/*
 * ─── IT IS A STEP IN THE FORM, NOT A PANEL ON TOP OF IT ─────────────────
 *
 * This arrived from the design project as a self-contained card — 640px wide,
 * centred, 22px radius, a 34px drop shadow — which is right for a comp shown on
 * its own and wrong sitting in a column of controls that use none of those
 * things. Beside YOUR BUNDLE / FINISH / TURNAROUND it read as something the
 * page had pasted in.
 *
 * So it takes the same shape as its neighbours: .asp-pg-section for the column
 * flow, .asp-pg-label for the heading — which also picks up the automatic step
 * number, so this becomes step 4 and ORDER TOTAL renumbers itself to 5 with no
 * hardcoded digits anywhere. Every colour, radius and border below is a token
 * from tokens.css rather than the comp's own hexes.
 *
 * The two states that carry meaning keep their colour: green for artwork
 * already approved, amber for a file still owing a cutline. They are the only
 * places colour is spent, which is what makes them read at a glance.
 */
.asp-stage { display: flex; flex-direction: column; gap: 8px; }
.asp-stage[hidden] { display: none; }
/* The comp's card chrome, neutralised. The element stays so the markup and the
   design file still line up; it simply stops drawing a card. */
.asp-stage__card {
    width: auto; max-width: none; background: none; border-radius: 0;
    padding: 0; box-shadow: none;
    display: flex; flex-direction: column; gap: 8px;
}
.asp-stage__head { display: flex; flex-direction: column; gap: 4px; }
/* Type comes from .asp-pg-label, which the heading also carries. */
.asp-stage__lede { font-size: 12.5px; color: var(--color-text-muted, #555b68); line-height: 1.45; }

/* ── The two ways in ───────────────────────────────────────────────────────
 * Built on the shape-card idiom: radius 14, column, centred, icon over label.
 * The selected state is a 2px blue border on WHITE, absorbed into the padding
 * so the row does not shift — route-product.css is explicit that the tinted
 * fill is reserved for information panels, and spending it here would put two
 * tinted blocks in a column that already has one. */
.asp-stage__sources { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.asp-stage__source {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; text-align: center; cursor: pointer;
    border: 1.5px solid var(--color-border, rgba(45, 56, 75, .18));
    border-radius: 14px; padding: 16px 12px;
    background: var(--color-surface, #fff); color: var(--atomic-blue, #1ab0e0);
    transition: border-color .18s ease, color .18s ease;
}
.asp-stage__source:hover { border-color: var(--atomic-blue, #1ab0e0); }
.asp-stage__source.is-open {
    border: 2px solid var(--atomic-blue, #1ab0e0);
    padding: 15.5px 11.5px;
}
.asp-stage__source-name { font-weight: 700; font-size: 13.5px; color: var(--color-text, #2d384b); line-height: 1.25; }
.asp-stage__source-note { font-size: 11.5px; color: var(--color-text-muted, #555b68); font-weight: 600; line-height: 1.35; }

/* ── The picker ────────────────────────────────────────────────────────────
 * This one IS an information panel — a tray that opens under a control — so
 * the soft tint belongs here, and only here. */
.asp-stage__picker {
    background: var(--color-surface-alt, #e4e4e4);
    border: 1.5px solid var(--color-border-soft, rgba(45, 56, 75, .12));
    border-radius: 14px; padding: 14px 16px;
    display: flex; flex-direction: column; gap: 10px;
}
.asp-stage__picker[hidden] { display: none; }
.asp-stage__picker-head { display: flex; align-items: baseline; gap: 10px; }
.asp-stage__picker-title { font-weight: 700; font-size: 13px; color: var(--color-text, #2d384b); }
.asp-stage__picker-hint { font-size: 11.5px; color: var(--color-text-muted, #555b68); }
.asp-stage__picker-close { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--color-text-muted, #555b68); cursor: pointer; }
.asp-stage__picker-close:hover { color: var(--atomic-blue, #1ab0e0); }
.asp-stage__empty { font-size: 12.5px; color: var(--color-text-muted, #555b68); padding: 4px 2px; line-height: 1.45; }
.asp-stage__empty a { color: var(--atomic-blue, #1ab0e0); font-weight: 700; }

.asp-stage__hist {
    display: flex; align-items: center; gap: 12px;
    background: var(--color-surface, #fff);
    border: 1.5px solid var(--color-border-soft, rgba(45, 56, 75, .12));
    border-radius: 12px; padding: 8px 12px 8px 8px; cursor: pointer;
    margin-bottom: 8px; transition: border-color .18s ease;
}
.asp-stage__hist:hover { border-color: var(--atomic-blue, #1ab0e0); }
.asp-stage__hist:last-child { margin-bottom: 0; }
.asp-stage__hist.is-used { border-color: var(--as-ok, #2fa45c); cursor: default; }
.asp-stage__hist.is-used:hover { border-color: var(--as-ok, #2fa45c); }
.asp-stage__hist-thumb {
    width: 44px; height: 44px; border-radius: 9px; background: #fff center/cover no-repeat;
    border: 1px solid var(--color-border-soft, rgba(45, 56, 75, .12)); flex: none;
}
.asp-stage__hist-what { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.asp-stage__hist-name { font-weight: 700; font-size: 13px; color: var(--color-text, #2d384b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.asp-stage__hist-meta { font-size: 11.5px; color: var(--color-text-muted, #555b68); }
.asp-stage__chip {
    font-size: 11px; font-weight: 800; border-radius: 999px; padding: 5px 12px; flex: none;
    background: var(--atomic-dark, #2d3445); color: #fff;
}
.asp-stage__chip.is-used { background: #f2fbf5; color: #1e7a46; }

/* ── The slots ─────────────────────────────────────────────────────────────
 * The one place two colours are spent, because the whole screen exists to say
 * which designs still need a cutline and which do not. */
/* The container is a plain block now — the ledger inside it draws its own
   frame. (It was a grid when the card showed tiles.) */
.asp-stage__slots { display: block; }
.asp-stage__slot { display: flex; flex-direction: column; gap: 6px; }
.asp-stage__tile {
    border: 1.5px dashed var(--color-border, rgba(45, 56, 75, .18));
    border-radius: 12px; padding: 6px; background: var(--color-surface, #fff);
}
.asp-stage__tile.is-approved { border: 2px solid #2fa45c; background: #f7fdf9; padding: 5.5px; }
.asp-stage__tile.is-new { border: 2px dashed #b3752a; background: #fffdf8; padding: 5.5px; }
.asp-stage__thumb {
    aspect-ratio: 1; border-radius: 9px; background: var(--color-surface-alt, #e4e4e4);
    display: grid; place-items: center;
    font-size: 10px; color: var(--color-text-muted, #555b68); font-weight: 600;
    text-align: center; padding: 4px; overflow: hidden; word-break: break-all;
}
.asp-stage__thumb.has-img {
    background-size: contain; background-repeat: no-repeat; background-position: center;
    background-color: var(--color-surface-alt, #e4e4e4);
    font-size: 0;   /* the image is the content; the filename moved to title= */
}
.asp-stage__state { font-size: 10.5px; font-weight: 800; text-align: center; padding: 5px 2px 6px; }
.asp-stage__state.is-approved { color: #1e7a46; }
.asp-stage__state.is-new { color: #b3752a; }
.asp-stage__plus { aspect-ratio: 1; display: grid; place-items: center; color: var(--color-border, rgba(45, 56, 75, .18)); font-size: 22px; font-weight: 600; }
.asp-stage__hint { font-size: 10.5px; font-weight: 700; text-align: center; padding: 0 2px 8px; color: var(--color-text-muted, #555b68); }
/* ─── The designs ledger (handoff: "Split 5 Designs Section Options" 1c/1d) ──
   One line per design inside a single dashed drop target. Colour values are
   the mock's own. */
/*
 * `flex-direction: row` is stated, because the base .asp-stage__head is a
 * column and this modifier only ever overrode the alignment — so the wordmark
 * and the step eyebrow stacked instead of sharing the line.
 */
.asp-stage__head--ledger { display: flex; flex-direction: row; align-items: baseline; gap: 10px; }

/* The ledger's own bottom line: the order total and what is unassigned. */
.asp-ledger__row--total {
	justify-content: flex-end;
	background: #fafbfc;
	font-size: 12px;
	color: #555b68;
	border-top: 1px solid rgba(45, 56, 75, 0.1);
}
.asp-ledger__total-label { white-space: nowrap; }
.asp-ledger__total-label:has(+ .asp-ledger__total-state)::after { content: ' ·'; }
.asp-ledger__total-state { font-weight: 800; color: #2d384b; white-space: nowrap; }

.asp-ledger {
	border: 2px dashed rgba(26, 176, 224, 0.55);
	border-radius: 14px; overflow: hidden; background: #fff;
}
.asp-ledger.is-empty { background: #f8fdff; }

.asp-ledger__hero { padding: 30px 22px 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; cursor: pointer; }
.asp-ledger__hero.is-drag, .asp-ledger__row--target.is-drag { background: #eaf7fc; }
.asp-ledger__hero-icon { width: 52px; height: 52px; border-radius: 14px; background: #1ab0e0; color: #fff; display: grid; place-items: center; }
.asp-ledger__hero-icon svg { width: 24px; height: 24px; }
.asp-ledger__hero-title { font-weight: 800; font-size: 16px; color: #2d384b; }
.asp-ledger__hero-sub { font-size: 12.5px; color: #555b68; line-height: 1.55; max-width: 40ch; }
.asp-ledger__hero-btns { display: flex; gap: 8px; padding-top: 4px; flex-wrap: wrap; justify-content: center; }
.asp-ledger__btn { font: inherit; font-weight: 700; font-size: 13px; padding: 10px 20px; border-radius: 999px; cursor: pointer; display: flex; align-items: center; gap: 8px; border: none; }
.asp-ledger__btn--dark { background: #2d3445; color: #fff; }
.asp-ledger__btn--line { background: transparent; border: 1.5px solid rgba(45, 56, 75, 0.2); color: #2d384b; }

.asp-ledger__row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid rgba(45, 56, 75, 0.08); background: #fff; }
.asp-ledger > .asp-ledger__row:first-child, .asp-ledger > .asp-ledger__banner + .asp-ledger__row { border-top: 0; }
.asp-ledger__row--ghost { border-top-style: dashed; border-top-color: rgba(45, 56, 75, 0.12); pointer-events: none; }
.asp-ledger__row--target { border-top: 1px dashed rgba(45, 56, 75, 0.15); background: #f8fdff; cursor: pointer; }
.asp-ledger__row.is-bad { display: block; padding: 0; background: #fff8f7; }
.asp-ledger__rowline { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }

.asp-ledger__n { width: 26px; font-size: 12px; font-weight: 800; color: #9aa0ad; flex: none; }
.asp-ledger__n.is-ghost { color: #c3c8d2; }

.asp-ledger__thumb {
	width: 44px; height: 44px; border-radius: 9px; flex: none;
	background: var(--color-surface-alt, #e4e4e4) center/cover no-repeat; border: 1px solid rgba(45, 56, 75, 0.1);
	display: grid; place-items: center; overflow: hidden;
}
.asp-ledger__thumb.is-ghost { background: none; border: 1.5px dashed rgba(45, 56, 75, 0.18); }
.asp-ledger__thumb.is-target { background: none; border: 1.5px dashed rgba(26, 176, 224, 0.6); color: #1ab0e0; }
.asp-ledger__thumb.is-bad { color: #c2372b; }

.asp-ledger__what { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.asp-ledger__name { font-weight: 700; font-size: 13px; color: #2d384b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.asp-ledger__name.is-dim { color: #9aa0ad; }
.asp-ledger__name.is-target { color: #1ab0e0; }
.asp-ledger__browse { text-decoration: underline; }
.asp-ledger__meta { font-size: 11.5px; color: #555b68; }
.asp-ledger__meta.is-bad { color: #c2372b; }
.asp-ledger__row--target .asp-ledger__meta { color: #9aa0ad; }
.asp-ledger__reorderlink { font-weight: 700; }
.asp-ledger__free { font-size: 11.5px; font-weight: 700; color: #c3c8d2; flex: none; white-space: nowrap; }

.asp-ledger__chip { font-size: 9.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; white-space: nowrap; flex: none; }
.asp-ledger__chip--new  { background: #fef4e4; color: #b3752a; }
.asp-ledger__chip--ok   { background: #f2fbf5; color: #1e7a46; }
.asp-ledger__chip--busy { background: var(--color-surface-alt, #e4e4e4); color: #9aa0ad; }
.asp-ledger__chip--bad  { background: #c2372b; color: #fff; }
/* The row's second line: a 6px dot and the status, in the handoff's own
   colours — amber while a design still needs a cutline, green once it is a
   reorder that has already been approved. It replaced a "New upload" label
   and a pill out to the right, which between them said where the file came
   from (which the customer had just done) twice over. */
.asp-ledger__state {
    display: flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 600;
}
.asp-ledger__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.asp-ledger__state.is-new { color: #b3752a; }
/* A window with no file yet (window decals): grey, waiting. */
.asp-ledger__state.is-wait { color: #9aa0ad; }
.asp-ledger__state.is-wait .asp-ledger__dot { background: #c3c8d2; }
.asp-ledger__row.is-empty .asp-ledger__thumb.is-target { border: 1.5px dashed rgba(26, 176, 224, 0.5); background: #fff; }
.asp-ledger__state.is-ok  { color: #1e7a46; }

.asp-ledger__x { color: #9aa0ad; font-size: 12px; cursor: pointer; flex: none; padding: 4px; }
.asp-ledger__x:hover { color: #c2372b; }

.asp-ledger__bar { height: 5px; width: 160px; max-width: 100%; border-radius: 3px; background: rgba(45, 56, 75, 0.08); overflow: hidden; }
.asp-ledger__bar span { display: block; height: 100%; background: #1ab0e0; transition: width 0.2s; }
.asp-ledger__spin {
	width: 16px; height: 16px; border-radius: 50%;
	border: 2px solid rgba(26, 176, 224, 0.25); border-top-color: #1ab0e0;
	animation: asp-stage-spin 0.8s linear infinite;
}

.asp-ledger__fixrow { display: flex; align-items: center; gap: 8px; padding: 0 14px 10px 108px; flex-wrap: wrap; }
.asp-ledger__fixbtn { font: inherit; border: 1.5px solid #c2372b; color: #c2372b; background: none; font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.asp-ledger__fixalt { font: inherit; border: none; background: none; color: #555b68; font-weight: 700; font-size: 12px; padding: 6px 10px; cursor: pointer; white-space: nowrap; }
.asp-ledger__fixhint { font-size: 11.5px; color: #9aa0ad; margin-left: auto; white-space: nowrap; }

.asp-ledger__banner { display: flex; align-items: center; gap: 12px; background: #fdebe9; border-radius: 12px; padding: 11px 14px; margin-bottom: 12px; }
.asp-ledger__banner-icon { color: #c2372b; display: flex; flex: none; }
.asp-ledger__banner-text { font-size: 12.5px; color: #2d384b; line-height: 1.5; flex: 1; }
.asp-ledger__banner-btn { font: inherit; background: #c2372b; color: #fff; border: none; font-weight: 700; font-size: 12.5px; padding: 8px 14px; border-radius: 999px; cursor: pointer; flex: none; white-space: nowrap; }

.asp-ledger__bone { height: 9px; border-radius: 4px; background: rgba(45, 56, 75, 0.08); }
.asp-ledger__bone.is-thin { height: 7px; background: rgba(45, 56, 75, 0.06); }
.asp-ledger__bone.is-chip { height: 20px; width: 84px; border-radius: 999px; background: rgba(45, 56, 75, 0.06); flex: none; }
.asp-ledger__bone.is-step { height: 28px; width: 96px; border-radius: 999px; background: none; border: 1.5px solid rgba(45, 56, 75, 0.08); flex: none; }

@media (max-width: 560px) {
	.asp-ledger__meta { display: none; }
	.asp-ledger__bar { width: 90px; }
	.asp-ledger__fixrow { padding-left: 14px; }
}

.asp-stage__notice {
    margin-top: 10px; padding: 9px 12px; border-radius: 10px;
    font-size: 12px; font-weight: 600; line-height: 1.5;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.asp-stage__notice[data-kind="progress"] { background: var(--color-surface-alt, #e4e4e4); color: var(--color-text-muted, #555b68); }
.asp-stage__notice[data-kind="ok"] { background: #e9f8ef; color: #1e7a46; }
.asp-stage__notice[data-kind="error"] { background: #fdf3f2; color: #8a2018; border: 1.5px solid #f3c9c5; }
.asp-stage__notice[hidden] { display: none; }
.asp-stage__notice-btn {
    font: inherit; font-weight: 700; cursor: pointer; border-radius: 999px;
    padding: 5px 14px; border: 1.5px solid currentColor; background: #fff; color: inherit;
}
.asp-stage__notice-btn:disabled { opacity: .5; cursor: default; }
.asp-stage__notice-btn--quiet { border-color: currentColor; background: transparent; opacity: .75; }
.asp-stage__notice-btn--quiet:hover { opacity: 1; }

/* The card's progress line gets the same turning wheel as the dropzone —
   the long server-side phases must not read as a hang here either. */
.asp-stage__notice[data-kind="progress"] span::before {
    content: ''; display: inline-block; width: 12px; height: 12px;
    margin-right: 7px; vertical-align: -2px;
    border: 2px solid currentColor; border-top-color: transparent;
    border-radius: 50%; animation: asp-stage-spin .8s linear infinite;
}
@keyframes asp-stage-spin { to { transform: rotate(360deg); } }
.asp-stage__remove { font-size: 10.5px; font-weight: 700; color: var(--color-text-muted, #555b68); text-align: center; cursor: pointer; }
.asp-stage__remove:hover { color: #c2372b; }

/* (The staged-reorders "view the paths" link left with the skip policy —
   the gate opens the editor for every order now.) */

.asp-stage__summary { display: flex; align-items: baseline; gap: 8px; font-size: 12px; color: var(--color-text-muted, #555b68); }
.asp-stage__summary > div { flex: 1; }
.asp-stage__summary a { font-weight: 700; font-size: 12px; color: var(--atomic-blue, #1ab0e0); text-decoration: none; }
.asp-stage__summary a:hover { text-decoration: underline; }

/* ── The gate ──────────────────────────────────────────────────────────────
 * Shaped like the page's own primary button (pill, atomic blue, 700) rather
 * than the comp's shadowed variant — Add to cart sits a few centimetres below
 * it and the two should look like the same product. */
.asp-stage__gate { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }

/* ── section Y · the shell, the blocked line, the second way out ── */

/*
 * The wordmark, in the sign side's shape. The two studios share a LOOK and a
 * set of habits, not a codebase (Dennis, 2026-10-03) — so this is the same
 * recipe written here rather than a class reached for across plugins.
 */
.asp-stage__wordmark {
    font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1;
    margin-right: auto;
}
.asp-stage__wordmark b { color: #2D3445; font-weight: 800; }
.asp-stage__wordmark i { color: #1AB0E0; font-style: normal; font-weight: 800; }
.asp-stage__launch[hidden] { display: none; }

/* ── the same footer and blocked line, outside the staging card ── */
.asp-pg-alt {
    border: 1.5px solid rgba(45,56,75,.12); border-radius: 12px;
    background: var(--color-surface-alt, #e4e4e4); overflow: hidden; margin-top: 12px;
}
.asp-pg-alt__tabs { display: grid; grid-template-columns: 1fr; }
/* Two equal tabs, as section Y draws them, once there are two. */
.asp-pg-alt__tabs--two { grid-template-columns: 1fr 1fr; }

.asp-pg-alt__link { display: flex; align-items: center; gap: 8px; }
.asp-pg-alt__link-input {
    flex: 1; min-width: 0;
    background: #FFFFFF; border: 1.5px solid rgba(45,56,75,.16);
    border-radius: 999px; padding: 9px 14px;
    font: inherit; font-size: 12.5px; color: #2D3445;
}
.asp-pg-alt__link-input::placeholder { color: #9AA0AD; }
.asp-pg-alt__link-input:focus {
    outline: none; border-color: #1AB0E0; box-shadow: 0 0 0 3px rgba(26,176,224,.15);
}
.asp-pg-alt__attach {
    appearance: none; cursor: pointer; font: inherit; flex: none;
    background: #FFFFFF; border: 1.5px solid rgba(45,56,75,.18);
    border-radius: 999px; padding: 8px 14px;
    font-size: 12.5px; font-weight: 700; color: #2D3445;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.asp-pg-alt__attach:hover { background: var(--color-surface-alt, #e4e4e4); }
/* Attached is a state, not a flash — it holds until the field is edited. */
.asp-pg-alt__attach.is-on { background: #F2FBF5; border-color: #2FA45C; color: #1E7A46; }

.asp-pg-alt__note { margin: 0; font-size: 11.5px; line-height: 1.5; color: #555B68; }
.asp-pg-alt__tab {
    appearance: none; border: 0; background: none; font: inherit; cursor: pointer;
    min-height: 44px; padding: 0 12px;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    font-size: 12.5px; font-weight: 700; color: #555B68;
    border-bottom: 2px solid transparent;
    transition: background .15s ease, color .15s ease;
}
.asp-pg-alt__tab:hover { color: #1AB0E0; }
.asp-pg-alt__tab.is-on { background: #FFFFFF; color: #2D3445; border-bottom-color: #1AB0E0; }
.asp-pg-alt__tab-icon { display: flex; flex: none; }

.asp-pg-alt__panel {
    padding: 12px 14px 14px; background: #FFFFFF;
    border-top: 1px solid rgba(45,56,75,.08);
    display: flex; flex-direction: column; gap: 8px;
}
.asp-pg-alt__panel[hidden] { display: none; }

.asp-pg-alt__steps { margin: 0 0 4px; padding: 0; list-style: none; counter-reset: step; }
.asp-pg-alt__steps li {
    display: flex; align-items: center; gap: 10px; padding: 6px 0;
    font-size: 12.5px; color: #555B68;
}
.asp-pg-alt__steps li::before {
    counter-increment: step; content: counter(step);
    width: 20px; height: 20px; border-radius: 50%; flex: none;
    display: grid; place-items: center;
    background: #E3F6FC; color: #0E7CA0; font-size: 11px; font-weight: 800;
}
.asp-pg-alt__steps strong { font-weight: 700; color: #2D3445; }

.asp-pg-alt__later-label {
    display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
    border: 1.5px solid rgba(45,56,75,.16); border-radius: 12px; padding: 10px 12px;
    transition: border-color .15s ease, background .15s ease;
}
.asp-pg-alt__later-label:hover { border-color: #C9D3DC; background: #F7FAFC; }
.asp-pg-alt__later-label:has(.asp-pg-alt__later-box:checked) { border-color: #2FA45C; background: #F2FBF5; }
.asp-pg-alt__later-box { width: 16px; height: 16px; margin: 1px 0 0; flex: none; accent-color: #1AB0E0; cursor: pointer; }
.asp-pg-alt__later-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.asp-pg-alt__later-copy strong { font-size: 13px; font-weight: 700; color: #2D3445; }
.asp-pg-alt__later-copy em { font-style: normal; font-size: 11.5px; color: #555B68; }

.asp-pg-block {
    margin: 12px 0 0; display: flex; align-items: center; gap: 10px;
    background: #FDEBE9; border-radius: 12px; padding: 10px 14px;
    font-size: 12.5px; line-height: 1.45; color: #2D3445;
}
.asp-pg-block[hidden] { display: none; }
.asp-pg-block__mark {
    width: 22px; height: 22px; border-radius: 50%; flex: none;
    background: #C2372B; color: #FFFFFF; display: grid; place-items: center;
    font-weight: 800; font-size: 13px; line-height: 1;
}
.asp-pg-block__text { flex: 1; min-width: 0; }
.asp-pg-block__go {
    appearance: none; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 12px; font-weight: 700; flex: none;
    color: #1AB0E0; padding: 0;
}
.asp-pg-block__go:hover { color: #0E7CA0; text-decoration: underline; }

/* The grey footer. One tab today — see the note in class-split-staging.php
   on why "Paste a cloud link" is not here yet. */
.asp-stage__alt {
    border-top: 1px solid rgba(45,56,75,.08);
    background: var(--color-surface-alt, #e4e4e4);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}
.asp-stage__tabs { display: grid; grid-template-columns: 1fr; }
.asp-stage__tab {
    appearance: none; border: 0; background: none; font: inherit; cursor: pointer;
    min-height: 44px; padding: 0 12px;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    font-size: 12.5px; font-weight: 700; color: #555B68;
    border-bottom: 2px solid transparent;
    transition: background .15s ease, color .15s ease;
}
.asp-stage__tab:hover { color: #1AB0E0; }
.asp-stage__tab.is-on { background: #FFFFFF; color: #2D3445; border-bottom-color: #1AB0E0; }
.asp-stage__tab-icon { display: flex; flex: none; }

.asp-stage__panel {
    padding: 12px 14px 14px; background: #FFFFFF;
    border-top: 1px solid rgba(45,56,75,.08);
    display: flex; flex-direction: column; gap: 8px;
}
.asp-stage__panel[hidden] { display: none; }

.asp-stage__steps { margin: 0 0 4px; padding: 0; list-style: none; counter-reset: step; }
.asp-stage__steps li {
    display: flex; align-items: center; gap: 10px; padding: 6px 0;
    font-size: 12.5px; color: #555B68;
}
.asp-stage__steps li::before {
    counter-increment: step; content: counter(step);
    width: 20px; height: 20px; border-radius: 50%; flex: none;
    display: grid; place-items: center;
    background: #E3F6FC; color: #0E7CA0; font-size: 11px; font-weight: 800;
}
.asp-stage__steps strong { font-weight: 700; color: #2D3445; }

.asp-stage__later-label {
    display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
    border: 1.5px solid rgba(45,56,75,.16); border-radius: 12px; padding: 10px 12px;
    transition: border-color .15s ease, background .15s ease;
}
.asp-stage__later-label:hover { border-color: #C9D3DC; background: #F7FAFC; }
.asp-stage__later-label:has(.asp-stage__later-box:checked) { border-color: #2FA45C; background: #F2FBF5; }
.asp-stage__later-box { width: 16px; height: 16px; margin: 1px 0 0; flex: none; accent-color: #1AB0E0; cursor: pointer; }
.asp-stage__later-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.asp-stage__later-copy strong { font-size: 13px; font-weight: 700; color: #2D3445; }
.asp-stage__later-copy em { font-style: normal; font-size: 11.5px; color: #555B68; }

/* What "Show me" points at, same flash the sign side uses. */
.asp-stage .is-pointed {
    box-shadow: 0 0 0 3px rgba(26,176,224,.45);
    border-radius: 12px;
    transition: box-shadow .2s ease;
}
.asp-stage__launch {
    border: 0; border-radius: var(--radius-pill, 999px);
    min-height: var(--tap-min, 44px); padding: 14px 28px;
    text-align: center; font: inherit; font-weight: 700; font-size: 15px;
    line-height: 1.1; cursor: pointer;
    background: var(--atomic-blue, #1ab0e0); color: #fff;
    transition: background .18s ease;
}
.asp-stage__launch:hover:not(:disabled) { background: #159ac6; }
.asp-stage__launch:disabled { background: #edf0f3; color: #9aa0ad; cursor: default; }
.asp-stage__note { font-size: 11.5px; color: var(--color-text-muted, #555b68); text-align: center; line-height: 1.5; }

@media (max-width: 720px) {
    .asp-stage__sources { grid-template-columns: 1fr; }
}

/*
 * While the staging card is up it IS the uploader and the slot strip; the
 * product page's originals would otherwise sit above it saying the same thing
 * twice. !important because studio-slots.js sets display on the strip inline.
 */
.asp-pg-upload-section.asp-stage-owns > #asp-pg-dropzone,
.asp-pg-upload-section.asp-stage-owns > #asp-slot-strip,
/*
 * "Continue editing your cutline" too. The upload path reveals it as soon as
 * a file lands, which put a second way into the editor directly above the gate
 * whose entire promise is that the editor opens when the customer says so —
 * and outside the numbered step, breaking the form's rhythm. It comes back
 * with the strip, once staging has handed the screen over.
 */
.asp-pg-upload-section.asp-stage-owns > #asp-open-studio { display: none !important; }

/* Dragging a file over the upload tile. Same 2px blue the open state uses, so
   "this will accept it" and "this is selected" read as one vocabulary. */
.asp-stage__source.is-drag {
    border: 2px solid var(--atomic-blue, #1ab0e0);
    background: #f0fafe; padding: 15.5px 11.5px;
}

/* ── The reorder picker modal ─────────────────────────────────────────────
 * Replaces the inline history list, which was honest at six designs and
 * useless at a hundred. Grid over list because artwork is recognised by
 * sight; order chips because customers remember WHEN far better than a
 * filename. Values match the staging card's own (border tints, pill radii,
 * the used-green) so the modal reads as the same feature moved, not a new
 * one added. */
.asp-pick { position: fixed; inset: 0; z-index: 100020; }
.asp-pick[hidden] { display: none; }
.asp-pick__scrim { position: absolute; inset: 0; background: rgba(45, 52, 69, .45); }
.asp-pick__dialog {
    position: absolute; top: 48px; left: 50%; transform: translateX(-50%);
    width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 96px);
    background: #fff; border-radius: 18px; box-shadow: 0 24px 64px rgba(36, 41, 56, .35);
    display: flex; flex-direction: column; overflow: hidden;
    font-family: inherit;
}
.asp-pick__head { display: flex; align-items: center; gap: 14px; padding: 20px 24px 0; }
.asp-pick__headwhat { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.asp-pick__title { font-size: 17px; font-weight: 800; color: var(--color-text, #2d384b); }
.asp-pick__count { font-size: 12.5px; color: var(--color-text-muted, #555b68); }
.asp-pick__free {
    font-size: 12px; font-weight: 800; background: #f2fbf5; color: #1e7a46;
    border-radius: 999px; padding: 7px 14px; flex: none; transition: transform .15s ease;
}
.asp-pick__free.is-full { background: #fdf3e2; color: #8a6100; }
.asp-pick__free.is-pulse { transform: scale(1.12); }
.asp-pick__close {
    width: 34px; height: 34px; border-radius: 999px; border: none; cursor: pointer;
    background: var(--color-surface-alt, #e4e4e4); color: var(--color-text-muted, #555b68);
    display: flex; align-items: center; justify-content: center; flex: none;
}
.asp-pick__close:hover { color: var(--atomic-blue, #1ab0e0); }
.asp-pick__tools { padding: 14px 24px 0; }
.asp-pick__search {
    display: flex; align-items: center; gap: 10px;
    border: 1.5px solid rgba(45, 56, 75, .18); border-radius: 999px; padding: 9px 18px;
}
.asp-pick__search:focus-within { border-color: var(--atomic-blue, #1ab0e0); outline: 2px solid var(--st-focus, #0e8ab5); outline-offset: 2px; }
.asp-pick__search svg { flex: none; }
.asp-pick__search input {
    border: none; outline: none; flex: 1; min-width: 0; background: transparent;
    font: inherit; font-size: 13.5px; color: var(--color-text, #2d384b); appearance: none;
}
.asp-pick__search input::-webkit-search-cancel-button { display: none; }
.asp-pick__chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 24px 0; }
.asp-pick__chips[hidden] { display: none; }
.asp-pick__chiplabel {
    font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: #9aa0ad; margin-right: 2px;
}
.asp-pick__chip {
    display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
    font: inherit; font-size: 12px; font-weight: 600; color: var(--color-text, #2d384b);
    background: #fff; border: 1.5px solid rgba(45, 56, 75, .18); border-radius: 999px; padding: 7px 14px;
}
.asp-pick__chip:hover { border-color: var(--atomic-blue, #1ab0e0); }
.asp-pick__chip.is-on {
    color: #fff; background: var(--atomic-dark, #2d3445); border-color: var(--atomic-dark, #2d3445); font-weight: 700;
}
.asp-pick__chip--more { border-style: dashed; color: var(--color-text-muted, #555b68); }
.asp-pick__body { padding: 14px 24px 18px; overflow-y: auto; flex: 1; }
.asp-pick__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.asp-pick__empty { grid-column: 1 / -1; font-size: 12.5px; color: var(--color-text-muted, #555b68); line-height: 1.5; padding: 8px 2px; }
.asp-pick__empty a { color: var(--atomic-blue, #1ab0e0); font-weight: 700; }
.asp-pick__tile {
    position: relative; cursor: pointer; padding: 8px;
    border: 1.5px solid rgba(45, 56, 75, .12); border-radius: 14px;
    display: flex; flex-direction: column; gap: 0; transition: border-color .15s ease;
}
.asp-pick__tile:hover { border-color: var(--atomic-blue, #1ab0e0); }
.asp-pick__tile.is-on { border: 2px solid var(--atomic-blue, #1ab0e0); padding: 7.5px; }
.asp-pick__tile.is-used { border: 2px solid var(--as-ok, #2fa45c); padding: 7.5px; cursor: default; }
.asp-pick__tile.is-locked { opacity: .62; cursor: default; }
.asp-pick__tile.is-locked:hover, .asp-pick__tile.is-used:hover { border-color: inherit; }
.asp-pick__thumb {
    aspect-ratio: 1; border-radius: 10px;
    background: var(--color-surface-alt, #e4e4e4) center / contain no-repeat;
}
.asp-pick__flag { position: absolute; top: 12px; right: 12px; }
.asp-pick__flag--on {
    width: 24px; height: 24px; border-radius: 999px; background: var(--atomic-blue, #1ab0e0);
    border: 2.5px solid #fff; display: flex; align-items: center; justify-content: center;
}
.asp-pick__flag--used {
    font-size: 10px; font-weight: 800; background: #f2fbf5; color: #1e7a46;
    border-radius: 999px; padding: 4px 10px;
}
.asp-pick__what { display: flex; flex-direction: column; gap: 1px; padding: 8px 4px 2px; min-width: 0; }
.asp-pick__name {
    font-size: 12.5px; font-weight: 700; color: var(--color-text, #2d384b);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.asp-pick__meta { font-size: 11px; color: var(--color-text-muted, #555b68); }
.asp-pick__meta--locked { font-size: 10.5px; font-weight: 700; color: #8a6100; line-height: 1.35; }
.asp-pick__foot {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 24px; border-top: 1px solid rgba(45, 56, 75, .1); background: #fff;
}
.asp-pick__picked { font-size: 12.5px; color: var(--color-text-muted, #555b68); flex: 1; min-width: 0; }
.asp-pick__cancel {
    font: inherit; font-size: 13px; font-weight: 700; color: var(--color-text-muted, #555b68);
    background: none; border: none; padding: 11px 16px; cursor: pointer;
}
.asp-pick__add {
    font: inherit; font-size: 13.5px; font-weight: 700; color: #fff;
    background: var(--atomic-blue, #1ab0e0); border: none; border-radius: 999px;
    padding: 12px 24px; cursor: pointer; min-height: 44px;
}
.asp-pick__add:hover { filter: brightness(.95); }
.asp-pick__add:disabled { background: #c9ced6; cursor: default; }

@media (max-width: 760px) {
    /* Full-screen sheet: a floating card leaves nothing worth floating over. */
    .asp-pick__dialog {
        top: 0; left: 0; transform: none;
        width: 100vw; height: 100vh; max-height: none; border-radius: 0;
    }
    .asp-pick__head { padding: 16px 18px 0; }
    .asp-pick__tools { padding: 12px 18px 0; }
    .asp-pick__chips { padding: 10px 18px 0; flex-wrap: nowrap; overflow-x: auto; }
    .asp-pick__chip { flex: none; min-height: 40px; }
    .asp-pick__body { padding: 12px 18px 16px; }
    .asp-pick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .asp-pick__close { width: 44px; height: 44px; }
    .asp-pick__foot { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); }
}

/*
 * The ledger's footer has two ends: Start over on the left, the sum on the
 * right. Previously the link sat under the whole card with nothing beside it.
 */
.asp-ledger__reset {
    margin-right: auto;
    font-size: 12px; font-weight: 700; color: var(--color-text-muted, #555b68);
    text-decoration: none;
}
.asp-ledger__reset:hover { color: var(--atomic-dark, #2D3445); }
/* Holds the left end while there is nothing to reset, so the sum does not
   slide across the moment the first design lands. */
.asp-ledger__reset.is-off { margin-right: auto; }

/* The refusal, on the line that already explains what the gate is for. */
.asp-stage__note.is-warn { color: #b3261e; font-weight: 700; }

/* A design bound for a human wears amber, not the green of a decision
   nobody made (Dennis, 2026-09-08). */
.asp-4a__step--artwork .asp-slot-tile--for-review { border-color: #ecc186; }
.asp-slot-tile--for-review .asp-slot-tile__status { color: #b54708; }
.asp-slot-strip--batch .asp-slot-tile--for-review { border-color: #ecc186; }


/* ── The staff cutline download ─────────────────────────────────────────────
 *
 * It builds the print file on click, which takes a second or two on a large
 * trace. Without a state the button looks dead and gets clicked again, so the
 * icon dims and the pointer says wait. The handler also guards re-entry.
 */
.asp-debug-download-btn.is-building {
    opacity: .45;
    cursor: wait;
    pointer-events: none;
}

/*
 * The copy on the proof panel. It borrows .asp-signoff__keep for its type and
 * colour so it reads as the same weight of action as "Keep editing" — neither
 * of them is the thing you came here to press — but it is an <a> carrying an
 * icon, so it needs the box that a bare button did not.
 *
 * margin-left is 0 because .asp-signoff__keep sets it to auto: with two of them
 * the first would swallow the free space and push this against the total.
 */
/*
 * The topbar cutline download.
 *
 * It was a bare 34px grey icon beside the bug icon and got missed twice — once
 * in report 69 and once after being moved. Two unlabelled grey glyphs in a
 * white bar is one glyph too many, so this one says what it is. The bug icon
 * keeps its icon-only treatment deliberately: reporting a fault is rare and
 * the handoff asked for it to stay quiet.
 */
.asp-4a__pdfbtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding: 6px 12px;
    border: 1px solid rgba(45, 56, 75, .18);
    border-radius: 999px;
    background: transparent;
    color: #555b68;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.asp-4a__pdfbtn:hover { background: var(--color-surface-alt, #e4e4e4); color: #2d384b; border-color: rgba(45, 56, 75, .32); }
.asp-4a__pdfbtn:focus-visible { outline: 2px solid #0e8ab5; outline-offset: 2px; }

#asp-signoff-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    text-decoration: none;
}

#asp-signoff-download + .asp-signoff__keep { margin-left: 18px; }

/*
 * ═══ SINGLE MODE: SIZE, QUANTITY AND THE PRICE, IN THE CUT PANEL ═════════
 *
 * These three moved out of the left rail and in beside the artwork, between
 * the question and the two buttons that answer it. The order is the reading
 * order: here is the cut, here is what it costs at this size and this many,
 * now tell us whether it is right.
 */

/* ── Size: the unit lives inside the field ───────────────────────────────── */
.asp-4a__size { flex-wrap: wrap; }
.asp-4a__sizefield {
    display: flex; align-items: center; gap: 6px;
    flex: 1 1 0; min-width: 0;
    padding: 0 10px;
    border: 1.5px solid rgba(45, 56, 75, .2); border-radius: 10px;
    background: #fff; cursor: text;
}
.asp-4a__sizefield:focus-within { border-color: var(--a4-blue); }
/* The input already carries the border in the rail's rule; inside a field
   wrapper it would draw a second box around the first. */
.asp-4a__size .asp-4a__sizefield input {
    width: 100%; flex: 1 1 auto; min-width: 0;
    border: 0; border-radius: 0; padding: 10px 0; text-align: left; background: none;
}
.asp-4a__size .asp-4a__sizefield input:focus { outline: none; }
.asp-4a__sizefield-k,
.asp-4a__sizefield-u { flex: none; }
.asp-4a__sizefield-k { text-transform: uppercase; letter-spacing: .06em; }
.asp-4a__size-x { flex: none; }
.asp-4a__size-note {
    margin: 10px 0 0; font: inherit; font-size: 11.5px; font-weight: 600;
    line-height: 1.4; color: #6b7384;
}

/*
 * Three sections where there used to be one.
 *
 * The cut panel strips the card chrome off its step — as a single full-height
 * column it does not need a box drawn around it. With Size and Quantity now
 * below the cut, that left three headings stacked with nothing between them,
 * reading as one run-on block. A rule and some air do the separating the card
 * borders used to.
 *
 * `~` and not `+`: the hidden offset field and the sheet panel are siblings
 * sitting between the cut and Size, so adjacent-sibling matched Quantity and
 * skipped Size — one divider short, and Size read as part of the cut.
 */
.asp-4a__cutpanel .asp-4a__step ~ .asp-4a__step {
    margin-top: 20px; padding-top: 18px;
    border-top: 1px solid var(--a4-line);
}

/* ── Quantity: the pick, with the ladder behind it ───────────────────────── */
.asp-4a__qty-summary {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    width: 100%; margin-top: 10px; padding: 11px 14px;
    background: var(--a4-tint);
    border: 1.5px solid var(--a4-blue); border-radius: 12px;
    font: inherit; font-weight: 700; font-size: 13px; line-height: 1.3;
    color: var(--a4-dark); text-align: left; cursor: pointer;
}
.asp-4a__qty-summary-pick   { min-width: 0; }
.asp-4a__qty-summary-change {
    display: inline-flex; align-items: center; gap: 4px; flex: none;
    color: var(--a4-blue-mid); font-size: 12px; font-weight: 800;
}
.asp-4a__qty-summary[aria-expanded="true"] .asp-4a__qty-summary-change svg {
    transform: rotate(180deg);
}
/* Collapsed, not removed: pricing.js keeps rendering into it, and the rows
   stay measurable so the panel does not jump when it opens. */
.asp-4a__qty--collapsed { display: none; }

/* What a quantity buys besides stickers. */
.asp-studio-qty-slots {
    font-size: 11.5px; font-weight: 700; color: var(--a4-blue-mid); white-space: nowrap;
}

/* ── The next design, and what it costs ──────────────────────────────────── */
.asp-slot-tile--next {
    border-style: dashed !important;
    color: #8b94a6;
}
.asp-slot-tile--next:hover {
    border-color: var(--a4-blue) !important;
    color: var(--a4-blue-mid);
}
.asp-slot-tile--next .asp-slot-tile__label { font-variant-numeric: tabular-nums; }

/*
 * ── The price, above the answer ──────────────────────────────────────────
 *
 * In the left rail the total was sticky to the bottom, because the rail was
 * long and the price had to survive scrolling past it. In this column it is
 * second-to-last — the buttons are below it and both are in view together —
 * so sticking it would park it ON TOP of the thing it belongs above.
 */
.asp-4a__cutpanel .asp-4a__total {
    position: static;
    margin: 18px 0 0; padding: 14px 0 0;
    background: none;
}
/*
 * ─── THE EXITS SIT AT THE FOOT OF THE COLUMN ────────────────────────────
 *
 * The design anchors them to the bottom, with the facts and the price above
 * and air between. They were simply the last thing in flow, so on a short
 * panel they floated up under the price.
 *
 * margin-top:auto only reaches the bottom if every box between it and the
 * panel is a flex column that is allowed to grow — hence the chain.
 */
.asp-4a__cutpanel { display: flex; flex-direction: column; }
/*
 * Grow, never shrink (1 0 auto). It was `1 1 auto` with min-height 0, and
 * once "Not quite right" opened the tools the step was taller than the
 * column: it shrank to nothing and its content drew over Size, White border
 * and Quantity below it (Dennis, 2026-10-10). At its content's height it
 * makes the panel scroll instead — overflow-y is already auto on it.
 */
.asp-4a__cutpanel > .asp-4a__step--active { display: flex; flex-direction: column; flex: 1 0 auto; }
.asp-4a__ask--actions { margin-top: auto; padding-top: 18px; }

/*
 * ═══ THE DESIGNS RAIL, AND THE ARTWORK'S OWN ACTIONS ════════════════════
 *
 * The strip moved from a row across the top of the artwork into the left
 * column. It keeps the `--batch` tile recipe — thumb, label, status and the
 * four state borders — and changes only direction and tile shape here, so
 * there is one set of rules describing a design tile and not two.
 */
.asp-4a__designs {
    display: flex; flex-direction: column; gap: 8px;
    margin-bottom: 18px;
}

/* Down, not across — and no horizontal scroller, the column has the room. */
/*
 * Down a column there is nowhere to scroll sideways, so the batch recipe's
 * `overflow-x: auto` is off. Both axes in one declaration: an `overflow`
 * shorthand here and an `overflow-x` further down is how a scrollbar stub
 * survived under the tiles.
 */
.asp-4a__designs .asp-slot-strip--batch { flex: none; overflow: hidden; }
.asp-4a__designs .asp-slot-strip--batch .asp-slot-strip__list {
    flex-direction: column; gap: 8px; align-items: stretch;
}

/*
 * A 72px square with the label under it, rather than the batch row's
 * thumb-beside-text. The rail is scanned down a narrow column, where a row of
 * text per design costs four lines of height to say what the border already
 * says in colour.
 */
.asp-4a__designs .asp-slot-strip--batch .asp-slot-cell { align-items: flex-start; }
/*
 * A 72px SQUARE, which is what the rail is 104px wide for: 72 plus the
 * column's 16px either side.
 *
 * The tile has no padding of its own — the thumbnail IS the tile, with the
 * border drawn round it and the number badge laid over it. Padding here made
 * the thumb narrower than it is tall, which is how it stopped being square.
 */
.asp-4a__designs .asp-slot-strip--batch .asp-slot-tile {
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0; width: 72px; max-width: 72px;
    /* The tile is border-box with a 2px border, so its content box is 68px.
       Clipping here keeps the artwork inside the rounded corner whatever the
       state border happens to be. */
    overflow: hidden;
    /*
     * ─── AND IT DOES NOT SHRINK ──────────────────────────────────────────
     *
     * .asp-slot-tile carries `flex: 1` for the horizontal strip it was built
     * for. In this vertical rail that is flex-basis 0 on the HEIGHT, and the
     * only thing that had been holding the tile open was its thumb's explicit
     * `height: 72px` setting a min-content floor. Giving the thumb an
     * aspect-ratio instead — to stop it overhanging the border — removed that
     * floor, and every tile collapsed to 4px with the artwork clipped away by
     * the overflow rule two lines up.
     *
     * Third time this shape has appeared: a theme `flex: 1` meant for one axis,
     * inherited into a container laid out on the other.
     */
    flex: none;
}
/*
 * The locked tile is grey, not the amber the empty tiles inherit: amber is
 * "this one is waiting for you", and a tile you cannot fill is not waiting
 * for anything.
 */
.asp-4a__designs .asp-slot-tile--next { border-color: rgba(45, 56, 75, .22) !important; }
/*
 * ─── THE THUMB IS THE TILE'S WIDTH, NOT A COPY OF THE NUMBER ────────────────
 *
 * This said `width: 72px` to match the tile's `width: 72px` — but the tile is
 * border-box with a 2px border, so its content box is 68px and every thumb
 * hung 4px past it. On a light artwork the overhang reads as a ragged edge;
 * on a dark one, as in Dennis's screenshot, the image visibly breaks the
 * rounded border.
 *
 * Per cent rather than 68px so it stays correct when a state border changes
 * width — the active tile is already drawn at a different one.
 */
.asp-4a__designs .asp-slot-strip--batch .asp-slot-tile__thumb {
    width: 100%; aspect-ratio: 1 / 1; height: auto;
    border-radius: 10px;
    display: grid; place-items: center;
}
.asp-4a__designs .asp-slot-strip--batch .asp-slot-tile__label  { font-size: 12px; }
.asp-4a__designs .asp-slot-strip--batch .asp-slot-tile__status { font-size: 10px; }

.asp-4a__designs-note {
    margin: 0; font: inherit; font-size: 11px; font-weight: 600;
    line-height: 1.45; color: #6b7384;
}

/*
 * ── Replace and Remove, under the canvas ────────────────────────────────
 *
 * One pill, centred under the artwork, because both act on the artwork. They
 * were two stacked text links in the left rail.
 */
/*
 * align-items:center, or the buttons stretch to the row's height — the remove
 * button came out 130 x 403 inside a row that had absorbed the grid's spare
 * space, which is the tall white blob.
 */
.asp-4a__artactions {
    display: flex; justify-content: center; align-items: center; gap: 0;
    padding: 16px 0 0;
    background: none;
    align-self: start;
}

/*
 * The artwork takes the spare height; the actions take what they need.
 *
 * .asp-4a__panes had no explicit rows, so its two in-flow children — the pane
 * and this row — stretched to share the column, and the action row ended up
 * 431px tall under a 418px artboard. The printed pane is never a third row:
 * it is display:none in edit and printed view, and position:absolute in split.
 */
/* One row again: the action pill moved inside the artboard pane, under the
   card it acts on, so panes has a single child to give its height to. */
.asp-4a__panes { grid-template-rows: 1fr; }
/*
 * `hidden` has to be restated for both of these.
 *
 * The attribute's display:none is a user-agent rule, and ANY author rule that
 * sets display beats it — so the moment this block gave the row a flex and the
 * buttons an inline-flex, both appeared on an empty studio with no artwork to
 * replace or remove. studio-slots.js was setting .hidden correctly the whole
 * time; the stylesheet was overruling it.
 */
/*
 * ─── `hidden` MEANS HIDDEN, EVERYWHERE IN THE STUDIO ─────────────────────
 *
 * The attribute's display:none is a USER-AGENT rule, so any author rule that
 * sets display beats it — give an element a flex or a grid and it reappears
 * while the JS that set .hidden = true looks correct.
 *
 * This stylesheet already carried FIFTEEN separate `.thing[hidden] { display:
 * none }` patches, each added the day that element grew a display. This rule
 * is those fifteen, and the next fifteen. The fifteen above are now redundant
 * and can go in their own commit — see docs/backlog.md.
 *
 * Nothing in the studio deliberately shows a [hidden] element, so the
 * !important has nothing to fight.
 */
#asp-studio-modal [hidden] { display: none !important; }
.asp-4a__artactions .asp-4a__step-sub {
    display: inline-flex; align-items: center; gap: 6px;
    margin: 0; padding: 9px 16px;
    background: #fff; border: 1.5px solid var(--a4-line); border-radius: 0;
    font: inherit; font-weight: 700; font-size: 12.5px; line-height: 1;
    color: var(--a4-dark); cursor: pointer;
}
.asp-4a__artactions .asp-4a__step-sub:hover { border-color: var(--a4-blue); color: var(--a4-blue-mid); }
.asp-4a__artactions .asp-4a__remove:hover   { border-color: #c2473d; color: #c2473d; }

/*
 * ═══ THE REBUILD'S LOOK: TOOLS PANEL, ARTBOARD, RAIL, WORDMARK ═══════════
 *
 * Everything below brings the studio to the Sticker Cutline Review Tools
 * mock. Grouped by column so the next person changing one does not have to
 * read the other three.
 */

/* ── The wordmark ────────────────────────────────────────────────────────── */
/*
 * The mark and the tool's name read as one lockup — "Atomic StickerStudio" —
 * so there is no rule between them. The divider in the reference sits AFTER
 * the wordmark, separating the tool from the product it is open on, and that
 * one lives on .asp-4a__context.
 */
.asp-4a__wordmark {
    font: inherit; font-weight: 800; font-size: 21px; line-height: 1;
    letter-spacing: -.02em; white-space: nowrap;
    margin-left: 10px;
}
.asp-4a__wordmark span { color: var(--a4-dark); }
.asp-4a__wordmark em   { color: var(--a4-blue); font-style: normal; }

/* ── Tools panel: its own head ───────────────────────────────────────────── */
.asp-4a__progress { display: flex; gap: 5px; margin-bottom: 12px; }
.asp-4a__progress i {
    flex: 1; height: 4px; border-radius: 999px;
    background: rgba(45, 56, 75, .14);
}
.asp-4a__progress i.is-on { background: #2fa45c; }
.asp-4a__progress i.is-at { background: var(--a4-blue); }

.asp-4a__toolscount {
    margin: 0 0 14px; font: inherit; font-size: 12.5px; font-weight: 600;
    line-height: 1; color: #555b68;
}
/* One count, two wordings: "Design 2 of 5 · 1 perfect" here, "1 of 5 marked
   perfect" on a phone, where the design line already says which (studio-slots.js). */
.asp-4a__toolscount b { font-weight: inherit; }
.asp-4a__toolscount-of { display: none; }
.asp-4a__toolshead {
    margin: 0 0 6px; font: inherit; font-weight: 800; font-size: 26px;
    line-height: 1.1; letter-spacing: -.02em; color: var(--a4-dark);
}
/*
 * The step's own "Cutline" heading is the ASK's heading. With the tools open
 * the panel has its own, and two headings stacked read as a nesting that is
 * not there.
 */
.asp-4a__cutpanel .asp-4a__step--active:has(#asp-4a-tools:not([hidden])) > .asp-4a__step-head {
    display: none;
}

/* ── Steppers: value right, bar between, ends underneath ─────────────────── */
.asp-4a__label {
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.asp-4a__label .asp-4a__value { font-weight: 800; color: var(--a4-dark); }

.asp-4a__bar { display: flex; flex: 1; gap: 5px; min-width: 0; }
.asp-4a__bar i {
    flex: 1; height: 7px; border-radius: 999px;
    background: rgba(45, 56, 75, .12);
}
.asp-4a__bar i.is-on { background: var(--a4-blue); }

.asp-4a__ends {
    display: flex; justify-content: space-between; gap: 12px;
    margin: 7px 0 20px;
    font-size: 11px; font-weight: 600; color: #8b94a6;
}

/*
 * The exits sit at the foot of the column, not wherever the controls above
 * happen to end. The chain has to be flex the whole way down for margin-top
 * auto to reach the bottom.
 */
/* ── Artboard: a card on a ground, with the chip and chevrons on it ─────── */
.asp-4a__pane--edit {
    /*
     * The pane is the room; the CARD is the artwork, and the checkerboard
     * belongs to the card — see the dropzone and canvas rules below.
     *
     * Transparency still shows as transparency, which matters because the
     * artwork is nearly always a cut-out PNG and a flat ground is
     * indistinguishable from a grey background IN the file. Filling the whole
     * column with the chequer said that about the studio instead of about the
     * file.
     */
    background: none;
    align-content: center; justify-items: center;
    padding: 28px 24px 0;
}


.asp-4a__browse {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    display: grid; place-items: center;
    width: 40px; height: 40px; padding: 0;
    background: rgba(255, 255, 255, .94); color: var(--a4-dark);
    border: 0; border-radius: 999px; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
}
.asp-4a__browse:hover { background: #fff; color: var(--a4-blue); }
.asp-4a__browse--prev { left: 16px; }
.asp-4a__browse--next { right: 16px; }

/* ── The rail, narrowed to its tiles ─────────────────────────────────────── */
.asp-4a__designs::before {
    content: "Designs";
    /* nowrap: at 104px the rail was narrow enough to break this across two
       lines once the scrollbar took its share. */
    white-space: nowrap;
    font-size: 10px; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: #8b94a6;
}
/* A 72px square says which design it is with a number, not a sentence. */
.asp-4a__designs .asp-slot-tile__label,
.asp-4a__designs .asp-slot-tile__status { display: none; }

/*
 * ─── WHERE A DESIGN IS GOING, ON THE TILE ITSELF (Dennis, 2026-10-06) ───────
 *
 * The rail dropped the status with the label above, because a sentence does not
 * fit a 72px square. The border colour was carrying it alone — green for
 * approved, amber for review — and a colour with nothing to read it against is
 * not a status: a customer part-way through five designs could not tell which
 * ones they had already settled.
 *
 * So a MARK, not a sentence. It reads at tile size, it does not depend on
 * telling two border colours apart, and it costs no width.
 *
 * Bottom-left, because the number badge already owns top-right and these must
 * never stack — that bug has been had once on this screen already, with two
 * absolutely positioned siblings pinned to the same corner.
 *
 * The state classes are studio-slots.js's own (tileState() → traced /
 * for-review / needs-human), so nothing here decides anything; it draws what
 * the strip already knows. Empty, locked and tracing deliberately get no mark:
 * a tile with nothing settled about it should not wear a badge saying so.
 */
.asp-4a__designs .asp-slot-tile--traced .asp-slot-tile__thumb::after,
.asp-4a__designs .asp-slot-tile--for-review .asp-slot-tile__thumb::after,
.asp-4a__designs .asp-slot-tile--needs-human .asp-slot-tile__thumb::after {
    position: absolute; left: 3px; bottom: 3px; z-index: 2;
    min-width: 16px; height: 16px; padding: 0 4px;
    display: grid; place-items: center;
    border-radius: 999px;
    font-size: 10px; font-weight: 800; line-height: 1;
    box-shadow: 0 1px 2px rgba(16, 22, 34, .25);
}
.asp-4a__designs .asp-slot-tile--traced .asp-slot-tile__thumb::after {
    content: "\2713";                 /* ✓ — matches the strip's "✓ Approved" */
    background: #1e7a46; color: #fff;
}
.asp-4a__designs .asp-slot-tile--for-review .asp-slot-tile__thumb::after {
    content: "\2192";                 /* → — matches "→ For review" */
    background: var(--a4-blue, #1ab0e0); color: #fff;
}
.asp-4a__designs .asp-slot-tile--needs-human .asp-slot-tile__thumb::after {
    content: "!";
    background: #b4541d; color: #fff;
}

/*
 * The mark is the only thing the eye needs, but it is not the only thing a
 * screen reader gets: the tile's own hidden label still carries the words.
 */
.asp-4a__designs .asp-slot-tile__status {
    /* Overrides the display:none above for assistive tech only. */
    display: block; position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
/*
 * Square, and the one place that decides it. There were three rules for this
 * element — 72x72 here, `width: 100%` further down and a `max-width` after
 * that — so the width resolved to 34px against a height still pinned at 72.
 */
.asp-4a__designs .asp-slot-tile__thumb {
    position: relative;
    width: 72px; height: 72px; max-width: 72px;
    border-radius: 9px;
    display: grid; place-items: center;
}
.asp-slot-tile__num {
    position: absolute; top: 3px; right: 3px;
    min-width: 16px; height: 16px; padding: 0 4px;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .92); color: var(--a4-dark);
    border-radius: 999px;
    font-size: 10px; font-weight: 800; line-height: 1;
}
/* The batch row keeps its words, so it does not want the badge too. */
.asp-slot-strip--batch:not(.asp-4a__designs *) .asp-slot-tile__num { display: none; }

/* A kit's size is the product's, not a choice — see $asp_is_kit. */
.asp-4a--kit .asp-4a__cutpanel .asp-4a__step--size { display: none; }

/*
 * ═══ THE STUDIO SITS OVER THE PRODUCT PAGE, NOT INSTEAD OF IT ════════════
 *
 * At inset:0 the editor was the whole screen and the customer had no cue
 * that the product page was still underneath — it read as having navigated
 * somewhere, which makes "Exit without saving" feel like losing the order
 * rather than closing a panel.
 *
 * 90% of the viewport, centred, with the page dimmed behind it. It was 80%
 * until 2026-10-11, when Dennis asked for more room; the reasoning below was
 * measured at 80% and still holds — the floor and the scoping are unchanged.
 *
 * ─── WHY THE FLOOR ──────────────────────────────────────────────────────
 *
 * `max(90vw, 1180px)` and not a plain 90vw. The column layout stacks at a
 * 1100px VIEWPORT, but the modal's width is what the columns actually have
 * to divide — so a plain 90vw would hand four columns 1008px on a 1120px
 * laptop while the media query still believed it was wide, and they would
 * squeeze rather than stack.
 *
 * With the floor the two agree exactly: the modal can only fall below
 * 1100px when the viewport itself is below 1100px, which is the point the
 * query stacks anyway. On Dennis's large monitor it is a true 90%.
 *
 * ─── AND WHY NOT 100% (measured 2026-10-03, Dennis: keep the 80%) ───────
 *
 * Going full-bleed looks like it would match the handoff better. It does not.
 * Against docs/reference/sticker-studio-initial-state.png, in CSS pixels:
 *
 *                design    ours @80%    ours @100%
 *   rail            103          104           104
 *   cut panel       378          380           380
 *   centre         1081          675          1043
 *
 * The rail and the panel are clamped, so the modal's width does not move
 * them — they already match at either size. Only the centre changes, and the
 * 675 above is the STAFF view: the proof console takes 313px that the design
 * has no column for. For a customer there is no console, so the centre is
 * ~988 against the design's 1081 — within 9% — and at 100% it would be ~1356,
 * overshooting by 25%.
 *
 * So the console is what narrows the artwork, not the inset, and full-bleed
 * would miss the design by more than the 80% does while losing the cue that
 * the product page is still there.
 *
 * ─── AND WHY IT IS SCOPED AWAY FROM THE PROOFER ─────────────────────────
 *
 * Staff proofing in wp-admin has no product page behind it and wants every
 * pixel. admin-proofer.css also sets `top` and `height` on this exact
 * element to clear the proof bar, and a centred box fights both.
 */
body:not(.asp-is-proofing) .asp-studio-modal--4a > .asp-4a {
    inset: 0;
    margin: auto;
    width:  min(100vw,  max(90vw,  1180px));
    height: min(100dvh, max(90dvh,  640px));
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(16, 22, 34, .34), 0 4px 14px rgba(16, 22, 34, .18);
}

/* The page, still there. */
/*
 * The page, dimmed behind the panel.
 *
 * This was a ::before layer for one day, because the shell's background
 * would not yield to any rule at any specificity — not even !important. The
 * cause turned out to be studio-modal.js painting it INLINE with `important`
 * from the legacy day/night theme, which leaves no matching rule for a
 * developer to find. That painter now skips 4A, so the scrim is simply the
 * shell's background again.
 */
body:not(.asp-is-proofing) .asp-studio-modal--4a {
    background: rgba(20, 26, 38, .55);
}

@media (max-width: 1100px) {
    /*
     * Stacked, the editor needs the whole screen — and below this width the
     * page behind is a single column the modal would cover anyway, so the
     * cue the inset buys is not worth the room it costs.
     */
    body:not(.asp-is-proofing) .asp-studio-modal--4a > .asp-4a {
        width: 100vw; height: 100dvh;
        border-radius: 0; box-shadow: none;
    }
}

/* ── The two facts: which file, and what it cuts at ──────────────────────── */
.asp-4a__facts { margin: 0 0 20px; }
.asp-4a__facts[hidden] { display: none; }
.asp-4a__fact {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    padding: 12px 0;
    border-top: 1px solid rgba(45, 56, 75, .1);
}
.asp-4a__fact:last-child { border-bottom: 1px solid rgba(45, 56, 75, .1); }
.asp-4a__fact dt {
    flex: none; font: inherit; font-size: 13.5px; font-weight: 400; color: #555b68;
}
.asp-4a__fact dd {
    margin: 0; min-width: 0; text-align: right;
    font: inherit; font-size: 13.5px; font-weight: 600; color: var(--a4-dark);
    overflow-wrap: anywhere;
}
#asp-4a-fact-size { font-variant-numeric: tabular-nums; white-space: nowrap; }

/*
 * ── "What we did", the staff panel ───────────────────────────────────────
 *
 * A floating card under the header icons rather than a column, because it is
 * read on demand and then dismissed. It always exists — review-panel.js binds
 * to the section inside it — so [hidden] is what keeps it off the screen, and
 * the studio-wide `[hidden]` rule above is what makes that stick.
 */
.asp-4a__adminpanel {
    position: absolute; top: 64px; right: 18px; z-index: 40;
    width: min(380px, calc(100vw - 36px));
    max-height: min(70vh, 620px); overflow-y: auto;
    padding: 16px 18px 18px;
    background: #fff; border: 1px solid var(--a4-line); border-radius: 14px;
    box-shadow: 0 18px 44px rgba(16, 22, 34, .22);
}
.asp-4a__adminpanel-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-bottom: 10px;
}
.asp-4a__adminpanel-head strong {
    font: inherit; font-weight: 800; font-size: 11px;
    letter-spacing: .1em; text-transform: uppercase; color: var(--a4-blue-mid);
}
.asp-4a__adminpanel-close {
    flex: none; width: 26px; height: 26px; padding: 0;
    display: grid; place-items: center;
    background: none; border: 0; border-radius: 999px;
    font-size: 19px; line-height: 1; color: #8b94a6; cursor: pointer;
}
.asp-4a__adminpanel-close:hover { background: rgba(45, 56, 75, .07); color: var(--a4-dark); }
/*
 * review-panel.js show()s and hide()s the section itself — four call sites —
 * so this does NOT force it visible. Overriding a JS-owned display from CSS
 * is the exact bug the [hidden] rule above exists to clean up after, and
 * doing it here would show an empty panel when the review has nothing to
 * report. Opening the panel before a design has been reviewed shows the
 * heading and nothing under it, which is the honest state.
 */

/* ── The rail at 104px: tiles fill it, nothing else is in it ─────────────── */
/* The pro panel is the only other thing left; let it wrap rather than clip. */
.asp-4a__steps .asp-4a__pro summary { font-size: 9px; letter-spacing: .04em; }

/* ── Replace | Remove: one pill, divided ─────────────────────────────────── */
.asp-4a__artactions .asp-4a__step-sub {
    border-left-width: 0; border-right-width: 0;
}
.asp-4a__artactions .asp-4a__step-sub:first-child {
    border-radius: 999px 0 0 999px; border-left-width: 1.5px;
}
.asp-4a__artactions .asp-4a__step-sub:last-child {
    border-radius: 0 999px 999px 0; border-right-width: 1.5px;
    border-left: 1.5px solid var(--a4-line);
}

/* ── The heading that frames the whole panel ─────────────────────────────── */
.asp-4a__ask-sub {
    margin: 0 0 20px; font: inherit; font-size: 15px; font-weight: 500;
    line-height: 1.6; color: #555b68;
}
.asp-4a__fact-aside { font-weight: 500; color: #9aa0ad; margin-left: 4px; }

/* A kit does not pick its quantity here — the facts say so instead. */
.asp-4a--kit .asp-4a__cutpanel .asp-4a__step--qty,
.asp-4a--kit .asp-4a__cutpanel .asp-4a__total { display: none; }

/* ── Low resolution: a flag on the tile, a question in the panel ─────────── */
/* Top-right — it takes the number badge's corner; see buildTile(). */
.asp-slot-tile__warn {
    position: absolute; top: 3px; right: 3px;
    width: 16px; height: 16px; display: grid; place-items: center;
    background: #e8a33d; color: #fff; border-radius: 999px;
    font-size: 11px; font-weight: 800; line-height: 1;
}
/*
 * The question card — SignStudio's .ass-studio__q, value for value (report 82:
 * "the review panel isn't the correct style"). One bordered card: the problem
 * in a line, the reason, "How should we handle it?", then the answers as rows
 * with an icon, a label and what it means, hairlines between them.
 */
.asp-4a__lowres {
    margin: 14px 0 4px;
    border: 1.5px solid rgba(179, 117, 42, .4); border-radius: 12px;
    overflow: hidden; background: #fff;
}
.asp-4a__lowres[hidden] { display: none; }
.asp-4a__lowres-head { padding: 12px 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.asp-4a__lowres-title { display: flex; align-items: center; gap: 8px; margin: 0; }
.asp-4a__lowres-title strong { font-size: 14px; font-weight: 700; color: var(--a4-dark, #2d3445); }
.asp-4a__lowres-mark {
    flex: none; width: 16px; height: 16px; border-radius: 50%;
    display: grid; place-items: center;
    background: #b3752a; color: #fff;
    font-size: 10px; font-weight: 800; line-height: 1;
}
.asp-4a__lowres-why { margin: 0; padding-left: 24px; font-size: 12.5px; line-height: 1.5; color: #555b68; }
.asp-4a__lowres-label {
    padding: 8px 0 0 24px;
    font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9aa0ad;
}
.asp-4a__lowres-opt {
    appearance: none; font: inherit; text-align: left; cursor: pointer;
    width: 100%; display: flex; align-items: center; gap: 12px;
    padding: 11px 14px 11px 38px;
    background: #fff; color: inherit;
    border: 0; border-top: 1px solid rgba(45, 56, 75, .08);
    transition: background .15s ease;
}
.asp-4a__lowres-opt:hover { background: var(--color-surface-alt, #e4e4e4); }
.asp-4a__lowres-icon { display: flex; flex: none; color: var(--a4-blue, #1ab0e0); }
.asp-4a__lowres-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.asp-4a__lowres-line { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.asp-4a__lowres-line b { font-size: 13.5px; font-weight: 700; color: var(--a4-dark, #2d3445); }
.asp-4a__lowres-sub { font-size: 11.5px; color: #555b68; }
.asp-4a__lowres-sub:empty { display: none; }

/* ── The panel's heading, and the one blue button at its foot ────────────── */
.asp-4a__panelhead { margin-bottom: 4px; }
.asp-4a__ask--actions .asp-4a__ask-yes {
    justify-content: center; padding: 14px 18px; font-size: 14px; border-radius: 999px;
}
.asp-4a__ask--actions .asp-4a__ask-yes:disabled { opacity: .45; cursor: default; }
.asp-4a__ask--actions .asp-4a__ask-row { flex-direction: column; gap: 9px; }
.asp-4a__ask--actions .asp-4a__ask-no {
    justify-content: center; padding: 13px 18px; font-size: 13.5px; border-radius: 999px;
}

/* The rail's tiles must fit the 104px column, not spill out of it. */
.asp-4a__designs, .asp-4a__designs .asp-slot-strip--batch,
.asp-4a__designs .asp-slot-strip__list { min-width: 0; max-width: 100%; }
.asp-4a__designs .asp-slot-cell { width: 100%; min-width: 0; }
/* The pro panel's label wraps rather than stacking a letter per line. */
.asp-4a__steps .asp-4a__pro { min-width: 0; }
.asp-4a__steps .asp-4a__pro summary { white-space: normal; word-break: normal; }


/* The pro panel sits in the header's staff cluster now. */
.asp-4a__topbar .asp-4a__pro {
    position: relative; margin: 0;
}
.asp-4a__topbar .asp-4a__pro > div,
.asp-4a__topbar .asp-4a__pro > p {
    position: absolute; top: calc(100% + 10px); right: 0; z-index: 40;
    width: min(360px, calc(100vw - 36px));
    max-height: min(70vh, 560px); overflow-y: auto;
    padding: 14px 16px;
    background: #fff; border: 1px solid var(--a4-line); border-radius: 14px;
    box-shadow: 0 18px 44px rgba(16, 22, 34, .22);
}

/*
 * PRO as an icon, not a sentence.
 *
 * In the header cluster it has to match the three beside it. The label is
 * kept for screen readers — zeroing the font hides it visually without
 * removing it from the accessibility tree the way `display: none` would.
 */
.asp-4a__topbar .asp-4a__pro > summary {
    width: 34px; height: 34px; padding: 0;
    display: grid; place-items: center;
    font-size: 0; letter-spacing: 0; border-radius: 9px;
    list-style: none; cursor: pointer; color: var(--a4-muted);
}
.asp-4a__topbar .asp-4a__pro > summary::-webkit-details-marker { display: none; }
.asp-4a__topbar .asp-4a__pro > summary::after {
    content: "";
    width: 17px; height: 17px;
    background: currentColor;
    -webkit-mask: var(--a4-gear) center / contain no-repeat;
            mask: var(--a4-gear) center / contain no-repeat;
}
.asp-4a__topbar .asp-4a__pro > summary:hover { background: rgba(45, 56, 75, .07); color: var(--a4-dark); }
.asp-4a {
    --a4-gear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.6a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E");
}

/*
 * ═══ THE HEADER IS THE TOOL'S, AND IT IS LIGHT ══════════════════════════
 *
 * It was black for one commit, on my reading of the mock SCREENSHOT, whose
 * bar samples pure black. That was wrong: `Sticker Cutline Review Tools
 * .dc.html` declares no dark background anywhere — the darkest colour in the
 * file is a blue — so the black is the Claude Design canvas showing through a
 * header that sets no ground of its own.
 *
 * The giveaway was in front of me and I worked around it instead of following
 * it: the wordmark's declared colours are #2D3445 and #1AB0E0, navy and blue,
 * which are chosen for a light ground and are nearly invisible on black. I
 * lightened the navy to cope rather than asking why a design would specify an
 * unreadable pairing.
 *
 * So: white bar, and the wordmark in the two colours the mock actually names.
 */
.asp-4a__topbar .asp-4a__wordmark span { color: var(--a4-dark); }
.asp-4a__topbar .asp-4a__wordmark em   { color: var(--a4-blue); }

.asp-4a__context {
    display: flex; flex-direction: column; gap: 3px;
    padding-left: 16px; margin-left: 14px;
    border-left: 1px solid var(--a4-line);
}
.asp-4a__context-name {
    font: inherit; font-weight: 700; font-size: 14px; line-height: 1.2; color: var(--a4-dark);
}
.asp-4a__context-sub {
    font: inherit; font-weight: 500; font-size: 12px; line-height: 1.2; color: var(--a4-muted);
}

/* The controls in a dark bar. */
.asp-4a__topbar .asp-4a__iconbtn,
.asp-4a__topbar .asp-4a__pro > summary { color: var(--a4-muted); }
.asp-4a__topbar .asp-4a__iconbtn:hover,
.asp-4a__topbar .asp-4a__pro > summary:hover { background: rgba(45, 56, 75, .07); color: var(--a4-dark); }


/* Only the next slot invites a click; the rest are room, not tasks. */
.asp-4a__designs .asp-slot-tile--next-empty { border-color: var(--a4-blue) !important; }
.asp-4a__designs .asp-slot-tile--next-empty .asp-slot-tile__thumb--empty { color: var(--a4-blue); }

/*
 * Progress is not identity.
 *
 * "0 of 5 artworks ready" told a customer who had just arrived that they had
 * done nothing yet, under a line that says what the order IS. The count still
 * has a home — the tools panel's progress line — and both elements stay in
 * the DOM because studio-batch.js writes them and measures the row's
 * visibility against them.
 *
 * The row itself has nothing visible left in it now that the slots note and
 * the now-editing card are gone, so it was rendering as an empty white band
 * under the header.
 */
.asp-4a__topbar .asp-4a__ready { display: none; }
.asp-4a__productrow { display: none; }

/* ── Header: the mark, then the tool's name, then three grey icons ───────── */


/* ── Resolution, rated ───────────────────────────────────────────────────── */
.asp-4a__rating { margin-left: 5px; font-weight: 700; }
.asp-4a__rating--good { color: #1e7a46; }
.asp-4a__rating--ok   { color: var(--a4-blue-mid); }
.asp-4a__rating--low  { color: #b3752a; }

/* The cut-size difference, when there is one worth saying. */
.asp-4a__fact-note {
    margin: -2px 0 0; padding: 0 0 10px;
    border-bottom: 1px solid var(--a4-line);
    font: inherit; font-size: 11.5px; font-weight: 500;
    line-height: 1.45; color: #8b94a6;
}
.asp-4a__fact-note[hidden] { display: none; }

/* ── The rail's current design wins over its status ──────────────────────── */
.asp-4a__designs .asp-slot-tile--active {
    box-shadow: 0 0 0 2.5px var(--a4-blue), 0 0 0 6px rgba(26, 176, 224, .22);
}

/*
 * ═══ THE ARTBOARD IS A CARD, NOT A BACKDROP ═════════════════════════════
 *
 * The checkerboard filled the whole centre column, which made the
 * transparency read as the studio's own background rather than as a property
 * of the artwork. A card states it: this square is your file, and everything
 * outside it is the room it is sitting in.
 */
.asp-4a__panes { background: var(--color-surface-alt, #e4e4e4); }
/*
 * ── THE CARD ─────────────────────────────────────────────────────────────
 *
 * .asp-4a__board is the square. It owns the radius, the chequer and the
 * shadow, and it is the positioning context for everything inside it — so the
 * dropzone's `inset: 24px`, the chip and the chevrons all resolve against the
 * card rather than against the column.
 */
/*
 * Two: the card, and the actions under it. There was a label row above the
 * card for the cut-line chip and the Ruler / Artboard switches; the chip is
 * now the dashes on the Cut line button and the switches sit beside it in the
 * view row (Dennis, 2026-10-14), so the row went with them.
 */
.asp-4a__pane--edit { grid-template-rows: auto auto; }
/*
 * The card's width is a custom property so a layout around the studio can size
 * it without restating the card — the proof playground sets it to fill its
 * pane. (It also once kept a label row above the card the same width.)
 */
.asp-4a__pane--edit { --a4-board-w: min(100%, 56vh); }
.asp-4a__board {
    position: relative;
    width: var(--a4-board-w); aspect-ratio: 1;
    border-radius: 24px;
    background: repeating-conic-gradient(#e9edf2 0% 25%, #fff 0% 50%) 0 0 / 22px 22px;
    box-shadow: 0 10px 30px rgba(16, 22, 34, .10), 0 2px 6px rgba(16, 22, 34, .06);
    overflow: hidden;
    display: grid; place-items: center;
}

/*
 * ── THE CARD, OFF ────────────────────────────────────────────────────────
 *
 * The Ruler button takes the artboard with it: no chequer, no shadow, no
 * rounded corner — the artwork alone on the pane. Dennis asked for both on
 * one control, and they are the same kind of thing: studio furniture, not the
 * design.
 *
 * Size and position are untouched. The card keeps its width and aspect ratio
 * so the artwork does not move when the chrome goes, which is the same rule
 * the callipers now follow.
 */
.asp-4a__board.is-bare {
    background: none;
    box-shadow: none;
    border-radius: 0;
}
/*
 * Inside the card, the dropzone IS the card — no second box, no border, and
 * nothing painting over the chequer.
 *
 * !important because studio-modal.css's day-theme block fills #scg-dropzone
 * with an id selector and its own !important. That block belongs to the
 * legacy studio and is scoped away from the 4A shell, but the dropzone's own
 * line is reached through several selectors; rather than chase each one, the
 * card asserts its surface once, scoped to itself so it cannot leak.
 */
.asp-4a__board .asp-4a__dropzone {
    inset: 0; border: 0; border-radius: inherit;
}
.asp-4a__board .asp-4a__dropzone,
.asp-4a__board #scg-dropzone,
.asp-4a__board .scg-dropzone,
.asp-4a__board .scg-dropzone__inner { background: transparent !important; }
/*
 * The canvas is transparent so the card's checkerboard reads through the
 * artwork. !important because studio-modal.css's day-theme block fills it with
 * an id selector and its own !important; that line is scoped away from 4A, and
 * this is the belt to its braces — a grey canvas over a chequered card is the
 * exact confusion the chequer exists to prevent.
 */
.asp-4a__board .scg-preview-canvas {
    max-width: 100%; max-height: 100%; height: auto;
    background: transparent !important;
}

/* The chevrons belong to the card. */
/*
 * ─── BESIDE THE CARD, NOT ON IT ──────────────────────────────────────────
 *
 * They used to be children of .asp-4a__board, 12px inside its edges, so
 * every design was judged with two chevrons sitting on it. They are
 * siblings of the card now and pinned to the PANE, which is much wider than
 * the board's min(100%, 56vh) — the space Dennis pointed at.
 *
 * The pane has to be the positioning context for that to mean anything, and
 * the board clips its own overflow, which is why this needed the markup
 * move rather than a negative offset.
 */
.asp-4a__pane--edit { position: relative; }
.asp-4a__pane--edit > .asp-4a__browse--prev { left: 14px; }
.asp-4a__pane--edit > .asp-4a__browse--next { right: 14px; }

.asp-4a__artactions .asp-4a__step-sub svg { flex: none; }

/*
 * The card carries one label, and it is the cut-line chip.
 *
 * "Editing" and the quality badge were the old full-bleed pane's corner
 * furniture; on a card they sit behind the chip in the same corner. The
 * quality readout is a fact in the cut panel now ("96 DPI · Low") and which
 * design is being edited is the rail's blue ring.
 */
.asp-4a__board .asp-4a__corner,
.asp-4a__board .asp-4a__quality { display: none; }

/* ── The two shortcuts, under the buttons they belong to ─────────────────── */
/*
 * Pinned to the foot of the panel.
 *
 * Sticky, not fixed: it stays on screen while the panel scrolls but still
 * belongs to the flow, so it cannot end up floating over a column it is not
 * part of. The negative margins let it span the panel's padding so scrolling
 * content passes behind it rather than beside it — the same trick the price
 * block used when it lived at the foot of the left rail.
 *
 * It needs a ground of its own for that: transparent, the hints would be
 * legible only until something scrolled under them.
 */
.asp-4a__keys {
    position: sticky; bottom: 0; z-index: 3;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    /*
     * No negative BOTTOM margin. Pulling the bar down into the panel's padding
     * made it overlap "Not quite right" — a sticky element keeps its place in
     * flow, so anything it is dragged over stays underneath it at every scroll
     * position, not just at rest. The side margins still span the padding so
     * scrolling content passes behind rather than beside it.
     */
    margin: 11px -20px 0; padding: 12px 20px;
    background: #fff;
    border-top: 1px solid rgba(45, 56, 75, .08);
    font: inherit; font-size: 11.5px; font-weight: 600; color: #8b94a6;
}
/* The bar provides the panel's bottom gutter now, so the panel stops adding
   one underneath it. */
.asp-4a__cutpanel { padding-bottom: 0; }
.asp-4a__keys[hidden] { display: none; }
/*
 * Keyboard shortcuts are for a keyboard. Stacked (≤1100 — a phone, a tablet)
 * the bar pinned itself over the Perfect button and took its taps (Dennis,
 * 2026-10-10); there it is gone.
 */
@media (max-width: 1100px) {
    .asp-4a__keys { display: none; }
}
.asp-4a__keys kbd {
    padding: 3px 7px;
    background: #fff; border: 1px solid var(--a4-line); border-radius: 6px;
    font: inherit; font-size: 10.5px; font-weight: 700; color: #6b7384;
}
.asp-4a__keys span { margin-right: 6px; }

/*
 * ═══ FINAL CHECK: THE TALLY AND THE PACK ════════════════════════════════
 */
.asp-signoff__tally { display: flex; align-items: center; gap: 8px; flex: none; }
.asp-signoff__tally[hidden] { display: none; }
.asp-signoff__tallychip {
    padding: 7px 13px; border-radius: 999px;
    font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1; white-space: nowrap;
}
.asp-signoff__tallychip[hidden] { display: none; }
.asp-signoff__tallychip--ok    { background: #eaf7ef; color: #1e7a46; border: 1px solid #bfe6cf; }
.asp-signoff__tallychip--human { background: #fdf3e4; color: #8a5a1f; border: 1px solid #e8c877; }

/* ── The pack, chosen on the screen that divides it ──────────────────────── */
.asp-signoff__packs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.asp-signoff__packs[hidden] { display: none; }
.asp-signoff__pack {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 18px; text-align: left;
    background: #fff; border: 2px solid var(--a4-line); border-radius: 14px;
    font: inherit; cursor: pointer;
}
/*
 * ─── FALLBACKS, BECAUSE THIS LIVES OUTSIDE .asp-4a ───────────────────────
 *
 * studio-signoff.js moves #asp-signoff to <body> on init — it ships inside
 * the studio's modal and has to escape it to sit over the product page. The
 * editor's custom properties are declared on .asp-4a, so once it has moved
 * they resolve to nothing: the selected pack's filled dot was painted
 * rgba(0,0,0,0) and its ring fell back to the initial colour, which read as
 * "neither option is selected" while the footer said "$99 — 250 stickers".
 * Dennis, 2026-10-06.
 *
 * Fallbacks rather than widening the token rule's selector. The first attempt
 * did that and put a blank modal in the middle of the product page: that
 * block is not tokens-only — it also sets display, background, height and
 * grid-template-rows — so the sign-off inherited the editor's layout while
 * still hidden. Three fallbacks are cheaper than splitting that block, and
 * they are the only three tokens this detached subtree uses.
 */
.asp-signoff__pack.is-on { border-color: var(--a4-blue, #1ab0e0); }
.asp-signoff__pack-dot {
    flex: none; width: 18px; height: 18px; border-radius: 999px;
    border: 2px solid rgba(45, 56, 75, .3); display: grid; place-items: center;
}
.asp-signoff__pack.is-on .asp-signoff__pack-dot { border-color: var(--a4-blue, #1ab0e0); }
.asp-signoff__pack.is-on .asp-signoff__pack-dot::after {
    content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--a4-blue, #1ab0e0);
}
.asp-signoff__pack-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.asp-signoff__pack-text strong { font-weight: 700; font-size: 15px; color: var(--a4-dark, #2d384b); }
.asp-signoff__pack-sub { font-size: 12.5px; color: #555b68; }
.asp-signoff__pack-tag {
    margin-left: auto; flex: none;
    padding: 5px 10px; border-radius: 999px;
    background: var(--a4-tint); color: var(--a4-blue-mid);
    font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
}


/* ══════════════════════════════════════════════════════════════════════════
   SECTION Y · ONE CTA, AND THE TOTAL UNDER IT
   ══════════════════════════════════════════════════════════════════════════

   The brief: "Full-width 46px button, 14px radius, no shadow, with a grey
   note under it… Hairline, then TOTAL label + 28px price on the left and the
   summary on the right. No Woo-purple buttons anywhere."

   The page had two buttons — this one into the studio and Woo's own Add to
   cart below the total — which is where the purple came from. There is one
   now; Woo's still posts the form and is hidden. See the note on
   #asp-pg-cta in class-frontend.php.
   ────────────────────────────────────────────────────────────────────────── */

.asp-pg-cta {
    width: 100%; min-height: 46px; padding: 13px 24px;
    border: 1.5px solid transparent; border-radius: 14px;
    font: inherit; font-weight: 700; font-size: 15px; line-height: 1.1;
    text-align: center; cursor: pointer; box-shadow: none;
    background: var(--atomic-blue, #1AB0E0); color: #FFFFFF;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.asp-pg-cta:hover:not(:disabled) { background: #159AC6; }

/* Outlined and grey, not a filled button greyed out: the brief distinguishes
   "nothing chosen yet" from "working", and a filled grey button reads as the
   second. */
.asp-pg-cta:disabled {
    background: transparent; border-color: rgba(45, 56, 75, 0.18);
    color: #9AA0AD; cursor: default;
}

.asp-pg-cta__note {
    margin: 0; font-size: 11.5px; line-height: 1.5; text-align: center;
    color: var(--color-text-muted, #555B68);
}
/* Nothing to say in the blocked state — the 2f line above is saying it. */
.asp-pg-cta__note:empty { display: none; }

/* ─── WHY THE SELECTOR IS THIS LONG ────────────────────────────────────────
 * The theme's full-width button recipe is
 *   .single-product .summary .single_add_to_cart_button.button   -> (0,4,0)
 * and it sets display: block. The obvious hide here,
 *   form.cart .asp-pg-section--total .single_add_to_cart_button  -> (0,3,1)
 * MATCHES the button and still loses: four classes beat three classes and an
 * element. It is the exact trap primitives.css and route-product.css both
 * carry a note about, and it cost a round of "the rule is served, the element
 * matches it, and nothing happens".
 *
 * So: five classes, (0,5,0), and no !important for the next person to unpick.
 */
.single-product .summary .asp-pg-section--total .single_add_to_cart_button.button {
    display: none;
}

/* ── The order total sticks to the bottom of the screen ─────────────────────
 *
 * The sticker route was the only product route without this. The sign route
 * pins .as-sgnp-buy, the flex routes pin .as-priceline, the sign studio pins
 * .ass-total — and this page, whose configurator is the longest of the four
 * and whose price changes as you scroll past the controls that change it, let
 * the number scroll away (Dennis, 2026-10-08).
 *
 * The CTA came down into this section to make it worth pinning. A sticky
 * price with its button somewhere up the page is half a feature: you can see
 * what it costs and not act on it.
 *
 * It needs a ground and an edge of its own, because it now floats over live
 * content rather than sitting in the column. The negative side margins let it
 * span the column's padding so what scrolls passes BEHIND it rather than
 * beside it.
 */
/*
 * ─── ONE CARD, NOT A CARD IN A FRAME ────────────────────────────────────
 *
 * It was a white band reaching 16px past the column on each side, with the
 * grey price line inside it and 22px of white above — read as an odd white
 * border on a desktop, and on a phone it ran to 8px from the screen's edge
 * while every card above sat at 24 (Dennis, 2026-10-10). Now the section IS
 * the card: the price line's own grey, at the column's width, the sticky
 * shadow on the card — and, since 2026-10-10, the price alone; the button is
 * under the uploader. The theme gives every section
 * after the first `padding-top: 22px !important`
 * (route-product.css), so this needs the !important and one more element of
 * specificity to set its own.
 */
.asp-pg-section--total,
.single-product .summary div.asp-pg-section.asp-pg-section--total {
    position: sticky;
    bottom: var(--space-3);
    z-index: 4;
    margin: 22px 0 0;
    padding: var(--space-4) var(--space-5) var(--space-4) !important;
    background: var(--color-surface-alt, #e4e4e4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sticky);
}
/* The price line is the card's content now, not a second card inside it. */
.asp-pg-section--total .as-priceline { padding: 0; background: none; border-radius: 0; }
/* The button and its note, under the uploader (see class-frontend.php). */
.asp-pg-cta-group { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-5); }
@media (max-width: 1000px) {
    .asp-pg-section--total,
    .single-product .summary div.asp-pg-section.asp-pg-section--total {
        padding: var(--space-3) var(--space-4) !important;
        bottom: var(--space-2);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .asp-pg-section--total { transition: box-shadow var(--dur) var(--ease); }
}

/* ── The total: a hairline and two columns, not a panel ─────────────────────
   .asp-live-price is also the studio modal's price block, so every rule here
   is scoped to the product page's section. Restyling the bare class would
   follow the customer into the editor. */
.asp-pg-section--total .asp-live-price {
    background: none; border: 0;
    border-top: 1px solid var(--color-border-soft); border-bottom: 1px solid var(--color-border-soft);
    border-radius: 0; padding: var(--space-4) 0;
}
/* The modal's breakdown still laid out a 9px strip with its own grey hairline
   under the price; the handoff's total is one row. */
.asp-pg-section--total .asp-live-price__breakdown { display: none; }
.asp-pg-section--total .asp-live-price__row { align-items: flex-start; margin: 0; }
.asp-pg-section--total .asp-live-price__label {
    font-size: 11px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--color-text-muted, #555B68);
}
.asp-pg-section--total .asp-live-price__total {
    font-size: 28px; line-height: 1.1; font-weight: 800;
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION Y · THE OPTION GROUPS, ON EVERY STICKER PRODUCT
   ══════════════════════════════════════════════════════════════════════════

   Split 5 Product Page v3 draws each group as ONE bordered container with its
   options stacked inside and divided by a hairline — a radio, a name over a
   one-line note, and the value right-aligned — rather than as separate cards
   sitting side by side.

   Scoped to .asp-product-wrap — every sticker product page. It was
   .asp-product-wrap--kit until 2026-10-06, when the custom-cut-stickers-
   standard handoff put the single-sticker page on the same recipe (design/
   handoffs/custom-cut-stickers-standard). Size, "How should they arrive?"
   the quantity table and Material (Sticker Sheets' three stocks) joined the
   selector lists below rather than getting recipes of their own; their few differences (a row of five, a five-column
   grid) are the overrides at the end of this block. Nothing is scoped to
   .asp-product-wrap--kit any more; the class only names a bundle page.
   ────────────────────────────────────────────────────────────────────────── */

/* ── The headings ────────────────────────────────────────────────────────────
 * Size, weight, tracking and casing all come from the canonical .as-eyebrow
 * recipe in the theme, which is 11px — exactly what this mock asks for. The
 * only thing it does not set is COLOUR, deliberately, because an eyebrow is
 * blue on one ground and white on another; primitives.css says so where the
 * recipe is defined.
 *
 * So colour is the one declaration here. Split 5 draws these grey (#555B68)
 * rather than navy, which is what keeps BUNDLE / FINISH / TURNAROUND reading
 * as captions over the controls instead of as headlines competing with the
 * product title above them.
 *
 * Tracking stays on --tracking-label (0.1em) where the mock measures 0.08em.
 * At 11px that is a fifth of a pixel, and spending a local override on it
 * would put back the kind of near-duplicate recipe the rule above exists to
 * prevent.
 */
.single-product .asp-product-wrap .asp-pg-label {
    color: var(--color-text-muted, #555B68);
}

/* Finish takes the row, its options side by side like "How should they
   arrive?". It shared the row with Turnaround until rush became one choice
   for the whole order at checkout (Dennis, 2026-11-12), and alone at half
   width it would leave the other half empty — the same call Turnaround got
   when it was the one alone (decals, Dennis, 2026-10-07). Below 560 the
   options stay a list: three finishes in a phone's row would not fit. */
/*
 * ─── WHY .single-product IS IN THESE SELECTORS ─────────────────────────────
 * route-product.css carries `.single-product .asp-pg-section.asp-pg-section--finish
 * { display: flex }` at (0,3,0) and a matching grid rule for its buttons. A
 * kit override written as `.asp-product-wrap .asp-pg-section--finish`
 * is (0,2,0) and loses silently. Matching the theme's prefix and adding the
 * wrapper class puts these at (0,4,0) and over. Same trap as the Add to cart
 * hide above.
 */
/* `.asp-pg-section.asp-pg-section--finish`, one class more than the shared
   container and button lists below, which say column and `flex: none` for
   every group and come later in this file. */
@media (min-width: 560px) {
    .single-product .asp-product-wrap .asp-pg-section.asp-pg-section--finish .asp-pg-option-btns {
        flex-direction: row;
    }
    .single-product .asp-product-wrap .asp-pg-section.asp-pg-section--finish .asp-pg-option-btn {
        flex: 1 1 0; width: auto; min-width: 0;
    }
    .single-product .asp-product-wrap .asp-pg-section.asp-pg-section--finish .asp-pg-option-btn + .asp-pg-option-btn {
        border-top: 0; border-left: 1px solid var(--color-border-soft);
    }
}

/* ── The container ───────────────────────────────────────────────────────── */
.single-product .asp-product-wrap .asp-kit__options,
.single-product .asp-product-wrap .asp-pg-section--finish .asp-pg-option-btns,
.single-product .asp-product-wrap .asp-size-presets,
.single-product .asp-product-wrap .asp-pg-section--finishing .asp-pg-option-btns,
.single-product .asp-product-wrap .asp-pg-section--material .asp-pg-option-btns,
.single-product .asp-product-wrap .asp-qty,
.single-product .asp-product-wrap .asp-panes__box {
    display: flex; flex-direction: column; gap: 0;
    border: 1.5px solid var(--color-border-soft); border-radius: var(--radius-md);
    overflow: hidden; background: #FFFFFF;
}

/* The bundle's two tiers read as a price comparison, so they sit side by side
   inside their container the way the mock has them. */
.single-product .asp-product-wrap .asp-kit__options,
.single-product .asp-product-wrap .asp-size-presets,
.single-product .asp-product-wrap .asp-pg-section--finishing .asp-pg-option-btns,
.single-product .asp-product-wrap .asp-pg-section--material .asp-pg-option-btns { flex-direction: row; }

/*
 * And in a row the options share the width rather than each claiming it.
 * The shared rule below sets `width: 100%; flex: none`, which is what the
 * stacked groups need and the exact opposite of what this one does — with
 * both tiers at full width and the container allowed to wrap, they came out
 * stacked while every rule involved still said "row".
 */
/* Four classes: the shared option rule below is three and comes later in the
   file, so at equal specificity it won on source order and put both tiers
   back to full width. */
.single-product .asp-product-wrap .asp-kit__options .asp-kit__opt,
.single-product .asp-product-wrap .asp-size-presets .asp-size-preset,
.single-product .asp-product-wrap .asp-pg-section--finishing .asp-pg-option-btns .asp-pg-option-btn,
.single-product .asp-product-wrap .asp-pg-section--material .asp-pg-option-btns .asp-pg-option-btn {
    flex: 1 1 0; width: auto; min-width: 0;
}

/* ── An option ───────────────────────────────────────────────────────────── */
.single-product .asp-product-wrap .asp-kit__opt,
.single-product .asp-product-wrap .asp-pg-section--finish .asp-pg-option-btn,
.single-product .asp-product-wrap .asp-size-preset,
.single-product .asp-product-wrap .asp-pg-section--finishing .asp-pg-option-btn,
.single-product .asp-product-wrap .asp-pg-section--material .asp-pg-option-btn,
.single-product .asp-product-wrap .asp-qty__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: 'radio name value' 'radio note value';
    align-items: center; gap: 0 var(--space-2-5);
    width: 100%; margin: 0; text-align: left;
    border: 0; border-radius: 0; box-shadow: none;
    background: none; cursor: pointer;
    padding: 12px 14px; min-height: 0;
    font: inherit; color: var(--color-text, #2D384B);
    transition: background .15s ease;
    /*
     * The theme gives these buttons `flex: 1` so they share the width of its
     * ROW layout. Stacked into a column that becomes flex-basis 0 on the
     * vertical axis, and every option collapsed to a share of a container
     * that had no height of its own — two 16px slivers with their text
     * overlapping, while the grid inside each one was laid out correctly.
     * Nothing looked wrong in the rules; the direction had changed under
     * them.
     */
    flex: none;
}
.asp-product-wrap .asp-kit__opt + .asp-kit__opt,
.asp-product-wrap .asp-size-preset + .asp-size-preset,
.asp-product-wrap .asp-pg-section--finishing .asp-pg-option-btn + .asp-pg-option-btn,
.asp-product-wrap .asp-pg-section--material .asp-pg-option-btn + .asp-pg-option-btn {
    border-left: 1px solid var(--color-border-soft);
}
.asp-product-wrap .asp-pg-section--finish .asp-pg-option-btn + .asp-pg-option-btn,
.asp-product-wrap .asp-qty__row + .asp-qty__row {
    border-top: 1px solid var(--color-border-soft);
}

/* ── The radio ───────────────────────────────────────────────────────────────
   Drawn rather than marked up: these are three different button components in
   three different renderers, and adding a span to each would be three markup
   changes to say one thing. The control is the button; this is its state. */
.single-product .asp-product-wrap .asp-kit__opt::before,
.single-product .asp-product-wrap .asp-pg-section--finish .asp-pg-option-btn::before,
.single-product .asp-product-wrap .asp-size-preset::before,
.single-product .asp-product-wrap .asp-pg-section--finishing .asp-pg-option-btn::before,
.single-product .asp-product-wrap .asp-pg-section--material .asp-pg-option-btn::before,
.single-product .asp-product-wrap .asp-qty__dot {
    content: ''; grid-area: radio;
    width: 17px; height: 17px; border-radius: 50%;
    border: 2px solid rgba(45, 56, 75, 0.28); background: #FFFFFF;
    box-sizing: border-box;
}
.single-product .asp-product-wrap .asp-kit__opt--active::before,
.single-product .asp-product-wrap .asp-pg-section--finish .asp-pg-option-btn--active::before,
.single-product .asp-product-wrap .asp-size-preset--active::before,
.single-product .asp-product-wrap .asp-pg-section--finishing .asp-pg-option-btn--active::before,
.single-product .asp-product-wrap .asp-pg-section--material .asp-pg-option-btn--active::before,
.single-product .asp-product-wrap .asp-qty__row.is-selected .asp-qty__dot {
    border-color: var(--atomic-blue, #1AB0E0);
    border-width: 5px;
}

/* ── Selected ────────────────────────────────────────────────────────────── */
.single-product .asp-product-wrap .asp-kit__opt--active,
.single-product .asp-product-wrap .asp-pg-section--finish .asp-pg-option-btn--active,
.single-product .asp-product-wrap .asp-size-preset--active,
.single-product .asp-product-wrap .asp-pg-section--finishing .asp-pg-option-btn--active,
.single-product .asp-product-wrap .asp-pg-section--material .asp-pg-option-btn--active,
.single-product .asp-product-wrap .asp-qty__row.is-selected {
    background: #F4F9FE;
}
.asp-product-wrap .asp-kit__opt:hover:not(.asp-kit__opt--active),
.asp-product-wrap .asp-pg-section--finish .asp-pg-option-btn:hover:not(.asp-pg-option-btn--active),
.asp-product-wrap .asp-size-preset:hover:not(.asp-size-preset--active),
.asp-product-wrap .asp-pg-section--finishing .asp-pg-option-btn:hover:not(.asp-pg-option-btn--active),
.asp-product-wrap .asp-pg-section--material .asp-pg-option-btn:hover:not(.asp-pg-option-btn--active),
.asp-product-wrap .asp-qty__row:hover:not(.is-selected) {
    background: rgba(45, 56, 75, 0.03);
}

/* ── Name, note, value ───────────────────────────────────────────────────── */
.single-product .asp-product-wrap .asp-kit__qty,
.single-product .asp-product-wrap .asp-pg-section--finish .asp-pg-option-btn__label,
.single-product .asp-product-wrap .asp-pg-section--finishing .asp-pg-option-btn__label {
    grid-area: name; line-height: 1.35;
}
/* Placement only. The type for these is set once, further down, from the
   handoff's own numbers — the four declarations that used to sit here were
   all overridden by it and the pre-commit hook was right to say so. */
.single-product .asp-product-wrap .asp-kit__note,
.single-product .asp-product-wrap .asp-pg-section--finish .asp-pg-option-btn__note,
.single-product .asp-product-wrap .asp-pg-section--finishing .asp-pg-option-btn__note {
    grid-area: note; display: block; white-space: normal;
}
.single-product .asp-product-wrap .asp-kit__price,
.single-product .asp-product-wrap .asp-pg-val {
    grid-area: value; justify-self: end; white-space: nowrap;
}


/* ══════════════════════════════════════════════════════════════════════════
   SECTION Y · THE UPLOADER CARD, FROM THE HANDOFF'S OWN NUMBERS
   ══════════════════════════════════════════════════════════════════════════

   Every value below is lifted from the inline styles in
   "Split 5 Product Page v3.dc.html" rather than estimated from a render of
   it. Earlier passes measured by eye and landed close but wrong on most of
   them, which is what this block exists to stop.

     card        border 1.5px rgba(45,56,75,0.12) · radius 14 · overflow hidden
     head        padding 14 · wordmark 19px/800/-0.02em · counter 12px/700 #555B68
     dropzone    2px dashed rgba(26,176,224,0.55) · #F7FCFE · radius 12 · pad 16 12
     tabs strip  #F5F8FA · border-top 1px rgba(45,56,75,0.08) · grid 1fr 1fr
     tab         12.5px/700 · padding 12 8 · gap 7 · #2D3445
     tab on      #1AB0E0 on #FFFFFF · inset 0 -2px 0 #1AB0E0
   ────────────────────────────────────────────────────────────────────────── */

/* ── One card, drawn across two siblings ─────────────────────────────────────
 * The staging section and the offline tabs are adjacent children of the same
 * uploader section, and the handoff draws them as one card with the tabs as
 * its grey footer. Painting the border across the pair is what joins them
 * without moving markup between two renderers. The card is on every sticker
 * product (split-staging.js applies at one slot too), so these rules are
 * scoped to .asp-product-wrap like the option groups above. */
.single-product .asp-product-wrap #asp-split-staging {
    border: 1.5px solid var(--color-border-soft);
    border-bottom: 0;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    background: #FFFFFF;
    overflow: hidden;
}
.single-product .asp-product-wrap .asp-stage__head--ledger { padding: 14px; }
.single-product .asp-product-wrap .asp-stage__wordmark {
    font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1;
}
.single-product .asp-product-wrap .asp-stage__eyebrow {
    font-size: 12px; font-weight: 700; color: #555B68;
    letter-spacing: 0; text-transform: none;
}

/* The dashed box is the DROPZONE, not the whole list. It used to wrap the
   rows as well, so a card with two designs in it still had a dashed outline
   round the lot. */
.single-product .asp-product-wrap .asp-ledger { border: 0; background: none; padding: 0 14px 14px; }
/* The staging template's summary slot is empty on this card (the ledger's
   own total row replaced it) but as a flex item it still earned the card's
   8px gap under the last row. */
.single-product .asp-product-wrap .asp-stage__summary { display: none; }
/* 3. The handoff rules the first design row off from the head. */
.single-product .asp-product-wrap .asp-ledger > .asp-ledger__row:first-child { border-top: 1px solid rgba(45, 56, 75, 0.08); }
.single-product .asp-product-wrap .asp-ledger__hero {
    border: 2px dashed rgba(26, 176, 224, 0.55);
    background: #F7FCFE; border-radius: 12px;
    padding: 16px 12px; gap: 5px;
}
.single-product .asp-product-wrap .asp-ledger__hero-title {
    font-size: 13.5px; font-weight: 700; color: #2D3445;
}
.single-product .asp-product-wrap .asp-ledger__hero-sub {
    font-size: 11.5px; color: #555B68; line-height: 1.45;
}

/* ── The footer: attached, with a divider down the middle ─────────────────── */
.single-product .asp-product-wrap .asp-pg-alt {
    /*
     * The uploader section is a flex column with an 8px gap, which is right
     * between the card and the button below it and wrong between the card and
     * its own footer — a card does not have a seam across it. Pulled back by
     * exactly that gap rather than zeroing it for every child.
     */
    margin-top: -8px;
    border: 1.5px solid var(--color-border-soft);
    border-top: 1px solid rgba(45, 56, 75, 0.08);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    background: var(--color-surface-alt, #e4e4e4);
    overflow: hidden;
}
.single-product .asp-product-wrap .asp-pg-alt__tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.single-product .asp-product-wrap .asp-pg-alt__tab {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 12px 8px; font-size: 12.5px; font-weight: 700; min-height: 0; line-height: 1.45;
    color: #2D3445; background: none; border: 0; cursor: pointer;
}
/* The divider the mock puts between them — on the first tab only, so it sits
   on the centre line rather than doubling up at the card edge. */
.single-product .asp-product-wrap .asp-pg-alt__tab:hover { color: var(--atomic-blue, #1AB0E0); }
.single-product .asp-product-wrap .asp-pg-alt__tab:first-child {
    border-right: 1px solid var(--color-border-soft);
}
.single-product .asp-product-wrap .asp-pg-alt__tab.is-on {
    color: #1AB0E0; background: #FFFFFF;
    box-shadow: inset 0 -2px 0 #1AB0E0;
}

/* ── No rules between the option groups ──────────────────────────────────────
 * atomic-theme.css gives every .asp-pg-section a bottom border. The handoff
 * has none — the groups are separated by space, and the only hairline on the
 * page is the one above TOTAL. The one under the price was that rule landing
 * on the last section. */
.single-product .asp-product-wrap .asp-pg-section { border-bottom: 0; }

/* ── Option type, to the handoff's numbers ───────────────────────────────── */
.single-product .asp-product-wrap .asp-kit__qty,
.single-product .asp-product-wrap .asp-pg-section--finish .asp-pg-option-btn__label,
.single-product .asp-product-wrap .asp-pg-section--finishing .asp-pg-option-btn__label,
.single-product .asp-product-wrap .asp-size-preset,
.single-product .asp-product-wrap .asp-pg-section--material .asp-pg-option-btn,
.single-product .asp-product-wrap .asp-kit__price,
.single-product .asp-product-wrap .asp-qty__n,
.single-product .asp-product-wrap .asp-qty__total {
    font-size: 13px; font-weight: 700; color: var(--atomic-dark, #2D3445);
}
.single-product .asp-product-wrap .asp-kit__note,
.single-product .asp-product-wrap .asp-pg-section--finish .asp-pg-option-btn__note,
.single-product .asp-product-wrap .asp-pg-section--finishing .asp-pg-option-btn__note,
.single-product .asp-product-wrap .asp-qty__each {
    font-size: 11.5px; font-weight: 400; color: var(--color-text-muted, #555B68); line-height: 1.45;
}
.single-product .asp-product-wrap .asp-pg-val,
.single-product .asp-product-wrap .asp-qty__save,
.single-product .asp-product-wrap .asp-qty__more-btn,
.single-product .asp-product-wrap .asp-qty__quote a,
.single-product .asp-product-wrap .asp-rush-note__open { font-size: var(--text-xs); font-weight: 700; color: var(--atomic-blue, #1AB0E0); }
.single-product .asp-product-wrap .asp-pg-val--muted,
.single-product .asp-product-wrap .asp-qty__save--none { font-size: var(--text-xs); font-weight: 700; color: var(--color-placeholder, #9AA0AD); }

/* ── The CTA note ────────────────────────────────────────────────────────── */
.single-product .asp-product-wrap .asp-pg-cta__note {
    font-size: 11.5px; color: #9AA0AD; text-align: center;
}

/* A size is one short line — "2″ × 2″" — and five of them share the row. At
   1280 that is 112px a cell, which the shared 14px padding and the radio leave
   57px for; the label fits only if it is not allowed to wrap. */
.single-product .asp-product-wrap .asp-size-preset,
.single-product .asp-product-wrap .asp-pg-section--material .asp-pg-option-btn { white-space: nowrap; line-height: 1.35; }
/* ^ These two carry their name as a bare text node, so the 1.35 the name
   spans get from the placement rule has to be said on the button itself;
   otherwise the body's 1.6 makes a Size cell 3px taller than its neighbours. */
/* Keyboard focus: the box clips its children, so the ring has to sit inside. */
.single-product .asp-product-wrap .asp-size-preset:focus-visible,
.single-product .asp-product-wrap .asp-pg-option-btn:focus-visible,
.single-product .asp-product-wrap .asp-kit__opt:focus-visible,
.single-product .asp-product-wrap .asp-qty__row:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }

/* ── The quantity table, on the same recipe ──────────────────────────────────
 * One row per tier, no header: radio · qty · each · total · save on one fixed
 * column template, so the columns line up down the table instead of drifting
 * with the label widths. The SAVE column is 64px for the same reason. The
 * mock's row, and the handoff README's description of it. Type for the cells
 * is in the option-type lists above; the theme's route-product.css keeps only
 * focus, tabular figures and the button reset. */
.single-product .asp-product-wrap .asp-qty__row {
    grid-template-columns: 17px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) var(--space-16);
    grid-template-areas: none;
    gap: 0 var(--space-3); padding: var(--space-2-5) var(--space-3-5); white-space: nowrap;
}
.single-product .asp-product-wrap .asp-qty__dot { grid-area: auto; }
.single-product .asp-product-wrap .asp-qty__save { text-align: right; }
.single-product .asp-product-wrap .asp-qty__more {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
    padding: 11px var(--space-3-5); font-size: var(--text-xs); gap: var(--space-2-5);
    border-top: 1px solid var(--color-border-soft); background: none;
}
.single-product .asp-product-wrap .asp-qty__quote,
.single-product .asp-product-wrap .asp-rush-note,
.single-product .asp-product-wrap .asp-sheet-est { font-size: var(--text-xs); color: var(--color-text-muted, #555B68); }

/* ── Rush: "Need it faster? Rush options" and its popup ──────────────────────
 * Rush is one choice for the whole order, Production speed at checkout; the
 * page only explains it (Dennis, 2026-11-12, ASP_Frontend::render_rush_note()).
 * The line is the quantity table's "More than 5,000? Get a quote", by his
 * ask, so its type is on that recipe above. Its link opens a popup, so it is a
 * button wearing the link's look.
 *
 * The popup is a recipe of its own: no dialog style is loaded on a product
 * page (the checkout's pickup card and the account's proofs dialog live in
 * their routes' sheets). Tokens throughout; the headings are .as-eyebrow. */
/* Right-aligned under the quantity box — inset by the box's own 14px so it
   ends on the same edge as "More than 5,000? Get a quote" — with room before
   the next section. It sat 4px INTO the gap under the box, tucked against the
   border; it gets a gap of its own now (Dennis, 2026-11-14: "needs some
   padding above"). */
.single-product .asp-product-wrap .asp-rush-note,
.single-product .asp-product-wrap .asp-sheet-est {
    margin: var(--space-3) 0 var(--space-5); padding-right: var(--space-3-5); text-align: right;
}
/* Same-design sheets' "Printed on … sheets" line (ASP_Frontend::
   render_sheet_estimate()) sits above the rush line on the same recipe; the
   two read as one note, so the gap between them is small and the room before
   the next section stays under the second. */
.single-product .asp-product-wrap .asp-sheet-est:has(+ .asp-rush-note) { margin-bottom: 0; }
.single-product .asp-product-wrap .asp-sheet-est + .asp-rush-note { margin-top: var(--space-1); }
.single-product .asp-product-wrap .asp-sheet-est:empty { display: none; }
/* On a phone the quantity footer wraps and "More than 5,000?" drops to the
   left under "Show more quantities"; the rush line follows it there. */
@media (max-width: 560px) {
    .single-product .asp-product-wrap .asp-rush-note,
    .single-product .asp-product-wrap .asp-sheet-est { padding: 0 var(--space-3-5); text-align: left; }
}
.single-product .asp-product-wrap .asp-rush-note__open {
    padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer;
}
.single-product .asp-product-wrap .asp-rush-note__open:hover { text-decoration: underline; }
.single-product .asp-product-wrap .asp-rush-note__open:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.single-product .asp-product-wrap .asp-rush-info {
    width: min(440px, calc(100vw - 2 * var(--space-4)));
    padding: var(--space-6); border: 0; border-radius: var(--radius-lg);
    background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-modal);
}
.single-product .asp-product-wrap .asp-rush-info::backdrop { background: rgba(36, 41, 56, .55); }   /* the checkout pickup card's scrim */
.single-product .asp-product-wrap .asp-rush-info__head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3);
    margin-bottom: var(--space-4);
}
.single-product .asp-product-wrap .asp-rush-info__title {
    margin: 0; font-size: var(--text-h3); font-weight: 800; line-height: var(--leading-tight); color: var(--atomic-dark);
}
.single-product .asp-product-wrap .asp-rush-info__close {
    flex: none; width: var(--space-8); height: var(--space-8); margin: calc(-1 * var(--space-1-5)) calc(-1 * var(--space-2)) 0 0;
    padding: 0; border: 0; border-radius: var(--radius-pill); background: none;
    font: inherit; font-size: var(--text-h3); line-height: 1; color: var(--color-text-muted); cursor: pointer;
}
.single-product .asp-product-wrap .asp-rush-info__close:hover { background: var(--color-surface-alt); color: var(--color-text); }
.single-product .asp-product-wrap .asp-rush-info__close:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 0; }
.single-product .asp-product-wrap .asp-rush-info__list { margin: 0; }
.single-product .asp-product-wrap .asp-rush-info__list dt { margin: 0 0 var(--space-1); }
.single-product .asp-product-wrap .asp-rush-info__list dd {
    margin: 0 0 var(--space-4); font-size: var(--text-sm); line-height: var(--leading-body); color: var(--color-text);
}
.single-product .asp-product-wrap .asp-rush-info__foot {
    margin: 0; padding-top: var(--space-3-5); border-top: 1px solid var(--color-border-soft);
    font-size: var(--text-xs); line-height: var(--leading-body); color: var(--color-text-muted);
}

/* ── The Windows list (window decals) ─────────────────────────────────────────
 * design/handoffs/window-decals. A storefront job is several windows, each
 * with its own size, in one order. One Section Y box: a column header, a row
 * per window with underline inputs, the area, a remove ×, then an
 * "Add a window" row. Inches or cm on the site's one switch
 * (Centro_Unit_Switch); feet were dropped 2026-10-07, the cm by mistake with
 * them, and restored 2026-10-09. New stem `asp-panes`, declared in the handoff: nothing in the
 * inventory covered a list of sized rows. Values are the mock's. */
.single-product .asp-product-wrap .asp-panes__head {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-2-5);
}
.single-product .asp-product-wrap .asp-panes__title { display: flex; align-items: baseline; gap: var(--space-2); }
.single-product .asp-product-wrap .asp-panes__count { font-size: 11.5px; font-weight: 600; color: var(--color-placeholder, #9AA0AD); }
/* The in | cm switch on the label row is Centro_Unit_Switch (.as-unit, theme primitives.css). */
.single-product .asp-product-wrap .asp-panes__cols,
.single-product .asp-product-wrap .asp-panes__row {
    display: grid; grid-template-columns: 20px minmax(0, 1fr) minmax(0, 1fr) 72px 22px;
    gap: var(--space-2-5); align-items: center; padding: 9px var(--space-3-5);
}
.single-product .asp-product-wrap .asp-panes__cols {
    padding: 8px var(--space-3-5); font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--color-placeholder, #9AA0AD); background: var(--color-surface-alt, #e4e4e4);
}
.single-product .asp-product-wrap .asp-panes__cols .asp-panes__area-h { text-align: right; }
/* The ledger's hairline (.08), as the mock draws these rows, not the option
   groups' .12 — the list is a table of windows, and sits beside the ledger. */
.single-product .asp-product-wrap .asp-panes__item { border-top: 1px solid rgba(45, 56, 75, 0.08); }
.single-product .asp-product-wrap .asp-panes__n { font-size: 12px; font-weight: 800; color: var(--atomic-dark, #2D3445); }
.single-product .asp-product-wrap .asp-panes__dim { display: flex; align-items: baseline; gap: 3px; min-width: 0; }
.single-product .asp-product-wrap .asp-panes__in {
    width: 56px; border: 0; border-bottom: 1.5px solid var(--color-border); border-radius: 0; outline: 0;
    padding: 2px 0; font: inherit; line-height: normal; font-size: 14.5px; font-weight: 800; color: var(--atomic-dark, #2D3445);
    background: none; text-align: right;
}
.single-product .asp-product-wrap .asp-panes__in:focus { border-bottom-color: var(--atomic-blue, #1AB0E0); }
.single-product .asp-product-wrap .asp-panes__u { font-size: 11.5px; font-weight: 600; color: var(--color-text-muted, #555B68); }
.single-product .asp-product-wrap .asp-panes__area { text-align: right; font-size: var(--text-xs); font-weight: 600; color: var(--color-text-muted, #555B68); white-space: nowrap; }
.single-product .asp-product-wrap .asp-panes__x {
    width: 22px; height: 22px; display: grid; place-items: center; flex: none;
    border: 0; background: none; padding: 0; cursor: pointer; color: var(--color-placeholder, #9AA0AD);
}
.single-product .asp-product-wrap .asp-panes__x:hover { color: var(--atomic-dark, #2D3445); }
/* #D5DAE0 and the blue hover tint below are the mock's own values (design/
   handoffs/window-decals); the fidelity audit holds the list to them. */
.single-product .asp-product-wrap .asp-panes__x:disabled { color: #D5DAE0; cursor: default; }
.single-product .asp-product-wrap .asp-panes__warn {
    padding: 0 var(--space-3-5) 9px 44px; font-size: 11.5px; font-weight: 600; color: #B3752A;
}
.single-product .asp-product-wrap .asp-panes__warn a { font-weight: 700; color: inherit; text-decoration: underline; }
.single-product .asp-product-wrap .asp-panes__add {
    display: flex; align-items: center; gap: var(--space-2); width: 100%; text-align: left;
    padding: 11px var(--space-3-5); border: 0; border-top: 1px solid rgba(45, 56, 75, 0.08); background: none;
    font: inherit; font-size: 13px; font-weight: 700; color: var(--atomic-blue, #1AB0E0); cursor: pointer;
}
.single-product .asp-product-wrap .asp-panes__add:hover:not(:disabled) { background: rgba(26, 176, 224, 0.06); }
.single-product .asp-product-wrap .asp-panes__add:disabled { color: var(--color-placeholder, #9AA0AD); cursor: default; }
.single-product .asp-product-wrap .asp-panes__plus { font-size: 15px; line-height: 1; }
.single-product .asp-product-wrap .asp-panes__foot {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-2-5);
    font-size: var(--text-xs); color: var(--color-text-muted, #555B68); line-height: 1.4;
}
.single-product .asp-product-wrap .asp-panes__tip { font-weight: 600; color: var(--color-placeholder, #9AA0AD); }
@media (max-width: 560px) {
    /* The area column goes on the phone; the summary under the box has the total. */
    .single-product .asp-product-wrap .asp-panes__cols,
    .single-product .asp-product-wrap .asp-panes__row { grid-template-columns: 20px minmax(0, 1fr) minmax(0, 1fr) 22px; }
    .single-product .asp-product-wrap .asp-panes__area,
    .single-product .asp-product-wrap .asp-panes__area-h { display: none; }
    .single-product .asp-product-wrap .asp-panes__in { width: 44px; }
}

/* ── Size at phone width ─────────────────────────────────────────────────────
 * Five cells in a 372px row do not fit. The mock folds them into two columns
 * with Custom across the bottom; the hairlines follow the fold (left on the
 * second column, top on every row after the first). 560 is the ladder's rung
 * for this, as it is for Finish's options going side by side above it. */
@media (max-width: 560px) {
    .single-product .asp-product-wrap .asp-size-presets {
        display: grid; grid-template-columns: 1fr 1fr;
    }
    .single-product .asp-product-wrap .asp-size-preset + .asp-size-preset { border-left: 0; }
    .single-product .asp-product-wrap .asp-size-preset:nth-child(even) {
        border-left: 1px solid var(--color-border-soft);
    }
    .single-product .asp-product-wrap .asp-size-preset:nth-child(n+3) {
        border-top: 1px solid var(--color-border-soft);
    }
    .single-product .asp-product-wrap .asp-size-preset--custom { grid-column: 1 / -1; }
}
