*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Assistant", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #334155;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   LAYOUT
   ============================================ */
.blog-layout {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
  gap: 60px;
}

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */
.blog-sidebar {
  position: sticky;
  top: 40px;
  width: 280px;
  min-width: 280px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding-right: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.blog-sidebar::-webkit-scrollbar {
  display: none;
}

/* Close button — hidden on desktop */
.sidebar-close {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Assistant", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-bottom: 16px;
}

.sidebar-close:hover {
  color: #bf3425;
  background: #fef7f6;
}

.sidebar-close svg {
  flex-shrink: 0;
}

.blog-sidebar-title {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #9d9d9c;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-left: 12px;
}

.blog-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blog-sidebar-link {
  font-family: "Assistant", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #64748b;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
}

.blog-sidebar-link:hover {
  color: #47577c;
  background-color: #f8fafc;
}

.blog-sidebar-link.active {
  color: #bf3425;
  background-color: #fef7f6;
  font-weight: 700;
}

/* ============================================
   MOBILE NAV TOGGLE
   ============================================ */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #bf3425 0%, #9d2a1e 100%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(191, 52, 37, 0.4);
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle:hover {
  transform: scale(1.1);
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.blog-content {
  flex: 1;
  max-width: 900px;
  min-width: 0;
}

/* ============================================
   BLOG META
   ============================================ */
.blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 10px;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta-icon {
  width: 16px;
  height: 16px;
  color: #64748b;
  flex-shrink: 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.blog-content h1 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1.15;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.blog-content h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: #1e293b;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #bf3425;
}

.blog-content h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #47577c;
  margin-top: 2rem;
  margin-bottom: 0.875rem;
}

.blog-content h4 {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1e293b;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-content li {
  margin-bottom: 0.625rem;
  font-size: 1.0625rem;
}

.blog-content a {
  color: #47577c;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color 0.2s;
}

.blog-content a:hover {
  color: #bf3425;
}

/* Drop Cap */
.drop-cap::first-letter {
  float: left;
  font-family: "Archivo", sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.8;
  color: #bf3425;
  margin-right: 12px;
  margin-top: 8px;
}

/* ============================================
   IMAGES
   ============================================ */
.full-width-image {
  width: 100%;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: block;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.full-width-image:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-caption {
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
  margin-top: -1.25rem;
  margin-bottom: 2rem;
  font-style: italic;
}

/* ============================================
   SPLIT LAYOUT
   ============================================ */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin: 2.5rem 0;
}

.split-layout.reverse {
  direction: rtl;
}

.split-layout.reverse > * {
  direction: ltr;
}

.split-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: block;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.split-image img:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.split-image .image-caption {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.split-text h3 {
  margin-top: 0;
}

/* ============================================
   HIGHLIGHT BOXES
   ============================================ */
.highlight-box {
  background: linear-gradient(135deg, #fef7f6 0%, #fff8f7 100%);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border: 1px solid #fbd5d0;
}

.highlight-box p {
  margin-bottom: 0;
}

.highlight-box h4 {
  color: #bf3425;
  margin-top: 0;
}

.highlight-box.dark {
  background: linear-gradient(135deg, #1e293b 0%, #2d3a52 100%);
  border-color: #334155;
  color: #e2e8f0;
}

.highlight-box.dark h4 {
  color: #f87171;
}

.highlight-box.dark p {
  color: #cbd5e1;
  margin-bottom: 0;
}

/* ============================================
   INFOGRAPHIC PLACEHOLDERS
   ============================================ */
.infographic-placeholder {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  margin: 2.5rem 0;
  text-align: center;
  color: #64748b;
}

.infographic-label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #47577c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.infographic-description {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
  text-align: left;
}

/* ============================================
   LEARN MORE CARDS
   ============================================ */
.learn-more-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.learn-more-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.learn-more-card:hover {
  border-color: #bf3425;
  box-shadow: 0 8px 25px -5px rgba(191, 52, 37, 0.15);
  transform: translateY(-2px);
}

.learn-more-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #47577c 0%, #1e293b 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
  color: #ffffff;
}

.learn-more-card:hover .learn-more-icon {
  background: linear-gradient(135deg, #bf3425 0%, #9d2a1e 100%);
}

.learn-more-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.learn-more-text {
  display: flex;
  flex-direction: column;
}

.learn-more-title {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1e293b;
  transition: color 0.3s;
}

.learn-more-card:hover .learn-more-title {
  color: #bf3425;
}

.learn-more-desc {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.25rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #fef7f6 0%, #ffffff 100%);
  border: 2px solid #bf3425;
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #bf3425, #47577c);
}

.cta-section p {
  margin-bottom: 1.25rem;
  color: #1e293b;
  font-size: 1.125rem;
}

.cta-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #bf3425 0%, #9d2a1e 100%);
  color: #ffffff !important;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(191, 52, 37, 0.4);
  color: #ffffff !important;
}

/* ============================================
   REFERENCES LIST
   ============================================ */
.references-list {
  padding-left: 1.5rem;
}

.references-list li {
  font-size: 0.9375rem;
  color: #475569;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.references-list a {
  font-weight: 400;
  word-break: break-all;
}

/* ============================================
   AUTHOR SECTION
   ============================================ */
.author-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.author-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
}

.author-image-wrapper {
  flex-shrink: 0;
}

.author-image {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.author-info {
  flex: 1;
  min-width: 0;
}

.author-name {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 4px;
  text-decoration: underline;
  text-decoration-color: #bf3425;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.author-title {
  font-size: 1rem;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 16px;
}

.author-social {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.author-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border-radius: 10px;
  transition:
    transform 0.2s,
    background 0.2s;
  text-decoration: none;
}

.author-social a:hover {
  transform: scale(1.1);
  background: #e2e8f0;
}

.author-social svg {
  width: 24px;
  height: 24px;
}

.about-author-label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #bf3425;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.author-bio {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.7;
  text-align: justify;
  margin: 0;
}

/* ============================================
   SECTION SCROLL MARGIN
   ============================================ */
section {
  scroll-margin-top: 40px;
}

/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1024px) {
  .blog-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  /* Sidebar becomes horizontal pills on tablet */
  .blog-sidebar {
    position: relative;
    top: 0;
    width: 100%;
    min-width: 100%;
    max-height: none;
    padding-right: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    align-self: auto;
  }

  .blog-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .blog-sidebar-link {
    font-size: 13px;
    padding: 8px 12px;
  }

  .blog-content h1 {
    font-size: 2rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .split-layout.reverse {
    direction: ltr;
  }

  .split-layout.reverse > * {
    direction: ltr;
  }

  .learn-more-container {
    grid-template-columns: 1fr;
  }

  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-social {
    justify-content: center;
  }

  .author-bio {
    text-align: center;
  }
}

/* ============================================
   RESPONSIVE — 768px (Mobile, sidebar overlay)
   ============================================ */
@media (max-width: 768px) {
  /* Show hamburger button */
  .mobile-nav-toggle {
    display: flex;
  }

  /* Sidebar becomes full-screen overlay */
  .blog-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #ffffff;
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    border-bottom: none;
    max-height: 100vh;
    align-self: auto;
  }

  .blog-sidebar.active {
    transform: translateY(0);
  }

  /* Show close button inside sidebar */
  .sidebar-close {
    display: flex;
  }

  .blog-sidebar-nav {
    flex-direction: column;
    gap: 4px;
  }

  .blog-sidebar-link {
    font-size: 16px;
    padding: 14px 16px;
    border-radius: 8px;
  }

  .blog-sidebar-title {
    font-size: 12px;
    margin-bottom: 20px;
    padding-top: 8px;
  }

  .blog-layout {
    padding: 20px 16px;
    gap: 0;
  }

  .blog-content h1 {
    font-size: 1.75rem;
  }

  .blog-content h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .split-layout.reverse {
    direction: ltr;
  }

  .split-layout.reverse > * {
    direction: ltr;
  }

  .learn-more-container {
    grid-template-columns: 1fr;
  }

  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .author-social {
    justify-content: center;
  }

  .author-bio {
    text-align: left;
  }

  .highlight-box {
    padding: 1.25rem 1.5rem;
  }

  .infographic-placeholder {
    padding: 1.5rem 1rem;
  }
}

/* ============================================
   RESPONSIVE — 640px
   ============================================ */
@media (max-width: 640px) {
  .blog-content h1 {
    font-size: 1.5rem;
  }

  .blog-content h2 {
    font-size: 1.25rem;
  }

  .blog-meta {
    gap: 10px;
    font-size: 13px;
  }

  .cta-section {
    padding: 1.5rem 1rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }

  .author-image {
    width: 140px;
    height: 140px;
  }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
  .blog-content h1 {
    font-size: 1.35rem;
  }

  .blog-layout {
    padding: 16px 12px;
  }
}


/* ===== "Our perspective" editorial callout (citation discipline) ===== */
.perspective-box {
  background: #f4f6fa;
  border: 1px solid #dbe1ec;
  border-left: 4px solid #47577c;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
}
.perspective-box .perspective-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #47577c;
  margin-bottom: 8px;
}
.perspective-box p {
  margin: 0;
  color: #374151;
  line-height: 1.7;
}
@media (max-width: 640px) {
  .perspective-box { padding: 16px 18px; }
}


/* ===== sticky-sidebar hardening (blog-publish hard rule) =====
   position:sticky silently fails inside a flex container that stretches its
   items. The sidebar is already max-height capped, but pin the alignment
   explicitly so a future content/viewport change cannot break it. */
.blog-layout {
  align-items: flex-start;
}
.blog-sidebar {
  align-self: flex-start;
}

/* Below the column-stack breakpoint, .blog-layout is flex-direction:column, so
   align-items governs the CROSS axis (width) instead of vertical alignment.
   flex-start there would shrink .blog-content to its own min-content width
   instead of the full column, causing horizontal overflow on mobile. */
@media (max-width: 1024px) {
  .blog-layout {
    align-items: stretch;
  }
}

/* ===== eVTOL crash-tube infographics ===== */

.ecdes-root{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:16px;
  box-shadow:0 4px 16px rgba(0,0,0,.07);
  padding:28px;
  max-width:860px;
  margin:0 auto;
  font-family:'Inter',-apple-system,sans-serif;
  box-sizing:border-box;
}
.ecdes-root *{box-sizing:border-box;}

.ecdes-eyebrow{
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#9d9d9c;
  margin:0 0 8px;
}
.ecdes-title{
  font-size:20px;
  font-weight:700;
  color:#47577c;
  margin:0 0 6px;
  line-height:1.3;
}
.ecdes-subtitle{
  font-size:13px;
  color:#9d9d9c;
  margin:0 0 18px;
  line-height:1.5;
}

.ecdes-legend{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 14px;
}
.ecdes-legend-swatch{
  display:block;
  width:10px;
  height:10px;
  border-radius:3px;
  background:#bf3425;
  flex:0 0 auto;
}
.ecdes-legend-text{
  font-size:12px;
  color:#9d9d9c;
  font-weight:500;
}

.ecdes-table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border-radius:10px;
  border:1px solid #e2e8f0;
}
.ecdes-table{
  display:table;
  width:100%;
  min-width:520px;
  border-collapse:collapse;
}
.ecdes-row{
  display:table-row;
}
.ecdes-cell{
  display:table-cell;
  vertical-align:middle;
  padding:14px 16px;
  border-bottom:1px solid #e2e8f0;
  font-size:14px;
  color:#3a3a39;
  position:relative;
  text-align:left;
}
.ecdes-row:last-child .ecdes-cell{
  border-bottom:none;
}

.ecdes-head .ecdes-cell{
  background:#f7f8fa;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#47577c;
  border-bottom:1px solid #e2e8f0;
}
.ecdes-attr-head{
  color:#9d9d9c;
}
.ecdes-col-evtol{
  color:#bf3425;
}

.ecdes-attr{
  font-weight:600;
  color:#47577c;
  background:#fafbfc;
  white-space:nowrap;
}
.ecdes-val{
  color:#5b6472;
  font-weight:500;
}

.ecdes-hard{
  background:rgba(191,52,37,.06);
  border-left:3px solid rgba(191,52,37,.35);
  transition:background-color .5s ease, border-left-color .5s ease;
}
.ecdes-val-hard{
  color:#47577c;
  font-weight:700;
  letter-spacing:.02em;
  transition:color .5s ease;
}

.ecdes-flag{
  display:block;
  position:absolute;
  top:8px;
  right:8px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#bf3425;
  opacity:0;
  transform:scale(.4);
  transition:opacity .45s ease, transform .45s cubic-bezier(.34,1.56,.64,1);
}

.ecdes-root.ecdes-animated .ecdes-hard{
  background:rgba(191,52,37,.13);
  border-left-color:#bf3425;
}
.ecdes-root.ecdes-animated .ecdes-val-hard{
  color:#bf3425;
}
.ecdes-root.ecdes-animated .ecdes-flag{
  opacity:1;
  transform:scale(1);
}

.ecdes-row:nth-child(2) .ecdes-flag{transition-delay:.05s;}
.ecdes-row:nth-child(3) .ecdes-flag{transition-delay:.15s;}
.ecdes-row:nth-child(4) .ecdes-flag{transition-delay:.25s;}
.ecdes-row:nth-child(5) .ecdes-flag{transition-delay:.35s;}
.ecdes-row:nth-child(6) .ecdes-flag{transition-delay:.45s;}

.ecdes-footer{
  font-size:12px;
  color:#9d9d9c;
  margin:18px 0 0;
  line-height:1.6;
  border-top:1px solid #e2e8f0;
  padding-top:14px;
}

@media (max-width:640px){
  .ecdes-root{
    padding:18px;
    border-radius:12px;
    max-width:100%;
  }
  .ecdes-title{font-size:17px;}
  .ecdes-subtitle{font-size:12px;}
  .ecdes-cell{
    padding:11px 12px;
    font-size:12.5px;
  }
  .ecdes-head .ecdes-cell{font-size:11px;}
  .ecdes-table{min-width:480px;}
  .ecdes-footer{font-size:11.5px;}
}

.ecxs-card, #ecxs-root {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  padding: 28px;
  max-width: 860px;
  margin: 0 auto;
  font-family: 'Inter', -apple-system, sans-serif;
  box-sizing: border-box;
}
.ecxs-card * {
  box-sizing: border-box;
}
.ecxs-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #9d9d9c;
  margin: 0 0 6px;
}
.ecxs-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin: 0 0 4px;
}
.ecxs-subtitle {
  font-size: 13px;
  color: #9d9d9c;
  margin: 0 0 24px;
}
.ecxs-row {
  margin-bottom: 22px;
}
.ecxs-row-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 3px solid #c8cdd8;
}
.ecxs-row-title-p {
  color: #47577c;
  border-left-color: #47577c;
}
.ecxs-row-title-m {
  color: #bf3425;
  border-left-color: #bf3425;
}
.ecxs-shapes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
}
.ecxs-shapes-m {
  justify-content: flex-start;
}
.ecxs-shape-fig {
  margin: 0;
  width: 140px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.ecxs-shape-fig:nth-child(1) { transition-delay: .05s; }
.ecxs-shape-fig:nth-child(2) { transition-delay: .15s; }
.ecxs-shape-fig:nth-child(3) { transition-delay: .25s; }
.ecxs-svg {
  width: 100%;
  height: auto;
  display: block;
}
.ecxs-refcircle {
  fill: none;
  stroke: #c8cdd8;
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
}
.ecxs-poly {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(.82);
  transition: transform .7s cubic-bezier(.34,1.56,.64,1);
}
.ecxs-poly-p {
  fill: rgba(71,87,124,.08);
  stroke: #47577c;
  stroke-width: 3;
}
.ecxs-poly-m {
  fill: rgba(191,52,37,.08);
  stroke: #bf3425;
  stroke-width: 3;
}
.ecxs-vertex-p {
  fill: #47577c;
}
.ecxs-vertex-m {
  fill: #bf3425;
}
.ecxs-caption {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ecxs-shape-name {
  font-size: 14px;
  font-weight: 700;
  color: #47577c;
}
.ecxs-shapes-m .ecxs-shape-name {
  color: #bf3425;
}
.ecxs-shape-corners {
  font-size: 11px;
  color: #9d9d9c;
}
.ecxs-footer {
  font-size: 11.5px;
  color: #9d9d9c;
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px dashed #c8cdd8;
  line-height: 1.5;
}

.ecxs-animated .ecxs-shape-fig {
  opacity: 1;
  transform: translateY(0);
}
.ecxs-animated .ecxs-poly {
  transform: scale(1);
}

@media (max-width: 640px) {
  .ecxs-card {
    padding: 18px;
    border-radius: 12px;
    max-width: 100%;
  }
  .ecxs-title {
    font-size: 17px;
  }
  .ecxs-subtitle {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .ecxs-shapes {
    gap: 10px;
    justify-content: center;
  }
  .ecxs-shape-fig {
    width: 84px;
  }
  .ecxs-shape-name {
    font-size: 12px;
  }
  .ecxs-shape-corners {
    font-size: 10px;
  }
  .ecxs-row-title {
    font-size: 12px;
  }
  .ecxs-footer {
    font-size: 10.5px;
  }
}

.ecang-root {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  padding: 28px;
  max-width: 860px;
  margin: 0 auto;
  font-family: 'Inter', -apple-system, sans-serif;
  box-sizing: border-box;
  overflow: hidden;
}

.ecang-root * {
  box-sizing: border-box;
}

.ecang-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #9d9d9c;
  margin: 0 0 8px;
}

.ecang-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin: 0 0 6px;
}

.ecang-subtitle {
  font-size: 13px;
  color: #9d9d9c;
  margin: 0 0 26px;
}

.ecang-panels {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

.ecang-panel {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}

.ecang-root.ecang-animated .ecang-panels .ecang-panel:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: .05s;
}

.ecang-root.ecang-animated .ecang-panels .ecang-panel:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: .2s;
}

.ecang-root.ecang-animated .ecang-panels .ecang-panel:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: .35s;
}

.ecang-svg {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
}

.ecang-svg text {
  font-family: 'Inter', -apple-system, sans-serif;
}

.ecang-panel-label {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #47577c;
}

.ecang-angle-em {
  color: #bf3425;
}

.ecang-panel-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #9d9d9c;
  margin-top: 2px;
}

.ecang-caption {
  margin: 24px 0 0;
  font-size: 13px;
  color: #47577c;
  text-align: center;
  line-height: 1.5;
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
  opacity: 0;
  transition: opacity .6s ease;
  transition-delay: .5s;
}

.ecang-root.ecang-animated .ecang-caption {
  opacity: 1;
}

@media (max-width: 640px) {
  .ecang-root {
    padding: 20px;
  }
  .ecang-title {
    font-size: 18px;
  }
  .ecang-panels {
    flex-direction: column;
    align-items: center;
    gap: 26px;
  }
  .ecang-panel {
    width: 100%;
    max-width: 260px;
  }
}

.ecsea-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  padding: 28px;
  max-width: 860px;
  margin: 0 auto;
  font-family: 'Inter', -apple-system, sans-serif;
  box-sizing: border-box;
}
.ecsea-card * {
  box-sizing: border-box;
}
.ecsea-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #9d9d9c;
  margin: 0 0 8px 0;
}
.ecsea-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin: 0 0 6px 0;
  line-height: 1.3;
}
.ecsea-subtitle {
  font-size: 13px;
  color: #9d9d9c;
  margin: 0 0 20px 0;
  line-height: 1.5;
}
.ecsea-legend {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ecsea-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #47577c;
}
.ecsea-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}
.ecsea-swatch-axial { background: #47577c; }
.ecsea-swatch-oblique { background: #bf3425; }

.ecsea-chart {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ecsea-group {
  padding-bottom: 4px;
}
.ecsea-group-highlight {
  background: rgba(191, 52, 37, 0.04);
  border: 1px solid rgba(191, 52, 37, 0.14);
  border-radius: 10px;
  padding: 14px 14px 10px 14px;
  margin: -4px -14px -4px -14px;
}
.ecsea-group-label {
  font-size: 14px;
  font-weight: 700;
  color: #47577c;
  margin: 0 0 10px 0;
}
.ecsea-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.ecsea-bar-row:last-of-type {
  margin-bottom: 0;
}
.ecsea-bar-label {
  flex: 0 0 60px;
  width: 60px;
  font-size: 12px;
  color: #9d9d9c;
  text-align: right;
}
.ecsea-track {
  position: relative;
  flex: 1 1 auto;
  height: 22px;
  background: #c8cdd8;
  border-radius: 5px;
  overflow: hidden;
}
.ecsea-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: 5px;
  display: block;
}
.ecsea-bar-fill.axial { background: #47577c; }
.ecsea-bar-fill.oblique { background: #bf3425; }
#ecsea-root.ecsea-animated .ecsea-bar-fill {
  transition: width 1.1s cubic-bezier(.16,1,.3,1);
}
.ecsea-bar-value {
  flex: 0 0 66px;
  width: 66px;
  font-size: 13px;
  font-weight: 700;
  color: #47577c;
  text-align: left;
}

.ecsea-callouts {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(191, 52, 37, 0.25);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ecsea-callout {
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0;
  color: #47577c;
}
.ecsea-callout-num {
  font-weight: 700;
}
.ecsea-callout-good .ecsea-callout-num { color: #47577c; }
.ecsea-callout-bad .ecsea-callout-num { color: #bf3425; }
.ecsea-callout-arrow {
  color: #9d9d9c;
}
.ecsea-callout-bad {
  color: #6b3a35;
}

.ecsea-source {
  margin: 20px 0 0 0;
  font-size: 11px;
  color: #9d9d9c;
  text-align: right;
}

@media (max-width: 640px) {
  .ecsea-card {
    padding: 18px;
    border-radius: 12px;
  }
  .ecsea-title {
    font-size: 17px;
  }
  .ecsea-subtitle {
    font-size: 12px;
  }
  .ecsea-legend {
    gap: 14px;
    margin-bottom: 16px;
  }
  .ecsea-chart {
    gap: 18px;
  }
  .ecsea-group-highlight {
    margin: -4px 0 -4px 0;
    padding: 12px 10px 8px 10px;
  }
  .ecsea-bar-row {
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-bottom: 10px;
  }
  .ecsea-bar-label {
    flex: 0 0 auto;
    width: auto;
    text-align: left;
    order: 1;
  }
  .ecsea-bar-value {
    flex: 0 0 auto;
    width: auto;
    order: 3;
  }
  .ecsea-track {
    flex: 1 1 100%;
    order: 2;
    height: 20px;
  }
  .ecsea-callout {
    font-size: 12px;
  }
}

.ecfem-root {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  padding: 28px;
  max-width: 860px;
  margin: 0 auto;
  font-family: 'Inter', -apple-system, sans-serif;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.ecfem-root.ecfem-animated {
  opacity: 1;
  transform: translateY(0);
}
.ecfem-root *,
.ecfem-root *::before,
.ecfem-root *::after {
  box-sizing: border-box;
}

.ecfem-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #9d9d9c;
  margin: 0 0 8px;
}
.ecfem-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin: 0 0 6px;
  line-height: 1.3;
}
.ecfem-subtitle {
  font-size: 13px;
  color: #9d9d9c;
  margin: 0 0 18px;
  line-height: 1.5;
  max-width: 640px;
}

.ecfem-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(71,87,124,.06);
  border-left: 3px solid #47577c;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 22px;
}
.ecfem-callout-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #47577c;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  font-weight: 700;
}
.ecfem-callout-text {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
}
.ecfem-callout-text strong {
  color: #bf3425;
}

.ecfem-tables {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.ecfem-table-wrap {
  flex: 1 1 320px;
  min-width: 260px;
}
.ecfem-table-title {
  font-size: 13px;
  font-weight: 700;
  color: #47577c;
  margin-bottom: 8px;
}
.ecfem-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ecfem-grid {
  display: grid;
  grid-template-columns: 78px repeat(2, minmax(90px, 1fr));
  gap: 6px;
  min-width: 260px;
}
.ecfem-head {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #9d9d9c;
  padding: 0 4px 6px;
  align-self: end;
}
.ecfem-head-corner {}

.ecfem-rowlabel {
  font-size: 12.5px;
  font-weight: 600;
  color: #9d9d9c;
  display: flex;
  align-items: center;
  padding-right: 4px;
}

.ecfem-cell {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
}
.ecfem-cell.ecfem-worst {
  background: rgba(191,52,37,.06);
  border: 1.5px solid #bf3425;
  padding-top: 16px;
}
.ecfem-badge {
  position: absolute;
  top: -8px;
  right: 8px;
  background: #bf3425;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 2px 6px;
  border-radius: 999px;
}

.ecfem-val {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
  margin-bottom: 6px;
}
.ecfem-cell.ecfem-worst .ecfem-val {
  color: #bf3425;
}
.ecfem-unit {
  font-size: 11px;
  font-weight: 600;
  color: #9d9d9c;
  margin-left: 1px;
}
.ecfem-cell.ecfem-worst .ecfem-unit {
  color: #bf3425;
  opacity: .7;
}

.ecfem-meter {
  position: relative;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: #c8cdd8;
  overflow: hidden;
}
.ecfem-meter-fill {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 3px;
  background: #47577c;
}

.ecfem-source {
  margin-top: 20px;
  font-size: 11px;
  color: #9d9d9c;
}

@media (max-width: 600px) {
  .ecfem-root {
    padding: 20px;
  }
  .ecfem-tables {
    flex-direction: column;
  }
  .ecfem-table-wrap {
    min-width: 0;
  }
  .ecfem-grid {
    grid-template-columns: 64px repeat(2, minmax(84px, 1fr));
  }
}

.ecadv-root {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  padding: 28px;
  max-width: 860px;
  margin: 0 auto;
  font-family: 'Inter', -apple-system, sans-serif;
  box-sizing: border-box;
}

.ecadv-root * {
  box-sizing: border-box;
}

.ecadv-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #9d9d9c;
  margin: 0 0 8px 0;
}

.ecadv-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.ecadv-subtitle {
  font-size: 13px;
  color: #9d9d9c;
  margin: 0 0 18px 0;
  line-height: 1.5;
  max-width: 640px;
}

.ecadv-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.ecadv-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #47577c;
  white-space: nowrap;
}

.ecadv-swatch {
  display: inline-block;
  width: 18px;
  height: 0;
  flex-shrink: 0;
}

.ecadv-swatch-m12 {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, #47577c 0%, #47577c 58%, #bf3425 58%, #bf3425 100%);
}

.ecadv-swatch-p12 {
  border-top: 2px dashed #9d9d9c;
}

.ecadv-swatch-zero {
  border-top: 2px dotted #c8cdd8;
}

.ecadv-chart-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.ecadv-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* static text styling */
.ecadv-axis-title {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  fill: #9d9d9c;
}

.ecadv-axis-label {
  font-size: 12px;
  fill: #9d9d9c;
}

.ecadv-zero-label {
  font-size: 11px;
  fill: #9d9d9c;
}

.ecadv-zero-line {
  stroke: #c8cdd8;
  stroke-width: 1.5;
  stroke-dasharray: 2 4;
  opacity: 0;
  transition: opacity .8s ease;
}

.ecadv-p12-line {
  stroke: #9d9d9c;
  stroke-width: 2;
  stroke-dasharray: 6 5;
  opacity: 0;
  transition: opacity .8s ease .15s;
}

.ecadv-root.ecadv-animated .ecadv-zero-line,
.ecadv-root.ecadv-animated .ecadv-p12-line {
  opacity: 1;
}

/* M12 data line — reveal via stroke-dasharray/dashoffset */
.ecadv-line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1s ease;
}

.ecadv-line-pos {
  stroke: #47577c;
}

.ecadv-line-neg {
  stroke: #bf3425;
  transition-delay: .55s;
}

.ecadv-root.ecadv-animated .ecadv-line-pos {
  stroke-dashoffset: 0;
}

.ecadv-root.ecadv-animated .ecadv-line-neg {
  stroke-dashoffset: 0;
}

/* markers */
.ecadv-marker {
  fill: #47577c;
  stroke: #fff;
  stroke-width: 2;
  opacity: 0;
  transform: scale(.4);
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transition: opacity .35s ease, transform .35s ease;
}

.ecadv-marker-neg {
  fill: #bf3425;
}

.ecadv-marker-1 { transition-delay: .35s; }
.ecadv-marker-2 { transition-delay: .75s; }
.ecadv-marker-3 { transition-delay: 1.15s; }

.ecadv-root.ecadv-animated .ecadv-marker {
  opacity: 1;
  transform: scale(1);
}

/* annotations */
.ecadv-annotation {
  opacity: 0;
  transition: opacity .45s ease;
}

.ecadv-annotation rect {
  fill: #fff;
  fill-opacity: .94;
  stroke: #e2e8f0;
  stroke-width: 1;
}

.ecadv-annotation text {
  font-size: 14px;
  font-weight: 700;
  fill: #47577c;
}

.ecadv-annotation-neg text.ecadv-annotation-value {
  fill: #bf3425;
}

.ecadv-annotation-neg text.ecadv-annotation-note {
  fill: #bf3425;
  font-size: 11px;
  font-weight: 500;
  font-style: italic;
}

.ecadv-annotation-1 { transition-delay: .5s; }
.ecadv-annotation-2 { transition-delay: .9s; }
.ecadv-annotation-3 { transition-delay: 1.3s; }

.ecadv-root.ecadv-animated .ecadv-annotation {
  opacity: 1;
}

.ecadv-source {
  font-size: 11px;
  color: #9d9d9c;
  margin-top: 16px;
  text-align: right;
}

@media (max-width: 640px) {
  .ecadv-root {
    padding: 18px;
    max-width: 100%;
  }
  .ecadv-title {
    font-size: 17px;
  }
  .ecadv-subtitle {
    font-size: 12px;
  }
  .ecadv-legend {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .ecadv-source {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecadv-line,
  .ecadv-marker,
  .ecadv-annotation,
  .ecadv-zero-line,
  .ecadv-p12-line {
    transition: none;
  }
}

.ecwal-root {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  padding: 28px;
  max-width: 860px;
  margin: 0 auto;
  font-family: 'Inter', -apple-system, sans-serif;
  box-sizing: border-box;
}
.ecwal-root * { box-sizing: border-box; }

.ecwal-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #9d9d9c;
}
.ecwal-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  line-height: 1.3;
}
.ecwal-subtitle {
  margin: 0 0 18px;
  font-size: 13px;
  color: #9d9d9c;
  line-height: 1.5;
}
.ecwal-leadin {
  margin: 0 0 20px;
  font-size: 13px;
  color: #47577c;
  line-height: 1.6;
  padding: 10px 14px;
  background: #f5f7fa;
  border-left: 3px solid #c8cdd8;
  border-radius: 6px;
}

.ecwal-panels {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: stretch;
}

.ecwal-panel {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ecwal-panel--supported { background: #f7f9fc; }
.ecwal-panel--unsupported { background: #fdf5f4; }

.ecwal-panel-heading {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 3px 10px;
  border-radius: 999px;
}
.ecwal-panel-heading--blue { color: #47577c; background: #e5e9f2; }
.ecwal-panel-heading--red { color: #bf3425; background: #f6dedb; }

.ecwal-svg-wrap { width: 100%; max-width: 240px; }
.ecwal-svg { display: block; width: 100%; height: auto; }

.ecwal-ground { stroke: #c8cdd8; stroke-width: 4; }
.ecwal-hatch line { stroke: #9d9d9c; stroke-width: 3; }

.ecwal-neighbor { fill: #9d9d9c; opacity: .55; }
.ecwal-neighbor--far {
  fill: none;
  stroke: #c8cdd8;
  stroke-width: 2;
  stroke-dasharray: 5 4;
  opacity: .8;
}

.ecwal-wall-supported {
  fill: none;
  stroke: #47577c;
  stroke-width: 14;
  stroke-linecap: round;
  transform-origin: 140px 170px;
  opacity: .85;
  transform: scaleY(.9);
  transition: opacity .6s ease, transform .6s cubic-bezier(.34,1.56,.64,1);
}
.ecwal-anchor-block {
  fill: #47577c;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .5s ease .15s, transform .5s ease .15s;
}

.ecwal-wall-unsupported {
  fill: none;
  stroke: #bf3425;
  stroke-width: 14;
  stroke-linecap: round;
  transform-origin: 140px 170px;
  opacity: .85;
  transform: scaleY(.9);
  transition: opacity .6s ease, transform .6s cubic-bezier(.34,1.56,.64,1);
}
.ecwal-base-ghost {
  fill: none;
  stroke: #9d9d9c;
  stroke-width: 2;
  stroke-dasharray: 4 3;
  opacity: .9;
}
.ecwal-base-slip {
  fill: #bf3425;
  transform: translateX(0);
  transition: transform .6s ease .35s;
}
.ecwal-slip-arrow {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity .5s ease .55s, transform .5s ease .55s;
}
.ecwal-slip-arrow line { stroke: #bf3425; stroke-width: 4; }
.ecwal-slip-arrow polygon { fill: #bf3425; }

.ecwal-root.ecwal-animated .ecwal-wall-supported { opacity: 1; transform: scaleY(1); }
.ecwal-root.ecwal-animated .ecwal-anchor-block { opacity: 1; transform: translateY(0); }
.ecwal-root.ecwal-animated .ecwal-wall-unsupported { opacity: 1; transform: scaleY(1.04) rotate(1.5deg); }
.ecwal-root.ecwal-animated .ecwal-base-slip { transform: translateX(34px); }
.ecwal-root.ecwal-animated .ecwal-slip-arrow { opacity: 1; transform: translateX(0); }

.ecwal-panel-labels {
  margin-top: 12px;
  text-align: center;
}
.ecwal-label { margin: 0 0 4px; line-height: 1.4; }
.ecwal-label-primary { font-size: 14px; font-weight: 700; }
.ecwal-label-secondary { font-size: 12px; font-weight: 600; }
.ecwal-label-tertiary { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.ecwal-label-blue { color: #47577c; }
.ecwal-label-red { color: #bf3425; }

.ecwal-caption {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: #47577c;
  background: #f5f7fa;
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .ecwal-root { padding: 20px; }
  .ecwal-panels { flex-direction: column; }
  .ecwal-svg-wrap { max-width: 220px; }
}

.ecplg-root {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  padding: 28px;
  max-width: 860px;
  margin: 0 auto;
  font-family: 'Inter', -apple-system, sans-serif;
  box-sizing: border-box;
}
.ecplg-root * {
  box-sizing: border-box;
}
.ecplg-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #9d9d9c;
  margin: 0 0 8px 0;
}
.ecplg-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin: 0 0 6px 0;
  line-height: 1.3;
}
.ecplg-subtitle {
  font-size: 13px;
  color: #9d9d9c;
  margin: 0 0 24px 0;
}
.ecplg-chart {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ecplg-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ecplg-row-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.ecplg-label {
  font-size: 14px;
  font-weight: 600;
  color: #2c3550;
  margin-right: auto;
}
.ecplg-sublabel {
  font-size: 12px;
  font-weight: 400;
  color: #9d9d9c;
}
.ecplg-value {
  font-size: 15px;
  font-weight: 700;
  color: #47577c;
  white-space: nowrap;
}
.ecplg-unit {
  font-size: 12px;
  font-weight: 500;
  color: #9d9d9c;
}
.ecplg-value-flagged {
  color: #bf3425;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ecplg-flag-icon {
  color: #bf3425;
}
.ecplg-badge {
  background: #bf3425;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* CRITICAL: track is a positioned box with fixed height; fill is an absolutely
   positioned block child, never a flex sibling of text labels. */
.ecplg-track {
  position: relative;
  height: 22px;
  width: 100%;
  background: #f1f3f6;
  border-radius: 6px;
  overflow: hidden;
}
.ecplg-bar-fill {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: 6px;
  transition: width 1.1s cubic-bezier(.22,.9,.3,1);
}
.ecplg-bar-baseline {
  background: #9d9d9c;
}
.ecplg-bar-brand {
  background: #47577c;
}
.ecplg-bar-flagged {
  background-color: #dde1e8;
  background-image: repeating-linear-gradient(
    45deg,
    #c8cdd8,
    #c8cdd8 6px,
    #dde1e8 6px,
    #dde1e8 12px
  );
  border: 1px dashed #9d9d9c;
  top: 1px;
  bottom: 1px;
  left: 1px;
}
.ecplg-row-flagged .ecplg-track {
  background: #f7f8fa;
}
.ecplg-annotation {
  font-size: 12px;
  color: #bf3425;
  margin: 2px 0 0 0;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}
.ecplg-callout {
  font-size: 12.5px;
  font-weight: 600;
  color: #47577c;
  background: #f1f3f9;
  border-left: 3px solid #bf3425;
  padding: 8px 12px;
  border-radius: 4px;
  margin: 4px 0 0 0;
}
.ecplg-caveat {
  font-size: 11.5px;
  color: #9d9d9c;
  line-height: 1.6;
  margin: 20px 0 6px 0;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}
.ecplg-source {
  font-size: 11px;
  color: #9d9d9c;
  margin: 0;
}

@media (max-width: 640px) {
  .ecplg-root {
    padding: 18px;
    border-radius: 12px;
    max-width: 100%;
  }
  .ecplg-title {
    font-size: 17px;
  }
  .ecplg-subtitle {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .ecplg-chart {
    gap: 16px;
  }
  .ecplg-row-header {
    gap: 6px;
  }
  .ecplg-label {
    font-size: 13px;
    flex-basis: 100%;
  }
  .ecplg-value {
    font-size: 14px;
  }
  .ecplg-track {
    height: 18px;
  }
  .ecplg-caveat, .ecplg-source {
    font-size: 11px;
  }
}

