.ov, .modal { font-family: var(--font); }
.modal {
  border-radius: 26px;
  border: none;
  box-shadow:
    0 2px 8px rgb(17 17 20 / .06),
    0 24px 64px -20px rgb(17 17 20 / .24);
  animation: modalIn .2s cubic-bezier(.32, 1.28, .5, 1) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.98); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .modal { animation: modalFade .18s ease both; }
  @keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
}
.modal-h { padding: 22px 24px 16px; }
.modal-b { padding: 20px 24px; }
.modal-f { padding: 16px 24px 22px; border-top: none; }
.modal-x {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--line-2);
  color: var(--t2);
  flex-shrink: 0;
  cursor: default;
  transition: background-color .12s var(--ease), color .12s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .modal-x:hover { background: var(--line-strong); color: var(--text); }
}
.modal-x:active { transform: scale(0.94); }
.modal-morph { overflow: hidden; flex-shrink: 0; }
.modal-morph .modal-b {
  flex: none;
  max-height: min(62vh, 520px);
  overflow-y: auto;
}
@media (prefers-reduced-motion: reduce) {
  .modal-x:active { transform: none; }
}
.rv-sd-ic {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ic, var(--rv-acc));
  background: color-mix(in srgb, var(--ic, var(--rv-acc)) 13%, transparent);
}
.rv-sd-card { justify-content: flex-start; gap: 11px; padding: 9px 11px; }
.rv-sd-card .t { flex: 1; min-width: 0; }
.rv-sd-cards { gap: 7px; }
.rv-sd-sec { padding: 13px 0; }
.rv-shm-enterprise .modal {
  border-radius: 8px;
  box-shadow:
    0 2px 8px rgb(17 17 20 / .08),
    0 16px 40px -12px rgb(17 17 20 / .18);
}
.rv-shm-enterprise .modal-h {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--line);
}
.rv-shm-enterprise .modal-h h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.rv-shm-enterprise .modal-sub {
  font-size: 12px;
  font-family: var(--mono);
  margin-top: 2px;
}
.rv-shm-enterprise .modal-b {
  padding: 0 0 4px;
}
.rv-shm-enterprise .modal-f {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
}
.rv-shm-enterprise .modal-x {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: transparent;
}
@media (hover: hover) and (pointer: fine) {
  .rv-shm-enterprise .modal-x:hover {
    background: var(--line-2);
    color: var(--text);
  }
}
.rv-shm-enterprise .rv-sd-sec {
  padding: 0;
  border-top: none;
}
.rv-shm-enterprise .rv-sd-st {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 0;
  padding: 8px 16px 6px;
}
.rv-shm-enterprise .rv-sd-rows {
  display: flex;
  flex-direction: column;
}
.rv-shm-enterprise .rv-sd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  min-height: 44px;
}
.rv-shm-enterprise .rv-sd-row + .rv-sd-row {
  border-top: 1px solid var(--line-2);
}
.rv-shm-enterprise .rv-sd-row .t {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.rv-shm-enterprise .rv-sd-row .l {
  font-size: 13px;
  font-weight: 540;
  color: var(--text);
}
.rv-shm-enterprise .rv-sd-row .s {
  font-size: 11px;
  color: var(--t3);
}
.rv-shm-enterprise .rv-sd-sec--expiry {
  border-top: 1px solid var(--line-2);
  margin-top: 4px;
  padding-bottom: 8px;
}
.rv-shm-enterprise .rv-sd-expiry {
  padding: 4px 16px 0;
}
.rv-shm-enterprise .rv-sd-link {
  margin: 0 16px 8px;
}
.rv-shm-enterprise .rv-sd-link-note {
  font-size: 11.5px;
  color: var(--t3);
  line-height: 1.5;
  margin: 0 16px 8px;
}
.rv-shm-enterprise .rv-sd-primary {
  height: 38px;
  border-radius: 8px;
  font-size: 13px;
  box-shadow: none;
}
.rv-shm-enterprise .rv-sd-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
