/* PRISM Phase 2IO — Ruby spectral crystal presentation.
 * Visual layer ONLY. No statuses, data, rights, events, or workflows changed.
 * The approved illustration is a *design reference*, not a bitmap of the app.
 * Applied to Crystal exclusively; other themes retain Phase 2IN styling.
 */
@property --p2io-spin { syntax: '<angle>'; initial-value:0deg; inherits:false; }
@keyframes p2io-spectral-turn { to { --p2io-spin:360deg; } }
@keyframes p2io-glass-shimmer { 0%,100% { background-position:0% 50%;opacity:.52 } 48%{background-position:100% 50%;opacity:.87} }
@keyframes p2io-glitter { 0%,100%{opacity:.35;transform:translateY(0)} 42%{opacity:.96;transform:translateY(-4px)} 72%{opacity:.53;transform:translateY(1px)} }
@keyframes p2io-feathers { 0%,100%{transform:translate3d(0,1px,0) scale(1);filter:drop-shadow(0 0 12px #ed75bd6a)} 50%{transform:translate3d(7px,-3px,0) scale(1.022);filter:drop-shadow(0 0 17px #ffac7c96)} }
@keyframes p2io-active-halo { 0%,100%{box-shadow:0 8px 15px #1b001ec2,0 0 12px #fe82ffbc,0 0 16px #ffb4727a,inset 0 1px 1px #fff8}50%{box-shadow:0 10px 21px #1b001edb,0 0 22px #ff70dbea,0 0 31px #ffc97cb6,inset 0 1px 1px #fff9} }
@keyframes p2io-light-travel { 0%{transform:translateX(-135%) skewX(-22deg)} 70%,100%{transform:translateX(225%) skewX(-22deg)} }
/* The wine tone is not a flat fill: transparent translucent material lets several
 * differently moving reflected spectra appear through it. */
html.prismThemeCrystal body,
html.prismThemeCrystal #app {
  background:radial-gradient(ellipse at 80% 9%,#c4428055,transparent 37%),
    radial-gradient(ellipse at 0% 85%,#482d7359,transparent 38%),
    linear-gradient(128deg,#3d0728 0%,#760c32 48%,#3b0a2e 100%)!important;
  color:#fff3ec!important;
}
html.prismThemeCrystal #app#app .main {
  background:radial-gradient(ellipse at 69% 9%,#bf3c7861 0,transparent 42%),
    linear-gradient(157deg,#5f0b31ee 0%,#790b36e8 48%,#42082bdc 100%)!important;
  color:#fff1e8!important;
}
html.prismThemeCrystal #app#app .side {
  background:linear-gradient(158deg,#7d123b 0%,#390a32 64%,#6b092e 100%)!important;
  border:1.5px solid #ffc6dc99!important;
  box-shadow:inset 0 2px 2px #fff7,inset -2px 0 7px #ffcfb46e,3px 0 18px #210020bf,
    -4px 5px 17px #fc4cb146!important;
  color:#fff5eb!important;
}
html.prismThemeCrystal #app#app .side .brand,
html.prismThemeCrystal #app#app .side .sideLabel,
html.prismThemeCrystal #app#app .side .sideFooter {color:#fff3e7!important; -webkit-text-fill-color:currentColor!important}
html.prismThemeCrystal #app#app #prismTopbar {
  background:linear-gradient(115deg,#650b31c7,#58112e9e 62%,#8f235397)!important;
  border-bottom:1.5px solid #ffe5cd94!important;
  box-shadow:inset 0 1px #ffddcc91,0 4px 13px #1b062648!important;
  color:#fff9ee!important;
}
html.prismThemeCrystal #app#app #prismTopbar :is(.prismInstitution,.prismTopIdentity strong) {color:#fff7ef!important;-webkit-text-fill-color:#fff7ef!important}
/* Keep authorization/visibility controls intact. The paint treatment must not unhide buttons. */
html.prismThemeCrystal #app#app .side .nav > :is(button,a.gdPublicNav):not(.hide):not([hidden]) {
  background:linear-gradient(110deg,#fff4ed2a,#63163b9f 17%,#790c3cb3 72%,#b22b5c5a)!important;
  border:2px solid #ffdfebdd!important;
  color:#fff7ef!important;
  box-shadow:inset 0 2px 3px #fff7,inset 0 -3px 6px #28031bad,0 7px 13px #130322b2,
    -4px 5px 12px -8px #6cf7ff,4px 6px 14px -8px #ff65e9!important;
  -webkit-text-fill-color:#fff7ef!important;
  text-shadow:0 1px 3px #25021b9e!important;
}
html.prismThemeCrystal #app#app .side .nav > :is(button,a.gdPublicNav).active {
  background:linear-gradient(105deg,#8c164abf,#620d36dc 65%,#bd34649e)!important;
  border-color:#ffecf6!important;
  box-shadow:inset 0 3px 5px #fff8,inset 0 -4px 9px #1c001ccc,0 0 15px #ff7fdd9f,
    0 8px 15px #220821d1!important;
}
html.prismThemeCrystal #app#app .side .nav > .hide,
html.prismThemeCrystal #app#app .side .nav > [hidden],
html.prismThemeCrystal #app#app .hide,
html.prismThemeCrystal #app [hidden] {display:none!important}
/* Restrict the faceted optical skin to dashboard and globally useful controls;
 * never change grid/DOM order, visibility, or role policy. */
html.prismThemeCrystal #app#app :is(#gdDashboardStage,#prismDeskPulse,.prismReferenceHero,.prismReferenceWorkflow,
  .prismRefKpi,.prismModuleTile,.prismGlassPanel,.prismSharedPanel) {
  color:#fff7f0!important;
  background:
    url('prism-phase2io-facets.svg') center/100% 100% no-repeat,
    linear-gradient(123deg,#fcbded28,#ffffff12 27%,#9c1b539e 65%,#600b34c5),
    radial-gradient(ellipse at 10% 0%,#ffd4ff42,transparent 35%),
    linear-gradient(138deg,#6e113dbb,#4a092fde 85%)!important;
  border:1.5px solid #ffe0e4e8!important;
  border-radius:19px!important;
  box-shadow:inset 0 2px 2px #fffbd5ac,inset 0 -3px 6px #ff73bc66,
     inset 2px 0 8px #76e7ff35,0 9px 19px #21021edb,
     -5px 6px 18px -13px #4bf3ff,5px 6px 18px -12px #ff63d1!important;
  -webkit-backdrop-filter:blur(17px) saturate(170%)!important;
  backdrop-filter:blur(17px) saturate(170%)!important;
  position:relative!important;
  isolation:isolate!important;
}
/* Help boxes, warnings, and forms can retain opaque inner fields for contrast. */
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage :is(.prismRefKpi,.prismModuleTile,.prismRefProcessing,.prismRefAppStatus,.prismRefNotifications) :is(h2,h3,strong,small,span,p),
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismDeskPulse :is(strong,small,span),
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceWorkflow :is(h2,small,strong),
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceHero :is(h2,p){color:#fff5ee!important;-webkit-text-fill-color:#fff5ee!important}
/* Content stays above decorative lens highlights. */
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage :is(.prismRefKpi,.prismGlassPanel,.prismReferenceHero,.prismModuleTile) > *{position:relative;z-index:2}
/* Faceted corners: the reference has a crisp white top rim, magenta sides,
 * cyan at the lower left and champagne flare at the lower right. */
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage :is(.prismRefKpi,.prismModuleTile,.prismGlassPanel,.prismReferenceWorkflow)::before {
  content:""!important;position:absolute!important;inset:0!important;
  border-radius:inherit!important;pointer-events:none!important;z-index:0!important;
  background:linear-gradient(145deg,#fff6e59c 0%,#fff4ff19 9%,transparent 18%,transparent 77%,#87f4ff2b 91%,#ffdba64a),
    radial-gradient(ellipse at 0% 100%,#00edff4b,transparent 29%),
    radial-gradient(ellipse at 98% 100%,#ff55d65e,transparent 25%)!important;
  box-shadow:inset 0 1px 0 #fffdf7dc,inset 0 0 0 2px #eaaeff28!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage :is(.prismRefKpi,.prismModuleTile,.prismGlassPanel,.prismReferenceWorkflow)::after {
  content:""!important;position:absolute!important;inset:0!important;
  border-radius:inherit!important;pointer-events:none!important;z-index:1!important;
  background:url('prism-phase2io-glitter.svg') center/cover no-repeat,
    linear-gradient(105deg,transparent 3%,#ffffff21 18%,transparent 26%,#ff99ec16 60%,transparent 73%)!important;
  opacity:.58!important;animation:p2io-glitter 7s ease-in-out infinite!important;
}
/* The reference header is deep burgundy with a feather vine on the right; both
 * heading and action button remain real, readable controls. */
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceHero {
  min-height:108px!important;
  background:radial-gradient(ellipse at 72% 57%,#9a1857d8,#5f0b34b9 61%),
   linear-gradient(112deg,#510825e8,#840a3fdd)!important;
  padding:14px 20px!important;
  border-color:#ffdbb6!important;
  box-shadow:inset 0 1px 3px #fffaeeae,0 0 14px #ff80b263,0 8px 17px #24021db0!important;
  overflow:hidden!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceHero::before {
  content:""!important;position:absolute!important;inset:0!important;
  background:url('prism-phase2io-glitter.svg') 100% 40%/cover no-repeat,
    radial-gradient(ellipse at 89% 60%,#e75b9488,transparent 55%)!important;
  z-index:0!important;opacity:.76!important;pointer-events:none!important;
  animation:p2io-glitter 6.5s ease-in-out infinite!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceHero::after {
  content:""!important;position:absolute!important;inset:3% 7% 4% 52%!important;
  background:url('prism-phase2io-feather-vine.webp') center right/100% 100% no-repeat!important;
  opacity:.96!important;z-index:0!important;pointer-events:none!important;
  animation:p2io-feathers 9s ease-in-out infinite!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceHero > *{position:relative!important;z-index:2!important}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceHero h2:not(.prismAMGreeting) {
  display:block!important;
  color:#ffe1af!important;-webkit-text-fill-color:#ffe1af!important;
  font-family:Georgia,serif!important;font-size:clamp(26px,3vw,40px)!important;
  font-weight:700!important;font-style:normal!important;line-height:1.06!important;
  text-shadow:0 2px 8px #25011e!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceHero h2.prismAMGreeting {display:none!important}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceHero p {max-width:650px!important;font-size:12px!important;line-height:1.4!important}
/* Native priority strip has current authorized data; no invented values. */
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismDeskPulse {
  padding:9px 14px!important;min-height:53px!important;
  background:linear-gradient(120deg,#540c2edc,#8b2057a4 49%,#3f092ac4)!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismDeskPulse .prismPulseActions button {
  background:linear-gradient(130deg,#8e2148dc,#3f0b32e6)!important;
  color:#fff4e9!important;border:1px solid #ffe5dfaf!important;
  box-shadow:inset 0 1px 3px #fff8,0 3px 8px #19001c90!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismDeskPulse .prismPulseActions button strong{
  background:#c84c7a96!important;color:#fff9e8!important;-webkit-text-fill-color:#fff9e8!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage #gdDashboardStage{padding:12px 17px!important}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage #gdDashboardStage :is(h3,p){color:#fff4ee!important}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage #gdDashboardStage .gdButton{
  background:linear-gradient(135deg,#7b0e36,#a82e54)!important;color:#fff!important;
  border:1px solid #ffbeab!important;box-shadow:0 4px 11px #2d061e85!important;
}
/* Workflow housing: transparent ruby glass rather than solid lilac. */
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceWorkflow {
  padding:14px 18px 12px!important;
  background:url('prism-phase2io-facets.svg') center/100% 100% no-repeat,
    linear-gradient(160deg,#8c24599e,#4b0b32e0 88%)!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage #prismWorkflowHeading {color:#fff9f2!important;-webkit-text-fill-color:#fff9f2!important}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismFlowSelection :is(select,button),
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage #prismWorkflowLocateCurrent {
  background:linear-gradient(123deg,#a43461,#4d0b33 68%,#6c1042)!important;
  color:#fff9ef!important;-webkit-text-fill-color:#fff9ef!important;
  border:1.6px solid #ffe0eacc!important;
  border-radius:100px!important;
  box-shadow:inset 0 2px 2px #ffeced90,0 5px 11px #200022b0,0 0 7px #ff85d353!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismFlowSelection :is(button,select):disabled {opacity:.58!important;cursor:not-allowed!important}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage #prismWorkflowApp {color:#ffe2af!important;-webkit-text-fill-color:#ffe2af!important}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismStageNowSummary {
  background:linear-gradient(112deg,#a83e6b6f,#551137a8 57%,#ba4d7c4b)!important;
  border:1.5px solid #ffdce9e5!important;
  border-radius:15px!important;
  box-shadow:inset 0 2px 3px #ffffff85,inset 0 -4px 7px #5f103e7e,0 5px 12px #23052191!important;
  color:#fff9ec!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismStageNowSummary :is(strong,span){color:#fff6ef!important;-webkit-text-fill-color:#fff6ef!important}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismWorkflowTrack {position:relative!important}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismWorkflowStep {
  background:linear-gradient(160deg,#a74b7a6b,#52143e8c 57%,#391334bb)!important;
  border:2px solid #ffe2f3e3!important;border-radius:22px!important;
  color:#fff8ef!important;
  box-shadow:inset 0 3px 4px #ffffff96,inset 0 -5px 9px #3b0c3b91,
    0 7px 13px #210322af,-4px 7px 14px -10px #3bf3ff,4px 7px 13px -10px #ff5bea!important;
  padding:7px 5px 9px!important;overflow:visible!important;
  -webkit-text-fill-color:#fff8ef!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismWorkflowStep :is(strong,small){
  color:#fff4ed!important;-webkit-text-fill-color:#fff4ed!important;
  font-family:system-ui,sans-serif!important;font-weight:750!important;
  text-shadow:0 1px 2px #1d031f!important;
  position:relative!important;z-index:4!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismWorkflowStep .prismWorkflowCircle {
  background:linear-gradient(125deg,#bb3267d9,#420e40c9)!important;
  color:#ffe2a5!important;-webkit-text-fill-color:#ffe2a5!important;
  border:1px solid #ffdba9e3!important;
  box-shadow:inset 0 1px #fff8,0 0 10px #ff8ec483!important;
  text-shadow:0 0 7px #ffd69ae8!important;
  position:relative!important;z-index:4!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismWorkflowStep.complete .prismWorkflowCircle {
  background:linear-gradient(145deg,#ab4a60b6,#572c51cc)!important;color:#d4ffdb!important;-webkit-text-fill-color:#d4ffdb!important;
}
/* One current-stage highlight, never an inner optic circle obscuring the text. */
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismWorkflowStep.current {
  --p2io-spin:0deg;
  background:linear-gradient(145deg,#97163bdc,#510725f0 65%,#8f1545db) padding-box,
    conic-gradient(from var(--p2io-spin),#ffebcd,#ff62f1,#8bf3ff,#f9be86,#fdb7ff,#ffebcd) border-box!important;
  border:3px solid transparent!important;
  border-radius:22px!important;
  animation:p2io-spectral-turn 5.6s linear infinite,p2io-active-halo 3.3s ease-in-out infinite!important;
  transform:none!important;
  isolation:isolate!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismWorkflowStep.current::before {
  content:""!important;position:absolute!important;inset:2px!important;border-radius:18px!important;
  background:linear-gradient(165deg,#ffffff51,transparent 31%,#e739a127 71%,#ffb26a39)!important;
  pointer-events:none!important;z-index:0!important;box-shadow:inset 0 2px 2px #fff8!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismWorkflowStep.current::after {
  content:""!important;position:absolute!important;top:0;bottom:0;left:0;width:45%!important;
  border-radius:inherit!important;background:linear-gradient(90deg,transparent,#fff8 55%,transparent)!important;
  pointer-events:none!important;z-index:1!important;filter:blur(5px)!important;
  opacity:.35!important;animation:p2io-light-travel 5.8s ease-in-out infinite!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismWorkflowStep.current > :is(strong,small){color:#fff9ed!important;-webkit-text-fill-color:#fff9ed!important;z-index:6!important}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismWorkflowStep.current .prismWorkflowCircle{
  border-color:#ffdca6!important;color:#fff2cf!important;-webkit-text-fill-color:#fff2cf!important;
  background:linear-gradient(150deg,#a93751,#6a0e33)!important;z-index:6!important;
}
/* Chart values stay real. Keep the data-driven wedges; only the rim glitters. */
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage :is(#prismDonut,#prismAppDonut){
  border:4px solid #fff1dd!important;
  box-shadow:0 3px 15px #210021a4,0 0 17px #ef78cf77,
    inset 0 4px 7px #fffd!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage :is(#prismDonut,#prismAppDonut) .prismDonutHole{
  color:#4b0d33!important;background:radial-gradient(circle at 27% 11%,#fffbef,#f3dce6 70%,#dfb9d8)!important;
  border:3px solid #fff6eb!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage :is(#prismDonut,#prismAppDonut) .prismDonutHole :is(strong,span){
  color:#4b0d33!important;-webkit-text-fill-color:#4b0d33!important;
}
/* Text-driven action cards, metric values, and notices; keep all user data intact. */
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceKpis .prismRefKpi {
  min-height:95px!important;
  background:linear-gradient(135deg,#ffe8f023 0%,#7d1a49d3 44%,#54092bdb 100%)!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismRefKpi > div:last-child :is(strong,span,small){color:#fff4ed!important;-webkit-text-fill-color:#fff4ed!important}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismKpiIcon,
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismModuleIcon {
  background:linear-gradient(140deg,#b94f7d9c,#4a143ad0)!important;
  color:#ffe5a7!important;border:1px solid #ffcee1be!important;
  box-shadow:inset 0 1px 2px #fff8,0 0 8px #fc88d96a!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismRefModules::before{color:#fff7e8!important;-webkit-text-fill-color:#fff7e8!important}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismModuleTile {
  min-height:104px!important;
  background:linear-gradient(130deg,#c0467975,#74103dde 57%,#490b36e0)!important;
  text-align:left!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismModuleTile .prismModuleInfo :is(strong,small) {
  color:#fff4e9!important;-webkit-text-fill-color:#fff4e9!important;
  text-shadow:0 1px 2px #240522a6!important;
}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismModuleTile .prismModuleArrow {color:#ffebb8!important;-webkit-text-fill-color:#ffebb8!important}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismModuleTile:hover,
html.prismThemeCrystal #app#app .side .nav > button:hover:not(:disabled){
  filter:brightness(1.08) saturate(1.06)!important;
}
/* Analytics/notification information remains readable on burgundy translucent panels. */
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismDonutLegend :is(span,strong,small),
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismAppChartIntro,
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismAppChartFoot,
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismRecentList :is(strong,span,small,p),
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismNotificationsFeed :is(strong,span,small,p){color:#fff5eb!important;-webkit-text-fill-color:#fff5eb!important}
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage :is(.prismRefAppStatus,.prismRefProcessing,.prismRefNotifications) button:not(:disabled),
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismSharedPanel button:not(:disabled) {
  background:linear-gradient(134deg,#8e2454,#490c33)!important;
  border:1px solid #ffe1d7c7!important;color:#fffaf2!important;-webkit-text-fill-color:#fffaf2!important;
}
/* Outside the dashboard, keep the Crystal personality without coloring all forms
 * burgundy (which would destroy input contrast). */
html.prismThemeCrystal #app#app .main > section.stack:not(#homePage) :is(.gdCard,.phase2Mini,.prismSharedPanel){
  border:2px solid #f4b7d5b6!important;box-shadow:inset 0 2px #fff8,0 7px 18px #21001b83!important;
}
/* IMPORTANT: hidden controls stay hidden, regardless of their visual selector. */
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismModuleTile.hide,
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismWorkflowStep[hidden],
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismRefKpi.hide,
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage [hidden],
html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .hide{display:none!important}
@media (max-width:1000px){
  html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceHero::after{inset:12% 1% 6% 50%!important;opacity:.73!important}
  html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceHero h2:not(.prismAMGreeting){font-size:clamp(25px,4vw,34px)!important}
  html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceWorkflow{padding:11px!important}
}
@media (max-width:560px){
  html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceHero{min-height:145px!important;padding:14px!important}
  html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceHero::after{inset:37% -9% 3% 44%!important;opacity:.47!important}
  html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceHero h2:not(.prismAMGreeting){font-size:25px!important;line-height:1.05!important}
  html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceHero p{max-width:70%!important;font-size:11px!important}
  html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismReferenceWorkflow .prismWorkflowStep{min-width:112px!important}
  html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismRefKpi{min-height:87px!important}
}
@media (prefers-reduced-motion: reduce){
  html.prismThemeCrystal #app#app#app #homePage#homePage#homePage :is(.prismReferenceHero,.prismReferenceWorkflow,.prismRefKpi,.prismModuleTile,.prismGlassPanel)::before,
  html.prismThemeCrystal #app#app#app #homePage#homePage#homePage :is(.prismReferenceHero,.prismReferenceWorkflow,.prismRefKpi,.prismModuleTile,.prismGlassPanel)::after,
  html.prismThemeCrystal #app#app#app #homePage#homePage#homePage .prismWorkflowStep.current{animation:none!important}
  html.prismThemeCrystal #app *{scroll-behavior:auto!important}
}
/* 2IO optical refinement after screenshot audit: distinct refracted pastel
 * stage lenses and visible feather vine, preserving every actual stage label. */
html.prismThemeCrystal #app#app #homePage#homePage .prismReferenceHero::after {
  inset:6% 6% 7% 51%!important;width:auto!important;height:auto!important;
  max-width:none!important;max-height:none!important;min-width:0!important;
  background-size:100% 100%!important;opacity:1!important;
  mix-blend-mode:screen!important;
}
html.prismThemeCrystal #app#app #homePage#homePage .prismReferenceHero {
  box-shadow:inset 0 2px 2px #fff4c3af,inset 0 -3px 8px #ff57a873,
    0 0 18px #ff72cc80,0 9px 17px #24021dba!important;
}
html.prismThemeCrystal #app#app #homePage#homePage .prismWorkflowStep:not(.current) {
  background:linear-gradient(162deg,#ffffff5e 0%,#ad4679a1 28%,#66143ad6 74%,#4b153cc5)!important;
  border-color:#fff4faed!important;
  box-shadow:inset 0 3px 3px #ffffffac,inset 0 -6px 9px #340b4790,
    0 6px 14px #250020bf,-4px 8px 15px -8px #81ebff8a,
    4px 8px 15px -8px #ff62df91!important;
}
html.prismThemeCrystal #app#app #homePage#homePage .prismWorkflowStep:nth-child(4n + 1):not(.current){
  box-shadow:inset 0 3px 3px #fff9,inset 0 -6px 9px #23c6d75b,0 6px 14px #250020ba,
    0 0 10px #53efff85,-4px 8px 15px -8px #46f1ff!important;
}
html.prismThemeCrystal #app#app #homePage#homePage .prismWorkflowStep:nth-child(4n + 2):not(.current){
  box-shadow:inset 0 3px 3px #fff9,inset 0 -6px 9px #8660ff75,0 6px 14px #250020ba,
    0 0 10px #b59fff86,4px 8px 15px -8px #c6aaff!important;
}
html.prismThemeCrystal #app#app #homePage#homePage .prismWorkflowStep:nth-child(4n + 3):not(.current){
  box-shadow:inset 0 3px 3px #fff9,inset 0 -6px 9px #fb72df74,0 6px 14px #250020ba,
    0 0 10px #f496e481,4px 8px 15px -8px #f76aea!important;
}
html.prismThemeCrystal #app#app #homePage#homePage .prismWorkflowStep:nth-child(4n):not(.current){
  box-shadow:inset 0 3px 3px #fff9,inset 0 -6px 9px #efb47e75,0 6px 14px #250020ba,
    0 0 10px #ffd29d8d,4px 8px 15px -8px #ffd08a!important;
}
html.prismThemeCrystal #app#app #homePage#homePage .prismWorkflowStep .prismWorkflowCircle {
  font-size:19px!important;line-height:1.1!important;filter:drop-shadow(0 0 5px #ffd7c28a)!important;
}
html.prismThemeCrystal #app#app #homePage#homePage .prismRefModules .prismModuleTile::before,
html.prismThemeCrystal #app#app #homePage#homePage .prismReferenceKpis .prismRefKpi::before {
  background:radial-gradient(ellipse at 5% 96%,#46efff8f,transparent 35%),
    radial-gradient(ellipse at 95% 100%,#ed55f996,transparent 35%),
    linear-gradient(164deg,#fffad46f 0%,transparent 24%,#ffb3e821 72%,#ffeec650 100%)!important;
}
html.prismThemeCrystal #app#app #homePage#homePage .prismReferenceWorkflow::after,
html.prismThemeCrystal #app#app #homePage#homePage .prismRefModules .prismModuleTile::after,
html.prismThemeCrystal #app#app #homePage#homePage .prismRefKpi::after {
  opacity:.79!important;
}
@media(max-width:560px){
  html.prismThemeCrystal #app#app #homePage#homePage .prismReferenceHero::after{
    inset:28% -4% 2% 40%!important;opacity:.70!important;
  }
}
/* Last detail pass: date ribbon, crystal highlights, high-gloss edges. */
html.prismThemeCrystal #app#app .prismDateRibbon{
  background:linear-gradient(105deg,#4b092b,#6c1535 58%,#320b2e)!important;
  color:#fff3e9!important;border-bottom:1px solid #ffbfceaa!important;
  box-shadow:inset 0 1px #fff3d88c,0 3px 11px #260520aa!important;
}
html.prismThemeCrystal #app#app .prismDateRibbon :is(.prismDateLabel,.prismDateValues,.prismDateZone){color:#fff5e8!important;-webkit-text-fill-color:#fff5e8!important}
html.prismThemeCrystal #app#app #homePage#homePage :is(.prismReferenceWorkflow,.prismRefKpi,.prismModuleTile,.prismGlassPanel,.prismDeskPulse){
  border-color:#ffe9efea!important;
  box-shadow:inset 0 3px 2px #fffbefd7,inset 0 -4px 7px #f86ac46b,
     inset 2px 0 7px #6df6ff44,0 9px 20px #21021ccf,
     -6px 6px 16px -11px #6bf8ffe5,6px 6px 17px -11px #ff63d5de!important;
}
html.prismThemeCrystal #app#app #homePage#homePage .prismReferenceWorkflow {
  box-shadow:inset 0 2px 3px #fff8,inset 0 -4px 8px #f75bb47c,0 10px 25px #22011ddd,0 0 13px #fd7ac479!important;
}
html.prismThemeCrystal #app#app #homePage#homePage :is(#prismWorkflowHint,#dashboardStatus){
  color:#fbe3df!important;-webkit-text-fill-color:#fbe3df!important;
  text-shadow:0 1px 2px #310e30!important;
}
@media (prefers-reduced-motion: reduce){
  html.prismThemeCrystal #app#app #homePage#homePage .prismWorkflowStep.current,
  html.prismThemeCrystal #app#app #homePage#homePage .prismWorkflowStep.current::after,
  html.prismThemeCrystal #app#app #homePage#homePage .prismReferenceHero::before,
  html.prismThemeCrystal #app#app #homePage#homePage .prismReferenceHero::after,
  html.prismThemeCrystal #app#app #homePage#homePage .prismRefKpi::after,
  html.prismThemeCrystal #app#app #homePage#homePage .prismReferenceWorkflow::after,
  html.prismThemeCrystal #app#app #homePage#homePage .prismModuleTile::after{
    animation:none!important;transition:none!important;
  }
}
/* Final reference-matching optics: the KPI and action lenses deliberately use
 * faceted glass textures instead of the flat color that older skins imposed. */
html.prismThemeCrystal #app#app #homePage#homePage .prismReferenceKpis .prismRefKpi{
  background:
    url('prism-phase2io-facets.svg') center/100% 100% no-repeat,
    radial-gradient(ellipse at 5% 95%,#55e6f957,transparent 42%),
    radial-gradient(ellipse at 95% 90%,#fd63e77b,transparent 48%),
    linear-gradient(134deg,#ffe7ed36 0%,#a33c72a9 38%,#670e3dd9 100%)!important;
  box-shadow:inset 0 3px 2px #fffcebcf,inset 0 -5px 8px #a5368d7b,
      0 7px 17px #2d041fc6,-4px 7px 15px -11px #70efffdc,4px 7px 15px -11px #ff86eecf!important;
}
html.prismThemeCrystal #app#app #homePage#homePage .prismRefModules .prismModuleTile{
  background:
    url('prism-phase2io-facets.svg') center/100% 100% no-repeat,
    radial-gradient(ellipse at 0% 100%,#59efff40,transparent 40%),
    radial-gradient(ellipse at 100% 100%,#ff67de66,transparent 42%),
    linear-gradient(135deg,#fae3ec30 0%,#a43266a5 32%,#670a36e1 78%,#45082ddc 100%)!important;
  border:1.6px solid #fff0f0f0!important;
  box-shadow:inset 0 3px 3px #fffce8d1,inset 0 -5px 7px #812a6d8f,
    0 8px 15px #1e0620c9,-4px 7px 15px -9px #71eaffdf,4px 7px 15px -9px #ff72f0e6!important;
}
