.showcase{
  --bg: #f4ede2;
  --bg-soft: #fbf6ef;
  --panel: rgba(255, 250, 242, 0.9);
  --panel-strong: #fffaf4;
  --panel-muted: #efe7db;
  --text: #182128;
  --muted: #676e73;
  --line: rgba(24, 33, 40, 0.1);
  --shadow: 0 24px 70px rgba(38, 37, 32, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --sage: #728c63;
  --rust: #b86f4f;
  --teal: #2d7a7f;
  --gold: #c59c43;
  --blue: #5477a1;
  --plum: #8b627f;
  --heading-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --ui-font: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  --mono-font: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
.showcase *{
  box-sizing: border-box;
}
.showcase input, .showcase select{
  font: inherit;
}
.showcase .project-panel-header h3, .showcase .skill-card h3, .showcase .system-card h3, .showcase .feature-card h3{
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 0.96;
}
.showcase .feature-card p, .showcase .project-panel-header p, .showcase .project-bullets, .showcase .project-bullets li, .showcase .system-card p, .showcase .timeline-copy p, .showcase .pipeline-step p, .showcase .project-tab-strap, .showcase .metric-label, .showcase .etf-note{
  color: var(--muted);
}
.showcase .feature-card:focus-visible, .showcase .project-tab:focus-visible, .showcase .etf-tab:focus-visible, .showcase .options-tab:focus-visible, .showcase .lens-chip:focus-visible, .showcase .story-card-button:focus-visible, .showcase .system-summary:focus-visible, .showcase .explainer-card summary:focus-visible{
  outline: 2px solid rgba(45, 122, 127, 0.34);
  outline-offset: 3px;
}
.showcase .feature-card, .showcase .project-panel, .showcase .system-card, .showcase .skill-card{
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(247, 239, 230, 0.92));
  box-shadow: var(--shadow);
}
.showcase .metric-value{
  font-family: var(--heading-font);
  font-size: 1.45rem;
}
.showcase .metric-label{
  line-height: 1.55;
}
.showcase .featured-grid, .showcase .story-grid, .showcase .systems-grid, .showcase .skills-grid{
  display: grid;
  gap: 24px;
}
.showcase .featured-grid{
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: stretch;
}
.showcase .story-grid{
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.showcase .story-card{
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.9), rgba(242, 233, 222, 0.86));
  box-shadow: 0 18px 50px rgba(34, 33, 28, 0.08);
}
.showcase .story-step{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(24, 33, 40, 0.06);
  color: var(--rust);
  font-family: var(--heading-font);
  font-size: 1.1rem;
}
.showcase .story-card h3{
  margin: 20px 0 12px;
  font-family: var(--heading-font);
  font-size: 1.7rem;
  line-height: 1.08;
}
.showcase .story-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.showcase .story-card-button{
  appearance: none;
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.showcase .story-card-button:hover, .showcase .story-card-button:focus-visible{
  transform: translateY(-3px);
  border-color: rgba(24, 33, 40, 0.12);
  box-shadow: 0 24px 60px rgba(34, 33, 28, 0.12);
}
.showcase .story-link-label{
  display: inline-flex;
  margin-top: 22px;
  color: var(--rust);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.showcase .feature-card{
  position: relative;
  padding: 28px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  height: 100%;
}
.showcase .feature-card > *{
  min-width: 0;
}
.showcase .feature-card::after, .showcase .project-panel-header::before{
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: var(--accent, var(--text));
}
.showcase .feature-card h3{
  margin-top: 12px;
  font-size: 1.7rem;
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.showcase .feature-card p{
  margin: 14px 0 18px;
  line-height: 1.7;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.showcase .feature-family, .showcase .project-family-chip, .showcase .system-family, .showcase .project-tab-family, .showcase .demo-label, .showcase .copy-label, .showcase .sidebar-label{
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.showcase .feature-family, .showcase .project-family-chip, .showcase .system-family, .showcase .project-tab-family, .showcase .copy-label, .showcase .sidebar-label, .showcase .demo-label{
  color: var(--accent, var(--rust));
}
.showcase .feature-meta{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  min-width: 0;
}
.showcase .feature-meta span{
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.showcase .showcase-shell{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.showcase .showcase-module-area{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 18px 28px;
  align-items: center;
  padding: 20px 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.94), rgba(242, 233, 222, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 50px rgba(34, 33, 28, 0.08);
}
.showcase .showcase-module-copy, .showcase .showcase-module-controls{
  display: grid;
  gap: 12px;
}
.showcase .showcase-module-controls{
  align-content: start;
  justify-self: end;
  width: min(100%, 360px);
}
.showcase .project-select-wrap{
  display: grid;
  gap: 8px;
  position: relative;
  width: 100%;
}
.showcase .project-select-wrap::after{
  content: "";
  position: absolute;
  right: 18px;
  bottom: 19px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(24, 33, 40, 0.54);
  border-bottom: 2px solid rgba(24, 33, 40, 0.54);
  transform: rotate(45deg);
  pointer-events: none;
}
.showcase .project-select-label{
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.showcase .project-select{
  width: 100%;
  min-height: 52px;
  padding: 0 46px 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(24, 33, 40, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  box-shadow: 0 12px 24px rgba(34, 33, 28, 0.05);
  appearance: none;
  cursor: pointer;
}
.showcase .project-select:focus-visible{
  outline: 2px solid rgba(45, 122, 127, 0.34);
  outline-offset: 3px;
}
.showcase .project-list{
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.showcase .project-list-inline{
  display: none;
}
.showcase .project-tab{
  text-align: left;
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  padding: 16px 18px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.showcase .project-tab:hover, .showcase .project-tab:focus-visible{
  transform: translateX(2px);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
}
.showcase .project-tab.is-active{
  border-color: rgba(24, 33, 40, 0.12);
  background: var(--panel-strong);
}
.showcase .project-tab-inline{
  width: auto;
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  white-space: nowrap;
}
.showcase .project-tab-title{
  display: block;
  margin-top: 6px;
  font-family: var(--heading-font);
  font-size: 1.12rem;
  line-height: 1.12;
  color: var(--text);
}
.showcase .project-tab-strap{
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
}
.showcase .project-panel{
  overflow: hidden;
}
.showcase .project-panel.is-panel-refresh{
  animation: sc-panelRefresh 420ms ease;
}
.showcase .project-panel-header{
  position: relative;
  padding: 32px 34px 22px;
}
.showcase .project-panel-header h3{
  margin-top: 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  max-width: 15ch;
}
.showcase .project-panel-header p{
  max-width: 68ch;
  margin: 18px 0 0;
  line-height: 1.8;
}
.showcase .project-panel-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.showcase .project-strap{
  color: var(--muted);
}
.showcase .project-panel-body{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  padding: 0 30px 30px;
}
.showcase .project-panel-body-compact{
  display: block;
}
.showcase .project-copy{
  display: grid;
  gap: 18px;
}
.showcase .project-bullets{
  margin: 8px 0 0;
  padding-left: 18px;
  line-height: 1.75;
}
.showcase .project-inline-heading{
  margin: 0 0 8px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.showcase .project-chip-groups{
  display: grid;
  gap: 14px;
}
.showcase .project-chip-group{
  display: grid;
  gap: 6px;
}
.showcase .chip-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.showcase .soft-chip, .showcase .artifact-pill{
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  max-width: 100%;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.8);
  border: 1px solid rgba(24, 33, 40, 0.08);
  color: var(--muted);
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
.showcase .soft-chip-strong{
  color: var(--text);
}
.showcase .project-demo-shell{
  display: grid;
  gap: 12px;
}
.showcase .demo-header{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.showcase .demo-note{
  color: var(--muted);
  font-size: 0.88rem;
}
.showcase .demo-root{
  min-height: 0;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.95), rgba(243, 234, 224, 0.95));
  border: 1px solid rgba(24, 33, 40, 0.08);
}
.showcase .demo-fallback-card{
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 252, 247, 0.88);
}
.showcase .demo-fallback-card p{
  margin: 0;
  line-height: 1.7;
}
.showcase .pipeline-demo, .showcase .calibration-demo, .showcase .event-demo, .showcase .etf-demo{
  display: grid;
  gap: 22px;
}
.showcase .pipeline-steps{
  display: grid;
  gap: 16px;
}
.showcase .pipeline-step, .showcase .state-card, .showcase .etf-card, .showcase .event-card, .showcase .scenario-card, .showcase .metric-card{
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 252, 247, 0.88);
}
.showcase .pipeline-step{
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
}
.showcase .pipeline-step-index{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(24, 33, 40, 0.06);
  font-family: var(--heading-font);
  font-size: 1.1rem;
}
.showcase .pipeline-step h4, .showcase .timeline-copy h4, .showcase .state-card h4{
  margin: 0;
  font-size: 1rem;
}
.showcase .pipeline-step p, .showcase .timeline-copy p{
  margin: 8px 0 0;
  line-height: 1.65;
}
.showcase .artifact-cloud{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.showcase .timeline-demo{
  position: relative;
  padding-left: 2px;
}
.showcase .timeline-row{
  position: relative;
  display: grid;
  grid-template-columns: 72px 16px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 6px 0 16px;
}
.showcase .timeline-row:not(:last-child)::after{
  content: "";
  position: absolute;
  left: 80px;
  top: 28px;
  bottom: -6px;
  width: 1px;
  background: rgba(24, 33, 40, 0.12);
}
.showcase .timeline-time{
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 0.95rem;
  padding-top: 4px;
}
.showcase .timeline-dot{
  width: 14px;
  height: 14px;
  margin-top: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  box-shadow: 0 0 0 6px rgba(197, 156, 67, 0.15);
}
.showcase .state-demo{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.showcase .state-card{
  padding: 18px;
}
.showcase .state-card ul{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.showcase .etf-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}
.showcase .etf-control-note{
  margin: 8px 0 14px;
  color: var(--muted);
  line-height: 1.65;
}
.showcase .etf-tabs-mandate{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.showcase .etf-tabs-approach{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.showcase .etf-tab{
  min-height: 40px;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(24, 33, 40, 0.1);
  background: rgba(255, 252, 247, 0.82);
  color: var(--muted);
  max-width: 100%;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}
.showcase .etf-tab-mandate{
  min-height: 56px;
  padding: 12px 14px;
  border-radius: 18px;
  border-color: rgba(197, 156, 67, 0.18);
  background: linear-gradient(180deg, rgba(255, 254, 250, 0.98), rgba(246, 240, 230, 0.96));
  color: var(--text);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.showcase .etf-tab-approach{
  min-height: 46px;
}
.showcase .etf-tab.is-active{
  background: linear-gradient(135deg, rgba(197, 156, 67, 0.2), rgba(114, 140, 99, 0.18));
  color: var(--text);
  border-color: rgba(45, 122, 127, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(45, 122, 127, 0.1),
    0 12px 24px rgba(45, 122, 127, 0.08);
}
.showcase .etf-tab-mandate.is-active{
  transform: translateY(-1px);
}
.showcase .etf-tab:hover, .showcase .options-tab:hover, .showcase .lens-chip:hover{
  border-color: rgba(24, 33, 40, 0.16);
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-1px);
}
.showcase .etf-topline{
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.showcase .etf-mode{
  margin-top: 8px;
  font-family: var(--heading-font);
  font-size: 1.35rem;
}
.showcase .etf-note{
  margin: 0;
  line-height: 1.75;
}
.showcase .etf-layout{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 16px;
}
.showcase .etf-card{
  padding: 18px;
}
.showcase .etf-bars{
  display: grid;
  gap: 14px;
  margin-top: 14px;
}
.showcase .etf-bar-row{
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 100px;
  gap: 12px;
  align-items: center;
}
.showcase .etf-bar-label{
  text-transform: capitalize;
  color: var(--muted);
}
.showcase .etf-bar-stack{
  position: relative;
  height: 16px;
  border-radius: 999px;
  background: rgba(24, 33, 40, 0.06);
  overflow: hidden;
}
.showcase .etf-bar{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999px;
}
.showcase .etf-bar-base{
  background: rgba(84, 119, 161, 0.34);
}
.showcase .etf-bar-target{
  background: linear-gradient(135deg, rgba(197, 156, 67, 0.95), rgba(114, 140, 99, 0.95));
}
.showcase .etf-bar-values{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-family: var(--mono-font);
}
.showcase .etf-legend{
  display: flex;
  gap: 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.showcase .legend-swatch{
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 999px;
}
.showcase .legend-base{
  background: rgba(84, 119, 161, 0.55);
}
.showcase .legend-target{
  background: linear-gradient(135deg, rgba(197, 156, 67, 1), rgba(114, 140, 99, 1));
}
.showcase .metric-grid, .showcase .scenario-grid{
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.showcase .metric-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.showcase .metric-card, .showcase .scenario-card{
  padding: 16px;
}
.showcase input[type="range"]{
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  touch-action: pan-y;
}
.showcase input[type="range"]::-webkit-slider-runnable-track{
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(45, 122, 127, 0.2), rgba(197, 156, 67, 0.24));
}
.showcase input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -5px;
  border-radius: 999px;
  border: 1px solid rgba(24, 33, 40, 0.16);
  background: linear-gradient(135deg, #fffefb, #efe1cf);
  box-shadow: 0 6px 18px rgba(24, 33, 40, 0.16);
}
.showcase input[type="range"]::-moz-range-track{
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(45, 122, 127, 0.2), rgba(197, 156, 67, 0.24));
}
.showcase input[type="range"]::-moz-range-thumb{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(24, 33, 40, 0.16);
  background: linear-gradient(135deg, #fffefb, #efe1cf);
  box-shadow: 0 6px 18px rgba(24, 33, 40, 0.16);
}
.showcase .metric-card span, .showcase .scenario-card span{
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}
.showcase .metric-card strong, .showcase .scenario-card strong{
  display: block;
  margin-top: 6px;
  font-family: var(--heading-font);
  font-size: 1.4rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.showcase .calibration-bars{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
  min-height: 200px;
}
.showcase .calibration-bin{
  display: grid;
  gap: 10px;
  justify-items: center;
}
.showcase .calibration-pair{
  display: flex;
  align-items: end;
  gap: 8px;
  min-height: 150px;
}
.showcase .calibration-bar{
  width: 18px;
  border-radius: 999px 999px 6px 6px;
  transform-origin: center bottom;
  animation: sc-growY 720ms ease both;
}
.showcase .calibration-bar-quoted{
  background: rgba(84, 119, 161, 0.5);
}
.showcase .calibration-bar-observed{
  background: linear-gradient(180deg, var(--teal), var(--sage));
}
.showcase .event-demo{
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}
.showcase .event-card{
  display: grid;
  gap: 18px;
  padding: 18px;
}
.showcase .histogram{
  margin-top: 16px;
  display: flex;
  align-items: end;
  gap: 8px;
  min-height: 150px;
}
.showcase .histogram-bar{
  display: block;
  flex: 1;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, rgba(139, 98, 127, 0.8), rgba(84, 119, 161, 0.68));
  transform-origin: center bottom;
  animation: sc-growY 760ms ease both;
}
.showcase .mini-svg{
  width: 100%;
  height: auto;
}
.showcase .mini-line, .showcase .mini-line-alt{
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}
.showcase .mini-line{
  stroke: var(--teal);
}
.showcase .mini-line-alt{
  stroke: rgba(197, 156, 67, 0.95);
}
.showcase .mini-dot, .showcase .event-dot{
  fill: var(--rust);
}
.showcase .systems-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.showcase .system-card{
  padding: 20px;
}
.showcase .system-card-header h3, .showcase .skill-card h3{
  margin-top: 12px;
  font-size: 1.5rem;
  line-height: 1.1;
}
.showcase .system-preview{
  width: 100%;
  max-width: 196px;
  margin: 0;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.7);
  border: 1px solid rgba(24, 33, 40, 0.07);
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  overflow: hidden;
  box-sizing: border-box;
}
.showcase .surface-grid{
  display: grid;
  grid-template-columns: repeat(4, 18px);
  gap: 8px;
}
.showcase .surface-cell, .showcase .matrix-cell{
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), var(--teal));
}
.showcase .mini-bars{
  display: flex;
  align-items: end;
  gap: 8px;
  height: 72px;
}
.showcase .mini-bars span{
  display: block;
  width: 18px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--blue), var(--rust));
}
.showcase .mini-window{
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(24, 33, 40, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
}
.showcase .mini-window-top{
  height: 24px;
  background: linear-gradient(90deg, rgba(197, 156, 67, 0.4), rgba(84, 119, 161, 0.32));
}
.showcase .mini-window-body{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
}
.showcase .mini-window-body span{
  display: block;
  height: 34px;
  border-radius: 10px;
  background: rgba(24, 33, 40, 0.08);
}
.showcase .ring-row{
  display: flex;
  gap: 12px;
}
.showcase .ring{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background:
    radial-gradient(circle closest-side, #fff9f2 70%, transparent 71%),
    conic-gradient(var(--sage) var(--ring-value), rgba(24, 33, 40, 0.08) 0);
}
.showcase .ring em{
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
}
.showcase .matrix-grid{
  display: grid;
  grid-template-columns: repeat(4, 18px);
  gap: 8px;
}
.showcase .skills-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.showcase .skill-card{
  padding: 22px;
}
.showcase .skill-card ul{
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}
.showcase .accent-sage, .showcase .accent-sage .feature-family, .showcase .accent-sage .project-family-chip, .showcase .accent-sage .copy-label{
  --accent: var(--sage);
}
.showcase .accent-rust, .showcase .accent-rust .feature-family, .showcase .accent-rust .project-family-chip, .showcase .accent-rust .copy-label{
  --accent: var(--rust);
}
.showcase .accent-teal, .showcase .accent-teal .feature-family, .showcase .accent-teal .project-family-chip, .showcase .accent-teal .copy-label{
  --accent: var(--teal);
}
.showcase .accent-gold, .showcase .accent-gold .feature-family, .showcase .accent-gold .project-family-chip, .showcase .accent-gold .copy-label{
  --accent: var(--gold);
}
.showcase .accent-blue, .showcase .accent-blue .feature-family, .showcase .accent-blue .project-family-chip, .showcase .accent-blue .copy-label{
  --accent: var(--blue);
}
.showcase .accent-plum, .showcase .accent-plum .feature-family, .showcase .accent-plum .project-family-chip, .showcase .accent-plum .copy-label{
  --accent: var(--plum);
}
.showcase .feature-card, .showcase .project-tab, .showcase .etf-tab, .showcase .options-tab, .showcase .lens-chip, .showcase .system-summary{
  cursor: pointer;
}
.showcase .feature-card:active, .showcase .project-tab:active, .showcase .etf-tab:active, .showcase .options-tab:active, .showcase .lens-chip:active, .showcase .story-card-button:active, .showcase .system-summary:active{
  transform: translateY(1px) scale(0.995);
}
.showcase .featured-grid{
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.showcase .story-grid{
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.showcase .feature-card{
  display: grid;
  grid-template-columns: minmax(190px, 0.52fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.showcase .feature-card:hover, .showcase .feature-card:focus-visible{
  transform: translateY(-3px);
  border-color: rgba(24, 33, 40, 0.12);
  box-shadow: 0 28px 80px rgba(34, 33, 28, 0.14);
}
.showcase .feature-card-visual{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 124px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 254, 251, 0.9), rgba(241, 234, 223, 0.9));
  border: 1px solid rgba(24, 33, 40, 0.07);
  overflow: hidden;
}
.showcase .feature-card-visual > *{
  width: min(100%, 340px);
  max-width: 100%;
}
.showcase .feature-card-inner{
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: stretch;
  min-height: 0;
  min-width: 0;
  gap: 6px;
}
.showcase .feature-card h3{
  margin-top: 8px;
}
.showcase .showcase-shell{
  grid-template-columns: 1fr;
  gap: 22px;
}
.showcase .project-panel-header{
  padding-bottom: 12px;
}
.showcase .project-panel-top{
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 24px;
  align-items: start;
}
.showcase .project-panel-visual{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  min-height: 260px;
  min-width: 0;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255, 252, 247, 0.68);
  border: 1px solid rgba(24, 33, 40, 0.07);
  overflow: hidden;
}
.showcase .project-panel-visual > *{
  width: min(100%, 600px);
  max-width: 100%;
  margin-right: auto;
}
.showcase .project-explainers{
  display: grid;
  gap: 10px;
}
.showcase .explainer-card{
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 252, 247, 0.86);
  overflow: hidden;
}
.showcase .explainer-card summary{
  list-style: none;
  padding: 14px 16px;
  font-weight: 600;
  color: var(--text);
}
.showcase .explainer-card summary::-webkit-details-marker{
  display: none;
}
.showcase .explainer-card[open] summary{
  border-bottom: 1px solid rgba(24, 33, 40, 0.07);
  background: rgba(24, 33, 40, 0.03);
}
.showcase .explainer-card p{
  margin: 0;
  padding: 14px 16px 16px;
  color: var(--muted);
  line-height: 1.7;
}
.showcase .demo-root{
  min-height: 0;
}
.showcase .project-preview-fallback{
  width: 100%;
  height: 100%;
}
.showcase .preview-allocation, .showcase .preview-options, .showcase .preview-pipeline, .showcase .preview-runtime, .showcase .preview-calibration, .showcase .preview-probability, .showcase .preview-event{
  width: 100%;
}
.showcase .preview-card{
  width: 100%;
}
.showcase .allocation-wheel{
  position: relative;
  border-radius: 999px;
  box-shadow: inset 0 0 0 10px rgba(255, 252, 247, 0.7);
  transition: background 720ms ease;
}
.showcase .allocation-wheel-card{
  width: 92px;
  height: 92px;
}
.showcase .allocation-wheel-panel{
  width: 118px;
  height: 118px;
}
.showcase .allocation-wheel-core{
  position: absolute;
  inset: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.94);
  color: var(--muted);
  font-family: var(--heading-font);
  font-size: 1.1rem;
  text-transform: lowercase;
}
.showcase .preview-allocation{
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase .preview-allocation-shell{
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr);
  gap: 12px;
  align-items: center;
}
.showcase .preview-allocation.preview-card .preview-allocation-shell{
  grid-template-columns: 1fr;
  justify-items: center;
}
.showcase .preview-allocation-legend{
  display: grid;
  gap: 6px;
  width: 100%;
}
.showcase .preview-allocation-row{
  display: grid;
  grid-template-columns: minmax(82px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: capitalize;
}
.showcase .preview-allocation-label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.showcase .preview-allocation-label i{
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}
.showcase .preview-allocation-track{
  height: 10px;
  border-radius: 999px;
  background: rgba(24, 33, 40, 0.08);
  overflow: hidden;
}
.showcase .preview-allocation-track i{
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(84, 119, 161, 0.94), rgba(197, 156, 67, 0.9));
  transform-origin: left center;
  animation: sc-previewBarDrift var(--preview-float-duration, 3000ms) ease-in-out infinite alternate;
  animation-delay: var(--preview-float-delay, 0ms);
  transition: width 720ms ease;
}
.showcase .preview-options{
  display: grid;
  gap: 18px;
}
.showcase .preview-greeks{
  display: grid;
  gap: 10px;
}
.showcase .preview-greek-row{
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--muted);
  text-transform: capitalize;
}
.showcase .preview-greek-track{
  height: 12px;
  border-radius: 999px;
  background: rgba(24, 33, 40, 0.08);
  overflow: hidden;
}
.showcase .preview-greek-track i{
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  transform-origin: left center;
  animation: sc-previewBarDrift var(--preview-float-duration, 2800ms) ease-in-out infinite alternate;
  animation-delay: var(--preview-float-delay, 0ms);
}
.showcase .preview-pipeline, .showcase .preview-runtime{
  display: grid;
  gap: 12px;
}
.showcase .preview-pipeline{
  align-items: center;
}
.showcase .preview-terminal{
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(24, 33, 40, 0.1);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(241, 234, 223, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 18px 34px rgba(34, 33, 28, 0.12);
}
.showcase .preview-terminal-bar{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  padding: 5px 10px;
  border-bottom: 1px solid rgba(24, 33, 40, 0.08);
  background: linear-gradient(180deg, rgba(241, 243, 246, 0.98), rgba(219, 224, 230, 0.98));
}
.showcase .preview-terminal-dots{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.showcase .preview-terminal-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.28);
}
.showcase .preview-terminal-dot.is-red{
  background: linear-gradient(180deg, #ff7b72, #ee5a50);
}
.showcase .preview-terminal-dot.is-yellow{
  background: linear-gradient(180deg, #f8cf62, #e4b63d);
}
.showcase .preview-terminal-dot.is-green{
  background: linear-gradient(180deg, #6fe07a, #4eb85b);
}
.showcase .preview-terminal-title{
  justify-self: center;
  color: rgba(24, 33, 40, 0.62);
  font-family: var(--mono-font);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.showcase .preview-pipeline-window{
  overflow: hidden;
  padding: 8px 10px 7px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(246, 250, 246, 0.86));
}
.showcase .preview-pipeline-track{
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: sc-scrollPreviewBars 13s linear infinite;
}
.showcase .preview-pipeline-group{
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 0 0 auto;
}
.showcase .preview-pipeline-bar{
  display: block;
  width: var(--preview-width, 100%);
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(114, 140, 99, 0.26), rgba(114, 140, 99, 0.94));
  transform-origin: left center;
  animation: sc-growX 760ms ease both;
  animation-delay: var(--preview-delay, 0ms);
  box-shadow: none;
}
.showcase .preview-pipeline.preview-card{
  min-height: 270px;
}
.showcase .preview-pipeline.preview-card .preview-terminal{
  max-width: 100%;
}
.showcase .preview-pipeline.preview-card .preview-pipeline-window{
  min-height: 205px;
  max-height: 205px;
  padding: 8px 10px 8px;
}
.showcase .preview-pipeline.preview-card .preview-pipeline-group{
  gap: 4px;
}
.showcase .preview-pipeline.preview-card .preview-pipeline-bar{
  height: 7px;
}
.showcase .preview-pipeline.preview-panel{
  width: 100%;
  min-height: 136px;
  align-items: stretch;
}
.showcase .preview-pipeline.preview-panel .preview-pipeline-window{
  min-height: 92px;
  max-height: 92px;
  padding: 5px 8px 5px;
}
.showcase .preview-pipeline.preview-panel .preview-terminal{
  width: 94%;
  max-width: none;
}
.showcase .preview-runtime span{
  display: block;
}
.showcase .preview-runtime{
  position: relative;
  min-height: 108px;
  place-items: center;
  justify-self: center;
  width: auto;
  max-width: none;
}
.showcase .preview-gears{
  position: relative;
  display: grid;
  place-items: center;
  width: 208px;
  height: 164px;
}
.showcase .preview-gear{
  position: absolute;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(249, 250, 251, 0.98) 0 16%, rgba(210, 214, 219, 0.96) 17% 30%, rgba(112, 120, 129, 0.94) 31% 48%, rgba(226, 229, 233, 0.96) 49% 63%, rgba(126, 134, 143, 0.98) 64% 100%);
  border: 1px solid rgba(86, 92, 99, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    0 14px 28px rgba(34, 33, 28, 0.12);
}
.showcase .preview-gear::before{
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 999px;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(120, 128, 136, 0.98) 0deg 12deg,
    rgba(214, 218, 222, 0.96) 12deg 18deg,
    rgba(102, 110, 118, 0.98) 18deg 30deg
  );
  -webkit-mask: radial-gradient(circle, transparent 0 56%, #000 58% 82%, transparent 84%);
  mask: radial-gradient(circle, transparent 0 56%, #000 58% 82%, transparent 84%);
}
.showcase .preview-gear::after{
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(248, 249, 250, 0.98), rgba(215, 219, 223, 0.94));
  border: 1px solid rgba(94, 101, 109, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}
.showcase .preview-gear-large{
  --gear-shift: -38%;
  width: 108px;
  height: 108px;
  left: 50%;
  top: 18px;
  transform: translateX(var(--gear-shift));
  animation: sc-spinGear 9s linear infinite;
}
.showcase .preview-gear-medium{
  width: 78px;
  height: 78px;
  left: calc(50% - 84px);
  top: 72px;
  animation: sc-spinGearReverse 7s linear infinite;
}
.showcase .preview-gear-small{
  width: 54px;
  height: 54px;
  left: calc(50% + 18px);
  top: 98px;
  animation: sc-spinGear 5s linear infinite;
}
.showcase .preview-runtime.preview-panel{
  min-height: 250px;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
}
.showcase .preview-runtime.preview-panel .preview-gears{
  width: 320px;
  height: 248px;
  max-width: 100%;
}
.showcase .preview-runtime.preview-panel .preview-gear-large{
  --gear-shift: -42%;
  width: 164px;
  height: 164px;
  top: 24px;
  transform: translateX(var(--gear-shift));
}
.showcase .preview-runtime.preview-panel .preview-gear-medium{
  width: 118px;
  height: 118px;
  left: calc(50% - 128px);
  top: 116px;
}
.showcase .preview-runtime.preview-panel .preview-gear-small{
  width: 84px;
  height: 84px;
  left: calc(50% + 26px);
  top: 160px;
}
.showcase .preview-calibration{
  display: flex;
  align-items: end;
  gap: 10px;
  min-height: 140px;
}
.showcase .preview-calibration span{
  flex: 1;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, rgba(84, 119, 161, 0.72), rgba(45, 122, 127, 0.78));
  transform-origin: center bottom;
  animation: sc-growY 720ms ease both;
}
.showcase .preview-probability{
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 140px;
  padding-top: 10px;
}
.showcase .preview-probability.preview-card{
  min-height: 110px;
}
.showcase .preview-probability.preview-panel{
  min-height: 280px;
  gap: 16px;
  padding-top: 10px;
}
.showcase .preview-probability-markers{
  position: relative;
  height: 14px;
}
.showcase .preview-probability.preview-panel .preview-probability-markers{
  height: 20px;
}
.showcase .preview-probability-spot, .showcase .preview-probability-threshold{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 999px;
}
.showcase .preview-probability-spot{
  left: 50%;
  background: rgba(45, 122, 127, 0.92);
}
.showcase .preview-probability-threshold{
  background: rgba(184, 111, 79, 0.92);
  opacity: 0.92;
}
.showcase .preview-probability-bars{
  display: flex;
  align-items: end;
  gap: 8px;
  height: 116px;
  min-height: 116px;
  overflow: hidden;
}
.showcase .preview-probability.preview-panel .preview-probability-bars{
  gap: 12px;
  height: 228px;
  min-height: 228px;
}
.showcase .preview-probability-bar-shell{
  flex: 1;
  display: flex;
  align-items: end;
  height: 100%;
  min-height: 100%;
  transform-origin: center bottom;
  animation: sc-growY 760ms ease both;
  animation-delay: var(--preview-entry-delay, 0ms);
}
.showcase .preview-probability-bar{
  display: block;
  width: 100%;
  min-height: 12px;
  border-radius: 10px 10px 4px 4px;
  transform-origin: center bottom;
  animation: sc-previewProbabilityFloat var(--preview-float-duration, 3200ms) ease-in-out infinite alternate;
  animation-delay: var(--preview-float-delay, 0ms);
}
.showcase .preview-probability-bar.is-no{
  background: linear-gradient(180deg, rgba(184, 111, 79, 0.56), rgba(197, 156, 67, 0.6));
}
.showcase .preview-probability-bar.is-yes{
  background: linear-gradient(180deg, rgba(84, 119, 161, 0.76), rgba(45, 122, 127, 0.82));
}
.showcase .preview-event{
  display: grid;
  gap: 16px;
}
.showcase .preview-document{
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 252, 247, 0.84);
}
.showcase .preview-document-line{
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(139, 98, 127, 0.34), rgba(84, 119, 161, 0.76));
  transform-origin: left center;
  animation: sc-growX 700ms ease both;
  animation-delay: var(--preview-delay, 0ms);
}
.showcase .preview-document-line-strong{
  width: 86%;
}
.showcase .preview-document-line-mid{
  width: 68%;
}
.showcase .preview-document-line-short{
  width: 44%;
}
.showcase .preview-event-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.showcase .preview-event-tags span{
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.84);
  border: 1px solid rgba(24, 33, 40, 0.08);
  color: var(--muted);
  font-size: 0.82rem;
  transform-origin: left center;
  animation: sc-growX 680ms ease both;
  animation-delay: var(--preview-delay, 0ms);
}
.showcase .preview-event-tags span.is-refreshing{
  animation: sc-previewTagRefresh 320ms ease;
}
.showcase .preview-histogram{
  display: flex;
  align-items: end;
  gap: 6px;
  min-height: 82px;
}
.showcase .preview-histogram span{
  flex: 1;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, rgba(139, 98, 127, 0.82), rgba(84, 119, 161, 0.58));
  transform-origin: center bottom;
  animation: sc-growY 740ms ease both;
}
.showcase .preview-histogram span:nth-child(1){
  height: 28%;
}
.showcase .preview-histogram span:nth-child(2){
  height: 46%;
}
.showcase .preview-histogram span:nth-child(3){
  height: 64%;
}
.showcase .preview-histogram span:nth-child(4){
  height: 82%;
}
.showcase .preview-histogram span:nth-child(5){
  height: 54%;
}
.showcase .etf-summary-card{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 252, 247, 0.88);
}
.showcase .allocation-card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.showcase .allocation-card-body{
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 12px;
  min-width: 0;
}
.showcase .allocation-list{
  display: grid;
  gap: 10px;
  min-width: 0;
}
.showcase .allocation-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.showcase .allocation-key{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-transform: capitalize;
}
.showcase .allocation-key i{
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}
.showcase .tilt-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.showcase .tilt-card{
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 33, 40, 0.07);
  background: rgba(255, 252, 247, 0.84);
}
.showcase .tilt-card span{
  display: block;
  color: var(--muted);
  text-transform: capitalize;
  font-size: 0.92rem;
}
.showcase .tilt-card strong{
  display: block;
  margin-top: 8px;
  font-family: var(--heading-font);
  font-size: 1.5rem;
}
.showcase .tilt-up strong{
  color: var(--sage);
}
.showcase .tilt-down strong{
  color: var(--rust);
}
.showcase .scenario-bar-list{
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.showcase .scenario-bar-row{
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 72px;
  gap: 12px;
  align-items: center;
}
.showcase .scenario-label, .showcase .scenario-value{
  color: var(--muted);
}
.showcase .scenario-track{
  height: 12px;
  border-radius: 999px;
  background: rgba(24, 33, 40, 0.07);
  overflow: hidden;
}
.showcase .scenario-fill{
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(184, 111, 79, 0.95), rgba(139, 98, 127, 0.88));
  transform-origin: left center;
  animation: sc-growX 680ms ease both;
}
.showcase .options-demo, .showcase .options-panel{
  display: grid;
  gap: 16px;
}
.showcase .options-tabs, .showcase .filter-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.showcase .options-tab, .showcase .lens-chip{
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(24, 33, 40, 0.1);
  background: rgba(255, 252, 247, 0.82);
  color: var(--muted);
}
.showcase .options-tab.is-active, .showcase .lens-chip.is-active{
  background: linear-gradient(135deg, rgba(45, 122, 127, 0.16), rgba(197, 156, 67, 0.18));
  color: var(--text);
}
.showcase .options-structure-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.showcase .structure-card, .showcase .options-chart-card, .showcase .headline-item, .showcase .demo-surface{
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 252, 247, 0.88);
}
.showcase .structure-card h4, .showcase .headline-item h4{
  margin: 0;
  font-size: 1.04rem;
}
.showcase .structure-card p, .showcase .headline-item p, .showcase .options-note{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.showcase .options-bar-row{
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 56px;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}
.showcase .options-bar-row span{
  color: var(--muted);
  text-transform: capitalize;
}
.showcase .exposure-track{
  height: 14px;
  border-radius: 999px;
  background: rgba(24, 33, 40, 0.07);
  overflow: hidden;
}
.showcase .exposure-fill{
  height: 100%;
  border-radius: 999px;
  transform-origin: left center;
  animation: sc-growX 680ms ease both;
}
.showcase .exposure-iv{
  background: linear-gradient(90deg, rgba(84, 119, 161, 0.95), rgba(45, 122, 127, 0.88));
}
.showcase .exposure-rv{
  background: linear-gradient(90deg, rgba(197, 156, 67, 0.92), rgba(114, 140, 99, 0.84));
}
.showcase .exposure-delta{
  background: linear-gradient(90deg, rgba(84, 119, 161, 0.95), rgba(45, 122, 127, 0.88));
}
.showcase .exposure-gamma{
  background: linear-gradient(90deg, rgba(184, 111, 79, 0.9), rgba(197, 156, 67, 0.88));
}
.showcase .exposure-vega{
  background: linear-gradient(90deg, rgba(139, 98, 127, 0.9), rgba(84, 119, 161, 0.86));
}
.showcase .headline-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.showcase .headline-summary{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}
.showcase .headline-list{
  display: grid;
  gap: 12px;
}
.showcase .headline-topline{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.showcase .headline-source{
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.showcase .headline-badge{
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: var(--mono-font);
  font-size: 0.88rem;
}
.showcase .score-positive{
  background: rgba(114, 140, 99, 0.18);
  color: #4e6a44;
}
.showcase .score-negative{
  background: rgba(184, 111, 79, 0.16);
  color: #9a5b3f;
}
.showcase .probability-demo{
  display: grid;
  gap: 20px;
}
.showcase .probability-slider-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.showcase .probability-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
  align-items: start;
}
.showcase .probability-side, .showcase .probability-chart-card{
  display: grid;
  gap: 16px;
}
.showcase .probability-svg{
  width: 100%;
  height: auto;
  overflow: visible;
}
.showcase .probability-bar{
  transform-origin: center bottom;
  animation: sc-growY 760ms ease both;
}
.showcase .probability-bar-no{
  fill: rgba(184, 111, 79, 0.5);
}
.showcase .probability-bar-yes{
  fill: rgba(45, 122, 127, 0.72);
}
.showcase .probability-spot-line, .showcase .probability-target-line{
  fill: none;
  stroke-width: 2.5;
}
.showcase .probability-spot-line{
  stroke: rgba(45, 122, 127, 0.96);
}
.showcase .probability-target-line{
  stroke: rgba(184, 111, 79, 0.92);
  stroke-dasharray: 6 6;
}
.showcase .probability-axis-text, .showcase .probability-marker-text{
  fill: rgba(24, 33, 40, 0.62);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.showcase .probability-marker-text-spot{
  fill: rgba(45, 122, 127, 0.96);
}
.showcase .probability-marker-text-target{
  fill: rgba(184, 111, 79, 0.92);
}
.showcase .probability-regime-card{
  gap: 14px;
}
.showcase .probability-regime-row{
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
}
.showcase .probability-regime-row span{
  color: var(--muted);
}
.showcase .probability-fill-benign{
  background: linear-gradient(90deg, rgba(84, 119, 161, 0.95), rgba(45, 122, 127, 0.88));
}
.showcase .probability-fill-tail{
  background: linear-gradient(90deg, rgba(184, 111, 79, 0.92), rgba(197, 156, 67, 0.88));
}
.showcase .probability-contract-note{
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 252, 247, 0.82);
}
.showcase .probability-contract-note strong{
  font-size: 0.96rem;
}
.showcase .probability-contract-note span{
  color: var(--muted);
  line-height: 1.65;
}
.showcase .systems-grid{
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.showcase .skills-grid{
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.showcase .system-card{
  padding: 0;
  min-width: 0;
  container-type: inline-size;
}
.showcase .system-card-expandable{
  overflow: hidden;
}
.showcase .system-summary{
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(168px, 196px);
  gap: 24px;
  padding: 20px;
  align-items: start;
  transition: background 180ms ease, transform 180ms ease;
}
.showcase .system-summary::-webkit-details-marker{
  display: none;
}
.showcase .system-summary:hover, .showcase .system-summary:focus-visible{
  transform: translateY(-2px);
  background: rgba(255, 252, 247, 0.76);
}
.showcase .system-summary-copy p{
  margin: 14px 0 0;
}
.showcase .system-summary-copy, .showcase .system-summary-side, .showcase .system-preview{
  min-width: 0;
}
.showcase .system-summary-copy h3, .showcase .system-summary-copy p{
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.showcase .system-summary-side{
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: stretch;
}
.showcase .system-open-label{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}
.showcase .system-open-icon{
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}
.showcase .system-card[open] .system-summary{
  border-bottom: 1px solid rgba(24, 33, 40, 0.07);
  background: rgba(255, 252, 247, 0.55);
}
.showcase .system-card[open] .system-open-icon{
  transform: rotate(225deg);
}
.showcase .system-detail{
  padding: 18px 20px 20px;
}
.showcase .system-detail ul{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}
.showcase .feature-impact, .showcase .project-impact{
  color: var(--text);
  line-height: 1.72;
}
.showcase .feature-impact{
  margin: 14px 0 12px;
}
.showcase .feature-proof-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.showcase .project-impact-card{
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 252, 247, 0.86);
}
.showcase .project-impact{
  margin: 0;
}
.showcase .etf-workbench{
  gap: 18px;
}
.showcase .etf-demo-shell{
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: 100%;
  max-width: 100%;
}
.showcase .etf-control-panel, .showcase .etf-results-column, .showcase .etf-results-stack{
  display: grid;
  gap: 16px;
  min-width: 0;
  align-content: start;
}
.showcase .etf-control-grid, .showcase .etf-slider-grid, .showcase .optimizer-slider-grid, .showcase .etf-results-grid, .showcase .execution-grid, .showcase .equity-engine-grid{
  display: grid;
  gap: 16px;
}
.showcase .etf-control-grid{
  grid-template-columns: 1fr;
}
.showcase .etf-slider-grid{
  grid-template-columns: 1fr;
}
.showcase .etf-results-grid{
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.showcase .etf-slider-card, .showcase .optimizer-slider-card{
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 252, 247, 0.88);
}
.showcase .etf-slider-card strong, .showcase .optimizer-slider-card strong, .showcase .execution-driver-card strong{
  font-family: var(--heading-font);
  font-size: 1.34rem;
}
.showcase .etf-summary-copy{
  display: grid;
  gap: 10px;
}
.showcase .etf-summary-lead{
  display: grid;
  gap: 8px;
}
.showcase .etf-card, .showcase .etf-slider-card, .showcase .etf-detail-panel, .showcase .etf-summary-copy, .showcase .etf-summary-lead{
  min-width: 0;
}
.showcase .etf-summary-card, .showcase .etf-card, .showcase .etf-slider-card, .showcase .etf-detail-panel{
  overflow: hidden;
}
.showcase .etf-implementation-list{
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.showcase .etf-implementation-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(24, 33, 40, 0.08);
}
.showcase .etf-implementation-row:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}
.showcase .etf-implementation-row span{
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}
.showcase .etf-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.showcase .etf-inline-error{
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  color: #7b4530;
  background: rgba(184, 111, 79, 0.12);
  border: 1px solid rgba(184, 111, 79, 0.18);
}
.showcase .etf-detail-panel{
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 252, 247, 0.88);
}
.showcase .etf-detail-panel summary{
  font-family: var(--heading-font);
  font-size: 1.08rem;
}
.showcase .table-wrap{
  margin-top: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 255, 255, 0.54);
}
.showcase .data-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.showcase .data-table th, .showcase .data-table td{
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(24, 33, 40, 0.08);
  overflow-wrap: anywhere;
}
.showcase .data-table th{
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 248, 240, 0.94);
}
.showcase .data-table td{
  color: var(--muted);
  line-height: 1.55;
}
.showcase .data-table td:first-child{
  min-width: 220px;
  color: var(--text);
  font-weight: 600;
}
.showcase .data-table tr:last-child td{
  border-bottom: 0;
}
.showcase .optimizer-slider-grid{
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.showcase .optimizer-rank-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.showcase .optimizer-card{
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 252, 247, 0.88);
}
.showcase .optimizer-card-best{
  border-color: rgba(45, 122, 127, 0.22);
  box-shadow: inset 0 0 0 1px rgba(45, 122, 127, 0.12);
}
.showcase .optimizer-card h4{
  margin: 12px 0 8px;
}
.showcase .optimizer-score-track{
  height: 10px;
  margin: 14px 0;
  border-radius: 999px;
  background: rgba(24, 33, 40, 0.08);
  overflow: hidden;
}
.showcase .optimizer-score-fill{
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform-origin: left center;
  animation: sc-growX 680ms ease both;
}
.showcase .optimizer-metric-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.showcase .optimizer-metric-grid span, .showcase .execution-driver-card span, .showcase .execution-quote-meta, .showcase .filing-excerpt pre{
  color: var(--muted);
}
.showcase .optimizer-metric-grid strong{
  display: block;
  margin-top: 4px;
}
.showcase .equity-engine{
  display: grid;
  gap: 20px;
}
.showcase .equity-engine-grid{
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: stretch;
}
.showcase .equity-engine-chart-card{
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  overflow: hidden;
}
.showcase .equity-fan-svg{
  width: 100%;
  height: 100%;
  min-height: 520px;
  margin-top: 0;
  display: block;
}
.showcase .equity-band{
  fill: rgba(84, 119, 161, 0.16);
}
.showcase .equity-scenario, .showcase .equity-history, .showcase .equity-baseline, .showcase .equity-median, .showcase .equity-divider{
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.showcase .equity-scenario{
  stroke: rgba(24, 33, 40, 0.08);
  stroke-width: 1.2;
}
.showcase .equity-history{
  stroke: rgba(24, 33, 40, 0.72);
  stroke-width: 3;
}
.showcase .equity-baseline{
  stroke: rgba(184, 111, 79, 0.72);
  stroke-width: 2.2;
  stroke-dasharray: 7 6;
}
.showcase .equity-median{
  stroke: var(--teal);
  stroke-width: 3.2;
}
.showcase .equity-divider{
  stroke: rgba(24, 33, 40, 0.18);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
}
.showcase .execution-demo, .showcase .event-pull-demo{
  display: grid;
  gap: 16px;
}
.showcase .execution-toolbar{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}
.showcase .execution-grid{
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.9fr);
  gap: 16px;
  align-items: start;
}
.showcase .execution-output-card{
  display: grid;
  gap: 14px;
}
.showcase .execution-output-layout{
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.35fr);
  gap: 16px;
  align-items: start;
}
.showcase .execution-book-card{
  gap: 14px;
}
.showcase .execution-context-card, .showcase .execution-output-main{
  display: grid;
  gap: 16px;
  min-width: 0;
}
.showcase .execution-context-card{
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: linear-gradient(180deg, rgba(250, 252, 249, 0.96), rgba(244, 248, 243, 0.9));
}
.showcase .execution-context-metrics{
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}
.showcase .execution-inventory-list{
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.showcase .execution-inventory-row{
  display: grid;
  gap: 6px;
}
.showcase .execution-inventory-topline, .showcase .execution-inventory-meta{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.showcase .execution-inventory-topline span, .showcase .execution-inventory-topline strong{
  font-size: 0.95rem;
}
.showcase .execution-inventory-track{
  height: 10px;
  border-radius: 999px;
  background: rgba(24, 33, 40, 0.08);
  overflow: hidden;
}
.showcase .execution-inventory-fill{
  height: 100%;
  border-radius: 999px;
  background: var(--execution-fill, linear-gradient(90deg, rgba(84, 119, 161, 0.94), rgba(197, 156, 67, 0.88)));
  transform-origin: left center;
  animation: sc-growX 760ms ease both;
}
.showcase .execution-inventory-meta{
  color: var(--muted);
  font-size: 0.82rem;
  flex-wrap: wrap;
}
.showcase .execution-context-note{
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.86);
  border: 1px solid rgba(24, 33, 40, 0.06);
}
.showcase .execution-context-note strong{
  font-size: 0.95rem;
}
.showcase .execution-context-note span{
  color: var(--muted);
  line-height: 1.65;
}
.showcase .execution-run-shell, .showcase .execution-bundle-trace{
  display: grid;
  gap: 18px;
}
.showcase .execution-run-header{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 18px;
  align-items: flex-start;
}
.showcase .execution-progress-track{
  height: 12px;
  border-radius: 999px;
  background: rgba(24, 33, 40, 0.08);
  overflow: hidden;
}
.showcase .execution-progress-fill{
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(45, 122, 127, 0.92), rgba(197, 156, 67, 0.88));
  transform-origin: left center;
  animation: sc-growX 680ms ease both;
}
.showcase .execution-stage-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.showcase .execution-stage-list-compact{
  gap: 12px;
}
.showcase .execution-stage-card{
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 252, 247, 0.86);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}
.showcase .execution-stage-card h4{
  margin: 0;
  font-size: 1rem;
}
.showcase .execution-stage-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.showcase .execution-stage-card.is-active{
  border-color: rgba(45, 122, 127, 0.24);
  background: linear-gradient(180deg, rgba(248, 252, 250, 0.96), rgba(239, 246, 242, 0.92));
  box-shadow: inset 0 0 0 1px rgba(45, 122, 127, 0.1);
}
.showcase .execution-stage-card.is-done{
  border-color: rgba(114, 140, 99, 0.22);
  background: linear-gradient(180deg, rgba(250, 252, 248, 0.96), rgba(244, 247, 241, 0.9));
}
.showcase .execution-stage-card.is-pending{
  opacity: 0.82;
}
.showcase .execution-stage-topline{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.showcase .execution-stage-index, .showcase .execution-stage-status, .showcase .execution-stage-time{
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.showcase .execution-stage-index{
  color: var(--rust);
}
.showcase .execution-stage-status, .showcase .execution-stage-time{
  color: var(--muted);
}
.showcase .execution-summary-grid{
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.showcase .execution-summary-grid-book{
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 12px;
}
.showcase .execution-summary-grid-book .metric-card{
  padding: 13px 14px;
}
.showcase .execution-driver-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.showcase .execution-driver-card{
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 252, 247, 0.88);
}
.showcase .execution-driver-card p{
  margin: 8px 0 0;
}
.showcase .execution-quote-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.92rem;
}
.showcase .execution-loading{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
.showcase .loading-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  box-shadow: 0 0 0 8px rgba(45, 122, 127, 0.12);
  animation: sc-pulse 1s ease-in-out infinite;
}
.showcase .event-sample-card{
  display: grid;
  gap: 20px;
}
.showcase .filing-summary-grid, .showcase .filing-parsed-grid{
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.showcase .filing-excerpt{
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 252, 247, 0.86);
}
.showcase .filing-excerpt pre{
  margin: 12px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--mono-font);
  font-size: 0.9rem;
  line-height: 1.7;
}
.showcase .filing-form-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.showcase .filing-form-card{
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 33, 40, 0.08);
  background: rgba(255, 252, 247, 0.84);
}
.showcase .filing-form-card strong{
  font-family: var(--mono-font);
  font-size: 0.92rem;
}
.showcase .filing-form-card span{
  color: var(--muted);
  line-height: 1.65;
}
@keyframes sc-pulse{
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.14);
    opacity: 0.72;
  }
}
@keyframes sc-growX{
  0% {
    transform: scaleX(0.08);
    opacity: 0.2;
  }

  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}
@keyframes sc-growY{
  0% {
    transform: scaleY(0.08);
    opacity: 0.2;
  }

  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}
@keyframes sc-scrollPreviewBars{
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-33.333%);
  }
}
@keyframes sc-previewProbabilityFloat{
  0% {
    transform: scaleY(0.95);
  }

  100% {
    transform: scaleY(var(--preview-float-scale, 1.06));
  }
}
@keyframes sc-previewBarDrift{
  0% {
    transform: scaleX(0.72);
    opacity: 0.76;
  }

  100% {
    transform: scaleX(var(--preview-float-scale, 1.06));
    opacity: 1;
  }
}
@keyframes sc-allocationWheelDrift{
  0% {
    transform: rotate(-8deg) scale(0.97);
  }

  100% {
    transform: rotate(9deg) scale(1.04);
  }
}
@keyframes sc-previewTagRefresh{
  0% {
    transform: translateY(4px);
    opacity: 0.24;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes sc-spinGear{
  from {
    transform: translateX(var(--gear-shift, 0)) rotate(0deg);
  }

  to {
    transform: translateX(var(--gear-shift, 0)) rotate(360deg);
  }
}
@keyframes sc-spinGearReverse{
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}
@keyframes sc-sectionFlash{
  0% {
    opacity: 0.72;
    transform: translateY(16px);
  }

  55% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sc-panelRefresh{
  0% {
    opacity: 0.48;
    transform: translateY(18px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1080px){.showcase .featured-grid, .showcase .story-grid, .showcase .systems-grid, .showcase .skills-grid{
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
.showcase .showcase-shell, .showcase .showcase-module-area, .showcase .project-panel-top, .showcase .project-panel-body, .showcase .etf-summary-card, .showcase .allocation-card-grid, .showcase .etf-layout{
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
.showcase .showcase-module-controls{
    justify-self: stretch;
    width: 100%;
  }
.showcase .showcase-sidebar{
    position: static;
  }
.showcase .etf-demo-shell, .showcase .etf-summary-card{
    grid-template-columns: 1fr;
  }
.showcase .etf-control-grid, .showcase .etf-slider-grid, .showcase .probability-slider-grid, .showcase .optimizer-slider-grid, .showcase .etf-results-grid, .showcase .probability-grid, .showcase .execution-output-layout, .showcase .optimizer-rank-grid, .showcase .execution-grid, .showcase .equity-engine-grid, .showcase .execution-driver-grid, .showcase .filing-summary-grid, .showcase .filing-parsed-grid{
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }}
@media (min-width: 761px) and (max-width: 1080px){.showcase .featured-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
.showcase .feature-card{
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 20px;
    align-content: start;
  }
.showcase .feature-card-visual{
    min-height: 116px;
    padding: 10px;
  }
.showcase .feature-card-visual > *{
    width: min(100%, 300px);
  }
.showcase .feature-card h3{
    font-size: 1.32rem;
  }
.showcase .feature-card p{
    margin: 10px 0 14px;
    font-size: 0.94rem;
  }
.showcase .feature-meta{
    gap: 12px;
    align-items: start;
    justify-content: flex-start;
    font-size: 0.86rem;
  }
.showcase .feature-meta span{
    width: 100%;
  }
.showcase .system-summary-copy h3{
    font-size: 1.2rem;
  }
.showcase .system-summary-copy p{
    font-size: 0.93rem;
  }}
@media (min-width: 761px) and (max-width: 900px){.showcase .featured-grid{
    grid-template-columns: 1fr;
  }}
@media (max-width: 760px){.showcase .project-panel-header h3{
    max-width: none;
  }
.showcase .featured-grid, .showcase .story-grid, .showcase .systems-grid, .showcase .skills-grid, .showcase .state-demo, .showcase .event-demo{
    grid-template-columns: 1fr;
  }
.showcase .feature-card, .showcase .system-summary, .showcase .headline-summary, .showcase .options-structure-grid, .showcase .probability-slider-grid, .showcase .probability-grid, .showcase .allocation-card-body, .showcase .execution-output-layout, .showcase .execution-summary-grid, .showcase .execution-driver-grid, .showcase .optimizer-rank-grid, .showcase .optimizer-metric-grid, .showcase .equity-engine-grid, .showcase .etf-control-grid, .showcase .etf-slider-grid, .showcase .optimizer-slider-grid, .showcase .filing-summary-grid, .showcase .filing-parsed-grid{
    grid-template-columns: 1fr;
  }
.showcase .story-link-label{
    margin-top: 14px;
  }
.showcase .project-panel-header, .showcase .project-panel-body, .showcase .system-card, .showcase .skill-card, .showcase .demo-root{
    padding-left: 18px;
    padding-right: 18px;
  }
.showcase .project-demo-shell{
    gap: 10px;
  }
.showcase .equity-fan-svg{
    min-height: 360px;
  }
.showcase .demo-header, .showcase .execution-toolbar, .showcase .etf-actions{
    display: grid;
    justify-items: start;
  }
.showcase .etf-demo-shell{
    grid-template-columns: 1fr;
  }
.showcase .calibration-bars{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 22px;
  }
.showcase .preview-runtime{
    min-height: 92px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }
.showcase .preview-runtime.preview-panel{
    min-height: 188px;
    max-width: 100%;
  }
.showcase .preview-gears{
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
.showcase .preview-runtime.preview-panel .preview-gear-large{
    --gear-shift: -36%;
    width: 128px;
    height: 128px;
    top: 16px;
  }
.showcase .preview-runtime.preview-panel .preview-gear-medium{
    width: 92px;
    height: 92px;
    left: calc(50% - 96px);
    top: 92px;
  }
.showcase .preview-runtime.preview-panel .preview-gear-small{
    width: 64px;
    height: 64px;
    left: calc(50% + 8px);
    top: 114px;
  }
.showcase .etf-bar-row{
    grid-template-columns: 1fr;
  }
.showcase .etf-bar-values{
    justify-content: flex-start;
  }
.showcase .scenario-bar-row, .showcase .options-bar-row{
    grid-template-columns: 1fr;
  }}

/* ---------- porcelain remap for the ported modules ---------- */
.showcase{
  --bg:#F1F2EC; --bg-soft:#FBFAF5; --panel:#FBFAF5; --panel-strong:#FFFFFF; --panel-muted:#ECEFE6;
  --text:#121A2E; --muted:#3F4A66; --line:rgba(31,58,147,.2);
  --shadow:0 14px 22px -14px rgba(20,30,70,.5);
  --radius-xl:6px; --radius-lg:6px; --radius-md:4px; --radius-sm:3px;
  --sage:#4E7A5A; --rust:#A4471F; --teal:#2F6450; --gold:#9A6A0C; --blue:#1F3A93; --plum:#6A3D63;
  --heading-font:"Noto Serif SC","Songti SC",serif; --ui-font:"IBM Plex Mono",ui-monospace,monospace; --mono-font:"IBM Plex Mono",ui-monospace,monospace;
  font-family:var(--ui-font);color:var(--text);font-size:14.5px;line-height:1.6
}
.showcase .feature-card,.showcase .project-panel,.showcase .showcase-module-area,.showcase .system-card{
  border:1.5px solid #1F3A93;box-shadow:var(--shadow);filter:brightness(var(--card-dim,1));background:var(--panel)}
.showcase h3,.showcase h4{font-family:var(--heading-font);color:#1F3A93}
.showcase button,.showcase select,.showcase input{font-family:var(--ui-font)}
.showcase .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 30px}
.showcase .feature-card{grid-template-columns:minmax(150px,.45fr) minmax(0,1fr);padding:24px}
.showcase .feature-card-visual{border-radius:4px}
.showcase *{text-transform:none !important;letter-spacing:normal}
.showcase .feature-family,.showcase .system-family,.showcase .sidebar-label,.showcase .copy-label{font-size:12.5px;color:#33468C}
@media (max-width:860px){
  .showcase .featured-grid{grid-template-columns:minmax(0,1fr)}
  .showcase .feature-card{grid-template-columns:minmax(0,1fr)}
  .showcase .feature-card:nth-child(n){transform:none}
}
@media (max-width:860px){
  .showcase .featured-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;padding:6px 4px 18px;margin:0 -4px;scrollbar-width:thin}
  .showcase .featured-grid>*{flex:0 0 84%;scroll-snap-align:start}
  .showcase .feature-card-visual{min-height:110px;max-height:170px}
  .showcase .project-panel{padding:18px}
}

/* ---------- tidy pass: no tilt, steady text, wide tool cards ---------- */
.showcase .feature-card,.showcase .system-card{transform:none}
.showcase .feature-card:hover,.showcase .feature-card:focus-visible{transform:translateY(-2px)}
.showcase .feature-card h3{font-size:22px;line-height:1.25}
.showcase .feature-impact{font-size:14px;line-height:1.6}
.showcase .feature-meta{font-size:13px;color:#3F4A66}
.showcase .feature-family{display:block;margin-bottom:2px}
.showcase .system-family:empty{display:none}
.showcase .systems-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.showcase .system-card{padding:0}
.showcase .system-summary{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:18px;align-items:center;padding:22px 24px}
.showcase .system-summary-copy h3,.showcase .system-summary-copy h4{font-size:19px;margin:0 0 6px}
.showcase .system-summary-copy p{font-size:14px;line-height:1.55;margin:0}
.showcase .system-summary-side{display:grid;gap:10px;justify-items:center}
@media (max-width:860px){
  .showcase .systems-grid{grid-template-columns:minmax(0,1fr)}
  .showcase .system-summary{grid-template-columns:minmax(0,1fr) 110px;padding:18px}
}
@media (max-width:480px){.showcase .system-summary{grid-template-columns:minmax(0,1fr)}.showcase .system-summary-side{justify-items:start}}
.showcase .feature-card .feature-family{display:none}
.showcase .feature-card-visual .preview-gears{transform:scale(.72);transform-origin:center}
.showcase .feature-card-visual{justify-content:center;overflow:hidden}
@media (max-width:1080px){
  .showcase .project-panel-top,.showcase .project-panel-body,.showcase .etf-layout,.showcase .etf-summary-card,.showcase .allocation-card-grid{grid-template-columns:minmax(0,1fr)}
  .showcase .etf-results-grid,.showcase .execution-grid,.showcase .equity-engine-grid,.showcase .probability-grid,.showcase .execution-output-layout{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}
}
@media (max-width:1080px){.showcase .showcase-shell,.showcase .showcase-module-area{grid-template-columns:minmax(0,1fr)}}
/* allocation results: full-width scenario + market read, no dead space */
.showcase .etf-wide-grid{grid-template-columns:minmax(0,1fr) !important}
.showcase .scenario-surface .scenario-bar-list{display:grid;gap:10px}
.showcase .scenario-surface .scenario-bar-row{display:grid;grid-template-columns:minmax(110px,180px) minmax(0,1fr) 72px;gap:14px;align-items:center}
.showcase .scenario-surface .scenario-track{height:12px;width:100%}
.showcase .scenario-surface .scenario-value{text-align:right;font-variant-numeric:tabular-nums}
.showcase .market-surface .headline-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.showcase .market-surface .metric-card{min-width:0}
@media (max-width:640px){.showcase .market-surface .headline-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.showcase .scenario-surface .scenario-bar-row{grid-template-columns:minmax(90px,120px) minmax(0,1fr) 60px;gap:10px}}
/* filing monitor: fixed footprint, nothing reflows when a pull lands */
.showcase .event-demo{grid-template-columns:repeat(2,minmax(0,1fr))}
.showcase .event-demo > .event-card:nth-child(3){grid-column:1 / -1}
.showcase .event-demo .filing-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.showcase .event-demo .filing-form-card{min-height:128px}
.showcase .event-sample-card{min-height:700px;display:flex;flex-direction:column}
.showcase .filing-summary-grid,.showcase .filing-parsed-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:12px}
.showcase .filing-summary-grid .metric-card,.showcase .filing-parsed-grid .metric-card{height:96px;min-width:0;overflow:hidden}
.showcase .filing-summary-grid .metric-card strong,.showcase .filing-parsed-grid .metric-card strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:18px;line-height:1.25}
.showcase .filing-excerpt{height:190px;overflow:auto}
.showcase .filing-excerpt *{overflow-wrap:anywhere}
@media (max-width:1080px){
  .showcase .event-demo .filing-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .showcase .event-sample-card{min-height:880px}
}
@media (max-width:640px){
  .showcase .event-demo{grid-template-columns:minmax(0,1fr)}
  .showcase .event-demo .filing-form-grid{grid-template-columns:minmax(0,1fr)}
  .showcase .filing-summary-grid,.showcase .filing-parsed-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .showcase .event-sample-card{min-height:1080px}
}

.showcase .etf-wide-zone{display:grid;gap:16px;margin-top:16px}
.showcase .etf-wide-zone .etf-wide-grid{margin:0}
/* current mix: donut above the legend so long values never spill */
.showcase .etf-results-grid .allocation-card-body{grid-template-columns:minmax(0,1fr) !important;justify-items:center;gap:14px}
.showcase .etf-results-grid .allocation-list{width:100%;min-width:0}
.showcase .etf-results-grid .allocation-row{grid-template-columns:auto minmax(0,1fr) auto;column-gap:10px}
.showcase .etf-results-grid .allocation-row strong{white-space:nowrap}

/* filing preview: the shuffling codes always sit on exactly four lines */
.showcase .preview-event-tags{display:grid;grid-template-rows:repeat(4,28px);grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px;height:calc(4 * 28px + 3 * 8px);overflow:hidden}
.showcase .preview-event-tags span{min-width:0;height:28px;justify-content:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex}

/* CJK fallback for the ported modules */
html:lang(zh-Hans) .showcase{--heading-font:"Noto Serif SC","Noto Serif SC Text",serif;--ui-font:"IBM Plex Mono","Noto Serif SC Text",ui-monospace,monospace;--mono-font:"IBM Plex Mono","Noto Serif SC Text",ui-monospace,monospace}
html:lang(zh-Hant-HK) .showcase{--heading-font:"Noto Serif SC","Noto Serif TC Text",serif;--ui-font:"IBM Plex Mono","Noto Serif TC Text",ui-monospace,monospace;--mono-font:"IBM Plex Mono","Noto Serif TC Text",ui-monospace,monospace}

/* ---------- porcelain pass: blue-and-white ware, not a dashboard ----------
   square corners, the site's double rule, flat glazes, stamped labels instead of pills */
.showcase{--radius-xl:2px;--radius-lg:2px;--radius-md:1px;--radius-sm:1px;
  --glaze-cobalt:#1F3A93;--glaze-celadon:#7FA58E;--glaze-ochre:#B98A2E;--glaze-iron:#A4471F;--glaze-paper:#F3F1E8;--hair:rgb(31 58 147 / .38)}
.showcase .feature-card,.showcase .project-panel,.showcase .system-card,.showcase .showcase-module-area{position:relative;border-radius:0;border:1.5px solid var(--glaze-cobalt);border-top-width:1.5px;background:var(--card,#FBFAF5);box-shadow:var(--shadow)}
.showcase .feature-card::before,.showcase .project-panel::before,.showcase .system-card::before{content:"";position:absolute;inset:4px;border:.75px solid rgb(31 58 147 / .5);pointer-events:none;z-index:0}
.showcase .feature-card::after,.showcase .project-panel::after{display:none}
.showcase .feature-card>*,.showcase .project-panel>*,.showcase .system-card>*{position:relative;z-index:1}
/* accent: a glaze chip in the corner instead of a coloured top bar */
.showcase .feature-card,.showcase .project-panel-header{border-top-color:var(--glaze-cobalt) !important}
.showcase .feature-card{--chip:var(--glaze-cobalt)}
.showcase .feature-card.accent-gold{--chip:var(--glaze-ochre)}.showcase .feature-card.accent-teal,.showcase .feature-card.accent-sage{--chip:var(--glaze-celadon)}
.showcase .feature-card.accent-rust{--chip:var(--glaze-iron)}.showcase .feature-card.accent-plum{--chip:#6A3D63}
.showcase .feature-card .feature-card-inner::before{content:"";display:block;width:22px;height:5px;background:var(--chip);margin-bottom:12px}
.showcase .feature-card:hover,.showcase .feature-card:focus-visible{transform:translateY(-2px);box-shadow:0 18px 22px -14px rgba(20,30,70,.55)}
/* preview wells: a glazed plate with a cobalt double ring */
.showcase .feature-card-visual,.showcase .project-panel-visual{border-radius:0 !important;padding:9px !important;background:var(--glaze-paper) !important;border:0 !important;
  box-shadow:inset 0 0 0 1px var(--hair),inset 0 0 0 5px var(--glaze-paper),inset 0 0 0 6px rgb(31 58 147 / .55) !important}
/* every inner surface: paper and a hairline, no soft rounded boxes or washes */
.showcase .demo-root,.showcase .execution-context-card,.showcase .execution-stage-card,.showcase .execution-context-note,.showcase .probability-contract-note,
.showcase .table-wrap,.showcase .preview-document,
.showcase [class*="-card"]:not(.feature-card):not(.system-card):not(.preview-card):not(.allocation-wheel):not(.feature-card-visual),.showcase .scenario-surface,.showcase .market-surface{border-radius:0 !important;background-image:none !important;box-shadow:none !important}
.showcase .execution-stage-card.is-active{box-shadow:inset 3px 0 0 var(--glaze-cobalt) !important;background:#F3F5FB !important}
/* buttons and tabs: blue-and-white, no pills, no gradients */
.showcase .etf-tab,.showcase .options-tab,.showcase .lens-chip,.showcase .project-list button,.showcase .demo-root button:not(.feature-card){border-radius:0 !important;background:#FBFAF5 !important;background-image:none !important;
  border:1px solid var(--hair) !important;box-shadow:none !important;color:#1F3A93 !important}
.showcase .etf-tab:hover,.showcase .options-tab:hover,.showcase .lens-chip:hover,.showcase .demo-root button:not(.feature-card):hover{border-color:#1F3A93 !important}
.showcase .etf-tab.is-active,.showcase .options-tab.is-active,.showcase .lens-chip.is-active,.showcase .project-list .is-active,.showcase .demo-root button.is-active{background:#1F3A93 !important;color:#FBFAF5 !important;border-color:#1F3A93 !important}
.showcase select.project-select,.showcase .demo-root select,.showcase .demo-root input{border-radius:0 !important;box-shadow:none !important;background:#FBFAF5;border:1px solid var(--hair)}
/* chips and badges: small stamped labels */
.showcase .soft-chip,.showcase .artifact-pill,.showcase .headline-badge,.showcase .is-refreshing{border-radius:0 !important;background:transparent !important;border:1px solid var(--hair) !important;box-shadow:none !important}
.showcase .soft-chip-strong{border-color:#1F3A93 !important;color:#1F3A93}
.showcase .headline-badge.score-negative{border-color:var(--glaze-iron) !important;color:var(--glaze-iron)}
/* bars: flat glaze on a hairline track */
.showcase .exposure-track,.showcase .scenario-track,.showcase .execution-progress-track,.showcase .execution-inventory-track,.showcase .preview-greek-track,.showcase .preview-allocation-track{border-radius:0 !important;background:#ECEBE3 !important;box-shadow:inset 0 0 0 1px rgb(31 58 147 / .18) !important}
.showcase .exposure-fill,.showcase .scenario-fill,.showcase .execution-progress-fill,.showcase .execution-inventory-fill,.showcase .preview-greek-track>*,.showcase .preview-allocation-track>*{border-radius:0 !important;background-image:none !important;background-color:var(--glaze-cobalt) !important}
.showcase .probability-fill-tail,.showcase .score-negative .scenario-fill{background-color:var(--glaze-iron) !important}
.showcase .probability-fill-benign{background-color:var(--glaze-celadon) !important}
.showcase .preview-probability-bar.is-yes{background:var(--glaze-cobalt) !important}.showcase .preview-probability-bar.is-no{background:var(--glaze-ochre) !important}
.showcase .preview-probability-bar,.showcase .preview-document-line,.showcase .pipeline-step-index{border-radius:0 !important}
.showcase .preview-document-line{background-image:none !important;background-color:rgb(31 58 147 / .28) !important}
/* the gears: painted cobalt on white, like underglaze, not chrome */
.showcase .preview-gear{background-image:none !important;background-color:#FBFAF5 !important;box-shadow:inset 0 0 0 3px #1F3A93,inset 0 0 0 7px #FBFAF5,inset 0 0 0 8px rgb(31 58 147 / .6) !important;
  border-color:#1F3A93 !important}
.showcase .preview-gear::before{background:repeating-conic-gradient(from 0deg,#1F3A93 0deg 12deg,transparent 12deg 18deg,#1F3A93 18deg 30deg) !important}
.showcase .preview-gear::after{background:#FBFAF5 !important;border:2px solid #1F3A93 !important;box-shadow:inset 0 0 0 3px #FBFAF5,inset 0 0 0 4px rgb(31 58 147 / .5) !important}
.showcase .loading-dot{background-image:none !important;background:var(--glaze-cobalt) !important;box-shadow:none !important}
.showcase .allocation-wheel{box-shadow:none !important}
html[data-theme="dark"] .showcase{--glaze-paper:#E4E2D8}
.showcase .feature-card-visual>.preview-card{background:transparent !important;box-shadow:none !important;border:0 !important}
/* system previews as underglaze sketches */
.showcase .system-preview{border-radius:0 !important;background:var(--glaze-paper) !important;box-shadow:inset 0 0 0 1px var(--hair),inset 0 0 0 4px var(--glaze-paper),inset 0 0 0 5px rgb(31 58 147 / .45) !important;border:0 !important}
.showcase .mini-window{border-radius:0 !important;background:#FBFAF5 !important;border:1.5px solid #1F3A93 !important;box-shadow:none !important}
.showcase .mini-window-top{border-radius:0 !important;background:#1F3A93 !important;background-image:none !important}
.showcase .mini-window-body span{border-radius:0 !important;background:transparent !important;border:1px solid rgb(31 58 147 / .45) !important}
.showcase .mini-bars span{border-radius:0 !important;background:#1F3A93 !important;background-image:none !important}
.showcase .mini-bars span:nth-child(2n){background:var(--glaze-celadon) !important}
.showcase .surface-cell,.showcase .matrix-cell{border-radius:0 !important;background:#1F3A93 !important;background-image:none !important}
.showcase .mini-line{stroke:#1F3A93 !important}.showcase .mini-line-alt{stroke:var(--glaze-ochre) !important}.showcase .mini-dot{fill:#1F3A93 !important}
@media (max-width:860px){.showcase .feature-card-visual{max-height:240px !important;min-height:150px}}

/* ---------- risk lab: drawdown paths + tail measurement (underglaze charts) ---------- */
.showcase .rl-demo{display:grid;gap:16px}
.showcase .rl-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.showcase .rl-wide{grid-column:1 / -1}
.showcase .rl-svg{display:block;width:100%;height:auto;margin-top:8px}
.showcase .rl-grid{stroke:rgb(31 58 147 / .14);stroke-width:1}
.showcase .rl-axis{font:11px var(--mono-font);fill:#55618A}
.showcase .rl-row{font:12px var(--mono-font);fill:#1F3A93}
.showcase .rl-band-outer{fill:rgb(31 58 147 / .10)}
.showcase .rl-band-inner{fill:rgb(31 58 147 / .20)}
.showcase .rl-sample{fill:none;stroke:rgb(31 58 147 / .32);stroke-width:1}
.showcase .rl-hist{fill:none;stroke:#121A2E;stroke-width:1.6}
.showcase .rl-median{fill:none;stroke:#1F3A93;stroke-width:2.2}
.showcase .rl-now{stroke:#121A2E;stroke-width:1;stroke-dasharray:2 3}
.showcase .rl-dd-outer{fill:rgb(164 71 31 / .12)}
.showcase .rl-dd-inner{fill:rgb(31 58 147 / .22)}
.showcase .rl-zero{stroke:#121A2E;stroke-width:1}
.showcase .rl-limit{stroke:#A4471F;stroke-width:1.6;stroke-dasharray:6 4}
.showcase .rl-limit-text{font:11px var(--mono-font);fill:#A4471F}
.showcase .rl-bar{fill:#1F3A93}
.showcase .rl-bar-breach{fill:#A4471F}
.showcase .rl-dot{fill:#121A2E}
.showcase .rl-normal{fill:none;stroke:#B98A2E;stroke-width:2}
.showcase .rl-evt{fill:none;stroke:#1F3A93;stroke-width:2.2}
.showcase .rl-truth{fill:none;stroke:#2F6450;stroke-width:2;stroke-dasharray:5 4}
.showcase .rl-level{stroke:#A4471F;stroke-width:1;stroke-dasharray:3 4}
.showcase .rl-sdot{opacity:.55}
.showcase .rl-sdot.rl-normal{fill:#B98A2E;stroke:none}.showcase .rl-sdot.rl-hist{fill:#121A2E;stroke:none}.showcase .rl-sdot.rl-evt{fill:#1F3A93;stroke:none}
.showcase .rl-range{stroke-width:7;opacity:.18}
.showcase .rl-range.rl-normal{stroke:#B98A2E}.showcase .rl-range.rl-hist{stroke:#121A2E}.showcase .rl-range.rl-evt{stroke:#1F3A93}
.showcase .rl-med{stroke:#121A2E;stroke-width:2}
.showcase .rl-truth-line{stroke:#2F6450;stroke-width:2;stroke-dasharray:5 4}
.showcase .rl-ref-line{stroke:#55618A;stroke-width:1.5;stroke-dasharray:2 3}
.showcase .rl-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font:12px var(--mono-font);color:#3F4A66;margin-top:8px}
.showcase .rl-legend span::before{content:"";display:inline-block;width:16px;height:0;border-top:2px solid;vertical-align:middle;margin-right:6px}
.showcase .rl-legend .k-dot::before{width:6px;height:6px;border:0;border-radius:50%;background:#121A2E}
.showcase .rl-legend .k-normal::before{border-color:#B98A2E}.showcase .rl-legend .k-evt::before{border-color:#1F3A93}
.showcase .rl-legend .k-truth::before{border-top:2px dashed #2F6450}.showcase .rl-legend .k-level::before{border-top:1px dashed #A4471F}
.showcase .rl-metrics{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
.showcase .rl-metrics .metric-card{min-width:0}
.showcase .rl-note{display:block;font-style:normal;font-size:12px;color:#55618A;margin-top:4px;line-height:1.4}
.showcase .rl-foot{font-size:12.5px;color:#55618A}
@media (max-width:860px){.showcase .rl-grid2{grid-template-columns:minmax(0,1fr)}.showcase .rl-metrics{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
/* card previews */
.showcase .preview-rl{width:100%;height:100%;display:grid;place-items:center}
.showcase .preview-rl svg{width:100%;max-width:150px;height:auto;overflow:visible}
.showcase .preview-rl .pv-band{fill:rgb(31 58 147 / .12)}
.showcase .preview-rl .pv-path{fill:none;stroke:#1F3A93;stroke-width:1.1;opacity:.7}
.showcase .preview-rl .pv-rule{stroke:rgb(31 58 147 / .3);stroke-width:1}
.showcase .preview-rl .pv-dd{fill:rgb(31 58 147 / .2)}
.showcase .preview-rl .pv-dd-mid{fill:none;stroke:#1F3A93;stroke-width:1.6}
.showcase .preview-rl .pv-limit{stroke:#A4471F;stroke-width:1.4;stroke-dasharray:4 3}
.showcase .preview-rl .pv-normal{fill:none;stroke:#B98A2E;stroke-width:1.8}
.showcase .preview-rl .pv-evt{fill:none;stroke:#1F3A93;stroke-width:2}
.showcase .preview-rl .pv-dot{fill:#121A2E}
.showcase .rl-grid2.rl-uneven{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
.showcase .rl-metrics .metric-card strong{font-size:22px;line-height:1.2}
.showcase .rl-metrics .metric-card span{font-size:12.5px;line-height:1.35}
@media (max-width:860px){.showcase .rl-grid2.rl-uneven{grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){
  .showcase .rl-demo .options-chart-card{padding:14px 10px !important}
  .showcase .rl-axis{font-size:12px}
}
@media (max-width:480px){.showcase .rl-metrics{grid-template-columns:minmax(0,1fr) !important}}
@media (max-width:600px){
  .showcase .project-panel{padding:12px !important}
  .showcase .project-panel-body,.showcase .project-panel-body-compact{padding:8px 0 !important}
  .showcase .demo-root{padding:6px !important}
}

/* ---------- Full-width flex grids & centered prose for /demos ---------- */
@media (min-width:861px){
  .showcase .featured-grid{display:flex;flex-wrap:wrap;gap:34px 30px}
  .showcase .featured-grid>*{flex:1 1 420px;display:grid}
  .showcase .systems-grid{display:flex;flex-wrap:wrap;gap:24px;align-items:stretch}
  .showcase .systems-grid>*{flex:1 1 420px}
}
.showcase .project-panel-header h3,.showcase .project-panel-header p{max-width:none}
.showcase .rl-metrics{display:flex !important;flex-wrap:wrap;gap:12px}
.showcase .rl-metrics .metric-card{flex:1 1 200px}
