/* A miniature desktop: a recording window, with the collapsed cat at its edge. */
.home-preview{align-self:center;min-width:0;width:100%;max-height:100%;position:relative;outline:none}
.preview-brand{display:flex;align-items:center;gap:8px;margin:0 1px 14px}
.preview-brand img{width:31px;height:31px}.preview-brand strong{font-size:23px;line-height:1;letter-spacing:-1px}.preview-brand>span{margin-left:auto;color:var(--green);font-size:12px}
.preview-screen{height:390px;position:relative;overflow:hidden;border-radius:12px 0 0 12px;background:#e9ede2;border:1px solid #cfd5c5;box-shadow:7px 8px 0 #e6e3d5}
.preview-screen:before{content:'';position:absolute;width:150px;height:150px;border-radius:50%;right:-78px;top:calc(50% - 75px);background:#f0db9270}
.preview-app{position:absolute;inset:15px 67px 15px 13px;padding:16px 14px 13px;border:1px solid #d9dccd;background:var(--white);border-radius:8px;box-shadow:0 7px 18px #2638210c;display:flex;flex-direction:column;min-width:0}
.preview-recording{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.4;color:var(--green);white-space:nowrap}
.preview-record-dot{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px #4163520e;flex-shrink:0}
.preview-wave{display:flex;align-items:center;gap:3px;height:14px;margin-left:auto}.preview-wave i{display:block;width:2px;height:9px;border-radius:2px;background:var(--green);transform-origin:center;animation:preview-wave .9s ease-in-out infinite}.preview-wave i:nth-child(2){animation-delay:-.2s}.preview-wave i:nth-child(3){animation-delay:-.4s}.preview-wave i:nth-child(4){animation-delay:-.6s}
.preview-clock{display:block;font:clamp(26px,2.6vw,38px)/1.2 var(--mono);letter-spacing:-1.5px;margin:9px 0 18px;white-space:nowrap;font-variant-numeric:tabular-nums}
.preview-task-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:9px}.preview-completed{font-family:var(--mono);font-size:10px}
.preview-tasks{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px;min-height:0;flex:1}
.preview-task{--task-accent:#598591;background:#ecf2f2;border-left:2px solid var(--task-accent);border-radius:5px;padding:10px 10px 9px;transition:background .3s,opacity .3s}
.preview-task:nth-child(2){--task-accent:#b78053;background:#f6eee4}.preview-task:nth-child(3){--task-accent:#698359;background:#eef1e5}
.preview-task[data-phase=waiting]{border-left-color:color-mix(in srgb,var(--task-accent) 45%,white)}.preview-task[data-phase=running]{box-shadow:0 0 0 1px color-mix(in srgb,var(--task-accent) 25%,transparent)}
.preview-task-title{display:flex;align-items:center;gap:7px;font-size:13px;line-height:1.5;font-weight:700;min-width:0}.preview-task-title>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.preview-task-state{display:grid;place-items:center;width:12px;height:12px;border:1px solid var(--task-accent);border-radius:50%;flex-shrink:0}.preview-task-state .icon{width:9px;height:9px;opacity:0}
.preview-task[data-phase=running] .preview-task-state:before{content:'';width:4px;height:4px;background:var(--task-accent);border-radius:50%}.preview-task[data-phase=running] .preview-task-state .icon{display:none}
.preview-task[data-phase=done] .preview-task-state{background:var(--task-accent);color:white}.preview-task[data-phase=done] .preview-task-state .icon{opacity:1}
.preview-task-meta{display:flex;align-items:center;justify-content:space-between;margin:5px 0 6px;color:#596257;font-size:10px;line-height:1.3}.preview-task-percent{font-family:var(--mono)}
.preview-task progress{display:block;appearance:none;border:0;background:#ffffffa0;border-radius:4px;width:100%;height:4px;overflow:hidden}.preview-task progress::-webkit-progress-bar{background:#ffffffa0;border-radius:4px}.preview-task progress::-webkit-progress-value{background:var(--task-accent);border-radius:4px}.preview-task progress::-moz-progress-bar{background:var(--task-accent);border-radius:4px}
.preview-timeline{display:flex;gap:3px;margin-top:12px;height:4px;flex-shrink:0}.preview-timeline>span{background:var(--soft);border-radius:3px;overflow:hidden}.preview-timeline i{display:block;height:100%;width:100%;background:#598591;transform-origin:left}.preview-timeline>span:nth-child(2) i{background:#b78053}.preview-timeline>span:nth-child(3) i{background:#698359}
.preview-desktop-edge{position:absolute;right:0;top:0;bottom:0;width:3px;background:#a6b2a0}
.preview-edge-dock{position:absolute;z-index:3;right:-49px;top:50%;transform:translateY(-50%);width:98px;height:98px;border:2px solid #d5b758;border-radius:50%;background:linear-gradient(145deg,#24252b 4%,#15161b 54%,#090a0d 100%);box-shadow:0 4px 16px #28372f40;isolation:isolate}
.preview-edge-dock:before{content:'';position:absolute;inset:5px;border:1px solid #f4f0e866;border-radius:50%}
.preview-edge-dock .hero-mark{position:absolute;left:1px;top:10px;width:73px;height:73px;max-width:none;filter:drop-shadow(0 2px 3px #0005)}
.preview-edge-dock .clock-hand{animation:none;stroke-width:28px;filter:drop-shadow(0 0 14px #ef3f4f)}
.preview-edge-aura{position:absolute;left:-6px;top:-6px;width:106px;height:106px;border-radius:50%;border:1px solid #d5b75877;animation:preview-aura 2.8s ease-in-out infinite}
.preview-edge-count{position:absolute;left:11px;top:1px;display:grid;place-items:center;min-width:17px;height:17px;background:#edf5e9;border:1px solid white;color:#34553d;border-radius:50%;font:bold 10px var(--body)}
.preview-edge-caption{position:absolute;right:9px;top:calc(50% + 62px);width:45px;text-align:center;font-size:11px;line-height:1.7;color:var(--green);word-break:normal}
.preview-caption{font-family:var(--hand);font-size:16px;line-height:1.5;text-align:center;color:var(--green);margin-top:14px}
@keyframes preview-wave{50%{transform:scaleY(.35)}}@keyframes preview-aura{50%{opacity:.35;scale:1.07}}
@media(min-width:1500px){.preview-screen{height:425px}.preview-app{inset:17px 74px 17px 16px;padding:20px 18px}.preview-task{padding:12px}.preview-task-title{font-size:14px}.preview-task-meta{font-size:11px}.preview-clock{margin-bottom:20px}}
@media(max-width:1150px) and (min-width:761px){.preview-brand>span{font-size:10px}.preview-app{inset:13px 57px 13px 10px;padding:14px 10px}.preview-task{padding:9px 7px}.preview-task-title{font-size:12px}.preview-brand strong{font-size:21px}.preview-edge-dock{width:88px;height:88px;right:-44px}.preview-edge-dock .hero-mark{width:65px;height:65px}.preview-edge-caption{right:6px;width:40px;font-size:10px}.preview-screen{height:370px}}
@media(max-height:740px) and (min-width:761px){.preview-brand{margin-bottom:9px}.preview-screen{height:350px}.preview-app{inset:12px 63px 12px 11px;padding:13px 12px 10px}.preview-clock{font-size:31px;margin:7px 0 12px}.preview-tasks{gap:7px}.preview-task{padding:8px 9px 7px}.preview-caption{font-size:15px;margin-top:10px}}
@media(max-width:760px){.home-view[data-home-pane="0"] .home-preview{display:none}.home-preview{grid-column:1;grid-row:3;align-self:center;max-height:100%;display:flex;flex-direction:column;min-height:0}.preview-brand{margin-bottom:10px;flex-shrink:0}.preview-brand strong{font-size:21px}.preview-brand>span{font-size:11px}.preview-screen{height:360px;min-height:245px;flex:1;box-shadow:4px 5px 0 #e6e3d5}.preview-app{inset:12px 62px 12px 12px;padding:13px 12px 10px}.preview-clock{font-size:30px;margin:7px 0 12px}.preview-tasks{gap:7px}.preview-task{padding:8px 9px 7px}.preview-caption{font-size:15px;margin-top:10px;flex-shrink:0}}
@media(max-width:760px) and (max-height:740px){.preview-brand{margin-bottom:6px}.preview-brand img{width:26px;height:26px}.preview-brand strong{font-size:20px}.preview-screen{height:268px;min-height:228px}.preview-app{inset:8px 53px 8px 8px;padding:8px}.preview-clock{font-size:24px;margin:4px 0 7px}.preview-recording{font-size:10px}.preview-task-heading{margin-bottom:6px}.preview-task{padding:6px 7px 5px}.preview-task-title{font-size:11px}.preview-task-meta{font-size:9px;margin:3px 0 4px}.preview-tasks{gap:5px}.preview-timeline{margin-top:7px;height:3px}.preview-caption{font-size:13px;margin-top:7px}.preview-edge-dock{width:82px;height:82px;right:-41px}.preview-edge-dock .hero-mark{width:61px;height:61px;top:8px}.preview-edge-caption{width:39px;right:5px;top:calc(50% + 52px);font-size:10px}}

@media(max-width:760px){.home-view[data-home-pane="1"]{grid-template-rows:40px minmax(0,1fr) 68px}.home-view[data-home-pane="1"] .home-copy{display:none}.home-view[data-home-pane="1"] .home-pane-switch{grid-row:1}.home-view[data-home-pane="1"] .home-preview{grid-row:2}.home-view[data-home-pane="1"] .home-cat-dock{grid-row:3}}
@media(max-width:760px) and (max-height:740px){.home-view[data-home-pane="1"]{grid-template-rows:35px minmax(0,1fr) 60px}.preview-screen{height:310px;min-height:280px}.preview-task-title{font-size:12px}.preview-task-meta{font-size:10px;margin:5px 0}.preview-task{padding:8px}.preview-clock{font-size:28px;margin:6px 0 10px}}
@media(max-width:760px){.home-preview{height:430px}}
.preview-task{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;padding-block:6px}.preview-task-meta{margin:4px 0}.preview-task progress{flex-shrink:0}

.home-preview:focus-visible{outline:2px solid var(--green);outline-offset:7px;border-radius:8px}
