/* generated by scripts/home-demos.py */
.dm { position: relative; margin: 4px 0 22px; background: #fff; color: #0a1c4f; border-radius: 14px; padding: 14px; min-height: 196px; overflow: hidden; font-size: 14px; line-height: 1.35; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.dm-top { display: flex; align-items: center; gap: 6px; margin: -2px 0 10px; font-size: 12px; font-weight: 700; color: #4a5578; }
.dm-top i { width: 9px; height: 9px; border-radius: 50%; background: #dfe5ee; display: inline-block; }
.dm-top i:nth-child(1) { background: #ff9a7a; } .dm-top i:nth-child(2) { background: #f5c542; } .dm-top i:nth-child(3) { background: #7ee6c8; }
.dm-top span { margin-left: 6px; }
.dm-av { width: 26px; height: 26px; border-radius: 50%; flex: none; background: #f5c542 url(/assets/assistant.svg) center/cover; }
/* 1 chat */
.c-row { display: flex; gap: 8px; align-items: flex-end; margin-top: 8px; }
.c-you { margin-left: auto; background: #0a1c4f; color: #fff; padding: 9px 12px; border-radius: 14px 14px 4px 14px; max-width: 92%; }
.c-typ { display: inline-block; white-space: nowrap; clip-path: inset(0 0 0 0); }
.c-dots { display: flex; gap: 4px; background: #eef3f9; padding: 10px 12px; border-radius: 14px 14px 14px 4px; opacity: 0; }
.c-dots i { width: 7px; height: 7px; border-radius: 50%; background: #4a5578; animation: dmBounce 1s infinite; }
.c-dots i:nth-child(2) { animation-delay: .15s; } .c-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dmBounce { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-4px); } }
.c-aid { background: #eef3f9; padding: 9px 12px; border-radius: 14px 14px 14px 4px; max-width: 86%; }
.c-aid b { color: #005ea8; }
.c-wait { position: absolute; left: 48px; bottom: 14px; }
/* 2 calendar */
.k-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.k-h { text-align: center; font-size: 11px; font-weight: 700; color: #4a5578; }
.k-c { height: 30px; border-radius: 7px; background: #eef3f9; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: transparent; }
.k-c.served { background: #0a1c4f; color: #fff; font-size: 10px; }
.k-c.on { background: #005ea8; color: #fff; }
.k-c.skip { background: repeating-linear-gradient(45deg, #eef3f9 0 4px, #dde5ef 4px 8px); color: #9aa6bf; font-size: 10px; }
.k-c.due { background: #f5c542; color: #0a1c4f; box-shadow: 0 0 0 3px #0a1c4f; }
.k-dl { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.k-dl span { background: #f5c542; padding: 3px 10px; border-radius: 999px; }
.k-dl small { color: #4a5578; font-weight: 400; }
/* 3 checklist */
.l-item { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid #eef3f9; }
.l-item:last-child { border: 0; }
.l-box { width: 22px; height: 22px; flex: none; border-radius: 6px; border: 2px solid #0a1c4f; display: grid; place-items: center; background: #7ee6c8; }
.l-box svg { width: 14px; height: 14px; }
.l-tick { transform-origin: center; }
.l-t { font-weight: 700; } .l-t small { display: block; font-weight: 400; color: #4a5578; font-size: 12px; }
/* 4 form */
.f-title { font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.f-row { display: grid; grid-template-columns: 92px 1fr 18px; gap: 8px; align-items: center; margin: 6px 0; }
.f-row label { font-size: 12px; color: #4a5578; }
.f-in { border: 1.5px solid #c9d4e4; border-radius: 6px; padding: 5px 8px; height: 30px; overflow: hidden; white-space: nowrap; font-weight: 700; }
.f-in span { display: inline-block; clip-path: inset(0 0 0 0); }
.f-ok { width: 18px; height: 18px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 11px; display: grid; place-items: center; font-weight: 900; }
.f-bar { height: 6px; background: #eef3f9; border-radius: 3px; margin-top: 10px; overflow: hidden; }
.f-bar i { display: block; height: 100%; width: 100%; background: #005ea8; }
.f-st { position: relative; height: 18px; margin-top: 6px; font-size: 12px; font-weight: 700; }
.f-st span { position: absolute; left: 0; top: 0; }
.f-st .a { opacity: 0; } .f-st .b { color: #15803d; }
/* 5 submit */
.s-row { display: flex; justify-content: space-between; padding: 6px 2px; border-bottom: 1px solid #eef3f9; font-size: 13px; }
.s-row b { color: #15803d; }
.s-btn { position: relative; margin: 14px auto 0; width: 70%; height: 42px; border-radius: 10px; background: #15803d; color: #fff; font-weight: 800; display: grid; place-items: center; }
.s-btn span { position: absolute; } .s-btn .a { opacity: 0; }
.s-cur { position: absolute; left: 58%; top: 150px; width: 26px; height: 26px; }
.s-toast { position: absolute; left: 14px; right: 14px; bottom: 10px; background: #0a1c4f; color: #fff; border-radius: 10px; padding: 8px 12px; font-size: 12px; font-weight: 700; text-align: center; }
.dm-submit { padding-bottom: 58px; }
@media (max-width: 520px) { .dm { font-size: 13px; padding: 12px; } .c-you { font-size: 12px; padding: 8px 10px; } .f-row { grid-template-columns: 70px 1fr 18px; gap: 6px; } .f-in { font-size: 12px; padding: 5px 6px; } .dm-submit { padding-bottom: 58px; } }
.jr-still .dm *, .jr-still .dm { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .dm, .dm * { animation: none !important; } }
@keyframes dmYou { 0% { opacity:0;transform:translateY(8px) } 6% { opacity:1;transform:none } 92% { opacity:1 } 100% { opacity:0 } }
.c-you { animation: dmYou 7s infinite both ; animation-play-state: paused; }
.jr-card.play .c-you { animation-play-state: running; }
@keyframes dmType { 0%, 6% { clip-path:inset(0 100% 0 0) } 38%, 100% { clip-path:inset(0 0 0 0) } }
.c-typ { animation: dmType 7s infinite both ; animation-timing-function: steps(44, end); animation-play-state: paused; }
.jr-card.play .c-typ { animation-play-state: running; }
@keyframes dmDots { 0%, 41% { opacity:0 } 44%, 57% { opacity:1 } 59%, 100% { opacity:0 } }
.c-dots { animation: dmDots 7s infinite both ; animation-play-state: paused; }
.jr-card.play .c-dots { animation-play-state: running; }
@keyframes dmAid { 0%, 59% { opacity:0;transform:translateY(8px) } 65% { opacity:1;transform:none } 92% { opacity:1 } 100% { opacity:0 } }
.c-aid { animation: dmAid 7s infinite both ; animation-play-state: paused; }
.jr-card.play .c-aid { animation-play-state: running; }
@keyframes dmK1 { 0%, 18% { background:#eef3f9;color:transparent;box-shadow:none;transform:scale(1) } 19% { background:#005ea8;color:#fff;transform:scale(1.12) } 22% { background:#005ea8;color:#fff;transform:scale(1) } 94% { background:#005ea8;color:#fff } 100% { background:#eef3f9;color:transparent;box-shadow:none } }
.k-c.n1 { animation: dmK1 7s infinite both ; animation-play-state: paused; }
.jr-card.play .k-c.n1 { animation-play-state: running; }
@keyframes dmK2 { 0%, 27% { background:#eef3f9;color:transparent;box-shadow:none;transform:scale(1) } 28% { background:#005ea8;color:#fff;transform:scale(1.12) } 31% { background:#005ea8;color:#fff;transform:scale(1) } 94% { background:#005ea8;color:#fff } 100% { background:#eef3f9;color:transparent;box-shadow:none } }
.k-c.n2 { animation: dmK2 7s infinite both ; animation-play-state: paused; }
.jr-card.play .k-c.n2 { animation-play-state: running; }
@keyframes dmK3 { 0%, 36% { background:#eef3f9;color:transparent;box-shadow:none;transform:scale(1) } 37% { background:#005ea8;color:#fff;transform:scale(1.12) } 40% { background:#005ea8;color:#fff;transform:scale(1) } 94% { background:#005ea8;color:#fff } 100% { background:#eef3f9;color:transparent;box-shadow:none } }
.k-c.n3 { animation: dmK3 7s infinite both ; animation-play-state: paused; }
.jr-card.play .k-c.n3 { animation-play-state: running; }
@keyframes dmK4 { 0%, 45% { background:#eef3f9;color:transparent;box-shadow:none;transform:scale(1) } 46% { background:#005ea8;color:#fff;transform:scale(1.12) } 49% { background:#005ea8;color:#fff;transform:scale(1) } 94% { background:#005ea8;color:#fff } 100% { background:#eef3f9;color:transparent;box-shadow:none } }
.k-c.n4 { animation: dmK4 7s infinite both ; animation-play-state: paused; }
.jr-card.play .k-c.n4 { animation-play-state: running; }
@keyframes dmK5 { 0%, 54% { background:#eef3f9;color:transparent;box-shadow:none;transform:scale(1) } 55% { background:#005ea8;color:#fff;transform:scale(1.12) } 58% { background:#005ea8;color:#fff;transform:scale(1) } 94% { background:#005ea8;color:#fff } 100% { background:#eef3f9;color:transparent;box-shadow:none } }
.k-c.n5 { animation: dmK5 7s infinite both ; animation-play-state: paused; }
.jr-card.play .k-c.n5 { animation-play-state: running; }
@keyframes dmK6 { 0%, 63% { background:#eef3f9;color:transparent;box-shadow:none;transform:scale(1) } 64% { background:#005ea8;color:#fff;transform:scale(1.12) } 67% { background:#005ea8;color:#fff;transform:scale(1) } 94% { background:#005ea8;color:#fff } 100% { background:#eef3f9;color:transparent;box-shadow:none } }
.k-c.n6 { animation: dmK6 7s infinite both ; animation-play-state: paused; }
.jr-card.play .k-c.n6 { animation-play-state: running; }
@keyframes dmK7 { 0%, 72% { background:#eef3f9;color:transparent;box-shadow:none;transform:scale(1) } 73% { background:#f5c542;color:#0a1c4f;box-shadow:0 0 0 3px #0a1c4f;transform:scale(1.12) } 76% { background:#f5c542;color:#0a1c4f;box-shadow:0 0 0 3px #0a1c4f;transform:scale(1) } 94% { background:#f5c542;color:#0a1c4f;box-shadow:0 0 0 3px #0a1c4f } 100% { background:#eef3f9;color:transparent;box-shadow:none } }
.k-c.n7 { animation: dmK7 7s infinite both ; animation-play-state: paused; }
.jr-card.play .k-c.n7 { animation-play-state: running; }
@keyframes dmSw1 { 0%, 23% { background:#eef3f9;color:transparent } 24%, 94% { background:repeating-linear-gradient(45deg,#eef3f9 0 4px,#dde5ef 4px 8px);color:#9aa6bf } 100% { background:#eef3f9;color:transparent } }
.k-c.skip.w1 { animation: dmSw1 7s infinite both ; animation-play-state: paused; }
.jr-card.play .k-c.skip.w1 { animation-play-state: running; }
@keyframes dmSw2 { 0%, 65% { background:#eef3f9;color:transparent } 66%, 94% { background:repeating-linear-gradient(45deg,#eef3f9 0 4px,#dde5ef 4px 8px);color:#9aa6bf } 100% { background:#eef3f9;color:transparent } }
.k-c.skip.w2 { animation: dmSw2 7s infinite both ; animation-play-state: paused; }
.jr-card.play .k-c.skip.w2 { animation-play-state: running; }
@keyframes dmDl { 0%, 76% { opacity:0;transform:translateY(6px) } 80%, 94% { opacity:1;transform:none } 100% { opacity:0 } }
.k-dl { animation: dmDl 7s infinite both ; animation-play-state: paused; }
.jr-card.play .k-dl { animation-play-state: running; }
@keyframes dmL1 { 0%, 11% { background:#fff } 12%, 94% { background:#7ee6c8 } 100% { background:#fff } }
.l-item.i1 .l-box { animation: dmL1 7s infinite both ; animation-play-state: paused; }
.jr-card.play .l-item.i1 .l-box { animation-play-state: running; }
@keyframes dmT1 { 0%, 11% { transform:scale(0) } 14% { transform:scale(1.25) } 17%, 94% { transform:scale(1) } 100% { transform:scale(0) } }
.l-item.i1 .l-tick { animation: dmT1 7s infinite both ; animation-play-state: paused; }
.jr-card.play .l-item.i1 .l-tick { animation-play-state: running; }
@keyframes dmLt1 { 0%, 11% { opacity:.45 } 12%, 94% { opacity:1 } 100% { opacity:.45 } }
.l-item.i1 .l-t { animation: dmLt1 7s infinite both ; animation-play-state: paused; }
.jr-card.play .l-item.i1 .l-t { animation-play-state: running; }
@keyframes dmL2 { 0%, 29% { background:#fff } 30%, 94% { background:#7ee6c8 } 100% { background:#fff } }
.l-item.i2 .l-box { animation: dmL2 7s infinite both ; animation-play-state: paused; }
.jr-card.play .l-item.i2 .l-box { animation-play-state: running; }
@keyframes dmT2 { 0%, 29% { transform:scale(0) } 32% { transform:scale(1.25) } 35%, 94% { transform:scale(1) } 100% { transform:scale(0) } }
.l-item.i2 .l-tick { animation: dmT2 7s infinite both ; animation-play-state: paused; }
.jr-card.play .l-item.i2 .l-tick { animation-play-state: running; }
@keyframes dmLt2 { 0%, 29% { opacity:.45 } 30%, 94% { opacity:1 } 100% { opacity:.45 } }
.l-item.i2 .l-t { animation: dmLt2 7s infinite both ; animation-play-state: paused; }
.jr-card.play .l-item.i2 .l-t { animation-play-state: running; }
@keyframes dmL3 { 0%, 47% { background:#fff } 48%, 94% { background:#7ee6c8 } 100% { background:#fff } }
.l-item.i3 .l-box { animation: dmL3 7s infinite both ; animation-play-state: paused; }
.jr-card.play .l-item.i3 .l-box { animation-play-state: running; }
@keyframes dmT3 { 0%, 47% { transform:scale(0) } 50% { transform:scale(1.25) } 53%, 94% { transform:scale(1) } 100% { transform:scale(0) } }
.l-item.i3 .l-tick { animation: dmT3 7s infinite both ; animation-play-state: paused; }
.jr-card.play .l-item.i3 .l-tick { animation-play-state: running; }
@keyframes dmLt3 { 0%, 47% { opacity:.45 } 48%, 94% { opacity:1 } 100% { opacity:.45 } }
.l-item.i3 .l-t { animation: dmLt3 7s infinite both ; animation-play-state: paused; }
.jr-card.play .l-item.i3 .l-t { animation-play-state: running; }
@keyframes dmL4 { 0%, 65% { background:#fff } 66%, 94% { background:#7ee6c8 } 100% { background:#fff } }
.l-item.i4 .l-box { animation: dmL4 7s infinite both ; animation-play-state: paused; }
.jr-card.play .l-item.i4 .l-box { animation-play-state: running; }
@keyframes dmT4 { 0%, 65% { transform:scale(0) } 68% { transform:scale(1.25) } 71%, 94% { transform:scale(1) } 100% { transform:scale(0) } }
.l-item.i4 .l-tick { animation: dmT4 7s infinite both ; animation-play-state: paused; }
.jr-card.play .l-item.i4 .l-tick { animation-play-state: running; }
@keyframes dmLt4 { 0%, 65% { opacity:.45 } 66%, 94% { opacity:1 } 100% { opacity:.45 } }
.l-item.i4 .l-t { animation: dmLt4 7s infinite both ; animation-play-state: paused; }
.jr-card.play .l-item.i4 .l-t { animation-play-state: running; }
@keyframes dmF1 { 0%, 10% { clip-path:inset(0 100% 0 0) } 24%, 100% { clip-path:inset(0 0 0 0) } }
.f-row.r1 .f-in span { animation: dmF1 7s infinite both ; animation-timing-function: steps(18, end); animation-play-state: paused; }
.jr-card.play .f-row.r1 .f-in span { animation-play-state: running; }
@keyframes dmFi1 { 0%, 9% { border-color:#c9d4e4 } 10%, 24% { border-color:#005ea8;box-shadow:0 0 0 3px rgba(0,94,168,.18) } 25%, 100% { border-color:#c9d4e4;box-shadow:none } }
.f-row.r1 .f-in { animation: dmFi1 7s infinite both ; animation-play-state: paused; }
.jr-card.play .f-row.r1 .f-in { animation-play-state: running; }
@keyframes dmFo1 { 0%, 24% { transform:scale(0) } 26% { transform:scale(1.3) } 28%, 94% { transform:scale(1) } 100% { transform:scale(0) } }
.f-row.r1 .f-ok { animation: dmFo1 7s infinite both ; animation-play-state: paused; }
.jr-card.play .f-row.r1 .f-ok { animation-play-state: running; }
@keyframes dmF2 { 0%, 26% { clip-path:inset(0 100% 0 0) } 40%, 100% { clip-path:inset(0 0 0 0) } }
.f-row.r2 .f-in span { animation: dmF2 7s infinite both ; animation-timing-function: steps(18, end); animation-play-state: paused; }
.jr-card.play .f-row.r2 .f-in span { animation-play-state: running; }
@keyframes dmFi2 { 0%, 25% { border-color:#c9d4e4 } 26%, 40% { border-color:#005ea8;box-shadow:0 0 0 3px rgba(0,94,168,.18) } 41%, 100% { border-color:#c9d4e4;box-shadow:none } }
.f-row.r2 .f-in { animation: dmFi2 7s infinite both ; animation-play-state: paused; }
.jr-card.play .f-row.r2 .f-in { animation-play-state: running; }
@keyframes dmFo2 { 0%, 40% { transform:scale(0) } 42% { transform:scale(1.3) } 44%, 94% { transform:scale(1) } 100% { transform:scale(0) } }
.f-row.r2 .f-ok { animation: dmFo2 7s infinite both ; animation-play-state: paused; }
.jr-card.play .f-row.r2 .f-ok { animation-play-state: running; }
@keyframes dmF3 { 0%, 42% { clip-path:inset(0 100% 0 0) } 56%, 100% { clip-path:inset(0 0 0 0) } }
.f-row.r3 .f-in span { animation: dmF3 7s infinite both ; animation-timing-function: steps(18, end); animation-play-state: paused; }
.jr-card.play .f-row.r3 .f-in span { animation-play-state: running; }
@keyframes dmFi3 { 0%, 41% { border-color:#c9d4e4 } 42%, 56% { border-color:#005ea8;box-shadow:0 0 0 3px rgba(0,94,168,.18) } 57%, 100% { border-color:#c9d4e4;box-shadow:none } }
.f-row.r3 .f-in { animation: dmFi3 7s infinite both ; animation-play-state: paused; }
.jr-card.play .f-row.r3 .f-in { animation-play-state: running; }
@keyframes dmFo3 { 0%, 56% { transform:scale(0) } 58% { transform:scale(1.3) } 60%, 94% { transform:scale(1) } 100% { transform:scale(0) } }
.f-row.r3 .f-ok { animation: dmFo3 7s infinite both ; animation-play-state: paused; }
.jr-card.play .f-row.r3 .f-ok { animation-play-state: running; }
@keyframes dmF4 { 0%, 58% { clip-path:inset(0 100% 0 0) } 70%, 100% { clip-path:inset(0 0 0 0) } }
.f-row.r4 .f-in span { animation: dmF4 7s infinite both ; animation-timing-function: steps(18, end); animation-play-state: paused; }
.jr-card.play .f-row.r4 .f-in span { animation-play-state: running; }
@keyframes dmFi4 { 0%, 57% { border-color:#c9d4e4 } 58%, 70% { border-color:#005ea8;box-shadow:0 0 0 3px rgba(0,94,168,.18) } 71%, 100% { border-color:#c9d4e4;box-shadow:none } }
.f-row.r4 .f-in { animation: dmFi4 7s infinite both ; animation-play-state: paused; }
.jr-card.play .f-row.r4 .f-in { animation-play-state: running; }
@keyframes dmFo4 { 0%, 70% { transform:scale(0) } 72% { transform:scale(1.3) } 74%, 94% { transform:scale(1) } 100% { transform:scale(0) } }
.f-row.r4 .f-ok { animation: dmFo4 7s infinite both ; animation-play-state: paused; }
.jr-card.play .f-row.r4 .f-ok { animation-play-state: running; }
@keyframes dmBar { 0%, 8% { width:0 } 72%, 94% { width:100% } 100% { width:0 } }
.f-bar i { animation: dmBar 7s infinite both ; animation-play-state: paused; }
.jr-card.play .f-bar i { animation-play-state: running; }
@keyframes dmSa { 0%, 72% { opacity:1 } 75%, 100% { opacity:0 } }
.f-st .a { animation: dmSa 7s infinite both ; animation-play-state: paused; }
.jr-card.play .f-st .a { animation-play-state: running; }
@keyframes dmSb { 0%, 73% { opacity:0 } 76%, 94% { opacity:1 } 100% { opacity:0 } }
.f-st .b { animation: dmSb 7s infinite both ; animation-play-state: paused; }
.jr-card.play .f-st .b { animation-play-state: running; }
@keyframes dmCur { 0%, 6% { transform:translate(110px,60px);opacity:0 } 10% { opacity:1 } 32% { transform:translate(0,0) } 35% { transform:translate(0,0) scale(.82) } 38%, 90% { transform:translate(0,0) scale(1);opacity:1 } 96%, 100% { opacity:0 } }
.s-cur { animation: dmCur 7s infinite both ; animation-play-state: paused; }
.jr-card.play .s-cur { animation-play-state: running; }
@keyframes dmBtn { 0%, 35% { background:#0a1c4f;transform:scale(1) } 36% { background:#15803d;transform:scale(.95) } 40%, 94% { background:#15803d;transform:scale(1) } 100% { background:#0a1c4f } }
.s-btn { animation: dmBtn 7s infinite both ; animation-play-state: paused; }
.jr-card.play .s-btn { animation-play-state: running; }
@keyframes dmBa { 0%, 35% { opacity:1 } 37%, 100% { opacity:0 } }
.s-btn .a { animation: dmBa 7s infinite both ; animation-play-state: paused; }
.jr-card.play .s-btn .a { animation-play-state: running; }
@keyframes dmBb { 0%, 36% { opacity:0 } 39%, 94% { opacity:1 } 100% { opacity:0 } }
.s-btn .b { animation: dmBb 7s infinite both ; animation-play-state: paused; }
.jr-card.play .s-btn .b { animation-play-state: running; }
@keyframes dmToast { 0%, 44% { opacity:0;transform:translateY(12px) } 49%, 92% { opacity:1;transform:none } 100% { opacity:0 } }
.s-toast { animation: dmToast 7s infinite both ; animation-play-state: paused; }
.jr-card.play .s-toast { animation-play-state: running; }
