.orv-external-link-dialog {
  box-sizing: border-box;
  width: min(91vw, 29rem);
  max-height: 85dvh;
  overflow: auto;
  padding: clamp(1rem, 5vw, 1.5rem);
  border: 1px solid #afc9b9;
  border-radius: 1.1rem;
  background: rgb(246 251 247 / .98);
  box-shadow: 0 14px 42px #132f2540;
  color: #173a2a;
  font: 1rem/1.45 system-ui, sans-serif;
}
.orv-external-link-dialog::backdrop { background: #14342752; }
.orv-external-link-dialog h2 {
  margin: 0 0 .65rem;
  color: inherit;
  font: 700 1.3rem/1.25 system-ui, sans-serif;
}
.orv-external-link-dialog p { margin: 0 0 .65rem; overflow-wrap: anywhere; }
.orv-external-link-dialog p strong {
  display: inline-block;
  padding: .08rem .4rem;
  border-radius: .35rem;
  background: #e4efe7;
  color: #174630;
}
.orv-external-link-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  max-width: 22rem;
  margin: 1rem auto 0;
}
.orv-external-link-actions > :is(button,a),
.orv-web-return > a {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .35rem .7rem;
  border: 1px solid #29734d;
  border-radius: .5rem;
  background: #edf6ef;
  color: #174630;
  font: 650 .93rem/1.2 system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.orv-external-link-dialog .orv-external-link-actions > button {
  height: auto;
  border-color: #8db4a0;
  background: #e1eee5;
  color: #163d2a !important;
  white-space: normal;
}
.orv-external-link-dialog .orv-external-link-actions > a {
  border-color: #255a43;
  background: #255a43;
  color: #fff !important;
}
.orv-external-link-dialog .orv-external-link-actions > button:hover {
  background: #d5e8dc;
}
.orv-external-link-dialog .orv-external-link-actions > a:hover {
  background: #1c4936;
}
.orv-external-link-actions > :focus-visible,
.orv-web-return > a:focus-visible { outline: 2px solid #075c92; outline-offset: 2px; }
.orv-web-return {
  position: sticky;
  top: 0;
  z-index: 99980;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  padding: max(.3rem, env(safe-area-inset-top)) max(.6rem, env(safe-area-inset-right)) .3rem max(.6rem, env(safe-area-inset-left));
  border-bottom: 1px solid #adc8b7;
  background: #edf6ef;
  color: #173a2a;
  font: 600 .9rem/1.2 system-ui, sans-serif;
}
.admin-bar .orv-web-return { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .orv-web-return { top: 46px; }
}
