/* AskAlex Assistant Core (Sprint 8.2 / Version 1.1) */
.entry-content .aa-assistant-prototype {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin: 0 auto;
  max-width: 1120px;
}
.entry-content .aa-assistant-prototype * {
  box-sizing: border-box;
}
.entry-content .aa-assistant-prototype .aa-assistant-shell,
.entry-content .aa-assistant-prototype .aa-assistant-results,
.entry-content .aa-assistant-prototype .aa-assistant-tests {
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  padding: clamp(1.15rem, 3vw, 1.75rem);
}
.entry-content .aa-assistant-prototype .aa-assistant-shell {
  border-left: 6px solid #175cd3;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.entry-content .aa-assistant-prototype[data-aa-mode="home"] {
  max-width: none;
}
.entry-content .aa-assistant-prototype[data-aa-mode="home"] .aa-assistant-tests {
  display: none;
}
.entry-content .aa-assistant-prototype h2,
.entry-content .aa-assistant-prototype h3 {
  color: #1f2937;
  line-height: 1.2;
  margin: 0 0 .75rem;
}
.entry-content .aa-assistant-prototype p {
  color: #526071;
  line-height: 1.7;
  margin: 0;
}
.entry-content .aa-assistant-prototype .aa-assistant-examples {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
}
.entry-content .aa-assistant-prototype .aa-assistant-example {
  background: #eff6ff;
  border: 1px solid #c7d7fe;
  border-radius: 999px;
  color: #1d4ed8;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: .4rem .7rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-form {
  display: grid;
  gap: .8rem;
  margin-top: 1rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-form label {
  color: #1f2937;
  font-weight: 800;
}
.entry-content .aa-assistant-prototype .aa-assistant-row {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(0, 1fr) auto;
}
.entry-content .aa-assistant-prototype input[type="text"] {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
  min-height: 3rem;
  padding: .75rem .85rem;
  width: 100%;
}
.entry-content .aa-assistant-prototype .aa-assistant-button {
  background: #175cd3;
  border: 1px solid #175cd3;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 3rem;
  padding: .75rem 1rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-note {
  color: #526071;
  font-size: .94rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-emergency {
  background: #fff8f7;
  border: 1px solid #fed7d7;
  border-left: 6px solid #b42318;
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: 1rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-result-grid {
  display: grid;
  gap: 1rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-result-card {
  border: 1px solid #d9e2ec;
  border-left: 5px solid #175cd3;
  border-radius: 8px;
  display: grid;
  gap: .8rem;
  padding: clamp(1rem, 2.5vw, 1.25rem);
}
.entry-content .aa-assistant-prototype .aa-assistant-result-card.is-emergency {
  border-left-color: #b42318;
  background: #fff8f7;
}
.entry-content .aa-assistant-prototype .aa-assistant-result-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.entry-content .aa-assistant-prototype .aa-assistant-kicker {
  color: #175cd3;
  font-size: .88rem;
  font-weight: 800;
}
.entry-content .aa-assistant-prototype .aa-assistant-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.entry-content .aa-assistant-prototype .aa-assistant-meta,
.entry-content .aa-assistant-prototype .aa-assistant-meta-list {
  color: #526071;
  font-size: .9rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-meta-list span {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #334155;
  font-weight: 700;
  padding: .32rem .58rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-read-button {
  background: #175cd3;
  border: 1px solid #175cd3;
  border-radius: 8px;
  color: #ffffff !important;
  display: inline-flex;
  font-weight: 800;
  line-height: 1.2;
  padding: .68rem .9rem;
  text-decoration: none;
}
.entry-content .aa-assistant-prototype .aa-assistant-result-card a {
  color: #175cd3;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.entry-content .aa-assistant-prototype .aa-assistant-related-block {
  border-top: 1px solid #e5e7eb;
  padding-top: .8rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-related {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .7rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-related span,
.entry-content .aa-assistant-prototype .aa-assistant-related a {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #526071;
  font-size: .88rem;
  padding: .3rem .55rem;
  text-decoration: none;
}
.entry-content .aa-assistant-prototype .aa-assistant-test-list {
  display: grid;
  gap: .55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-test-list button {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  color: #1f2937;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: .65rem .75rem;
  text-align: left;
}
.entry-content .aa-assistant-prototype .aa-assistant-empty {
  background: #f8fafc;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 1rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-empty-rich {
  display: grid;
  gap: 1rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-fallback-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.entry-content .aa-assistant-prototype .aa-assistant-suggestions,
.entry-content .aa-assistant-prototype .aa-assistant-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .6rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-suggestions button,
.entry-content .aa-assistant-prototype .aa-assistant-link-list a {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 999px;
  color: #1f2937;
  cursor: pointer;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  padding: .42rem .65rem;
  text-decoration: none;
}
.entry-content .aa-assistant-prototype .aa-assistant-feedback {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
  padding: .85rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-feedback span {
  color: #1f2937;
  font-weight: 800;
}
.entry-content .aa-assistant-prototype .aa-assistant-feedback button {
  background: #f8fafc;
  border: 1px solid #d9e2ec;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: .42rem .7rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-feedback small {
  color: #526071;
  width: 100%;
}
.entry-content .aa-assistant-prototype .aa-assistant-answer-v2 {
  display: grid;
  gap: 1rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-answer-section {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  display: grid;
  gap: .85rem;
  padding: clamp(1rem, 2.5vw, 1.25rem);
}
.entry-content .aa-assistant-prototype .aa-assistant-answer-section.is-primary {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-color: #c7d7fe;
}
.entry-content .aa-assistant-prototype .aa-assistant-answer-section > h3 {
  border-bottom: 1px solid #e5e7eb;
  margin: 0;
  padding-bottom: .65rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-compact-grid,
.entry-content .aa-assistant-prototype .aa-assistant-resource-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.entry-content .aa-assistant-prototype .aa-assistant-compact-card,
.entry-content .aa-assistant-prototype .aa-assistant-path-card,
.entry-content .aa-assistant-prototype .aa-assistant-resource-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: grid;
  gap: .55rem;
  padding: .9rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-compact-card h4 {
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.25;
  margin: 0;
}
.entry-content .aa-assistant-prototype .aa-assistant-compact-card p {
  font-size: .94rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-path-card {
  background: #f8fbff;
  border-left: 5px solid #175cd3;
}
.entry-content .aa-assistant-prototype .aa-assistant-path-card strong {
  color: #1f2937;
  font-size: 1.08rem;
}
.entry-content .aa-assistant-prototype .aa-assistant-resource-card {
  color: #1f2937;
  text-decoration: none;
}
.entry-content .aa-assistant-prototype .aa-assistant-resource-card span {
  color: #175cd3;
  font-size: .82rem;
  font-weight: 800;
}
.entry-content .aa-assistant-prototype .aa-assistant-resource-card strong {
  color: #1f2937;
  line-height: 1.3;
}
.entry-content .aa-assistant-prototype .aa-assistant-muted {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #526071;
  padding: .85rem;
}
@media (max-width: 720px) {
  .entry-content .aa-assistant-prototype .aa-assistant-row,
  .entry-content .aa-assistant-prototype .aa-assistant-test-list,
  .entry-content .aa-assistant-prototype .aa-assistant-fallback-grid,
  .entry-content .aa-assistant-prototype .aa-assistant-compact-grid,
  .entry-content .aa-assistant-prototype .aa-assistant-resource-grid {
    grid-template-columns: 1fr;
  }
  .entry-content .aa-assistant-prototype .aa-assistant-button,
  .entry-content .aa-assistant-prototype .aa-assistant-read-button {
    width: 100%;
    justify-content: center;
  }
}
