/* Portfolio visual refinement — square corners, uppercase actions, neutral blocks.
   Applies to portfolio documents only; embedded historical pages keep their assets. */
html body.portfolio-shell,
html body.portfolio-shell *,
html body.portfolio-shell *::before,
html body.portfolio-shell *::after {
  border-radius: 0 !important;
}
html body.portfolio-shell .portfolio-cta { border-radius: 0 !important; }
html body.portfolio-shell :is(button, [role="button"], .portfolio-cta,
  .portfolio-action, .btn, .button, .back-top, .mf-cta, .warehouse-cta,
  .matching-cta, .feature-cta, .round-link, .work-case-action,
  .resume-downloads a, .about-next a, .warehouse-case-action,
  .logistics-case-action) {
  text-transform: uppercase !important;
}
html body.portfolio-shell main,
html body.portfolio-shell main * {
  --component-radius: 0px !important;
  --cta-radius: 0px !important;
  --component-soft: var(--portfolio-panel, #fff) !important;
  --case-soft: var(--portfolio-panel, #fff) !important;
  --mf-soft: var(--portfolio-panel, #fff) !important;
  --story-soft: var(--portfolio-panel, #fff) !important;
}
html:not([data-theme="dark"]) body.portfolio-shell :is(
.about-jump a:hover,.about-jump a:focus-visible,
.leadership-grid article,
.portfolio-shell .artifact-scroll-frame,
.tension-band,
.exhibit-context,
.five-stage-case .case-story-nav,
.case-switch-tabs button,
.exhibit-note,.role-exhibit>aside,.system-exhibit,
.tradeoff-table th,
.generic-exhibit,
.artifact-slot,
.redwood-support-thread,
.case-content-artifact,
.case-content-artifact img,
.readiness-opening,
.booking-opening,
.matching-opening,
.artifact-links a:hover,
.approach-pillars>div:nth-child(2):before,
.evidence-list span,
.approach-principle,
.problem-related a,
.deep-approach .deep-approach-question,
.deep-impact-links a:hover,
.target-approach-grid article:nth-child(2),.target-impact-grid article:nth-child(2),
.brief-context .case-tags li,
.brief-visual img,
.story-callout,
.case-longform .case-story-nav,
.case-opening .case-context,
.case-opening .stakes-card,
.case-longform .case-tradeoff,
.prototype-context,
.filter-buttons button:hover,
.focus-description,
.work-results,
.new-meta span,
.new-case .deep-approach-question,
.card-challenges .technical-pill,
.prototype-case:hover,
.use-case-card.prototype-case:hover,
main#home .focus-description,
main#home .filter-buttons button:hover,main#home .filter-buttons button[aria-pressed=true],
.portfolio-story :is(.brief-hook,.note-hero .summary-lead,.warehouse-lead),
.portfolio-shell figure.prototype-capture,
.mf-story-nav a[aria-current],
.mf-meta,
.mf-lead,
.mf-system,
.mf-shared-map,
.portfolio-shell .mf-connected-use-case,
.hero,
.intelligence-panel .feature-skills li,
.back-top:hover,
.prototype-system,
.system-path span,
.prototype-index-grid a:hover,
.note-architecture>div,
.note-states span,
.related-note .artifact-reconstruction,
.scaling-context,
.scaling-copy-path li,
.scaling-enterprise,
.oee-simulator,
.routing-unknown,
.pipeline-window-candidate,
.aml-pattern>div,
.aml-comparison thead th,
.related-story .status-tag,
.related-story-grid>div,
.resume-profile,
.sick-walkthrough .sick-comparison figure img,
.sick-discoverability img,
.theme:hover,
.journey-context,
.journey-pills span,
.journey-explorer,
.journey-explorer-row:hover,
.journey-explorer .journey-filter-option:hover,
.skills li
) {
  background: var(--portfolio-panel, #fff) !important;
}
