/* Decorative quote workflow in the sign-in screen margins. */
.auth-screen { position: relative; isolation: isolate; overflow: hidden; }
@media (min-width: 1100px) {
  .auth-screen { grid-template-columns: minmax(0, 1fr) minmax(420px, 460px) minmax(0, 1fr); gap: clamp(28px, 5vw, 100px); }
  .auth-screen .auth-card { grid-column: 2; z-index: 2; }
  .auth-screen .hero-workflow-decor { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
  .auth-screen .hero-workflow-route { position: absolute; inset: 20% 0; width: 100%; height: 60%; overflow: visible; }
  .auth-screen .hero-workflow-route path { fill: none; stroke: #dec47b; stroke-width: 2; stroke-dasharray: 4 12; stroke-linecap: round; opacity: .45; }
  .auth-screen .hero-flow-card { z-index: 1; }
  .auth-screen .hero-flow-quote { left: max(22px, calc((100vw - 1280px)/2)); top: 50%; animation-name: hero-flow-enter, hero-flow-float-center; }
  .auth-screen .hero-flow-followup { right: max(22px, calc((100vw - 1280px)/2)); top: 50%; animation-name: hero-flow-enter, hero-flow-float-center; }
  @keyframes hero-flow-float-center { 0%, 100% { translate: 0 -50%; } 50% { translate: 0 calc(-50% - 7px); } }
  .auth-screen .hero-flow-card { border-color: #52627b; background: #131c2bdf; box-shadow: 0 18px 45px #0006; }
  .auth-screen .hero-flow-card-top { color: #a6b5cc; }
  .auth-screen .hero-flow-card > strong { color: #f2f5fa; }
  .auth-screen .hero-flow-card > small { color: #adb9ca; }
  .auth-screen .hero-flow-status { color: #c1ccdb; }
  .auth-screen .hero-flow-approved { color: #9ee2ba; }
  .hero-workflow-decor { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
  .hero-workflow-route { position: absolute; inset: 22% 0 10%; width: 100%; height: 68%; overflow: visible; }
  .hero-workflow-route path { fill: none; stroke: #173b5b; stroke-width: 2; stroke-dasharray: 4 12; stroke-linecap: round; opacity: .38; }
  .hero-flow-card { position: absolute; display: grid; gap: 9px; width: clamp(190px, 15vw, 245px); padding: 17px 18px; border: 1px solid #b9cada; border-radius: 15px; background: #ffffffd9; box-shadow: 0 14px 36px #10203313; opacity: 0; backdrop-filter: blur(5px); animation: hero-flow-enter 1s cubic-bezier(.2,.75,.25,1) forwards, hero-flow-float 7s ease-in-out 1s infinite; }
  .hero-flow-quote { left: max(20px, calc((100vw - 1560px)/2)); top: 27%; animation-delay: .2s, 1.2s; }
  .hero-flow-followup { right: max(20px, calc((100vw - 1560px)/2)); top: 43%; animation-delay: .65s, 1.65s; }
  .hero-flow-card-top { display: flex; align-items: center; gap: 7px; color: #52667c; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
  .hero-flow-card-top i { width: 7px; height: 7px; border-radius: 50%; background: #d8a845; box-shadow: 0 0 0 3px #d8a84522; }
  .hero-flow-followup .hero-flow-card-top i { background: #37866b; box-shadow: 0 0 0 3px #37866b22; }
  .hero-flow-card > strong { color: #172b40; font: 750 15px/1.2 var(--display); }
  .hero-flow-card > small { color: #607086; font-size: 11px; }
  .hero-flow-status { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: #5b6d80; font-size: 9px; font-weight: 750; }
  .hero-flow-status::before { width: 6px; height: 6px; border-radius: 50%; background: #d7a844; content: ''; }
  .hero-flow-approved { color: #287454; }
  .hero-flow-approved::before { display: none; }
  .hero-flow-approved b { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #e2f2e9; color: #287454; font-size: 10px; }
  @keyframes hero-flow-enter { from { transform: translateY(13px) scale(.97); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
  @keyframes hero-flow-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
}
@media (max-width: 1499px) {
  .landing-screen .hero-workflow-decor { display: none; }
}
@media (max-width: 1099px) {
  .auth-screen .hero-workflow-decor { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-screen .hero-flow-card { animation: none; transform: none; translate: 0 -50%; opacity: 1; }
  .hero-workflow-route path { stroke-dasharray: none; }
}
