.analysis-mode-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.analysis-mode-fieldset legend {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.analysis-mode-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

.analysis-mode-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.analysis-mode-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 12px 14px;
  border: 2px solid transparent;
  border-radius: 13px;
  text-align: left;
  color: #fff;
  opacity: 0.68;
  transition: opacity 0.14s ease, transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.analysis-mode-choice.learning {
  background: linear-gradient(135deg, #9a6500 0%, #c4860c 100%);
}

.analysis-mode-choice.monitoring {
  background: linear-gradient(135deg, #285c8f 0%, #3d78ae 100%);
}

.analysis-mode-choice:hover,
.analysis-mode-choice:focus-visible {
  opacity: 0.94;
  transform: translateY(-1px);
}

.analysis-mode-choice.active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.11), 0 8px 18px rgba(0, 0, 0, 0.12);
}

.analysis-mode-symbol {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  font-size: 19px;
  font-weight: 900;
}

.analysis-mode-choice.learning .analysis-mode-symbol { color: #9a6500; }
.analysis-mode-choice.monitoring .analysis-mode-symbol { color: #285c8f; }

.analysis-mode-choice > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.analysis-mode-choice strong {
  font-size: 14px;
  line-height: 1.2;
}

.analysis-mode-choice small {
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

#verificationBaselineSetup input[type="radio"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0 !important;
  padding: 0;
}

#verificationBaselineSetup .analysis-mode-choice > span:last-child {
  flex: 1 1 auto;
  min-width: 0;
}

.analysis-mode-reminder {
  margin-top: 9px;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.analysis-mode-reminder.learning {
  color: #7a4f00;
  background: #fff4d8;
  border: 1px solid #e8c876;
}

.analysis-mode-reminder.monitoring {
  color: #24547f;
  background: #eaf3fb;
  border: 1px solid #a9cbe7;
}

@media (max-width: 620px) {
  .analysis-mode-options {
    grid-template-columns: 1fr;
  }
}
