/*! Copyright (c) 2026 StickerMint LLC. All rights reserved. Proprietary software. See LICENSE.txt. */
.stage-awaiting_print{--stage-ink:#315b8c;--stage-wash:#eff7ff;--stage-line:#cce3ff}
.stage-printing{--stage-ink:#67479a;--stage-wash:#f5efff;--stage-line:#e0d2f5}
.stage-awaiting_cut{--stage-ink:#825134;--stage-wash:#fff4ec;--stage-line:#f5d4bc}
.stage-awaiting_pack{--stage-ink:#286a57;--stage-wash:#effaf4;--stage-line:#c9e8d7}
.stage-awaiting_shipping{--stage-ink:#914c72;--stage-wash:#fff0f6;--stage-line:#f6d0e1}
.stage-shipped{--stage-ink:#27724b;--stage-wash:#eef9f1;--stage-line:#b8dfc3}
.production-dot{width:7px;height:7px;border-radius:50%;background:currentColor;flex:none;display:inline-block}
.production-stamp{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;border:1px solid var(--stage-line);border-radius:8px;padding:6px 10px;color:var(--stage-ink);background:var(--stage-wash);font-family:inherit;font-size:11px;font-weight:650;line-height:1.3;white-space:nowrap;cursor:pointer;vertical-align:middle}
.production-stamp:hover:not(:disabled){box-shadow:0 0 0 2px var(--stage-wash);border-color:var(--stage-ink)}
.production-stamp:disabled{cursor:default;opacity:.7}.production-stamp:disabled .production-chevron{display:none}.production-chevron{display:block;width:12px;height:12px;flex:none;align-self:center}
.order-stage-cell{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.dashboard-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.workspace-content.dashboard-frame{padding-top:18px}.dashboard-frame .panel-header{padding:14px 18px}.dashboard-frame .panel{margin-bottom:16px}
.production-dashboard{margin-bottom:12px}
.production-queue-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.production-queue-card{--tile-ink:var(--stage-ink,#71622e);--tile-band:#fff0b8;--tile-wash:#fffdf3;display:flex;flex-direction:column;min-width:0;margin:0;padding:0;background:#fff;border:1px solid var(--stage-line,#eee6c5);border-radius:8px;overflow:hidden;text-align:left;color:var(--ink);font:inherit;box-shadow:0 2px 4px #17365d04}
.production-queue-card.stage-awaiting_print{--tile-band:#cfe5ff;--tile-wash:#f4f9ff}.production-queue-card.stage-printing{--tile-band:#e6d7ff;--tile-wash:#faf6ff}.production-queue-card.stage-awaiting_cut{--tile-band:#ffdec7;--tile-wash:#fff8f3}.production-queue-card.stage-awaiting_pack{--tile-band:#cbefdf;--tile-wash:#f2fbf6}.production-queue-card.stage-awaiting_shipping{--tile-band:#ffd8e8;--tile-wash:#fff5f9}
button.production-queue-card{cursor:pointer}.production-tile-body{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 14px 11px;min-height:61px;background:var(--tile-wash);color:var(--tile-ink)}
.production-queue-card strong{display:block;min-width:0;font-size:28px;line-height:1.2;letter-spacing:-.8px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.production-tile-icon{width:25px;height:25px;flex:none;opacity:.6}.production-tile-footer{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:7px 12px;background:var(--tile-band);color:var(--tile-ink);font-size:11px;font-weight:600;line-height:1.4;min-height:30px}.production-age strong span{font-size:12px;letter-spacing:0;font-weight:500}
button.production-queue-card:hover{border-color:var(--tile-ink);box-shadow:0 3px 9px #17365d0c}button.production-queue-card:hover .production-tile-body{background:var(--tile-wash)}
.production-queue-meta{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:3px 14px;padding:7px 1px 0;font-size:10px;line-height:1.6;color:var(--muted)}.production-queue-meta>span{min-width:0;overflow-wrap:anywhere}.production-queue-meta>span strong{font-weight:600}.production-queue-help{margin-left:auto;max-width:100%}.production-queue-help summary{cursor:pointer;white-space:nowrap}.production-queue-help p{margin:6px 0 0;max-width:600px;line-height:1.7}.production-queue-help[open]{flex:1 0 100%}.production-queue-help[open] summary{text-align:right}
.metric-grid.merchant-overview-metrics{display:flex;flex-wrap:wrap;gap:8px 24px;padding:0 1px 13px;margin-bottom:16px;border-bottom:1px solid var(--line)}.merchant-overview-metrics .metric-card{display:flex;align-items:baseline;gap:8px;padding:0;margin:0;background:transparent;border:0;border-radius:0}.merchant-overview-metrics .metric-card small{font-size:11px}.merchant-overview-metrics .metric-card strong{font-size:16px;line-height:1.4;letter-spacing:0;margin:0;font-variant-numeric:tabular-nums}.merchant-overview-metrics .metric-card p{display:none}
.production-filter{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:-5px 0 20px}.production-filter label{font-size:12px;font-weight:600}.production-filter select{border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit;padding:9px 12px;min-height:44px;max-width:100%}.production-filter small{font-size:11px;color:var(--muted)}
.production-stage-choices{display:grid;gap:8px}.production-stage-choice{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px 14px;text-align:left;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--stage-ink);font:inherit;cursor:pointer}.production-stage-choice>span:nth-child(2){flex:1;min-width:0}.production-stage-choice strong{display:block;font-size:13px;line-height:1.5}.production-stage-choice small{display:block;color:var(--muted);font-size:11px;line-height:1.6}.production-stage-choice:hover,.production-stage-choice[aria-pressed=true]{background:var(--stage-wash);border-color:var(--stage-line)}.production-stage-choice:disabled{cursor:default}.production-choice-current{font-size:11px;font-weight:650}.production-status-note{margin:16px 0 0;line-height:1.7}
.production-stamp:focus-visible,.production-queue-card:focus-visible,.production-stage-choice:focus-visible{outline:2px solid #2876d9;outline-offset:3px}
.production-stage-choice[aria-pressed=true]:disabled{opacity:1}
.production-tile-footer{margin-top:auto}
@media(max-width:1100px){.production-queue-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.production-queue-grid{gap:8px}.production-tile-body{padding:10px;min-height:55px}.production-queue-card strong{font-size:25px}.production-tile-icon{width:21px;height:21px}.production-tile-footer{padding:6px 8px;min-height:30px;font-size:10px}.production-queue-meta{font-size:10px}.metric-grid.merchant-overview-metrics{gap:5px 15px}.merchant-overview-metrics .metric-card{gap:5px}.merchant-overview-metrics .metric-card small{font-size:10px}.merchant-overview-metrics .metric-card strong{font-size:14px}.production-filter{align-items:stretch}.production-filter small{flex:1 0 100%}.production-stamp{min-height:44px}.production-stage-choice{padding:10px;gap:10px}}
@media(max-width:360px){.production-tile-icon{display:none}.production-tile-footer{font-size:10px;letter-spacing:-.2px;padding-inline:7px}.production-tile-footer>span:last-child[aria-hidden]{display:none}}
@media(max-width:600px){.dashboard-frame #order-list th:nth-child(2),.dashboard-frame #order-list td:nth-child(2),.dashboard-frame #order-list th:nth-child(3),.dashboard-frame #order-list td:nth-child(3){display:none}.dashboard-frame #order-list th,.dashboard-frame #order-list td{padding:10px 12px}.dashboard-frame #order-list th:last-child,.dashboard-frame #order-list td:last-child{padding-left:4px;padding-right:10px}}

/* Match file readiness to its neighboring production stamp without widening
   either label or changing unrelated account/status tags. */
.order-stage-cell>.tag.ready,.order-stage-cell>.production-stamp,
.production-order-card .order-card-status>.tag.ready,.production-order-card .order-card-status>.production-stamp,
#modal .inline-actions>.tag.ready,#modal .inline-actions>.production-stamp,
.repair-badges>.tag.ready,.repair-badges>.production-stamp{
 box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 10px;border-radius:8px;font-family:inherit;font-size:11px;font-weight:650;line-height:1.3;vertical-align:middle
}
.order-stage-cell>.tag.ready,.production-order-card .order-card-status>.tag.ready,#modal .inline-actions>.tag.ready,.repair-badges>.tag.ready{border:1px solid transparent}
@media(max-width:600px){
 .order-stage-cell>.tag.ready,.order-stage-cell>.production-stamp,
 .production-order-card .order-card-status>.tag.ready,.production-order-card .order-card-status>.production-stamp,
 #modal .inline-actions>.tag.ready,#modal .inline-actions>.production-stamp,
 .repair-badges>.tag.ready,.repair-badges>.production-stamp{min-height:44px}
}
