/* PRISM Phase 2ID — corrected action-card silhouette, Crystal only.
   Classic is the geometry source. No DOM, workflow, or permission logic changes. */
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules button.prismModuleTile {
  box-sizing:border-box!important;
  border-radius:24px!important;
  aspect-ratio:auto!important;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:108px!important;
  max-height:none!important;
  clip-path:none!important;
  padding:15px 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  text-align:left!important;
  transform-origin:center!important;
  overflow:hidden!important;
  background:linear-gradient(168deg,rgba(255,255,255,.68) 0%,rgba(229,238,255,.46) 44%,rgba(219,211,251,.53) 100%)!important;
  border:2px solid rgba(255,255,255,.96)!important;
  box-shadow:inset 0 3px 3px rgba(255,255,255,.98),inset 0 -6px 10px rgba(94,128,241,.17),
    0 12px 21px -12px rgba(33,30,87,.45),0 7px 11px -10px #00d9ff,
    -5px 5px 13px -10px rgba(0,207,255,.8),6px 6px 13px -10px rgba(225,73,250,.8)!important;
}
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules button.prismModuleTile.hide,
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules button.prismModuleTile[hidden] {display:none!important;visibility:hidden!important;}
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules button.prismModuleTile .prismModuleIcon {
  flex:0 0 44px!important;width:44px!important;height:44px!important;
  border-radius:14px!important;display:grid!important;place-items:center!important;
  background:linear-gradient(143deg,rgba(255,255,255,.85),rgba(210,225,255,.6))!important;
  border:2px solid rgba(255,255,255,.96)!important;
  box-shadow:inset 0 2px 3px #fff,0 3px 8px #3c46952c!important;
}
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules button.prismModuleTile .prismModuleInfo {
  flex:1 1 auto!important;min-width:0!important;max-width:none!important;display:flex!important;flex-direction:column!important;
  align-items:flex-start!important;justify-content:center!important;gap:4px!important;line-height:1.25!important;
}
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules button.prismModuleTile .prismModuleInfo strong{
  display:block!important;font-size:clamp(12px,.95vw,15px)!important;line-height:1.25!important;
  color:#152348!important;overflow-wrap:anywhere!important;
}
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules button.prismModuleTile .prismModuleInfo small {
  display:block!important;font-size:11px!important;line-height:1.35!important;color:#4a5373!important;
  overflow-wrap:anywhere!important;
}
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules button.prismModuleTile .prismModuleArrow{
  flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:#424e85!important;font-weight:800!important;font-size:20px!important;
}
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules button.prismModuleTile:hover:not(:disabled){
  transform:translateY(-3px)!important;
  box-shadow:inset 0 3px 5px #fff,0 15px 25px -11px #323a8780,0 0 19px #77c9ff8e!important;
}
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules button.prismModuleTile:focus-visible{
  outline:3px solid #395bdf!important;outline-offset:3px!important;
}
/* The Inbox is a first-row action, not a spherical decoration. */
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules #homeGoInbox {
  border-radius:24px!important;
  background:linear-gradient(128deg,rgba(23,107,183,.91),rgba(52,55,151,.91) 49%,rgba(140,47,162,.89))!important;
  box-shadow:inset 0 3px 5px #ffffffca,inset 0 -6px 13px #20c7ff4b,0 12px 26px -10px #3432b48c,0 0 12px #2e9be66b!important;
}
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules #homeGoInbox .prismModuleInfo strong,
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules #homeGoInbox .prismModuleInfo small,
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules #homeGoInbox .prismModuleArrow {color:white!important;}
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules #homeGoInbox .prismModuleIcon {
  background:linear-gradient(155deg,#e7faff92,#258efba0)!important;color:white!important;
}
@media(max-width:1279px){
 html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules button.prismModuleTile{min-height:110px!important;height:auto!important;}
}
@media(max-width:650px){
 html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules button.prismModuleTile{min-height:104px!important;padding:13px 12px!important;gap:10px!important;border-radius:20px!important;}
 html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules #homeGoInbox{border-radius:20px!important;}
}
@media(prefers-reduced-motion:reduce){
 html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules button.prismModuleTile{transition:none!important;}
 html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules button.prismModuleTile:hover{transform:none!important;}
}
/* Older Crystal CSS assigns 999px pill radii by ID-specific selectors.
   Explicit ID-level parity ensures every quick action is a rectangle. */
html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules :is(#homeGoInbox,#prismGoChecklist,#homeGoDocuments,#prismGoRfq,#prismGoEvaluation,#prismGoAllocation,#prismGoHistory,#timelineAdminTile){
 border-radius:24px!important;aspect-ratio:auto!important;
}
@media(max-width:650px){
 html.prismThemeCrystal #app #homePage .prismReferenceLower .prismRefModules :is(#homeGoInbox,#prismGoChecklist,#homeGoDocuments,#prismGoRfq,#prismGoEvaluation,#prismGoAllocation,#prismGoHistory,#timelineAdminTile){border-radius:20px!important;}
}
