/* ===== Page content (all coordinates are page-local; left page origin = 44,38 in the 1400x846 design; right page = 712,38) ===== */
[data-theme="dark"] { --paper: #2b2b2e; --ink: #ececec; --ink2: #c8c8c8; --ink3: #8c8c90; --rule: #3d3d41; }
.pg-inner { color: var(--ink); font-family: var(--f-ui); }
.pg-inner button { cursor: pointer; }
.pg-inner ::-webkit-scrollbar { width: 0; height: 0; display: none; }
.pg-inner * { scrollbar-width: none; }

/* ---------- popovers ---------- */
.pop { position: absolute; z-index: 150; background: #fbfbfb; border-radius: 10px; box-shadow: 0 0 0 .5px rgba(0,0,0,.18), 0 8px 24px rgba(0,0,0,.35); font: 500 13px var(--f-ui); color: #222; }
.pm-list { display: flex; flex-direction: column; padding: 5px; min-width: 150px; }
.pm-list button { border: 0; background: none; text-align: left; padding: 6px 10px; border-radius: 6px; font: 500 13px var(--f-ui); color: #222; cursor: pointer; white-space: nowrap; }
.pm-list button:hover { background: #2e86f0; color: #fff; }
.pm-sw { display: grid; grid-template-columns: repeat(6, 22px); gap: 6px; padding: 10px; }
.pm-sw i { width: 22px; height: 22px; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.pm-form { display: flex; gap: 6px; padding: 8px; }
.pm-input { width: 220px; border: 1px solid #ccc; border-radius: 6px; padding: 5px 8px; font: 13px var(--f-ui); }
.pm-form button { border: 0; background: #2e86f0; color: #fff; border-radius: 6px; padding: 0 12px; font: 600 13px var(--f-ui); }
.te { width: 300px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.te-title { border: 1px solid #ccc; border-radius: 6px; padding: 6px 8px; font: 600 14px var(--f-ui); width: 100%; }
.te-row { display: flex; align-items: center; gap: 8px; }
.te-row label { width: 62px; font-size: 12px; color: #4d4d4d; }
.te-row input, .te-row select { flex: 1; min-width: 0; border: 1px solid #d0d0d0; border-radius: 6px; padding: 4px 6px; font: 13px var(--f-ui); background: #fff; color: #222; }
.te-row .te-min { flex: 0 0 64px; }
.te-pri { display: flex; gap: 6px; }
.te-pri button { width: 34px; height: 26px; border: 1px solid #ccc; background: #fff; border-radius: 6px; font: 700 13px var(--f-ui); }
.te-pri button.on { background: #2e86f0; border-color: #2e86f0; color: #fff; }
.te-foot { display: flex; justify-content: space-between; margin-top: 4px; flex-wrap: wrap; gap: 6px; }
.te-foot button { border: 0; border-radius: 6px; padding: 6px 14px; font: 600 13px var(--f-ui); }
.te-rep { display: flex; flex-direction: column; gap: 8px; } .te-rd { display: flex; flex-direction: column; gap: 8px; }
.te-chips { display: flex; gap: 4px; justify-content: space-between; padding-left: 70px; } .te-chips button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #ccc; background: #fff; font: 600 11px var(--f-ui); color: #444; padding: 0; }
.te-chips.te-mo { flex-wrap: wrap; justify-content: flex-start; } .te-chips.te-mo button { width: 38px; border-radius: 6px; }
.te-chips button.on { background: #2e86f0; border-color: #2e86f0; color: #fff; }
.te-unit { font-size: 12px; color: #4d4d4d; } .te-sum { font-size: 11.5px; font-style: italic; color: #4d4d4d; padding-left: 70px; }
.te-cancel { background: #eee; color: #333; }
.te-nt { align-items: flex-start; } .te-nt label { padding-top: 5px; }
.te-row textarea { flex: 1; min-width: 0; border: 1px solid #d0d0d0; border-radius: 6px; padding: 5px 7px; font: 13px/1.35 var(--f-ui); resize: vertical; background: #fff; color: #222; white-space: pre-wrap; }
.te-del { background: #fde7e6; color: #c62d28; } .te-ok { background: #2e86f0; color: #fff; }

/* =================================================================== DAILY ===== */
.dl, .dr { position: absolute; inset: 0; }
.d-num { position: absolute; left: 14px; top: 8px; font: 800 121px/1 var(--f-ui); color: #000; letter-spacing: -2px; }
.d-wk { position: absolute; left: 20px; top: 120px; font: 500 25.5px/30px var(--f-ui); color: #111; }
.d-mo { position: absolute; left: 20px; top: 152px; font: 500 26.3px/30px var(--f-ui); color: #222; }
.d-add { position: absolute; left: 22px; top: 190px; width: 300px; height: 22px; border: 0; background: transparent; outline: none; font: 700 15px var(--f-ui); color: #222; padding: 0 0 0 2px; }
.d-add::placeholder { color: #606060; opacity: 1; font-weight: 700; }
.d-rep { position: absolute; left: 326px; top: 188px; width: 26px; height: 24px; border: 0; background: none; padding: 0; line-height: 0; color: #606060; cursor: pointer; }
.d-rep:hover { color: #555; } .d-rep.on { color: #2e86f0; }
.d-plus { position: absolute; left: 358px; top: 186px; width: 27px; height: 27px; border: 0; background: none; padding: 0; line-height: 0; }
.d-list { position: absolute; left: 22px; top: 217px; width: 369px; bottom: 10px; overflow-y: auto; overflow-x: hidden; }
.trow { position: relative; min-height: 24px; padding: 2.5px 12px 7.5px 52px; border-top: 1px solid var(--rule); font-size: 13.4px; line-height: 14px; color: #111; background: transparent; cursor: default; }
.trow.multi { padding-bottom: 11.5px; }
.trow.sel { background: rgba(0,0,0,.075); }
.trow .chk { position: absolute; left: 3px; top: 3.8px; width: 15px; height: 15px; border-radius: 50%; border: 1.3px solid #8c8c8c; background: rgba(255,255,255,.35); cursor: pointer; }
.trow .chk:hover { border-color: #555; }
.trow.done .chk { background: #8c8c8c; box-shadow: inset 0 0 0 2.5px #eee; }
.trow .pri { position: absolute; left: 22px; top: 2.5px; font-size: 13.4px; font-weight: 400; cursor: pointer; white-space: nowrap; }
.trow .pri.pA { color: #17871f; font-weight: 700; } .trow .pri.pB { color: #3f6af0; } .trow .pri.pC { color: #cf7a1a; }
.trow .ttl { display: block; word-break: break-word; }
.trow .pri.pA ~ .ttl { font-weight: 700; }
.trow.over .ttl { color: #d0302b; font-weight: 400; }
.trow.over .pri.pA ~ .ttl { font-weight: 400; }
.trow.done .ttl, .trow.done .pri { color: #606060 !important; text-decoration: line-through; text-decoration-thickness: 1px; font-weight: 400 !important; }
.trow .tic { position: absolute; right: 14px; top: 5px; display: flex; gap: 4px; align-items: center; }
.trow .tic .ti { line-height: 0; }
.trow .ttl-edit { width: 100%; border: 0; border-bottom: 1px solid #3f6af0; background: rgba(255,255,255,.7); font: inherit; color: #111; outline: none; padding: 0; margin: 0 0 -1px; }
.trow.drag { z-index: 3; background: rgba(255,255,255,.9); box-shadow: 0 4px 14px rgba(0,0,0,.28); opacity: .95; position: relative; pointer-events: none; }
.trow.gap-t { box-shadow: inset 0 2px 0 #3f6af0; } .trow.gap-b { box-shadow: inset 0 -2px 0 #3f6af0; }
.d-fill { height: 100%; min-height: 560px; background: repeating-linear-gradient(to bottom, var(--rule) 0, var(--rule) 1px, transparent 1px, transparent 21px); }
.d-menu { position: absolute; left: 371px; top: 753px; width: 20px; height: 16px; border: 0; background: none; padding: 0; line-height: 0; bottom: auto; }
.dl .d-menu { top: auto; bottom: 14px; }

/* month mini calendar */
.d-cal { position: absolute; left: 397px; top: 0; width: 206px; height: 214px; }
.mc-head { position: absolute; left: 35px; top: 0; width: 135px; height: 30px; border-radius: 0 0 9px 9px; background: transparent; display: flex; align-items: flex-start; justify-content: center; padding-top: 13px; color: #4a4a4a; font: 700 14px/16px var(--f-ui); text-shadow: 0 1px 0 rgba(255,255,255,.9), 0 -1px 0 rgba(0,0,0,.18); cursor: pointer; transition: background .15s, color .15s; }
.mc-head:hover { background: linear-gradient(180deg, #4ea6ff 0%, #2f86f2 100%); color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.15); box-shadow: inset 0 -1px 0 rgba(0,0,0,.08); }
.mc-nav { position: absolute; top: 9px; width: 22px; height: 24px; border: 0; background: none; padding: 0; display: flex; align-items: center; justify-content: center; line-height: 0; }
.mc-nav.l { left: 5px; } .mc-nav.r { left: 178px; }
.mc-wk { position: absolute; left: 0; top: 31px; width: 206px; display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font: 400 13.5px/18px var(--f-thin); color: #4a4a4a; }
.mc-grid { position: absolute; left: 0; top: 50px; width: 206px; }
.mc-d { position: absolute; width: 29.5px; height: 30px; border: 0; background: none; padding: 0; font: 400 14.5px var(--f-thin); color: #6a6a6a; display: flex; align-items: center; justify-content: center; }
.mc-d span { display: flex; width: 29px; height: 29px; align-items: center; justify-content: center; border-radius: 50%; }
.mc-d.oth { color: #5f5f5f; }
.mc-d.sel span { background: #000; color: #fff; font-weight: 600; }
.mc-d.today:not(.sel) span { box-shadow: inset 0 0 0 1.5px #bbb; }
.mc-d:hover:not(.sel) span { background: rgba(0,0,0,.07); }

/* timeline */
.d-tlwrap { position: absolute; left: 397px; top: 216px; width: 206px; bottom: 10px; border-radius: 0 0 0 0; }
.d-allday { position: absolute; left: 0; right: 0; top: 0; height: 18px; display: flex; flex-direction: column; gap: 1px; z-index: 3; }
.adv { height: 16px; border: 1px solid; border-radius: 3px; font: 500 11.6px/14px var(--f-ui); text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 2px; }
.adv span, .ev span { display: block; overflow: hidden; text-overflow: ellipsis; }
.d-scroll { position: absolute; left: 0; right: 0; top: 18px; bottom: 0; overflow-y: auto; overflow-x: hidden; }
.d-tl, .wk-tl { position: relative; width: 100%; }
.tl-h { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid #c7c7c7; }
.tl-h span { position: absolute; left: 1px; top: 4px; font: 400 14.5px/16px var(--f-thin); color: #4a4a4a; letter-spacing: .2px; }
.tl-hh { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed #d4d4d4; }
.tl-shade { position: absolute; left: 0; right: 0; background: rgba(0,0,0,.057); }
.ev { position: absolute; border: 1px solid; border-radius: 6px; font: 500 11.8px/14px var(--f-ui); text-align: center; overflow: hidden; padding: 1px 3px; cursor: default; z-index: 2; }
.tl-now { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid #8f8f8f; z-index: 4; pointer-events: none; }
.tl-now i { position: absolute; left: 2px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #f35f5f; box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 0 3px rgba(240,60,60,.7); }

/* right page header */
.dr-hdr { position: absolute; left: 0; top: 0; width: 642px; height: 140px; background: linear-gradient(180deg, #79cfff 0%, #5bb7ff 12%, #3d9bfc 38%, #2d8dfb 60%, #2d8dfb 100%); }
.dr-hdr::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 30%); pointer-events: none; }
.dr-quote { position: absolute; left: 46px; top: 12px; width: 540px; font: 500 13.2px/17px var(--f-ui); color: #fff; }
.dr-quote .qm { font-size: 22px; line-height: 10px; position: relative; top: 5px; margin-right: 1px; }
.dr-quote b { font-weight: 700; } .dr-quote b:not(.qm) { display: block; }
.dr-sun { position: absolute; left: 49px; top: 57px; width: 80px; height: 80px; }
.dr-sun svg { width: 80px; height: 80px; display: block; }
.dr-city { position: absolute; left: 141px; top: 55px; font: 700 20px/26px var(--f-ui); color: #fff; }
.dr-cond { position: absolute; left: 141px; top: 104px; font: 500 17px/22px var(--f-ui); color: #fff; }
.dr-temps { position: absolute; right: 45px; top: 58px; text-align: right; font: 500 12.5px/24.5px var(--f-ui); color: #fff; }
.dr-th { position: absolute; left: 604px; top: 64px; width: 26px; height: 66px; }
.dr-th svg { display: block; width: 26px; height: 66px; }
.dr-label { text-align: center; font: 500 12.5px/18px var(--f-ui); color: #5f5f5f; pointer-events: none; }
.dr-ed { position: absolute; left: 0; right: 0; top: 22px; bottom: 0; }

/* =============================================================== GOALS ===== */
.gl, .wk { position: absolute; inset: 0; }
.g-h1 { position: absolute; left: 39px; top: 12px; font: 500 25.5px/30px var(--f-ui); color: #222; }
.g-addl { position: absolute; left: 489px; top: 17px; border: 0; background: none; padding: 0; font: 500 15px/22px var(--f-ui); color: #222; }
.g-addb { position: absolute; left: 565px; top: 15px; width: 26px; height: 26px; border: 0; background: none; padding: 0; line-height: 0; }
.g-act { position: absolute; left: 39px; top: 54px; width: 551px; bottom: 246px; overflow-y: auto; }
.g-ach { position: absolute; left: 39px; width: 551px; bottom: 12px; height: 224px; }
.g-h2 { left: 0; top: 0; }
.g-achl { position: absolute; left: 0; right: 0; top: 40px; bottom: 0; overflow-y: auto; }
.gcard { position: relative; height: 68px; margin-bottom: 8px; border: 1px solid #bdbdbd; border-radius: 9px; background: rgba(255,255,255,.16); font-size: 13.5px; color: #222; }
.gcard > * { position: absolute; }
.gchk { left: 7px; top: 5px; width: 13px; height: 13px; border-radius: 50%; border: 1.2px solid #8e8e8e; cursor: pointer; }
.gchk:hover { background: rgba(60,160,80,.25); border-color: #3a9a4d; }
.gname { left: 28px; top: 3px; font: 500 15.5px/18px var(--f-ui); color: #4660e6; cursor: pointer; white-space: nowrap; }
.gbar { left: 378px; top: 9px; width: 141px; height: 7px; border-radius: 4px; background: #dedede; box-shadow: inset 0 1px 1px rgba(0,0,0,.12); overflow: hidden; }
.gbar i { display: block; height: 100%; min-width: 5px; border-radius: 4px; background: #b9b9b9; }
.gbar i.on { background: linear-gradient(180deg, #5aa8ff, #2f7fe8); }
.gpct { right: 6px; top: 3px; font: 500 13.5px/18px var(--f-ui); }
.glab { font: 500 13.5px/16px var(--f-ui); color: #222; }
.gdue { left: 28px; top: 25px; } .gdate { left: 62px; top: 25px; font: 700 12.6px/16px var(--f-ui); }
.gtasks { left: 28px; top: 45px; } .gcount { left: 101px; top: 45px; font: 500 13.5px/16px var(--f-ui); }
.gtasks + .gcount { left: 65px; }
.gstamp { left: 252px; top: 25px; transform: rotate(-11deg) scale(1.05); opacity: .92; line-height: 0; }
.gic { right: 8px; top: 43px; display: flex; gap: 6px; }
.gic button { border: 0; background: none; padding: 3px; line-height: 0; width: 25px; height: 24px; display: flex; align-items: center; justify-content: center; }
.gic button:hover svg path, .gic button:hover svg g { stroke: #555; }
.gcard.ach { height: 48px; margin-bottom: 9px; }
.ach .gstar { left: 4px; top: 3px; line-height: 0; cursor: pointer; }
.ach .gname { top: 4px; }
.ach .gtasks { top: 28px; } .ach .gtasks + .gcount { top: 28px; left: 65px; }
.gcomp { right: 7px; top: 4px; font: 500 13.5px/16px var(--f-ui); }
.gdays { right: 7px; top: 28px; font: 500 13.5px/16px var(--f-ui); }

/* week calendar (right page) */
.wk-nr { position: absolute; left: 44px; top: 13px; display: flex; align-items: center; gap: 4px; height: 20px; }
.wk-nr button { border: 0; background: none; padding: 0; width: 14px; height: 20px; display: flex; align-items: center; justify-content: center; line-height: 0; }
.wk-label { font: 500 14.2px/20px var(--f-ui); color: #222; }
.wk-sel { position: absolute; right: 32px; top: 14px; height: 20px; border: 0; background: none; padding: 0; font: 500 13.6px/20px var(--f-ui); color: #222; display: flex; align-items: center; gap: 3px; }
.wk-sel span { display: flex; margin-left: 1px; }
.wk-exp { position: absolute; right: 12px; top: 17px; width: 16px; height: 16px; border: 0; background: none; padding: 0; line-height: 0; }
.wk-heads { position: absolute; left: 43px; top: 36px; width: 588px; display: flex; }
.wk-head { flex: 1; text-align: center; font: 700 13.4px/16px var(--f-ui); color: #444; cursor: pointer; white-space: nowrap; }
.wk-head.today { color: #1f6fe0; }
.wk-cal { position: absolute; left: 43px; top: 49px; width: 588px; bottom: 230px; border-left: 1px solid #b4b4b4; border-right: 1px solid #b4b4b4; border-top: 1px solid transparent; overflow: hidden; }
.wk-cal.exp { bottom: 35px; }
.wk-allday { position: absolute; left: 0; right: 0; top: 0; z-index: 3; }
.wk-allday .adv { position: absolute; height: 15.4px; font-size: 12.4px; line-height: 14px; border-radius: 4px; }
.wk-scroll { position: absolute; left: 0; right: 0; bottom: 0; overflow-y: auto; overflow-x: hidden; }
.wk-col { position: absolute; top: 0; bottom: 0; z-index: 2; }
.wk-vlines { position: absolute; inset: 0; display: flex; pointer-events: none; z-index: 6; }
.wk-vlines i { flex: 1; border-left: 1px solid #b4b4b4; }
.wk-vlines i:first-child { border-left: 0; }
.wk-tl .tl-h { border-top-color: #b9b9b9; }
.wk-tl .tl-h span { top: 3px; }
.wk-tl .tl-hh { border-top-color: #cfcfcf; }
.wk-tl .ev { font-size: 12px; }
.wk-tasks { position: absolute; left: 43px; width: 588px; bottom: 35px; height: 195px; overflow-y: auto; overflow-x: hidden; border-top: 1px solid #b4b4b4; border-left: 1px solid #c4c4c4; border-right: 1px solid #c4c4c4; background: rgba(255,255,255,.12); }
.wk-tasks.hide { display: none; }
.wk-tcols { display: flex; min-height: 100%; }
.wk-tcol { flex: 1; min-width: 0; padding: 10px 4px 30px 3px; border-left: 1px solid #cdcdcd; }
.wk-tcol:first-child { border-left: 0; }
.wt-cat { font: 700 11.6px/14px var(--f-ui); margin: 0 0 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt-cat:not(:first-child) { margin-top: 8px; }
.wt { position: relative; padding: 0 14px 0 25px; margin-bottom: 7px; font: 700 11.4px/12.6px var(--f-ui); color: #666; cursor: default; }
.wt.pB, .wt.pC { font-weight: 500; }
.wt-p { position: absolute; left: 1px; top: 0; font-weight: 700; }
.wt.pA:not(.done) .wt-p { color: #17871f; } .wt.pB:not(.done) .wt-p { color: #3f6af0; font-weight: 400; } .wt.pC:not(.done) .wt-p { color: #cf7a1a; }
.wt.over .wt-t { color: #d0302b; font-weight: 700; }
.wt.over.pB .wt-t { font-weight: 500; }
.wt.done .wt-t { text-decoration: line-through; text-decoration-thickness: .7px; text-decoration-color: #b4b4b4; color: #5a5a5a; }
.wt.done .wt-p { color: #5a5a5a; }
.wt-t { display: block; word-break: break-word; }
.wt-i { position: absolute; right: 0; top: -1px; line-height: 0; cursor: pointer; }
.g-menu { position: absolute; left: 44px; bottom: 11px; border: 0; background: none; padding: 0; line-height: 0; }
.gf { width: 340px; }
.gf-lines { display: flex; flex-direction: column; gap: 8px; } .gf-l { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 600; color: #4d4d4d; }
.gf-t { border: 1px solid #d0d0d0; border-radius: 6px; padding: 6px 8px; font: 13px/1.35 var(--f-ui); resize: vertical; background: #fff; color: #222; min-height: 52px; width: 100%; }
.gf-add { align-self: flex-start; border: 0; background: none; padding: 2px 0; font: 600 12px var(--f-ui); color: #2f6fed; cursor: pointer; }
.lk { width: 320px; } .lk-h { font-weight: 700; margin-bottom: 4px; } .lk-l { max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.lk-l label { display: flex; gap: 8px; align-items: center; font-size: 13px; } .lk-l label span { flex: 1; } .lk-l em { color: #5c5c5c; font-style: normal; font-size: 11px; }

/* =============================================================== NOTES ===== */
.nl, .nr, .pl, .jl, .jr, .wy { position: absolute; inset: 0; }
.nt-search { position: absolute; left: 50px; top: 31px; width: 350px; height: 22px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.08); display: flex; align-items: center; }
.nt-search span { margin-left: 8px; display: flex; width: 15px; } .nt-search input { flex: 1; border: 0; margin-left: 0; padding: 0 6px; background: none; outline: none; font: 500 12px var(--f-ui); color: #222; height: 14px; }
.nt-search input::placeholder { color: #5c5c5c; }
.nt-new, .nt-newf { position: absolute; top: 31px; border: 0; background: none; padding: 0; line-height: 0; width: 26px; height: 24px; display: flex; align-items: center; justify-content: center; }
.nt-new { left: 537px; } .nt-newf { left: 575px; }
.nt-title { position: absolute; left: 49px; top: 62px; font: italic 800 28px/36px var(--f-ui); color: #000; letter-spacing: -.3px; }
.nt-count { position: absolute; left: 50px; top: 97px; font: 500 12.5px/16px var(--f-ui); color: #555; }
.nt-tagsrow { position: absolute; left: 50px; top: 145px; } .nt-tagsrow button { border: 0; background: none; padding: 0; font: italic 500 15px/20px var(--f-ui); color: #111; display: flex; align-items: center; gap: 5px; }
.nt-tagsrow i { display: flex; transition: transform .15s; width: 8px; margin-right: 1px; } .nt-tagsrow i.open { transform: rotate(90deg); }
.nt-tags { display: none; position: absolute; left: 50px; top: 163px; width: 520px; flex-wrap: wrap; gap: 6px; z-index: 4; } .nt-tags.open { display: flex; }
.nt-tag { border: 0; background: rgba(0,0,0,.07); border-radius: 10px; padding: 2px 9px; font: 500 12px var(--f-ui); color: #333; } .nt-tag em { font-style: normal; color: #555; } .nt-tag.sel { background: #2e86f0; color: #fff; }
.nt-none { font-size: 12px; color: #5c5c5c; font-style: italic; }
.nt-tree { position: absolute; left: 0; right: 0; top: 190px; bottom: 16px; overflow-y: auto; padding: 36px 0 30px; }
.nt-cat { position: relative; margin: 0 0 0 37px; height: 20px; font: italic 600 14.5px/20px var(--f-ui); color: #111; white-space: nowrap; margin-top: 16px; }
.nt-cat:first-child { margin-top: 0; }
.nt-row { position: relative; height: 42px; margin: 0; cursor: pointer; }
.nt-row + .nt-row { margin-top: 0; }
.nt-cat + .nt-row { margin-top: 3px; }
.nt-fi { position: absolute; left: 47px; top: 11px; line-height: 0; }
.nt-fn { position: absolute; left: 81px; top: 11px; font: italic 500 12px/19px var(--f-ui); color: #1a1a1a; }
.nt-row.sel .nt-fn { color: #2e86f0; }
.nt-bd { position: absolute; left: 568px; top: 12px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #8c8c8c; color: #fff; font: 700 11.5px/19px var(--f-ui); text-align: center; }
.nt-row.sel .nt-bd { background: #2e86f0; min-width: 28px; width: 28px; left: 563px; top: 8px; height: 28px; border-radius: 14px; line-height: 28px; font-size: 13px; }
.nt-ch { position: absolute; left: 596px; top: 15px; line-height: 0; }
.nt-row:hover .nt-fn { text-decoration: underline; text-decoration-color: rgba(0,0,0,.25); }

.nr-fold { position: absolute; left: 46px; top: 32px; line-height: 0; }
.nr-fold svg { width: 44px; height: 36px; }
.nr-name { position: absolute; left: 100px; top: 32px; font: italic 800 24px/36px var(--f-ui); color: #000; letter-spacing: -.3px; max-width: 420px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nr-compose { position: absolute; left: 585px; top: 40px; border: 0; background: none; padding: 0; line-height: 0; }
.nr-count { position: absolute; left: 63px; top: 92px; font: 400 13px/16px var(--f-thin); color: #444; }
.nr-bar { position: absolute; left: 63px; top: 123px; display: flex; gap: 26px; }
.nr-bar button { border: 0; background: none; padding: 0; font: 700 12.5px/16px var(--f-ui); color: #111; display: flex; align-items: center; gap: 7px; }
.nr-bar button span { display: flex; }
.nr-grid { position: absolute; left: 68px; top: 206px; width: 560px; bottom: 12px; overflow-y: auto; display: grid; grid-template-columns: 261px 261px; gap: 18px 18px; align-content: start; padding: 0 0 20px; }
.nr-grid.list { grid-template-columns: 540px; gap: 10px; }
.nr-empty { grid-column: 1/-1; color: #5c5c5c; font-size: 13px; }
.nr-ph { position: absolute; left: 0; right: 0; top: 250px; text-align: center; color: #5f5f5f; }
.nr-ph svg { width: 158px; height: 127px; } .nr-ph p { margin: 18px 0 0; font: 600 11px var(--f-ui); color: #6c6c6c; }
.ncard { position: relative; height: 307px; border-radius: 22px; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.26), 0 0 0 .5px rgba(0,0,0,.05); padding: 15px 14px 0; overflow: hidden; cursor: pointer; }
.ncard:hover { box-shadow: 0 3px 10px rgba(0,0,0,.3); }
.nc-t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font: 800 14.2px/19.5px var(--f-ui); color: #000; padding-right: 10px; }
.nc-body { margin-top: 13px; padding: 0 16px 0 4px; font: 500 14.3px/19.4px var(--f-ui); color: #2a2a2a; height: 205px; overflow: hidden; pointer-events: none; word-break: break-word; }
.nc-body div, .nc-body p { margin: 0; min-height: 1em; } .nc-body [style*="Quicksand"] { zoom: .78; line-height: 29.4px; color: #333; font-weight: 400; }
.pl-grid .nc-body [style*="Quicksand"] { zoom: .72; line-height: 28px; }
.nc-date { position: absolute; left: 14px; bottom: 11px; font: 500 12.4px/14px var(--f-ui); color: #5c5c5c; }
.nc-chk { position: absolute; right: 14px; bottom: 11px; width: 13px; height: 13px; border-radius: 3px; background: #cfcfcf; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.nc-chk.on { background: #2e86f0; box-shadow: inset 0 0 0 2.5px #fff; border: 1px solid #2e86f0; }
.ncard.list { height: 52px; padding: 8px 14px; display: flex; flex-direction: column; border-radius: 14px; }
.ncard.list b { font: 700 13px/18px var(--f-ui); } .ncard.list .nc-prev { font-size: 12px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.ncard.list .nc-date { left: auto; right: 38px; top: 9px; bottom: auto; } .ncard.list .nc-chk { top: 9px; bottom: auto; }

/* note editor */
.ne { position: absolute; inset: 0; }
.ne-back { position: absolute; left: 44px; top: 56px; border: 0; background: none; padding: 4px 6px; line-height: 0; }
.ne-title { position: absolute; left: 82px; top: 48px; width: 480px; height: 34px; border: 0; background: none; outline: none; font: 500 23.5px/34px var(--f-ui); color: #111; padding: 0; }
.ne-title::placeholder { color: #7a7a7a; }
.ne-trash { position: absolute; left: 592px; top: 28px; border: 0; background: none; padding: 0; line-height: 0; }
.ne-crumb { position: absolute; left: 46px; top: 100px; display: flex; align-items: center; font: 500 12.5px/16px var(--f-ui); color: #555; }
.ne-crumb i { display: flex; margin: 0 22px 0 15px; }
.ne-done { position: absolute; left: 47px; top: 124px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.ne-done b { font: 700 12.5px/16px var(--f-ui); color: #111; } .ne-cb { display: flex; width: 14px; }
.ne-count { position: absolute; left: 47px; top: 150px; font: 500 12px/14px var(--f-ui); color: #333; }
.ne-ed { position: absolute; left: 50px; right: 22px; top: 178px; bottom: 14px; }

/* personal goals */
.pl-title { position: absolute; left: 46px; top: 39px; font: 500 23px/30px var(--f-ui); color: #111; }
.pl-crumb { position: absolute; left: 47px; top: 88px; display: flex; align-items: center; font: 500 11.5px/16px var(--f-ui); color: #444; } .pl-crumb i { display: flex; margin: 0 7px 0 8px; }
.pl-bar { left: 46px; top: 117px; }
.pl-grid { position: absolute; left: 46px; top: 190px; width: 580px; bottom: 14px; overflow-y: auto; display: grid; grid-template-columns: repeat(3, 178px); gap: 17px; align-content: start; padding: 4px 0 20px; }
.pl-grid.list { grid-template-columns: 560px; gap: 8px; }
.pl-grid .ncard { height: 208px; border-radius: 18px; padding: 12px 11px 0; }
.pl-grid .ncard.list { height: 52px; }
.pl-grid .nc-t { font-size: 11.6px; line-height: 15px; -webkit-line-clamp: 2; }
.pl-grid .nc-body { margin-top: 12px; height: 118px; font-size: 11.5px; line-height: 15px; }
.pl-grid .nc-date { left: 10px; bottom: 8px; font-size: 10px; } .pl-grid .nc-chk { right: 10px; bottom: 8px; width: 12px; height: 12px; }
.pr-ph { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 60px; cursor: pointer; }
.pr-ph svg { width: 78px; height: 98px; } .pr-ph p { margin: 18px 0 0; font: 700 11px var(--f-ui); color: #5c5c5c; }

/* 7 level why */
.wy-h { position: absolute; top: 14px; font: 600 14.5px/20px var(--f-ui); color: #222; }
.wy-plus { position: absolute; top: 14px; border: 0; background: none; padding: 0; line-height: 0; width: 22px; height: 22px; }
.wy-clock { position: absolute; left: 556px; top: 14px; border: 0; background: none; padding: 0; line-height: 0; opacity: 1; filter: brightness(.55); } .wy-clock svg { width: 18px; height: 18px; }
.wy-up { position: absolute; left: 574px; top: 16px; line-height: 0; }
.wy-mission { position: absolute; left: 35px; top: 44px; width: 560px; bottom: 20px; overflow-y: auto; outline: none; font: 400 13.2px/17px var(--f-thin); color: #222; word-wrap: break-word; }
.wy-vals { position: absolute; left: 47px; top: 44px; width: 540px; bottom: 20px; overflow-y: auto; }
.wy-v { position: relative; display: flex; align-items: flex-start; gap: 8px; padding: 5px 20px 5px 0; font: 400 15px/19px var(--f-thin); } .wy-b { width: 5px; height: 5px; border-radius: 50%; background: #444; margin-top: 7px; flex: 0 0 auto; }
.wy-vt { flex: 1; outline: none; min-height: 19px; } .wy-v button { position: absolute; right: 0; top: 8px; border: 0; background: none; opacity: 0; padding: 2px; } .wy-v:hover button { opacity: 1; }

/* journal */
.jl-h { position: absolute; left: 46px; top: 26px; font: 700 12.5px/16px var(--f-ui); color: #222; }
.jl-new { position: absolute; left: 546px; top: 26px; border: 0; background: none; padding: 0; font: 600 12px/16px var(--f-ui); color: #222; white-space: nowrap; }
.jl-car { position: absolute; left: 48px; top: 49px; width: 553px; height: 228px; border-radius: 16px; background: linear-gradient(180deg, #e2e2e2, #ececec); box-shadow: inset 0 1px 3px rgba(0,0,0,.12), 0 0 0 .5px rgba(0,0,0,.05); overflow: hidden; }
.jl-track { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: flex-start; gap: 34px; padding: 0 50px 0 173px; overflow-x: auto; scrollbar-width: none; }
.jb { flex: 0 0 auto; width: 90px; text-align: center; cursor: pointer; }
.jb-box { height: 160px; margin-top: 11px; display: flex; align-items: center; justify-content: center; }
.jb-cover { position: relative; width: 90px; height: 116px; border-radius: 3px 9px 9px 3px; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 3px 6px rgba(0,0,0,.28), inset 2px 0 0 rgba(255,255,255,.28); }
.jb-strap { position: absolute; right: 14px; top: 0; bottom: 0; width: 5px; background: rgba(20,20,22,.78); }
.jb b { display: block; margin-top: 8px; white-space: nowrap; font: 700 9.5px/12px var(--f-ui); color: #444; } .jb em { display: block; white-space: nowrap; font: 500 8.5px/11px var(--f-ui); color: #4d4d4d; font-style: normal; margin-top: 3px; }
.jb.sel { width: 116px; } .jb.sel .jb-cover { width: 116px; height: 151px; } .jb.sel .jb-strap { right: 18px; width: 7px; } .jb.sel b { font-size: 12.5px; color: #333; line-height: 14px; margin-top: 8px; } .jb.sel em { font-size: 9px; }
.jl-next { position: absolute; right: 12px; top: 99px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); box-shadow: 0 1px 4px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; padding: 0; }
.jl-dots { position: absolute; left: 0; right: 0; bottom: 9px; display: flex; gap: 6px; justify-content: center; } .jl-dots i { width: 5px; height: 5px; border-radius: 50%; background: #c0c0c0; } .jl-dots i.on { background: #333; }
.jl-line { position: absolute; left: 46px; width: 555px; top: 297px; border-top: 1px solid #d6d6d6; }
.jl-eh { position: absolute; left: 46px; top: 310px; font: 700 12.5px/16px var(--f-ui); color: #222; }
.jl-seg { position: absolute; left: 427px; top: 308px; width: 132px; height: 22px; display: flex; border-radius: 5px; background: #d9d9d9; padding: 1px; }
.jl-seg button { flex: 1; border: 0; border-radius: 4px; background: none; font: 500 11.5px var(--f-ui); color: #444; } .jl-seg button.on { background: #fafafa; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.jl-ent { position: absolute; left: 46px; width: 555px; top: 345px; bottom: 16px; overflow-y: auto; font: 500 12px var(--f-ui); color: #555; } .jl-ent p { margin: 0; }
.je { padding: 7px 10px; border-radius: 8px; cursor: pointer; } .je:hover, .je.sel { background: rgba(0,0,0,.06); } .je b { font: 700 13px var(--f-ui); color: #222; margin-right: 8px; } .je em { font-style: normal; font-size: 11px; color: #555; } .je span { display: block; color: #666; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc { width: 300px; } .jc-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; color: #222; font-size: 13px; } .jc-h button { border: 0; background: none; padding: 4px; line-height: 0; }
.jc-w, .jc-g { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; } .jc-w span { font-size: 10px; color: #5c5c5c; padding: 3px 0; }
.jc-g button { border: 0; background: none; height: 28px; font: 500 12.5px var(--f-ui); color: #444; border-radius: 50%; position: relative; } .jc-g button.sel { background: #222; color: #fff; } .jc-g button.has::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #2e86f0; }
.jr-sd { position: absolute; left: 63px; top: 24px; font: 500 10.5px/14px var(--f-ui); color: #555; }
.jr-date { position: absolute; left: 63px; top: 40px; font: 700 16px/22px var(--f-ui); color: #111; }
.jr-card { position: absolute; left: 83px; top: 72px; width: 488px; height: 112px; border: 1px solid #dadada; border-radius: 10px; background: rgba(255,255,255,.35); padding: 13px 14px; }
.jr-t { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; } .jr-t b { font: 700 11.8px var(--f-ui); color: #222; }
.jr-l { display: flex; align-items: center; gap: 7px; font: 500 10.5px/14px var(--f-ui); color: #4d4d4d; margin: 0 0 10px 3px; }
.jr-add { border: 0; border-radius: 7px; background: #2e86f0; color: #fff; padding: 7px 14px; font: 600 12px var(--f-ui); margin-top: 6px; }
.jr-title { position: absolute; left: 63px; top: 72px; width: 480px; border: 0; background: none; outline: none; font: 500 22px/32px var(--f-ui); color: #111; padding: 0; }
.jr-del { position: absolute; left: 592px; top: 28px; border: 0; background: none; padding: 0; line-height: 0; }
.jr-ed { position: absolute; left: 50px; right: 22px; top: 118px; bottom: 14px; }

/* search overlay + panels */
.srch { position: absolute; inset: 0; background: rgba(0,0,0,.38); display: flex; justify-content: center; align-items: flex-start; padding-top: 110px; z-index: 180; }
.srch-box { width: 600px; max-height: 600px; display: flex; flex-direction: column; background: #f7f7f7; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.55); overflow: hidden; }
.srch-in { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #e0e0e0; } .srch-in input { flex: 1; border: 0; background: none; outline: none; font: 500 18px var(--f-ui); color: #111; } .srch-x { border: 0; background: none; line-height: 0; padding: 4px; }
.srch-res { overflow-y: auto; padding: 6px 8px 12px; color: #222; } .srch-res h4 { margin: 10px 10px 4px; font: 700 11px var(--f-ui); letter-spacing: .6px; text-transform: uppercase; color: #5c5c5c; } .srch-hint { margin: 16px; color: #5c5c5c; font: 500 13px var(--f-ui); }
.srch-res button { display: flex; width: 100%; align-items: center; gap: 10px; border: 0; background: none; text-align: left; padding: 8px 10px; border-radius: 8px; font: 500 13.5px var(--f-ui); color: #222; } .srch-res button:hover { background: #e6eefc; }
.srch-res mark { background: #ffe58a; color: inherit; border-radius: 2px; } .srch-res em { margin-left: auto; font-style: normal; color: #5c5c5c; font-size: 11.5px; }
.sr-t i { width: 12px; height: 12px; border: 1.2px solid #888; border-radius: 50%; flex: 0 0 auto; } .sr-t i.done { background: #888; } .strike { text-decoration: line-through; color: #5c5c5c; }
.sr-n { flex-direction: column; align-items: flex-start !important; gap: 2px !important; } .sr-n span { color: #4d4d4d; font-size: 12px; max-width: 540px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf { width: 300px; } .pf-h { font: 700 14px var(--f-ui); } .pf-c { display: flex; gap: 8px; align-items: center; font-size: 13px; } .pf-c input { width: auto; flex: none; } .pf-f { font-size: 11px; color: #5c5c5c; }
.cp { width: 420px; } .cp table { border-collapse: collapse; width: 100%; } .cp th { font: 600 10.5px var(--f-ui); color: #555; text-align: center; padding: 2px 4px; } .cp td { padding: 6px 4px; text-align: center; border-top: 1px solid #eee; } .cp-n { text-align: left !important; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.hp { width: 300px; } .hp ul { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.55; color: #333; }
.nc-body [style*="font-size:22px"]:not([style*="Quicksand"]) { zoom: .78; line-height: 1.2; }
.pl-grid .nc-body [style*="font-size:22px"]:not([style*="Quicksand"]) { zoom: .6; }
.pl-grid .nc-body [style*="font-size:13px"] { zoom: .78; }
.nc-body h1, .nc-body h2, .nc-body h3 { font-size: 1.1em; margin: 0; }
.pl-grid { top: 197px; }
.pl-grid .nc-t { font-size: 12.8px; line-height: 15.5px; font-weight: 800; }
.pr-ph { justify-content: flex-start; padding: 319px 0 0; }
.pr-ph svg { width: 102px; height: 128px; } .pr-ph p { margin-top: 26px; }

.jr-p { font: 500 10.5px/14px var(--f-ui); color: #4d4d4d; margin: -4px 0 11px 0; white-space: nowrap; }
.jr-card { height: 118px; } .jr-t { margin-bottom: 14px; }
.jl-seg { background: #e9e9e9; } .jl-seg button.on { background: #cbcbcb; box-shadow: none; color: #333; }
.pop.tep { max-height: 780px; overflow-y: auto; }

/* ---- event editor ---- */
.pop.eep { width: 372px; }
.ee .ee-cal { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #333; } .ee .ee-cal i { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.ee textarea { flex: 1; min-width: 0; border: 1px solid #d0d0d0; border-radius: 6px; padding: 5px 7px; font: 13px var(--f-ui); resize: vertical; background: #fff; color: #222; }
.ee .ee-top { align-items: flex-start; } .ee .ee-top label { padding-top: 5px; }
.ee .ee-t { flex: 0 0 112px; } .ee input[type=checkbox] { flex: none; width: 18px; height: 18px; }
.ee .ee-guests { font-size: 12.5px; color: #444; line-height: 1.5; flex: 1; }
.ee .ee-note { font-size: 11.5px; font-style: italic; color: #555; }
.ee .ee-link { font-size: 12.5px; color: #2e86f0; text-decoration: none; }

.ev .evj { position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #2e86f0; color: #fff !important; font-size: 8px; line-height: 16px; text-align: center; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.35); }
.ee .ee-join { display: block; margin: 2px 0 8px; padding: 9px 12px; border-radius: 9px; background: #2e86f0; color: #fff; font-weight: 600; text-align: center; text-decoration: none; }
.ee .ee-links { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; }
.ee .ee-links a { font-size: 12.5px; color: #2e86f0; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ro-note { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; padding: 7px 16px; background: #fff3cf; color: #7a5a00; font: 600 12px/16px var(--f-ui); text-align: center; }

/* hourly weather card (desktop popover; phone sheet reuses it) */
.pop.wxcard { width: 250px; padding: 0; overflow: hidden; }
.wxc { font: 500 13px var(--f-ui); color: #222; padding: 12px 14px 10px; width: 100%; box-sizing: border-box; }
.wxc-top { display: flex; align-items: center; gap: .8em; }
.wxc-ic { line-height: 0; flex: none; }
.wxc-tt { display: flex; flex-direction: column; flex: 1; line-height: 1.25; }
.wxc-tt b { font-size: 1.3em; font-weight: 700; }
.wxc-tt span { color: #4d4d4d; }
.wxc-hl { display: flex; flex-direction: column; text-align: right; line-height: 1.2; }
.wxc-hl b { font-size: 1.5em; font-weight: 700; }
.wxc-hl span { color: #4d4d4d; font-size: 1.15em; }
.wxc-cond { margin: .5em 0 .6em; color: #555; }
.wxc-list { max-height: 270px; overflow-y: auto; border-top: .5px solid #ddd; margin: 0 -14px; padding: 0 14px; scrollbar-width: thin; }
.wxc-r { display: grid; grid-template-columns: 3.6em 2.2em 2.6em 1fr; align-items: center; height: 2.5em; border-bottom: .5px solid #eee; }
.wxc-r .h { color: #555; }
.wxc-r .i { line-height: 0; }
.wxc-r .t { font-weight: 600; }
.wxc-r .p { text-align: right; color: #2d8dfb; font-size: .92em; }
.wxc-r.now { background: rgba(104,189,226,.18); margin: 0 -14px; padding: 0 14px; font-weight: 700; }
.wxc-none { padding: 18px 6px; color: #4d4d4d; text-align: center; }
.dr-hdr { cursor: pointer; }
.dr-hdr .dr-quote { cursor: default; }

/* morning brief / weekly wrap-up / my apps card */
.pop.brief { width: 400px; padding: 0; overflow: hidden; max-height: 760px; }
.bf { font: 500 13px var(--f-ui); color: #222; }
.bf-tabs { display: flex; gap: 4px; padding: 8px 10px 0; background: #f0f0f0; border-bottom: .5px solid #d8d8d8; }
.bf-tab { border: 0; background: none; font: 600 12.5px var(--f-ui); color: #4d4d4d; padding: 7px 12px 8px; border-radius: 8px 8px 0 0; cursor: pointer; }
.bf-tab.on { background: #fbfbfb; color: #222; box-shadow: 0 .5px 0 #fbfbfb; }
.bf-body { padding: 14px 16px 16px; overflow-y: auto; max-height: 690px; }
.bf-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.bf-h b { display: block; font-size: 1.45em; font-weight: 800; letter-spacing: -.01em; }
.bf-h span { color: #4d4d4d; }
.bf-wx { display: flex; align-items: center; gap: .6em; background: #eaf6fc; border-radius: 12px; padding: 6px 10px; }
.bf-wx b { font-size: 1.3em; line-height: 1.1; } .bf-wx span { font-size: .85em; }
.bf-wx > div { display: flex; flex-direction: column; }
.bf-k { margin: 14px 0 5px; font: 700 .78em var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: #3b9fcb; }
.bf-k i { font-style: normal; text-transform: none; letter-spacing: 0; color: #c9323b; margin-left: 6px; font-weight: 600; }
.bf-r { display: flex; align-items: center; gap: 9px; min-height: 28px; border-bottom: .5px solid #ececec; }
.bf-t { width: 4.9em; color: #4d4d4d; font-size: .92em; flex: none; }
.bf-d { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.bf-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bf-n.red, .bf-r em.red, .bf-stats b.red { color: #c9323b; }
.bf-r em { font-style: normal; font-size: .82em; color: #5c5c5c; flex: none; }
.bf-r em.on { color: #fff; background: #2d8dfb; border-radius: 9px; padding: 1px 7px; }
.bf-p { font-weight: 700; font-size: .92em; width: 2.4em; flex: none; } .bf-p.pA { color: #1f8a3a; } .bf-p.pB { color: #2f62d6; } .bf-p.pC { color: #585858; }
.bf-none { color: #5c5c5c; padding: 6px 0; } .bf-all { color: #4d4d4d; font-size: .9em; padding: 5px 0 0; }
.bf-w { margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: #fff4e4; border-left: 3px solid #f0a030; display: flex; flex-direction: column; gap: 1px; }
.bf-w.info { background: #eaf6fc; border-left-color: #68bde2; } .bf-w span { color: #4d4d4d; font-size: .9em; }
.bf-ring { --p: 0; width: 58px; height: 58px; border-radius: 50%; background: conic-gradient(#68bde2 calc(var(--p) * 1%), #e6e6e6 0); display: grid; place-items: center; flex: none; position: relative; }
.bf-ring::before { content: ''; position: absolute; inset: 7px; background: #fbfbfb; border-radius: 50%; }
.bf-ring b { position: relative; font-size: 1.05em; }
.bf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 2px; }
.bf-stats > div { background: #f2f4f6; border-radius: 10px; padding: 9px 4px; text-align: center; }
.bf-stats b { display: block; font-size: 1.6em; font-weight: 800; line-height: 1.1; } .bf-stats span { color: #4d4d4d; font-size: .85em; }
.bf-ck { width: 1.4em; color: #1f8a3a; font-weight: 800; flex: none; }
.bf-g { display: grid; grid-template-columns: 1fr 90px 2.6em; gap: 9px; align-items: center; min-height: 28px; }
.bf-g span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bf-g em { font-style: normal; color: #4d4d4d; text-align: right; }
.bf-g i { height: 7px; border-radius: 4px; background: #e6e6e6; overflow: hidden; } .bf-g u { display: block; height: 100%; background: #68bde2; border-radius: 4px; }
.bf-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; margin-top: 16px; }
.bf-app { border: 0; background: none; font: inherit; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: #222; text-align: center; cursor: pointer; }
.bf-app.soon { opacity: .5; cursor: default; }
.bf-ic { width: 64px; height: 64px; border-radius: 15px; display: block; padding: 11px; box-sizing: border-box; box-shadow: 0 2px 6px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.35); }
.bf-an { font-weight: 600; } .bf-app em { font-style: normal; font-size: .78em; color: #5c5c5c; margin-top: -4px; }
.bf-app.here .bf-ic { outline: 2.5px solid #68bde2; outline-offset: 2px; }
.bf-all { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* other apps inside the planner */
.appf { position: absolute; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.appf.over { left: 44px; right: 46px; top: 38px; bottom: 28px; z-index: 30; border-radius: 26px; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 18px 50px rgba(0,0,0,.55); }
.appf.tab { left: 712px; width: 642px; top: 38px; bottom: 28px; z-index: 4; border-radius: 26px 28px 28px 26px; }
.appf.tab.wide { left: 44px; right: 46px; width: auto; z-index: 30; border-radius: 26px; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 10px 30px rgba(0,0,0,.35); }
.appf-bar { flex: none; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px 0 18px; background: #f2f3f5; border-bottom: .5px solid #d6d8dc; font: 500 13px var(--f-ui); color: #222; }
.appf-bar b { font-weight: 700; } .appf-bar .sp { flex: 1; }
.appf-b { border: 0; background: none; color: #3b87c9; font: 600 12px var(--f-ui); cursor: pointer; text-decoration: none; padding: 4px 8px; border-radius: 6px; }
.appf-b:hover { background: rgba(104,189,226,.18); } .appf-b.x { color: #555; font-size: 14px; }
.appf-fr { flex: 1; width: 100%; border: 0; background: #fff; }
.appf-load { position: absolute; left: 0; right: 0; top: 50%; text-align: center; color: #5c5c5c; font: 500 14px var(--f-ui); pointer-events: none; }
.etl { padding: 150px 56px 0; color: #222; }
.etl-k { font: 800 64px/1 var(--f-ui); letter-spacing: -.02em; }
.etl-s { margin-top: 14px; font: 500 20px/1.35 var(--f-ui); color: #555; max-width: 420px; }
.etl-l { width: 90px; height: 5px; border-radius: 3px; background: #68bde2; margin: 26px 0 22px; }
.etl a { color: #3b87c9; font: 500 14px var(--f-ui); text-decoration: none; }

/* ---- Action Inbox cards inside the planner (same look as the Action Inbox app) ---- */
.trow.ai .pri { color: #1b7ba6; font-weight: 700; }
.trow.ai .ttl { color: #12242d; }
.trow.ai::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #68bde2; }
.pop.inbx { width: 392px; padding: 0; border-radius: 16px; max-height: 84%; overflow: auto; }
.inbx { background: #f3f7f9; --bg:#F3F7F9; --surface:#FFFFFF; --surface2:#E8F0F4; --fg:#12242D; --muted:#5A717C; --line:#D5E1E7; --accent:#68BDE2; --accent-ink:#0B2A38; --link:#1B7BA6; --danger:#B3402F; --ok:#2E7D57; --warn:#A8620A; font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fg); }
.inbx-in { padding: 10px; }
.inbx .card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.inbx .card.done { opacity: .8; }
.inbx .top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.inbx .pill { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--surface2); color: var(--fg); }
.inbx .pill.urgent { background: var(--danger); color: #fff; }
.inbx .age { margin-left: auto; color: var(--muted); font-size: 13px; }
.inbx .xclose { border: 0; background: none; color: var(--muted); font-size: 14px; cursor: pointer; padding: 2px 4px; }
.inbx .person { font-family: "Bricolage Grotesque", "Figtree", system-ui, sans-serif; font-size: 19px; font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.inbx .what { margin: 0; font-weight: 500; font-size: 15px; overflow-wrap: anywhere; }
.inbx .detail { margin: 0; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.inbx .meta { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; } .inbx .meta b { color: var(--fg); font-weight: 600; }
.inbx label.lbl { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.inbx textarea { width: 100%; min-height: 92px; resize: vertical; font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px; box-sizing: border-box; }
.inbx .event { background: var(--surface2); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; } .inbx .event strong { font-weight: 600; }
.inbx .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.inbx .btn { appearance: none; font: inherit; font-weight: 600; font-size: 15px; border-radius: 10px; padding: 10px 14px; cursor: pointer; min-height: 44px; border: 1px solid var(--line); background: transparent; color: var(--fg); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.inbx .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); } .inbx .btn.link { color: var(--link); } .inbx .btn[disabled] { opacity: .55; cursor: default; }
.inbx .confirm { border: 1px dashed var(--accent); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.inbx .status { font-size: 14px; overflow-wrap: anywhere; } .inbx .status.ok { color: var(--ok); } .inbx .status.err { color: var(--danger); } .inbx .status.wait { color: var(--warn); }

/* ---- events drawn the Calendar app's way ---- */
.ev.cx { border-radius: 6px; padding: 2px 6px 2px 8px; background: rgba(var(--cr), .22); color: var(--ct); box-shadow: inset 3px 0 0 var(--c); border: 1px solid #f1f1f1; font: 400 12px/1.25 var(--f-ui); text-align: left; overflow: hidden; }
.ev.cx b { font-weight: 700; display: block; overflow: hidden; text-overflow: ellipsis; }
.ev.cx span { display: block; font-weight: 600; font-size: 11px; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev.cx.short { display: flex; gap: 5px; align-items: baseline; white-space: nowrap; }
.ev.cx.short b { flex: 0 1 auto; } .ev.cx.short span { flex: none; }
.ev.cx.tight b { white-space: nowrap; } .ev.cx.tight span { display: none; }
.ev.cx.na { background-image: repeating-linear-gradient(135deg, rgba(var(--cr), 0) 0 5px, rgba(var(--cr), .16) 5px 10px); }
.ev.cx.dec { opacity: .5; text-decoration: line-through; }
.ev.cx.ovl { box-shadow: inset 3px 0 0 var(--c), 0 0 0 1.5px #f1f1f1, 0 1px 4px rgba(0,0,0,.18); }
.ev.cx .evj { background: #34c759; }
.adv.cx { background: rgba(var(--cr), .26); border-color: rgba(var(--cr), .5); color: var(--ct); box-shadow: inset 3px 0 0 var(--c); text-align: left; padding-left: 7px; font-weight: 600; }
.adv.cx.dec { opacity: .5; text-decoration: line-through; }

/* ---- sharper text ---- */
:root { --ink3: #666; }
.tl-h span { color: #2f2f2f; font-weight: 600; }
.mc-d.oth { color: #6b6b6b; }
.dr-label { color: #5e5e5e; }
.ev.cx { background: rgba(var(--cr), .30); font-size: 12.5px; }
.ev.cx b { font-weight: 800; font-size: 13px; color: #0d0d0d; }
.ev.cx span { font-weight: 700; font-size: 11.5px; opacity: 1; color: var(--ct); }
.adv.cx { background: rgba(var(--cr), .34); color: #0d0d0d; font-weight: 700; }

/* ---- vibrant tasks (like the original planner) ---- */
.trow { font-weight: 500; color: #000; }
.trow .pri { font-weight: 600; }
.trow .pri.pA { color: #0f8a1a; font-weight: 800; } .trow .pri.pB { color: #2a5cf0; } .trow .pri.pC { color: #d46d00; }
.trow .pri.pA ~ .ttl { font-weight: 800; }
.trow.over .ttl { color: #d4231e; font-weight: 500; }
.trow.over .pri.pA ~ .ttl { font-weight: 800; }
.trow.ai .pri { color: #1a7fa6; }
.d-add { color: #111; } .d-add::placeholder { color: #555; }
body { font-weight: 500; }

/* ---- right-hand page: Waiting on you / Coming up / Daily Notes ---- */
.dr-flow { position: absolute; left: 24px; right: 24px; top: 152px; bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.dr-wait, .dr-ahead { flex: none; }
.dr-notes { position: relative; flex: 1 1 0; min-height: 110px; }
.wy-hd, .ah-hd { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: none; padding: 2px 2px 3px; cursor: pointer; font: 800 12px/16px var(--f-ui); letter-spacing: .07em; text-transform: uppercase; color: #1f86b5; text-align: left; border-bottom: 1.5px solid rgba(104,189,226,.7); }
.wy-hd i { font-style: normal; background: #d4231e; color: #fff; border-radius: 9px; padding: 0 7px; font-size: 11px; line-height: 16px; letter-spacing: 0; }
.wy-hd b, .ah-hd b { margin-left: auto; width: 8px; height: 8px; border-right: 2px solid #1f86b5; border-bottom: 2px solid #1f86b5; transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.wy-hd b.c, .ah-hd b.c { transform: rotate(-45deg); }
.wy-list { max-height: 158px; overflow-y: auto; margin-top: 2px; } .wy-list.hasx { max-height: 410px; }
.wy-r { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 30px; border: 0; border-bottom: .5px solid #d6d6d6; background: none; padding: 3px 4px 3px 8px; cursor: pointer; text-align: left; font: 500 13.4px/16px var(--f-ui); color: #000; position: relative; }
.wy-r::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: #68bde2; }
.wy-r.urgent::before { background: #d4231e; }
.wy-r:hover { background: rgba(0,0,0,.05); }
.wy-k { flex: none; font: 800 10px/14px var(--f-ui); letter-spacing: .05em; text-transform: uppercase; color: #1f86b5; background: rgba(104,189,226,.22); border-radius: 8px; padding: 1px 7px; }
.wy-r.urgent .wy-k { color: #fff; background: #d4231e; }
.wy-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .wy-n b { font-weight: 800; }
.wy-a { flex: none; font-size: 12px; color: #555; }
.wy-x { margin: 4px 0; } .wy-x .inbx { border-radius: 14px; } .wy-x .inbx-in { padding: 6px; }
.ah-body { max-height: 380px; overflow-y: auto; padding-top: 2px; }
.ah-s { font: 600 12.5px/18px var(--f-ui); color: #333; padding: 2px 4px 4px; }
.ah-d { display: flex; gap: 10px; width: 100%; border: 0; border-bottom: .5px solid #d6d6d6; background: none; padding: 5px 4px; cursor: pointer; text-align: left; font: 500 12.8px/17px var(--f-ui); color: #000; }
.ah-d:hover { background: rgba(0,0,0,.05); }
.ah-l { flex: none; width: 82px; font-weight: 800; color: #1f86b5; }
.ah-i { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.ah-e { display: inline-flex; align-items: baseline; gap: 5px; } .ah-e i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; align-self: center; } .ah-e b { font-weight: 800; }
.ah-t u { text-decoration: none; font-weight: 800; margin-right: 4px; } .ah-t u.pA { color: #0f8a1a; } .ah-t u.pB { color: #2a5cf0; } .ah-t u.pC { color: #d46d00; }
.ah-more { color: #555; font-style: italic; }
.ah-q { padding: 5px 4px; font: 500 12.2px/16px var(--f-ui); color: #555; }

/* ---- dark theme: readable text on the dark paper (day page) ---- */
[data-theme="dark"] .d-num { color: #f6f6f6; }
[data-theme="dark"] .d-wk { color: #efefef; }
[data-theme="dark"] .d-mo { color: #dcdcdc; }
[data-theme="dark"] .d-add { color: #f0f0f0; } [data-theme="dark"] .d-add::placeholder { color: #a6a6ab; }
[data-theme="dark"] .trow { color: #f4f4f4; }
[data-theme="dark"] .trow .pri.pA { color: #54d96a; } [data-theme="dark"] .trow .pri.pB { color: #8aabff; } [data-theme="dark"] .trow .pri.pC { color: #ffab4a; }
[data-theme="dark"] .trow.over .ttl { color: #ff6f68; }
[data-theme="dark"] .trow.ai .pri { color: #72d0f5; } [data-theme="dark"] .trow.ai .ttl { color: #eaf7fd; }
[data-theme="dark"] .trow.done .ttl, [data-theme="dark"] .trow.done .pri { color: #8e8e93 !important; }
[data-theme="dark"] .trow.sel { background: rgba(255,255,255,.1); }
[data-theme="dark"] .trow .chk { background: rgba(255,255,255,.08); border-color: #a0a0a6; }
[data-theme="dark"] .mc-head { color: #e2e2e2; } [data-theme="dark"] .mc-wk { color: #d0d0d0; }
[data-theme="dark"] .mc-d { color: #dcdcdc; } [data-theme="dark"] .mc-d.oth { color: #8e8e93; }
[data-theme="dark"] .mc-d.sel span { background: #f4f4f4; color: #111; }
[data-theme="dark"] .mc-d.today:not(.sel) span { box-shadow: inset 0 0 0 1.5px #8e8e93; }
[data-theme="dark"] .mc-d:hover:not(.sel) span { background: rgba(255,255,255,.14); }
[data-theme="dark"] .mc-nav svg, [data-theme="dark"] .mc-nav svg * { stroke: #e2e2e2; }
[data-theme="dark"] .tl-h span { color: #e4e4e4; } [data-theme="dark"] .tl-h { border-top-color: #5a5a60; } [data-theme="dark"] .tl-hh { border-top-color: #48484d; }
[data-theme="dark"] .ev.cx { background: rgba(var(--cr), .42); border-color: #3d3d41; }
[data-theme="dark"] .ev.cx b, [data-theme="dark"] .adv.cx { color: #fff; }
[data-theme="dark"] .ev.cx span { color: #ececec; }
[data-theme="dark"] .adv.cx { background: rgba(var(--cr), .45); }
[data-theme="dark"] .ah-s { color: #e0e0e0; }
[data-theme="dark"] .wy-a { color: #b0b0b5; }
/* right-hand page: Waiting on you, Coming up and Daily Notes all stay reachable when a card is open */
.dr-flow { overflow-y: auto; overflow-x: hidden; } .dr-notes { flex: 1 0 auto; min-height: 190px; }
[data-theme="dark"] .ah-t u.pA { color: #54d96a; } [data-theme="dark"] .ah-t u.pB { color: #8aabff; } [data-theme="dark"] .ah-t u.pC { color: #ffab4a; }
[data-theme="dark"] .ah-l { color: #6cc4ee; } [data-theme="dark"] .ah-d { color: #f2f2f2; border-bottom-color: #4a4a4f; } [data-theme="dark"] .ah-d:hover { background: rgba(255,255,255,.07); }
[data-theme="dark"] .ah-more, [data-theme="dark"] .ah-q { color: #b4b4b9; } [data-theme="dark"] .dr-label { color: #b4b4b9; }
[data-theme="dark"] .wy-k { color: #8fd6f5; } [data-theme="dark"] .wy-r { border-bottom-color: #4a4a4f; } [data-theme="dark"] .wy-r:hover { background: rgba(255,255,255,.07); }

/* dragging a Calendar event to a new time */
.ev.cx[data-edit="1"] { cursor: grab; -webkit-touch-callout: none; touch-action: pan-y; }
.ev.cx .rs { position: absolute; left: 0; right: 0; bottom: 0; height: 7px; cursor: ns-resize; }
.ev.cx.dragging { cursor: grabbing; z-index: 60 !important; opacity: .95; box-shadow: 0 6px 18px rgba(0,0,0,.28), inset 3px 0 0 var(--c); transition: none; overflow: visible; }
.ev.cx.dragging::after { content: attr(data-mv); position: absolute; right: 4px; top: -17px; background: #1c1c1e; color: #fff; font: 600 10.5px/1 'Figtree', system-ui, sans-serif; padding: 3px 6px; border-radius: 5px; white-space: nowrap; pointer-events: none; }
.te-chips button[data-rn], .te-chips button[data-rnd="weekday"], .te-chips button[data-rnd="day"] { width: auto; min-width: 26px; padding: 0 8px; border-radius: 13px; }
.nc-body img { max-width: 100%; max-height: 80px; border-radius: 6px; object-fit: cover; display: block; margin: 3px 0; } .nc-body a.att { color: #176b94; text-decoration: none; font-weight: 600; }

/* ---------- Production tab ---------- */
.pc-wrap { position: absolute; inset: 0; padding: 70px 44px 40px; overflow: auto; color: #333; font-family: var(--f-ui); }
.pc-bar { background: #68bde2; color: #fff; text-align: center; font: 800 17px var(--f-ui); letter-spacing: 2px; padding: 13px 16px; border-radius: 8px; margin-bottom: 18px; }
.pc-card { border-left: 5px solid #68bde2; background: #f5fafd; border-radius: 0 8px 8px 0; padding: 18px 22px; margin-bottom: 16px; }
.pc-k { font: 800 13px var(--f-ui); letter-spacing: 2px; color: #4a90b8; }
.pc-n { font: 800 46px/1.1 var(--f-ui); color: #1b3a5c; margin: 6px 0 4px; }
.pc-ar { font-size: 15px; margin-left: 8px; vertical-align: middle; } .pc-ar.up { color: #2e9e4f; } .pc-ar.dn { color: #d64541; }
.pc-prev { font: 500 14px var(--f-ui); color: #8899a6; margin-left: 8px; }
.pc-v { font: 500 16px var(--f-ui); color: #333; margin-top: 4px; } .pc-v b { font-weight: 800; }
.pc-d { font: 500 14px var(--f-ui); color: #555; margin-top: 8px; }
.pc-soon { display: inline-block; font: 500 15px var(--f-ui); color: #1b3a5c; background: #e3f2fa; padding: 7px 13px; border-radius: 5px; margin-top: 12px; }
.pc-empty { font: 500 18px/1.4 var(--f-ui); color: #666; padding: 40px 10px; text-align: center; }
html.m .pc-wrap { position: static; padding: 26px 30px 120px; }
html.m .pc-bar { font-size: 24px; padding: 18px 16px; } html.m .pc-card { padding: 26px 30px; margin-bottom: 24px; }
html.m .pc-k { font-size: 21px; } html.m .pc-n { font-size: 72px; } html.m .pc-ar { font-size: 24px; }
html.m .pc-prev { font-size: 22px; } html.m .pc-v { font-size: 25px; } html.m .pc-d { font-size: 22px; } html.m .pc-soon { font-size: 23px; padding: 10px 18px; }
html.m .pc-empty { font-size: 26px; }

/* nov21: editor buttons stay in reach; no iPad zoom on tap; drag-to-resize grip you can see and grab */
.pop.tep .te-foot { position: sticky; bottom: 0; z-index: 3; margin: 4px -12px -12px; padding: 8px 12px 12px; background: #fbfbfb; border-top: 1px solid #e6e6e6; }
@media (pointer: coarse) {
  .pop input, .pop textarea, .pop select, .pop .te-title { font-size: 16px !important; }
  .ev.cx[data-edit="1"] { -webkit-user-select: none; user-select: none; }
}
.ev.cx .rs { height: 12px; bottom: -2px; touch-action: none; }
.ev.cx .rs::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 24px; height: 3px; margin-left: -12px; border-radius: 2px; background: currentColor; opacity: 0; transition: opacity .12s; }
.ev.cx[data-edit="1"]:hover .rs::after, .ev.cx.dragging .rs::after { opacity: .55; }
.ev.cx.short .rs { height: 7px; bottom: -1px; } .ev.cx.short .rs::after { bottom: 2px; height: 2px; }
@media (pointer: coarse) { .ev.cx[data-edit="1"] .rs { height: 20px; } .ev.cx[data-edit="1"] .rs::after { opacity: .45; } }

/* chk-hit: bigger tap zone for the task circle (desktop layout, incl. iPad) */
.trow .chk::after { content: ""; position: absolute; inset: -8px -3px -8px -3px; }
.trow .chk:active { background: rgba(120,120,120,.45); }
@media (pointer: coarse) { .trow .chk { width: 19px; height: 19px; left: 1px; top: 2px; } .trow .chk::after { inset: -10px -2px -10px -2px; } }

/* layered-overlap */
.ev.cx { box-sizing: border-box; }
.ev.cx b, .ev.cx span { writing-mode: horizontal-tb !important; }
.ev.cx.ovl { background: linear-gradient(rgba(var(--cr), .34), rgba(var(--cr), .34)), #fff; }
.ev.cx.under { background: rgba(var(--cr), .20); }
[data-theme="dark"] .ev.cx.ovl { background: linear-gradient(rgba(var(--cr), .4), rgba(var(--cr), .4)), #2c2c2e; }

/* ===== Nov 23 2026: finger-size targets when the Mac layout is used by touch (iPad turned sideways). Nothing moves or looks different; the invisible tap areas are just bigger. ===== */
@media (pointer: coarse) {
  .trow .chk { z-index: 3; } .trow .pri { z-index: 2; } /* so a row's tap areas are not swallowed by the row under it */
  .trow .chk::after { content: ''; position: absolute; inset: auto; left: -12px; right: -3px; top: -6px; bottom: -7px; }
  .trow .pri::after { content: ''; position: absolute; left: 0; right: -8px; top: -5px; bottom: -6px; }
  #toolbar .tb.i::after { content: ''; position: absolute; left: -3px; right: -3px; top: -11px; bottom: -11px; }
  .mc-nav::after { content: ''; position: absolute; left: -10px; right: -10px; top: -8px; bottom: -8px; }
  .d-plus::after, .d-rep::after, .d-menu::after { content: ''; position: absolute; left: -9px; right: -9px; top: -9px; bottom: -9px; }
}

/* Remind me (Action Inbox cards) */
.inbx .picks { display: flex; flex-wrap: wrap; gap: 8px; }
.inbx input[type=datetime-local] { font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px; min-height: 44px; max-width: 100%; box-sizing: border-box; }
.wy-z { cursor: default; } .wy-z:hover { background: none; } .wy-z::before { background: #b9b9b9; }
.wy-z .wy-k { color: #666; background: rgba(0,0,0,.08); }
.wy-show { flex: none; border: 1px solid #1f86b5; background: none; color: #1f86b5; border-radius: 8px; font: 700 11px/14px var(--f-ui); padding: 2px 9px; cursor: pointer; }
[data-theme="dark"] .wy-z .wy-k { color: #c9c9ce; background: rgba(255,255,255,.12); }
.wy-list.hasx { max-height: 620px; }
