/* Additive illustrations: the paper sculpture and full report preview remain intact. */
.eb-analysis-card {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 132px;
  width: 294px;
  margin: 0;
  padding: 20px 21px 13px;
  border: 1px solid #e2e7dc;
  border-radius: 19px;
  background: #fffffff5;
  box-shadow: 0 24px 65px #203c2d16, 0 4px 12px #203c2d08;
  backdrop-filter: blur(16px);
  animation: eb-analysis-arrive 4s ease-in-out both;
}
.eb-analysis-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.eb-analysis-monogram { font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 750; letter-spacing: -1.6px; line-height: 1; color: var(--eb-green); }
.eb-analysis-monogram span { color:#56634f; }
.eb-analysis-state { display: flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 20px; background: #edf3e6; color: #45633a; font-size:.875rem; font-weight: 600; }
.eb-analysis-state i { width: 4px; height: 4px; border-radius: 50%; background: #6b8b4e; }
.eb-landing .eb-analysis-card h2 { font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 650; letter-spacing: -.4px; line-height: 1.4; }
.eb-landing .eb-analysis-file { margin-top: 8px; display: flex; align-items: center; gap: 5px; font-size:.875rem; color: #747e70; white-space: nowrap; }
.eb-analysis-file svg { width: 12px; height: 14px; color:#56634f; }
.eb-analysis-file>span { margin-left: auto; font-size:.875rem; color:#56634f; }
.eb-analysis-document { position: relative; overflow: hidden; margin: 16px 0; padding: 16px; border: 1px solid #edf0e5; border-radius: 10px; background: linear-gradient(130deg,#f7f8f1,#f3f5ec); }
.eb-analysis-document>span { display: block; width: 93%; height: 4px; margin-bottom: 7px; border-radius: 4px; background: #dce2d3; }
.eb-analysis-document>span:nth-child(2) { width: 75%; }
.eb-analysis-document>span:nth-child(3) { width: 85%; height: 6px; background: #f0cfac; }
.eb-analysis-document>span:nth-child(4) { width: 65%; }
.eb-analysis-document>span:nth-child(5) { width: 89%; }
.eb-analysis-document>span:nth-child(6) { width: 55%; height: 6px; background: #c8d7b1; }
.eb-analysis-document>span:nth-child(7) { width: 78%; }
.eb-analysis-document>span:nth-child(8) { width: 43%; margin-bottom: 0; }
.eb-analysis-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg,transparent,var(--eb-green) 30%,#a4b97a 70%,transparent);
  box-shadow: 0 0 18px 4px rgb(44 80 60 / 30%);
  animation: eb-analysis-scan 3.4s cubic-bezier(.65,0,.35,1) infinite;
}
.eb-analysis-metrics { margin: 0; display: grid; gap: 12px; }
.eb-analysis-metrics>div { display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 5px; }
.eb-analysis-metrics dt { font-size:.875rem; color: #697462; }
.eb-analysis-metrics dd { display: contents; margin: 0; }
.eb-analysis-metrics dd>strong { font-family: 'Manrope',sans-serif; font-size: 14px; font-weight: 700; line-height: 1.2; }
.eb-analysis-bar { grid-column: 1/-1; height: 4px; border-radius: 10px; background: #f0f3e9; overflow: hidden; }
.eb-analysis-bar i { display: block; width: 12%; height: 100%; border-radius: inherit; background: #d99d65; transform-origin: left; animation: eb-analysis-fill 1.6s .4s ease-out both; }
.eb-analysis-ai .eb-analysis-bar i { width: 8%; background: #7c975d; }
.eb-analysis-source-dots { display: flex; gap: 5px; grid-column: 1/-1; }
.eb-analysis-source-dots i { height: 4px; width: 4px; background: #a3b77a; border-radius: 50%; }
.eb-analysis-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 10px; border-top: 1px solid #edf0e8; color: #697462; font-size:.875rem; }
.eb-analysis-pdf { display: flex; align-items: center; gap: 3px; color: #4b6841; font-size:.875rem; font-weight: 600; }
.eb-analysis-pdf svg { width: 12px; height: 12px; }

/* The repeated group is presentational; the original remains readable without JS. */
.eb-research-ribbon { position: relative; display: flex; align-items: center; border-block: 1px solid #e3e8d9; padding: 25px 0; color: #526747; background: #fbfcf7; }
.eb-ribbon-window { width: 100%; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #bac9a0 transparent; }
.eb-ribbon-track { display: flex; width: max-content; }
.eb-ribbon-group { display: flex; align-items: center; flex-shrink: 0; gap: 36px; padding-right: 36px; white-space: nowrap; }
.eb-ribbon-group>span { font-family: 'Playfair Display',Georgia,serif; font-style: italic; font-size: 27px; letter-spacing: -.7px; }
.eb-ribbon-group>i { font-family: Georgia,serif; font-size: 15px; font-style: normal; color:#56634f; }
.eb-ribbon-group[aria-hidden=true] { display: none; }
.eb-ribbon-ready .eb-ribbon-window { overflow: hidden; mask-image: linear-gradient(to right,transparent,#000 5%,#000 90%,transparent 99%); padding-right: 70px; }
.eb-ribbon-ready .eb-ribbon-track { animation: eb-ribbon-drift 48s linear infinite; }
.eb-ribbon-ready .eb-ribbon-group[aria-hidden=true] { display: flex; }
.eb-ribbon-window:hover .eb-ribbon-track,
.eb-ribbon-paused .eb-ribbon-track { animation-play-state: paused; }
.eb-ribbon-toggle { position: absolute; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #dbe2cf; border-radius: 50%; color: #536944; background: #fbfcf7; cursor: pointer; box-shadow: 0 0 0 8px #fbfcf7; }
.eb-ribbon-toggle:hover { background: #eff3e7; }
.eb-ribbon-toggle svg { width: 17px; height: 17px; }
.eb-ribbon-toggle .eb-ribbon-play-icon { display: none; }
.eb-ribbon-toggle[aria-pressed=true] .eb-ribbon-play-icon { display: block; }
.eb-ribbon-toggle[aria-pressed=true] .eb-ribbon-pause-icon { display: none; }
@keyframes eb-analysis-arrive { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(-1deg); } }
@keyframes eb-analysis-scan { 0% { top: 0; opacity: 0; } 8%,92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes eb-analysis-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes eb-ribbon-drift { to { transform: translateX(-50%); } }

@media(min-width:1500px) { .eb-analysis-card { right: 5px; bottom: 110px; width: 308px; padding: 23px 24px 15px; } }
@media(min-width:768px) and (max-width:1199px) { .eb-analysis-card { width: 255px; padding: 17px 17px 12px; bottom: 104px; right: -8px; } .eb-analysis-file>span { font-size:.875rem; } .eb-analysis-file { gap: 3px; } .eb-analysis-document { margin-block: 13px; padding: 13px; } }
@media(min-width:768px) and (max-width:1023px) {
  .eb-analysis-card { width: 235px; bottom: 141px; right: -14px; }
  .eb-analysis-file>span { display: none; }
  .eb-landing .eb-analysis-card h2 { font-size: 14px; }
  .eb-analysis-metrics dt { font-size:.875rem; }
  .eb-analysis-card figcaption { font-size:.875rem; }
  .eb-hero-art .eb-art-seal { right: auto; left: 14%; top: 5px; }
  .eb-hero-art .eb-art-caption { bottom: -22px; }
}
@media(max-width:767px) {
  .eb-analysis-card { position: relative; right: auto; bottom: auto; width: min(100% - 24px,350px); margin: 12px auto 20px; padding: 23px 25px 16px; animation: none; transform: rotate(-1deg); }
  .eb-landing .eb-analysis-card h2 { font-size: 17px; }
  .eb-landing .eb-analysis-file { font-size:.875rem; }
  .eb-analysis-file>span { font-size:.875rem; }
  .eb-analysis-document { margin-block: 19px; }
  .eb-analysis-metrics dt { font-size:.875rem; }
  .eb-analysis-card figcaption { font-size:.875rem; }
  .eb-research-ribbon { padding-block: 22px; }
  .eb-ribbon-group { gap: 25px; padding-right: 25px; }
  .eb-ribbon-group>span { font-size: 24px; }
  .eb-ribbon-toggle { right: 13px; }
}
@media(max-width:374px) { .eb-analysis-card { width: 100%; padding-inline: 20px; } .eb-analysis-file>span { font-size:.875rem; } }
@media(prefers-reduced-motion:reduce) {
  .eb-analysis-card { transform: none; }
  .eb-analysis-scan { display: none; }
  .eb-ribbon-ready .eb-ribbon-window { overflow: visible; mask-image: none; padding: 0; }
  .eb-ribbon-track { width: auto; transform: none; }
  .eb-ribbon-group { flex: 0 1 100%; min-width: 0; width: 100%; justify-content: center; flex-wrap: wrap; gap: 10px 20px; padding: 0 24px; white-space: normal; }
  .eb-ribbon-group>span { font-size: 20px; }
  .eb-ribbon-group>i { display: none; }
  .eb-ribbon-ready .eb-ribbon-group[aria-hidden=true],.eb-ribbon-toggle { display: none; }
}

/* The animated preview remains legible alongside the full-size page copy. */
.eb-analysis-card { width: 340px; }
.eb-landing .eb-analysis-card h2 { font-size: 1.125rem; }
.eb-landing .eb-analysis-file { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: .875rem; overflow-wrap: anywhere; white-space: normal; }
.eb-analysis-file>span { flex-basis: 100%; padding-left: 23px; }
.eb-analysis-metrics dt { font-size: .875rem; line-height: 1.55; }
.eb-analysis-metrics dd>strong { font-size: 1rem; }
.eb-analysis-card figcaption { align-items: flex-start; line-height: 1.55; }
.eb-analysis-pdf { flex-shrink: 0; }
@media (min-width: 768px) and (max-width: 1199px) {
  .eb-analysis-card { width: 310px; right: 0; padding: 20px; }
}
@media (max-width: 767px) {
  .eb-analysis-card { width: min(100%,360px); transform: none; margin-block: 25px; }
}
