@import url(https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Vollkorn:wght@600;700&display=swap);


/* ─── Keyframes ─────────────────────────────────────────────────────────── */

/* Icon floats in from above, slightly scaled up — hangs above the drop zone */
@keyframes suzyDragFloat {
  0%   { transform: translateY(-28px) scale(1.22); opacity: 0; }
  18%  { opacity: 1; }
  100% { transform: translateY(-20px) scale(1.18); opacity: 1; }
}

/* Icon drops from float position into slot */
@keyframes suzyDragDrop {
  0%   { transform: translateY(-20px) scale(1.18); opacity: 1; }
  60%  { transform: translateY(2px) scale(0.96); }
  80%  { transform: translateY(-3px) scale(1.02); }
  100% { transform: translateY(0px) scale(1); opacity: 0; }
}

/* Static icon spring-settles in after drop */
@keyframes suzyDropLand {
  0%   { transform: scale(0.88); opacity: 0; }
  55%  { transform: scale(1.07); opacity: 1; }
  78%  { transform: scale(0.97); }
  100% { transform: scale(1);    opacity: 1; }
}

@keyframes stepEnter {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes contentReveal {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes headlineEnter {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.suzy-headline-area-enter {
  animation: headlineEnter 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cardEnter {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardFadeOut {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.97); }
}


@keyframes expandedCardEnter {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.suzy-intel-expanded-card-enter {
  opacity: 0;
  animation: expandedCardEnter 540ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.suzy-intel-cards-exit .suzy-intel-small-card:first-child {
  animation: cardFadeOut 360ms cubic-bezier(0.4, 0, 0.2, 1) both;
  pointer-events: none;
}
.suzy-intel-cards-exit .suzy-intel-small-card:last-child {
  animation: cardFadeOut 360ms cubic-bezier(0.4, 0, 0.2, 1) 100ms both;
  pointer-events: none;
}


@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes progressFill {
  from { width: 0%; }
  to   { width: 100%; }
}

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}

/* ─── Animation Utility Classes ─────────────────────────────────────────── */

.suzy-anim-step {
  opacity: 0;
  animation: stepEnter 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.suzy-anim-slide-right {
  opacity: 0;
  animation: slideInRight 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.suzy-intel-content-reveal {
  opacity: 0;
  animation: contentReveal 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.suzy-intel-card-enter {
  opacity: 0;
  animation: cardEnter 540ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.suzy-anim-scale {
  opacity: 0;
  animation: scaleIn 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ─── Root Container ─────────────────────────────────────────────────────── */

.suzy-demo-root {
  background: #e5d8ee;
  border-radius: 28px;
  width: 1080px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: "DM Sans", sans-serif;
  position: relative;
  user-select: none;
  margin: 0 auto;
  box-shadow: 0 24px 64px rgba(39, 29, 59, 0.18), 0 6px 20px rgba(39, 29, 59, 0.1);
}

/* ─── Tab Bar ────────────────────────────────────────────────────────────── */

.suzy-tab-bar {
  background: rgba(167, 125, 197, 0.4);
  border-radius: 28px 28px 0 0;
  display: flex;
  overflow: hidden;
  height: 55px;
  flex-shrink: 0;
}

.suzy-tab {
  flex: 1;
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: rgba(39, 29, 59, 0.4);
  letter-spacing: 0.1px;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: color 220ms ease;
}

.suzy-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 40px;
  height: 3px;
  background: #271d3b;
  border-radius: 3px 3px 0 0;
  transform: translateX(-50%) scaleX(0);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.suzy-tab:hover {
  color: rgba(39, 29, 59, 0.65);
}

.suzy-tab-active {
  color: #271d3b;
  font-weight: 600;
  background: rgba(39, 29, 59, 0.07);
}

.suzy-tab-active::after {
  transform: translateX(-50%) scaleX(1);
}

/* ─── Panel ──────────────────────────────────────────────────────────────── */

.suzy-panel {
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.suzy-container {
  background: #e5d8ee;
  padding: 28px 0;
  flex: 1;
  border-radius: 0 0 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.suzy-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 20px;
  width: 920px;
}

/* ─── Headline ───────────────────────────────────────────────────────────── */

.suzy-headline-area {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.suzy-headline {
  font-family: "Vollkorn", Georgia, serif;
  font-weight: 600;
  font-size: 32px;
  color: #271d3b;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.3px;
  text-align: center;
}
.sz-sentence { display: inline; }


.suzy-subheadline {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #271d3b;
  margin: 0 auto;
  line-height: 1.3;
  text-align: center;
  max-width: 600px;
}

/* ─── Tab Content Area ───────────────────────────────────────────────────── */

.suzy-tab-content {
  flex: 1;
}

/* ─── Card Base ──────────────────────────────────────────────────────────── */

.suzy-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 15px 30px 0px rgba(167, 125, 197, 0.25);
  overflow: hidden;
}

.suzy-card-inner {
  padding: 20px;
}

/* ─── Shared Elements ────────────────────────────────────────────────────── */

.suzy-tag {
  display: inline-block;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #b185ce;
  background: rgba(177, 133, 206, 0.12);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.suzy-card-h3 {
  font-family: "Vollkorn", Georgia, serif;
  font-weight: 600;
  font-size: 17px;
  color: #271d3b;
  margin: 0 0 8px;
  line-height: 1.3;
}

.suzy-card-h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #271d3b;
  margin: 0 0 8px;
  line-height: 1.3;
}

.suzy-body-text {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #4e5258;
  line-height: 1.55;
  margin: 0 0 12px;
}

.suzy-read-more {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: #b185ce;
  text-decoration: none;
  font-weight: 600;
}

.suzy-img-placeholder {
  width: 100%;
  border-radius: 0;
}

/* ─── CTA Button ─────────────────────────────────────────────────────────── */

.suzy-cta-btn {
  display: inline-block;
  background: none;
  color: #271D3B;
  font-family: "DM Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: #271D3B;
  text-underline-offset: 3px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.suzy-cta-btn::after {
  content: " →";
  display: inline-block;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.suzy-cta-btn:hover::after {
  transform: translateX(4px);
}

.suzy-cta-area {
  padding: 4px 0 0;
  display: flex;
  justify-content: center;
}

.suzy-cta-learn-more {
  /* inherits .suzy-cta-btn */
}

/* ─── Progress Bar ───────────────────────────────────────────────────────── */

.suzy-progress-track {
  height: 3px;
  background: rgba(177, 133, 206, 0.25);
  width: 100%;
  position: relative;
}

.suzy-progress-fill {
  height: 3px;
  background: #b185ce;
  width: 0%;
  border-radius: 0 2px 2px 0;
  animation: progressFill linear both;
}

/* ─── Tab 0: Intelligence ────────────────────────────────────────────────── */

.suzy-intel-layout {
  display: flex;
  gap: 20px;
  height: 356px;
}

.suzy-intel-left-col {
  flex: 0 0 450px;
}

.suzy-intel-right-col {
  flex: 0 0 450px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Crossfade wrapper — holds both panels during transition */
.suzy-intel-right-crossfade {
  flex: 0 0 450px;
  position: relative;
  height: 356px;
}

/* When inside the crossfade wrapper, inner right-cols fill it absolutely */
.suzy-intel-right-crossfade > .suzy-intel-right-col {
  position: absolute;
  inset: 0;
  flex: none;
  width: 100%;
  height: 100%;
}

/* Dark card base for Intelligence */
.suzy-intel-card {
  background: #271d3b;
  border-radius: 20px;
  box-shadow: 0px 12px 28px rgba(39, 29, 59, 0.28);
  overflow: hidden;
}

/* Main (left) card — 447×356px, horizontal layout */
.suzy-intel-main-card {
  height: 100%;
}

.suzy-intel-main-card-inner {
  display: flex;
  flex-direction: row;
  height: 100%;
}

.suzy-intel-main-card-text {
  width: 266px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-sizing: border-box;
}

.suzy-intel-main-card-img {
  flex: 1;
  overflow: hidden;
  background-repeat: no-repeat;
  position: relative;
}

.suzy-intel-main-card-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 113px;
  height: 100%;
  background: linear-gradient(to right, rgba(39, 29, 59, 0.7) 0%, transparent 100%);
  pointer-events: none;
}

/* Small (right) cards — text-only, stacked */
.suzy-intel-small-card {
  flex: 1;
}

.suzy-intel-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  height: 100%;
  box-sizing: border-box;
}

/* Dark tag variant — play icon + label, no pill */
.suzy-tag-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(215, 196, 231, 1);
}

/* Dark heading variants */
.suzy-intel-main-h3 {
  font-family: "Vollkorn", Georgia, serif;
  font-weight: 600;
  font-size: 32px;
  color: #f7f4fd;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.32px;
}

.suzy-card-h3-dark {
  font-family: "Vollkorn", Georgia, serif;
  font-weight: 600;
  font-size: 24px;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.24px;
}

.suzy-card-h4-dark {
  font-family: "Vollkorn", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

/* Card metadata row — time · read time · sources */
.suzy-intel-metadata-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.suzy-intel-meta-text {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.suzy-intel-meta-muted {
  color: rgba(247, 244, 253, 0.4);
}

.suzy-intel-meta-dim {
  color: rgba(255, 255, 255, 0.45);
}

.suzy-intel-meta-dot {
  width: 3.4px;
  height: 3.4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

/* NEW badge */
.suzy-intel-new-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.suzy-intel-new-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #84d6c3;
  flex-shrink: 0;
}

.suzy-intel-new-label {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #84d6c3;
  white-space: nowrap;
}

/* Dark read-more link */
.suzy-read-more-dark {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(215, 196, 231, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
}

@keyframes readMoreArrowBounce {
  0%   { transform: translateX(0); }
  30%  { transform: translateX(3px); }
  55%  { transform: translateX(1px); }
  75%  { transform: translateX(2.5px); }
  100% { transform: translateX(0); }
}

.suzy-read-more-arrow-bounce svg {
  animation: readMoreArrowBounce 500ms cubic-bezier(0.34, 1.3, 0.64, 1) both;
}

@keyframes readMoreClick {
  0%   { transform: scale(1);    opacity: 1; }
  15%  { transform: scale(0.95); opacity: 0.7; }
  50%  { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1);    opacity: 1; }
}

.suzy-read-more-clicking {
  animation: readMoreClick 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Expanded card (steps 1-3) */
.suzy-intel-expanded-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: #271d3b;
}

.suzy-intel-expanded-scroll {
  flex-shrink: 0;
}

/* Full-width image at top of expanded card */
.suzy-intel-expanded-img {
  width: 100%;
  height: 200px;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  flex-shrink: 0;
  background-repeat: no-repeat;
}

/* Content padding area */
.suzy-intel-expanded-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* Tag row on dark card */
.suzy-intel-expanded-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #d7c4e7;
  margin-bottom: 12px;
}

/* .suzy-intel-expanded-tag-icon replaced by inline SVG PlayIcon */

/* Title on dark card */
.suzy-intel-expanded-title {
  font-family: "Vollkorn", Georgia, serif;
  font-weight: 600;
  font-size: 32px;
  color: #f7f4fd;
  letter-spacing: -0.32px;
  line-height: 1;
  margin: 0 0 12px;
}

/* Body text */
.suzy-intel-expanded-body {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  color: #f7f4fd;
  line-height: 1.5;
  margin: 0 0 20px;
}

.suzy-intel-expanded-subhead {
  font-family: "Vollkorn", Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  color: #f7f4fd;
  margin: 14px 0 8px;
  line-height: 1.1;
  letter-spacing: -0.077px;
}

.suzy-intel-strategic {
  background: rgba(167, 125, 197, 0.2);
  border-radius: 8px;
  padding: 20px;
  margin-top: 14px;
  margin-bottom: 16px;
}

@keyframes strategicPop {
  0%   { background: rgba(167, 125, 197, 0.2); box-shadow: 0 4px 0px rgba(167, 125, 197, 0); }
  45%  { background: rgba(167, 125, 197, 0.45); box-shadow: 0 4px 24px rgba(167, 125, 197, 0.35); }
  100% { background: rgba(167, 125, 197, 0.2); box-shadow: 0 4px 0px rgba(167, 125, 197, 0); }
}

.suzy-intel-strategic-emphasis {
  opacity: 1;
  animation: strategicPop 1600ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes likePop {
  0%   { transform: scale(1) translateY(0);      box-shadow: 0 0 0px rgba(167, 125, 197, 0);    animation-timing-function: cubic-bezier(0.34, 1.3, 0.64, 1); }
  28%  { transform: scale(1.18) translateY(-1px); box-shadow: 0 0 14px rgba(167, 125, 197, 0.5); animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
  62%  { transform: scale(0.96) translateY(0);   box-shadow: 0 0 5px rgba(167, 125, 197, 0.18); }
  100% { transform: scale(1) translateY(0);      box-shadow: 0 0 0px rgba(167, 125, 197, 0); }
}
.suzy-intel-icon-btn-liked {
  animation: likePop 520ms linear forwards;
  background: rgba(167, 125, 197, 0.12) !important;
  border-color: rgba(167, 125, 197, 0.35) !important;
}
.suzy-intel-icon-btn-liked svg path {
  stroke: #a77dc5;
}
.suzy-intel-icon-btn-liked svg path:first-child {
  fill: rgba(167, 125, 197, 0.2);
}

.suzy-intel-strategic-label {
  font-family: "Vollkorn", Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 4px;
}

.suzy-intel-strategic-text {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  color: #f7f4fd;
  line-height: 1.5;
  margin: 0;
}

/* Bottom action bar */
.suzy-intel-sources-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.suzy-intel-action-btns {
  display: flex;
  align-items: center;
  gap: 16px;
}

.suzy-intel-icon-btn {
  background: transparent;
  border: 1.5px solid transparent;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  line-height: 0;
  transition: background 220ms ease, border-color 220ms ease;
}
.suzy-intel-icon-btn svg path {
  transition: stroke 250ms ease, fill 250ms ease;
}

.suzy-intel-icon-btn:hover {
  background: rgba(215, 196, 231, 0.1);
}

.suzy-intel-sources-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.suzy-intel-source-avatars {
  display: flex;
  align-items: center;
}

.suzy-intel-source-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #271d3b;
  margin-right: -5px;
  flex-shrink: 0;
}

.suzy-intel-sources {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: rgba(247, 244, 253, 0.6);
  font-weight: 400;
  margin-left: 8px;
}

.suzy-intel-add-project {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  padding: 2px 10px 2px 4px;
  border-radius: 6px;
}

.suzy-intel-add-project-label {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: rgba(247, 244, 253, 0.6);
  font-weight: 400;
  white-space: nowrap;
}

/* Box pop — springs into a selected state around the whole row */
@keyframes addProjectBoxPop {
  0%   { box-shadow: inset 0 0 0 0px rgba(167, 125, 197, 0); background: transparent; animation-timing-function: cubic-bezier(0.34, 1.4, 0.64, 1); }
  40%  { box-shadow: inset 0 0 0 2px rgba(167, 125, 197, 0.55); background: rgba(167, 125, 197, 0.2); }
  100% { box-shadow: inset 0 0 0 1.5px rgba(167, 125, 197, 0.35); background: rgba(167, 125, 197, 0.12); }
}

.suzy-intel-add-project-selected {
  animation: addProjectBoxPop 480ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Icon press when selected */
@keyframes addProjectClick {
  0%   { transform: scale(1); }
  25%  { transform: scale(0.78); }
  60%  { transform: scale(0.78); }
  100% { transform: scale(1); }
}

.suzy-intel-add-project-clicking {
  animation: addProjectClick 360ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes dropdownEnter {
  from { opacity: 0; transform: translateY(6px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.suzy-intel-project-dropdown {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0px 2px 16px 4px rgba(39, 29, 59, 0.24);
  padding: 6px 3px;
  width: 164px;
  z-index: 20;
  animation: dropdownEnter 200ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.suzy-intel-project-option {
  display: flex;
  align-items: center;
  padding: 6px 5px;
  border-radius: 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #000000;
  line-height: 1.5;
  white-space: nowrap;
  cursor: default;
}

.suzy-intel-project-option-active {
  background: rgba(167, 125, 197, 0.2);
}

@keyframes q3DoubleClick {
  0%   { background: rgba(167, 125, 197, 0.2); }
  14%  { background: rgba(167, 125, 197, 0.04); }
  28%  { background: rgba(167, 125, 197, 0.5); }
  50%  { background: rgba(167, 125, 197, 0.04); }
  68%  { background: rgba(167, 125, 197, 0.55); }
  100% { background: rgba(167, 125, 197, 0.55); }
}

.suzy-intel-project-option-clicking {
  animation: q3DoubleClick 580ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Scrollbar */
.suzy-intel-scrollbar-track {
  position: absolute;
  right: 6px;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: rgba(167, 125, 197, 0.15);
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 200ms ease;
}

.suzy-intel-expanded-card:hover .suzy-intel-scrollbar-track {
  opacity: 1;
}

.suzy-intel-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  background: rgba(167, 125, 197, 0.5);
  border-radius: 4px;
  cursor: grab;
  transition: background 150ms ease;
}

.suzy-intel-scrollbar-thumb:hover {
  background: #a77dc5;
}

.suzy-intel-scrollbar-thumb:active {
  cursor: grabbing;
  background: #a77dc5;
}

/* Chat input bar */
.suzy-intel-chat-bar {
  border: 1px solid #b185ce;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
  flex-shrink: 0;
}

.suzy-intel-chat-placeholder {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: rgba(215, 196, 231, 0.6);
  margin: 0 0 12px;
}

.suzy-intel-chat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.suzy-intel-chat-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4E8DF5;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Sans", sans-serif;
  font-size: 8px;
  font-weight: 700;
  color: white;
}

.suzy-intel-chat-cta {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  background: #f7f4fd;
  color: #271d3b;
  border-radius: 100px;
  padding: 6px 16px;
  white-space: nowrap;
}

/* ─── Tab 1: Insight ─────────────────────────────────────────────────────── */

.suzy-insight-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.suzy-insight-left-col {
  flex: 0 0 450px;
}

.suzy-insight-left-card {
  height: 356px;
  overflow: hidden;
}

.suzy-insight-right-col {
  flex: 0 0 450px;
}

.suzy-insight-right-card {
  height: 356px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.suzy-insight-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  gap: 8px;
  box-sizing: border-box;
}

.suzy-insight-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.suzy-insight-pill-wrap {
  margin-bottom: 4px;
}

.suzy-insight-pill {
  display: inline-block;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  color: rgba(39, 29, 59, 0.55);
  background: rgba(39, 29, 59, 0.06);
  border-radius: 100px;
  padding: 6px 12px;
}

.suzy-insight-project-title {
  font-family: "Vollkorn", Georgia, serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.24px;
  color: #271d3b;
  margin: 0;
  line-height: 1.3;
}

.suzy-insight-project-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: rgba(39, 29, 59, 0.65);
  margin: 0;
  line-height: 1.4;
}

.suzy-insight-rows {
  display: flex;
  flex-direction: column;
}

.suzy-insight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(167, 125, 197, 0.2);
}

.suzy-insight-row-last {
  border-bottom: none;
}

.suzy-insight-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.suzy-insight-row-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.suzy-insight-row-icon {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: #f0f0f0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.suzy-insight-row-label {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #271d3b;
  white-space: nowrap;
  line-height: 1;
}

.suzy-insight-row-sublabel {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: rgba(39, 29, 59, 0.6);
  white-space: nowrap;
  line-height: 1;
}

.suzy-insight-row-count {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: #757a83;
  white-space: nowrap;
}

.suzy-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.suzy-badge-green {
  background: #d1fadf;
  color: #21c277;
}

.suzy-badge-green::before {
  content: '';
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background: #21c277;
  flex-shrink: 0;
}

.suzy-badge-ready {
  background: rgba(167, 125, 197, 0.2);
  color: #a77dc5;
}

.suzy-badge-ready::before {
  content: '';
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background: #a77dc5;
  flex-shrink: 0;
}

/* File icons area */
.suzy-insight-files-area {
  flex: 1;
  background: #f6f6f6;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 16px;
  min-height: 0;
  position: relative;
  transition: background 220ms ease, box-shadow 220ms ease;
}

.suzy-insight-file-icons-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.suzy-insight-file-uploaded {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Drag-and-drop animation */

/* Overlay: centered above the drop zone */
.suzy-drag-center-overlay {
  position: absolute;
  left: calc(50% - 20px);
  top: calc(50% - 20px);
  pointer-events: none;
  z-index: 10;
}

/* Floating state — icon hangs above, scaled up */
.suzy-drag-float-anim {
  animation: suzyDragFloat 0.35s cubic-bezier(0, 0, 0.2, 1) both;
  transform-origin: center center;
}

/* Drop state — icon falls into slot and fades as static replaces it */
.suzy-drag-drop-anim {
  animation: suzyDragDrop 0.32s cubic-bezier(0.4, 0, 1, 1) forwards;
  transform-origin: center center;
}

/* Drop zone hover highlight */
.suzy-insight-files-area.suzy-drag-active {
  overflow: visible;
}
.suzy-insight-files-area.suzy-drag-hover {
  background: rgba(167, 125, 197, 0.12);
  box-shadow: inset 0 0 0 1.5px rgba(167, 125, 197, 0.45);
}

/* Soft spring settle on drop */
.suzy-drop-land {
  display: flex;
  align-items: center;
  animation: suzyDropLand 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform-origin: center center;
}

/* Right panel inner structure */
.suzy-insight-content-area {
  flex: 1;
  overflow: hidden;
  padding: 20px 20px 0;
}

/* Ensures the last element in the scroll content has breathing room
   at the bottom and the full content is reachable */
.suzy-insight-content-area > div {
  padding-bottom: 24px;
}

/* Scrollbar — matches Intelligence tab style */
.suzy-insight-scrollbar-track {
  position: absolute;
  right: 6px;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: rgba(167, 125, 197, 0.15);
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 200ms ease;
}
.suzy-insight-right-card:hover .suzy-insight-scrollbar-track {
  opacity: 1;
}
.suzy-insight-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  border-radius: 4px;
  background: rgba(167, 125, 197, 0.35);
  cursor: grab;
  transition: background 150ms ease;
}
.suzy-insight-scrollbar-thumb:hover,
.suzy-insight-scrollbar-thumb:active {
  background: #a77dc5;
  cursor: grabbing;
}

@keyframes msgEnter {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* User question + thinking state */
.suzy-insight-user-msg {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: msgEnter 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.suzy-insight-user-question {
  font-size: 15px;
  font-family: "DM Sans", sans-serif;
  color: #271d3b;
  line-height: 1.55;
  margin: 0;
}
.suzy-insight-thinking {
  display: flex;
  align-items: center;
  gap: 8px;
}
.suzy-insight-thinking span {
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  color: #757a83;
}

/* Typewriter cursor */
@keyframes suzy-cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.suzy-typewriter-cursor {
  animation: suzy-cursor-blink 800ms ease-in-out infinite;
  color: #9ca3af;
  font-weight: 200;
  margin-left: 1px;
}

/* Chat text wrapper — grid trick for buttery height reveal */
.suzy-insight-chat-text-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 380ms cubic-bezier(0.4, 0, 0.2, 1),
              opacity 280ms ease;
  opacity: 0;
  will-change: grid-template-rows, opacity;
}
.suzy-insight-chat-text-wrap > p {
  overflow: hidden;
  min-height: 0;
}
.suzy-insight-chat-text-wrap.chat-text-visible {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* Persistent chat input bar */
.suzy-insight-chat-bar {
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: 20px;
  padding: 10px 16px;
  margin: 0 20px 20px;
  flex-shrink: 0;
  background: white;
  box-shadow: 0px 15px 30px 0px rgba(167, 125, 197, 0.25);
  position: relative;
  transition: padding 420ms cubic-bezier(0.34, 1.1, 0.64, 1);
}
.suzy-insight-chat-bar.chat-bar-expanded {
  padding: 14px 16px 10px;
}
.suzy-insight-chat-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, #d4b5f0 0%, #b185ce 35%, #f4b030 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.suzy-insight-chat-text {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: #271d3b;
  margin: 0;
  line-height: 23px;
  padding-left: 2px;
  padding-top: 4px;
}

.suzy-insight-chat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 29px;
  padding: 0 2px;
}

.suzy-insight-chat-plus {
  background: none;
  border: none;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.suzy-insight-chat-send {
  background: none;
  border: none;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}
.suzy-insight-chat-send svg path {
  transition: stroke 200ms ease;
}
.suzy-insight-chat-send.chat-send-active svg path {
  stroke: #271d3b;
}

/* AI intro text */
.suzy-insight-ai-intro {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: #4e5258;
  line-height: 1.5;
  margin: 0 0 8px;
}

/* Bullet list */
.suzy-insight-bullets {
  list-style: disc;
  padding-left: 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.suzy-insight-bullets li {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #4e5258;
  line-height: 1.5;
}

.suzy-insight-bullets li strong {
  font-weight: 700;
  color: #271d3b;
}

.suzy-insight-bullets li::marker {
  color: #4e5258;
}

/* Packaging recs */
.suzy-insight-recs-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.suzy-insight-recs-intro {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #4e5258;
  line-height: 1.5;
  margin: 0;
}

.suzy-insight-recs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.suzy-insight-rec-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}


.suzy-insight-rec-name {
  font-family: "Vollkorn", serif;
  font-size: 16px;
  font-weight: 700;
  color: #271d3b;
  line-height: 1.4;
  letter-spacing: -0.043px;
  margin: 0;
}

.suzy-insight-rec-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #4e5258;
  line-height: 1.5;
  margin: 0;
}

/* ─── Tab 2: Impact ──────────────────────────────────────────────────────── */

.suzy-impact-layout {
  display: flex;
  gap: 20px;
  height: 356px;
}

/* Both cards are dark */
.suzy-impact-left-card,
.suzy-impact-right-card {
  background: #271d3b;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}


/* Card header — "Story Details" */
.suzy-impact-card-header {
  padding: 20px 20px 0;
}

/* Section labels — white 14px medium */
.suzy-impact-section-label {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #f7f4fd;
}

/* Copy section — bordered bottom */
.suzy-impact-copy-section {
  padding: 8px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.suzy-impact-copy-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -20px;
  right: -20px;
  height: 1px;
  background: rgba(167, 125, 197, 0.1);
}

.suzy-impact-field-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Small muted labels e.g. "Story Title" */
.suzy-impact-field-label {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(215, 196, 231, 0.6);
  line-height: 1.4;
}

/* Field value — white 16px */
.suzy-impact-field-value {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.3;
}

/* Override h3 margin in this context */
.suzy-impact-copy-section .suzy-card-h3-dark {
  margin: 0;
  font-size: 24px;
}

/* Brand style section — fills remaining height */
.suzy-impact-brand-section {
  padding: 8px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

/* Groups label + brand row at top */
.suzy-impact-brand-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Brand logo + text row */
.suzy-impact-brand-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0;
}

.suzy-impact-brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  flex-shrink: 0;
  object-fit: contain;
}

.suzy-impact-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.suzy-impact-brand-name {
  font-family: 'Vollkorn', Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.4;
  white-space: nowrap;
}

.suzy-impact-brand-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
}


/* Color swatches */
.suzy-impact-swatches {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.suzy-impact-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Right card inner layout — inner owns top padding; sections own horizontal px */
.suzy-impact-right-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  flex: 1;
  min-height: 0;
}

/* Add Sources section — edge-to-edge divider line below */
.suzy-impact-sources-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px 16px;
  position: relative;
}
.suzy-impact-sources-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -20px;
  right: -20px;
  height: 1px;
  background: rgba(167, 125, 197, 0.1);
}

/* Choose deliverable section */
.suzy-impact-choose-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px;
}

/* Generate Story button section — top pad separates from tiles, bottom pads card edge */
.suzy-impact-btn-section {
  padding: 10px 16px 20px;
  flex-shrink: 0;
}

/* Sources file area — subtle inset box */
.suzy-impact-sources-area {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(167, 125, 197, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 71px;
  position: relative;
}

.suzy-impact-source-icons {
  display: flex;
  align-items: center;
  flex: 1;
}

/* "Choose deliverable" header row */
.suzy-impact-deliverable-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.suzy-impact-deliverable-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.suzy-impact-deliverable-title {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #f7f4fd;
  letter-spacing: -0.013em;
  line-height: normal;
}

.suzy-impact-deliverable-subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(247, 244, 253, 0.6);
  line-height: normal;
}

.suzy-impact-selection-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 2px 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.suzy-impact-selection-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b185ce;
  flex-shrink: 0;
  animation: dotPop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes dotPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* Deliverable tiles */
.suzy-impact-tiles {
  display: flex;
  gap: 10px;
}

.suzy-impact-tile {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(167, 125, 197, 0.1);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  align-items: flex-start;
  transition: background 200ms ease, border-color 200ms ease;
}

.suzy-impact-tile-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.suzy-impact-tile-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.suzy-impact-tile-label {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #f7f4fd;
  letter-spacing: -0.01em;
  line-height: normal;
}

.suzy-impact-tile-sublabel {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: rgba(247, 244, 253, 0.6);
  line-height: 16px;
}

/* Generate Story button — inactive */
.suzy-impact-generate-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 6px 6px 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(247, 244, 253, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  align-self: flex-start;
  white-space: nowrap;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.suzy-impact-generate-enter {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(247, 244, 253, 0.35);
  line-height: normal;
  transition: background 200ms ease, color 200ms ease;
  font-family: "DM Sans", sans-serif;
}

/* Tile selected state */
@keyframes suzyTileClick {
  0%   { transform: scale(1); }
  35%  { transform: scale(0.93); }
  70%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.suzy-impact-tile.suzy-tile-selected {
  border-color: rgba(167, 125, 197, 0.65);
  background: rgba(167, 125, 197, 0.65);
  animation: suzyTileClick 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Generate Story button active state */
@keyframes suzyBtnPress {
  0%   { transform: scale(1); }
  35%  { transform: scale(0.93); }
  70%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.suzy-impact-generate-btn.suzy-btn-active {
  animation: suzyBtnPress 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  background: #f7f4fd;
  color: #271d3b;
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(177, 133, 206, 0.25);
}
.suzy-impact-generate-btn.suzy-btn-active .suzy-impact-generate-enter {
  background: #271d3b;
  color: #f7f4fd;
}

/* ── Generating state ───────────────────────────────────────────────────── */

/* Container fades in as one unit — no translateY jank */
@keyframes genFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Ripple dot (Vercel/Linear style — box-shadow pulse, no scale) */
@keyframes dotRipple {
  0%   { box-shadow: 0 0 0 0   rgba(177, 133, 206, 0.3); }
  70%  { box-shadow: 0 0 0 4px rgba(177, 133, 206, 0); }
  100% { box-shadow: 0 0 0 0   rgba(177, 133, 206, 0); }
}

@keyframes genLabelFade {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes impactProgressFill {
  0%   { width: 0%;   }
  40%  { width: 55%;  }
  70%  { width: 80%;  }
  90%  { width: 95%;  }
  100% { width: 100%; }
}

@keyframes progressGlow {
  0%   { background-position: 150% center; }
  100% { background-position: -50% center; }
}

/* GPU-accelerated shimmer via transform on ::after — no layout shifts */
@keyframes skeletonShimmer {
  0%   { transform: translateX(-200%); }
  100% { transform: translateX(200%); }
}

.suzy-impact-generating {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px 0;
  animation: genFadeIn 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.suzy-impact-gen-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Ripple dot */
.suzy-impact-gen-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b185ce;
  flex-shrink: 0;
  animation: dotRipple 2s ease-out infinite;
}

/* Cycling label — fades in on each phase change */
.suzy-impact-gen-label {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #f7f4fd;
  animation: genLabelFade 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Progress bar track */
.suzy-impact-gen-progress {
  height: 3px;
  background: rgba(167, 125, 197, 0.2);
  border-radius: 100px;
  overflow: hidden;
}

/* Progress fill — grows, no sweep */
.suzy-impact-gen-progress-bar {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #7a4aac 0%, #b185ce 100%);
  animation: impactProgressFill 3.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Skeleton title lines — suggest slide structure */
.suzy-impact-gen-title-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Skeleton base: flat dark block + traveling highlight overlay via ::after */
.suzy-impact-gen-title-line,
.suzy-impact-gen-main,
.suzy-impact-gen-strip {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.suzy-impact-gen-title-line::after,
.suzy-impact-gen-main::after,
.suzy-impact-gen-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-200%);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
  animation: skeletonShimmer 2.8s ease-in-out infinite;
}

.suzy-impact-gen-title-line {
  height: 10px;
  border-radius: 5px;
}
.suzy-impact-gen-title-line--wide { width: 72%; }
.suzy-impact-gen-title-line--med  { width: 48%; }

/* Large main slide skeleton */
.suzy-impact-gen-main {
  height: 100px;
  border-radius: 8px;
}

/* Row of smaller strip skeletons below */
.suzy-impact-gen-strips {
  display: flex;
  gap: 8px;
  height: 44px;
}

.suzy-impact-gen-strip {
  flex: 1;
  border-radius: 6px;
}

/* Stagger shimmer phase across skeletons via ::after delay only */
.suzy-impact-gen-title-line:nth-child(2)::after { animation-delay: 0.3s; }
.suzy-impact-gen-main::after                    { animation-delay: 0.15s; }
.suzy-impact-gen-strip:nth-child(1)::after      { animation-delay: 0.5s; }
.suzy-impact-gen-strip:nth-child(2)::after      { animation-delay: 0.8s; }

/* Step 0 story content wrapper — fades in as a unit when step changes */
.suzy-impact-story-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: genFadeIn 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Generated deck view */
.suzy-impact-deck-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 0 20px;
  min-height: 0;
  animation: genFadeIn 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Deck view title — Vollkorn serif for a stronger heading presence */
.suzy-impact-deck-label {
  font-family: "Vollkorn", Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  color: #f7f4fd;
  letter-spacing: -0.15px;
}

.suzy-impact-deck-scroll {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 20px;
  scrollbar-width: none;
}
.suzy-impact-deck-scroll::-webkit-scrollbar {
  display: none;
}

/* Two-up row */
.suzy-impact-deck-row {
  display: flex;
  gap: 8px;
}

.suzy-impact-deck-row .suzy-impact-deck-slide {
  flex: 1;
  min-width: 0;
}

.suzy-impact-deck-slide {
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}

.suzy-impact-deck-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 5px;
}


/* ─── Mobile Responsive ──────────────────────────────────────────────────── */

@media (max-width: 768px) {

  /* ── Shell ──────────────────────────────────────────────────────────────── */

  .suzy-demo-root {
    width: 100%;
    border-radius: 20px;
  }

  .suzy-container {
    padding: 16px 0;
    gap: 14px;
  }

  .suzy-content {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
    gap: 12px;
  }

  .suzy-tab-bar {
    border-radius: 20px 20px 0 0;
    height: 44px;
  }

  .suzy-tab { font-size: 13px; }

  .suzy-headline   { font-size: 20px; }
  .suzy-subheadline { display: none; }
  .sz-sentence     { display: block; }

  /* ── Consistent card sizing across all three tabs ───────────────────────── */
  /*
     Top card    — 200px tall, full width  (left col on desktop)
     Bottom card — 280px tall, full width  (right col on desktop)
     All three tabs share these exact dimensions.
  */

  /* All three layouts: stack top → bottom */
  .suzy-intel-layout,
  .suzy-insight-layout,
  .suzy-impact-layout {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }

  /* All left/right cols: full width, no flex-shrink */
  .suzy-intel-left-col, .suzy-intel-right-col, .suzy-intel-right-crossfade,
  .suzy-insight-left-col, .suzy-insight-right-col,
  .suzy-impact-left-card, .suzy-impact-right-card {
    flex: none;
    width: 100%;
  }

  /* ── All cards: same 360px height, full width ──────────────────────────── */

  /* Intelligence — top card: image on top, text below */
  .suzy-intel-main-card          { height: 360px; }
  .suzy-intel-main-card-inner    { flex-direction: column; }
  .suzy-intel-main-card-img      { flex: none; width: 100%; height: 180px; order: -1; border-radius: 20px 20px 0 0; background-size: 180% auto !important; background-position: 15% 60% !important; }
  .suzy-intel-main-card-img::after { display: none; }
  .suzy-intel-main-card-text     { width: 100%; padding: 16px; }
  .suzy-intel-main-h3            { font-size: 22px; }
  .suzy-intel-expanded-card      { height: 360px; }
  .suzy-intel-expanded-img       { height: 160px; background-size: cover !important; background-position: center center !important; }

  /* Intelligence — bottom card */
  .suzy-intel-right-col          { height: 360px; gap: 10px; }
  .suzy-intel-right-crossfade    { height: 360px; }
  .suzy-intel-small-card         { flex: 1; }

  /* Insight — top card */
  .suzy-insight-left-card        { height: 356px; }
  .suzy-insight-card-inner       { height: 100%; }

  /* Insight — bottom card */
  .suzy-insight-right-card       { height: 356px; }
  .suzy-insight-content-area     { overflow: hidden; padding: 14px 20px 0; }
  .suzy-insight-chat-bar         { margin: 0 20px 12px; }

  /* Impact — top card */
  .suzy-impact-left-card         { height: 360px; }
  .suzy-impact-card-header       { padding: 16px 16px 0; }
  .suzy-impact-copy-section      { padding: 8px 16px 12px; }
  .suzy-impact-copy-section::after { left: -16px; right: -16px; }
  .suzy-impact-brand-section     { padding: 8px 16px 16px; }
  .suzy-impact-swatches          { margin-top: 8px; }

  /* Impact — bottom card */
  .suzy-impact-right-card        { height: 360px; }
  .suzy-impact-right-inner       { min-height: 0; padding-top: 16px; }
  .suzy-impact-sources-section   { padding: 0 16px 16px; }
  .suzy-impact-sources-section::after { left: -16px; right: -16px; }
  .suzy-impact-choose-section    { padding: 0 16px; }
  .suzy-impact-generating        { padding: 0 16px 0; }
  .suzy-impact-deck-wrap         { padding: 0 16px; }
  .suzy-impact-deck-scroll       { flex: 1; max-height: none; }
}

/* ─── Reduced Motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .suzy-anim-step,
  .suzy-anim-slide-right,
  .suzy-anim-scale-in,
  .suzy-intel-content-reveal,
  .suzy-intel-card-enter {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .suzy-drag-icon-floating,
  .suzy-drag-icon-dropping,
  .suzy-drop-land-icon {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .suzy-progress-bar-fill,
  .suzy-impact-gen-pulse,
  .suzy-impact-progress-fill {
    animation: none;
  }

  .suzy-cursor-blink {
    animation: none;
    opacity: 1;
  }
}

