/* v1543: readable progress steps and small-screen layout. */
.product-tab { color:#334155; font-size:16px; font-weight:700; }
.product-tab[aria-selected="true"] { color:#111827; }
.steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:0; padding:18px 22px; background:rgba(255,255,255,.94); border-bottom:1px solid #d7e0e9; }
.step { min-width:0; display:flex; align-items:center; justify-content:flex-start; gap:8px; padding:8px 4px; }
.step:not(:last-child)::after { display:none; }
.step span { width:30px; height:30px; flex:0 0 30px; display:grid; place-items:center; font-size:16px; font-weight:700; background:#e3e8ee; color:#334155; }
.step b, .step.done b { font-size:16px; font-weight:700; line-height:1.4; color:#334155; white-space:nowrap; }
.step.active span { background:#171717; color:#fff; }
.step.active b { color:#111827; }
.step.done span { background:#dbe8df; color:#24543c; }
@media(max-width:760px) {
  .topbar { flex-wrap:wrap; gap:10px; }
  .brand { min-width:0; }
  .brand-title { white-space:normal; overflow-wrap:anywhere; }
  .product-tabs { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .product-tab { min-width:0; gap:4px; font-size:14px; }
  .steps { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 10px; padding:14px 18px; }
  .step b, .step.done b { font-size:15px; }
  .credential-columns, .credential-column, .panel-step, .card, .field, .input-wrap { min-width:0; }
  .credential-column, .panel-step { overflow-wrap:anywhere; }
  .input-wrap input, .field textarea, .x-credential-fields input, .x-credential-fields textarea { max-width:100%; box-sizing:border-box; }
}
@media(max-width:380px) {
  .topbar, .main { width:calc(100% - 24px); }
  .product-tab { font-size:13px; gap:3px; }
  .product-logo { width:21px; height:21px; flex-basis:21px; }
  .steps { padding:12px; gap:4px; }
  .step { gap:6px; padding:7px 2px; }
  .step b, .step.done b { font-size:14px; }
  .step span { width:26px; height:26px; flex-basis:26px; font-size:14px; }
  .exchange-card>.card { padding:22px 16px 26px; }
}
