/* Burn & Print MVP styles */
.bap-wrap { max-width: 1100px; margin: 18px auto; padding: 0 12px; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; }
.bap-header { display:flex; align-items:center; justify-content:space-between; margin-bottom: 14px; }
.bap-brand { display:flex; gap:12px; align-items:center; }
.bap-logo { width:40px; height:40px; border-radius: 12px; background:#111; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; }
.bap-title { font-size: 18px; font-weight: 700; }
.bap-subtitle { font-size: 13px; color:#6b7280; margin-top: 2px; }

.bap-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 960px){ .bap-grid { grid-template-columns: 1fr; } }

.bap-card { background:#fff; border:1px solid #e5e7eb; border-radius: 16px; padding: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.bap-card h3 { margin: 0 0 8px 0; font-size: 16px; }
.bap-muted { color:#6b7280; font-size: 13px; line-height: 1.35; }

.bap-divider { height:1px; background:#e5e7eb; margin: 12px 0; }

.bap-row { display:flex; gap: 10px; align-items:center; }
.bap-row-space { justify-content: space-between; }
.bap-row-wrap { flex-wrap: wrap; }

.bap-btn { border:1px solid #111827; background:#111827; color:#fff; border-radius: 12px; padding: 9px 12px; font-weight: 600; cursor:pointer; font-size: 13px; }
.bap-btn:hover { filter: brightness(1.06); }
.bap-btn:disabled { opacity: .5; cursor: not-allowed; }
.bap-btn-secondary { background:#fff; color:#111827; }
.bap-btn-primary { background:#2563eb; border-color:#2563eb; color:#fff; }

.bap-status { margin-top: 10px; font-size: 13px; min-height: 18px; }
.bap-status-info { color:#374151; }
.bap-status-ok { color:#065f46; }
.bap-status-warn { color:#92400e; }
.bap-status-err { color:#b91c1c; }

.bap-choices { display:grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
@media (max-width: 960px){ .bap-choices { grid-template-columns: 1fr; } }

.bap-choice { border:1px solid #e5e7eb; background:#fafafa; border-radius: 14px; padding: 10px; text-align:left; cursor:pointer; }
.bap-choice:hover { background:#f3f4f6; }
.bap-choice-active { border-color:#2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); background:#fff; }
.bap-choice-title { font-weight: 700; margin-bottom: 4px; }
.bap-choice-sub { color:#6b7280; font-size: 12px; }

.bap-file { width:100%; padding: 10px; border:1px dashed #cbd5e1; border-radius: 12px; background:#fbfdff; }

.bap-form { display:grid; grid-template-columns: 1fr; gap: 8px; }
.bap-form label { font-size: 13px; font-weight: 600; }
.bap-form select { padding: 9px; border-radius: 12px; border:1px solid #e5e7eb; background:#fff; }

.bap-preview { border:1px solid #e5e7eb; border-radius: 14px; min-height: 160px; display:flex; align-items:center; justify-content:center; padding: 10px; background:#fafafa; }
.bap-preview-img { max-width: 100%; border-radius: 12px; }

.bap-outputs { display:flex; flex-direction: column; gap: 8px; }
.bap-output { display:flex; justify-content:space-between; gap: 10px; border:1px solid #e5e7eb; border-radius: 12px; padding: 10px; background:#fff; }
.bap-output-name { font-weight: 700; }

.bap-vault { display:flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.bap-vault-item { display:grid; grid-template-columns: 120px 1fr; gap: 12px; border:1px solid #e5e7eb; border-radius: 16px; padding: 10px; }
@media (max-width: 720px){ .bap-vault-item { grid-template-columns: 1fr; } }
.bap-thumb { width: 120px; height: 120px; object-fit: cover; border-radius: 14px; border:1px solid #e5e7eb; background:#fff; }
.bap-thumb-empty { display:flex; align-items:center; justify-content:center; color:#6b7280; font-size: 12px; }
.bap-vault-title { font-weight: 800; margin-bottom: 3px; }

.bap-market { display:flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.bap-market-item { display:grid; grid-template-columns: 120px 1fr; gap: 12px; border:1px solid #e5e7eb; border-radius: 16px; padding: 10px; }

.bap-mini { margin-top: 6px; font-size: 12px; color:#374151; }
.bap-ok { color:#065f46; font-weight: 700; }
.bap-warn { color:#92400e; font-weight: 700; }
