/* Two still, simplified app panels. The source surface sits behind the card. */
.trio-media.ai-overview-preview {
  max-width: 520px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ai-source-panel,
.ai-effect-panel { overflow: hidden; border: 1px solid #2c2c30; border-radius: 10px; background: #101012; }
.ai-source-panel { width: 360px; max-width: calc(100% - 36px); box-shadow: 0 18px 45px #0003; }
.ai-effect-panel { position: relative; width: 260px; max-width: 88%; margin: -90px 0 0 auto; box-shadow: 0 18px 45px #0008, 0 0 0 5px #101111; }
.ai-demo-header { display: flex; align-items: center; gap: 9px; min-height: 45px; padding: 12px 15px; border-bottom: 1px solid #232327; color: #e4e4e7; font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.ai-demo-spark { color: #00dd61; font-size: 15px; }
.ai-demo-enabled { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 3px; background: #00dd61; color: #101012; font-size: 11px; }
.ai-source-body { display: grid; gap: 13px; padding: 16px; }
.ai-effect-body { display: grid; gap: 13px; padding: 14px; }
.ai-demo-label { display: block; color: #909098; font-family: var(--font-mono); font-size: 9px; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; }
.ai-demo-field .ai-demo-label { margin-bottom: 6px; }
.ai-demo-prompt { padding: 9px 10px; border: 1px solid #29292d; border-radius: 5px; background: #151517; color: #d1d1d6; font-size: 11px; line-height: 1.6; }
.ai-source-result { overflow: hidden; height: 164px; border: 1px solid #29292d; border-radius: 6px; }
.ai-source-result img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.ai-demo-source-actions { display: flex; align-items: center; gap: 15px; }
.ai-demo-button { display: inline-flex; align-items: center; justify-content: center; min-height: 29px; padding: 6px 12px; border: 1px solid #00dd6140; border-radius: 5px; background: #00dd610b; color: #00dd61; font-family: var(--font-mono); font-size: 10px; }
.ai-demo-text-action { color: #b6b6bd; font-size: 10px; }
.ai-demo-text-action > span { margin-left: 5px; color: #00dd61; }
.ai-demo-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ai-demo-comparison figure { min-width: 0; margin: 0; }
.ai-demo-comparison img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid #29292d; border-radius: 5px; }
.ai-demo-comparison figcaption { margin-top: 5px; color: #777780; font-family: var(--font-mono); font-size: 8px; }
.ai-overview-copy .ai-overview-path { margin-top: 24px; }
.ai-overview-copy h4 { margin: 0 0 7px; color: var(--carbon-50); font-size: 16px; font-weight: 500; }
.ai-overview-copy .trio-note { margin-top: 24px; font-size: 12px; }
@media (max-width: 540px) {
  .ai-source-panel { max-width: calc(100% - 28px); }
  .ai-effect-panel { margin-top: -12px; }
  .ai-source-body { padding: 13px; }
  .ai-demo-header { padding-inline: 13px; font-size: 10px; }
  .ai-source-result { height: 145px; }
}
