#tool [hidden] { display: none !important; }
.rn-opts { border-top: 0; border-bottom: 1px solid var(--border); }
.rn-range { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.rn-num { display: inline-flex; align-items: center; gap: 4px; }
.options .rn-num input[type="text"] { width: 190px; font-family: var(--mono); }
.rn-pm { display: none; width: 44px; height: 44px; padding: 0; justify-content: center; font-size: 18px; }
.options input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-tint); }
.rn-more { width: 100%; }
.rn-more > summary { display: none; }
.rn-out { padding: 16px; }
.rn-one { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 12px; background: var(--canvas); border: 1px solid var(--border); border-radius: var(--r-ctl); }
.rn-value { font: 700 44px/1.2 var(--mono); text-align: center; overflow-wrap: anywhere; word-break: break-all; max-width: 100%; color: var(--ink); }
.rn-one-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.rn-io { min-height: 220px; height: 260px; }
.rn-desc { margin: 10px 0 0; }
#tool > .notice { margin-top: 0; }
@media (max-width: 768px) {
  .rn-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .rn-range .field { flex-direction: column; align-items: stretch; gap: 4px; min-width: 0; }
  .rn-num { min-width: 0; }
  .options .rn-num input[type="text"] { width: 100%; flex: 1; height: 44px; font-size: 16px; }
  .rn-pm { display: inline-flex; }
  .options input[type="number"] { height: 44px; font-size: 16px; }
  .rn-type { width: 100%; }
  .rn-type .segmented { display: flex; flex: 1; }
  .rn-type .segmented label { flex: 1; justify-content: center; min-height: 44px; }
  .rn-gen { width: 100%; justify-content: center; min-height: 48px; }
  .rn-more > summary { display: block; font-weight: 600; cursor: pointer; padding: 6px 0; }
  .rn-out { padding: 12px; }
  .rn-value { font-size: 40px; }
  .rn-one-actions .btn { flex: 1; min-width: 130px; justify-content: center; min-height: 44px; }
}
