/* EA-07 — Expanded Analysis customer UX (banner + analysis page CTAs) */
.ea-ux-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 500;
  width: min(520px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.14);
  padding: 14px 16px;
}
.ea-ux-banner__inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ea-ux-banner__icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.ea-ux-banner__body {
  flex: 1;
  min-width: 0;
}
.ea-ux-banner__type {
  font-size: 12px;
  font-weight: 700;
  color: #C2410C;
  margin: 0 0 4px;
  line-height: 1.3;
}
.ea-ux-banner__msg {
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.45;
  margin: 0 0 6px;
}
.ea-ux-banner__pct {
  font-size: 22px;
  font-weight: 800;
  color: #EA580C;
  margin: 0 0 8px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.ea-ux-banner__bar-wrap {
  height: 6px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  overflow: hidden;
  position: relative;
}
.ea-ux-banner__bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 35%;
  border-radius: 999px;
  background: linear-gradient(90deg, #fb923c, #F97316);
  animation: eaUxBarIndeterminate 1.5s ease-in-out infinite;
}
.ea-ux-banner__bar--determinate {
  position: relative;
  animation: none !important;
  transform: none !important;
  transition: width 0.45s ease;
}
@keyframes eaUxBarIndeterminate {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(380%); }
}
.ea-ux-banner__close {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  color: #94A3B8;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.ea-ux-banner__close:hover { background: #F1F5F9; color: #475569; }
.ea-ux-banner__actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: flex-end;
}
.ea-ux-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.ea-ux-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.ea-ux-btn--primary {
  background: linear-gradient(90deg, #F97316, #EA580C);
  color: #fff;
}
.ea-ux-btn--primary:hover { filter: brightness(1.05); }
.ea-ux-btn--secondary {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #334155;
}
.ea-ux-btn--ghost {
  background: transparent;
  color: #64748B;
}
.ea-ux-cta {
  margin: 16px 0;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFBEB 100%);
}
.ea-ux-cta__hd {
  font-size: 16px;
  font-weight: 800;
  color: #9A3412;
  margin-bottom: 8px;
}
.ea-ux-cta__body {
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 6px;
}
.ea-ux-cta__hint {
  font-size: 12px;
  color: #94A3B8;
  margin: 0 0 12px;
}
.ea-ux-cta--bottom {
  margin-top: 24px;
  margin-bottom: 8px;
}

/* EA-07 HOTFIX — Expanded card progress on homepage */
.upc-anl-card--expanded .upc-anl-type-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: #FFF7ED;
  color: #C2410C;
  margin-bottom: 8px;
}
.upc-anl-section--expanded .upc-anl-msg-main {
  font-weight: 700;
  color: #9A3412;
}
.upc-anl-exp-hint {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.4;
  color: #64748B;
}
.upc-anl-fill--expanded {
  background: linear-gradient(90deg, #fb923c, #F97316) !important;
}
.upc-anl-fill--indeterminate,
.smq-job-fill--indeterminate,
.smq-mini-fill--indeterminate {
  width: 35% !important;
  animation: eaUxBarIndeterminate 1.5s ease-in-out infinite;
}
.smq-job-track--indeterminate,
.smq-mini-track--indeterminate,
.upc-anl-bar--indeterminate {
  overflow: hidden;
  position: relative;
}
.upc-anl-section--expanded .upc-anl-pct {
  display: none !important;
}
.upc-anl-cta--expanded {
  background: linear-gradient(90deg, #F97316 0%, #EA580C 100%) !important;
  color: #fff !important;
}
