body.otc-consult-sandbox,
body {
  background: #f7f8fa;
}

.otc-sandbox .header__button.btn {
  background: #0b3b2f;
  border-color: #0b3b2f;
  color: #fff;
}

.sandbox-panel {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(11, 59, 47, 0.16);
}

.sandbox-list {
  margin: 20px 0 0;
  padding-left: 20px;
  color: #0b3b2f;
}

.sandbox-list li + li {
  margin-top: 10px;
}

.sandbox-open-analysis {
  border: 0;
  cursor: pointer;
}

.assistant-popup {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100vw - 32px));
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(11, 59, 47, 0.22);
  overflow: hidden;
  z-index: 45;
}

.assistant-popup__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 10px;
  background: #0b3b2f;
  color: #fff;
}

.assistant-popup__sub {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 4px;
}

.assistant-popup__close,
.analysis-modal__close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.assistant-popup__body {
  padding: 18px 20px 22px;
}

.assistant-message {
  color: #223;
  line-height: 1.5;
  margin-bottom: 14px;
}

.assistant-action,
.assistant-link {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  text-align: left;
  text-decoration: none;
  font-weight: 700;
}

.assistant-action {
  border: 0;
  background: #0b3b2f;
  color: #fff;
  cursor: pointer;
}

.assistant-link {
  background: #eef5f2;
  color: #0b3b2f;
}

.analysis-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.analysis-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 20, 0.56);
}

.analysis-modal__dialog {
  position: absolute;
  inset: 24px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
}

.analysis-modal__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: #0b3b2f;
  color: #fff;
}

.analysis-modal__sub {
  font-size: 13px;
  opacity: 0.82;
  margin-top: 4px;
}

.analysis-modal__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.analysis-modal__link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

#analysis-frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: #fff;
}

@media (max-width: 960px) {
  .analysis-modal__dialog {
    inset: 0;
    border-radius: 0;
  }
}
