/* src/styles.scss */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@keyframes hlPulse {
  0%, 100% {
    fill: rgba(255, 213, 0, 0.4);
    stroke-width: 2.5;
  }
  50% {
    fill: rgba(255, 213, 0, 0.7);
    stroke-width: 4;
  }
}
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}
mjx-container {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
.opt-text mjx-container[display=true],
.opt-row mjx-container[display=true],
.rv-opt mjx-container[display=true] {
  display: inline-block !important;
  text-align: left !important;
  margin: 2px 0 !important;
}
body {
  font-family:
    "Segoe UI",
    Tahoma,
    Geneva,
    Verdana,
    sans-serif;
  background: #f7f8fc;
  color: #1a1a2e;
  line-height: 1.5;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
}
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #999;
}
.confidence-panel {
  margin: 12px 0 4px;
  padding: 14px 16px;
  background: #f8f9ff;
  border: 1px solid #e0e4f8;
  border-radius: 12px;
  text-align: center;
}
.confidence-panel .conf-prompt {
  font-size: 0.82rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.confidence-panel .conf-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.conf-btn {
  border: none;
  border-radius: 24px;
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  touch-action: manipulation;
  transition: opacity 0.15s, transform 0.1s;
}
.conf-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.conf-btn:active {
  transform: translateY(0);
}
.conf-sure {
  color: #fff;
}
.conf-guess {
  background: #fff3e0;
  color: #e65100;
  border: 2px solid #ffb74d;
}
.conf-feedback {
  margin: 10px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
}
.conf-feedback-guess {
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #ffb74d;
}
.conf-feedback-sure {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.ai-structured {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.6;
}
.ai-structured .ai-s-correct,
.ai-structured .ai-s-concept,
.ai-structured .ai-s-ref,
.ai-structured .ai-s-conf,
.ai-structured .ai-s-mnemonic {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 10px;
}
.ai-structured .ai-s-icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.ai-structured .ai-s-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  opacity: 0.7;
}
.ai-structured .ai-s-value {
  display: block;
}
.ai-structured .ai-s-correct {
  background: #dcfce7;
  border-left: 4px solid #16a34a;
  color: #14532d;
}
.ai-structured .ai-s-correct .ai-s-label {
  color: #166534;
}
.ai-structured .ai-s-correct .ai-s-value {
  font-weight: 700;
}
.ai-structured .ai-s-concept {
  background: #fef9c3;
  border-left: 4px solid #ca8a04;
  color: #713f12;
}
.ai-structured .ai-s-concept .ai-s-label {
  color: #92400e;
}
.ai-structured .ai-s-steps {
  background: #eef2ff;
  border-left: 4px solid #4f46e5;
  border-radius: 10px;
  padding: 10px 13px;
  color: #312e81;
}
.ai-structured .ai-s-steps .ai-s-steps-hdr {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}
.ai-structured .ai-s-steps .ai-s-steps-hdr .ai-s-icon {
  font-size: 1rem;
}
.ai-structured .ai-s-steps .ai-s-steps-hdr .ai-s-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
  color: #3730a3;
  margin: 0;
}
.ai-structured .ai-s-steps .ai-s-ol {
  margin: 0;
  padding-left: 20px;
}
.ai-structured .ai-s-steps .ai-s-ol li {
  margin-bottom: 5px;
  font-size: 0.86rem;
}
.ai-structured .ai-s-steps .ai-s-ol li:last-child {
  margin-bottom: 0;
}
.ai-structured .ai-s-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ai-structured .ai-s-meta .ai-s-ref {
  flex: 1 1 55%;
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  color: #14532d;
  min-width: 0;
}
.ai-structured .ai-s-meta .ai-s-ref .ai-s-label {
  color: #166534;
}
.ai-structured .ai-s-meta .ai-s-conf {
  flex: 0 0 auto;
  background: #f5f3ff;
  border-left: 4px solid #7c3aed;
  color: #4c1d95;
}
.ai-structured .ai-s-meta .ai-s-conf .ai-s-label {
  color: #5b21b6;
}
.ai-structured .ai-s-meta .ai-s-conf .ai-s-conf-pct {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #6d28d9;
}
.ai-structured .ai-s-mnemonic {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  color: #1e40af;
}
.ai-structured .ai-s-mnemonic .ai-s-label {
  color: #1d4ed8;
}
.ai-structured .ai-raw {
  white-space: pre-wrap;
  font-size: 0.86rem;
  color: #374151;
  padding: 10px 0;
}
.ai-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.btn-ask-deepseek {
  background: #0f3460;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 9px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  touch-action: manipulation;
}
.btn-ask-deepseek:hover {
  background: #16213e;
}
.ai-provider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-provider-header .btn-switch-ai {
  background: none;
  border: 1px solid currentColor;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.ai-provider-header .btn-switch-ai:hover {
  opacity: 1;
}
.ai-prefetch {
  background: #fefce8;
  border-left: 4px solid #ca8a04;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #713f12;
}
.ai-prefetch p {
  margin: 0;
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
