/* Studio presentation: original cream/gold theme, content and layout retained.
   Motion belongs to the GSAP controllers; these are stable material surfaces. */
.research-showcase.studio-ui {
  --studio-paper: #fffdf8;
  --studio-shell: #f1ece2;
  --studio-hairline: rgba(116, 91, 48, .16);
  --studio-brass: #a8782f;
  --studio-shadow: 0 2px 3px rgba(63, 45, 21, .025), 0 18px 38px -28px rgba(63, 45, 21, .26);
  background: radial-gradient(ellipse at 86% 0%, #eee0c7 0%, transparent 34%), #f4efe7;
}
.research-showcase.studio-ui .studio-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Navigation reads as a clean, quiet product bar. */
.research-showcase.studio-ui .showcase-nav {
  background: rgba(244, 239, 231, .97);
  border-color: rgba(116, 91, 48, .12);
  box-shadow: 0 1px 0 rgba(255, 253, 248, .88);
}
.research-showcase.studio-ui .brand-emblem {
  border: 1px solid rgba(239, 206, 149, .32);
  background: linear-gradient(145deg, #302c24, #181713);
  box-shadow: inset 0 1px 0 rgba(255, 239, 205, .12), 0 5px 9px -6px rgba(49, 33, 9, .5);
}
.research-showcase.studio-ui .showcase-links a[aria-current] {
  background: #fffaf0;
  box-shadow: inset 0 0 0 1px rgba(156, 118, 54, .14), 0 2px 4px rgba(85, 61, 24, .03);
}
.research-showcase.studio-ui .showcase-links a[data-evaluation-workbench] {
  background: rgba(255, 253, 248, .6);
  border-color: var(--studio-hairline);
}

/* The opening scene keeps its four-card composition, now with precise framing. */
.research-showcase.studio-ui .hero::before { opacity: .34; }
.research-showcase.studio-ui .hero::after { opacity: .6; }
.research-showcase.studio-ui .hero-badges span {
  padding: 8px 12px;
  border-color: rgba(134, 104, 57, .15);
  background: rgba(255, 253, 248, .7);
  box-shadow: inset 0 1px 0 #fffdf8, 0 3px 6px -4px rgba(83, 56, 17, .16);
}
.research-showcase.studio-ui .story-steps { gap: 14px; }
.research-showcase.studio-ui .story-steps::before { border-left-style: solid; border-color: rgba(175, 128, 48, .24); }
.research-showcase.studio-ui .story-steps li {
  min-height: 94px;
  padding: 20px 22px;
  gap: 17px;
  border-radius: 18px;
  border-color: rgba(161, 123, 63, .19);
  background: linear-gradient(125deg, #fffefb 0%, #fffaf0 64%, #f4e9d5 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(154, 117, 58, .06), 0 3px 4px -2px rgba(58, 41, 15, .06), 0 22px 34px -24px rgba(74, 49, 12, .42);
  rotate: none;
  translate: none;
  transform-origin: 20% 50%;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.research-showcase.studio-ui .story-steps li::after { display: none; }
.research-showcase.studio-ui .story-steps li::before {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5c58e 30%, #fff 65%, transparent);
}
.research-showcase.studio-ui .story-steps li > span:first-child {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(145deg, #fff9e9, #ecd5ac);
  border-color: rgba(169, 123, 48, .2);
  color: #8b6023;
  box-shadow: inset 0 1px 0 #fffdf2, 0 5px 10px -7px rgba(122, 83, 23, .4);
}
.research-showcase.studio-ui .studio-step-medallion { position: relative; }
.research-showcase.studio-ui .studio-step-medallion .studio-icon { width: 22px; height: 22px; }
.research-showcase.studio-ui .studio-step-number {
  position: absolute;
  right: 4px;
  bottom: 3px;
  font-size: .5625rem;
  line-height: 1;
  font-weight: 500;
  color: #947243;
  font-variant-numeric: tabular-nums;
}
.research-showcase.studio-ui .story-steps strong { font-size: 1.0625rem; letter-spacing: -.02em; }
.research-showcase.studio-ui .story-steps small { font-size: .875rem; color: #746954; line-height: 1.6; }
.research-showcase.studio-ui .studio-card-index {
  position: absolute;
  right: 15px;
  top: 11px;
  color: #a38c64;
  font-size: .6875rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .05em;
}
.research-showcase.studio-ui .studio-card-topline {
  position: absolute;
  inset: 0 20px auto;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #d5ad67, #fffdf3, transparent);
}

/* Framed workspaces and purposeful input surfaces; no extra nesting or copy. */
.research-showcase.studio-ui .panel {
  border-color: rgba(129, 104, 65, .14);
  background: linear-gradient(145deg, #fffcf6, #fbf7ef);
  box-shadow: inset 0 1px 0 #fffefa, 0 3px 5px -3px rgba(70, 49, 16, .06), 0 34px 70px -49px rgba(70, 49, 16, .26);
}
.research-showcase.studio-ui .panel-heading { border-color: rgba(129, 104, 65, .14); }
.research-showcase.studio-ui .panel-heading h2 { line-height: 1.14; }
.research-showcase.studio-ui .demo-request {
  background: rgba(255, 253, 249, .82);
  border-color: rgba(129, 104, 65, .14);
  box-shadow: inset 0 1px 0 #fff;
}
.research-showcase.studio-ui .demo-request.is-active {
  background: linear-gradient(115deg, #f4e6c9, #fffaf0 80%);
  border-color: rgba(167, 118, 38, .44);
  box-shadow: inset 0 1px 0 #fff7e6, inset 3px 0 0 #b58c48, 0 10px 22px -18px rgba(112, 74, 18, .38);
}
.research-showcase.studio-ui :is(input, select, textarea) {
  border-color: rgba(128, 111, 84, .22);
  background-color: #fffefa;
  box-shadow: inset 0 2px 4px rgba(87, 68, 37, .025), 0 1px 0 rgba(255, 255, 255, .85);
}
.research-showcase.studio-ui :is(input, select, textarea):focus {
  border-color: #b58c48;
  box-shadow: 0 0 0 4px rgba(192, 148, 73, .11), inset 0 1px 2px rgba(87, 68, 37, .025);
}
.research-showcase.studio-ui .primary-button {
  border: 1px solid #353025;
  background: linear-gradient(135deg, #363024, #1c1a17 72%);
  color: #fffaf1;
  box-shadow: inset 0 1px 0 rgba(255, 231, 188, .2), 0 4px 7px -4px rgba(46, 33, 12, .3), 0 14px 25px -18px rgba(46, 33, 12, .65);
}
.research-showcase.studio-ui :is(.ghost-button,.favorite-asset-button,.secondary-button) {
  border-color: rgba(138, 111, 68, .2);
  background: rgba(255, 253, 248, .72);
  box-shadow: inset 0 1px 0 #fffefb;
}
.research-showcase.studio-ui .favorite-asset-button.is-active {
  color: #fffaf1;
  background: #322d23;
  border-color: #322d23;
}

/* Price is the primary readout. The chart gains a crisp plotting frame. */
.research-showcase.studio-ui .market-quote-heading {
  border-radius: 20px;
  border-color: rgba(167, 126, 61, .3);
  background: radial-gradient(ellipse at 95% 0%, rgba(220, 183, 112, .22), transparent 59%), linear-gradient(125deg, #fffef9, #f6ecd9);
  box-shadow: inset 0 1px 0 #fff, 0 5px 8px -6px rgba(87, 59, 20, .15), 0 23px 38px -29px rgba(87, 59, 20, .32);
}
.research-showcase.studio-ui .quote-mark,
.research-showcase.studio-ui .company-mark {
  background: linear-gradient(140deg, #3f372a, #1c1a17 75%);
  border: 1px solid rgba(220, 180, 108, .36);
  box-shadow: inset 0 1px 0 rgba(255, 234, 194, .18), 0 6px 10px -6px rgba(42, 29, 10, .5);
}
.research-showcase.studio-ui .quote-card-value { padding: 7px 0; }
.research-showcase.studio-ui .quote-card-value > strong { letter-spacing: -.06em; }
.research-showcase.studio-ui .quote-card-foot { border-color: rgba(137, 105, 57, .14); }
.research-showcase.studio-ui .price-chart-card {
  background: #fffefa;
  border: 1px solid rgba(132, 110, 75, .18);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 #fff, var(--studio-shadow);
}
.research-showcase.studio-ui .price-chart-ranges {
  border-color: rgba(138, 111, 68, .1);
  background: #f1ece3;
  box-shadow: inset 0 1px 3px rgba(89, 67, 29, .035);
}
.research-showcase.studio-ui .price-chart-ranges.has-range-pill::before {
  background: #fffdf7;
  border-color: rgba(167, 126, 61, .3);
  box-shadow: 0 2px 5px rgba(88, 62, 19, .09), inset 0 1px 0 #fff;
}
.research-showcase.studio-ui .price-chart-plot {
  background: linear-gradient(180deg, rgba(249, 246, 239, .6), rgba(255, 254, 250, 0) 85%);
  border-top: 1px solid rgba(132, 110, 75, .1);
  border-bottom: 1px solid rgba(132, 110, 75, .08);
  border-radius: 0;
}
.research-showcase.studio-ui .price-chart-plot .price-gridline { stroke-dasharray: 2 7; stroke-opacity: .8; }
.research-showcase.studio-ui .price-chart-tooltip {
  background: #fffdf6;
  border-color: rgba(145, 110, 51, .26);
  box-shadow: 0 3px 5px rgba(61, 44, 17, .05), 0 15px 30px -15px rgba(61, 44, 17, .25);
}
.research-showcase.studio-ui .price-chart-card .sector-metrics > div {
  background: #f5f1e9;
  border-color: rgba(138, 111, 68, .07);
}
.research-showcase.studio-ui .price-chart-card .sector-metrics > div:last-child {
  background: linear-gradient(140deg, #f1e2c6, #f8efdf);
  border-color: rgba(169, 123, 48, .2);
}

/* Report: a deliberate title sheet above supporting data and diagrams. */
.research-showcase.studio-ui .result-panel { background: #f1ece2; }
.research-showcase.studio-ui .report-toolbar { padding: 0 2px; }
.research-showcase.studio-ui .company-report-card {
  border-radius: 24px;
  border-color: rgba(158, 120, 56, .3);
  background: radial-gradient(ellipse at 100% 0%, rgba(229, 198, 137, .19), transparent 52%), #fffdf7;
  box-shadow: inset 0 1px 0 #fff, 0 4px 7px -4px rgba(71, 51, 18, .08), 0 27px 48px -34px rgba(71, 51, 18, .28);
}
.research-showcase.studio-ui .company-report-hero { padding-bottom: 26px; }
.research-showcase.studio-ui .company-view { max-width: 82ch; line-height: 1.9; }
.research-showcase.studio-ui .company-market-strip {
  background: #f8f4ec;
  border-top: 1px solid rgba(138, 111, 68, .13);
  border-bottom: 1px solid rgba(138, 111, 68, .13);
}
.research-showcase.studio-ui .company-price-block { background: linear-gradient(120deg, #f4e8d2, #f9f4e9); }
.research-showcase.studio-ui .request-understanding-card { background: #fffdf8; }
.research-showcase.studio-ui .market-summary-mood {
  background: #f4e8cf;
  border-color: rgba(162, 116, 39, .25);
  box-shadow: inset 0 1px 0 #fff7e5;
}
.research-showcase.studio-ui :is(.outlook-map,.evidence-map) {
  border-color: rgba(144, 113, 62, .21);
  background: #fffdf8;
  box-shadow: inset 0 1px 0 #fff, var(--studio-shadow);
}
.research-showcase.studio-ui :is(.outlook-header,.evidence-map-header) {
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(144, 113, 62, .12);
}
.research-showcase.studio-ui .outlook-flow {
  background-image: radial-gradient(rgba(163, 131, 78, .15) .65px, transparent .65px);
  background-size: 18px 18px;
  background-position: 0 9px;
}
.research-showcase.studio-ui .outlook-anchor::before {
  border-color: rgba(184, 142, 69, .27);
  background: radial-gradient(circle, #fffdf6 52%, rgba(255, 250, 235, .72) 75%, transparent 76%);
  box-shadow: inset 0 0 0 8px rgba(255, 253, 246, .5), 0 16px 40px -29px rgba(133, 87, 13, .3);
}
.research-showcase.studio-ui .outlook-anchor::after { border-style: solid; border-color: rgba(171, 126, 47, .14); }
.research-showcase.studio-ui .outlook-asset { font-weight: 500; letter-spacing: -.05em; }
.research-showcase.studio-ui .outlook-map button.outlook-choice {
  background: #fffef9;
  border-color: rgba(138, 111, 68, .18);
  box-shadow: 0 3px 6px -4px rgba(76, 52, 16, .13);
}
.research-showcase.studio-ui .outlook-map button.outlook-choice[aria-pressed="true"] {
  background: linear-gradient(110deg, #f6eacf, #fffdf6 85%);
  border-color: #b58a43;
  box-shadow: inset 0 1px 0 #fff9e9, inset 3px 0 0 #b58a43, 0 13px 23px -18px rgba(111, 73, 16, .4);
}
.research-showcase.studio-ui .outlook-map button.outlook-choice-upside[aria-pressed="true"] { border-color: rgba(47,107,73,.5); box-shadow: inset 3px 0 0 var(--green),0 12px 22px -18px rgba(47,107,73,.25); }
.research-showcase.studio-ui .outlook-map button.outlook-choice-downside[aria-pressed="true"] { border-color: rgba(150,61,54,.45); box-shadow: inset 3px 0 0 var(--red),0 12px 22px -18px rgba(150,61,54,.22); }
.research-showcase.studio-ui .outlook-map button.outlook-choice.is-unavailable { background: #f3f0e9; box-shadow: none; border-color: #d6cec0; }
.research-showcase.studio-ui .outlook-map button.outlook-choice.is-unavailable[aria-pressed="true"] { border-color: #aca396; box-shadow: inset 3px 0 0 #aca396; }
.research-showcase.studio-ui .outlook-choice-index { color: #927853; font-size: .75rem; }
.research-showcase.studio-ui .outlook-conditions li { background: #f8f4eb; border-left-color: #d8bf90; }
.research-showcase.studio-ui .evidence-map-stats {
  padding: 11px 16px;
  border: 1px solid rgba(169, 123, 48, .17);
  border-radius: 14px;
  background: #f7edd9;
}
.research-showcase.studio-ui .evidence-map button.evidence-map-card {
  background: #fffefa;
  border-color: rgba(138, 111, 68, .18);
  box-shadow: inset 0 1px 0 #fff, 0 2px 3px -2px rgba(79, 54, 17, .08);
}
.research-showcase.studio-ui .evidence-map button.evidence-map-card.is-connected {
  background: #fbf4e5;
  border-color: rgba(176, 131, 56, .4);
}
.research-showcase.studio-ui .evidence-map button.evidence-map-card[aria-pressed="true"] {
  background: linear-gradient(120deg, #f4e5c8, #fff9ee);
  border-color: #b08844;
  box-shadow: inset 3px 0 0 #b08844, inset 0 1px 0 #fff8e8, 0 8px 16px -13px rgba(117, 77, 15, .3);
}
.research-showcase.studio-ui .evidence-map button.evidence-map-card.is-dimmed { background: #f7f4ed; border-color: rgba(138,111,68,.13); color: #6e6353; box-shadow: none; }
.research-showcase.studio-ui .evidence-map-card-label { color: #8a642e; }
.research-showcase.studio-ui .evidence-map-card-preview { line-height: 1.75; }
.research-showcase.studio-ui .evidence-map-detail-reference { background: #f7f2e8; border-left-color: #cfb27b; }

/* Execution and numeric panels share the same quiet instrument-like framing. */
.research-showcase.studio-ui :is(.execution-brief,.run-progress) {
  background: linear-gradient(135deg, #fffdf7, #f6eddc);
  border-color: rgba(154, 117, 55, .22);
  box-shadow: inset 0 1px 0 #fff, var(--studio-shadow);
}
.research-showcase.studio-ui .stage.execution-stage {
  border-radius: 15px;
  background: #fffdf8;
  border-color: rgba(138, 111, 68, .16);
  box-shadow: inset 0 1px 0 #fff, 0 5px 10px -8px rgba(79, 54, 17, .16);
}
.research-showcase.studio-ui .execution-stage.is-active {
  background: linear-gradient(120deg, #f1dfb9, #fff8e9 85%);
  border-color: rgba(167, 117, 36, .6);
  box-shadow: inset 0 1px 0 #fff9e8, 0 12px 22px -15px rgba(157, 109, 28, .3);
}
.research-showcase.studio-ui .execution-stage.is-complete { background: #f3f5ec; border-color: rgba(47,107,73,.22); }
.research-showcase.studio-ui .execution-stage.is-failed { background: #faf0e9; border-color: rgba(150,61,54,.3); }
.research-showcase.studio-ui .execution-call-chip { border-radius: 11px; box-shadow: inset 0 1px 0 #fffefa, 0 2px 3px -2px rgba(79,54,17,.1); }
.research-showcase.studio-ui :is(.signal-card,.quality-card,.execution-metric) {
  border-color: rgba(138, 111, 68, .17);
  background: #fffdf8;
  box-shadow: inset 0 1px 0 #fff, 0 5px 12px -10px rgba(76, 52, 16, .17);
}
.research-showcase.studio-ui .signal-card { background: linear-gradient(150deg,#fffefb,#f9f3e7); }
.research-showcase.studio-ui .signal-card strong { font-size: clamp(1.5rem,2.3vw,1.9rem); }
.research-showcase.studio-ui .quality-card { background: #fffdf8; }
.research-showcase.studio-ui .quality-card h4 { letter-spacing: -.015em; }
.research-showcase.studio-ui .report-details { border-color: rgba(138,111,68,.15); background: rgba(255,253,248,.65); }
.research-showcase.studio-ui .report-details[open] { background: #fffdf8; box-shadow: var(--studio-shadow); }
.research-showcase.studio-ui .report-details > summary { color: #3b3326; }
.research-showcase.studio-ui .report-details[open] > summary { border-bottom: 1px solid rgba(138,111,68,.13); }

@media (max-width: 800px) {
  .research-showcase.studio-ui .story-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .research-showcase.studio-ui .story-steps li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 150px;
    padding: 19px 15px;
    gap: 12px;
    margin-left: 0;
  }
  .research-showcase.studio-ui .story-steps li > div { width: 100%; min-width: 0; overflow-wrap: anywhere; }
  .research-showcase.studio-ui .story-steps li > span:first-child { width: 38px; height: 38px; border-radius: 11px; }
  .research-showcase.studio-ui .story-steps .studio-icon { width: 21px; height: 21px; }
  .research-showcase.studio-ui .market-quote-heading { padding: 21px; }
  .research-showcase.studio-ui .company-report-card { border-radius: 20px; }
}
@media (max-width: 540px) {
  .research-showcase.studio-ui .story-steps li { min-height: 165px; padding: 18px 15px; }
  .research-showcase.studio-ui .story-steps small { font-size: .875rem; line-height: 1.55; }
  .research-showcase.studio-ui .story-steps strong { font-size: 1rem; }
  .research-showcase.studio-ui .studio-card-index { top: 12px; right: 12px; }
  .research-showcase.studio-ui .market-quote-heading { padding: 20px 18px; }
  .research-showcase.studio-ui .quote-card-foot { flex-wrap: wrap; gap: 6px; }
  .research-showcase.studio-ui .quote-card-foot small { overflow-wrap: anywhere; white-space: normal; }
  .research-showcase.studio-ui .company-report-hero { padding-bottom: 22px; }
  .research-showcase.studio-ui .company-view { line-height: 1.8; }
  .research-showcase.studio-ui .evidence-map-stats { padding: 10px; }
  .research-showcase.studio-ui .evidence-map-stats strong { font-size: 27px; }
  .research-showcase.studio-ui .evidence-map-stats span { font-size: .8125rem; }
  .research-showcase.studio-ui :is(.outlook-header,.evidence-map-header) { padding-bottom: 15px; }
  .research-showcase.studio-ui .signal-card strong { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .research-showcase.studio-ui .story-steps li { transition: none; }
}
@media print {
  .research-showcase.studio-ui { background: #fff; }
  .research-showcase.studio-ui :is(.panel,.market-quote-heading,.company-report-card,.outlook-map,.evidence-map,.run-progress,.signal-card,.quality-card) { background: #fff; box-shadow: none; }
}
