.riv-contact { display: grid; gap: 13px; color: #f3f4f8; font: 15px/1.4 system-ui, sans-serif; text-align: left; }
.riv-contact label { display: grid; gap: 5px; }
.riv-contact input:not([type=checkbox]), .riv-contact textarea, .riv-contact select {
  box-sizing: border-box; width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid #48516a;
  color: #f3f4f8; background: #151826; font: inherit;
}
.riv-contact textarea { resize: vertical; }
.riv-contact .riv-consent { display: flex; align-items: start; gap: 8px; font-size: 13px; }
.riv-contact .riv-consent input { margin-top: 3px; }
.riv-contact a { color: #a9bfff !important; text-decoration: underline; }
.riv-contact button { justify-self: start; border: 0; border-radius: 8px; background: #bd2436; color: #fff; padding: 12px 18px; font: inherit; cursor: pointer; }
.riv-contact button:disabled { opacity: .65; }
.riv-contact .riv-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.riv-status:empty { display: none; }
.riv-status[data-error] { color: #feb7bf; }
.riv-dialog {
  box-sizing: border-box; position: fixed; inset: 0; width: min(460px, calc(100% - 24px));
  max-height: calc(100% - 24px); margin: auto; padding: 22px; border: 1px solid #48516a;
  border-radius: 14px; color: #f3f4f8; background: #10131d; box-shadow: 0 16px 70px #0009;
}
.riv-dialog::backdrop { background: #05070bc9; }
.riv-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.riv-dialog-head h2 { margin: 0; font: 650 24px/1.2 system-ui, sans-serif; }
.riv-dialog-close { flex: 0 0 37px; border: 1px solid #48516a; border-radius: 8px; background: #151826;
  color: #f3f4f8; font: 23px/1.4 system-ui, sans-serif; cursor: pointer; }
.riv-legal { color: #b7c8f2; font-size: 13px; overflow-wrap: anywhere; }
.riv-legal summary { cursor: pointer; text-decoration: underline; }
.riv-legal .t-text { color: #f3f4f8; font: inherit; margin-top: 8px; }
.riv-legal + .riv-legal { margin-top: -6px; }
