/* Phone week screen. Shares the home screen's rows, sheets and landscape (home.css); --s is 1 design px. */
.wk-top{position:relative;width:calc(393 * var(--s));margin:0 auto;padding-top:var(--top)}
.wk-path{display:block;width:100%;height:calc(236 * var(--s));overflow:visible}
.wk-path text{text-anchor:middle}
.wk-num{font:400 11px Inter,sans-serif;fill:var(--h-body)}
.wk-day.today .wk-num{font:500 14px Inter,sans-serif;fill:#F37021}
.wk-dow{font:600 11px Inter,sans-serif;fill:var(--h-faint)}
.wk-day.today .wk-dow{fill:#F37021}
.wk-due{fill:var(--h-orange)}
.wk-range{font:600 12px Inter,sans-serif;fill:#F37021;letter-spacing:.3px}
.wk-count{font:100 25px Inter,sans-serif;fill:#F37021}
.wk-list{padding-top:calc(14 * var(--s));padding-bottom:calc(150 * var(--s) + env(safe-area-inset-bottom))}
.wk-head{display:flex;align-items:baseline;gap:calc(6 * var(--s));margin:0 calc(28 * var(--s)) calc(7 * var(--s));font-weight:400}
.wk-head b{font:100 calc(22 * var(--s))/calc(27 * var(--s)) Inter,sans-serif;color:var(--h-body)}
.wk-head span{font:600 calc(11 * var(--s)) Inter,sans-serif;color:var(--h-faint)}
.wk-head.today b,.wk-head.today span{color:#F37021}
.wk-event{display:flex;align-items:center;height:calc(32 * var(--s));margin:0 calc(28 * var(--s)) calc(4 * var(--s));padding-left:calc(16 * var(--s));border-radius:calc(16 * var(--s));background:var(--h-lavender-soft);color:var(--h-body)}
.wk-event span{flex:none;width:calc(84 * var(--s));font:400 calc(11 * var(--s)) Inter,sans-serif}
.wk-event b{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-right:calc(14 * var(--s));font:400 calc(13 * var(--s)) "Noto Sans KR",sans-serif}
.wk-event.past{opacity:.4}
.wk-item{margin-bottom:calc(4 * var(--s))}
.hat{margin-left:4px;color:var(--h-faint);font:400 calc(11 * var(--s)) Inter,sans-serif}
/* An empty day: EMPTY stands upright in small letters, like the empty day screen (phone: under the date, on the left). */
.wk-empty{width:1ch;margin:calc(2 * var(--s)) 0 calc(14 * var(--s)) calc(36 * var(--s));font:600 calc(11 * var(--s))/1.5 Inter,sans-serif;letter-spacing:0;color:var(--h-lavender);word-break:break-all;text-align:center}
.wk-rule{height:0;margin:calc(10 * var(--s)) calc(28 * var(--s)) calc(16 * var(--s));border:0;border-top:1px solid var(--h-lavender-soft)}
.wk .hrow.to-later .swipe-later{background:var(--h-blue-soft)}
.wk .hrow.is-done .hstar,.wk .hrow.is-done .htitle,.wk .hrow.is-done .hdday,.wk .hrow.is-done .hest{color:var(--h-faint)}
.wk .hrow.is-done .hline{border-bottom-color:color-mix(in srgb,var(--c) 40%,transparent)}
.wk .hrow.is-done{opacity:.35}
.wk-choices .hs-choice{height:calc(62 * var(--s));border-radius:calc(31 * var(--s))}
.wk .home-moon{position:absolute}
/* Moving a task (hold, then drag): half-hour time rows, start times pulled out to the left, and a course-colour
   line through the times each task covers. */
.wk.moving .wk-item{margin-bottom:0}
.wk.moving .hstar,.wk.moving .hat{visibility:hidden}
.wk.moving .wk-item .hbody,.wk-ghost .hbody{padding-left:calc(49 * var(--s))}
.wk-item .hat2{display:none}
.wk.moving .wk-item .hat2,.wk-ghost .hat2{display:block;position:absolute;left:calc(34 * var(--s));top:calc(24 * var(--s));font:600 calc(11 * var(--s))/calc(13 * var(--s)) Inter,sans-serif;color:var(--h-ink);pointer-events:none;z-index:2}
.wk-ghost .hat2{left:calc(6 * var(--s))}
.wk.moving .wk-item.bot:after,.wk-ghost.snapped.bot:after{content:'';position:absolute;left:calc(48 * var(--s));top:calc(39 * var(--s));bottom:0;width:2px;background:var(--c);z-index:2}
.wk-ghost.snapped.bot:after{left:calc(20 * var(--s))}
.wk-time{position:relative;height:calc(24 * var(--s));margin:0 calc(28 * var(--s))}
.wk-list .wk-time.sp-in{margin-left:calc((28 + 16 * var(--sp)) * var(--s))}
.wk-time span{position:absolute;left:calc(6 * var(--s));top:calc(6 * var(--s));font:500 calc(11 * var(--s))/calc(12 * var(--s)) Inter,sans-serif;color:var(--h-faint)}
.wk-time.on span{font-weight:600;color:var(--h-ink)}
.wk-time i{position:absolute;left:calc(48 * var(--s));top:calc(12 * var(--s));width:calc(281 * var(--s));height:1px;background:repeating-linear-gradient(90deg,var(--h-lavender) 0 3px,transparent 3px 6px)}
.wk-time.top:before,.wk-time.bot:after{content:'';position:absolute;left:calc(20 * var(--s));width:2px;background:var(--c)}
.wk-time.top:before{top:0;height:calc(4 * var(--s))}
.wk-time.bot:after{bottom:0;height:calc(4 * var(--s))}
.wk-gap{height:calc(60 * var(--s))}
.wk-ghost{position:fixed;z-index:40;min-height:calc(60 * var(--s));background:#fff;border-radius:14px;box-shadow:0 10px 24px rgba(46,43,84,.22);pointer-events:none;--s:calc(var(--pw) / 393);transition:left .15s,box-shadow .15s}
.wk-ghost.snapped{box-shadow:0 3px 10px rgba(46,43,84,.12);transition:left .15s,top .15s,box-shadow .15s}
.wk-ghost.dropped{box-shadow:none}
.wk-keep{position:fixed;left:-9999px;top:0;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.wk-ghost .hrow-in{padding:0}
.wk-ghost .hstar{visibility:hidden;left:0}
@media(prefers-reduced-motion:reduce){.wk-ghost,.wk-ghost.snapped{transition:none}}
.wk.moving{overflow-anchor:none}
.wk-day{cursor:pointer;-webkit-tap-highlight-color:transparent}
.wk-hit{fill:transparent}
.wk-day:focus{outline:none}.wk-day:focus-visible circle:not(.wk-hit){stroke:var(--h-lavender);stroke-width:2}

/* Events over several days (or all day): a name line, then a thin line down the days; what lies inside is drawn one step in. */
.wk-list .wk-event.sp-in{margin-left:calc((28 + 16 * var(--sp)) * var(--s))}
.wk-list .hitem.sp-in{margin-left:calc(16 * var(--sp) * var(--s))}
.wk-head .sp-tag{margin-left:auto;font:400 calc(11 * var(--s)) "Noto Sans KR",sans-serif;font-style:normal;color:var(--h-faint)}
.ln-cap{display:flex;align-items:center;height:calc(26 * var(--s));margin:0 calc(28 * var(--s)) calc(9 * var(--s)) calc((28 + 16 * var(--sp)) * var(--s));padding-left:calc(16 * var(--s));color:var(--h-body)}
.ln-cap i{flex:none;width:calc(84 * var(--s));font:400 calc(11 * var(--s)) Inter,sans-serif;font-style:normal}
.ln-cap b{font:400 calc(13 * var(--s)) "Noto Sans KR",sans-serif;color:var(--h-ink)}
.ln-cap[data-spk=end]{margin-top:calc(2 * var(--s));margin-bottom:calc(12 * var(--s))}
.ln-layer{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:1}
.ln-layer svg{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}
.ln-layer path{fill:none;stroke:var(--h-underline);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ln-probe{position:absolute;left:0;top:0;width:calc(100 * var(--s));height:0;visibility:hidden}
.wk-head.sp-in,.wk-rule.sp-in{margin-left:calc((28 + 16 * var(--sp)) * var(--s))}
.wk-head .sp-tag~.sp-tag{margin-left:calc(10 * var(--s))}
[data-wk-ev]{cursor:pointer}
