.beta-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 18px;
  color: #073747;
  background: linear-gradient(90deg, #c9fff0, #e8fff8);
  border-bottom: 1px solid #77d9bc;
  font-size: 14px;
}

.beta-ribbon strong { color: #006b55; }
.beta-ribbon span { flex: 1; }
.beta-ribbon button,
.beta-dialog button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.beta-ribbon button,
.beta-primary { color: #fff; background: #078b6b; }
.beta-secondary { color: #0b3650; background: #e7eef3; }

.beta-dialog[hidden] { display: none !important; }
.beta-dialog {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 25, 39, .72);
}

.beta-dialog-card {
  width: min(660px, 100%);
  max-height: min(820px, 94vh);
  overflow: auto;
  padding: 24px;
  color: #0b2b43;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
}

.beta-dialog-head,
.beta-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.beta-dialog h2 { margin: 0 0 6px; }
.beta-dialog p { line-height: 1.5; }
.beta-dialog label { display: grid; gap: 7px; margin: 15px 0; font-weight: 800; }
.beta-dialog select,
.beta-dialog textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  color: #0b2b43;
  background: #f7fafc;
  border: 1px solid #b8ccda;
  border-radius: 12px;
  font: inherit;
}
.beta-dialog textarea { min-height: 96px; resize: vertical; }
.beta-close { width: 42px; padding: 0 !important; font-size: 24px !important; color: #0b3650; background: #e7eef3; }
.beta-privacy { padding: 10px 12px; color: #674b00; background: #fff5ce; border-radius: 10px; }
.beta-status { min-height: 24px; color: #006b55; font-weight: 800; }

@media (max-width: 620px) {
  .beta-ribbon { align-items: flex-start; flex-wrap: wrap; padding: 10px 12px; }
  .beta-ribbon span { flex-basis: calc(100% - 110px); }
  .beta-dialog { padding: 8px; }
  .beta-dialog-card { padding: 18px; border-radius: 16px; }
  .beta-actions { align-items: stretch; flex-direction: column; }
}
