  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

  .converter { max-width: 700px; margin: 0 auto 40px; font-family: 'Poppins', sans-serif; }

  .bw {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 14px;
    align-items: center;
    justify-items: center;
    width: fit-content;
    margin: 0 auto;
  }

  .corner { width: 28px; height: 1px; }
  .bit-labels {
    display: grid;
    grid-template-columns: repeat(6, 42px);
    gap: 12px;
    justify-content: center;
    font: 600 12px/1.2 'Poppins', sans-serif;
    color: #666;
  }
  .bit-labels > div { text-align: center; }

  .row-tag {
    width: 28px;
    text-align: right;
    font: 700 13px/1 'Poppins', sans-serif;
    color: #475569;
    padding-right: 2px;
  }

  .led-row {
    display: grid;
    grid-template-columns: repeat(6, 42px);
    gap: 12px;
    justify-content: center;
  }

  .led {
    width: 36px; height: 36px; border-radius: 10px;
    background: #e9edf2; box-shadow: inset 0 0 0 2px #d1d9e6;
    transition: box-shadow 120ms linear, transform 80ms ease, background 120ms linear, opacity 120ms linear;
  }
  .led.on {
    background: #22c55e1a;
    box-shadow:
      0 0 10px rgba(34,197,94,.7),
      0 0 18px rgba(34,197,94,.5),
      inset 0 0 0 2px #22c55e;
    transform: translateY(-1px);
  }
  .led.na {
    opacity: 0.25;
    box-shadow: inset 0 0 0 2px #dfe6f0;
    background: #f3f6fa;
  }

  .time-readout {
    margin-top: 14px;
    font: 700 20px/1.2 'Poppins', sans-serif;
    text-align: center;
    color: #111827;
    letter-spacing: 0.5px;
  }

  @media (max-width: 480px) {
    .bit-labels, .led-row { grid-template-columns: repeat(6, 36px); gap: 10px; }
    .led { width: 32px; height: 32px; border-radius: 8px; }
  }