/* Liquid sweep inspired by the supplied white-and-teal silhouette. */
.attendance-burst,.attendance-burst[data-action="check_out"] { background:radial-gradient(ellipse at 40% 10%,#2c2c43,#1d1d30 80%); border-color:#45465e; }
.success-overlay,.success-overlay[data-action="check_out"] { background:radial-gradient(ellipse at 50% 35%,#2b2b42,#1c1c2e 80%)!important; }
.attendance-scene { height:240px; }
.attendance-fluid { position:absolute; inset:0; width:100%; height:calc(100% - 24px); overflow:hidden; }
.fluid-body { fill:#fff; }
.fluid-edge { fill:none; stroke:#00dfcf; stroke-width:1.3; stroke-linecap:round; }
.fluid-wake { fill:none; stroke:#fff; stroke-width:35; opacity:.07; stroke-linecap:round; }
.wake-near { stroke-width:28; opacity:.12; }
.fluid-drops { fill:#fff; }
.fluid-drops ellipse { transform-box:fill-box; transform-origin:center; }
.attendance-logo-badge { width:72px; height:72px; margin:-36px 0 0 -36px; border-radius:20px; box-shadow:0 12px 30px #0004; }
.attendance-logo-badge img { width:52px; height:52px; }
.attendance-scene-brand { bottom:0; color:#e0e0f1; }
.success-overlay .result-icon { height:240px; }
.attendance-burst .attendance-scene { margin-bottom:12px; }
@media(prefers-reduced-motion:no-preference) {
  .fluid-flow { transform-origin:160px 120px; animation:fluid-welcome 2.8s cubic-bezier(.3,.65,.25,1) both; }
  .fluid-body { animation:fluid-morph 2.8s ease-in-out both; }
  .fluid-edge { stroke-dasharray:380; animation:fluid-outline 2.8s ease-out both; }
  .wake-far { animation:fluid-wake-far 2.8s ease-out both; }
  .wake-near { animation:fluid-wake-near 2.8s ease-out both; }
  .fluid-drops ellipse { animation:fluid-droplet 2.7s ease-out both; }
  .fluid-drops ellipse:nth-child(2n) { animation-delay:.12s; }
  .fluid-drops ellipse:nth-child(3n) { animation-delay:.24s; }
  .attendance-scene .attendance-logo-badge { animation:fluid-logo 1.5s .3s cubic-bezier(.2,.8,.3,1) both; }
  .attendance-scene[data-action="check_out"] .fluid-flow { animation:fluid-goodbye 2.8s cubic-bezier(.3,.65,.25,1) both; }
  .attendance-scene[data-action="check_out"] .fluid-drops ellipse { animation-name:fluid-droplet-out; }
  .attendance-scene[data-action="check_out"] .fluid-edge { animation-direction:reverse; }
  .attendance-scene[data-action="check_out"] .attendance-logo-badge { animation:fluid-logo-out 2.8s ease-out both; }
  @keyframes fluid-welcome { 0% { opacity:0; transform:rotate(-110deg) scale(.55); } 18% { opacity:1; } 75% { opacity:1; transform:rotate(15deg) scale(1.03); } 100% { opacity:.65; transform:rotate(0) scale(.95); } }
  @keyframes fluid-goodbye { 0% { opacity:.55; transform:rotate(0) scale(.95); } 25% { opacity:1; } 100% { opacity:0; transform:rotate(135deg) scale(1.18); } }
  @keyframes fluid-morph { 0%,100% { d:path('M105 24 C57 51 62 104 112 139 C151 168 190 183 217 219 C236 244 245 210 217 178 C192 149 131 116 119 84 C109 58 138 30 119 24 C114 22 110 22 105 24 Z'); } 48% { d:path('M94 30 C43 73 77 119 124 140 C169 161 203 183 228 204 C258 221 237 183 211 162 C176 133 118 119 111 81 C106 57 128 23 110 24 C104 24 99 26 94 30 Z'); } }
  @keyframes fluid-outline { 0% { stroke-dashoffset:380; opacity:0; } 30% { opacity:1; } 100% { stroke-dashoffset:0; opacity:1; } }
  @keyframes fluid-wake-far { 0% { transform:translate(-9px,7px); opacity:0; } 45% { opacity:.1; transform:translate(-6px,5px); } 100% { opacity:0; transform:none; } }
  @keyframes fluid-wake-near { 0% { transform:translate(-5px,3px); opacity:0; } 45% { opacity:.2; transform:translate(-3px,2px); } 100% { opacity:0; transform:none; } }
  @keyframes fluid-droplet { 0% { opacity:0; translate:-18px 20px; scale:.3; } 30% { opacity:1; } 80% { opacity:1; translate:0 0; scale:1; } 100% { opacity:0; translate:10px -8px; scale:.2; } }
  @keyframes fluid-droplet-out { 0% { opacity:0; translate:0 0; scale:.2; } 25% { opacity:1; } 100% { opacity:0; translate:25px 20px; scale:.4; } }
  @keyframes fluid-logo { from { opacity:0; transform:translateY(12px) scale(.7); } to { opacity:1; transform:none; } }
  @keyframes fluid-logo-out { 0% { opacity:1; transform:none; } 45% { opacity:1; transform:translateY(-5px); } 100% { opacity:1; transform:none; } }
}
@media(max-height:600px) { .success-overlay .result-icon,.success-overlay .attendance-scene { height:160px; } }
