/*
 * Finance application showcase — presentation-only, scoped to this component.
 * Canonical dimensions: workbook 700×402, report approximately 660×360.
 * cqw follows the application surface so chrome scales with the actual window.
 * Existing anchors / modal controllers remain the only interactive elements.
 */
.project-stage--showcase {
  --showcase-ink: #142333;
  --showcase-excel: #20563e;
  --showcase-navy: #1d3851;
  --showcase-green: #5e7f3e;
  --showcase-lime: #a7ba28;
  --showcase-ui: "Segoe UI", Arial, sans-serif;
  --sheet-columns: 4% 2.6% 22.1% repeat(7, 8.7%) minmax(0, 1fr);
  container-type: inline-size;
  aspect-ratio: 2 / 1;
  margin: 0;
  isolation: isolate;
  overflow: visible;
  -webkit-font-smoothing: antialiased;
}
.project-stage--showcase .project-pane {
  margin: 0;
  bottom: auto;
  transform-origin: center center;
}
.project-stage--showcase .project-pane-model {
  width: 63%;
  left: .8%;
  top: 13%;
  z-index: 1;
  transform: perspective(145cqw) rotateY(11deg) rotateX(1deg);
}
.project-stage--showcase .project-pane-analytics {
  width: 59%;
  right: 1.8%;
  top: 26%;
  z-index: 2;
  transform: perspective(95cqw) rotateY(-11deg) rotateX(.6deg);
}
.project-stage--showcase .project-window {
  position: relative;
  display: block;
  container-type: inline-size;
  width: 100%;
  overflow: hidden;
  border: 1px solid #bec2bb;
  border-radius: 7px;
  background: #fafafa;
  color: var(--showcase-ink);
  font-family: var(--showcase-ui);
  text-decoration: none;
  box-shadow:
    0 25px 34px -20px rgb(35 42 29 / .36),
    0 13px 20px -12px rgb(35 42 29 / .26),
    0 3px 5px rgb(35 42 29 / .12),
    inset 0 0 0 1px rgb(255 255 255 / .8);
  transition: box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}
.project-stage--showcase .showcase-analytics {
  border: 2px solid #fcfcf9;
  box-shadow:
    0 28px 36px -22px rgb(35 42 29 / .4),
    -10px 10px 17px -12px rgb(28 33 29 / .3),
    0 5px 8px -4px rgb(35 42 29 / .22),
    0 0 0 1px rgb(72 83 75 / .18);
}
.project-stage--showcase .project-window::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), inset 1px 0 0 rgb(255 255 255 / .45), inset 0 -2px 1px rgb(194 198 191 / .2);
  pointer-events: none;
}
.project-stage--showcase .project-window:hover {
  border-color: #a7b09e;
  box-shadow: 0 30px 42px -23px rgb(35 42 29 / .42), 0 7px 12px -5px rgb(35 42 29 / .23);
}
.project-stage--showcase .project-window:focus-visible {
  outline: 2px solid #4f732c;
  outline-offset: 5px;
}
/* Hover and keyboard focus retain the fixed window positions and layers. */
@media (hover: hover) and (pointer: fine) {
  /* Darken the paired surface without making overlapping text show through. */
  .project-stage--showcase:has(.project-window:hover) .project-window:not(:hover) {
    filter: brightness(.62) saturate(.75);
  }
}
.project-stage--showcase .project-window-heading {
  height: 4.857cqw;
  min-height: 0;
  box-sizing: border-box;
  padding: 0 1.8cqw 0 2.35cqw;
  gap: 1.8cqw;
  background: linear-gradient(108deg, #185236, #285b46 74%, #25543f);
  border-bottom: 1px solid rgb(9 38 28 / .2);
  color: #fff;
  font: 600 1.58cqw / 1.2 var(--showcase-ui);
  letter-spacing: -.015em;
  text-shadow: 0 1px 1px rgb(0 0 0 / .12);
}
.project-stage--showcase .project-window-heading img {
  width: 2.9cqw;
  height: 2.9cqw;
  flex: none;
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / .18));
}
.project-stage--showcase .project-window-name { flex: 1; }
.project-stage--showcase .project-window-buttons {
  display: flex;
  align-items: center;
  gap: 1.7cqw;
  margin-left: auto;
  font-size: inherit;
  opacity: .95;
}
.showcase-icon { display: block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.project-stage--showcase .project-window-buttons .showcase-icon { width: 1.7cqw; height: 1.7cqw; stroke-width: 1.4; }
.project-stage--showcase .workbook-ribbon {
  height: 4cqw;
  min-height: 0;
  padding: 0 2.7cqw;
  gap: 3.1cqw;
  color: #13232a;
  background: linear-gradient(#fdfdfd, #f2f2f1);
  border-bottom: 1px solid #d9dbd8;
  font: 1.36cqw / 1 var(--showcase-ui);
}
.project-stage--showcase .workbook-ribbon span { display: flex; align-items: center; height: 100%; padding: .25cqw 0 0; }
.project-stage--showcase .workbook-ribbon .active { color: #205d3b; border-bottom: .27cqw solid #267347; }
.project-stage--showcase .workbook-formula {
  display: flex;
  height: 4cqw;
  min-height: 0;
  gap: .8cqw;
  padding: .48cqw 1.5cqw;
  background: linear-gradient(#f3f3f3, #edeeed);
  border-bottom: 1px solid #d1d4d1;
  color: #273342;
  font: 1.42cqw / 1 var(--showcase-ui);
}
.project-stage--showcase .workbook-formula .showcase-name-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 10.5cqw;
  min-width: 0;
  height: 2.9cqw;
  padding: 0 .85cqw;
  border: 1px solid #cbd0cd;
  border-radius: .3cqw;
  background: linear-gradient(#fff, #f9f9f9);
  box-shadow: inset 0 1px 1px rgb(30 40 30 / .035);
  text-align: left;
}
.project-stage--showcase .showcase-name-box .showcase-icon { width: 1.5cqw; height: 1.5cqw; }
.project-stage--showcase .showcase-formula-tools { display: flex; align-items: center; justify-content: space-around; flex: 0 0 10cqw; height: 2.9cqw; border: 1px solid #d3d6d3; border-radius: .3cqw; background: #fafafa; color: #6d7576; }
.project-stage--showcase .showcase-formula-tools .showcase-icon { width: 1.8cqw; height: 1.8cqw; }
.project-stage--showcase .workbook-formula i { color: #344146; font: italic 600 1.9cqw / 1 Georgia, serif; }
.project-stage--showcase .workbook-formula .showcase-formula-value { display: flex; align-items: center; flex: 1; min-height: 0; height: 2.9cqw; padding: 0 .9cqw; border: 1px solid #cbd0cd; border-radius: .3cqw; background: #fff; overflow: hidden; white-space: nowrap; }
.showcase-column-headers { display: grid; grid-template-columns: var(--sheet-columns); height: 3.143cqw; border-bottom: 1px solid #cdd0cc; background: linear-gradient(#f6f6f5, #e8e9e7); color: #343b42; font-size: 1.4cqw; }
.showcase-column { display: flex; align-items: center; justify-content: center; border-right: 1px solid #d5d7d3; }
.showcase-column.is-selected { border-bottom: .18cqw solid #267347; color: #22633f; background: linear-gradient(#e9eeea, #dce5dd); }
.showcase-corner { position: relative; border-right: 1px solid #ced1cd; }
.showcase-corner::after { content: ""; position: absolute; right: .5cqw; bottom: .45cqw; width: 1.8cqw; height: 1.8cqw; background: #c4c8c2; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.showcase-sheet { background: linear-gradient(105deg, #fff, #fff 65%, #fdfdfc); color: #14202b; font: 1.63cqw / 1 var(--showcase-ui); font-variant-numeric: tabular-nums lining-nums; }
.showcase-sheet-row { display: grid; grid-template-columns: var(--sheet-columns); height: 3cqw; }
.showcase-row-number { grid-column: 1; display: flex; align-items: center; justify-content: center; border-right: 1px solid #d6d9d3; border-bottom: 1px solid #e1e3de; background: linear-gradient(90deg,#f3f4f1,#eeeFEB); color: #575e62; font-size: 1.37cqw; font-weight: 400; font-style: normal; }
.showcase-sheet-label, .showcase-sheet-value { display: flex; align-items: center; min-width: 0; border-bottom: 1px solid rgb(142 151 137 / .11); padding: 0 1.1cqw; white-space: nowrap; }
.showcase-sheet-label { grid-column: 3; padding-left: 1.5cqw; letter-spacing: -.025em; }
.showcase-sheet-value { grid-column: var(--sheet-column); justify-content: flex-end; }
.showcase-title-row { height: 4.143cqw; }
.showcase-sheet-title { grid-column: 3 / -1; display: flex; align-items: end; padding: 0 1.5cqw .4cqw; font-size: 2.5cqw; font-weight: 650; letter-spacing: -.045em; }
.showcase-subtitle-row { height: 3cqw; }
.showcase-sheet-subtitle { grid-column: 3 / -1; display: flex; align-items: center; padding-left: 1.5cqw; color: #626773; font-size: 1.5cqw; font-style: italic; }
.showcase-spacer-row { height: 1.429cqw; }
.showcase-spacer-row:nth-child(11) { height: 1.571cqw; }
.showcase-table-head { color: #fff; font-size: 1.45cqw; font-weight: 600; }
.showcase-table-head > :not(.showcase-row-number) { background: #213d52; border-bottom-color: #173146; }
.showcase-total > :not(.showcase-row-number) { background: #e8eedb; border-bottom-color: #d8e0c9; font-weight: 700; }
.showcase-margin > :not(.showcase-row-number) { color: #424b5a; font-style: italic; font-size: 1.5cqw; }
.showcase-selected-cell { position: relative; box-shadow: inset 0 0 0 1px #3c7d4d; }
.showcase-selected-cell::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: .45cqw; height: .45cqw; background: #347247; }
.project-stage--showcase .workbook-sheet-tabs { height: 4.286cqw; min-height: 0; padding: 0 1cqw; gap: 0; background: linear-gradient(#fafafa, #eeeFEB); border-top: 1px solid #d3d8cf; color: #28323c; font: 1.42cqw / 1 var(--showcase-ui); }
.project-stage--showcase .workbook-sheet-tabs > span { padding: 0 1.9cqw; border-right: 1px solid #e0e3dc; }
.project-stage--showcase .workbook-sheet-tabs > .active { color: #155a35; background: #fff; font-weight: 700; border-bottom: .3cqw solid #287147; }
.project-stage--showcase .workbook-sheet-tabs > .sheet-scroll { padding: 0 1.2cqw; gap: 1.4cqw; color: #7f8885; }
.project-stage--showcase .sheet-scroll .showcase-icon { width: 1.5cqw; height: 1.5cqw; }
.project-stage--showcase .showcase-add-sheet .showcase-icon { width: 1.8cqw; height: 1.8cqw; }
/* Power BI: compact enterprise chrome, no decorative controls masquerading as buttons. */
.project-stage--showcase .analytics-window .project-window-heading { height: 5.9cqw; padding: 0 2.7cqw 0 3.4cqw; gap: 2.4cqw; background: linear-gradient(110deg,#214159,#1d3850 65%,#1b354d); font-size: 1.85cqw; }
.project-stage--showcase .analytics-window .project-window-heading img { width: 3.55cqw; height: 3.55cqw; }
.project-stage--showcase .analytics-window .project-window-buttons { gap: 2.3cqw; }
.project-stage--showcase .analytics-window .project-window-buttons .showcase-icon { width: 2.2cqw; height: 2.2cqw; }
.project-stage--showcase .analytics-window-content { display: grid; grid-template-columns: 7.8cqw minmax(0,1fr); background: linear-gradient(110deg,#f2f2f1,#fafafa); }
.project-stage--showcase .analytics-mini-rail { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 1.8cqw 0 0; background: linear-gradient(90deg,#f3f3f1,#fbfbfa 72%,#eeefeb); border-right: 1px solid #dce0da; color: #5c6652; }
.showcase-rail-item { position: relative; display: flex; justify-content: center; align-items: center; height: 6.4cqw; }
.showcase-rail-item .showcase-icon { width: 2.65cqw; height: 2.65cqw; }
.showcase-rail-item.is-active { color: #284359; }
.showcase-rail-item.is-active::before { content: ""; width: .28cqw; height: 2.9cqw; background: #2c4d65; position: absolute; left: 0; }
.showcase-report-workspace { min-width: 0; padding: 2.25cqw 2.4cqw 2.3cqw 2.25cqw; }
.showcase-kpis { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.45cqw; margin-bottom: 1.9cqw; }
.showcase-kpi { position: relative; display: flex; flex-direction: column; justify-content: center; height: 9.85cqw; padding: 1.2cqw 1.4cqw 1.2cqw 5.8cqw; border: 1px solid #dedfdd; border-radius: .7cqw; background: linear-gradient(115deg,#fff,#fcfcfc 68%,#f7f7f6); box-shadow: 0 1px 2px rgb(45 48 41 / .025),inset 0 1px 0 #fff; }
.showcase-kpi::before { content: ""; position: absolute; left: 3.9cqw; top: 2cqw; bottom: 2cqw; width: .42cqw; min-width: 2px; background: #6d903d; }
.showcase-kpi strong { display: block; margin: 0 0 .5cqw; font-size: 3.6cqw; line-height: 1; font-weight: 650; letter-spacing: -.035em; font-variant-numeric: tabular-nums lining-nums; color: #122033; }
.showcase-kpi > span { font-size: 1.77cqw; line-height: 1.2; white-space: nowrap; letter-spacing: -.025em; color: #172537; }
.showcase-chart-panel { position: relative; padding: 1.65cqw 1.7cqw 1cqw; border: 1px solid #e0e0dd; border-radius: .7cqw; background: linear-gradient(120deg,#fff,#fdfdfc 60%,#f9f9f8); box-shadow: inset 0 1px 0 #fff; }
.showcase-chart-panel h4 { margin: 0 0 .55cqw; font: 600 1.93cqw / 1.25 var(--showcase-ui); letter-spacing: -.035em; color: #101d2a; }
.showcase-chart-unit { margin: 0 0 .15cqw; font: italic 1.56cqw / 1.3 var(--showcase-ui); color: #7a7d80; }
.showcase-plot-layout { display: grid; grid-template-columns: minmax(0,1fr) 19cqw; gap: 2cqw; align-items: center; }
.showcase-chart { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--showcase-ui); }
.showcase-gridline { stroke: #dedfdd; stroke-width: .85; fill: none; }
.showcase-axis { stroke: #a1a5a5; stroke-width: 1; fill: none; }
.showcase-axis-label { fill: #303d4d; font-size: 12px; }
.showcase-period-label { fill: #172335; font-size: 12px; }
.showcase-revenue-bar { stroke: #122d43; stroke-width: .65; }
.showcase-line { fill: none; stroke-width: 2.35; stroke-linecap: round; stroke-linejoin: round; }
.showcase-line-income { stroke: var(--showcase-green); }
.showcase-line-cash { stroke: var(--showcase-lime); }
.showcase-point-income { fill: var(--showcase-green); stroke: #738f4e; stroke-width: .6; }
.showcase-point-cash { fill: var(--showcase-lime); stroke: #bccb52; stroke-width: .6; }
.showcase-chart-legend { display: flex; flex-direction: column; gap: 2cqw; padding-bottom: 1cqw; color: #182433; font: 1.63cqw / 1.15 var(--showcase-ui); }
.showcase-chart-legend > span { display: flex; align-items: center; gap: 1cqw; white-space: nowrap; }
.showcase-chart-legend i { display: block; flex: 0 0 2.35cqw; position: relative; }
.showcase-legend-bar { height: 1.5cqw; background: #203e56; box-shadow: inset 0 0 0 1px #153249; }
.showcase-legend-line { height: .28cqw; background: currentColor; }
.showcase-legend-line::after { content: ""; position: absolute; width: 1.08cqw; height: 1.08cqw; border-radius: 50%; background: currentColor; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.showcase-legend-income { color: var(--showcase-green); }
.showcase-legend-cash { color: var(--showcase-lime); }
/* Reference-style annotations live in the composition, not in the application UI. */
.showcase-connectors { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: #617d36; stroke-width: 1.1; pointer-events: none; }
.showcase-connectors circle { fill: #617d36; stroke: none; }
.showcase-callout { position: absolute; display: flex; align-items: baseline; gap: 1cqw; color: #20332c; white-space: nowrap; pointer-events: none; }
.showcase-callout > span, .showcase-callout > b { font: 400 1.16cqw / 1.3 var(--mono); letter-spacing: .09em; }
.showcase-callout em { color: #3b5930; font: italic 1.72cqw / 1 var(--serif); }
.showcase-callout-model { left: 56.3%; top: 1.9%; }
.showcase-callout-analytics { left: 71.2%; top: 94.9%; }
.project-stage--showcase .showcase-mobile-caption, .showcase-mobile { display: none; }
.showcase-sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
/* Keep the preview large enough at tablet widths without changing other projects. */
@media (min-width: 681px) and (max-width: 1199px) {
  .project-story.project-story--showcase { grid-template-columns: minmax(0,1fr); grid-template-areas: "copy" "work"; gap: 28px; }
  .project-story--showcase .project-copy { max-width: 640px; }
}
/* Tablet retains the same four-year composition. */
@media (min-width: 681px) and (max-width: 1100px) {
  .project-stage--showcase { aspect-ratio: 1.98; }
  .showcase-callout > span, .showcase-callout > b { font-size: 1.3cqw; }
  .showcase-callout em { font-size: 1.9cqw; }
}
/* Mobile is a deliberate compact view, not an unreadable miniature desktop. */
@media (max-width: 680px) {
  .project-stage--showcase { display: flex; flex-direction: column; gap: 27px; aspect-ratio: auto; margin: 4px 0 0; }
  .project-stage--showcase .project-pane { position: relative; inset: auto; width: 100%; transform: none; }
  .project-stage--showcase .project-window { border-radius: 6px; box-shadow: 0 15px 24px -18px rgb(35 42 29 / .36),0 2px 5px rgb(35 42 29 / .13); }
  .project-stage--showcase .project-window-heading { height: 36px; gap: 9px; padding: 0 10px; font-size: 11px; }
  .project-stage--showcase .project-window-heading img { width: 19px; height: 19px; }
  .project-stage--showcase .project-window-buttons { gap: 9px; }
  .project-stage--showcase .project-window-buttons .showcase-icon { width: 12px; height: 12px; }
  .project-stage--showcase .workbook-ribbon { height: 29px; padding: 0 10px; gap: 14px; font-size: 9px; }
  .project-stage--showcase .workbook-ribbon span { padding: 2px 0 0; }
  .project-stage--showcase .workbook-ribbon .active { border-bottom-width: 2px; }
  .project-stage--showcase .workbook-formula { height: 29px; gap: 5px; padding: 4px 7px; font-size: 10px; }
  .project-stage--showcase .workbook-formula .showcase-name-box { flex-basis: 50px; height: 21px; padding: 0 6px; border-radius: 2px; }
  .project-stage--showcase .showcase-name-box .showcase-icon { width: 11px; height: 11px; }
  .project-stage--showcase .showcase-formula-tools { flex-basis: 62px; height: 21px; border-radius: 2px; }
  .project-stage--showcase .showcase-formula-tools .showcase-icon { width: 13px; height: 13px; }
  .project-stage--showcase .workbook-formula i { font-size: 13px; }
  .project-stage--showcase .workbook-formula .showcase-formula-value { height: 21px; padding: 0 6px; border-radius: 2px; }
  .project-stage--showcase { --sheet-columns: 24px 8px minmax(112px,1fr) 61px 61px; }
  .showcase-column-headers { height: 23px; font-size: 10px; }
  .showcase-corner::after { width: 12px; height: 12px; right: 4px; bottom: 4px; }
  .showcase-column-c, .showcase-column-d, .showcase-column-g, .showcase-column-h, .showcase-column-i, .showcase-column-j { display: none; }
  .showcase-column-e { grid-column: 4; }
  .showcase-column-f { grid-column: 5; }
  .showcase-column.is-selected { border-bottom-width: 1px; }
  .showcase-sheet { font-size: 11px; }
  .showcase-sheet-row { height: 27px; }
  .showcase-title-row { height: 31px; }
  .showcase-sheet-title { padding: 0 7px 4px; font-size: 16px; }
  .showcase-subtitle-row { height: 23px; }
  .showcase-sheet-subtitle { padding-left: 7px; font-size: 10px; }
  .showcase-spacer-row, .showcase-spacer-row:nth-child(11) { height: 10px; }
  .showcase-row-number { font-size: 10px; }
  .showcase-sheet-label, .showcase-sheet-value { padding: 0 6px; }
  .showcase-sheet-label { padding-left: 7px; }
  .showcase-table-head, .showcase-margin > :not(.showcase-row-number) { font-size: 10px; }
  .showcase-sheet-value.showcase-history { display: none; }
  .showcase-sheet-value.showcase-recent { grid-column: 4; }
  .showcase-sheet-value.showcase-latest { grid-column: 5; }
  .showcase-selected-cell::after { width: 3px; height: 3px; }
  .project-stage--showcase .workbook-sheet-tabs { height: 32px; padding: 0 4px; font-size: 9px; }
  .project-stage--showcase .workbook-sheet-tabs > span { padding: 0 9px; }
  .project-stage--showcase .workbook-sheet-tabs > .sheet-scroll { gap: 6px; padding: 0 5px; }
  .project-stage--showcase .sheet-scroll .showcase-icon, .project-stage--showcase .showcase-add-sheet .showcase-icon { width: 11px; height: 11px; }
  .project-stage--showcase .workbook-sheet-tabs > .active { border-bottom-width: 2px; }
  .project-stage--showcase .analytics-window .project-window-heading { height: 37px; padding: 0 10px; gap: 9px; font-size: 11px; }
  .project-stage--showcase .analytics-window .project-window-heading img { width: 20px; height: 20px; }
  .project-stage--showcase .analytics-window .project-window-buttons { gap: 9px; }
  .project-stage--showcase .analytics-window .project-window-buttons .showcase-icon { width: 13px; height: 13px; }
  .project-stage--showcase .analytics-window-content { grid-template-columns: 27px minmax(0,1fr); }
  .project-stage--showcase .analytics-mini-rail { padding-top: 5px; }
  .showcase-rail-item { height: 34px; }
  .showcase-rail-item .showcase-icon { width: 15px; height: 15px; }
  .showcase-rail-item.is-active::before { width: 2px; height: 18px; }
  .showcase-report-workspace { padding: 10px 8px 10px; }
  .showcase-kpis { gap: 5px; margin-bottom: 9px; }
  .showcase-kpi { height: 66px; padding: 8px 5px 7px 12px; border-radius: 4px; }
  .showcase-kpi::before { left: 5px; top: 11px; bottom: 11px; width: 2px; }
  .showcase-kpi strong { margin-bottom: 5px; font-size: clamp(16px,5.25cqw,23px); }
  .showcase-kpi > span { font-size: 9px; white-space: normal; line-height: 1.2; }
  .showcase-chart-panel { padding: 10px 8px 9px; border-radius: 4px; }
  .showcase-chart-panel h4 { margin-bottom: 4px; font-size: 11px; line-height: 1.35; }
  .showcase-chart-unit { margin-bottom: 2px; font-size: 10px; }
  .showcase-plot-layout { display: block; }
  .showcase-axis-label, .showcase-period-label { font-size: 15px; }
  .showcase-chart-legend { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 7px 12px; padding: 8px 0 0; font-size: 9px; }
  .showcase-chart-legend > span { gap: 5px; }
  .showcase-chart-legend i { flex-basis: 12px; }
  .showcase-legend-bar { height: 7px; }
  .showcase-legend-line { height: 2px; }
  .showcase-legend-line::after { width: 5px; height: 5px; }
  .showcase-connectors, .showcase-callout { display: none; }
  .project-stage--showcase .showcase-mobile-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px; margin: 10px 2px 0; color: #4d614c; font: 11px / 1.5 var(--sans,Arial,sans-serif); letter-spacing: 0; }
  .showcase-mobile-caption > span { font-size: 10px; color: #667563; }
  .showcase-desktop { display: none; }
  .showcase-mobile { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .project-stage--showcase .project-window { transition: none; }
}
@media print {
  .project-stage--showcase .project-pane { transform: none; }
  .project-stage--showcase .project-window { box-shadow: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* Model-specific variants share the same application chrome and composition.
   Compare policies / budgets as policies, not invented annual observations. */
.showcase-model-specific .showcase-sheet-label > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.showcase-model-specific .showcase-sheet-title { font-size: 2.15cqw; letter-spacing: -.035em; }
.showcase-model-specific .showcase-sheet-subtitle { font-size: 1.33cqw; }
.showcase-model-specific .showcase-kpi { padding-left: 4cqw; }
.showcase-model-specific .showcase-kpi::before { left: 2.3cqw; }
.showcase-model-specific .showcase-kpi strong { font-size: 3.25cqw; }
.showcase-model-specific .showcase-kpi > span { font-size: 1.53cqw; white-space: normal; }
.showcase-model-specific .showcase-chart-legend { font-size: 1.53cqw; gap: 1.8cqw; }
.showcase-model-specific .showcase-chart-legend > span { white-space: normal; }
.showcase-model-specific .showcase-chart-legend > span > span { min-width: 0; }
.showcase-model-specific .showcase-chart-panel h4 { font-size: 1.83cqw; }
.showcase-model-specific .showcase-chart-unit { font-size: 1.4cqw; }
.showcase-model-specific .project-window-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.showcase-model-specific .project-window-buttons { flex: none; }
@media (min-width: 681px) {
  .showcase-model-specific .showcase-workbook[data-columns="2"] { --sheet-columns: 4% 2.6% 32% repeat(2, 11.8%) repeat(6, 6.3%); }
  .showcase-model-specific .showcase-workbook[data-columns="3"] { --sheet-columns: 4% 2.6% 26.8% repeat(3, 9.8%) repeat(5, 7.44%); }
  .showcase-model-specific .showcase-workbook[data-columns="4"] { --sheet-columns: 4% 2.6% 22.1% repeat(4, 8.7%) repeat(4, 9.125%); }
  .showcase-model-specific .showcase-workbook[data-columns="5"] { --sheet-columns: 4% 2.6% 20.6% repeat(5, 7.2%) repeat(3, 12.2666667%); }
  .showcase-model-specific .showcase-workbook[data-columns="4"] .showcase-sheet-label,
  .showcase-model-specific .showcase-workbook[data-columns="5"] .showcase-sheet-label { font-size: 1.48cqw; }
  .showcase-model-specific .showcase-workbook[data-columns="5"] .showcase-sheet-value { font-size: 1.44cqw; padding-inline: .7cqw; }
  .showcase-model-specific .workbook-sheet-tabs > span { padding-inline: 1.4cqw; }
}
@media (max-width: 680px) {
  .showcase-model-specific { --sheet-columns: 24px 8px minmax(0, 1fr) 65px 65px; }
  .showcase-model-specific .showcase-sheet-row { min-height: 31px; height: auto; }
  .showcase-model-specific .showcase-title-row { min-height: 39px; }
  .showcase-model-specific .showcase-sheet-title { font-size: 15px; line-height: 1.15; padding: 7px 7px 4px; }
  .showcase-model-specific .showcase-subtitle-row { min-height: 30px; }
  .showcase-model-specific .showcase-sheet-subtitle { font-size: 9px; line-height: 1.3; padding: 3px 7px 5px; }
  .showcase-model-specific .showcase-spacer-row { min-height: 10px; }
  .showcase-model-specific .showcase-sheet-label { white-space: normal; line-height: 1.2; padding-block: 5px; }
  .showcase-model-specific .showcase-sheet-label > span { overflow: visible; text-overflow: clip; }
  .showcase-model-specific .model-mobile-hidden { display: none; }
  .showcase-model-specific .model-mobile-visible { grid-column: var(--mobile-column); }
  .showcase-model-specific .workbook-sheet-tabs { overflow: hidden; }
  .showcase-model-specific .workbook-sheet-tabs > span { flex: none; padding-inline: 7px; }
  .showcase-model-specific .workbook-sheet-tabs > span:not(.active):nth-last-child(2) { display: none; }
  .showcase-model-specific .showcase-kpi { min-height: 72px; height: auto; padding: 9px 5px 8px 11px; }
  .showcase-model-specific .showcase-kpi::before { left: 5px; }
  .showcase-model-specific .showcase-kpi strong { font-size: clamp(14px, 4.65cqw, 21px); }
  .showcase-model-specific .showcase-kpi strong.showcase-kpi-number--wide { font-size: clamp(12.5px, 4.1cqw, 19px); }
  .showcase-model-specific .showcase-kpi > span { font-size: 9px; line-height: 1.2; }
  .showcase-model-specific .showcase-chart-panel h4 { font-size: 11px; }
  .showcase-model-specific .showcase-chart-unit { font-size: 9px; }
  .showcase-model-specific .showcase-chart-legend { font-size: 9px; gap: 7px 12px; }
  .showcase-model-specific .showcase-chart-legend > span { max-width: 100%; }
  .showcase-model-specific .showcase-axis-label,
  .showcase-model-specific .showcase-period-label { font-size: 13px; }
}

/* A single Power BI preview fills the showcase area. */
.project-stage--showcase.report-only-showcase {
  aspect-ratio: auto;
}
.report-only-showcase .project-pane-analytics {
  position: relative;
  inset: auto;
  width: 100%;
  transform: none;
}

.showcase-featured-chart {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
