:root{
--bg:#F5F7F3; --surface:#FFFFFF; --ink:#19231F; --muted:#67766D;
--line:#E1E7E0; --accent:#1F7358; --accent-ink:#FFFFFF;
--accent-soft:#E3EFE8; --danger:#B0483D; --danger-soft:#F6E7E4;
--f-display:'Outfit','Alexandria',-apple-system,'Segoe UI',Tahoma,sans-serif;
--f-body:'Outfit','IBM Plex Sans Arabic',-apple-system,'Segoe UI',Tahoma,sans-serif;
--f-mono:'Outfit','IBM Plex Sans Arabic',ui-monospace,sans-serif;
--r:14px; --r-s:10px;
--shadow:0 8px 28px rgba(20,32,26,.10);
}
[data-theme="dark"]{
--bg:#111613; --surface:#191F1B; --ink:#E9EFE9; --muted:#8CA093;
--line:#28312B; --accent:#52C598; --accent-ink:#0C1410;
--accent-soft:#20362C; --danger:#E4867A; --danger-soft:#3A2622;
--shadow:0 8px 28px rgba(0,0,0,.45);
}
[data-style="pink"]{
--bg:#FBF3EC; --surface:#FFFFFF; --ink:#3D2B2E; --muted:#9C7F84;
--line:#F0DDD3; --accent:#BD4575; --accent-ink:#FFFFFF;
--accent-soft:#FBE4ED; --danger:#C1666B; --danger-soft:#F7E3E1;
--r:22px; --r-s:16px;
--shadow:0 8px 28px rgba(90,50,60,.12);
}
[data-style="pink"][data-theme="dark"]{
--bg:#121212; --surface:#1C1C1C; --ink:#F0F0F0; --muted:#8A8A8A;
--line:#2A2A2A; --accent:#FF6FA8; --accent-ink:#121212;
--accent-soft:#2E1B22; --danger:#D98D8D; --danger-soft:#402424;
--shadow:0 8px 28px rgba(0,0,0,.5);
}
[data-style="lavender"]{
--bg:#F3F1FA; --surface:#FFFFFF; --ink:#2E2A4A; --muted:#8B85A8;
--line:#E4E0F0; --accent:#6D5FB0; --accent-ink:#FFFFFF;
--accent-soft:#EAE6F7; --danger:#B0483D; --danger-soft:#F6E7E4;
--r:20px; --r-s:15px;
--shadow:0 8px 28px rgba(50,40,90,.12);
}
[data-style="lavender"][data-theme="dark"]{
--bg:#1E1A33; --surface:#282240; --ink:#EDEBF7; --muted:#8D87AC;
--line:#342D52; --accent:#A99FE0; --accent-ink:#1E1A33;
--accent-soft:#302A4C; --danger:#D98D8D; --danger-soft:#402424;
--shadow:0 8px 28px rgba(0,0,0,.5);
}
[data-style="lime"]{
--bg:#F7FAEE; --surface:#FFFFFF; --ink:#3D4A12; --muted:#7C8F52;
--line:#E9F2CE; --accent:#8BAA1B; --accent-ink:#FFFFFF;
--accent-soft:#EFF6D9; --danger:#B0483D; --danger-soft:#F6E7E4;
--r:18px; --r-s:13px;
--shadow:0 8px 28px rgba(60,75,20,.12);
}
[data-style="lime"][data-theme="dark"]{
--bg:#14170D; --surface:#1C2113; --ink:#EAF0D8; --muted:#8FA06B;
--line:#2A311A; --accent:#B4D94A; --accent-ink:#14170D;
--accent-soft:#232A16; --danger:#E4867A; --danger-soft:#402422;
--shadow:0 8px 28px rgba(0,0,0,.5);
}
*{box-sizing:border-box; margin:0; padding:0}
html{-webkit-text-size-adjust:100%}
body{
font-family:var(--f-body); background:var(--bg); color:var(--ink);
min-height:100dvh; line-height:1.6;
transition:background .25s ease, color .25s ease;
}
button{font:inherit; color:inherit; background:none; border:none; cursor:pointer}
input{font:inherit; color:inherit}
textarea{font:inherit; color:inherit}
:focus-visible{outline:2px solid var(--accent); outline-offset:2px; border-radius:6px}
.mono{font-family:var(--f-mono); font-variant-numeric:tabular-nums; direction:ltr; unicode-bidi:isolate}
@media (prefers-reduced-motion:reduce){
*,*::before,*::after{animation:none!important; transition:none!important}
}
#app{max-width:520px; margin:0 auto; padding:0 20px calc(120px + env(safe-area-inset-bottom))}
header{
display:flex; align-items:center; justify-content:space-between;
padding:calc(18px + env(safe-area-inset-top)) 0 6px;
}
.brand{font-family:var(--f-display); font-weight:700; font-size:20px; letter-spacing:.2px}
.brand i{display:inline-block; width:10px; height:10px; border-radius:50%;
background:var(--accent); margin-inline-start:7px; vertical-align:baseline}
.h-btns{display:flex; gap:2px}
.icon-btn{
width:36px; height:36px; border-radius:11px; display:grid; place-items:center;
color:var(--muted); transition:background .15s, color .15s;
}
.icon-btn:hover{background:var(--surface); color:var(--ink)}
.icon-btn svg{width:18px; height:18px; stroke:currentColor; fill:none;
stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round}
.banner{
display:flex; gap:10px; align-items:flex-start;
background:var(--accent-soft); color:var(--ink);
border:1px solid var(--line); border-radius:var(--r-s);
padding:10px 14px; margin:8px 0 4px; font-size:13px;
}
.updBar{position:fixed; inset-inline:12px; bottom:calc(14px + env(safe-area-inset-bottom)); z-index:60; display:flex; align-items:center; gap:10px;
background:var(--ink); color:var(--bg); border-radius:var(--r-s); padding:10px 14px; font-size:13px; box-shadow:0 6px 24px rgba(0,0,0,.25)}
.updBar span{flex:1}
.updBar .go{background:var(--accent); color:var(--accent-ink); border-radius:8px; padding:6px 14px; font-size:13px; font-weight:600}
.updBar .x{color:inherit; opacity:.7; font-size:18px; line-height:1; padding:0 4px}
.banner b{font-weight:600}
.banner .x{margin-inline-start:auto; color:var(--muted); font-size:16px; line-height:1}
.datebar{padding:14px 0 4px}
.datebar .wd{font-family:var(--f-display); font-weight:700; font-size:34px; line-height:1.25}
.datebar .full{color:var(--muted); font-size:14px}
.tabs{
display:flex; gap:2px; margin-top:18px;
border-bottom:1px solid var(--line);
}
.tab{
padding:10px 2px 12px; margin-inline-end:18px; font-size:15px; font-weight:500;
color:var(--muted); position:relative; transition:color .15s;
}
.tab[data-tab="r"]{margin-inline-start:auto; margin-inline-end:0}
.tab[aria-selected="true"]{color:var(--ink); font-weight:600}
.tab[aria-selected="true"]::after{
content:''; position:absolute; insetInlineStart:0; insetInlineEnd:0; bottom:-1px;
height:2px; background:var(--accent); border-radius:2px;
}
main{padding-top:20px}
.app-credit{
margin:28px 0 6px; text-align:center; font-size:11px; color:var(--muted);
opacity:.55; letter-spacing:.2px;
}
.period{margin-bottom:22px}
.period .row{display:flex; align-items:baseline; justify-content:space-between; margin-bottom:8px}
.period .label{font-size:14px; color:var(--muted)}
.period .count{font-size:14px; font-weight:600}
.period .count .mono{font-size:13px; color:var(--muted); font-weight:500}
.track{height:5px; background:var(--line); border-radius:99px; overflow:hidden}
.fill{height:100%; background:var(--accent); border-radius:99px; width:0;
transition:width .45s cubic-bezier(.22,.9,.35,1)}
.weekdots{display:flex; gap:6px; margin-bottom:18px; overflow-x:auto; scroll-snap-type:x mandatory;
scrollbar-width:none; -ms-overflow-style:none}
.weekdots::-webkit-scrollbar{display:none}
.wd-cell{display:flex; flex-direction:column; align-items:center; gap:6px;
flex:0 0 calc((100% - 36px)/7); scroll-snap-align:start; cursor:pointer; -webkit-tap-highlight-color:transparent}
.wd-cell .l{font-size:11px; color:var(--muted)}
.dot{
width:100%; max-width:38px; aspect-ratio:1; border-radius:50%;
border:1.5px solid var(--line); position:relative; overflow:hidden;
background:var(--surface);
}
.dot .liq{position:absolute; inset-inline:0; bottom:0; background:var(--accent);
opacity:.9; transition:height .4s ease}
.dot .ok{position:absolute; inset:0; display:grid; place-items:center; opacity:0; transition:opacity .2s}
.dot .ok svg{width:55%; height:55%; stroke:var(--accent-ink); fill:none; stroke-width:2.4;
stroke-linecap:round; stroke-linejoin:round}
.dot.full .ok{opacity:1}
.wd-cell.today .dot{border-color:var(--accent); border-width:2px}
.wd-cell.today .l{color:var(--accent); font-weight:600}
.wd-cell.future{opacity:.38}
.sec{margin-bottom:26px}
.sec-h{
display:flex; align-items:center; gap:8px; margin-bottom:8px;
font-size:13px; font-weight:600; color:var(--muted); letter-spacing:.3px;
}
.sec-h .n{color:var(--muted); font-size:12px}
.sec-h::after{content:''; flex:1; height:1px; background:var(--line)}
.secdot{display:inline-block; width:8px; height:8px; border-radius:50%; margin-inline-end:1px; flex:none}
.task{
display:flex; align-items:center; gap:6px;
background:var(--surface); border:1px solid var(--line);
border-radius:var(--r-s); padding:9px 11px; margin-bottom:6px;
cursor:pointer; transition:border-color .15s, transform .1s;
-webkit-tap-highlight-color:transparent; position:relative;
--tcolor:var(--accent); --ticon:var(--accent-ink);
touch-action:none;
}
.task.dragging{transition:none; z-index:5; box-shadow:var(--shadow); border-color:var(--tcolor)}
.task.static-row{touch-action:auto} /* صفوف بنمط المهمة لكن بلا سحب لإعادة الترتيب (قوائم اختيار، معاينة، بحث) */
.overallBar{position:absolute; inset-inline-start:0; bottom:0; height:3px; min-width:3px;
background:var(--tcolor); opacity:.8; transition:width .3s ease}
.task:active{transform:scale(.985)}
.chk{
width:21px; height:21px; border-radius:50%; flex:none;
border:1.6px solid var(--muted); display:grid; place-items:center;
transition:background .18s, border-color .18s;
}
.chk svg{width:11px; height:11px; stroke:var(--ticon); fill:none;
stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round;
opacity:0; transform:scale(.4); transition:opacity .18s, transform .18s}
.task.is-done .chk{background:var(--tcolor); border-color:var(--tcolor)}
.task.is-done .chk svg{opacity:1; transform:scale(1)}
@keyframes chkPop{0%{transform:scale(.6)}55%{transform:scale(1.28)}80%{transform:scale(.94)}100%{transform:scale(1)}}
@keyframes chkRipple{0%{box-shadow:0 0 0 0 var(--tcolor, var(--accent))}100%{box-shadow:0 0 0 13px rgba(0,0,0,0)}}
.chk.chk-pop{animation:chkPop .4s cubic-bezier(.34,1.56,.64,1), chkRipple .5s ease-out}
@keyframes viewEnter{from{opacity:0; transform:translateY(6px)}}
#view.view-enter{animation:viewEnter .22s ease}
.confettiHost{position:fixed; inset:0; pointer-events:none; z-index:80; overflow:hidden}
.confetti-piece{position:absolute; top:-12px; width:8px; height:14px; border-radius:2px;
animation-name:confettiFall; animation-timing-function:ease-in; animation-fill-mode:forwards;}
@keyframes confettiFall{
0%{transform:translateY(0) rotate(0deg); opacity:1}
100%{transform:translateY(100vh) rotate(var(--rot)); opacity:0}
}
.celebrateToast{
position:fixed; bottom:calc(90px + env(safe-area-inset-bottom)); left:50%;
transform:translateX(-50%) translateY(14px); background:var(--ink); color:var(--bg);
padding:11px 22px; border-radius:999px; font-size:13.5px; font-weight:600;
opacity:0; transition:opacity .25s, transform .25s; z-index:81; box-shadow:var(--shadow);
white-space:nowrap;
}
.celebrateToast.show{opacity:1; transform:translateX(-50%) translateY(0)}
.task.is-skipped .chk{background:transparent; border-color:var(--muted); border-style:dashed}
.task.is-skipped .chk svg{opacity:1; transform:scale(1); stroke:var(--muted)}
.task.is-skipped .t-title{color:var(--muted); font-style:italic}
.task.is-selected{border-color:var(--accent); background:var(--accent-soft)}
.sel-chk{background:transparent; border-color:var(--muted)}
.sel-chk.is-on{background:var(--accent); border-color:var(--accent)}
.sel-chk svg{opacity:0; transform:scale(.4); transition:opacity .15s, transform .15s}
.sel-chk.is-on svg{opacity:1; transform:scale(1); stroke:var(--accent-ink)}
.select-bar{
position:fixed; bottom:0; inset-inline:0; z-index:40;
display:flex; align-items:center; gap:7px; padding:14px 16px calc(14px + env(safe-area-inset-bottom));
background:var(--surface); border-top:1px solid var(--line); box-shadow:0 -6px 20px rgba(0,0,0,.08);
}
.select-count{font-size:13px; font-weight:600; color:var(--muted); flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.select-bar .chip, .select-bar .del{flex:none; width:auto; padding:7px 12px; font-size:12.5px; margin-top:0; white-space:nowrap}
.select-bar [disabled]{opacity:.4; pointer-events:none}
.t-title{flex:1; font-size:13.5px; transition:color .2s}
.task.is-done .t-title{color:var(--muted); text-decoration:line-through;
text-decoration-color:var(--muted); text-decoration-thickness:1px}
.subcount{color:var(--muted); font-size:11px; margin-inline-start:5px}
.time-badge{color:var(--tcolor); font-weight:700; font-size:11px; margin-inline-start:0;
background:var(--accent-soft); padding:2px 6px; border-radius:6px; flex:none}
.subcount.goal-met{color:var(--tcolor,var(--accent)); font-weight:600}
.subcount.overdue{color:var(--danger); font-weight:600}
.more{color:var(--muted); width:25px; height:25px; border-radius:6px;
display:grid; place-items:center; flex:none}
.more:hover{background:var(--bg); color:var(--ink)}
.more svg{width:13px; height:13px; fill:currentColor}
.more.timer-active{color:var(--accent); background:var(--accent-soft)}
.more.note-filled{color:var(--accent)}
.more.skip-active{color:#C9A94E; background:rgba(201,169,78,.15)}
@keyframes timerPulse{0%,100%{opacity:1}50%{opacity:.45}}
.more.timer-active svg{animation:timerPulse 1.6s ease-in-out infinite}
.handle{color:var(--muted); width:32px; height:32px; border-radius:8px;
display:grid; place-items:center; flex:none; cursor:grab;
touch-action:none; -webkit-touch-callout:none; -webkit-user-select:none; user-select:none;}
.handle:hover{background:var(--bg); color:var(--ink)}
.handle svg{width:16px; height:16px; fill:currentColor}
.more[aria-expanded] svg{fill:none; stroke:currentColor; stroke-width:1.8;
stroke-linecap:round; stroke-linejoin:round; transition:transform .18s}
.more[aria-expanded="true"] svg{transform:rotate(180deg)}
.sublist{margin:-2px 0 8px 0; padding-inline-start:20px; position:relative}
.sublist::before{content:''; position:absolute; inset-inline-start:12px; top:0; bottom:10px;
width:1px; background:var(--line)}
.subitem{
display:flex; align-items:center; gap:10px;
padding:8px 14px 8px 8px; margin-bottom:4px; cursor:pointer;
-webkit-tap-highlight-color:transparent;
}
.chk.sm{width:19px; height:19px; border-width:1.5px}
.chk.sm svg{width:10px; height:10px}
.subitem .sub-title{flex:1; font-size:13.5px; color:var(--ink); transition:color .2s}
.subitem.is-done .chk{background:var(--accent); border-color:var(--accent)}
.subitem.is-done .chk svg{opacity:1; transform:scale(1)}
.subitem.is-done .sub-title{color:var(--muted); text-decoration:line-through;
text-decoration-color:var(--muted); text-decoration-thickness:1px}
.subrow{display:flex; align-items:center; gap:8px; margin-bottom:8px}
.subrow .tx{flex:1; padding:10px 12px; font-size:13.5px}
.subrow .rm{width:36px; height:36px; flex:none; border-radius:var(--r-s);
display:grid; place-items:center; color:var(--muted)}
.subrow .rm svg{width:16px; height:16px; stroke:currentColor; fill:none;
stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round}
.subrow .rm:hover{background:var(--danger-soft); color:var(--danger)}
.tasknote{font-size:13.5px; color:var(--muted); line-height:1.7; white-space:pre-wrap;
padding-inline-start:34px; padding-inline-end:14px; padding-block:0 10px; margin-top:-4px}
.compnote{padding-inline-start:34px; padding-inline-end:14px; padding-block:2px 10px}
.compnote label{display:block; font-size:11.5px; color:var(--muted); margin-bottom:6px; font-weight:500}
.compnote textarea{font-size:13.5px; min-height:110px; padding:9px 11px; resize:vertical; line-height:1.6}
.compnote-hist{padding-inline-start:34px; padding-inline-end:14px; padding-block:2px 10px; display:flex; flex-direction:column; gap:6px}
.compnote-histrow{font-size:12.5px; color:var(--muted); line-height:1.6; display:flex; gap:8px}
.journal-row{cursor:pointer; padding:4px 6px; margin:0 -6px; border-radius:6px; transition:background .12s}
.journal-row:hover{background:var(--bg)}
.compnote-date{flex:none; color:var(--ink); font-weight:600; font-size:11.5px; padding-top:1px}
.empty{text-align:center; padding:56px 12px; color:var(--muted)}
.empty .ring{
width:52px; height:52px; margin:0 auto 16px; border-radius:50%;
border:1.7px dashed var(--muted); opacity:.55;
}
.empty p{font-size:14px; max-width:280px; margin:0 auto}
.fab{
position:fixed; bottom:calc(22px + env(safe-area-inset-bottom));
inset-inline-start:50%; transform:translateX(50%);
background:var(--accent); color:var(--accent-ink);
font-weight:600; font-size:15px; padding:13px 26px; border-radius:99px;
box-shadow:var(--shadow); display:flex; align-items:center; gap:8px;
transition:transform .12s;
}
[dir="rtl"] .fab{transform:translateX(50%)}
.fab:active{transform:translateX(50%) scale(.96)}
.fab svg{width:16px; height:16px; stroke:currentColor; stroke-width:2.4; stroke-linecap:round}
.cards{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:26px}
.card{background:var(--surface); border:1px solid var(--line);
border-radius:var(--r); padding:14px 16px}
.card .lbl{font-size:12.5px; color:var(--muted); margin-bottom:4px;
display:flex; align-items:center; gap:6px; flex-wrap:wrap}
.card .val{font-family:var(--f-mono); font-size:27px; font-weight:500;
line-height:1.2; direction:ltr; unicode-bidi:isolate; text-align:start}
.card .sub{font-size:12px; color:var(--muted); margin-top:2px}
.badge{font-size:10.5px; font-weight:600; color:var(--accent);
background:var(--accent-soft); padding:1px 8px; border-radius:99px}
.trendbadge{font-size:11px; font-weight:600; font-family:var(--f-mono); direction:ltr; unicode-bidi:isolate}
.trendbadge.up{color:var(--accent)}
.trendbadge.down{color:var(--danger)}
.rep-h{font-family:var(--f-display); font-weight:600; font-size:15px; margin:26px 0 14px;
display:flex; align-items:center; gap:10px}
.rep-h::after{content:''; flex:1; height:1px; background:var(--line)}
.bars7{display:flex; gap:8px; align-items:flex-end; height:110px; padding:0 2px}
.b7{flex:1; display:flex; flex-direction:column; align-items:center; gap:7px; height:100%}
.b7 .col{flex:1; width:100%; max-width:30px; background:var(--line);
border-radius:7px; position:relative; overflow:hidden}
.b7 .colf{position:absolute; inset-inline:0; bottom:0; background:var(--accent);
border-radius:7px; transition:height .5s ease}
.b7 .l{font-size:11px; color:var(--muted)}
.b7.today .l{color:var(--accent); font-weight:600}
.grid30{display:grid; grid-template-columns:repeat(7,1fr); gap:6px; direction:rtl}
.g-cell{aspect-ratio:1; border-radius:6px; background:var(--line); position:relative; cursor:pointer}
.hero{display:flex; align-items:center; gap:16px; background:var(--surface); border:1px solid var(--line);
border-radius:var(--r); padding:16px; margin-bottom:14px}
.ring-wrap{position:relative; width:76px; height:76px; flex:none}
.ring-wrap svg{transform:rotate(-90deg); width:100%; height:100%}
.ring-track{fill:none; stroke:var(--line); stroke-width:8}
.ring-fill{fill:none; stroke-width:8; stroke-linecap:round; transition:stroke-dashoffset .5s ease}
.ring-label{position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
font-family:var(--f-mono); font-weight:600; font-size:17px}
.hero-text{flex:1; min-width:0}
.hero-text .t1{font-size:12.5px; color:var(--muted); margin-bottom:2px}
.hero-text .t2{font-size:14.5px; font-weight:600}
.hero-text .trend{font-size:11.5px; margin-top:4px; font-family:var(--f-mono); direction:ltr; unicode-bidi:isolate; display:block}
.miniRow{display:flex; gap:9px; margin-bottom:18px}
.miniCard{flex:1; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-s); padding:11px 12px; min-width:0}
.miniCard .l{font-size:11px; color:var(--muted); margin-bottom:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.miniCard .v{font-size:17px; font-weight:700; font-family:var(--f-mono)}
.miniCard .v small{font-size:10.5px; font-weight:600; margin-inline-start:3px}
.chartCard{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:14px 14px 10px; position:relative}
.chartCard svg{width:100%; height:100px; display:block}
.chart-hits{position:absolute; inset:14px 14px 24px; display:flex}
.chart-hit{flex:1; cursor:pointer}
.chart-labels{display:flex; justify-content:space-between; margin-top:4px; font-size:10.5px; color:var(--muted)}
.secRow-top{display:flex; justify-content:space-between; align-items:center; font-size:13.5px; margin-bottom:8px}
.secRow-name{display:flex; align-items:center; gap:7px}
.secRow-name .dot{width:8px; height:8px; border-radius:50%; flex:none}
.secRow-pct{font-family:var(--f-mono); font-weight:600; display:flex; align-items:center; gap:6px}
.missedRow{display:flex; justify-content:space-between; align-items:center; background:var(--surface);
border:1px solid var(--line); border-radius:var(--r-s); padding:10px 13px; margin-bottom:7px; font-size:13px}
.missedRow .pctBadge{font-family:var(--f-mono); font-weight:700; color:var(--danger);
background:var(--danger-soft); padding:3px 10px; border-radius:99px; font-size:11.5px; flex:none; margin-inline-start:10px}
.missedRow .mtitle{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.g-cell.blank{cursor:default}
.g-cell .f{position:absolute; inset:0; border-radius:6px; background:var(--accent)}
.g-cell.today{box-shadow:0 0 0 1.7px var(--accent) inset}
.g-cell.blank{background:transparent}
.g-legend{display:flex; justify-content:space-between; font-size:11px;
color:var(--muted); margin-top:8px}
.monthnav{display:flex; align-items:center; justify-content:space-between; margin:26px 0 14px}
.monthnav span{font-family:var(--f-display); font-weight:600; font-size:15px}
.navbtn{width:32px; height:32px; border-radius:8px; display:grid; place-items:center; color:var(--muted)}
.navbtn svg{width:18px; height:18px; stroke:currentColor; fill:none;
stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
.navbtn:hover{background:var(--surface); color:var(--ink)}
.navbtn:disabled{opacity:.3; cursor:default}
.reminder-row{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.sbar{margin-bottom:14px}
.projcard{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-s);
padding:14px 16px; margin-bottom:10px; cursor:pointer; transition:border-color .15s}
.projcard:active{transform:scale(.99)}
.projcard-top{display:flex; justify-content:space-between; align-items:center; margin-bottom:9px}
.projcard-name{font-weight:600; font-size:14.5px; display:flex; align-items:center}
.sbar .row{display:flex; justify-content:space-between; font-size:13.5px; margin-bottom:6px}
.sbar .row .p{font-family:var(--f-mono); font-size:12.5px; color:var(--muted)}
.footnote{font-size:12px; color:var(--muted); margin-top:30px; line-height:1.8; text-align:center}
.backup-row{display:flex; gap:10px; flex-wrap:wrap}
.overlay{
position:fixed; inset:0; background:rgba(12,18,15,.45); z-index:50;
display:flex; align-items:flex-end; justify-content:center;
animation:fadeIn .18s ease;
}
@keyframes fadeIn{from{opacity:0}}
.sheet{
width:100%; max-width:520px; background:var(--surface);
border-radius:20px 20px 0 0; padding:22px 22px calc(24px + env(safe-area-inset-bottom));
animation:slideUp .24s cubic-bezier(.22,.9,.35,1);
max-height:85dvh; overflow-y:auto;
}
@keyframes slideUp{from{transform:translateY(40px); opacity:.5}}
.noteFs{position:fixed; inset:0; background:var(--bg); z-index:60; display:flex; flex-direction:column;
animation:fadeIn .15s ease}
.noteFsHead{display:flex; align-items:center; gap:12px; padding:calc(14px + env(safe-area-inset-top)) 18px 12px}
.noteFsHead button{color:var(--muted); width:34px; height:34px; border-radius:9px; display:grid; place-items:center; flex:none}
.noteFsHead button:hover{background:var(--surface); color:var(--ink)}
.noteFsHead button svg{width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.noteFsHead .ttl{font-family:var(--f-display); font-weight:600; font-size:15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.noteFsHead .sub{font-size:11.5px; color:var(--muted); margin-top:1px}
.noteFsBody{flex:1; padding:6px 18px calc(20px + env(safe-area-inset-bottom)); display:flex}
.noteFsBody textarea{flex:1; width:100%; background:transparent; border:none; outline:none; resize:none;
color:var(--ink); font:inherit; font-size:16px; line-height:1.8}
.noteFsBody textarea::placeholder{color:var(--muted)}
.sheet h2{font-family:var(--f-display); font-weight:600; font-size:17px; margin-bottom:18px}
.field{margin-bottom:18px}
.field label{display:block; font-size:12.5px; color:var(--muted); margin-bottom:8px; font-weight:500}
.tx{
width:100%; background:var(--bg); border:1px solid var(--line);
border-radius:var(--r-s); padding:12px 14px; font-size:16px;
}
textarea.tx{resize:vertical; min-height:64px; line-height:1.6; font-family:inherit}
textarea.compnote-input{min-height:110px}
.tx:focus{outline:none; border-color:var(--accent)}
.chips{display:flex; flex-wrap:wrap; gap:8px}
.chip{
padding:8px 16px; border-radius:99px; border:1px solid var(--line);
font-size:13.5px; font-weight:500; color:var(--muted);
transition:all .15s; background:var(--surface);
}
.chip[aria-pressed="true"]{background:var(--accent); color:var(--accent-ink); border-color:var(--accent)}
.chip.ghost{border-style:dashed}
.daychips{flex-wrap:nowrap; gap:5px}
.daychips .chip{flex:1; padding:9px 0; text-align:center; font-weight:600; min-width:0}
.newsec{display:flex; gap:8px; margin-top:10px}
.newsec .tx{flex:1; padding:9px 14px; font-size:13.5px}
.newsec .go{background:var(--ink); color:var(--bg); border-radius:var(--r-s);
padding:0 18px; font-size:13.5px; font-weight:600}
.primary{
width:100%; background:var(--accent); color:var(--accent-ink);
font-weight:600; font-size:15px; padding:14px; border-radius:var(--r-s);
margin-top:6px; transition:transform .1s;
}
.primary:active{transform:scale(.98)}
.primary:disabled{opacity:.4; cursor:default}
.saveBar{margin-top:6px}
.saveBar .primary{margin-top:0}
.saveBar.two{display:flex; gap:10px}
.saveBar.two .primary{flex:1.5; width:auto}
.saveBar .alt{flex:1; border:1px solid var(--accent); color:var(--accent); background:transparent; border-radius:var(--r-s); font-size:14px; font-weight:600; padding:12px 8px}
.flashToast{position:fixed; top:calc(12px + env(safe-area-inset-top)); inset-inline:16px; z-index:80; background:var(--ink); color:var(--bg); border-radius:var(--r-s); padding:10px 14px; font-size:13px; text-align:center; box-shadow:0 6px 24px rgba(0,0,0,.25); animation:flashIn .2s ease-out}
@keyframes flashIn{from{opacity:0; transform:translateY(-8px)}}
/* زر الحفظ الثابت: يبقى ظاهراً أسفل نافذة "مهمة جديدة" دون الحاجة للتمرير */
.sheet.sheet-nopb{padding-bottom:0}
.saveBar.sticky{
position:sticky; bottom:0; margin-top:0; margin-inline:-22px;
padding:12px 22px calc(24px + env(safe-area-inset-bottom));
background:var(--surface); box-shadow:0 -10px 14px -12px rgba(20,32,26,.2);
}
.newsec[hidden]{display:none} /* صف "قسم جديد" كان ظاهراً دائماً لأن display:flex يلغي خاصية hidden */
.advToggle{display:flex; align-items:center; justify-content:center; gap:8px; width:100%; margin-bottom:18px}
.advToggle svg{width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .15s}
.advToggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.advToggle .advHint{font-size:12px; font-weight:400; opacity:.75}
/* أزرار الأقسام أصغر ليتسع السطر لعدد أكبر منها */
#secChips{gap:6px}
#secChips .chip{padding:6px 12px; font-size:12.5px}
/* صف التاريخ + الساعة الرقمية */
.dtRow{display:flex; flex-wrap:wrap; gap:0 12px; align-items:stretch}
.dtRow .dateField{flex:1 1 150px; min-width:0; display:flex; flex-direction:column}
.dtRow .dateField[hidden]{display:none}
.dtRow .timeField{flex:none}
.lblrow{display:flex; justify-content:space-between; align-items:baseline; gap:10px; margin-bottom:8px}
.field .lblrow label{margin-bottom:0}
.linkbtn{font-size:12px; font-weight:500; color:var(--accent); padding:0 2px}
.clockBox{display:flex; align-items:center; justify-content:center; gap:2px; position:relative;
width:128px; height:78px; background:var(--bg); border:1px solid var(--line); border-radius:var(--r-s); overflow:hidden}
.clockBox::before{content:''; position:absolute; inset-inline:6px; top:26px; height:26px; border-radius:8px; background:var(--accent-soft); pointer-events:none}
.clockBox:focus-within{border-color:var(--accent)}
.clockBox .colon{position:relative; z-index:1; font-family:var(--f-mono); font-weight:600; font-size:17px; color:var(--ink)}
.wheel{position:relative; z-index:1; width:48px; height:78px; overflow-y:auto; scroll-snap-type:y mandatory;
overscroll-behavior:contain; scrollbar-width:none; outline:none; -webkit-tap-highlight-color:transparent}
.wheel::-webkit-scrollbar{display:none}
.wheel::before,.wheel::after{content:''; display:block; height:26px}
.wi{height:26px; line-height:26px; text-align:center; scroll-snap-align:center; font-family:var(--f-mono); font-size:14px; color:var(--muted); cursor:pointer; user-select:none}
.wi.sel{color:var(--ink); font-weight:600; font-size:17px}
.clockBox.unset .wi.sel,.clockBox.unset .colon{color:var(--muted); font-weight:500}
.clockBox.unset::before{background:transparent; border:1px dashed var(--line)}
.dateBox{width:100%; gap:0}
.dateBox .wheel{width:auto; min-width:0; flex:.8 1 0}
.dateBox .wheel.wMo{flex:2.3 1 0}
.dateBox .wheel.wYr{flex:1.3 1 0}
.dateBox .wi{white-space:nowrap}
.dateBox .wi.sel{font-size:15px}
.dateBox .wheel.wMo .wi{font-family:var(--f-body); font-size:13px}
.dateBox .wheel.wMo .wi.sel{font-size:14px}
.dateBox .dateNative{position:absolute; inset:0; width:100%; height:100%; opacity:0; pointer-events:none; border:0; padding:0; margin:0}
.wi.off{display:none}
.del{
width:100%; padding:12px; border-radius:var(--r-s); font-size:14px; font-weight:500;
color:var(--danger); margin-top:10px; transition:all .15s;
}
.del.armed{background:var(--danger-soft); font-weight:600}
.secblock{margin-bottom:14px; position:relative}
.secblock.dragging-block{transition:none; z-index:5}
.mrow{display:flex; align-items:center; gap:8px; margin-bottom:8px; touch-action:none}
.mrow .tx{flex:1; padding:10px 14px; font-size:14px}
.mrow .cnt{font-size:11.5px; color:var(--muted); flex:none; min-width:52px; text-align:center}
.mrow .rm{width:38px; height:38px; flex:none; border-radius:var(--r-s);
display:grid; place-items:center; color:var(--muted)}
.mrow .rm svg{width:17px; height:17px; stroke:currentColor; fill:none;
stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round}
.mrow .rm.armed{background:var(--danger-soft); color:var(--danger)}
.swrow{display:flex; gap:7px; flex-wrap:wrap; margin:-2px 0 0 2px}
.sw{width:23px; height:23px; border-radius:50%; border:2px solid transparent; flex:none; padding:0}
.sw.none{background:var(--surface); border:1.5px dashed var(--muted)}
.sw.active{border-color:var(--ink)}
.repIcon{display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; margin-inline-start:6px; padding:0; border-radius:8px; border:1px solid var(--line); background:var(--surface); color:var(--accent); vertical-align:-7px; cursor:pointer}
.repIcon svg{width:15px; height:15px}
.repIcon:active{transform:scale(.94)}
.repIcon:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
select.tx{width:100%}

.quickAdd{display:flex; gap:8px; margin:0 0 10px; align-items:stretch}
.quickAdd[hidden]{display:none}
.quickAdd .tx{flex:1; margin:0; font-size:14px; padding:10px 14px}
.quickAdd .qaGo{width:44px; flex:none; border-radius:var(--r-s); background:var(--accent); color:#fff; font-size:22px; font-weight:600; line-height:1}
.quickAdd .qaGo:disabled{opacity:.5}

.dialWrap{display:flex; flex-direction:column; align-items:center; gap:8px}
.dial{width:min(240px,72vw); height:auto; touch-action:none; user-select:none; -webkit-user-select:none; cursor:pointer; outline:none}
.dial:focus-visible{outline:2px solid var(--accent); outline-offset:4px; border-radius:50%}
.dRingOut{fill:var(--surface-2,var(--accent-soft)); stroke:var(--line); stroke-width:1}
.dRingIn{fill:var(--bg); stroke:var(--line); stroke-width:1}
.dTick{stroke:var(--line); stroke-width:1}
.dTick.big{stroke:var(--muted); stroke-width:1.4}
.dHand{stroke:var(--accent); stroke-linecap:round}
.dHand.h{stroke-width:3}
.dHand.m{stroke-width:1.6}
.dHub{fill:var(--accent)}
.dSelH,.dSelM{fill:var(--accent)}
.dLblH,.dLblM{text-anchor:middle; fill:var(--ink); font-family:var(--f-mono); pointer-events:none}
.dLblH{font-size:12px; font-weight:600}
.dLblM{font-size:9.5px}
.dLblH.on,.dLblM.on{fill:#fff; font-weight:700}
.dialWrap.unset .dial{opacity:.55}
.dialWrap.unset .dHand,.dialWrap.unset .dHub,.dialWrap.unset .dSelH,.dialWrap.unset .dSelM{display:none}
.dialWrap.unset .dLblH.on,.dialWrap.unset .dLblM.on{fill:var(--ink); font-weight:600}
.ampm{display:flex; gap:8px}
.ampm .chip{min-width:56px; justify-content:center}
.dtRow .timeField{flex:none}

/* حقول يوم الأسبوع وتاريخ الشهر */
.mdRow{display:flex; gap:10px; align-items:stretch}
.mdRow .tx{flex:1; margin:0; min-width:0}
.mdRow .chip{flex:none; white-space:nowrap}

/* ===== تخطيط الحاسوب (لا يمسّ الهاتف) ===== */
@media (min-width:900px){
#app{max-width:1120px; padding:0 32px 48px; display:grid; column-gap:44px; align-items:start;
grid-template-columns:230px minmax(0,1fr);
grid-template-areas:"head head" ". banner" "fab bar" "nav quick" "nav view" "nav credit"; grid-template-rows:auto auto auto auto 1fr auto}
#app>header{grid-area:head; padding-top:24px; padding-bottom:10px; border-bottom:1px solid var(--line); margin-bottom:6px}
#app>#bannerHost{grid-area:banner}
#app>.datebar{grid-area:bar; padding-top:20px}
#app>.quickAdd{grid-area:quick}
#app>main{grid-area:view; min-width:0}
#app>.app-credit{grid-area:credit; text-align:start}
#app>.tabs{grid-area:nav; position:sticky; top:20px; flex-direction:column; gap:4px; margin:10px 0 0; border-bottom:none; align-self:start}
.tab,.tab[data-tab="r"]{margin:0; padding:11px 16px; border-radius:11px; text-align:start; font-size:15px}
.tab:hover{background:var(--surface); color:var(--ink)}
.tab[aria-selected="true"]{background:var(--accent-soft); color:var(--ink)}
.tab[aria-selected="true"]::after{display:none}
.tab[data-tab="r"]{margin-top:8px; border-top:1px solid var(--line); border-radius:0 0 11px 11px; padding-top:16px}
.fab{position:static; transform:none !important; grid-area:fab; align-self:end; margin-bottom:6px; justify-content:center; width:100%; border-radius:13px; padding:13px 18px}
.fab:active{transform:scale(.97) !important}
.fab:hover{filter:brightness(1.06)}
.task{cursor:default}
/* النوافذ المنبثقة تصير مربّع حوار في وسط الشاشة */
.overlay{align-items:center; padding:24px}
.sheet{max-width:560px; border-radius:20px; max-height:90dvh; padding:26px 28px 28px; animation:dlgIn .2s cubic-bezier(.22,.9,.35,1); box-shadow:0 24px 70px rgba(0,0,0,.35)}
@keyframes dlgIn{from{transform:scale(.96) translateY(10px); opacity:0}}
.saveBar.sticky{margin-inline:-28px; padding:12px 28px 24px; border-radius:0 0 20px 20px}
.sheet.sheet-nopb{padding-bottom:0}
.select-bar{inset-inline:auto; inset-inline-start:50%; transform:translateX(50%); bottom:24px; width:min(640px,90vw); border-radius:14px; border:1px solid var(--line)}
/* نافذة المهمة: عمودان، وكل الخيارات ظاهرة دون زر "خيارات إضافية" */
.sheet.tsWide{max-width:1000px}
.tsGrid{column-count:2; column-gap:40px; column-fill:balance}
.tsGrid .tsL,.tsWide #advBox,.tsWide #advBox[hidden]{display:contents}
.tsGrid .field,.tsGrid .reminder-row,.tsGrid .dtRow{break-inside:avoid; margin-bottom:18px}
.tsWide .advToggle{display:none}
.tsWide .daychips{display:grid; grid-template-columns:repeat(7,1fr); gap:6px}
.tsWide .daychips .chip{padding:9px 0; justify-content:center; text-align:center; min-width:0}
/* التقارير: عناصر التحكم بجانب المعاينة */
.repGrid{display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:36px; align-items:start}
.repPrevBox{position:sticky; top:20px}
.repPrevBox>div:first-child img{width:auto !important; max-width:100%; max-height:calc(100dvh - 190px)}
.repGrid{grid-template-columns:minmax(0,1fr) auto}
}
@media (min-width:1280px){
#app{max-width:1360px; grid-template-columns:230px minmax(0,1fr) 300px;
grid-template-areas:"head head head" ". banner side" "fab bar side" "nav quick side" "nav view side" "nav credit side"}
#sideInfo{grid-area:side; position:sticky; top:20px; display:flex; flex-direction:column; gap:14px; padding-top:20px}
.sideCard{background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:16px 18px}
.sideHead{font-size:12.5px; font-weight:600; color:var(--muted); margin-bottom:12px}
.sideRing{width:116px; height:116px; display:block; margin:0 auto}
.sideRing .rb{fill:none; stroke:var(--line); stroke-width:9}
.sideRing .rf{fill:none; stroke:var(--accent); stroke-width:9; stroke-linecap:round; transition:stroke-dashoffset .4s}
.sideRing .rt{fill:var(--ink); font-family:var(--f-display); font-size:26px; font-weight:700}
.sideCnt{text-align:center; font-size:13px; color:var(--muted); margin-top:8px}
.sideList{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px}
.sideList li{display:flex; justify-content:space-between; gap:10px; font-size:13.5px; align-items:baseline}
.sideList .sT{overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0}
.sideList .sH{color:var(--muted); font-size:12px; flex:none}
.sideMore,.sideEmpty{color:var(--muted); font-size:12.5px; margin-top:10px}
.sideEmpty{margin:0}
.keys kbd{font-family:var(--f-mono, monospace); font-size:11.5px; border:1px solid var(--line); border-bottom-width:2px; border-radius:6px; padding:1px 7px; background:var(--bg); color:var(--ink)}
}
@media (min-width:900px){
main{position:relative}
.weekdots{cursor:grab}
.weekdots:active{cursor:grabbing}
.wdArrow{position:absolute; z-index:2; width:30px; height:30px; border-radius:50%; border:1px solid var(--line); background:var(--surface); color:var(--ink); display:grid; place-items:center; box-shadow:var(--shadow); opacity:.9}
.wdArrow:hover{background:var(--accent-soft); opacity:1}
.wdArrow svg{width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round}
.wdArrow.r{right:-6px} .wdArrow.l{left:-6px}
}

/* ===== خطوات إضافة المهمة (هاتف) ===== */
.saveBar [hidden]{display:none !important}
.wzDots{display:flex; align-items:center; gap:6px; margin:0 0 18px}
.wzDots i{width:22px; height:4px; border-radius:3px; background:var(--line)}
.wzDots i.past{background:var(--accent); opacity:.5}
.wzDots i.on{background:var(--accent)}
.wzDots span{margin-inline-start:auto; font-size:12px; color:var(--muted)}
.wzH{font-family:var(--f-display); font-weight:600; font-size:20px; margin:0 0 18px}
.wzStep[hidden]{display:none}
.wzNav{display:flex; gap:10px; width:100%}
.wzNav .primary{flex:1.5; width:auto; margin-top:0}
.wzNav .alt{flex:1; border:1px solid var(--line); color:var(--ink); background:transparent; border-radius:var(--r-s); font-size:14px; font-weight:600; padding:12px 8px}
.saveBar.sticky.two:has(.wzNav){flex-wrap:wrap}
/* تنقّل الأيام في نافذة اليوم */
.dpHead{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px}
.dpHead h2{margin:0; flex:1; text-align:center; font-size:16px}
.dpHead .navbtn[disabled]{opacity:.3; pointer-events:none}
.dpSum{margin:0 0 14px; text-align:center; font-size:13px; color:var(--muted)}
.dpSum b{color:var(--ink)}

.undoToast{position:fixed; inset-inline:0; margin-inline:auto; width:max-content; max-width:calc(100% - 32px); bottom:calc(96px + env(safe-area-inset-bottom)); z-index:60; display:flex; align-items:center; gap:14px; background:var(--ink); color:var(--bg); padding:10px 12px 10px 18px; border-radius:14px; font-size:14px; box-shadow:0 10px 30px rgba(0,0,0,.28); animation:slideUp .2s}
.undoToast button{background:transparent; border:1px solid currentColor; color:inherit; border-radius:9px; padding:6px 14px; font-weight:600; font-size:13px}
@media (min-width:900px){.undoToast{bottom:28px}}
#durChips{flex-wrap:nowrap; gap:6px}
#durChips .chip{flex:1 1 0; min-width:0; padding:8px 4px; justify-content:center; text-align:center; white-space:nowrap; font-size:12.5px}
/* صفوف الأزرار في التقارير: سطر واحد دون كسر */
.chips.fit{flex-wrap:nowrap; gap:6px}
.chips.fit .chip{flex:1 1 auto; min-width:0; padding-inline:6px; justify-content:center; text-align:center; white-space:nowrap; font-size:13px}
@media (max-width:400px){ .chips.fit .chip{padding-inline:4px; font-size:12px} .chips.fit{gap:4px} }
.secSpent{font-size:11.5px; font-weight:500; color:var(--muted); font-family:var(--f-body)}

/* ---- ترتيب عام ---- */
.subcount{display:inline-block; unicode-bidi:isolate; text-decoration:none}
.task .t-title{line-height:1.55}
.task.is-done .subcount{text-decoration:none}
/* خطوة «خيارات إضافية» في المعالج: أزرار متجاورة وفواصل منتظمة */
.wzStep #advBox{display:flex; flex-wrap:wrap; gap:12px 8px; align-items:flex-start}
.wzStep #advBox > .field,.wzStep #advBox > .footnote,.wzStep #advBox > [hidden]{flex:0 0 100%}
.wzStep #advBox > .reminder-row{flex:0 0 auto}
.wzStep #advBox > .field{margin:6px 0 4px}
.wzStep #advBox .field > label{display:block; margin-bottom:8px}
#actChips{display:grid; grid-template-columns:repeat(4,1fr); gap:8px}
#actChips .chip{justify-content:center; text-align:center; white-space:nowrap; padding:10px 4px; font-size:13.5px; min-width:0}
#actChips .chip.plan{grid-column:1/-1}
.mdRow .primary#actSave{flex:none; width:auto; padding-inline:26px; margin:0}
.sideChips{margin:0 0 12px; gap:6px}.sideChips .chip{flex:1; justify-content:center; padding:7px 4px; font-size:13px}
.sideDonut{width:150px; height:150px; display:block; margin:4px auto 12px}
.sideDonut .dt{fill:var(--ink); font-family:var(--f-display); font-size:15px; font-weight:700; direction:rtl}
.sideDonut .ds{fill:var(--muted); font-size:9px}
.stSec{margin-top:12px; padding-top:10px; border-top:1px solid var(--line)}
.stHead{display:flex; align-items:center; gap:7px; font-size:13.5px; font-weight:700; margin-bottom:6px}
.stDot{width:10px; height:10px; border-radius:50%; flex:none}
.stName{flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.stPct{color:var(--muted); font-weight:500; font-size:12px}
.stV{color:var(--muted); font-size:12px; font-weight:500; flex:none}
.stRow{display:grid; grid-template-columns:1fr auto; gap:2px 8px; font-size:12.5px; margin:6px 0 0 0}
.stRow .stN{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.stBar{grid-column:1/-1; height:6px; border-radius:3px; background:var(--line); overflow:hidden}
.stBar i{display:block; height:100%; border-radius:3px; margin-inline-start:0}
#timeSheetBody .sideCard{border:0; padding:0; background:transparent}
#timeSheetBody .sideHead{font-size:18px; font-family:var(--f-display); margin-bottom:12px}
.wd-cell.sel .dot{box-shadow:0 0 0 2.5px var(--accent); }
.viewDayBar{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 14px; margin:2px 0 14px; border:1px solid var(--line); border-radius:14px; background:var(--surface); font-size:13.5px}
.viewDayBar .chip{padding:6px 14px; font-size:12.5px; flex:none}
#dayInline .dpHead h2{font-size:18px}
.task{transition:opacity .3s}
.task.is-done{opacity:.55}
.task.is-done:focus-within,.task.is-done.is-selected{opacity:.85}
.task.is-skipped{opacity:.55}
