@import "../portfolio-system.css";
/* Shared portfolio theme for isolated Wix documents; original artwork is unchanged. */
:root {
  --portfolio-background: #FFFFFF;
  --portfolio-foreground: #111111;
  --portfolio-dot: rgb(234 239 245 / 25%);
  --portfolio-panel: #F6F8FA;
  --portfolio-rule: #EAEFF5;
  --portfolio-body: "DM Sans", sans-serif;
  --portfolio-display: "Poppins", sans-serif;
  --replica-bg: var(--portfolio-background);
  --replica-text: var(--portfolio-foreground);
  --replica-panel: var(--portfolio-panel);
  --replica-rule: var(--portfolio-rule);
}
html, body {
  background: var(--portfolio-background) !important;
  color: var(--portfolio-foreground);
  font-family: var(--portfolio-body);
}
body {
  background-image: radial-gradient(var(--portfolio-dot) 1.2px, transparent 1.2px) !important;
  background-size: 28px 28px !important;
}
.wixui-page,
[data-testid="page-bg"],
.wixui-section > [data-hook="bgLayers"] > [data-testid="colorUnderlay"] {
  background: transparent !important;
}
.wixui-rich-text .wixui-rich-text__text,
.wixui-rich-text .wixui-rich-text__text span {
  color: var(--portfolio-foreground) !important;
}
.wixui-rich-text :is(p, li, ul, ol, blockquote),
.wixui-rich-text :is(p, li, ul, ol, blockquote) span {
  font-family: var(--portfolio-body) !important;
  letter-spacing: 0 !important;
}
.wixui-rich-text :is(h1, h2, h3, h4, h5, h6),
.wixui-rich-text :is(h1, h2, h3, h4, h5, h6) span,
.wixui-button__label,
.replica-controls {
  font-family: var(--portfolio-display) !important;
  letter-spacing: 0 !important;
}
/* Only the opening light wordmarks need contrast adaptation, not product screens. */
#comp-meb6y1jq svg [data-color="2"] { fill: var(--portfolio-foreground) !important; }
#comp-meb6298p img { filter: brightness(0); }

/* Path AI personas: retain original content on readable portfolio surfaces. */
#comp-meb639r62 > .inner-box {
  background: transparent !important;
}
[id^="comp-meb639ra9__"] > .inner-box {
  background: var(--portfolio-panel) !important;
  border: 1px solid var(--portfolio-rule) !important;
  border-radius: 12px !important;
}

/* LayerPath report links sit over dark original artwork. */
#comp-meb7aseb .wixui-rich-text__text,
#comp-meb7aseb .wixui-rich-text__text span,
#comp-meb7aseb .wixui-button__label {
  color: var(--portfolio-background) !important;
}
#comp-meb7aseb .wixui-button__icon svg path {
  fill: var(--portfolio-background) !important;
}

/* Zentra uses the same editorial scale as LayerPath, not source display sizes. */
body:has(#comp-meb80zwk1) .wixui-rich-text :is(h1,h2),
body:has(#comp-meb80zwk1) .wixui-rich-text :is(h1,h2) span {
  font-size: 2.625rem !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
}
body:has(#comp-meb80zwk1) .wixui-rich-text :is(h3,h4,h5,h6),
body:has(#comp-meb80zwk1) .wixui-rich-text :is(h3,h4,h5,h6) span {
  font-size: 1.25rem !important;
  line-height: 1.4 !important;
}
body:has(#comp-meb80zwk1) .wixui-rich-text :is(p,li),
body:has(#comp-meb80zwk1) .wixui-rich-text :is(p,li) span {
  font-size: 1rem !important;
  line-height: 1.75 !important;
}
@media (max-width: 750px) {
  body:has(#comp-meb80zwk1) .wixui-rich-text :is(h1,h2),
  body:has(#comp-meb80zwk1) .wixui-rich-text :is(h1,h2) span {
    font-size: 1.75rem !important;
  }
}

/* Shared editorial type roles supersede the original fixed Wix display sizes. */
html body main:is(#PAGE_SECTIONSvrgpj,#PAGE_SECTIONSgk6bt,#PAGE_SECTIONShkmuh,#PAGE_SECTIONSarc0h) .wixui-rich-text :is(h1,h2,h3,h4,h5,h6),
html body main:is(#PAGE_SECTIONSvrgpj,#PAGE_SECTIONSgk6bt,#PAGE_SECTIONShkmuh,#PAGE_SECTIONSarc0h) .wixui-rich-text :is(h1,h2,h3,h4,h5,h6) :is(span,strong) {
  font-family: var(--portfolio-display) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}
html body main:is(#PAGE_SECTIONSvrgpj,#PAGE_SECTIONSgk6bt,#PAGE_SECTIONShkmuh,#PAGE_SECTIONSarc0h) .wixui-rich-text :is(h1,h1 span,h1 strong) { font-size: var(--type-h1) !important; }
html body main:is(#PAGE_SECTIONSvrgpj,#PAGE_SECTIONSgk6bt,#PAGE_SECTIONShkmuh,#PAGE_SECTIONSarc0h) .wixui-rich-text :is(h2,h2 span,h2 strong) { font-size: var(--type-h2) !important; }
html body main:is(#PAGE_SECTIONSvrgpj,#PAGE_SECTIONSgk6bt,#PAGE_SECTIONShkmuh,#PAGE_SECTIONSarc0h) .wixui-rich-text :is(h3,h3 span,h3 strong) { font-size: var(--type-h3) !important; }
html body main:is(#PAGE_SECTIONSvrgpj,#PAGE_SECTIONSgk6bt,#PAGE_SECTIONShkmuh,#PAGE_SECTIONSarc0h) .wixui-rich-text :is(h4,h4 span,h4 strong) { font-size: var(--type-h4) !important; }
html body main:is(#PAGE_SECTIONSvrgpj,#PAGE_SECTIONSgk6bt,#PAGE_SECTIONShkmuh,#PAGE_SECTIONSarc0h) .wixui-rich-text :is(h5,h6,h5 span,h6 span) { font-size: var(--type-h5) !important; }
html body main:is(#PAGE_SECTIONSvrgpj,#PAGE_SECTIONSgk6bt,#PAGE_SECTIONShkmuh,#PAGE_SECTIONSarc0h) .wixui-rich-text :is(p,li,p span,li span) {
  font-size: var(--type-b2) !important; line-height: 1.7 !important; text-align: left !important;
}
html body main .wixui-rich-text { height: auto !important; min-height: 0 !important; overflow-wrap: anywhere; }
html body main > .wixui-section { background: transparent !important; }
html body main .wixui-section > .max-width-container {
  width: calc(100% - var(--reading-gutter) * 2) !important;
  max-width: calc(var(--reading-width) - var(--reading-gutter) * 2) !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
  border-top: 1px solid var(--portfolio-rule);
  padding-block: var(--reading-space) !important;
}
html body main .wixui-section:not(#comp-meb7fyrv) > .max-width-container {
  display: flex !important; flex-direction: column !important; gap: 2.5rem !important;
  height: auto !important; min-height: 0 !important;
}
html body main .wixui-section:not(#comp-meb7fyrv) > .max-width-container > :is(.wixui-box,.wixui-rich-text,.wixui-image) {
  position: relative !important; inset: auto !important; margin: 0 !important;
  width: 100% !important; max-width: 100% !important; height: auto !important;
}
html body main .wixui-rich-text :is(h1,h2,h3,h4,h5,h6,p,li) { overflow-wrap: anywhere; }
html body main .wixui-box:not(.inner-box), html body main .replica-gallery { min-width: 0 !important; max-width: 100% !important; }
html body main .replica-gallery { gap: 1.5rem !important; }
html body main .replica-gallery figcaption { font-size: var(--type-b3); text-align: left; }
html body main [role="list"] > .wixui-box > .inner-box { border-radius: var(--reading-radius) !important; background: var(--portfolio-panel) !important; border: 1px solid var(--portfolio-rule) !important; }
/* Source evaluation callouts remain smaller than reading copy so their annotations fit. */
html body main #comp-meb7fyrv .wixui-box .wixui-rich-text :is(p,p span) { font-size: var(--type-b3) !important; }
html body main #comp-meb7fyrv > .max-width-container { border-top: 0; }
/* Opening identity and role blocks must size to content, not source canvas tracks. */
html body main :is(#comp-meb6wyxs,#comp-meb80zwf,#comp-meb6298m) {
  display: flex !important; flex-direction: column !important; align-items: flex-start !important;
  gap: 1.5rem !important; height: auto !important; min-height: 0 !important;
}
html body main :is(#comp-meb6wyxs,#comp-meb80zwf,#comp-meb6298m) > :is(.wixui-box:not(.inner-box),.wixui-rich-text) {
  width: 100% !important; height: auto !important; min-height: 0 !important; margin: 0 !important;
}
html body main :is(#comp-meb6wyxu1,#comp-meb80zwg7) { gap: 1.5rem !important; }
html body main :is(#comp-meb6wyyh,#comp-meb80zwp4) { width: 100% !important; }
html body main .wixui-section:first-child > .max-width-container { padding-top: 3rem !important; }
html body main .wixui-section:not(#comp-meb7fyrv) > .max-width-container > :is(.wixui-horizontal-line,.wixui-vertical-line) {
  position: relative !important; inset: auto !important; margin: 0 !important; min-height: 0 !important;
}
html body main :is(#comp-meb6wyxu1,#comp-meb80zwg7,#comp-meb6298n7) {
  display: flex !important; flex-direction: column !important; align-items: flex-start !important;
  width: 100% !important; gap: 1.5rem !important; padding: 0 !important;
}
html body main :is(#comp-meb6wyxu1,#comp-meb80zwg7,#comp-meb6298n7) > :is(.wixui-rich-text,.wixui-image) {
  margin: 0 !important; align-self: flex-start !important; height: auto !important;
}
html body main :is(#comp-meb6wyxs,#comp-meb80zwf,#comp-meb6298m) > .wixui-rich-text { padding: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  html body main *, html body main *::before { animation: none !important; transition: none !important; }
}

/* LayerPath: opening stats / "Did you know?" section removed per owner request. */
html body main #comp-meb6wyxa { display: none !important; }

/* Stray original annotation circles removed per owner request. */
html body main :is(#comp-meb6zefa8, #comp-meb6zeff1, #comp-meb6zefq1, #comp-meb6zefr9) { display: none !important; }
html body main .wixui-image:has(img[src*="megaputer-6815d5e723b2453094263a89587e4a56"]),
html body main .wixui-image:has(img[src*="megaputer-a2eb5732469c4ae7b7f82f0576c8fd35"]) { display: none !important; }

/* Source-qualified issue annotations anchored to intrinsic screenshot coordinates. */
:root { --issue-danger: oklch(.53 .21 27); --issue-paper: oklch(1 0 0); --issue-soft: oklch(.97 .015 27); --issue-shadow: 0 4px 16px oklch(.53 .21 27 / 12%); }
html body main .issue-source-hidden { display: none !important; }
html body main .issue-board { pointer-events: auto; position: relative; z-index: 3; width: 100% !important; margin: 0 !important; min-width: 0; }
html body main .wixui-section:has(.issue-board) > [data-hook="bgLayers"] { pointer-events: none; }
.issue-stage { position: relative; width: 100%; }
.issue-stage > img { display: block; width: 100%; height: auto; border-radius: var(--reading-radius); }
.issue-marker { position: absolute; left: var(--issue-x); top: var(--issue-y); transform: translate(-50%,-50%); width: 2.75rem; height: 2.75rem; border: 2px solid var(--issue-paper); border-radius: 50%; background: var(--issue-danger); color: var(--issue-paper); font: 600 .875rem var(--portfolio-body); cursor: pointer; box-shadow: var(--issue-shadow); }
.issue-marker:focus-visible { outline: 3px solid var(--issue-danger); outline-offset: 3px; }
.issue-marker[aria-expanded="true"] { box-shadow: 0 0 0 5px color-mix(in oklab,var(--issue-danger) 25%,transparent); }
.issue-popup { position: absolute; z-index: 2; left: clamp(1rem,calc(var(--popup-x) + 2rem),calc(100% - 23rem)); top: clamp(1rem,calc(var(--popup-y) + 2rem),calc(100% - 10rem)); width: min(22rem,calc(100% - 2rem)); padding: 1.25rem 1.5rem; border: 1px solid var(--issue-danger); border-left-width: 4px; border-radius: var(--reading-radius); background: var(--issue-soft); color: var(--issue-danger); min-height: 7rem; visibility: hidden; box-shadow: var(--issue-shadow); }
.issue-visible .issue-popup { visibility: visible; }
.issue-popup strong { font: 600 var(--type-b3)/1.5 var(--portfolio-display); }
.issue-popup p { font: 400 var(--type-b2)/1.6 var(--portfolio-body); margin-top: .5rem; }
html body main .issue-evaluation > .max-width-container { display: flex !important; flex-direction: column !important; aspect-ratio: auto !important; height: auto !important; gap: 3rem !important; padding-block: var(--reading-space) !important; }
html body main .issue-evaluation #comp-meb7fys2 { position: relative !important; inset: auto !important; margin: 0 !important; width: 100% !important; height: auto !important; }
@media (max-width: 47.999rem) { .issue-marker { width: 2rem; height: 2rem; font-size: .75rem; } .issue-popup { position: relative; left: auto; top: auto; width: 100%; margin-top: 1rem; padding: 1rem; box-sizing: border-box; } }

/* Narrative chapters frame existing source artwork without fixed canvas heights. */
html body main { display: block !important; height: auto !important; min-height: 0 !important; }
html body main > .study-chapter { display: block !important; width: calc(100% - var(--reading-gutter) * 2); max-width: calc(var(--reading-width) - var(--reading-gutter) * 2); margin-inline: auto; padding-block: var(--reading-space); border-top: 1px solid var(--portfolio-rule); }
.study-chapter > h2 { font: 600 var(--type-h2)/1.3 var(--portfolio-display); margin: 0 0 2rem; }
.study-chapter > p, .study-chapter > ul { max-width: 48rem; font: 400 var(--type-b2)/1.7 var(--portfolio-body); margin: 0 0 1.5rem; }
.study-chapter > ul { padding-left: 1.25rem; }
.study-chapter > ul li + li { margin-top: .75rem; }
.study-chapter > a { color: var(--portfolio-link); font: 400 var(--type-b3)/1.6 var(--portfolio-body); text-decoration: underline; text-underline-offset: .25rem; }
:root { --portfolio-link: oklch(.55 .2 256); }
html body main .study-chapter > .study-source-section { display: block !important; height: auto !important; min-height: 0 !important; margin-top: 2.5rem; }
html body main .study-chapter .wixui-section > .max-width-container { width: 100% !important; max-width: 100% !important; border-top: 0; padding-block: 1.5rem !important; }
html body main .study-chapter > .wixui-box { position: relative !important; inset: auto !important; width: 100% !important; height: auto !important; margin: 2.5rem 0 0 !important; }
html body main .study-chapter .wixui-rich-text h2, html body main .study-chapter .wixui-rich-text h2 span { font-size: var(--type-h3) !important; }
html body main .study-chapter:first-child { border-top: 0; padding-top: 0; }
html body main > .study-chapter { width: 100%; max-width: 100%; }
.study-chapter > .study-chapter { border: 0; padding: 0; margin-bottom: 2.5rem; }
.study-chapter > .study-chapter > h2 { font-size: var(--type-h3); }