.rd-has-bar { padding-bottom: 8rem; }
@media (min-width: 640px) { .rd-has-bar { padding-bottom: 4.5rem; } }

.rd-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  background: #131b2e;
  color: #ffffff;
  font-size: 14px;
}
.rd-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rd-bar-text { margin: 0; font-size: 13px; }
.rd-bar-actions { display: flex; gap: 0.5rem; }
@media (min-width: 640px) {
  .rd-bar-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

.rd-btn {
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  flex: 1;
}
@media (min-width: 640px) { .rd-bar .rd-btn { flex: none; } }
.rd-btn:focus-visible { outline: 2px solid #6bd8cb; outline-offset: 2px; }
.rd-btn-primary { background: #006a61; color: #ffffff; }
.rd-btn-primary:hover { background: #005049; }
.rd-btn-outline { border-color: #7c839b; color: #ffffff; }
.rd-btn-outline:hover { background: #213145; }
.rd-btn-soft { background: #e5eeff; color: #0b1c30; }
.rd-btn-soft:hover { background: #d3e4fe; }
.rd-btn-ghost { background: transparent; color: #45464d; }
.rd-btn-ghost:hover { color: #0b1c30; }

.rd-dialog {
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: 0.75rem;
  background: #ffffff;
  color: #0b1c30;
}
.rd-dialog::backdrop { background: rgb(19 27 46 / 0.6); }
.rd-form { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.rd-title { margin: 0; font-size: 22px; line-height: 28px; font-weight: 700; }
.rd-note { margin: -0.5rem 0 0; font-size: 14px; color: #45464d; }
.rd-label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 14px; font-weight: 600; }
.rd-input {
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  padding: 0.5rem 0.75rem;
  border: 1px solid #c6c6cd;
  border-radius: 0.5rem;
  color: #0b1c30;
  background: #ffffff;
}
.rd-input:focus-visible { outline: 2px solid #006a61; outline-offset: 1px; }
.rd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.rd-status { margin: 0; min-height: 16px; font-size: 13px; color: #006a61; }
