/* Print Lab · Artboard (customer page) — additions on top of css/app.css (the v2 Artboard look) */

/* start over: X in the top-right corner of the garment window (not the product-card ×) */
.stage-top { right: 62px; }
.stage-x { position: absolute; z-index: 8; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink); font-size: 22px; line-height: 1; display: grid; place-items: center; box-shadow: var(--shadow); padding: 0 0 2px; }
.stage-x:hover { background: var(--espresso); color: #fff; border-color: var(--espresso); }
.confirm-over { position: absolute; z-index: 9; top: 56px; right: 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(43,36,32,.18); padding: 12px 14px; width: 240px; }
.confirm-over p { margin: 0 0 10px; font-weight: 600; }
.confirm-over div { display: flex; gap: 8px; justify-content: flex-end; }

/* print quality line in the upload card */
.quality { display: flex; align-items: center; gap: 7px; font-size: 12.5px; margin: 8px 0 2px; padding: 6px 9px; border-radius: 8px; background: var(--linen-2); color: var(--ink-2); flex-wrap: wrap; }
.quality .q-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.quality.ok .q-dot { background: var(--warn); }
.quality.low { background: #FCEFE3; color: #7A3E12; font-weight: 600; }
.quality.low .q-dot { background: #C8501E; }
.quality .link-btn { margin-left: auto; }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0; }
.qgrid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; }
.qgrid canvas { width: 100%; height: auto; display: block; image-rendering: pixelated; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.qgrid figcaption { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 4px; }
.modal.wide { width: 720px; }
.modal .qwait { font-size: 12px; color: var(--ink-3); }

/* whites on dark garments (Bright & bold / Vintage feel) */
.whites { margin: 0 0 10px; }
.whites .wl { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 5px; }
.wseg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wseg label { cursor: pointer; }
.wseg input { position: absolute; opacity: 0; pointer-events: none; }
.wseg span { display: block; border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 8px; background: #fff; line-height: 1.2; }
.wseg b { display: block; font-size: 13px; }
.wseg small { font-size: 11px; color: var(--ink-3); }
.wseg input:checked + span { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); background: var(--linen); }
.wseg input:focus-visible + span { outline: 2px solid var(--accent); }

/* ink list additions */
.ink .flag { display: inline-block; font-size: 11px; color: var(--warn); font-weight: 700; margin-left: 3px; cursor: help; }
.ink.underbase.first { border-color: #EBD9BC; }
.ink.knock.off { background: #fff; }
.tag.pr { background: var(--linen-2); color: var(--ink-2); }
.switch.sm { display: flex; gap: 7px; font-size: 12px; margin-top: 5px; }
.switch.sm span { width: 28px; height: 16px; }
.switch.sm span::after { width: 12px; height: 12px; }
.switch.sm input:checked + span::after { left: 14px; }

/* footer link to the staff page */
.staff-link { font-size: 11.5px; color: var(--ink-3); text-decoration: none; margin-right: 6px; }
.staff-link:hover { color: var(--ink); text-decoration: underline; }

/* quantity / order options */
.qty-lines { max-height: 52vh; overflow: auto; display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.qline { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.qline .qh { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.qline .qh img { width: 38px; height: 38px; }
.qline .qh span { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-3); font-size: 12.5px; }
.qline .qh i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }
.qsizes { display: flex; gap: 8px; flex-wrap: wrap; }
.qsizes label { display: flex; flex-direction: column; align-items: center; font-size: 11.5px; font-weight: 600; color: var(--ink-2); gap: 3px; }
.qsizes input { width: 54px; padding: 5px 6px; border: 1px solid var(--line-2); border-radius: 6px; text-align: center; background: #fff; }
.qtotal { margin-right: auto; align-self: center; font-weight: 700; }
.modal .price { font-size: 16px; margin: 6px 0 8px; }
.modal .price .placeholder { display: block; font-size: 11px; color: #A33; font-weight: 700; letter-spacing: .04em; }
.modal .chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.modal .chips .chip { padding: 3px 10px; }
.modal .note { font-size: 12.5px; }
.modal .guarantee { color: var(--ok) !important; font-weight: 600; }
.modal h3 { margin: 12px 0 6px; }
.osum { display: flex; align-items: center; gap: 7px; font-size: 13px; padding: 3px 0; }
.osum i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }

/* recolor */
.change-link { border: none; background: none; padding: 0 2px; font-size: 11.5px; font-weight: 600; color: var(--accent-2); text-decoration: underline; cursor: pointer; }
.ink .changed { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ink-2); margin-top: 2px; }
.ink .changed i { width: 10px; height: 10px; border-radius: 3px; border: 1px solid rgba(0,0,0,.2); }
.ink .changed .link-btn { font-size: 11px; }
#swapPop { width: 320px; max-height: calc(100vh - 90px); overflow: auto; }
#swapPop .orig span { line-height: 1.2; }
#swapPop .hint { font-size: 11.5px; color: var(--ink-3); margin: 4px 0 2px; }
.picks { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 4px; }
.pick { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 2px 8px 2px 3px; font-size: 11.5px; }
.pick i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.pick:hover, .pick.sel { border-color: var(--espresso); }
.free { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.free input[type=color] { width: 40px; height: 28px; border: 1px solid var(--line-2); border-radius: 6px; padding: 1px; background: #fff; }
.free small { color: var(--ink-3); }
