/* ACME Printworks components (from the design system bundle). Load after acme-tokens.css. Class prefix: acme- */
.acme-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 22px;
  font-family: var(--font-body); font-size: 16px; font-weight: 800; line-height: 1; text-decoration: none; cursor: pointer;
  color: var(--action-text); background: var(--action); border: var(--border-bold) solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop); transition: transform .08s ease, box-shadow .08s ease, background .12s ease; }
.acme-btn:hover { background: var(--action-hover); }
.acme-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.acme-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.acme-btn[disabled], .acme-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.acme-btn--secondary { background: var(--surface); color: var(--text); }
.acme-btn--secondary:hover { background: var(--bg-alt); }
.acme-btn--ghost { background: transparent; color: var(--text); border-color: transparent; box-shadow: none; text-decoration: underline; text-underline-offset: 4px; }
.acme-btn--ghost:hover { background: transparent; color: var(--accent); }
.acme-btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.acme-btn--lg { min-height: 56px; padding: 0 28px; font-size: 18px; }

.acme-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 3px solid var(--line); border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 13px; line-height: 16px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.acme-badge--submitted { background: var(--status-submitted-bg); color: var(--status-submitted-fg); }
.acme-badge--quoted { background: var(--status-quoted-bg); color: var(--status-quoted-fg); }
.acme-badge--approved { background: var(--status-approved-bg); color: var(--status-approved-fg); }
.acme-badge--printing { background: var(--status-printing-bg); color: var(--status-printing-fg); }
.acme-badge--ready { background: var(--status-ready-bg); color: var(--status-ready-fg); }
.acme-badge--completed { background: var(--status-completed-bg); color: var(--status-completed-fg); }
.acme-badge--issue { background: var(--status-issue-bg); color: var(--status-issue-fg); }

.acme-card { background: var(--surface); color: var(--text); border: var(--border-bold) solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); }
.acme-card--pop { box-shadow: var(--shadow-pop); }
.acme-card__title { font-family: var(--font-display); font-size: 28px; line-height: 32px; font-weight: 400; margin: 0 0 var(--space-2); }
.acme-card__meta { font-family: var(--font-body); font-size: 14px; line-height: 20px; color: var(--text-muted); margin: 0; }

.acme-field { display: flex; flex-direction: column; gap: var(--space-2); font-family: var(--font-body); color: var(--text); }
.acme-label { font-size: 13px; line-height: 16px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.acme-input { min-height: 48px; padding: 0 14px; font: 400 16px/24px var(--font-body); color: var(--text); background: var(--surface);
  border: var(--border-thin) solid var(--line); border-radius: var(--radius-sm); box-sizing: border-box; width: 100%; }
textarea.acme-input { padding: 12px 14px; min-height: 112px; resize: vertical; }
.acme-input::placeholder { color: var(--text-muted); }
.acme-input:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.acme-input[aria-invalid="true"] { border-color: var(--danger-text); border-width: 3px; }
.acme-help { font-size: 14px; line-height: 20px; color: var(--text-muted); margin: 0; }
.acme-error { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--danger-text); margin: 0; }

.acme-progress { display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); gap: 6px; font-family: var(--font-body); }
.acme-progress__bar { height: 14px; border: 3px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); }
.acme-progress__step.is-done .acme-progress__bar { background: var(--success); }
.acme-progress__step.is-current .acme-progress__bar { background: var(--action); }
.acme-progress__label { display: block; margin-top: 6px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--text-muted); }
.acme-progress__step.is-current .acme-progress__label { color: var(--text); font-weight: 800; }
