/* Wide screens (the web, a tablet on its side): the 1194×834 design frame.
   Two-pane grid on every screen: left column 64–549, a 96 gutter, right column 645–1130 (both 485 wide);
   side panels take a whole column, so nothing moves when one opens. --u is one design px of that frame
   (set by home.js); the frame is centred in a wider window (--fx is its left edge) and the menu runs on to both edges.
   Text keeps the phone's colours, fonts and weights; the phone rules are reused with --s set to the wide unit. */
html.lay-wide{--fx:max(0px,calc((100vw - 1194 * var(--u)) / 2))}
/* iOS 26 blurs everything under the top edge of a home-screen app: the status bar plus about 28pt more (measured on an iPad, full screen,
   with the status bar 24pt tall). Nothing readable may start above --clr. A screen whose top row would (week's arc, the notice planets)
   moves down by what it is short: --wkd / --ntd (0 whenever it already clears). 23 and 27 are those rows' top, in design px. */
html.lay-wide{--clr:calc(var(--sat) + 28px);--wkd:max(0px,calc(var(--clr) - 23 * var(--u)));--ntd:max(0px,calc(var(--clr) - 27 * var(--u)))}
html.lay-wide .home{--s:var(--u);--top:max(calc(16 * var(--u)),var(--sat));--side:0px;overflow:hidden}
html.lay-wide .home .home-moon{position:absolute;left:calc(var(--fx) + 1096 * var(--u));right:auto;top:calc(46 * var(--u));width:calc(44 * var(--u));height:calc(44 * var(--u));margin:0;padding:0;place-items:center}
html.lay-wide .wk-ghost{--s:var(--u)}
/* Columns scroll on their own and run under the menu; their last rows can be scrolled up above it. */
html.lay-wide .hlist,html.lay-wide .wk-col,html.lay-wide .mo-list,html.lay-wide .cr-left,html.lay-wide .cr-right{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;box-sizing:border-box}
html.lay-wide .hlist::-webkit-scrollbar,html.lay-wide .wk-col::-webkit-scrollbar,html.lay-wide .mo-list::-webkit-scrollbar,html.lay-wide .cr-left::-webkit-scrollbar,html.lay-wide .cr-right::-webkit-scrollbar{display:none}

/* Menu: hills in frame coordinates (viewBox set by sizeHills), the sun in front, the gull at (831,747). */
html.lay-wide .home-hills{height:calc(294 * var(--u))}
html.lay-wide .lscape .hill.gone{transform:translateY(330px)}
html.lay-wide body:not([data-mood=dawn]):not([data-mood=dusk]) .lscape:before{height:calc(210 * var(--u))}
html.lay-wide .lscape-back{left:calc(50% + 234 * var(--u) - 29 * var(--u));bottom:calc(127 * var(--u) - 29 * var(--u));width:calc(58 * var(--u));height:calc(58 * var(--u))}
html.lay-wide .lscape-back svg{width:100%;height:100%}
html.lay-wide body.landscape #toast,html.lay-wide body.home-mode #toast{bottom:calc(190 * var(--u))}

/* Today: the ring on the left half, the day's list on the right (the phone's rows, 1.3225 times as large). */
html.lay-wide .home-top{position:absolute;left:calc(var(--fx) + 131.5 * var(--u));top:calc(135 * var(--u));width:calc(350 * var(--u));height:calc(350 * var(--u));margin:0;padding:0}
html.lay-wide .home-ring{left:0;top:0;width:100%;height:100%}
html.lay-wide .home-sun-hit,html.lay-wide .home-clock-hit{left:calc(72.5 * var(--u));top:calc(72.5 * var(--u));width:calc(205 * var(--u));height:calc(205 * var(--u))}
/* The list column is 40 wider on each side (with the same padding) so the cloud behind a running task is not cut at the column's edge. */
html.lay-wide .hlist{--s:calc(1.3225 * var(--u));position:absolute;left:calc(var(--fx) + 605 * var(--u));top:0;bottom:0;width:calc(565 * var(--u));margin:0;padding:calc(145 * var(--u)) calc(40 * var(--u)) calc(230 * var(--u))}
/* Nothing today: EMPTY stands at the ring's height (the frame's golden section, 310), in the middle of the list column. */
html.lay-wide .hlist .hempty{top:calc(310 * var(--u));transform:translateY(-50%)}
html.lay-wide .hlist .hrow-in{padding:0}
html.lay-wide .hlist .hstar{left:0}
html.lay-wide .hlist .htitle{max-width:none}
html.lay-wide .hlist .hdday{text-align:right;padding-right:calc(10 * var(--s))}
html.lay-wide .hlist .hitem{margin-bottom:calc(7 * var(--s))}
html.lay-wide .hlist .hdetail{margin-left:calc(34 * var(--s));margin-right:0}
html.lay-wide .hlist .wk-event{margin:0 0 calc(7 * var(--s))}
html.lay-wide .hlist .wk-event span i{font-style:normal}
html.lay-wide .hlist .hspacer{height:100vh}
.wk-event span i{font-style:normal}

/* Week: the sun path across the top, then the seven days side by side (138 wide, 17 apart). */
html.lay-wide .wk-top{position:absolute;left:var(--fx);top:var(--wkd);width:calc(1194 * var(--u));height:calc(250 * var(--u));margin:0;padding:0}
html.lay-wide .wk-path{width:100%;height:100%}
html.lay-wide .wk-dow{font-size:10px}
html.lay-wide .wk-count{font-size:28px}
html.lay-wide .wk-list{position:absolute;left:calc(var(--fx) + 64 * var(--u));top:calc(260 * var(--u));bottom:0;width:calc(1068 * var(--u));margin:0;padding:0;display:grid;grid-template-columns:repeat(7,calc(138 * var(--u)));column-gap:calc(17 * var(--u))}
/* A column reaches 9 into the gap on each side (and pads back), so a span's line can run on across the columns. */
html.lay-wide .wk-col{min-width:0;margin:0 calc(-9 * var(--u));padding:calc(8 * var(--u)) calc(9 * var(--u)) calc(230 * var(--u))}
html.lay-wide .wk-head{margin:0 0 calc(18 * var(--u)) calc(4 * var(--u))}
html.lay-wide .wk-head b{font:100 calc(20 * var(--u))/calc(24 * var(--u)) Inter,sans-serif}
html.lay-wide .wk-head span{font-size:calc(10 * var(--u))}
html.lay-wide .wk-col .wk-event{height:calc(30 * var(--u));margin:0 0 calc(8 * var(--u));padding-left:calc(12 * var(--u));border-radius:calc(15 * var(--u))}
html.lay-wide .wk-col .wk-event span{width:calc(38 * var(--u));font-size:calc(10 * var(--u))}
html.lay-wide .wk-col .wk-event span i{display:none}
html.lay-wide .wk-col .wk-event b{padding-right:calc(8 * var(--u));font-size:calc(12 * var(--u))}
html.lay-wide .wk-col .wk-item{margin:0}
html.lay-wide .wk-col .hrow-in{min-height:0;padding:0}
html.lay-wide .wk-col .hstar,html.lay-wide .wk-col .hdday,html.lay-wide .wk-col .hest,html.lay-wide .wk-col .hat,html.lay-wide .wk-col .wk-rule{display:none}
html.lay-wide .wk-col .hbody{padding:calc(1 * var(--u)) 0 calc(14 * var(--u)) calc(4 * var(--u))}
html.lay-wide .wk-col .htag{margin-bottom:calc(5 * var(--u));font-size:calc(9 * var(--u));line-height:calc(10 * var(--u));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.lay-wide .wk-col .htitle{max-width:100%}
html.lay-wide .wk-col .hline{font-size:calc(12 * var(--u));line-height:calc(15 * var(--u));padding-bottom:calc(2 * var(--u))}
html.lay-wide .wk-col .wk-empty{margin:calc(12 * var(--u)) auto 0;font:100 calc(10 * var(--u))/calc(12 * var(--u)) Inter,sans-serif;color:#9A9AB2}
/* Moving a task: each column turns into its own time rows. */
html.lay-wide .wk.moving .wk-col .hbody,html.lay-wide .wk-ghost .hbody{padding:calc(6 * var(--u)) 0 calc(8 * var(--u)) calc(40 * var(--u))}
html.lay-wide .wk.moving .wk-col .htag,html.lay-wide .wk-ghost .htag{font-size:calc(9 * var(--u));line-height:calc(10 * var(--u));margin-bottom:calc(4 * var(--u))}
html.lay-wide .wk-ghost .hline{font-size:calc(12 * var(--u));line-height:calc(15 * var(--u))}
html.lay-wide .wk-ghost .hstar,html.lay-wide .wk-ghost .hdday,html.lay-wide .wk-ghost .hest{display:none}
html.lay-wide .wk-ghost .hrow-in{min-height:0}
html.lay-wide .wk-ghost{min-height:calc(48 * var(--u))}
html.lay-wide .wk-gap{height:calc(48 * var(--u))}
html.lay-wide .wk.moving .wk-col .hat2,html.lay-wide .wk-ghost .hat2{left:calc(2 * var(--u));top:calc(18 * var(--u));font-size:calc(10 * var(--u))}
html.lay-wide .wk.moving .wk-col .wk-item.bot:after,html.lay-wide .wk-ghost.snapped.bot:after{left:calc(16 * var(--u));top:calc(32 * var(--u))}
html.lay-wide .wk-col .wk-time{margin:0}
html.lay-wide .wk-col .wk-time span{left:calc(2 * var(--u));font-size:calc(10 * var(--u))}
html.lay-wide .wk-col .wk-time i{left:calc(40 * var(--u));width:auto;right:0}
html.lay-wide .wk-col .wk-time.top:before,html.lay-wide .wk-col .wk-time.bot:after{left:calc(16 * var(--u))}

/* Month: the chosen day's list on the left, the calendar on the right (both the phone's, 1.25 times as large). */
html.lay-wide .mo-top{position:absolute;left:var(--fx);top:0;width:calc(1194 * var(--u));pointer-events:none;height:calc(130 * var(--u));margin:0;padding:0;z-index:2}
/* The year and month sit over the calendar; the + sits at the end of the day line, on the left. */
html.lay-wide .mo-head{left:calc(645 * var(--u));right:auto;width:calc(485 * var(--u));top:calc(56 * var(--u));pointer-events:auto}
html.lay-wide .mo-head .mo-plus{position:absolute;left:calc(-645 * var(--u) + 549 * var(--u) - 34px);top:calc(91 * var(--u));margin:0}
html.lay-wide .mo-cal{--s:calc(1.25 * var(--u));position:absolute;left:calc(var(--fx) + 645 * var(--u));top:calc(150 * var(--u));width:calc(485 * var(--u));margin:0}
html.lay-wide .mo-dow{height:calc(25 * var(--u));font-size:calc(12 * var(--u))}
html.lay-wide .mo-cell{height:calc(84 * var(--u))}
html.lay-wide .mo-grid{--mo-row:calc(84 * var(--u))}
html.lay-wide .mo-list{--s:calc(1.25 * var(--u));position:absolute;left:calc(var(--fx) + 64 * var(--u));top:0;bottom:0;width:calc(485 * var(--u));margin:0;padding:calc(147 * var(--u)) 0 calc(230 * var(--u))}
html.lay-wide .mo-day{margin:0 0 calc(8.5 * var(--u))}
html.lay-wide .mo-day span,html.lay-wide .mo-day em{font-size:calc(12 * var(--u))}
/* No filled cards on the wide screens: space alone separates the rows. */
html.lay-wide .mo-event,html.lay-wide .mo-mark{margin-left:0;margin-right:0;background:none;border-radius:0}
html.lay-wide .mo-empty{margin-left:0;margin-right:0}
html.lay-wide .mo-time b,html.lay-wide .mo-time small,html.lay-wide .mo-mark b{font-size:calc(14 * var(--u))}

/* Criteria: every task by field on the left, the notice box (or a notice, or a course note) on the right. */
html.lay-wide .cr.solo .cr-left{display:none}
html.lay-wide .cr-left{position:absolute;left:calc(var(--fx) + 64 * var(--u));top:0;bottom:0;width:calc(485 * var(--u));padding:0 0 calc(230 * var(--u))}
html.lay-wide .cr-right{position:absolute;left:calc(var(--fx) + 645 * var(--u));top:0;bottom:0;width:calc(485 * var(--u));padding:0 0 calc(230 * var(--u))}
html.lay-wide .cr-left .cr-top,html.lay-wide .cr-right .cr-top{position:sticky;top:0;z-index:2;background:#fff;padding-left:0;padding-right:0}
html.lay-wide .cr-left .cr-fields{padding-top:calc(22 * var(--u))}
html.lay-wide .cr-left .cr-field,html.lay-wide .cr-right .cr-field{margin-left:0;margin-right:0}
html.lay-wide .cr-left .cr-field{margin-bottom:calc(14 * var(--u))}
html.lay-wide .cr-head i{width:calc(6 * var(--u));height:calc(6 * var(--u));left:calc(1 * var(--u));top:calc(9 * var(--u))}
html.lay-wide .cr-pdday{margin-left:auto;padding:0;border-radius:0;background:none;color:var(--h-ink);font:100 calc(20 * var(--u))/calc(22 * var(--u)) Inter,sans-serif;letter-spacing:0}
html.lay-wide .cr-add{margin-left:0}
/* Notice box: the planets sit above the column, with the small "notices" name at its left edge. */
html.lay-wide .cr-right .cr-top.nt-top{height:calc(210 * var(--u) + var(--ntd));padding:0}
html.lay-wide .cr-right .nt-top .cr-kicker.back{position:absolute;left:0;top:calc(56 * var(--u));z-index:2}
html.lay-wide .cr-right .nt-orbit{left:calc(46 * var(--u));top:calc(-72 * var(--u) + var(--ntd))}
html.lay-wide .cr-right .nt-title{font:600 12px Inter,sans-serif;fill:var(--h-faint);text-anchor:start;transform:translate(-242.5px,77.5px)}
html.lay-wide .cr-right .cr-fields{padding-top:calc(12 * var(--u))}
html.lay-wide .cr-right .cr-field{padding-bottom:calc(7 * var(--u));margin-bottom:calc(15 * var(--u))}
html.lay-wide .cr-right .cr-body{padding-top:calc(7 * var(--u))}
html.lay-wide .cr-right .cr-nrow{min-height:calc(46 * var(--u))}
/* The box with nothing in it, a notice, and a course note: a small name on top, then the content. */
html.lay-wide .cr-right .cr-top:not(.nt-top){height:auto;padding-top:calc(56 * var(--u));padding-bottom:calc(14 * var(--u))}
html.lay-wide .cr-right[data-kind=notices] .cr-top:not(.nt-top) .cr-kicker{display:none}
html.lay-wide .cr-right[data-kind=notices] .cr-top:not(.nt-top) .cr-title{padding-top:calc(130 * var(--u));font:600 calc(12 * var(--u))/calc(15 * var(--u)) Inter,sans-serif;color:var(--h-faint)}
html.lay-wide .cr-right .cr-notice{padding:0}
html.lay-wide .cr-right .nb{padding-left:0;padding-right:0}

/* Settings: the phone's list in three columns of 337. Its other pages keep one column for now. */
html.lay-wide .st{overflow-y:auto}
html.lay-wide .st-in{width:calc(1066 * var(--u));margin:0 0 0 calc(var(--fx) + 64 * var(--u))}
html.lay-wide .st .cr-top{padding-left:0;padding-right:0}
html.lay-wide .st-list{padding:calc(22 * var(--u)) 0 0}
html.lay-wide .st:not([data-kind=main]) .st-list{width:calc(485 * var(--u))}

/* Login: the form in the middle of the frame, the menu's hills without names below. */
html.lay-wide #login{--s:var(--u)}
html.lay-wide #login-form{padding-top:calc(143 * var(--u))}
html.lay-wide #login .login-brand{gap:calc(8 * var(--u));font-size:calc(40 * var(--u))}
html.lay-wide #login .login-mark{width:calc(28 * var(--u));height:calc(28 * var(--u))}

/* Criteria: notices opens the right column; pressed again (or the gull) it closes. */
html.lay-wide .cr-left .cr-notices{right:0;top:calc(84 * var(--u));margin:-4px 0 -4px -8px;padding-right:0;font-size:calc(12 * var(--u))}
html.lay-wide .cr-left .cr-notices::after{right:0}
html.lay-wide .cr-left .cr-notices{padding-right:7px}html.lay-wide .cr-left .cr-notices i{right:0;top:1px}
html.lay-wide .cr-left .cr-notices.on{font-weight:600;color:var(--h-ink)}
html.lay-wide .cr-right[data-kind=none]{display:none}

/* Side panel (adding or editing a task beside the list): no scrim, no dome; the list narrows to 64–494. */
html.lay-wide .hsheet.side{inset:0 auto 0 calc(var(--fx) + 645 * var(--u));width:calc(485 * var(--u));z-index:25;opacity:0}
html.lay-wide .hsheet.side.open{opacity:1}
html.lay-wide .hsheet.side.side-left{left:calc(var(--fx) + 64 * var(--u));width:calc(485 * var(--u))}
html.lay-wide .hsheet.side .hs-scrim{display:none}
html.lay-wide .hsheet.side .hs-panel{position:absolute;inset:0;max-height:none;display:block;transform:none;transition:none;background:#fff;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:calc(150 * var(--u)) 0 calc(230 * var(--u));box-sizing:border-box}
html.lay-wide .hsheet.side .hs-panel::-webkit-scrollbar{display:none}
html.lay-wide .hsheet.side .hs-body{padding:0;overflow:visible;background:none}
.hs-ctx{display:block;margin:0 0 calc(18 * var(--u));padding:0;border:0;background:none;font:600 12px Inter,sans-serif;color:#9A9AAB;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hs-src{display:block;max-width:100%;margin:0 0 16px;padding:0;border:0;background:none;color:var(--h-faint);font:400 12px "Noto Sans KR",sans-serif;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.hs-src span{color:#5B4B8B;text-decoration:underline 1.5px #BFAEF2;text-underline-offset:4px}
html.lay-wide .hsheet.side .ta-chips{margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}
html.lay-wide body.side-open .home-top{visibility:hidden}
html.lay-wide .hsheet.side .hs-panel{padding-top:calc(124 * var(--u))}
html.lay-wide .hsheet.side .hs-ctx{margin-bottom:12px}
html.lay-wide .hsheet.side .ta-title{margin-bottom:12px}
html.lay-wide .hsheet.side .ta-chips{margin-bottom:10px}
html.lay-wide .hsheet.side .ed-mid{margin:2px 0 14px}
html.lay-wide .hsheet.side .ed-acts{margin-top:8px}
html.lay-wide .hsheet.side .cr-save{margin-top:14px}

/* Tall (a tablet held upright, 834×1194 frame): the phone screens in one column 706 wide (64 from each edge), rows at
   the wide list's size; the wide menu at 0.75. A column is 706 plus the rows' own 28px margins on each side. */
html.lay-tall{--fx:max(0px,calc((100vw - 834 * var(--u)) / 2))}
html.lay-tall .home,html.lay-tall .hsheet,html.lay-tall #login{--s:calc(1.3225 * var(--u));--side:0px;--col:calc(706 * var(--u) + 56 * var(--s))}
html.lay-tall .home{--top:max(calc(16 * var(--u)),var(--sat))}
html.lay-tall .wk-ghost{--s:calc(1.3225 * var(--u))}
html.lay-tall .home .home-moon{right:calc(var(--fx) + 64 * var(--u) - 10px);top:calc(46 * var(--u));width:calc(44 * var(--u));height:calc(44 * var(--u));margin:0;padding:0;place-items:center}
html.lay-tall .hlist,html.lay-tall .mo-list,html.lay-tall .cr-in,html.lay-tall .st-in,html.lay-tall .mo-top{width:var(--col)}
html.lay-tall .mo-cal{width:calc(706 * var(--u))}
html.lay-tall .mo-top{height:calc(150 * var(--u))}
html.lay-tall .mo-head{top:calc(56 * var(--u))}
/* Today: the ring on top (350 across, centred), the day below it. */
html.lay-tall .home-top{width:calc(350 * var(--u));height:calc(500 * var(--u));margin:0 auto;padding:0}
html.lay-tall .home-ring{left:0;top:calc(150 * var(--u));width:100%;height:calc(350 * var(--u))}
html.lay-tall .home-sun-hit,html.lay-tall .home-clock-hit{left:calc(72.5 * var(--u));top:calc(222.5 * var(--u));width:calc(205 * var(--u));height:calc(205 * var(--u))}
html.lay-tall .hlist{padding-top:calc(70 * var(--u));padding-bottom:calc(240 * var(--u))}
html.lay-tall .hlist .wk-event{margin-left:calc(28 * var(--s));margin-right:calc(28 * var(--s))}
html.lay-tall .hlist .hspacer{height:100vh}
/* Week: the sun path stays the phone's shape, centred; the days run below in one column. */
html.lay-tall .wk-top{width:calc(393 * var(--s))}
html.lay-tall .wk-list{width:var(--col)}
html.lay-tall .wk-list,html.lay-tall .mo-list,html.lay-tall .cr-in{padding-bottom:calc(240 * var(--u))}
/* Menu */
html.lay-tall .home-hills{height:calc(220.5 * var(--u))}
html.lay-tall .lscape text{font-size:16px}
html.lay-tall .lscape .hill.gone{transform:translateY(330px)}
html.lay-tall body:not([data-mood=dawn]):not([data-mood=dusk]) .lscape:before{height:calc(100 * var(--u))}
html.lay-tall .lscape-back{left:calc(50% + 146 * var(--u) - 22 * var(--u));bottom:calc(65 * var(--u) - 22 * var(--u));width:calc(44 * var(--u));height:calc(44 * var(--u))}
html.lay-tall .lscape-back svg{width:100%;height:100%}
html.lay-tall body.landscape #toast,html.lay-tall body.home-mode #toast{bottom:calc(150 * var(--u))}
html.lay-tall .hs-body{padding-left:max(calc(24 * var(--s)),calc((100vw - 560px) / 2));padding-right:max(calc(24 * var(--s)),calc((100vw - 560px) / 2))}
html.lay-tall #login-form{width:calc(345 * var(--s));padding-top:calc(250 * var(--u))}
html.lay-tall .mo-event,html.lay-tall .mo-mark,html.lay-tall .mo-empty{width:calc(706 * var(--u))}
/* Like the wide screens: no filled cards on the upright tablet either, space alone separates the rows. */
html.lay-tall .mo-event,html.lay-tall .mo-mark{background:none;border-radius:0}
html.lay-tall .mo-nav{right:calc(52 * var(--u))}

/* Settings sub-screens beside the list: the list in one column on the left (64–549), the sub-screen on the right (645–1130). */
html.lay-wide .st.two{overflow:hidden}
html.lay-wide .st.two .st-l,html.lay-wide .st.two .st-r{position:absolute;top:0;bottom:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;box-sizing:border-box;padding:0 0 calc(230 * var(--u))}
html.lay-wide .st.two .st-l::-webkit-scrollbar,html.lay-wide .st.two .st-r::-webkit-scrollbar{display:none}
html.lay-wide .st.two .st-l{left:calc(var(--fx) + 64 * var(--u));width:calc(485 * var(--u))}
html.lay-wide .st.two .st-r{left:calc(var(--fx) + 645 * var(--u));width:calc(485 * var(--u))}
html.lay-wide .st.two .st-r .st-in{width:100%;margin:0}
html.lay-wide .st.two .st-r .st-list{width:auto}
html.lay-wide .st.two .st-l .cr-top{padding-left:0;padding-right:0}
html.lay-wide .st.two .st-l .st-list{width:auto}
html.lay-wide .hsheet.side .mo-delete{margin:24px 0 0;padding-left:0;padding-right:0}
html.lay-wide .hsheet.side .mo-note{text-align:left}

/* The editor beside the list reads like the row it came from (Figma 243:950): no filled boxes, light type,
   thin underlines, a dashed rule down the details, and a quiet save. */
html.lay-wide .hsheet.side .hs-ctx{margin-bottom:calc(26 * var(--u))}
html.lay-wide #hsheet.side .ta-title{height:auto;margin:0 0 calc(14 * var(--u));padding:0 0 4px;border-radius:0;background:none;border-bottom:1.5px solid var(--h-lavender);font:300 17px/26px "Noto Sans KR",sans-serif}
html.lay-wide #hsheet.side .ta-title:focus-visible{outline:none;border-bottom-color:var(--h-purple)}
html.lay-wide #hsheet.side .ed-form>:not(.ta-title):not(.cr-save):not(.ta-chips){margin:0!important;padding-left:calc(16 * var(--u));border-left:1px dashed var(--h-lavender)}
html.lay-wide .hsheet.side .ed-grid{row-gap:calc(12 * var(--u))}
html.lay-wide .hsheet.side .ta-chips{gap:2px;margin-bottom:calc(10 * var(--u))!important}
html.lay-wide .hsheet.side .ta-chip{height:24px;padding:0 9px;box-shadow:none;color:var(--h-faint);font-size:11px}
html.lay-wide .hsheet.side .ta-chip.on{background:none;box-shadow:inset 0 0 0 1px var(--h-lavender);color:var(--h-ink)}
html.lay-wide .hsheet.side .ta-chip i{width:6px;height:6px}
html.lay-wide .hsheet.side .ed-mid{margin:0!important;padding-top:calc(6 * var(--u));padding-bottom:calc(14 * var(--u))}
html.lay-wide .hsheet.side .ed-grid .ta-date,html.lay-wide .hsheet.side .ed-grid .ed-pick b{font-size:17px;line-height:24px;border-bottom-width:1px}
html.lay-wide #hsheet.side .ta-est input{font-size:17px}
html.lay-wide .hsheet.side .ta-est label{border-bottom-width:1px}
html.lay-wide .hsheet.side .ed-grid .ta-due small{font-size:10px;margin-top:3px}
html.lay-wide .hsheet.side .ed-mid .ta-prio{gap:5px}
html.lay-wide .hsheet.side .ed-mid .ta-prio button{width:34px;height:22px;font-size:12px}
html.lay-wide #hsheet.side .ed-notes{min-height:0;margin:0;padding-top:calc(4 * var(--u));padding-bottom:calc(14 * var(--u));padding-right:0;border-radius:0;background:none;color:var(--h-body);font:300 13px/1.7 "Noto Sans KR",sans-serif}
html.lay-wide .hsheet.side .ed-links{padding-bottom:calc(6 * var(--u))}
html.lay-wide .hsheet.side .ed-acts{margin-top:0!important;padding-bottom:calc(4 * var(--u))}
html.lay-wide .hsheet.side .cr-save{width:auto;height:30px;margin:calc(18 * var(--u)) 0 0 auto!important;padding:0 20px;border-radius:15px;box-shadow:inset 0 0 0 1px var(--h-lavender);font:400 12px "Noto Sans KR",sans-serif}
html.lay-wide .hsheet.side .cr-save:after{display:none}

/* Month's left side: the chosen day large on the title line, its events, then the next days with something on them. */
html.lay-wide .mo-list{padding-top:calc(66 * var(--u))}
html.lay-wide .mo-day{align-items:baseline;margin-bottom:calc(26 * var(--u))}
html.lay-wide .mo-day b{font:200 calc(40 * var(--u))/calc(44 * var(--u)) Inter,sans-serif}
html.lay-wide .mo-day span{font-size:calc(14 * var(--u))}
html.lay-wide .mo-head .mo-plus{top:calc(10 * var(--u))!important}

/* Month panels: the event's title and time large, the class's open tasks below; the add form on underlines. */
html.lay-wide #hsheet.side.mo-detail .hs-title,html.lay-wide #hsheet.side .mo-form .hs-title{font:300 22px/30px "Noto Sans KR",sans-serif;color:var(--h-ink);text-align:left}
html.lay-wide #hsheet.side .hs-sub{text-align:left;font-size:12px}
html.lay-wide .mo-event.open .mo-text b{font-weight:400}
html.lay-wide .mo-inline{margin:calc(-2 * var(--u)) 0 calc(18 * var(--u)) calc(68 * var(--s));padding:calc(2 * var(--u)) 0 calc(4 * var(--u)) calc(16 * var(--u));border-left:1px dashed var(--h-lavender)}
html.lay-wide .mo-iplace{display:inline-block;margin:calc(4 * var(--u)) 0;font:300 13px "Noto Sans KR",sans-serif;color:var(--h-body);text-decoration:none;border-bottom:1px solid var(--h-lavender-soft)}
html.lay-wide .mo-irow{display:flex;gap:10px;align-items:baseline;width:100%;padding:calc(6 * var(--u)) 0;border:0;background:none;text-align:left;cursor:pointer;font:400 12px "Noto Sans KR",sans-serif;color:var(--h-faint)}
html.lay-wide .mo-irow b{font:400 13px Inter,"Noto Sans KR",sans-serif;color:var(--h-ink)}
html.lay-wide .mo-inote{margin:calc(8 * var(--u)) 0 0;font:400 11px "Noto Sans KR",sans-serif;color:var(--h-faint)}
html.lay-wide .mo-inline .mo-delete{margin:calc(8 * var(--u)) 0 0;padding:0;min-height:24px}
html.lay-wide .mo-dtasks{margin:calc(2 * var(--u)) 0 0}
html.lay-wide .mo-dtask{display:flex;align-items:baseline;justify-content:space-between;gap:12px;width:100%;padding:calc(7 * var(--u)) 0;border:0;background:none;text-align:left;cursor:pointer}
html.lay-wide .mo-dtask span{min-width:0;font:300 14px "Noto Sans KR",sans-serif;color:var(--h-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-bottom:1px solid var(--h-lavender);padding-bottom:2px}
html.lay-wide .mo-dtask small{flex:none;font:200 20px Inter,sans-serif;color:var(--h-body)}
html.lay-wide #hsheet.side .mo-field input,html.lay-wide #hsheet.side .mo-when output{height:34px;padding:0;border-radius:0;background:none;border-bottom:1px solid var(--h-lavender);font:300 15px/34px Inter,"Noto Sans KR",sans-serif}
html.lay-wide #hsheet.side .mo-when input{height:34px}
html.lay-wide #hsheet.side .mo-field{margin-bottom:calc(18 * var(--u))}
html.lay-wide #hsheet.side .mo-pair{gap:calc(28 * var(--u))}
html.lay-wide #hsheet.side .mo-save,html.lay-wide #hsheet.side .cr-form .cr-save{width:auto;height:30px;margin:calc(18 * var(--u)) 0 0 auto;padding:0 20px;border-radius:15px;box-shadow:inset 0 0 0 1px var(--h-lavender);font:400 12px "Noto Sans KR",sans-serif}
html.lay-wide #hsheet.side .mo-save:after{display:none}
html.lay-wide body.side-open .mo-list{visibility:hidden}
/* Panels start on the same line as the other column's kicker (56); on today they start with the day list (124). */
html.lay-wide .hsheet.side .hs-panel{padding-top:calc(56 * var(--u))}
html.lay-wide .hsheet.side.side-today .hs-panel{padding-top:calc(124 * var(--u))}
/* An opened event and its detail read as one: the event's lavender bar runs on down the detail, which starts
   under the title, in small light type; task D-days sit beside the titles and delete is a quiet last line. */
html.lay-wide .mo-event.open:before{top:calc(14 * var(--s));height:auto;bottom:calc(-8 * var(--s))}
html.lay-wide .mo-inline{margin:0 0 calc(22 * var(--u)) calc(70 * var(--s));padding:calc(2 * var(--s)) 0 calc(6 * var(--s)) calc(16 * var(--s));border-left:1px solid var(--h-lavender)}
html.lay-wide .mo-iplace{margin:0 0 calc(4 * var(--u));font-size:13px}
html.lay-wide .mo-irow{padding:calc(3 * var(--u)) 0}
html.lay-wide .mo-dtasks{margin:calc(4 * var(--u)) 0 0}
html.lay-wide .mo-dtask{justify-content:flex-start;gap:8px;padding:calc(4 * var(--u)) 0}
html.lay-wide .mo-dtask:before{content:'';flex:none;width:4px;height:4px;margin-right:2px;border-radius:50%;background:var(--h-lavender);transform:translateY(-3px)}
html.lay-wide .mo-dtask span{border:0;padding:0;font:300 13px "Noto Sans KR",sans-serif;color:var(--h-body)}
html.lay-wide .mo-dtask small{font:400 11px Inter,sans-serif;color:var(--h-faint)}
html.lay-wide .mo-dtask:hover span{color:var(--h-ink)}
html.lay-wide .mo-inline .mo-delete{margin:calc(10 * var(--u)) 0 0;min-height:0;font-size:11px;color:var(--h-faint)}
html.lay-wide .mo-inline .mo-delete:hover,html.lay-wide .mo-inline .mo-delete.sure{color:var(--h-red)}
html.lay-wide .mo-inline{position:relative;margin-top:calc(-30 * var(--s))}
/* No rule down the detail: it simply starts under the event's title. */
html.lay-wide .mo-event.open:before{bottom:auto;height:calc(36 * var(--s))}
html.lay-wide .mo-inline{margin-left:calc(68 * var(--s));padding-left:0;border-left:0}

/* Popups on wide: a big circle (1120 across, centred at 597) over a dimmed screen, with a dashed circle inside.
   The phone sheet's content is scaled so its widest part is 431; home.js sets --ctop from the content's height. */
html.lay-wide .hsheet:not(.side){--s:calc(1.25 * var(--u))}
html.lay-wide .hsheet:not(.side) .hs-panel{left:calc(var(--fx) + 37 * var(--u));right:auto;top:var(--ctop,calc(205 * var(--u)));bottom:auto;width:calc(1120 * var(--u));height:calc(1120 * var(--u));max-height:none;border-radius:50%;background:#fff;display:block;overflow:hidden;transform:translateY(66vh) scale(.6)}
html.lay-wide .hsheet.open:not(.side) .hs-panel{transform:none}
html.lay-wide .hsheet:not(.side) .hs-panel:before{content:'';position:absolute;inset:calc(14 * var(--u));border:1.5px dashed #C9CBF2;border-radius:50%;pointer-events:none}
html.lay-wide .hsheet:not(.side) .hs-dome{display:none}
html.lay-wide .hsheet:not(.side) .hs-body{position:relative;width:calc(431 * var(--u));max-height:calc(100vh - var(--ctop,0px));margin:0 auto;padding:calc(110 * var(--u)) 0 calc(40 * var(--u));background:none;box-sizing:border-box;scrollbar-width:none}
html.lay-wide .hsheet:not(.side) .hs-body::-webkit-scrollbar{display:none}
html.lay-wide .hsheet:not(.side) .hs-title,html.lay-wide .hsheet:not(.side) .hs-sub,html.lay-wide .hsheet:not(.side) .st-what,html.lay-wide .hsheet:not(.side) .st-note,html.lay-wide .hsheet:not(.side) .st-sub{text-align:center}
/* The list stays on the left, so the right pane needs no way back. */
html.lay-wide .st.two .st-r .cr-kicker.back{visibility:hidden}

/* Motion on wide. A side panel comes across from the list it belongs to and goes back the same way; a popup
   circle grows as it rises like the sun, with what is on it a beat behind, and sinks on the way out. Nothing bounces. */
html.lay-wide .hsheet.side{transition:opacity .18s ease-in,visibility 0s linear .18s}
html.lay-wide .hsheet.side.open{transition:opacity .24s ease-out}
html.lay-wide .hsheet.side .hs-panel>*{transform:translateX(calc(-40 * var(--u)));transition:transform .18s ease-in}
html.lay-wide .hsheet.side.side-left .hs-panel>*{transform:translateX(calc(40 * var(--u)))}
html.lay-wide .hsheet.side.open .hs-panel>*{transform:none;transition:transform .36s cubic-bezier(.2,.8,.2,1)}
html.lay-wide .hsheet:not(.side){transition:visibility 0s linear .34s}
html.lay-wide .hsheet.open:not(.side){transition:none}
html.lay-wide .hsheet:not(.side) .hs-scrim{transition:opacity .28s ease-in}
html.lay-wide .hsheet.open:not(.side) .hs-scrim{transition:opacity .4s ease-out}
html.lay-wide .hsheet:not(.side) .hs-panel{transition:transform .32s cubic-bezier(.6,0,.9,.4)}
html.lay-wide .hsheet.open:not(.side) .hs-panel{transition:transform .6s cubic-bezier(.16,1,.3,1)}
html.lay-wide .hsheet:not(.side) .hs-body{opacity:0;transform:translateY(calc(20 * var(--u)));transition:opacity .14s,transform .14s}
html.lay-wide .hsheet.open:not(.side) .hs-body{opacity:1;transform:none;transition:opacity .3s ease-out .2s,transform .4s cubic-bezier(.2,.8,.2,1) .2s}
html.lay-wide .hsheet:not(.side) .hs-panel:before{opacity:0;transition:opacity .14s}
html.lay-wide .hsheet.open:not(.side) .hs-panel:before{opacity:1;transition:opacity .4s ease-out .22s}
@media(prefers-reduced-motion:reduce){html.lay-wide .hsheet,html.lay-wide .hsheet *,html.lay-wide .hsheet .hs-panel:before{transition:none!important}}
/* An open event's place is the link in its detail, which sits where the small line was. */
html.lay-wide .mo-event.open .mo-text small{visibility:hidden}
/* The page being left during day ↔ week: only its moving parts show, over the new page and under the menu. */
html.lay-wide .swap-ghost{background:none;pointer-events:none}
/* Title, place and memo in the opened event (11/16): thin lines like the side panel, no pills. */
html.lay-wide .mo-inline .mo-etitle,html.lay-wide .mo-inline .mo-eplace,html.lay-wide .mo-inline .mo-ememo{height:auto;min-height:0;margin:0 0 calc(8 * var(--u));padding:calc(4 * var(--u)) 0;border-radius:0;background:none;border-bottom:1px solid var(--h-lavender-soft);font:300 13px/1.6 "Noto Sans KR",sans-serif;color:var(--h-ink)}
html.lay-wide .mo-inline .mo-etitle{font-size:14px}
html.lay-wide .mo-inline .mo-etitle:focus-visible,html.lay-wide .mo-inline .mo-eplace:focus-visible,html.lay-wide .mo-inline .mo-ememo:focus-visible{outline:0;border-bottom-color:var(--h-lavender)}
html.lay-wide .mo-inline .mo-memo{margin:calc(4 * var(--u)) 0 0}
/* The open event's title becomes its title field, in the same place and type, so it is not shown twice. */
html.lay-wide .mo-event.open .mo-text{visibility:hidden}
html.lay-wide .mo-inline .mo-retime{margin-top:0}
html.lay-wide .mo-inline .mo-etitle{position:relative;margin-top:calc(-34 * var(--s) - 4 * var(--u));font:300 calc(15 * var(--s))/calc(22 * var(--s)) "Noto Sans KR",sans-serif;border-bottom-color:transparent}
html.lay-wide .mo-inline .mo-etitle:hover{border-bottom-color:var(--h-lavender-soft)}
/* criteria: notices sits on the moon's line, done takes notices' old place. */
html.lay-wide .cr-left .cr-notices{top:calc(68 * var(--u) - 11px)}
html.lay-wide .cr-left .cr-done-t{right:0;top:calc(84 * var(--u));margin:-4px 0 -4px -8px;padding-right:0;font-size:calc(12 * var(--u))}
html.lay-tall .cr-top .cr-notices{top:calc(68 * var(--u) - 11px);right:calc(64 * var(--u) + 24 * var(--u))}
/* One column (tall): the notices orbit is centred over the column, not pinned to its left. */
html.lay-tall .nt-orbit{left:calc(50% - 196.5 * var(--s))}
/* Criteria: log sits left of notices and opens in the right column the same way. */
html.lay-wide .cr-left .cr-log{right:calc(76 * var(--u));top:calc(68 * var(--u) - 11px);margin:-4px -8px;font-size:calc(12 * var(--u))}
html.lay-tall .cr-top .cr-log{top:calc(68 * var(--u) - 11px);right:calc(64 * var(--u) + 100 * var(--u))}
html.lay-wide .cr-left .cr-log.on{font-weight:600;color:var(--h-ink)}
html.lay-wide .cr-right[data-kind=log] .lg-list{padding-left:0;padding-right:0}

/* Wide: one row per span under the date; the name above a line whose ends bend down where the span begins and ends. */
html.lay-wide .ln-seg{margin:0 0 calc(6 * var(--u))}
html.lay-wide .ln-seg.gap{height:calc(31 * var(--u))}
html.lay-wide .ln-seg:not(.l){margin-left:calc(-9 * var(--u))}
html.lay-wide .ln-seg:not(.r){margin-right:calc(-9 * var(--u))}
html.lay-wide .ln-t{display:flex;align-items:center;height:calc(22 * var(--u));padding:0 calc(4 * var(--u));white-space:nowrap;color:var(--h-ink)}
html.lay-wide .ln-t i{flex:none;margin-right:calc(8 * var(--u));font:400 calc(10 * var(--u)) Inter,sans-serif;font-style:normal;color:var(--h-body)}
html.lay-wide .ln-t b{min-width:0;overflow:hidden;text-overflow:ellipsis;font:400 calc(12 * var(--u)) "Noto Sans KR",sans-serif}
html.lay-wide .ln-t .r{margin:0 0 0 auto;padding-left:calc(8 * var(--u))}
html.lay-wide .ln-bar{height:calc(9 * var(--u));box-sizing:border-box;border-top:2px solid var(--h-underline)}
html.lay-wide .ln-seg.l .ln-bar{border-left:2px solid var(--h-underline);border-top-left-radius:calc(7 * var(--u))}
html.lay-wide .ln-seg.r .ln-bar{border-right:2px solid var(--h-underline);border-top-right-radius:calc(7 * var(--u))}

/* The week on wide: tasks and events open as a pointed speech bubble beside the item that was tapped, so a side panel
   does not cut the week in half. home.js sizes and places it (bubbleFit) and draws its outline and the dashed line inside. */
html.lay-wide .hsheet.hsheet.bubble{--s:calc(.9 * var(--u))}
html.lay-wide .hsheet.hsheet.bubble .hs-scrim{background:rgba(46,44,85,.10)}
html.lay-wide .hsheet.hsheet.bubble .hs-panel{right:auto;bottom:auto;max-height:none;border-radius:0;background:none;display:flex;align-items:center;justify-content:center;overflow:visible;opacity:0;transform:scale(.92);filter:drop-shadow(0 14px 22px rgba(46,44,85,.20));transition:opacity .14s,transform .16s ease-in}
html.lay-wide .hsheet.hsheet.bubble.open .hs-panel{opacity:1;transform:none;transition:opacity .2s ease-out,transform .28s cubic-bezier(.2,.8,.2,1)}
html.lay-wide .hsheet.hsheet.bubble .hs-panel:before{display:none}
html.lay-wide .hsheet.hsheet.bubble .hs-body,html.lay-wide .hsheet.hsheet.bubble.open .hs-body{position:relative;z-index:1;width:calc(380 * var(--u));margin:0;padding:0;background:none;opacity:1;transform:none;transition:none}
html.lay-wide .hsheet.bubble .wk-shape{position:absolute;top:0;overflow:visible;pointer-events:none}

/* notices / log opened from the day screen fill the frame: the notice list runs in two columns (the same 485 columns as the other screens),
   the planets sit over the middle. A notice that opens takes the right column as before. */
html.lay-wide .cr.solo .cr-right[data-kind=notices]{left:calc(var(--fx) + 64 * var(--u));width:calc(1066 * var(--u))}
/* The orbit there is drawn 1.4 times wider (noticePlanets, NT_WIDE) and centred over the two columns, with the big thin
   "notices" title inside it as on the phone, the way week's arc holds its deadlines line. */
html.lay-wide .cr.solo .cr-right[data-kind=notices] .cr-top.nt-top{height:calc(282 * var(--u) + var(--ntd))}
html.lay-wide .cr.solo .cr-right[data-kind=notices] .nt-orbit{left:calc(533 * var(--u) - 275.1 * var(--u));top:calc(-92.8 * var(--u) + var(--ntd));width:calc(550.2 * var(--u));height:calc(378 * var(--u))}
html.lay-wide .cr.solo .cr-right[data-kind=notices] .nt-title{font:100 32px Inter,sans-serif;fill:var(--h-body);text-anchor:middle;transform:none}
html.lay-wide .cr.solo .cr-right[data-kind=notices] .cr-fields{columns:2;column-gap:calc(96 * var(--u))}
html.lay-wide .cr.solo .cr-right[data-kind=notices] .cr-field{break-inside:avoid}
/* The task sheet's speech bubble is plain white paper: its chips already stand up with their own shadow, so no dashed inner line. */
html.lay-wide .hsheet.bubble.ta-sheet .wk-shape path[stroke-dasharray]{display:none}
/* A notice opened there: a sheet over the right column from just under the orbit to the bottom, scrolling on its own. Its edge is
   the stepped paper shadow (no blur) used for the hills; the left top corner is round, the rest runs off the frame. */
html.lay-wide .cr > .nt-panel{position:absolute;z-index:3;left:calc(var(--fx) + 600 * var(--u));right:0;top:calc(270 * var(--u) + var(--ntd));bottom:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
  box-sizing:border-box;padding:calc(30 * var(--u)) calc(var(--fx) + 64 * var(--u)) calc(230 * var(--u)) calc(45 * var(--u));background:#fff;border-top-left-radius:calc(28 * var(--u));
  box-shadow:-1.5px 0 0 rgba(120,110,170,.12),-4px 0 0 rgba(120,110,170,.06),-8px 0 0 rgba(120,110,170,.03),0 -1.5px 0 rgba(120,110,170,.12),-3px -3px 0 rgba(120,110,170,.05)}
html.lay-wide .cr.solo .cr-nrow.open .cr-ntitle{color:#5B4B8B;font-weight:500}
html.lay-wide .nt-panel .cr-notice{padding:0}
/* The task bubble's body reaches 24px into the paper's side margins (sized without them, see bubbleFit), so the sliding course
   row can run to the paper's edge and fade there instead of being cut at the text edge. */
html.lay-wide .hsheet.hsheet.bubble.ta-sheet .hs-body{box-sizing:border-box;width:calc(380 * var(--u) + 48px);padding:0 24px}
