body.seadocker-human-ui-guardrails {
  margin: 0 !important;
  background: #f7f8fb !important;
  color: #202733 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans SC", sans-serif !important;
}

body.seadocker-human-ui-guardrails .seadocker-friendly-page {
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
  background: linear-gradient(180deg, #fff 0%, #f7f8fb 100%);
}

body.seadocker-human-ui-guardrails .seadocker-friendly-panel {
  width: min(520px, 100%);
  box-sizing: border-box;
  border: 1px solid #e5e8ef;
  border-radius: 8px;
  background: #fff;
  padding: 28px 30px;
  box-shadow: 0 18px 45px rgba(32, 39, 51, .08);
}

body.seadocker-human-ui-guardrails .seadocker-friendly-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

body.seadocker-human-ui-guardrails .seadocker-friendly-brand {
  display: flex;
  align-items: center;
  min-height: 34px;
}

body.seadocker-human-ui-guardrails .seadocker-friendly-logo {
  display: block;
  width: 158px;
  max-width: 70%;
  height: auto;
}

body.seadocker-human-ui-guardrails .seadocker-friendly-logo-fallback {
  display: none;
  font-weight: 700;
  color: #f33a0f;
  font-size: 18px;
}

body.seadocker-human-ui-guardrails .seadocker-language {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

body.seadocker-human-ui-guardrails .seadocker-language-select {
  box-sizing: border-box;
  min-width: 96px;
  min-height: 32px;
  border: 1px solid #d9dde7;
  border-radius: 6px;
  background: #fff;
  color: #202733;
  font-size: 13px;
  line-height: 32px;
  padding: 0 8px;
  outline: none;
}

body.seadocker-human-ui-guardrails .seadocker-language-select:focus {
  border-color: #f33a0f;
  box-shadow: 0 0 0 2px rgba(243, 58, 15, .12);
}

body.seadocker-human-ui-guardrails h1 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  color: #202733;
  letter-spacing: 0;
}

body.seadocker-human-ui-guardrails p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #566070;
}

body.seadocker-human-ui-guardrails a.seadocker-friendly-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  background: #f33a0f;
  color: #fff !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

body.seadocker-human-ui-guardrails .ant-message {
  display: none !important;
}

.callback-status {
  visibility: hidden !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.seadocker-callback-stage,
.seadocker-auth-transition,
.sd-show-success {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  background: #fff;
}

.seadocker-auth-transition[hidden] {
  display: none !important;
}

.seadocker-callback-scene,
.scene {
  position: relative;
  width: 112px;
  height: 96px;
}

.seadocker-callback-boat,
.boat {
  position: absolute;
  left: 34px;
  top: 22px;
  width: 44px;
  height: 42px;
  animation: seadocker-callback-bob 1.8s ease-in-out infinite;
  transform-origin: 50% 86%;
}

.seadocker-callback-sail,
.sail {
  position: absolute;
  left: 19px;
  top: 0;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-bottom: 28px solid #ff4b26;
  filter: drop-shadow(0 5px 8px rgba(255, 75, 38, .16));
}

.seadocker-callback-mast,
.mast {
  position: absolute;
  left: 18px;
  top: 2px;
  width: 3px;
  height: 34px;
  border-radius: 999px;
  background: #0b012d;
}

.seadocker-callback-hull,
.hull {
  position: absolute;
  left: 3px;
  bottom: 1px;
  width: 38px;
  height: 16px;
  border-radius: 4px 4px 18px 18px;
  background: #ff4b26;
  box-shadow: 0 8px 18px rgba(255, 75, 38, .14);
}

.seadocker-callback-wave,
.wave {
  position: absolute;
  left: 8px;
  bottom: 18px;
  width: 96px;
  height: 20px;
  border-bottom: 4px solid #8ed8ff;
  border-radius: 50%;
  animation: seadocker-callback-wave 1.6s ease-in-out infinite;
}

.seadocker-callback-wave-b,
.wave-b {
  left: 23px;
  bottom: 10px;
  width: 66px;
  border-bottom-color: #ffd0c3;
  animation-delay: .26s;
}

@keyframes seadocker-callback-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes seadocker-callback-wave {
  0%, 100% { transform: translateY(0) scaleX(.94); opacity: .58; }
  50% { transform: translateY(5px) scaleX(1); opacity: 1; }
}

@media (max-width: 540px) {
  body.seadocker-human-ui-guardrails .seadocker-friendly-panel {
    padding: 24px 20px;
  }

  body.seadocker-human-ui-guardrails .seadocker-friendly-head {
    gap: 14px;
  }

  body.seadocker-human-ui-guardrails .seadocker-friendly-logo {
    max-width: 142px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seadocker-callback-boat,
  .seadocker-callback-wave,
  .boat,
  .wave {
    animation: none !important;
  }
}
