/* /tools/code93-barcode-generator: How it works (lowercase typed, capitals, CODE93 bars with the C and K check characters lit, scan). */
.hub-anim.ha-code93-barcode-generator .ha-stage { min-height: 0; border: 1px solid #a5e3ee; background: linear-gradient(160deg, #f0fbfd 0%, #e0f5f9 60%, #cdeef5 100%); }
.hub-anim.ha-code93-barcode-generator .sc { display: flex; align-items: center; justify-content: center; gap: 1.4rem; min-height: 250px; }
.hub-anim.ha-code93-barcode-generator .sc-arrow { color: #0e7490; flex: 0 0 auto; } .hub-anim.ha-code93-barcode-generator .sc-arrow svg { width: 64px; height: 32px; display: block; }
.hub-anim.ha-code93-barcode-generator .c9-in { width: 200px; padding: 14px 14px 12px; background: #fff; border: 1px solid #b6e4ec; border-radius: 14px; box-sizing: border-box; box-shadow: 0 10px 22px -14px rgba(14, 116, 144, .45); }
.hub-anim.ha-code93-barcode-generator .c9-in small { display: block; margin-bottom: 6px; font: 700 .64rem/1 Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #0e7490; }
.hub-anim.ha-code93-barcode-generator .c9-in p { position: relative; height: 34px; margin: 0 0 10px; border: 1.5px solid #0891b2; border-radius: 8px; background: #f8fdfe; }
.hub-anim.ha-code93-barcode-generator .c9-in p span { position: absolute; left: 10px; top: 0; bottom: 0; display: flex; align-items: center; font: 700 1rem/1 ui-monospace, Menlo, Consolas, monospace; color: #083344; white-space: nowrap; overflow: hidden; }
.hub-anim.ha-code93-barcode-generator .c9-lo { opacity: 0; }
.hub-anim.ha-code93-barcode-generator .c9-in em { display: block; width: 92px; margin-left: auto; padding: 7px 0; background: #0e7490; color: #fff; border-radius: 999px; font: 800 .72rem/1 Manrope, Inter, sans-serif; font-style: normal; text-align: center; }
.hub-anim.ha-code93-barcode-generator .c9-lab { position: relative; width: 260px; height: 150px; padding: 16px 18px 0; background: #fff; border: 2px solid #083344; border-radius: 10px; box-sizing: border-box; box-shadow: 0 14px 26px -16px rgba(8, 51, 68, .55); overflow: visible; }
.hub-anim.ha-code93-barcode-generator .c9-bars { display: block; width: 100%; height: 62px; fill: #083344; }
.hub-anim.ha-code93-barcode-generator .c9-ck { fill: #0891b2; }
.hub-anim.ha-code93-barcode-generator .c9-brk { position: absolute; top: 66px; height: 16px; display: flex; border-top: 2px solid #0891b2; box-sizing: border-box; }
.hub-anim.ha-code93-barcode-generator .c9-wrap { position: relative; }
.hub-anim.ha-code93-barcode-generator .c9-brk { left: 68.33%; width: 15.00%; }
.hub-anim.ha-code93-barcode-generator .c9-brk b { flex: 1; padding-top: 2px; font: 800 .62rem/1 Manrope, Inter, sans-serif; color: #0e7490; text-align: center; }
.hub-anim.ha-code93-barcode-generator .c9-txt { display: block; margin-top: 22px; font: 700 .9rem/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .14em; color: #083344; text-align: center; }
.hub-anim.ha-code93-barcode-generator .c9-beam { position: absolute; left: 10px; right: 10px; top: 42px; height: 2px; background: #ef4444; box-shadow: 0 0 8px 2px rgba(239, 68, 68, .55); opacity: 0; }
.hub-anim.ha-code93-barcode-generator .c9-ok { position: absolute; right: -10px; bottom: -14px; margin: 0; padding: 6px 11px; background: #0e7490; color: #fff; border-radius: 999px; font: 800 .7rem/1 Manrope, Inter, sans-serif; box-shadow: 0 6px 14px -6px rgba(14, 116, 144, .7); }
@media (max-width: 640px) {
 .hub-anim.ha-code93-barcode-generator .sc { flex-direction: column; gap: .9rem; } .hub-anim.ha-code93-barcode-generator .sc-arrow { transform: rotate(90deg); } .hub-anim.ha-code93-barcode-generator .ha-stage { padding-bottom: 3.4rem; }
 .hub-anim.ha-code93-barcode-generator .c9-lab { width: 230px; height: 140px; padding: 14px 14px 0; }
}
/* Reduced motion: the finished scene (capitals, bars, check characters lit, scan tag). */
@media (prefers-reduced-motion: no-preference) {
 .hub-anim.ha-code93-barcode-generator .c9-lo { animation: c9-lo 10s ease infinite both; } .hub-anim.ha-code93-barcode-generator .c9-up { animation: c9-up 10s ease infinite both; }
 .hub-anim.ha-code93-barcode-generator .c9-in em { animation: c9-go 10s ease infinite both; }
 .hub-anim.ha-code93-barcode-generator .c9-bars { animation: c9-draw 10s steps(12, end) infinite both; }
 .hub-anim.ha-code93-barcode-generator .c9-ck { animation: c9-ck 10s ease infinite both; } .hub-anim.ha-code93-barcode-generator .c9-brk { animation: c9-fade 10s ease infinite both; }
 .hub-anim.ha-code93-barcode-generator .c9-txt { animation: c9-fade 10s ease infinite both; }
 .hub-anim.ha-code93-barcode-generator .c9-beam { animation: c9-beam 10s ease-in-out infinite both; } .hub-anim.ha-code93-barcode-generator .c9-ok { animation: c9-ok 10s ease infinite both; }
 @keyframes c9-lo { 0% { opacity: 1; max-width: 0; } 12% { opacity: 1; max-width: 120px; } 20% { opacity: 1; } 24%, 100% { opacity: 0; } }
 @keyframes c9-up { 0%, 20% { opacity: 0; } 24%, 100% { opacity: 1; } }
 @keyframes c9-go { 0%, 28% { transform: none; background: #0e7490; } 31% { transform: scale(.92); background: #155e75; } 34%, 100% { transform: none; background: #0e7490; } }
 @keyframes c9-draw { 0%, 34% { clip-path: inset(0 100% 0 0); } 52%, 100% { clip-path: inset(0 0 0 0); } }
 @keyframes c9-ck { 0%, 54% { fill: #083344; } 60%, 92% { fill: #0891b2; } 98%, 100% { fill: #083344; } }
 @keyframes c9-fade { 0%, 54% { opacity: 0; } 60%, 96% { opacity: 1; } 100% { opacity: 0; } }
 @keyframes c9-beam { 0%, 64% { opacity: 0; transform: translateY(-34px); } 66% { opacity: 1; transform: translateY(-34px); } 76% { opacity: 1; transform: translateY(34px); } 78%, 100% { opacity: 0; transform: translateY(34px); } }
 @keyframes c9-ok { 0%, 77% { opacity: 0; transform: scale(.6); } 81%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
}
