/* Number Base Converter — one card of base rows (the label with its digit
   hint, the value field, Copy; the custom row carries its base pill) with
   the parse error as its caption, over a properties card of stat tiles
   (layout from styles/components/form.css). Only the title icon, the label
   column and the value field are the page's own. */

/* Glass tool icon (no .webp asset — gradient square + inline glyph). */
.bc-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(160deg, #14B8A6 0%, #0F766E 100%);
}

/* The labels form one column, so the fields line up down the card. */
.bc-label { flex: 0 0 160px; }
.bc-name {
  font-weight: 600;
  letter-spacing: -0.01em;
}
.bc-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0;
}
.bc-base-picker { --gap: var(--space-2); }
.bc-base-picker > .dropdown { flex: none; }

/* input.<class>: the shared form rule input[type="…"] in common.css is
   (0,1,1) and would beat a bare class. */
input.bc-input {
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.02em;
}
.bc-row__copy { flex: none; }

@media (max-width: 560px) {
  /* The label takes its own line; the field and Copy share the next. */
  .bc-row { flex-wrap: wrap; }
  .bc-label { flex-basis: 100%; }
}
