.vstion-aa {
  --aa-bg: #ffffff;
  --aa-panel: #f7faff;
  --aa-border: #dce7f5;
  --aa-text: #14233a;
  --aa-muted: #687890;
  --aa-blue: #168ee8;
  --aa-blue2: #536dff;
  --aa-canvas: #071426;
  width: 100%;
  max-width: 1100px;
  margin: 30px auto;
  color: var(--aa-text);
  font-family: inherit;
  box-sizing: border-box;
}
.vstion-aa *, .vstion-aa *::before, .vstion-aa *::after { box-sizing: border-box; }
.vstion-aa__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.vstion-aa__eyebrow { color: var(--aa-blue); font-size: 11px; font-weight: 800; letter-spacing: .16em; margin-bottom: 7px; }
.vstion-aa__title { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; letter-spacing: -.03em; }
.vstion-aa__subtitle { margin: 10px 0 0; color: var(--aa-muted); font-size: 15px; line-height: 1.55; }
.vstion-aa__badge { flex: 0 0 auto; padding: 9px 12px; border: 1px solid #bfe1fa; border-radius: 999px; color: #147fcf; background: #eef8ff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.vstion-aa__dropzone {
  border: 2px dashed #a9c8e7;
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfdff 0%, #f2f8ff 100%);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.vstion-aa__dropzone:hover, .vstion-aa__dropzone:focus-visible, .vstion-aa__dropzone.is-dragover { border-color: var(--aa-blue); background: #eef8ff; box-shadow: 0 12px 35px rgba(31, 119, 197, .10); outline: none; }
.vstion-aa__dropzone.is-dragover { transform: translateY(-2px); }
.vstion-aa__upload-icon { width: 64px; height: 64px; margin: 0 auto 15px; display: grid; place-items: center; border-radius: 18px; color: #fff; font-size: 31px; background: linear-gradient(135deg, #15a8f4, #5865f2); box-shadow: 0 12px 28px rgba(46, 116, 229, .25); }
.vstion-aa__drop-title { font-size: 20px; font-weight: 800; }
.vstion-aa__drop-text { max-width: 650px; margin: 7px auto 18px; color: var(--aa-muted); font-size: 14px; line-height: 1.5; }
.vstion-aa__choose { appearance: none; border: 0; border-radius: 11px; padding: 12px 20px; color: #fff; background: linear-gradient(135deg, #158fe7, #4f70f7); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 7px 18px rgba(43, 110, 218, .22); }
.vstion-aa__choose:hover { transform: translateY(-1px); }
.vstion-aa__privacy { margin-top: 18px; color: #7b8da5; font-size: 12px; }
.vstion-aa__error { margin: 15px 0; padding: 13px 15px; border: 1px solid #f1b9b9; border-radius: 12px; background: #fff5f5; color: #a32929; font-size: 14px; }
.vstion-aa__workspace { margin-top: 22px; }
.vstion-aa__filebar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px; border: 1px solid var(--aa-border); border-radius: 15px; background: var(--aa-panel); }
.vstion-aa__fileinfo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vstion-aa__fileicon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #1aa9f2, #6359ed); font-size: 21px; }
.vstion-aa__filename { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.vstion-aa__filesize { margin-top: 3px; color: var(--aa-muted); font-size: 12px; }
.vstion-aa__reset { flex: 0 0 auto; border: 1px solid #cddced; border-radius: 10px; padding: 9px 12px; background: #fff; color: #37506e; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.vstion-aa__reset:hover { border-color: #9fb9d7; background: #f8fbff; }
.vstion-aa__player { margin-top: 14px; padding: 13px 15px; border: 1px solid var(--aa-border); border-radius: 15px; background: #fff; }
.vstion-aa__player audio { display: block; width: 100%; height: 42px; }
.vstion-aa__metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.vstion-aa__metric { min-height: 82px; padding: 13px 14px; border: 1px solid var(--aa-border); border-radius: 14px; background: #fff; }
.vstion-aa__metric span { display: block; color: var(--aa-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.vstion-aa__metric strong { display: block; margin-top: 6px; font-size: 18px; line-height: 1.2; }
.vstion-aa__metric small { display: block; margin-top: 4px; color: #8492a7; font-size: 10px; }
.vstion-aa__visual-card { margin-top: 14px; overflow: hidden; border: 1px solid var(--aa-border); border-radius: 16px; background: #fff; }
.vstion-aa__visual-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 15px; border-bottom: 1px solid var(--aa-border); }
.vstion-aa__visual-head h3 { margin: 0; font-size: 15px; }
.vstion-aa__visual-head span { color: var(--aa-muted); font-size: 11px; }
.vstion-aa__canvas-wrap { width: 100%; background: var(--aa-canvas); }
.vstion-aa__canvas-wrap canvas { display: block; width: 100%; }
.vstion-aa__footer-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 13px; padding: 13px 15px; border-radius: 13px; background: #f3f8fd; color: #64768e; font-size: 12px; line-height: 1.5; }
.vstion-aa__footer-note span { flex: 0 0 auto; font-weight: 900; color: var(--aa-blue); }
.vstion-aa__footer-note p { margin: 0; }

@media (max-width: 760px) {
  .vstion-aa { margin: 20px auto; }
  .vstion-aa__header { display: block; }
  .vstion-aa__badge { display: inline-block; margin-top: 13px; }
  .vstion-aa__dropzone { padding: 34px 17px; }
  .vstion-aa__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vstion-aa__filebar { align-items: flex-start; }
}
@media (max-width: 430px) {
  .vstion-aa__metrics { grid-template-columns: 1fr 1fr; gap: 7px; }
  .vstion-aa__metric { padding: 11px; }
  .vstion-aa__metric strong { font-size: 15px; }
  .vstion-aa__reset { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .vstion-aa * { transition: none !important; }
}
