:root { color-scheme: dark; --bg:#0b0d12; --fg:#d7dae0; --dim:#7d8590; --acc:#5cc8ff; }
* { box-sizing: border-box; }
html, body { margin:0; height:100%; background:var(--bg); color:var(--fg); font:14px/1.4 system-ui, -apple-system, Segoe UI, sans-serif; }
body { display:flex; flex-direction:column; }
header, footer { display:flex; justify-content:space-between; align-items:center; padding:8px 14px; gap:12px; }
header { border-bottom:1px solid #1c2230; }
footer { border-top:1px solid #1c2230; color:var(--dim); font-size:12px; }
footer a { color:var(--acc); }
footer button { background:none; border:1px solid #2a3245; color:var(--fg); border-radius:4px; padding:2px 8px; cursor:pointer; }
.brand { font-weight:600; letter-spacing:.2px; }
.mark { color:var(--acc); }
.sep { color:var(--dim); margin:0 4px; }
.meta { color:var(--dim); font-size:12px; display:flex; gap:10px; align-items:center; }
.pill { border:1px solid #2a3245; border-radius:999px; padding:1px 8px; }
#body { flex:1; min-height:0; display:flex; }
main { flex:1; min-width:0; min-height:0; padding:8px; position:relative; }
#home { width:300px; flex:none; border-left:1px solid #1c2230; padding:10px 14px; overflow:auto; font-size:13px; }
#home h2 { font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--dim); margin:4px 0 10px; font-weight:600; }
.task { border:1px solid #1c2230; border-radius:8px; padding:10px 12px; margin-bottom:10px; background:#0f131a; }
.task h3 { margin:0 0 4px; font-size:14px; }
.task p { margin:0 0 6px; color:#aab1bd; }
#task-check { border-color:#24425a; }
.row { display:flex; gap:6px; flex-wrap:wrap; margin-top:6px; }
#home button { background:#1c2433; border:1px solid #2a3245; color:var(--fg); border-radius:5px; padding:4px 9px; cursor:pointer; font:inherit; }
#home button.link { background:none; border:0; padding:0; color:var(--acc); text-decoration:underline; }
#home button:disabled { opacity:.45; cursor:default; }
.st { margin-top:8px; color:var(--dim); min-height:1.2em; }
.st.error { color:#ff8f8f; } .st.done { color:var(--fg); }
#report { margin-top:6px; } #report-sum { color:#aab1bd; }
#report-sum b.bad { color:#ff8f8f; } #report-sum b.good { color:#7ee2a8; }
kbd, code { font:12px ui-monospace, Menlo, monospace; background:#1c2433; border-radius:3px; padding:0 3px; }
.fine { color:var(--dim); font-size:12px; }
#drop { display:none; position:fixed; inset:0; background:rgba(11,13,18,.82); z-index:10; align-items:center; justify-content:center; }
#drop > div { border:2px dashed var(--acc); border-radius:14px; padding:40px 60px; text-align:center; font-size:20px; }
#drop span { color:var(--dim); font-size:13px; }
body.dropping #drop { display:flex; }
@media (max-width: 900px) { #home { display:none; } }
#term { width:100%; height:100%; }
.modes { display:inline-flex; border:1px solid #2a3245; border-radius:6px; overflow:hidden; }
.modes button { background:none; border:0; color:var(--dim); padding:2px 10px; cursor:pointer; font:inherit; }
.modes button.on { background:#1c2433; color:var(--fg); }
.modes button:disabled { opacity:.45; cursor:default; }
#desk { position:absolute; inset:8px; background:#10141c; border-radius:6px; overflow:hidden; }
#desk[hidden] { display:none; }
#wl { position:absolute; inset:0; }
#desk-note { position:absolute; left:50%; top:45%; transform:translate(-50%,-50%); color:var(--dim); pointer-events:none; }
#desk.has-window #desk-note { display:none; }
