.aur-review-orb {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(214, 174, 74, 0.72);
  border-radius: 999px;
  padding: 0 18px;
  background: #071b31;
  color: white;
  box-shadow: 0 16px 48px rgba(7, 17, 31, 0.32);
  font-weight: 800;
}

.aur-review-orb::before {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d6ae4a;
  content: "";
}

.aur-review-panel[hidden],
.aur-review-preview[hidden],
.aur-review-fields[hidden] {
  display: none !important;
}

.aur-review-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: end;
  background: rgba(4, 15, 28, 0.52);
}

.aur-review-drawer {
  width: min(560px, 100%);
  height: min(100%, 820px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-left: 1px solid rgba(214, 174, 74, 0.48);
  background: #f8f7f2;
  color: #071421;
  box-shadow: -22px 0 80px rgba(4, 15, 28, 0.3);
}

.aur-review-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #ded7c6;
  padding: 20px;
  background: #071b31;
  color: white;
}

.aur-review-kicker {
  margin: 0 0 5px;
  color: #d6ae4a;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.aur-review-head h2,
.aur-review-card h3 {
  margin: 0;
}

.aur-review-head p {
  margin: 6px 0 0;
  color: #d9e0e6;
  font-size: 0.9rem;
  line-height: 1.5;
}

.aur-review-close {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 1.3rem;
}

.aur-review-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.aur-review-boundary,
.aur-review-notice,
.aur-review-card {
  border: 1px solid #ded7c6;
  border-radius: 10px;
  background: white;
}

.aur-review-boundary,
.aur-review-notice {
  margin: 0;
  padding: 12px 14px;
  color: #4b5a64;
  font-size: 0.86rem;
  line-height: 1.55;
}

.aur-review-notice[data-state="error"] {
  border-color: #cf8b83;
  background: #fff2ef;
  color: #7e2f27;
}

.aur-review-notice[data-state="success"] {
  border-color: #8cc7b5;
  background: #eef8f4;
  color: #165f4c;
}

.aur-review-card {
  padding: 16px;
}

.aur-review-grid {
  display: grid;
  gap: 13px;
}

.aur-review-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aur-review-label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #10283b;
  font-size: 0.88rem;
  font-weight: 800;
}

.aur-review-label input,
.aur-review-label select,
.aur-review-label textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #b9c1c5;
  border-radius: 7px;
  padding: 10px 11px;
  background: white;
  color: #071421;
  font-weight: 500;
}

.aur-review-label textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

.aur-review-methods,
.aur-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aur-review-method,
.aur-review-button {
  min-height: 44px;
  border: 1px solid #9dabaf;
  border-radius: 7px;
  padding: 9px 14px;
  background: white;
  color: #10283b;
  font-weight: 800;
}

.aur-review-method[aria-pressed="true"],
.aur-review-button.primary {
  border-color: #0f6556;
  background: #0f6556;
  color: white;
}

.aur-review-button.gold {
  border-color: #b88a2f;
  background: #c9a04a;
  color: #071b31;
}

.aur-review-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.aur-review-checkbox {
  display: flex;
  min-height: 44px;
  align-items: flex-start;
  gap: 10px;
  color: #344852;
  font-size: 0.88rem;
  line-height: 1.5;
}

.aur-review-checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.aur-review-preview dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 12px;
  margin: 14px 0;
  font-size: 0.88rem;
}

.aur-review-preview dt {
  font-weight: 850;
}

.aur-review-preview dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.aur-review-preview blockquote {
  margin: 0;
  border-left: 3px solid #c9a04a;
  padding: 10px 13px;
  background: #f8f4e8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.aur-review-saved-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.aur-review-saved {
  border-left: 3px solid #c9a04a;
  padding: 11px 12px;
  background: #f8f4e8;
}

.aur-review-saved p {
  margin: 5px 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.aur-review-saved small {
  color: #5b6870;
}

@media (max-width: 600px) {
  .aur-review-orb {
    right: 12px;
    bottom: 12px;
    min-height: 50px;
    padding: 0 15px;
    font-size: 0.9rem;
  }

  .aur-review-panel {
    place-items: stretch;
  }

  .aur-review-drawer {
    width: 100%;
    height: 100%;
    border-left: 0;
  }

  .aur-review-grid.two {
    grid-template-columns: 1fr;
  }

  .aur-review-head,
  .aur-review-body {
    padding-left: 14px;
    padding-right: 14px;
  }
}
