.experiment-orientation-dialog {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(360px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 28px 24px 24px;
  overflow: auto;
  border: 1px solid #d5e6e3;
  border-radius: 18px;
  background: #fff;
  color: #203d51;
  box-shadow: 0 16px 60px #153c3526;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.experiment-orientation-dialog::backdrop {
  background: #173b4a40;
  backdrop-filter: blur(3px);
}

.experiment-orientation-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: #079f9f;
}

.experiment-orientation-dialog h2 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.5;
}

.experiment-orientation-dialog p {
  margin: 0;
  color: #617887;
  font-size: 15px;
  line-height: 1.85;
}

.experiment-orientation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.experiment-orientation-actions button {
  box-sizing: border-box;
  flex: 1 1 100px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cde2dd;
  border-radius: 10px;
  background: #fff;
  color: #396e68;
  font: 600 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  cursor: pointer;
}

.experiment-orientation-actions [data-orientation-action="landscape"] {
  border-color: #079f9f;
  background: #079f9f;
  color: #fff;
}

.experiment-orientation-actions button:focus-visible {
  outline: 2px solid #079f9f;
  outline-offset: 3px;
}

.experiment-orientation-actions button:disabled {
  opacity: .65;
  cursor: wait;
}

.experiment-orientation-actions button[hidden] {
  display: none;
}
