/* H3.4 commerce pages: the account and the administration panel. Built on a1-lean.css tokens. */
.kbm-commerce .lean-card { margin-bottom: 18px; }
.cm-banner { background: #fef3c7; border: 1px solid #f59e0b; color: #78350f; padding: 10px 14px;
  border-radius: 6px; margin: 10px 0 16px; font-weight: 600; }
.cm-banner[data-mode="live_approved"] { background: #dcfce7; border-color: #16a34a; color: #14532d; }
.cm-service { border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px 14px; margin: 10px 0; }
.cm-service[data-operational="false"] { opacity: .75; background: #f8fafc; }
.cm-offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 8px; }
.cm-offer { border: 1px solid #cbd5e1; border-radius: 8px; padding: 12px; background: #fff; }
.cm-offer h4 { margin: 0 0 6px; }
.cm-amounts { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 13px; }
.cm-amounts td { padding: 2px 0; }
.cm-amounts td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.cm-amounts tr.cm-total td { border-top: 1px solid #cbd5e1; font-weight: 700; padding-top: 4px; }
.cm-tag { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 10px; background: #e2e8f0;
  color: #334155; margin-right: 4px; }
.cm-tag[data-kind="test"] { background: #fee2e2; color: #991b1b; }
.cm-tag[data-kind="ok"] { background: #dcfce7; color: #166534; }
.cm-tag[data-kind="warn"] { background: #fef3c7; color: #92400e; }
.cm-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 6px 0 10px; }
.cm-table th, .cm-table td { border-bottom: 1px solid #e2e8f0; padding: 5px 6px; text-align: left; vertical-align: top; }
.cm-table th { background: #f1f5f9; font-weight: 600; }
.cm-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 14px; margin: 8px 0; }
.cm-form label { display: flex; flex-direction: column; font-size: 12px; color: #334155; gap: 3px; }
.cm-form input, .cm-form select, .cm-form textarea { font: inherit; font-size: 13px; padding: 5px 7px;
  border: 1px solid #cbd5e1; border-radius: 4px; }
.cm-form textarea { min-height: 140px; grid-column: 1 / -1; }
.cm-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.cm-actions button, .cm-inline button { font-size: 12px; padding: 4px 9px; }
.cm-inline { display: inline-flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.cm-inline input, .cm-inline select { font-size: 12px; padding: 3px 5px; width: 9em; }
.cm-accept { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0; padding: 10px;
  border: 1px solid #94a3b8; border-radius: 6px; background: #f8fafc; }
.cm-accept input { margin-top: 3px; }
.cm-docview pre { white-space: pre-wrap; font-family: inherit; font-size: 13px; line-height: 1.5;
  max-height: 520px; overflow: auto; background: #fff; border: 1px solid #e2e8f0; padding: 12px; }
.cm-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 0 14px; }
.cm-tabs button[aria-selected="true"] { background: #0f172a; color: #fff; }
.cm-check[data-ok="true"]::before { content: "✓ "; color: #16a34a; font-weight: 700; }
.cm-check[data-ok="false"]::before { content: "• "; color: #b45309; font-weight: 700; }
.cm-preview-img { max-width: 100%; border: 1px solid #cbd5e1; border-radius: 6px; margin: 8px 0; }
.cm-muted { color: #64748b; }
