.hero-demo-canvas{position:relative}
.hero-demo-lanes{position:relative;display:flex;flex-direction:column}
.hero-demo-lane{position:relative;flex:none;will-change:transform;background:#fff}
.hero-demo-lane.is-grabbing{z-index:8;background:#f8faff;box-shadow:0 5px 18px #13172222}
.hero-demo-label{position:relative;padding-left:24px!important}
.hero-drag-handle{position:absolute;inset:0;width:100%;height:100%;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;cursor:grab;touch-action:none;color:#8d95a5}
.hero-drag-handle svg{position:absolute;left:5px;top:calc(50% - 9px);width:12px;height:18px}
.hero-drag-handle:hover{color:#2962ff}
.hero-drag-handle:focus-visible{outline:2px solid #2962ff;outline-offset:-2px}
.hero-drag-handle:active{cursor:grabbing}
.hero-demo-band,.hero-demo-crosshair,.hero-demo-dot,.hero-demo-tag,.hero-demo-cursor{position:absolute;pointer-events:none;opacity:0}
.hero-demo-band{top:27px;bottom:0;z-index:1;background:#0f7b5f12;border-left:1px dashed #0f7b5f70;border-right:1px dashed #0f7b5f70;transition:opacity .2s}
.hero-demo-crosshair{top:27px;bottom:0;width:1px;z-index:5;background:#2962ff;box-shadow:0 0 0 3px #2962ff0b}
.hero-demo-dot{left:0;top:0;width:9px;height:9px;margin:-5px 0 0 -5px;z-index:7;border:2px solid #fff;border-radius:50%;background:#2962ff;box-shadow:0 0 0 2px #2962ff35}
.hero-demo-tag{left:0;top:0;z-index:9;padding:3px 7px;border-radius:4px;background:#2962ff;color:#fff;font:600 12px/1.4 var(--ui-font,Arial,sans-serif);white-space:nowrap}
.hero-demo-cursor{left:0;top:0;width:25px;height:29px;z-index:12;filter:drop-shadow(1px 2px 2px #13172233)}
.hero-demo-cursor svg{display:block;width:100%;height:100%}
.hero-demo-cursor.is-grabbing{filter:drop-shadow(1px 3px 3px #2962ff55)}
.hero-demo-insight .hero-demo-band{opacity:1}
.hero-demo-insight .hero-demo-dot{background:#0f7b5f;box-shadow:0 0 0 4px #0f7b5f22}
.hero-demo-insight .hero-demo-tag{background:#0f7b5f}
.hero-demo-insight .hero-condition{box-shadow:0 0 0 2px #0f7b5f55,0 3px 10px #0f7b5f20}
.hero-sleep-rise{opacity:0;transition:opacity .2s}
.hero-demo-insight .hero-sleep-rise{opacity:1}
.hero-demo-announcement{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(prefers-reduced-motion:reduce){.hero-demo-band,.hero-sleep-rise{transition:none}}

#top .hero-card{position:relative}
.hero-demo-lane>div:nth-child(2){overflow:hidden}
.hero-demo-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;font:400 12px/1.4 var(--ui-font,Arial,sans-serif);color:#646977}
.hero-demo-scales{display:flex;gap:3px;padding:3px;border-radius:4px;background:#f0f3fa}
.hero-demo-scales button{min-height:36px;padding:4px 12px;border:0;border-radius:4px;background:transparent;color:#646977;font:500 12px/1.4 var(--ui-font,Arial,sans-serif);cursor:pointer}
.hero-demo-scales button[aria-pressed=true]{background:white;color:#131722;box-shadow:0 1px 4px #13172214}
.hero-demo-scales button:hover{color:#2962ff}
.hero-demo-scales button:focus-visible{outline:2px solid #2962ff;outline-offset:1px}
.hero-demo-ruler-plot{overflow:hidden}
.hero-demo-week-ticks{position:absolute;inset:0;font:400 11px/1.4 var(--ui-font,Arial,sans-serif)}
.hero-demo-week-ticks span{position:absolute;top:6px;padding-left:4px;border-left:1px solid #e0e3eb;white-space:nowrap;color:#646977}
@media(pointer:coarse){.hero-demo-scales button{min-height:44px}}

.hero-demo-overlay{position:absolute;inset:0;z-index:12;overflow:hidden;pointer-events:none;border-radius:inherit}

/* Only one layer is moved in each slow demonstration; card height stays fixed. */

html,body{margin:0;padding:0;background:#fff;font-family:Arial,'PingFang SC','Microsoft YaHei',sans-serif;color:#131722;overflow:hidden}
*{box-sizing:border-box}.preview-stage{width:976px;transform-origin:top left}.browser-window{border:1px solid #dedede;border-radius:15px;overflow:hidden;background:#fff}.browser-bar{height:44px;position:relative;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #e8e8e8;background:#fafafa;font:12px Arial,sans-serif;color:#737373}.browser-dots{position:absolute;left:16px;display:flex;gap:8px}.browser-dots i{width:5px;height:5px;border-radius:50%;background:#d0d0d0}
#top .hero-card{width:100%;min-width:0;padding:16px!important;border:0!important;border-radius:0!important;box-shadow:none!important;gap:12px!important}
.hero-timeline{overflow:hidden!important;width:100%;box-sizing:border-box}.hero-demo-canvas{width:100%;min-width:0!important;zoom:1!important}.hero-demo-lane>div:first-child{flex-basis:150px!important}.hero-demo-scales button{min-height:36px!important}
