Files
ProjectDashboard/public/index.html

1328 lines
112 KiB
HTML
Raw Normal View History

2026-11-12 09:32:23 +01:00
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>Projekte</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z'/%3E%3Cpath d='m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65'/%3E%3Cpath d='m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65'/%3E%3C/svg%3E">
<style>
:root {
--bg: #f5f6fa; --surface: #ffffff; --surface-2: #f0f2f7; --surface-3: #e7eaf1;
--text: #151823; --muted: #6b7183; --border: #e3e6ee; --border-strong: #cfd4df;
--accent: #6366f1; --accent-2: #8b5cf6; --accent-soft: #eef0ff; --accent-text: #4338ca;
--green: #16a34a; --green-soft: #dcfce7; --yellow: #d97706; --yellow-soft: #fef3c7;
--red: #dc2626; --red-soft: #fee2e2; --blue: #2563eb; --blue-soft: #dbeafe;
--violet: #7c3aed; --violet-soft: #ede9fe; --cyan: #0e7490; --cyan-soft: #e0f7fa;
--shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.06);
--shadow-lg: 0 12px 32px rgba(16,24,40,.14);
--radius: 12px;
2026-11-12 14:03:53 +01:00
/* storage page: what a folder is (validated categorical slots blue/orange/aqua) */
--t-cache: #eb6834; --t-release: #2a78d6; --t-output: #1baf7a; --t-rest: #e7eaf1; --t-rest-ink: #151823;
/* activity heatmap: one hue, near-zero recedes to the surface */
--h0: #eef0f4; --h1: #b7d3f6; --h2: #6da7ec; --h3: #2a78d6; --h4: #184f95;
2026-11-12 09:32:23 +01:00
color-scheme: light;
}
:root[data-theme="dark"] {
--bg: #0e1016; --surface: #171a23; --surface-2: #1e222d; --surface-3: #272c39;
--text: #e8eaf1; --muted: #9097a8; --border: #2a2f3c; --border-strong: #3a4050;
--accent: #818cf8; --accent-2: #a78bfa; --accent-soft: #252a4a; --accent-text: #c7d2fe;
--green: #4ade80; --green-soft: #14321f; --yellow: #fbbf24; --yellow-soft: #3a2c0c;
--red: #f87171; --red-soft: #3b1717; --blue: #60a5fa; --blue-soft: #172a4a;
--violet: #a78bfa; --violet-soft: #2a1f47; --cyan: #67e8f9; --cyan-soft: #0f2e35;
--shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-lg: 0 16px 40px rgba(0,0,0,.5);
2026-11-12 14:03:53 +01:00
--t-cache: #d95926; --t-release: #3987e5; --t-output: #199e70; --t-rest: #272c39; --t-rest-ink: #e8eaf1;
--h0: #1e222d; --h1: #104281; --h2: #256abf; --h3: #3987e5; --h4: #86b6ef;
2026-11-12 09:32:23 +01:00
color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Segoe UI Variable", "Segoe UI", -apple-system, Roboto, sans-serif; background: var(--bg); color: var(--text); font-size: 14px; }
button, input, select, textarea { font-family: inherit; color: inherit; }
.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; vertical-align: -3px; }
.i.sm { width: 13px; height: 13px; vertical-align: -2px; }
.i.lg { width: 20px; height: 20px; }
.i.xl { width: 26px; height: 26px; }
/* ── top bar ─────────────────────────────────────────────────────────── */
header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.topbar { display: flex; align-items: center; gap: 14px; padding: 12px 22px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 4px 12px rgba(99,102,241,.35); }
.brand h1 { font-size: 17px; margin: 0; letter-spacing: -.01em; }
.brand .count { color: var(--muted); font-size: 12px; }
2026-11-12 14:03:53 +01:00
.updbanner { display: flex; align-items: center; gap: 10px; padding: 8px 22px; background: var(--accent-soft); color: var(--accent-text); font-size: 13px; border-top: 1px solid var(--border); }
.updbanner[hidden] { display: none; }
.updbanner span { flex: 1; min-width: 0; }
.updbanner .btn { padding: 5px 12px; }
2026-11-12 09:32:23 +01:00
.rootpick { position: relative; }
#rootBtn { display: flex; align-items: center; gap: 5px; border: none; background: none; padding: 2px 6px; margin: -2px -6px; border-radius: 7px; cursor: pointer; max-width: 260px; }
#rootBtn h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#rootBtn:hover, #rootBtn[aria-expanded="true"] { background: var(--surface-2); }
#rootBtn .i { color: var(--muted); }
.rootmenu { position: absolute; top: calc(100% + 6px); left: -6px; min-width: 280px; max-width: 420px; max-height: 70vh; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 5px; z-index: 30; }
.rootmenu button { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; border: none; background: none; padding: 7px 9px; border-radius: 7px; cursor: pointer; font-size: 13px; }
.rootmenu button:hover, .rootmenu button:focus-visible { background: var(--surface-2); outline: none; }
.rootmenu button .rn { font-weight: 600; }
.rootmenu button .rp { display: block; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 330px; }
.rootmenu button .chk { width: 16px; color: var(--accent-text); }
.rootmenu button[aria-selected="true"] { background: var(--accent-soft); }
.rootmenu .rmrow { display: flex; align-items: stretch; gap: 2px; }
.rootmenu .rmrow [data-root] { flex: 1; min-width: 0; }
.rootmenu .rmbox { width: 34px; flex: 0 0 auto; justify-content: center; padding: 0; color: var(--muted); }
.rootmenu .rmbox[aria-checked="true"] { color: var(--accent-text); }
.rootmenu .rmbox .i { width: 16px; height: 16px; }
.rtag { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 0 5px; margin-left: 6px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
2026-11-12 14:03:53 +01:00
.card .rootline { margin-top: 6px; }
.card .rootline .rtag { margin-left: 0; max-width: 100%; }
2026-11-12 09:32:23 +01:00
.rootmenu .sep { height: 1px; background: var(--border); margin: 5px 2px; }
.seg { display: flex; gap: 2px; background: var(--surface-2); padding: 3px; border-radius: 10px; border: 1px solid var(--border); }
.seg button { border: none; background: none; padding: 6px 12px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; display: flex; align-items: center; gap: 6px; }
.seg button:hover { color: var(--text); }
.seg button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.searchbox { margin-left: auto; position: relative; }
.searchbox .i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); }
#search { padding: 8px 12px 8px 32px; border: 1px solid var(--border); border-radius: 9px; font-size: 13px; width: 240px; background: var(--surface); outline: none; }
#search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.seg.theme button { padding: 6px 10px; }
.iconbtn { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.iconbtn:hover { color: var(--text); border-color: var(--border-strong); }
.btn { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.btn:hover { border-color: var(--accent); color: var(--accent-text); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.08); color: #fff; }
.btn.danger { background: var(--red); color: #fff; border-color: var(--red); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); padding: 5px 7px; }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
/* ── KPI cards ──────────────────────────────────────────────────────── */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; padding: 16px 22px 4px; align-items: stretch; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); cursor: default; }
.kpi.click { cursor: pointer; }
.kpi.click:hover { border-color: var(--accent); }
.kpi .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; }
.kpi .val { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.kpi .lbl { font-size: 12px; color: var(--muted); }
.kpi.c-accent .ico { background: var(--accent-soft); color: var(--accent); }
.kpi.c-red .ico { background: var(--red-soft); color: var(--red); }
.kpi.c-blue .ico { background: var(--blue-soft); color: var(--blue); }
.kpi.c-yellow .ico { background: var(--yellow-soft); color: var(--yellow); }
.scanbox { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 190px; }
.progress { height: 5px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s; }
.scanbox .sub { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
/* ── toolbar ─────────────────────────────────────────────────────────── */
.toolbar { display: flex; align-items: center; gap: 8px; padding: 12px 22px 0; flex-wrap: wrap; }
.toolbar .sel { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 0 4px 0 10px; color: var(--muted); }
.toolbar select { border: none; background: transparent; padding: 7px 4px; font-size: 13px; outline: none; color: var(--text); cursor: pointer; }
.toolbar select option { background: var(--surface); }
.chipfilters { display: flex; gap: 6px; flex-wrap: wrap; }
.fchip { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.fchip:hover { color: var(--text); }
.fchip.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); }
.fchip .n { font-size: 11px; opacity: .8; }
main { padding: 14px 22px 40px; }
.view { display: none; }
.view.active { display: block; }
/* ── shared bits ─────────────────────────────────────────────────────── */
.avatar { position: relative; width: 38px; height: 38px; border-radius: 10px; flex: 0 0 auto; overflow: hidden; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; background: var(--c); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--surface); }
.avatar.lg { width: 52px; height: 52px; border-radius: 13px; font-size: 18px; }
.git { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; }
.git.green { color: var(--green); } .git.yellow { color: var(--yellow); } .git.red { color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid transparent; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-weight: 500; }
.chip.tech { background: var(--cyan-soft); color: var(--cyan); }
.chip.neutral { background: var(--surface-2); color: var(--muted); border-color: var(--border); }
.chip.warn { background: var(--yellow-soft); color: var(--yellow); }
.chip.bad { background: var(--red-soft); color: var(--red); }
.chip.ok { background: var(--green-soft); color: var(--green); }
.chip.tag { background: var(--accent-soft); color: var(--accent-text); }
/* itch.io published */
.chip.pub { background: #fa5c5c22; color: #e0454a; text-decoration: none; cursor: pointer; }
.chip.pub:hover { background: #fa5c5c3a; }
.tbadge.pub, .ri.pub { color: #e0454a; text-decoration: none; }
.st { font-size: 11px; padding: 2px 9px 2px 7px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.st.idea { background: var(--surface-2); color: var(--muted); }
.st.active { background: var(--green-soft); color: var(--green); }
.st.paused { background: var(--yellow-soft); color: var(--yellow); }
.st.done { background: var(--blue-soft); color: var(--blue); }
.st.archived { background: var(--violet-soft); color: var(--violet); }
.prio { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); }
.prio.high { color: var(--red); }
.empty { color: var(--muted); font-size: 13px; padding: 24px; text-align: center; }
/* ── board ───────────────────────────────────────────────────────────── */
#board.active { display: grid; grid-template-columns: repeat(5, minmax(260px, 1fr)); gap: 14px; overflow-x: auto; align-items: start; }
.column { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 10px; min-height: 140px; transition: background .15s, border-color .15s; }
.column.drag-over { border-color: var(--accent); background: var(--accent-soft); }
.column h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 2px 4px 10px; display: flex; align-items: center; gap: 7px; }
.column h2 .n { margin-left: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 0 8px; font-size: 11px; color: var(--text); }
.column h2 .bar { width: 4px; height: 14px; border-radius: 3px; background: var(--c); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: 11px 12px; margin-bottom: 8px; cursor: grab; box-shadow: var(--shadow); transition: border-color .12s, transform .12s, box-shadow .12s; }
.card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.card.dragging { opacity: .45; }
.card .head { display: flex; gap: 10px; align-items: center; }
.card .name { font-weight: 650; font-size: 14px; word-break: break-word; line-height: 1.25; }
.card .sub { font-size: 11px; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-top: 2px; }
.card .row2 { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; gap: 6px; }
.card .commit { font-size: 11px; color: var(--muted); margin-top: 7px; display: flex; gap: 5px; align-items: flex-start; }
.card .commit span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .chips { margin-top: 8px; }
.card .notes { font-size: 12px; color: var(--muted); margin-top: 8px; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.taskbar { margin-top: 9px; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.taskbar .bar { flex: 1; height: 5px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.taskbar .bar > div { height: 100%; background: var(--green); }
/* ── gallery ─────────────────────────────────────────────────────────── */
#galleryGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; cursor: pointer; box-shadow: var(--shadow); transition: transform .12s, border-color .12s, box-shadow .12s; position: relative; display: flex; flex-direction: column; }
.tile:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.tile .thumb { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; position: relative; background: var(--c); }
.tile .thumb .ini { font-size: 44px; font-weight: 800; color: rgba(255,255,255,.95); letter-spacing: .02em; }
.tile .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14%; background: radial-gradient(circle at 50% 40%, var(--surface), var(--surface-2)); }
.tile .thumb img.photo { object-fit: cover; padding: 0; }
.tile .st { position: absolute; top: 10px; left: 10px; box-shadow: var(--shadow); }
/* top-right badges on tiles: MyCloud backup (hard drive) + git (cloud) */
.tile .tbadges { position: absolute; top: 9px; right: 9px; display: flex; gap: 5px; }
.tile .tbadge { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); }
.tbadge.green { color: var(--green); } .tbadge.yellow { color: var(--yellow); } .tbadge.red { color: var(--red); }
/* MyCloud chip on cards and in the list */
.bk { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; white-space: nowrap; flex: 0 0 auto; }
.bk.green { color: var(--green); } .bk.yellow { color: var(--yellow); } .bk.red { color: var(--red); }
.card .row2 .bk { margin-left: auto; }
.tile .info { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.tile .name { font-size: 14px; font-weight: 650; word-break: break-word; line-height: 1.25; }
.tile .ghead { display: flex; align-items: flex-start; gap: 8px; }
.tile .ghead { align-items: center; }
.tile .ghead .name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; word-break: normal; }
.tile .meta { font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; margin-top: auto; }
/* ── list ────────────────────────────────────────────────────────────── */
.tablewrap { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: auto; box-shadow: var(--shadow); }
table.list { width: 100%; border-collapse: collapse; font-size: 13px; }
table.list th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface-2); position: sticky; top: 0; cursor: pointer; user-select: none; white-space: nowrap; }
table.list th:hover { color: var(--text); }
table.list th.num, table.list td.num { text-align: right; }
table.list td { padding: 8px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.list tr:last-child td { border-bottom: none; }
table.list tbody tr { cursor: pointer; }
table.list tbody tr:hover td { background: var(--surface-2); }
table.list .nm { display: flex; align-items: center; gap: 10px; font-weight: 600; }
table.list .avatar { width: 30px; height: 30px; border-radius: 8px; font-size: 11px; }
table.list .acts { display: flex; gap: 2px; justify-content: flex-end; }
.bigval { font-variant-numeric: tabular-nums; }
.clean-val { color: var(--yellow); font-weight: 600; }
/* ── drawer (editor) ────────────────────────────────────────────────── */
#overlay { position: fixed; inset: 0; background: rgba(10,12,20,.45); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 20; }
#overlay.open { opacity: 1; pointer-events: auto; }
#panel { position: fixed; top: 0; right: 0; bottom: 0; width: 560px; max-width: 100vw; background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .22s ease; z-index: 21; display: flex; flex-direction: column; }
#panel.open { transform: none; }
.phead { padding: 18px 20px 0; display: flex; gap: 14px; align-items: center; }
.phead h3 { margin: 0; font-size: 18px; word-break: break-word; }
.phead .sub { margin-top: 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.phead .close { margin-left: auto; align-self: flex-start; }
.pquick { display: flex; gap: 6px; padding: 12px 20px 0; flex-wrap: wrap; }
#ptabs { margin: 14px 20px 0; }
#ptabs button { flex: 1; justify-content: center; }
.pbody { flex: 1; overflow-y: auto; padding: 4px 20px 20px; }
.pfoot { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--border); }
.pfoot .btn { flex: 1; justify-content: center; padding: 9px; font-weight: 600; }
.psec { display: none; } .psec.active { display: block; }
.field label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin: 14px 0 5px; font-weight: 500; }
.field select, .field textarea, .field input[type=text] { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; background: var(--surface); outline: none; }
.field select:focus, .field textarea:focus, .field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 80px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
#taskList { margin: 4px 0 0; padding: 0; list-style: none; }
#taskList li { display: flex; align-items: center; gap: 8px; padding: 6px 2px; border-bottom: 1px solid var(--border); font-size: 13px; }
#taskList li.done span { text-decoration: line-through; color: var(--muted); }
#taskList li span { flex: 1; word-break: break-word; }
#taskList input[type=checkbox] { accent-color: var(--accent); width: 15px; height: 15px; }
#taskAddRow { display: flex; gap: 8px; margin-top: 8px; }
#taskAddRow input { flex: 1; }
.card-sec { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-top: 14px; }
.card-sec h4 { margin: 0 0 8px; font-size: 13px; display: flex; align-items: center; gap: 7px; }
.card-sec h4 .i { color: var(--accent); }
.dangerzone { border-color: var(--red); background: var(--red-soft); }
.dangerzone .hint { color: var(--red); opacity: .95; }
2026-11-12 09:32:23 +01:00
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 10px; font-size: 13px; }
.kv > div:nth-child(odd) { color: var(--muted); }
.kv > div { word-break: break-word; }
.actgroup { display: flex; flex-wrap: wrap; gap: 7px; }
.cand { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 8px; }
.cand td { padding: 6px 4px; border-top: 1px solid var(--border); }
.cand td.mb { text-align: right; white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.cand input { accent-color: var(--red); }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
code.cmd { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 7px 9px; font-size: 12px; margin-top: 6px; word-break: break-all; user-select: all; font-family: Consolas, monospace; }
.iconprev { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); vertical-align: middle; margin-right: 6px; }
#toast { position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 10px); background: #111827; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 13px; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; z-index: 30; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow-lg); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
/* ── fit-to-window layout ────────────────────────────────────────────
The page itself never scrolls: header, KPIs and toolbar stay fixed,
<main> takes the remaining height, and only the content inside it
(board columns, gallery, list) scrolls – vertically, never sideways. */
html, body { height: 100%; overflow: hidden; }
body { display: flex; flex-direction: column; }
header { position: static; flex: 0 0 auto; }
.kpis, .toolbar { flex: 0 0 auto; }
.kpis { padding: 12px 22px 0; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(150px, auto); container-type: inline-size; }
.kpi { padding: 9px 12px; gap: 10px; min-width: 0; }
.kpi > div:last-child { min-width: 0; }
.kpi .ico { width: 34px; height: 34px; }
.kpi .val { font-size: 18px; }
.kpi .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scanbox { min-width: 150px; }
.toolbar { padding: 10px 22px 0; }
main { flex: 1 1 auto; min-height: 0; padding: 10px 22px 14px; overflow: hidden; container-type: inline-size; container-name: main; }
.view.active { height: 100%; }
/* simple/home page: fixed bar on top, only the grid scrolls */
#home.active { display: flex; flex-direction: column; }
#home .homebar { flex: 0 0 auto; }
#home #homeGrid { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; padding-right: 4px; }
2026-11-12 14:03:53 +01:00
/* activity page */
#activity.active { overflow-y: auto; overflow-x: hidden; padding-right: 4px; }
.heatscroll { overflow-x: auto; padding-bottom: 4px; }
.heat { display: grid; grid-template-columns: 26px repeat(53, 13px); grid-template-rows: 16px repeat(7, 13px); gap: 3px; width: max-content; font-size: 10px; color: var(--muted); }
.heat .ml { grid-row: 1; white-space: nowrap; }
.heat .dl { grid-column: 1; line-height: 13px; }
.hc { width: 13px; height: 13px; border-radius: 3px; background: var(--h0); cursor: pointer; padding: 0; border: none; }
.hc[data-l="1"] { background: var(--h1); } .hc[data-l="2"] { background: var(--h2); } .hc[data-l="3"] { background: var(--h3); } .hc[data-l="4"] { background: var(--h4); }
.hc.future { visibility: hidden; }
.hc:hover, .hc:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.hc.sel { outline: 2px solid var(--accent); outline-offset: 1px; }
.hleg { display: inline-flex; gap: 3px; align-items: center; }
.hleg .hc { cursor: default; width: 11px; height: 11px; }
.acgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@container main (max-width: 900px) { .acgrid { grid-template-columns: 1fr; } }
.aclist { display: flex; flex-direction: column; gap: 2px; }
.aclist button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; border: none; background: none; padding: 6px 8px; margin: 0 -8px; border-radius: 7px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.aclist button:hover { background: var(--surface-2); }
.aclist b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aclist .m { font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hmini { overflow-x: auto; overflow-y: hidden; }
/* the Info card sits on surface-2 - empty days need a step that stays visible there */
.hmini .hc[data-l="0"] { background: var(--surface-3); }
.hmini .heat { grid-template-columns: 22px repeat(26, 11px); grid-template-rows: 14px repeat(7, 11px); gap: 2px; }
.hmini .hc { width: 11px; height: 11px; border-radius: 2px; cursor: default; }
.hmini .dl { line-height: 11px; }
/* storage page */
#storage.active { overflow-y: auto; overflow-x: hidden; padding-right: 4px; }
body.view-wide .kpis, body.view-wide .toolbar { display: none; }
.stwrap { display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; }
.stkpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stkpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.stkpi .lbl { font-size: 12px; color: var(--muted); }
.stkpi .val { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.stkpi .sub { font-size: 12px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.stkpi .btn { align-self: flex-start; }
.stbar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--surface-3); gap: 2px; }
.stbar > span { display: block; height: 100%; min-width: 2px; }
.stgrid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 12px; }
@container main (max-width: 1100px) { .stgrid { grid-template-columns: 1fr; } .stkpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); min-width: 0; position: relative; }
.sthead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.sth { margin: 0; font-size: 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.stside .sth { margin-bottom: 10px; }
.stcrumbs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 13px; font-weight: 600; min-width: 0; flex: 1; }
.stcrumbs button { border: none; background: none; padding: 3px 6px; border-radius: 6px; color: var(--accent-text); cursor: pointer; font: inherit; }
.stcrumbs button:hover { background: var(--surface-2); }
.stcrumbs .cur { padding: 3px 6px; }
.stcrumbs .sep { color: var(--muted); }
.stlegend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.stlegend span { display: inline-flex; align-items: center; gap: 5px; }
.stlegend i, .sttier i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.treemap { position: relative; height: clamp(320px, 52vh, 620px); border-radius: 8px; overflow: hidden; background: var(--surface); }
.tm { position: absolute; box-sizing: border-box; border: 1px solid var(--surface); border-radius: 4px; overflow: hidden; background: var(--t-rest); color: var(--t-rest-ink); cursor: pointer; padding: 6px 7px; display: flex; flex-direction: column; gap: 1px; transition: filter .12s; }
.tm:hover, .tm:focus-visible { filter: brightness(1.08); outline: 2px solid var(--accent); outline-offset: -2px; z-index: 2; }
.tm.flat { cursor: default; }
.tm.flat:hover { outline: none; }
.tm.t-Cache { background: var(--t-cache); color: #fff; }
.tm.t-Release { background: var(--t-release); color: #fff; }
.tm.t-Output { background: var(--t-output); color: #fff; }
.tm .n { font-size: 12px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm .v { font-size: 11px; opacity: .8; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tm .dl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; height: 5px; gap: 2px; }
.tm .dl span { display: block; height: 100%; }
.tmgroup { position: absolute; box-sizing: border-box; border-radius: 6px; }
.tmgroup > .gl { position: absolute; left: 4px; top: 2px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; right: 4px; }
.sttip { position: absolute; z-index: 5; pointer-events: none; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px; box-shadow: var(--shadow-lg); padding: 8px 10px; font-size: 12px; max-width: 280px; color: var(--text); }
.sttip b { display: block; font-size: 13px; margin-bottom: 2px; overflow-wrap: anywhere; }
.sttip .r { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); }
.sttip .r span:last-child { color: var(--text); font-variant-numeric: tabular-nums; }
.stempty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 13px; padding: 20px; }
.sttop { display: flex; flex-direction: column; gap: 8px; }
.sttop button { display: flex; flex-direction: column; gap: 4px; border: none; background: none; padding: 4px 6px; margin: 0 -6px; border-radius: 7px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.sttop button:hover { background: var(--surface-2); }
.sttop .row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.sttop .row b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sttop .row span { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sttop .track { display: flex; height: 8px; gap: 2px; }
.sttop .track span { display: block; height: 100%; border-radius: 0; }
.sttop .track span:first-child { border-radius: 4px 0 0 4px; }
.sttop .track span:last-child { border-radius: 0 4px 4px 0; }
.sttop .track span:only-child { border-radius: 4px; }
.sttop .track .rest { background: var(--border-strong); }
.stdel { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sttable td.num { font-variant-numeric: tabular-nums; text-align: right; }
.sttable td.path { font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: 12px; overflow-wrap: anywhere; white-space: normal; }
.sttable input { accent-color: var(--red); }
.sttier { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
2026-11-12 09:32:23 +01:00
#gallery.active { overflow-y: auto; overflow-x: hidden; padding: 2px 4px 8px 2px; }
#list.active .tablewrap { max-height: 100%; overflow-y: auto; overflow-x: hidden; }
#board.active { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; overflow: hidden; align-items: stretch; }
.column { display: flex; flex-direction: column; min-height: 0; min-width: 0; padding: 8px; container-type: inline-size; }
.column h2 { flex: 0 0 auto; }
.column .cards { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 0 2px 2px 0; margin-right: -4px; padding-right: 4px; }
.card { min-width: 0; }
.card .head > div:not(.avatar) { flex: 1 1 auto; }
.avatar { flex: 0 0 auto; }
.card .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .row2 { min-width: 0; }
.git { min-width: 0; max-width: 100%; }
.git .gl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.card .git { flex: 1 1 auto; }
/* toolbar stays one row: chips drop their labels first */
.toolbar { flex-wrap: nowrap; container-type: inline-size; container-name: toolbar; }
.chipfilters { flex-wrap: nowrap; min-width: 0; overflow: hidden; }
.toolbar .sel { flex: 0 0 auto; }
@container toolbar (max-width: 1050px) { .fchip:not(.active) .fl { display: none; } .fchip { padding: 5px 9px; } }
@container toolbar (max-width: 700px) { .fchip .fl { display: none; } }
/* narrow columns → compact cards */
@container (max-width: 250px) {
.card { padding: 9px 10px; }
.card .commit, .card .notes { display: none; }
.card .head { gap: 8px; }
.card .avatar { width: 30px; height: 30px; border-radius: 8px; font-size: 11px; }
.card .name { font-size: 13px; }
.card .sub span:last-child { display: none; }
.card .chip { font-size: 10px; padding: 1px 6px; }
.card .row2 { margin-top: 7px; }
.column h2 { font-size: 11px; letter-spacing: .03em; }
}
@container (max-width: 190px) {
.card .chip.neutral, .card .chip.tag { display: none; }
.card .git { font-size: 11px; }
}
/* KPIs: shrink instead of wrapping into more rows */
@container (max-width: 980px) { .kpi .ico { display: none; } .kpi .val { font-size: 16px; } }
@container (max-width: 720px) { .kpi .lbl { font-size: 11px; } .scanbox .sub { display: none; } }
/* list: drop less important columns instead of scrolling sideways */
table.list td, table.list th { white-space: nowrap; }
table.list .nm span { overflow: hidden; text-overflow: ellipsis; max-width: 260px; display: inline-block; vertical-align: middle; }
@container main (max-width: 1350px) { table.list .c-act { display: none; } }
@container main (max-width: 1180px) { table.list .c-tech { display: none; } table.list .nm span { max-width: 180px; } }
@container main (max-width: 900px) { table.list .c-clean, table.list .c-status { display: none; } }
/* top bar stays one row: extra texts go first, then tab labels */
.topbar { flex-wrap: nowrap; }
.topbar > * { flex-shrink: 0; }
.searchbox { flex: 1 1 240px; max-width: 280px; min-width: 110px; margin-left: auto; }
#search { width: 100%; }
.seg#tabs button .tl { white-space: nowrap; }
@media (max-width: 1350px) { .brand .count { display: none; } #btnBackup .bsub { display: none; } }
@media (max-width: 1180px) { .seg#tabs button .tl { display: none; } .seg#tabs button { padding: 6px 10px; } }
@media (max-width: 760px) { #btnBackup span:not(.bsub):not(.tabn) { display: none; } .brand h1 { display: none; } }
/* ── board: compact row mode ────────────────────────────────────────── */
#boardMode { flex: 0 0 auto; }
#boardMode button { padding: 5px 10px; font-size: 12px; }
@container toolbar (max-width: 900px) { #boardMode .bm-l { display: none; } }
.card.row { padding: 6px 8px; margin-bottom: 4px; border-radius: 9px; }
.card.row:hover { transform: none; box-shadow: var(--shadow); }
.card.row .rhead { display: flex; align-items: center; gap: 8px; min-width: 0; }
.card.row .avatar { width: 26px; height: 26px; border-radius: 7px; font-size: 10px; }
.card.row .name { flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card.row .ricons { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; font-size: 11px; color: var(--muted); }
.card.row .ricons .ri { display: inline-flex; align-items: center; gap: 2px; }
.card.row .ricons .ri.green { color: var(--green); } .card.row .ricons .ri.yellow { color: var(--yellow); } .card.row .ricons .ri.red { color: var(--red); }
.card.row .prio-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; background: var(--border-strong); }
.card.row .prio-dot.high { background: var(--red); } .card.row .prio-dot.low { background: transparent; border: 1px solid var(--border-strong); }
.card.row .qs { width: 24px; height: 24px; border-radius: 7px; margin-left: 0; }
.card.row .qs .i { width: 12px; height: 12px; }
.card.row .qs-ph { width: 24px; flex: 0 0 auto; } /* keeps the icons aligned when there is no ▶ */
.card.row .avatar { width: 30px; height: 30px; }
.card.row .rmain { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.card.row .rsub { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
.card.row .rsub > span { display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; }
.card.row .rsub .ri.green { color: var(--green); } .card.row .rsub .ri.yellow { color: var(--yellow); } .card.row .rsub .ri.red { color: var(--red); }
.card.row .rsub .ds { display: none; }
/* narrower columns: first drop the small icons, then the year, then the size */
@container (max-width: 275px) { .card.row .rsub .rsize > .i, .card.row .rsub .rdate > .i { display: none; } .card.row .rsub { gap: 7px; } }
@container (max-width: 235px) { .card.row .rsub .dl { display: none; } .card.row .rsub .ds { display: inline; } }
@container (max-width: 190px) { .card.row .rsub .rsize { display: none; } }
/* size + last change on cards */
.card .facts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 7px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card .facts span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.card .row2 { margin-top: 6px; }
@container (max-width: 210px) { .card.row .ricons .tasks { display: none; } }
@container (max-width: 170px) { .card.row .avatar { display: none; } }
/* ── quick start ▶ ──────────────────────────────────────────────────── */
.qs { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--accent); display: grid; place-items: center; cursor: pointer; margin-left: auto; transition: background .12s, color .12s, border-color .12s; }
.qs:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.qs.cmd { color: var(--muted); }
.qs.cmd:hover { color: #fff; }
.qs .i { width: 14px; height: 14px; }
/* corner group on cards/rows: [VS Code] [▶] */
.qsg { flex: 0 0 auto; margin-left: auto; display: flex; align-items: center; gap: 4px; }
.qsg .qs { margin-left: 0; }
.qs.vs { color: var(--muted); }
.qs.vs:hover { color: #fff; }
@container (max-width: 190px) { .card .qs { width: 26px; height: 26px; } }
table.list .acts .btn.play { color: var(--accent); }
/* ── tasks view ─────────────────────────────────────────────────────── */
.tabn { font-size: 10px; background: var(--accent); color: #fff; border-radius: 999px; padding: 0 6px; margin-left: 2px; line-height: 16px; }
.tabn:empty { display: none; }
#tasks.active { display: flex; flex-direction: column; gap: 10px; }
.taskbarTop { display: flex; gap: 10px; align-items: center; flex: 0 0 auto; flex-wrap: wrap; }
.taskadd { display: flex; gap: 6px; flex: 1 1 420px; min-width: 0; }
.taskadd select, .taskadd input { padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; background: var(--surface); outline: none; min-width: 0; }
.taskadd select { flex: 0 1 220px; }
.taskadd input { flex: 1 1 auto; }
.taskadd input:focus, .taskadd select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
#taskGroups { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; columns: 340px; column-gap: 12px; padding-right: 2px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
#taskGroups.isEmpty { columns: auto; display: grid; place-items: center; }
#taskGroups.isEmpty .empty { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tgroup { break-inside: avoid; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; box-shadow: var(--shadow); }
.tgroup .tg-head { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; cursor: pointer; }
.tgroup .tg-head .avatar { width: 28px; height: 28px; border-radius: 7px; font-size: 11px; }
.tgroup .tg-head b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tgroup .tg-head .cnt { margin-left: auto; font-size: 11px; color: var(--muted); white-space: nowrap; }
.tgroup .progress { margin: 0 0 6px; height: 4px; }
.tgroup .progress > div { background: var(--green); }
.titem { display: flex; align-items: flex-start; gap: 8px; padding: 6px 2px; border-top: 1px solid var(--border); font-size: 13px; }
.titem input[type=checkbox] { accent-color: var(--green); width: 15px; height: 15px; margin-top: 2px; flex: 0 0 auto; cursor: pointer; }
.titem span { flex: 1; word-break: break-word; }
.titem.done span { text-decoration: line-through; color: var(--muted); }
.titem .del { opacity: 0; border: none; background: none; color: var(--muted); cursor: pointer; padding: 0 2px; }
.titem:hover .del { opacity: 1; }
.titem .del:hover { color: var(--red); }
.tg-add { display: flex; gap: 6px; margin-top: 6px; }
.tg-add input { flex: 1; min-width: 0; padding: 5px 8px; border: 1px dashed var(--border-strong); border-radius: 7px; font-size: 12px; background: transparent; outline: none; }
.tg-add input:focus { border-style: solid; border-color: var(--accent); background: var(--surface); }
/* ── program start buttons (Aktionen) ───────────────────────────────── */
.progs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.prog { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; min-width: 0; transition: border-color .12s, box-shadow .12s, transform .12s; }
.prog:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.prog .pico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 auto; background: var(--accent-soft); color: var(--accent); }
.prog.first .pico { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.prog .ptxt { display: flex; flex-direction: column; min-width: 0; }
.prog .ptxt b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prog .ptxt small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progwrap { position: relative; display: flex; min-width: 0; }
.progwrap .prog { flex: 1; padding-right: 36px; }
.progwrap .pin { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; opacity: .55; }
.progwrap:hover .pin, .progwrap .pin.on { opacity: 1; }
.progwrap .pin:hover { border-color: var(--border); background: var(--surface-2, var(--surface)); color: var(--accent); }
.progwrap .pin.on { color: var(--accent); background: var(--accent-soft); }
.progset { margin-top: 12px; }
.progset label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.hint.warn { color: var(--danger, #c0392b); margin-top: 8px; }
/* ── settings panel ─────────────────────────────────────────────────── */
2026-11-12 14:03:53 +01:00
#spanel { position: fixed; top: 0; right: 0; bottom: 0; width: 720px; max-width: 100vw; background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .22s ease; z-index: 22; display: flex; flex-direction: column; }
2026-11-12 09:32:23 +01:00
#spanel.open { transform: none; }
#spanel.setup #btnCloseSettings, #spanel.setup #spCancel { display: none; }
.pickrow { display: flex; gap: 6px; }
.pickrow input { flex: 1; min-width: 0; }
.pickrow .btn { flex: 0 0 auto; }
body.no-picker .pickbtn { display: none; }
.dlg { border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; width: 480px; max-width: calc(100vw - 32px); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.dlg::backdrop { background: rgba(15, 23, 42, .45); }
.dlg select, .dlg > form > input[type=text] { width: 100%; }
.dlg label.chk { color: var(--text); font-weight: 400; font-size: 13px; margin: 8px 0 0; }
.dlg .hint { margin-top: 8px; }
body.no-picker #rdPick { display: none; }
.dlgfoot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
2026-11-12 15:58:44 +01:00
/* project panel: action groups, jump links, itch.io copy view */
.agroup-h { display: flex; align-items: center; gap: 6px; margin: 20px 0 -4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.agroup-h::after { content: ""; flex: 1; height: 1px; background: var(--border); }
#sec-actions > .agroup-h:first-child { margin-top: 10px; }
.card-sec h4 .h4r { margin-left: auto; display: flex; gap: 6px; align-items: center; font-weight: 400; }
.card-sec h4 .h4r .i, .isec h4 .h4r .i { color: inherit; }
a.jump { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--accent-text); text-decoration: none; }
a.jump:hover { text-decoration: underline; }
2026-11-12 20:23:53 +01:00
/* projects in subfolders (scanner dialog) */
#nestBody { padding: 4px 20px 12px; }
.nestfoot { display: flex; gap: 8px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--border); position: sticky; bottom: 0; background: var(--surface); }
.nestfoot .sp { flex: 1; }
.nroot { margin-top: 14px; }
.nroot > h4 { margin: 0 0 6px; font-size: 13px; display: flex; gap: 7px; align-items: center; }
.nroot > h4 .hint { margin: 0; font-weight: 400; }
.ngroup { border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.ngroup .nghead { display: flex; gap: 8px; align-items: center; padding: 8px 12px; font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--border); }
.ngroup .nghead .hint { margin: 0 0 0 auto; font-weight: 400; }
.nitem { display: flex; gap: 10px; align-items: center; padding: 7px 12px; font-size: 13px; border-top: 1px solid var(--border); cursor: pointer; }
.nitem:first-of-type { border-top: 0; }
.nitem input { flex: 0 0 auto; }
.nitem .nrel { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nitem .nrel b { font-weight: 600; }
.nitem .chip { font-size: 10px; }
.card .rootline .rtag + .rtag { margin-left: 4px; }
2026-11-12 20:58:18 +01:00
body.no-itch .feat-itch { display: none !important; }
/* simple / advanced view (switch in the header, localStorage dash.mode) */
body.simple .adv { display: none !important; }
body:not(.simple) .simple-only { display: none !important; }
body.simple #kpis, body.simple .toolbar, body.simple #sec-actions .agroup-h { display: none !important; }
body.simple #sec-edit .grid2 { grid-template-columns: 1fr; }
.homebar { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 18px; }
.hpill { font: inherit; font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
.hpill:hover { color: var(--text); border-color: var(--accent); }
.hpill.active { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; font-weight: 600; }
.hpill .n { font-size: 11px; opacity: .75; font-variant-numeric: tabular-nums; }
.hpill.due { color: var(--yellow, #f59e0b); }
.hpill.due.active { background: color-mix(in srgb, var(--yellow, #f59e0b) 18%, transparent); color: var(--yellow, #f59e0b); }
.homebar .hctl { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.homebar .hctl select { font: inherit; font-size: 13px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.hseg { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.hseg button { font: inherit; border: 0; background: var(--surface); color: var(--muted); cursor: pointer; padding: 6px 10px; display: inline-flex; align-items: center; }
.hseg button:hover { color: var(--text); }
.hseg button.active { background: var(--accent-soft); color: var(--accent-text); }
.hseg button + button { border-left: 1px solid var(--border); }
2026-11-12 20:58:18 +01:00
#homeGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
#homeGrid.compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
#homeGrid.compact .htile { padding: 12px; gap: 7px; }
#homeGrid.compact .htile .hicon { width: 40px; height: 40px; flex-basis: 40px; font-size: 15px; }
#homeGrid.compact .htile .hdesc { -webkit-line-clamp: 1; min-height: 0; }
#homeGrid.list { grid-template-columns: 1fr; gap: 8px; }
#homeGrid.list .htile { flex-direction: row; align-items: center; padding: 10px 16px; gap: 16px; }
#homeGrid.list .htile .hhead { flex: 1 1 40%; min-width: 0; }
#homeGrid.list .htile .hicon { width: 38px; height: 38px; flex-basis: 38px; font-size: 14px; border-radius: 10px; }
#homeGrid.list .htile .hdesc { flex: 2 1 0; min-height: 0; margin: 0; -webkit-line-clamp: 2; }
#homeGrid.list .htile .hfoot { flex: 0 0 auto; margin: 0; padding: 0; border: 0; }
#homeGrid.list .hgroup { padding: 2px 0; }
@container main (max-width: 680px) { #homeGrid.list .htile .hdesc { display: none; } }
2026-11-12 20:58:18 +01:00
.htile { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; cursor: pointer; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: transform .12s, border-color .12s, box-shadow .12s; min-width: 0; }
.htile:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.htile .hhead { display: flex; gap: 12px; align-items: center; min-width: 0; }
.htile .hicon { width: 52px; height: 52px; border-radius: 12px; flex: 0 0 52px; overflow: hidden; position: relative; background: var(--c, var(--surface-3)); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 18px; }
.htile .hicon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--surface-2); }
.htile .hname { font-size: 16px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.htile .hsub { display: flex; gap: 6px; align-items: center; margin-top: 3px; font-size: 12px; color: var(--muted); min-width: 0; }
.htile .hsub .rtag { margin-left: 0; }
.htile .hdesc { font-size: 13px; line-height: 1.45; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.htile .hdesc.none { color: var(--muted); font-style: italic; }
.htile .hfoot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; border-top: 1px solid var(--border); padding-top: 10px; }
.htile .hfoot .when { font-size: 12px; color: var(--muted); }
.htile .hfoot .qsg { margin-left: auto; }
.htile .hdue { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow, #f59e0b); flex: 0 0 8px; }
.appwin { display: flex; flex-direction: column; gap: 10px; }
.featrow { display: flex !important; gap: 9px; align-items: flex-start; padding: 9px 11px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); cursor: pointer; transition: border-color .12s, background .12s; }
.featrow:hover { border-color: var(--border-strong); }
.featrow:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
2026-11-12 20:58:18 +01:00
.featrow input { margin-top: 3px; }
.featrow b { display: inline-flex; gap: 5px; align-items: center; }
/* favorites */
.favbtn { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 3px; border-radius: 6px; display: inline-grid; place-items: center; opacity: .55; }
.favbtn:hover { opacity: 1; color: var(--yellow); background: var(--surface-2); }
.favbtn.on { color: var(--yellow); opacity: 1; }
.favbtn.on .i, .favmark .i { fill: currentColor; }
.favmark { color: var(--yellow); display: inline-flex; vertical-align: -2px; margin-right: 4px; }
.favbtn.onthumb { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.35); color: #fff; opacity: 0; z-index: 2; }
.tile:hover .favbtn.onthumb, .favbtn.onthumb.on { opacity: 1; }
.favbtn.onthumb.on { color: var(--yellow); }
.htile .hhead { position: relative; }
.favbtn.ontile { position: absolute; top: -8px; right: -8px; opacity: 0; }
.htile:hover .favbtn.ontile, .favbtn.ontile.on { opacity: 1; }
.hgroup { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.hgroup:first-child { margin-top: 0; }
.nonebox { display: flex; gap: 16px; align-items: center; margin: 12vh auto 0; max-width: 560px; padding: 22px 24px; border: 1px dashed var(--border); border-radius: 16px; background: var(--surface); color: var(--text); }
.nonebox[hidden] { display: none; }
.nonebox > .i { color: var(--muted); flex: 0 0 auto; }
.nonebox .btn { margin-left: auto; flex: 0 0 auto; }
body:has(#noneBox:not([hidden])) main > .view { display: none !important; }
/* start screen with progress */
.boot { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(6px); transition: opacity .25s; }
.boot[hidden] { display: none; }
.boot.done { opacity: 0; }
.bootcard { width: min(440px, calc(100vw - 32px)); padding: 28px 28px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.bootcard .logo { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); margin-bottom: 6px; }
.bootstep { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bootlabel { font-size: 15px; font-weight: 600; }
.bootbar { width: 100%; height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin-top: 8px; }
.bootbar > div { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s ease; }
.bootmeta { width: 100%; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bootcard .btn { margin-top: 8px; font-size: 12px; }
/* header compaction levels (set by fitHeader when it does not fit) */
body.hc1 .seg#tabs button .tl { display: none; }
body.hc1 .seg#tabs button { padding: 6px 10px; }
body.hc1 .seg.theme button span { display: none; }
body.hc2 .brand .count, body.hc2 #btnBackup .bsub { display: none; }
body.hc2 .searchbox { max-width: 170px; min-width: 90px; }
body.hc3 #btnNew > span, body.hc3 #btnBackup > span:not(.bsub) { display: none; }
body.hc3 .topbar { gap: 8px; }
body.hc4 #themeSeg { display: none; }
body.hc4 .brand h1 { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2026-11-12 19:50:38 +01:00
.pdesc { font-size: 13px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.pdesc.muted { color: var(--muted); font-style: italic; }
.pdesc-edit textarea { width: 100%; min-height: 120px; resize: vertical; font: inherit; font-size: 13px; line-height: 1.5; }
2026-11-12 15:58:44 +01:00
.flabel { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); margin: 0 0 5px; }
details.progset summary { cursor: pointer; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; list-style: none; }
details.progset summary::-webkit-details-marker { display: none; }
details.progset summary::before { content: "▸"; font-size: 10px; }
details.progset[open] summary::before { content: "▾"; }
details.progset .pickrow { margin-top: 8px; }
.dlg.wide { width: 860px; max-height: calc(100vh - 48px); padding: 0; }
.dlg.wide .ihead { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.dlg.wide .ihead h3 { margin: 0; display: flex; gap: 8px; align-items: center; font-size: 16px; }
.dlg.wide .ihead .sp { flex: 1; }
#itchBody { padding: 4px 20px 20px; }
.isec { margin-top: 16px; }
.isec h4 { margin: 0 0 8px; font-size: 13px; display: flex; align-items: center; gap: 7px; }
.isec h4 > .i { color: var(--accent); }
.isec h4 .h4r { margin-left: auto; display: flex; gap: 6px; }
.copyrow { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--border); font-size: 13px; }
.copyrow .cl { color: var(--muted); }
.copyrow .cv { word-break: break-word; }
.copyrow .chip { margin-left: 6px; }
.ipreview { width: 100%; height: 280px; border: 1px solid var(--border); border-radius: 10px; background: #fff; resize: vertical; }
.ipreview.big { height: 520px; }
.tagrow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px 0; border-top: 1px solid var(--border); }
.tagrow .cl { flex: 0 0 150px; color: var(--muted); font-size: 13px; }
.tagc { font: inherit; font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); cursor: pointer; }
.tagc.own { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
.tagc.sugg { border-style: dashed; }
.tagc:hover { border-color: var(--accent); }
.igroup { margin-top: 10px; }
.igroup .agroup-h { margin: 0 0 8px; }
.itchgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ishot { display: flex; flex-direction: column; gap: 4px; padding: 6px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); color: var(--text); cursor: pointer; text-align: left; font: inherit; font-size: 11px; }
.ishot:hover { border-color: var(--accent); }
.ishot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; background: var(--surface-3); }
.ishot span { display: flex; justify-content: space-between; gap: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ishot small { color: var(--muted); flex: 0 0 auto; }
@media (max-width: 640px) { .copyrow { grid-template-columns: minmax(0, 1fr) auto; } .copyrow .cl { grid-column: 1 / -1; } }
2026-11-12 14:03:53 +01:00
/* settings panel: tabs, lists of folders/targets, chips, footer */
#spanel .phead { padding-bottom: 12px; }
.sptabs { padding: 0 20px 12px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.sptabs .seg { width: max-content; }
.sptabs .tabn { font-size: 10px; background: var(--surface-3); color: var(--muted); padding: 0 6px; border-radius: 9px; line-height: 16px; }
.sptabs .tabn:empty { display: none; }
.sptabs button.active .tabn { background: var(--accent-soft); color: var(--accent-text); }
.sptabs button.has-err { color: var(--red); }
.sptabs button.has-err::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
#spanel .pbody { display: flex; flex-direction: column; gap: 15px; padding-top: 14px; }
.spane { display: flex; flex-direction: column; gap: 11px; }
2026-11-12 14:03:53 +01:00
.spane[hidden] { display: none; }
.sphead h4 { margin: 0; font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
/* accent icon chip makes each section instantly recognizable */
.sphead h4 .i { width: 22px; height: 22px; padding: 4px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); box-sizing: border-box; flex: 0 0 auto; }
.sphead p { margin: 3px 0 0 30px; font-size: 12px; color: var(--muted); line-height: 1.5; }
/* a sub-section inside a pane: hairline divider + a quiet uppercase label (subordinate to the main header) */
.sphead.sep { margin-top: 2px; padding-top: 13px; border-top: 1px solid var(--border); }
.sphead.sep h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); gap: 7px; }
.sphead.sep h4 .i { width: 14px; height: 14px; padding: 0; background: transparent; color: var(--muted); border-radius: 0; }
.sphead.sep p { margin-left: 21px; }
/* separate stacked field groups (backup pane) with the same hairline */
.spane > .spfield + .spfield { margin-top: 1px; padding-top: 13px; border-top: 1px solid var(--border); }
2026-11-12 14:03:53 +01:00
.slist { border: 1px solid var(--border); border-radius: 11px; overflow: hidden; }
.slist:empty { display: none; }
.sitem { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 10px 10px 12px; background: var(--surface); }
.sitem + .sitem { border-top: 1px solid var(--border); }
.sitem:hover { background: var(--surface-2); }
.sitem .fico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent-text); border: 1px solid var(--border); }
.sitem:hover .fico { background: var(--surface); }
.sitem .smeta { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sitem .snm { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sitem input { border: 1px solid transparent; border-radius: 6px; padding: 1px 5px; margin-left: -6px; background: transparent; min-width: 0; outline: none; }
.sitem .tname { font-weight: 650; font-size: 14px; max-width: 100%; }
.spfield input[type=text], #fImport input[type=text] { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; background: var(--surface); outline: none; }
.spfield input[type=text]:focus, #fImport input[type=text]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.sitem .tpath { font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: 12px; color: var(--muted); width: 100%; text-overflow: ellipsis; }
.sitem input:hover { border-color: var(--border); }
.sitem input:focus { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); color: var(--text); }
.sbadge { font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.sbadge .i { width: 11px; height: 11px; }
.sbadge.main { background: var(--accent-soft); color: var(--accent-text); }
.sbadge.on { background: var(--green-soft); color: var(--green); }
.sbadge.warn { background: var(--yellow-soft); color: var(--yellow); }
.sbadge.ok { background: var(--green-soft); color: var(--green); }
.sstat { font-size: 12px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.sacts { display: flex; gap: 4px; }
.ibtn { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; padding: 0; }
.ibtn:hover { color: var(--accent-text); border-color: var(--accent); }
.ibtn.rm:hover { color: var(--red); border-color: var(--red); }
.ibtn:disabled { opacity: .35; cursor: default; border-color: var(--border); color: var(--muted); }
body.no-picker .ibtn.pickbtn { display: none; }
.spfield { display: flex; flex-direction: column; gap: 6px; }
.spfield > label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
2026-11-12 14:03:53 +01:00
.remindrow { font-size: 13px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.remindrow input { width: 64px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font-size: 13px; outline: none; }
.remindrow input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.remindrow input[type=time] { width: auto; }
.remindrow > span { display: inline-flex; align-items: center; gap: 6px; }
.remindrow > span[hidden] { display: none; }
.autosel { padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font-size: 13px; outline: none; }
.autosel:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.xchips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); cursor: text; }
.xchips:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.xchip { display: inline-flex; align-items: center; gap: 4px; font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 7px; padding: 2px 4px 2px 8px; }
.xchip button { border: none; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; padding: 2px; border-radius: 4px; }
.xchip button:hover { color: var(--red); background: var(--red-soft); }
.xchips input { border: none; outline: none; background: none; flex: 1; min-width: 14ch; font-size: 12px; font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; padding: 2px; }
details.more { font-size: 12px; color: var(--muted); }
details.more summary { cursor: pointer; display: inline-flex; align-items: center; gap: 5px; color: var(--accent-text); font-weight: 600; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more > div { margin-top: 6px; padding: 10px 12px; background: var(--surface-2); border-radius: 9px; line-height: 1.55; }
.spstatus { font-size: 13px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); color: var(--text); display: flex; gap: 8px; align-items: flex-start; line-height: 1.5; }
.spstatus:empty { display: none; }
.spstatus.ok { background: var(--green-soft); color: var(--green); }
.spstatus.err { background: var(--red-soft); color: var(--red); }
.spstatus a { color: inherit; font-weight: 600; }
#spanel .kv { grid-template-columns: 150px minmax(0, 1fr); }
#spError { margin: 0 20px 10px; }
.about { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.about .anm { color: var(--text); font-weight: 600; }
.about .ver { font-size: 11px; background: var(--surface-3); color: var(--muted); padding: 1px 7px; border-radius: 9px; }
.about a.btn { margin-left: auto; }
2026-11-12 14:03:53 +01:00
#spanel .pfoot { align-items: center; }
#spanel .pfoot .btn { flex: 0 0 auto; padding: 8px 14px; }
.spdirty { font-size: 12px; color: var(--yellow); display: flex; align-items: center; gap: 6px; visibility: hidden; }
.spdirty::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
#spanel.dirty .spdirty { visibility: visible; }
.kbd { font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; }
@media (max-width: 560px) { .sitem .fico, .kbd { display: none; } .sitem { grid-template-columns: minmax(0, 1fr) auto; } }
2026-11-12 09:32:23 +01:00
.rowbtns { display: flex; gap: 6px; flex-wrap: wrap; }
.importbox { border: 1px solid var(--border); border-radius: 10px; padding: 10px; margin-top: 8px; background: var(--surface-2); }
.importbox[hidden] { display: none; }
.implist { max-height: 240px; overflow: auto; margin: 8px 0; display: grid; gap: 2px; }
.implist label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 4px 6px; border-radius: 6px; font-size: 13px; color: var(--text); font-weight: 400; cursor: pointer; }
.implist label:hover { background: var(--surface); }
.implist .n { color: var(--muted); font-size: 11px; margin-left: auto; }
.implist label.dis { opacity: .5; cursor: default; }
#fAddTarget { margin-top: 2px; }
.ttabs { display: inline-flex; flex-wrap: wrap; margin: 12px 0 2px; }
.ttabs button:disabled { opacity: .45; cursor: default; }
.tlast { display: flex; flex-wrap: wrap; gap: 6px; }
.tlast .bk { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px; }
/* ── backup panel ───────────────────────────────────────────────────── */
#bpanel { position: fixed; top: 0; right: 0; bottom: 0; width: 560px; max-width: 100vw; background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .22s ease; z-index: 21; display: flex; flex-direction: column; }
#bpanel.open { transform: none; }
#bpanel .pbody { padding-top: 6px; }
#btnBackup .bsub { font-size: 11px; color: var(--muted); font-weight: 400; }
#btnBackup .bsub.warn { color: var(--yellow); }
.bstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bstat { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 11px; min-width: 0; }
.bstat .v { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.bstat .l { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.bstat .s { font-size: 12px; color: var(--muted); margin-top: 2px; }
.bstat.new .v { color: var(--accent); } .bstat.chg .v { color: var(--yellow); }
.btn.big { padding: 11px 16px; font-size: 14px; font-weight: 600; width: 100%; justify-content: center; }
.bactions { display: flex; gap: 8px; margin-top: 14px; }
.bactions .btn { flex: 1; justify-content: center; }
.bproj { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 6px; }
.bproj td { padding: 5px 4px; border-top: 1px solid var(--border); }
.bproj td.r { text-align: right; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.progress.big { height: 9px; margin: 10px 0 6px; }
.curfile { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: Consolas, monospace; }
.msg { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 13px; margin-top: 14px; }
.msg.ok { background: var(--green-soft); color: var(--green); }
.msg.err { background: var(--red-soft); color: var(--red); }
.msg.info { background: var(--accent-soft); color: var(--accent-text); }
@media (max-width: 1100px) { #btnBackup .bsub { display: none; } }
/* thin scrollbars inside the content areas */
.column .cards, #gallery, .tablewrap, .pbody { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
@media (max-width: 640px) {
.topbar, .kpis, .toolbar, main { padding-left: 12px; padding-right: 12px; }
.kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scanbox { grid-column: span 2; }
}
</style>
</head>
<body>
<div class="boot" id="boot" hidden>
<div class="bootcard">
<div class="logo"><svg class="i lg"><use href="/icons.svg#layers"/></svg></div>
<div class="bootstep" id="bootStep" data-i18n="boot.start">Starting …</div>
<div class="bootlabel" id="bootLabel" data-i18n="boot.reading">Reading projects</div>
<div class="bootbar"><div id="bootBar"></div></div>
<div class="bootmeta"><span id="bootCount"></span><span id="bootEta"></span></div>
<button class="btn ghost" type="button" id="bootSkip" data-i18n="boot.skip">Get started now</button>
</div>
</div>
2026-11-12 09:32:23 +01:00
<header>
<div class="topbar">
<div class="brand">
<div class="logo"><svg class="i lg"><use href="/icons.svg#layers"/></svg></div>
<div class="rootpick">
<button type="button" id="rootBtn" aria-haspopup="listbox" aria-expanded="false" data-i18n-title="root.switch" title="Switch project folder">
<h1 id="rootName" data-i18n="root.projects">Projects</h1><svg class="i sm"><use href="/icons.svg#chevron-down"/></svg>
2026-11-12 09:32:23 +01:00
</button>
<div class="count" id="count"></div>
<div class="rootmenu" id="rootMenu" role="listbox" hidden></div>
</div>
</div>
<div class="seg" id="tabs">
<button data-view="home" class="simple-only" data-i18n-title="tab.home.title" title="All projects as tiles"><svg class="i"><use href="/icons.svg#layout-grid"/></svg><span class="tl" data-i18n="tab.home">Projects</span></button>
<button data-view="board" class="active adv" data-i18n-title="tab.board.title" title="Board"><svg class="i"><use href="/icons.svg#kanban"/></svg><span class="tl" data-i18n="tab.board">Board</span></button>
<button data-view="gallery" class="adv" data-i18n-title="tab.gallery.title" title="Gallery"><svg class="i"><use href="/icons.svg#layout-grid"/></svg><span class="tl" data-i18n="tab.gallery">Gallery</span></button>
<button data-view="list" class="adv" data-i18n-title="tab.list.title" title="List"><svg class="i"><use href="/icons.svg#list"/></svg><span class="tl" data-i18n="tab.list">List</span></button>
<button data-view="tasks" data-i18n-title="tab.tasks.title" title="Tasks"><svg class="i"><use href="/icons.svg#list-checks"/></svg><span class="tl" data-i18n="tab.tasks">Tasks</span><span class="tabn" id="taskCount"></span></button>
<button data-view="activity" data-i18n-title="tab.activity.title" title="What was worked on, and when"><svg class="i"><use href="/icons.svg#activity"/></svg><span class="tl" data-i18n="tab.activity">Activity</span></button>
<button data-view="storage" data-i18n-title="tab.storage.title" title="Storage: who uses how much"><svg class="i"><use href="/icons.svg#hard-drive"/></svg><span class="tl" data-i18n="tab.storage">Storage</span></button>
2026-11-12 09:32:23 +01:00
</div>
<div class="searchbox">
<svg class="i"><use href="/icons.svg#search"/></svg>
<input id="search" type="text" data-i18n-placeholder="search.placeholder" placeholder="Projects, tags, notes…">
2026-11-12 09:32:23 +01:00
</div>
<button class="btn" id="btnNew" data-i18n-title="btn.new.title" title="Create a new project or clone an existing one"><svg class="i"><use href="/icons.svg#plus"/></svg><span data-i18n="btn.new">New</span></button>
<button class="btn" id="btnBackup" data-i18n-title="btn.backup.title" title="Back up all projects to MyCloud"><svg class="i"><use href="/icons.svg#hard-drive-upload"/></svg><span data-i18n="btn.backup">Backup</span><span class="bsub" id="backupSub"></span></button>
<button class="iconbtn" id="btnSettings" data-i18n-title="btn.settings.title" title="Settings: project folders and backup target"><svg class="i"><use href="/icons.svg#settings"/></svg></button>
<div class="seg theme" id="modeSeg" data-i18n-title="mode.title" title="View: simple or advanced">
<button data-ui="simple" data-i18n-title="mode.simple.title" title="Simple view – only the essentials"><svg class="i"><use href="/icons.svg#square"/></svg><span data-i18n="mode.simple">Simple</span></button>
<button data-ui="advanced" data-i18n-title="mode.advanced.title" title="Advanced view – all features"><svg class="i"><use href="/icons.svg#sliders-horizontal"/></svg><span data-i18n="mode.advanced">Advanced</span></button>
2026-11-12 20:58:18 +01:00
</div>
<div class="seg theme" id="themeSeg" data-i18n-title="theme.title" title="Appearance">
<button data-mode="light" data-i18n-title="theme.light" title="Light"><svg class="i"><use href="/icons.svg#sun"/></svg><span data-i18n="theme.light">Light</span></button>
<button data-mode="system" data-i18n-title="theme.system.title" title="Match Windows"><svg class="i"><use href="/icons.svg#monitor"/></svg><span data-i18n="theme.system">System</span></button>
<button data-mode="dark" data-i18n-title="theme.dark" title="Dark"><svg class="i"><use href="/icons.svg#moon"/></svg><span data-i18n="theme.dark">Dark</span></button>
2026-11-12 09:32:23 +01:00
</div>
</div>
2026-11-12 14:03:53 +01:00
<div class="updbanner" id="updBanner" hidden>
<svg class="i"><use href="/icons.svg#refresh-cw"/></svg>
<span id="updText"></span>
<button class="btn primary" type="button" id="updBtn"></button>
</div>
2026-11-12 09:32:23 +01:00
</header>
<section class="kpis" id="kpis"></section>
<div class="toolbar">
<div class="chipfilters" id="chipfilters"></div>
<div style="flex:1"></div>
<div class="seg" id="boardMode" data-i18n-title="board.layout.title" title="Board layout">
<button data-mode="cards" class="active" data-i18n-title="board.cards.title" title="Cards with details"><svg class="i sm"><use href="/icons.svg#layout-dashboard"/></svg><span class="bm-l" data-i18n="board.cards">Cards</span></button>
<button data-mode="rows" data-i18n-title="board.rows.title" title="Compact list – one row per project"><svg class="i sm"><use href="/icons.svg#rows-3"/></svg><span class="bm-l" data-i18n="board.rows">List</span></button>
2026-11-12 09:32:23 +01:00
</div>
<div class="sel" id="selStatusWrap"><svg class="i sm"><use href="/icons.svg#funnel"/></svg>
<select id="fltStatus">
<option value="all" data-i18n="flt.status.all">All statuses</option>
<option value="idea" data-i18n="status.idea">Idea</option>
<option value="active" data-i18n="status.active">Active</option>
<option value="paused" data-i18n="status.paused">Paused</option>
<option value="done" data-i18n="status.done">Done</option>
<option value="archived" data-i18n="status.archived">Archived</option>
2026-11-12 09:32:23 +01:00
</select>
</div>
<div class="sel" id="selSortWrap"><svg class="i sm"><use href="/icons.svg#arrow-up-down"/></svg>
<select id="fltSort">
<option value="mtime" data-i18n="flt.sort.mtime">Last changed</option>
<option value="name" data-i18n="flt.sort.name">Name (A–Z)</option>
<option value="priority" data-i18n="flt.sort.priority">Priority</option>
<option value="size" data-i18n="flt.sort.size">Size</option>
<option value="clean" data-i18n="flt.sort.clean">Cleanable</option>
2026-11-12 09:32:23 +01:00
</select>
</div>
</div>
<main>
<div class="nonebox" id="noneBox" hidden>
<svg class="i xl"><use href="/icons.svg#folder-open"/></svg>
<div><b data-i18n="none.title">No project folder shown</b><br><span class="hint" style="margin:0" data-i18n="none.hint">Choose one or more folders at the top left, next to the logo.</span></div>
<button class="btn primary" type="button" id="noneOpen"><svg class="i"><use href="/icons.svg#chevron-down"/></svg><span data-i18n="none.choose">Choose folder</span></button>
</div>
2026-11-12 20:58:18 +01:00
<div id="home" class="view">
<div class="homebar" id="homeBar"></div>
<div id="homeGrid"></div>
</div>
2026-11-12 09:32:23 +01:00
<div id="board" class="view active"></div>
<div id="gallery" class="view"><div id="galleryGrid"></div></div>
<div id="list" class="view"><div class="tablewrap"><table class="list" id="listTable"></table></div></div>
2026-11-12 14:03:53 +01:00
<div id="activity" class="view">
<div class="stwrap">
<div class="stkpis" id="acKpis"></div>
<section class="stcard">
<div class="sthead">
<h4 class="sth"><span data-i18n="act.year">Activity over the past year</span> <span class="hint" style="font-weight:400;margin:0" id="acPending"></span></h4>
2026-11-12 14:03:53 +01:00
<div class="stlegend" id="acLegend"></div>
</div>
<div class="heatscroll"><div class="heat" id="acHeat" role="grid" data-i18n-title="act.perDay" aria-label="Active projects per day"></div></div>
<div class="hint" data-i18n-html="act.hint">A day counts when files were last changed or commits were made on it. Files show only their <i>last</i> change – commits fill in the history.</div>
2026-11-12 14:03:53 +01:00
<div class="sttip" id="acTip" hidden></div>
</section>
<div class="acgrid">
<section class="stcard"><h4 class="sth" id="acDayTitle" data-i18n="act.day">Day</h4><div id="acDay"></div></section>
<section class="stcard"><h4 class="sth" data-i18n="act.recent">Recently active</h4>
2026-11-12 14:03:53 +01:00
<div class="seg" id="acRange" style="width:max-content;margin-bottom:10px">
<button data-range="7" class="active" data-i18n="act.range7">7 days</button><button data-range="30" data-i18n="act.range30">30 days</button><button data-range="90" data-i18n="act.range90">90 days</button>
2026-11-12 14:03:53 +01:00
</div>
<div id="acTop"></div></section>
</div>
</div>
</div>
<div id="storage" class="view">
<div class="stwrap">
<div class="stkpis" id="stKpis"></div>
<div class="stgrid">
<section class="stcard stmapcard">
<div class="sthead">
<nav class="stcrumbs" id="stCrumbs" data-i18n-title="st.level" aria-label="Level"></nav>
2026-11-12 14:03:53 +01:00
<div class="stlegend" id="stLegend"></div>
</div>
<div class="treemap" id="stTree" role="img" data-i18n-title="st.treemap" aria-label="Treemap of project sizes"></div>
2026-11-12 14:03:53 +01:00
<div class="sttip" id="stTip" hidden></div>
</section>
<section class="stcard stside">
<h4 class="sth" data-i18n="st.largest">Largest projects</h4>
2026-11-12 14:03:53 +01:00
<div id="stTop"></div>
</section>
</div>
<section class="stcard">
<div class="sthead">
<h4 class="sth"><span data-i18n="st.hogs">Biggest space hogs</span> <span class="hint" style="font-weight:400;margin:0" data-i18n="st.hogs.hint">– folders that can be regenerated</span></h4>
<div class="stdel"><span id="stSel" class="hint" style="margin:0"></span><button class="btn danger" id="stDelete" type="button" disabled><svg class="i"><use href="/icons.svg#trash"/></svg><span data-i18n="st.deleteSelected">Delete selected</span></button></div>
2026-11-12 14:03:53 +01:00
</div>
<div class="tablewrap"><table class="list sttable" id="stHogs"></table></div>
</section>
</div>
</div>
2026-11-12 09:32:23 +01:00
<div id="tasks" class="view">
<div class="taskbarTop">
<div class="seg" id="taskMode">
<button data-mode="open" class="active"><svg class="i sm"><use href="/icons.svg#circle"/></svg><span data-i18n="task.open">Open</span></button>
<button data-mode="done"><svg class="i sm"><use href="/icons.svg#circle-check"/></svg><span data-i18n="task.done">Done</span></button>
<button data-mode="all"><svg class="i sm"><use href="/icons.svg#list"/></svg><span data-i18n="task.all">All</span></button>
2026-11-12 09:32:23 +01:00
</div>
<div class="taskadd">
<select id="taskProject" data-i18n-title="task.project" title="Project"></select>
<input type="text" id="taskNew" data-i18n-placeholder="task.newEnter" placeholder="New task… (Enter)">
<button class="btn primary" id="taskNewBtn"><svg class="i"><use href="/icons.svg#plus"/></svg><span data-i18n="task.add">Add</span></button>
2026-11-12 09:32:23 +01:00
</div>
</div>
<div id="taskGroups"></div>
</div>
</main>
<div id="overlay"></div>
<aside id="panel" aria-hidden="true">
<div class="phead">
<div id="pAvatar"></div>
<div style="min-width:0">
<h3 style="display:flex;align-items:center;gap:6px"><span id="panelTitle"></span><span id="pFav"></span></h3>
2026-11-12 09:32:23 +01:00
<div class="sub" id="panelSub"></div>
</div>
<button class="iconbtn close" id="btnClose" data-i18n-title="common.closeEsc" title="Close (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
2026-11-12 09:32:23 +01:00
</div>
<div class="pquick">
<button class="btn" id="btnOpenFolder"><svg class="i"><use href="/icons.svg#folder-open"/></svg><span data-i18n="panel.explorer">Explorer</span></button>
<button class="btn" id="btnVsCode"><svg class="i"><use href="/icons.svg#code-xml"/></svg><span data-i18n="panel.vscode">VS Code</span></button>
<button class="btn adv" id="btnClone" data-i18n-title="panel.clone.title" title="Create a copy of this project as a new project"><svg class="i"><use href="/icons.svg#copy-plus"/></svg><span data-i18n="panel.clone">Clone</span></button>
<button class="btn adv" id="btnMove" data-i18n-title="panel.rename.title" title="Rename the project folder or move it to another project folder"><svg class="i"><use href="/icons.svg#folder-pen"/></svg><span data-i18n="panel.rename">Rename…</span></button>
2026-11-12 09:32:23 +01:00
</div>
<div class="seg" id="ptabs">
<button data-sec="edit" class="active"><svg class="i"><use href="/icons.svg#pencil"/></svg><span data-i18n="panel.edit">Edit</span></button>
<button data-sec="info"><svg class="i"><use href="/icons.svg#info"/></svg><span data-i18n="panel.info">Info</span></button>
<button data-sec="actions"><svg class="i"><use href="/icons.svg#play"/></svg><span data-i18n="panel.actions">Actions</span></button>
2026-11-12 09:32:23 +01:00
</div>
<div class="pbody">
<div id="sec-info" class="psec"></div>
<div id="sec-actions" class="psec"></div>
<div id="sec-edit" class="psec active field">
<div class="grid2">
<div>
<label><svg class="i sm"><use href="/icons.svg#flag"/></svg><span data-i18n="panel.status">Status</span></label>
2026-11-12 09:32:23 +01:00
<select id="fStatus">
<option value="idea" data-i18n="status.idea">Idea</option>
<option value="active" data-i18n="status.active">Active</option>
<option value="paused" data-i18n="status.paused">Paused</option>
<option value="done" data-i18n="status.done">Done</option>
<option value="archived" data-i18n="status.archived">Archived</option>
2026-11-12 09:32:23 +01:00
</select>
</div>
2026-11-12 20:58:18 +01:00
<div class="adv">
<label><svg class="i sm"><use href="/icons.svg#signal"/></svg><span data-i18n="panel.priority">Priority</span></label>
2026-11-12 09:32:23 +01:00
<select id="fPriority">
<option value="low" data-i18n="prio.low">Low</option>
<option value="medium" data-i18n="prio.medium">Medium</option>
<option value="high" data-i18n="prio.high">High</option>
2026-11-12 09:32:23 +01:00
</select>
</div>
</div>
2026-11-12 20:58:18 +01:00
<div class="adv" style="display:contents">
<label><svg class="i sm"><use href="/icons.svg#tags"/></svg><span data-i18n="panel.tags">Tags (comma-separated)</span></label>
<input type="text" id="fTags" data-i18n-placeholder="panel.tags.ph" placeholder="game, android, tool…">
<label><svg class="i sm"><use href="/icons.svg#image"/></svg><span data-i18n="panel.image">Image / icon (path in the project, optional)</span></label>
2026-11-12 09:32:23 +01:00
<input type="text" id="fThumb" placeholder="assets/icon.png">
<label><svg class="i sm"><use href="/icons.svg#square-terminal"/></svg><span data-i18n="panel.start">Custom start command (runs visibly in a console)</span></label>
2026-11-12 09:32:23 +01:00
<input type="text" id="fStart" placeholder="npm run dev">
2026-11-12 20:58:18 +01:00
</div>
<div class="feat-itch adv" style="display:contents">
<label><svg class="i sm"><use href="/icons.svg#rocket"/></svg><span data-i18n="panel.itch">itch.io page (empty = detect automatically, "-" = not published)</span></label>
2026-11-12 20:58:18 +01:00
<input type="text" id="fItch" placeholder="https://name.itch.io/spielname">
<div class="hint" id="fItchHint" style="margin-top:-4px"></div>
</div>
<label><svg class="i sm"><use href="/icons.svg#notebook-pen"/></svg><span data-i18n="panel.notes">Notes</span></label>
<textarea id="fNotes" data-i18n-placeholder="panel.notes.ph" placeholder="What's still missing, next steps…"></textarea>
<label><svg class="i sm"><use href="/icons.svg#list-checks"/></svg><span data-i18n="panel.tasks">Tasks</span></label>
2026-11-12 09:32:23 +01:00
<ul id="taskList"></ul>
<div id="taskAddRow">
<input type="text" id="taskInput" data-i18n-placeholder="panel.task.ph" placeholder="New task…">
2026-11-12 09:32:23 +01:00
<button class="btn primary" id="btnAddTask"><svg class="i"><use href="/icons.svg#plus"/></svg></button>
</div>
</div>
</div>
<div class="pfoot">
<button class="btn" id="btnCancel" data-i18n="common.cancel">Cancel</button>
<button class="btn primary" id="btnSave"><svg class="i"><use href="/icons.svg#save"/></svg><span data-i18n="common.save">Save</span></button>
2026-11-12 09:32:23 +01:00
</div>
</aside>
<aside id="bpanel" aria-hidden="true">
<div class="phead">
<div class="avatar lg" style="--c:linear-gradient(135deg,#0ea5e9,#6366f1)"><svg class="i xl"><use href="/icons.svg#hard-drive-upload"/></svg></div>
<div style="min-width:0">
<h3>Backup</h3>
<div class="sub hint" id="bpTarget"></div>
</div>
<button class="iconbtn close" id="btnCloseBackup" data-i18n-title="common.closeEsc" title="Close (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
2026-11-12 09:32:23 +01:00
</div>
<div class="pbody" id="bpBody"></div>
</aside>
<aside id="spanel" aria-hidden="true">
<div class="phead">
<div class="avatar lg" style="--c:linear-gradient(135deg,#6366f1,#8b5cf6)"><svg class="i xl"><use href="/icons.svg#settings"/></svg></div>
<div style="min-width:0">
<h3 id="spTitle" data-i18n="set.title">Settings</h3>
<div class="sub hint" id="spSub" data-i18n="set.sub">Applies to the whole dashboard</div>
2026-11-12 09:32:23 +01:00
</div>
<button class="iconbtn close" id="btnCloseSettings" data-i18n-title="common.closeEsc" title="Close (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
2026-11-12 09:32:23 +01:00
</div>
2026-11-12 14:03:53 +01:00
<div class="sptabs"><div class="seg" id="spTabs" role="tablist">
<button class="active" data-stab="folders" role="tab"><svg class="i"><use href="/icons.svg#folders"/></svg><span data-i18n="set.tab.folders">Project folders</span><span class="tabn" id="spnFolders"></span></button>
<button data-stab="backup" role="tab"><svg class="i"><use href="/icons.svg#hard-drive-upload"/></svg><span data-i18n="set.tab.backup">Backup</span><span class="tabn" id="spnTargets"></span></button>
2026-11-12 14:03:53 +01:00
<button data-stab="itch" role="tab"><svg class="i"><use href="/icons.svg#rocket"/></svg>itch.io</button>
<button data-stab="general" role="tab"><svg class="i"><use href="/icons.svg#sliders-horizontal"/></svg><span data-i18n="set.tab.general">General</span></button>
2026-11-12 14:03:53 +01:00
</div></div>
<div class="pbody">
<div id="spWelcome" class="msg info" style="display:none;margin:0">
2026-11-12 09:32:23 +01:00
<svg class="i lg"><use href="/icons.svg#sparkles"/></svg>
<div data-i18n-html="set.welcome"><b>Welcome!</b> Choose the folder that holds all your projects – every subfolder becomes a project. You can set a backup target now or later on the “Backup” tab.</div>
2026-11-12 09:32:23 +01:00
</div>
2026-11-12 14:03:53 +01:00
<section class="spane" data-spane="folders">
<div class="sphead"><h4><svg class="i"><use href="/icons.svg#folders"/></svg><span data-i18n="set.folders.h">Project folders</span></h4><p data-i18n="set.folders.p">Folders whose subfolders appear as projects. At least one.</p></div>
2026-11-12 14:03:53 +01:00
<div class="slist" id="fRoots"></div>
<div class="rowbtns">
<button class="btn" id="fAddRoot" type="button"><svg class="i"><use href="/icons.svg#plus"/></svg><span data-i18n="set.addFolder">Add folder</span></button>
<button class="btn" id="fImportOpen" type="button"><svg class="i"><use href="/icons.svg#folder-plus"/></svg><span data-i18n="set.importSeveral">Import several…</span></button>
<button class="btn" id="fNestedOpen" type="button" data-i18n-title="set.nested.title" title="Find projects one level deeper (e.g. in a collection folder)"><svg class="i"><use href="/icons.svg#folder-tree"/></svg><span data-i18n="set.nested">Projects in subfolders…</span></button>
2026-11-12 09:32:23 +01:00
</div>
2026-11-12 14:03:53 +01:00
<div class="importbox" id="fImport" hidden>
<div class="hint" style="margin:0 0 6px" data-i18n="set.import.hint">Choose a parent folder – its subfolders are offered as project folders.</div>
2026-11-12 14:03:53 +01:00
<div class="pickrow">
<input type="text" id="fImportPath" data-i18n-placeholder="set.path.ph" placeholder="e.g. D:\Work">
<button class="btn pickbtn" data-for="fImportPath" data-title="Choose parent folder"><svg class="i"><use href="/icons.svg#folder-search"/></svg><span data-i18n="common.browse">Browse…</span></button>
<button class="btn" type="button" id="fImportList"><svg class="i"><use href="/icons.svg#list"/></svg><span data-i18n="common.show">Show</span></button>
2026-11-12 14:03:53 +01:00
</div>
<div id="fImportBody"></div>
</div>
<details class="more"><summary><svg class="i sm"><use href="/icons.svg#info"/></svg><span data-i18n="set.folders.help.q">How does this work?</span></summary><div data-i18n="set.folders.help.a">Every subfolder of a project folder is a project. You choose which folders are shown at the top left next to the logo. The first folder is the main folder: it is backed up straight into the backup target, each further one into a subfolder named after it. Removing takes the folder out of the list only – nothing is deleted on disk.</div></details>
2026-11-12 14:03:53 +01:00
</section>
<section class="spane" data-spane="backup" hidden>
<div class="sphead"><h4><svg class="i"><use href="/icons.svg#hard-drive-upload"/></svg><span data-i18n="set.targets.h">Backup targets</span></h4><p data-i18n="set.targets.p">External disk, NAS or another drive – optional, several possible.</p></div>
2026-11-12 14:03:53 +01:00
<div class="slist" id="fTargets"></div>
<div class="rowbtns"><button class="btn" id="fAddTarget" type="button"><svg class="i"><use href="/icons.svg#plus"/></svg><span data-i18n="set.addTarget">Add target</span></button></div>
2026-11-12 14:03:53 +01:00
<div class="spfield">
<label for="fExInput" data-i18n="set.exclude">Don't back up</label>
<div class="xchips" id="fExDirs"><input id="fExInput" data-i18n-placeholder="set.exclude.ph" placeholder="Folder name + Enter" autocomplete="off"></div>
<div class="hint" style="margin:0" data-i18n="set.exclude.hint">Skipped everywhere, because they can be regenerated.</div>
2026-11-12 14:03:53 +01:00
</div>
<div class="spfield">
<label for="fRemind" data-i18n="set.remind">Reminder</label>
<div class="remindrow"><span data-i18n="set.remind.pre">Backup due when a project changed and the last backup is older than</span>
<input type="number" id="fRemind" min="1" max="365" step="1"> <span data-i18n="set.remind.days">days</span></div>
<div class="hint" style="margin:0" data-i18n="set.remind.hint">The “Backup due” filter shows such projects; a notice appears once a day.</div>
2026-11-12 14:03:53 +01:00
</div>
<div class="spfield">
<label for="fAutoInt" data-i18n="set.auto">Automatic backup</label>
2026-11-12 14:03:53 +01:00
<div class="remindrow">
<select id="fAutoInt" class="autosel">
<option value="off" data-i18n="set.auto.off">Off</option>
<option value="start" data-i18n="set.auto.start">On every start</option>
<option value="hourly" data-i18n="set.auto.hourly">Hourly</option>
<option value="daily" data-i18n="set.auto.daily">Daily</option>
<option value="weekly" data-i18n="set.auto.weekly">Weekly</option>
2026-11-12 14:03:53 +01:00
</select>
<span id="fAutoDayWrap"><span data-i18n="set.auto.on">on</span> <select id="fAutoDay" class="autosel">
<option value="1" data-i18n="day.1">Monday</option><option value="2" data-i18n="day.2">Tuesday</option><option value="3" data-i18n="day.3">Wednesday</option><option value="4" data-i18n="day.4">Thursday</option>
<option value="5" data-i18n="day.5">Friday</option><option value="6" data-i18n="day.6">Saturday</option><option value="0" data-i18n="day.0">Sunday</option></select></span>
<span id="fAutoTimeWrap"><span data-i18n="set.auto.at">at</span> <input type="time" id="fAutoTime"> <span data-i18n="set.auto.oclock"></span></span>
<span id="fAutoTargetWrap"><span data-i18n="set.auto.to">to</span> <select id="fAutoTarget" class="autosel"></select></span>
2026-11-12 14:03:53 +01:00
</div>
<div class="spstatus" id="spAuto"></div>
<div class="hint" style="margin:0" data-i18n="set.auto.hint">Backs up all project folders – while the dashboard runs, including in the background (icon next to the clock, see General → Window). A missed slot (PC off) is caught up on the next start; if the target is unreachable, a new attempt follows after 30 minutes.</div>
2026-11-12 14:03:53 +01:00
</div>
<details class="more"><summary><svg class="i sm"><use href="/icons.svg#info"/></svg><span data-i18n="set.targets.help.q">Where does it back up to?</span></summary><div data-i18n-html="set.targets.help.a">Each project lands in the target in a subfolder of the same name. The main folder goes straight into the target, each further project folder into a subfolder named after it. Each target has its own backup state; <code>backup-projekte.bat</code> backs up to the first. Nothing is ever deleted in the backup.</div></details>
2026-11-12 14:03:53 +01:00
</section>
<section class="spane" data-spane="itch" hidden>
<div class="sphead"><h4><svg class="i"><use href="/icons.svg#rocket"/></svg><span>itch.io</span></h4><p data-i18n="set.itch.p">For the “published” badge on the cards. Leave empty = no itch.io display.</p></div>
2026-11-12 14:03:53 +01:00
<div class="spfield">
<label for="fItchProfile" data-i18n="set.itch.profile">Public profile</label>
2026-11-12 14:03:53 +01:00
<div class="pickrow">
<input type="text" id="fItchProfile" placeholder="https://name.itch.io">
<button class="btn" type="button" id="btnItchRefresh" data-i18n-title="set.itch.reload.title" title="Reload the profile now"><svg class="i"><use href="/icons.svg#refresh-cw"/></svg><span data-i18n="set.itch.reload">Reload</span></button>
2026-11-12 14:03:53 +01:00
</div>
</div>
<div class="spstatus" id="spItch"></div>
</section>
<section class="spane" data-spane="general" hidden>
<div class="sphead"><h4><svg class="i"><use href="/icons.svg#sliders-horizontal"/></svg><span data-i18n="set.general.h">General</span></h4><p data-i18n="set.general.p">Language, data location, window and features.</p></div>
<div class="spfield">
<label for="fLang" data-i18n="set.language">Language</label>
<select id="fLang" class="autosel"></select>
</div>
<div class="sphead sep"><h4><svg class="i"><use href="/icons.svg#database"/></svg><span data-i18n="set.data.h">Data</span></h4></div>
2026-11-12 14:03:53 +01:00
<div class="kv" id="spData"></div>
<div class="rowbtns"><button class="btn" type="button" id="spOpenData"><svg class="i"><use href="/icons.svg#folder-open"/></svg><span data-i18n="set.openData">Open data folder</span></button></div>
<div class="appwin" id="appWin" hidden>
<div class="sphead sep"><h4><svg class="i"><use href="/icons.svg#app-window"/></svg><span data-i18n="set.window.h">Window</span></h4><p data-i18n="set.window.p">Applies immediately, without saving.</p></div>
<label class="chk featrow"><input type="checkbox" id="fTray">
<span><b><svg class="i sm"><use href="/icons.svg#app-window"/></svg> <span data-i18n="set.tray">Keep running in the background when closed</span></b><br>
<span class="hint" style="margin:0" data-i18n="set.tray.hint">The dashboard stays as an icon next to the clock. Needed so the automatic backup also runs without an open window – with a Windows notice when it finishes or fails. Right-click the icon → Quit.</span></span></label>
<label class="chk featrow"><input type="checkbox" id="fAutostart">
<span><b><svg class="i sm"><use href="/icons.svg#power"/></svg> <span data-i18n="set.autostart">Start with Windows</span></b><br>
<span class="hint" style="margin:0" data-i18n="set.autostart.hint">Starts invisibly in the background (only the icon next to the clock).</span></span></label>
</div>
<div class="sphead sep"><h4><svg class="i"><use href="/icons.svg#sparkles"/></svg><span data-i18n="set.features.h">Features</span></h4><p data-i18n="set.features.p">Extras not everyone needs. When off, none of it is shown.</p></div>
2026-11-12 20:58:18 +01:00
<label class="chk featrow"><input type="checkbox" id="fFeatItch">
<span><b><svg class="i sm"><use href="/icons.svg#rocket"/></svg> itch.io</b><br>
<span class="hint" style="margin:0" data-i18n="set.feat.itch.hint">The “published” badge on the cards, filter, itch.io link per project, generate an itch.io page (Claude Code) and the copy view. Off = none of it visible, no profile fetch.</span></span></label>
<div class="sphead sep"><h4><svg class="i"><use href="/icons.svg#info"/></svg><span data-i18n="set.about">About</span></h4></div>
<div class="about">
<span class="anm" data-i18n="set.product">Project Dashboard</span>
<span class="ver" id="spVersion"></span>
<span>© 2026 Michael Media</span>
<a class="btn" href="https://discord.gg/Ej4JPmCZva" target="_blank" rel="noopener"><svg class="i"><use href="/icons.svg#messages-square"/></svg>Discord</a>
</div>
2026-11-12 14:03:53 +01:00
</section>
2026-11-12 09:32:23 +01:00
</div>
2026-11-12 14:03:53 +01:00
<div class="msg err" id="spError" style="display:none"></div>
2026-11-12 09:32:23 +01:00
<div class="pfoot">
<span class="spdirty" id="spDirty" data-i18n="set.dirty">Unsaved changes</span>
2026-11-12 14:03:53 +01:00
<span style="flex:1"></span>
<span class="kbd" data-i18n-title="set.shortcut" title="Shortcut">Ctrl+S</span>
<button class="btn ghost" id="spCancel" data-i18n="common.cancel">Cancel</button>
<button class="btn primary" id="spSave"><svg class="i"><use href="/icons.svg#save"/></svg><span data-i18n="common.save">Save</span></button>
2026-11-12 09:32:23 +01:00
</div>
</aside>
<dialog id="rootDlg" class="dlg">
<div class="field">
<h3 style="margin:0 0 4px;display:flex;gap:8px;align-items:center"><svg class="i lg"><use href="/icons.svg#folders"/></svg><span data-i18n="dlg.root.title">Import project folders</span></h3>
<div class="hint" style="margin-top:4px" data-i18n="dlg.root.hint">Choose a parent folder and tick what should be added as a project folder – the folder itself and/or its subfolders.</div>
2026-11-12 09:32:23 +01:00
<div class="pickrow" style="margin-top:10px">
<input type="text" id="rdPath" data-i18n-placeholder="set.path.ph" placeholder="e.g. D:\Work">
<button class="btn pickbtn" type="button" id="rdPick"><svg class="i"><use href="/icons.svg#folder-search"/></svg><span data-i18n="common.browse">Browse…</span></button>
<button class="btn" type="button" id="rdList"><svg class="i"><use href="/icons.svg#list"/></svg><span data-i18n="common.show">Show</span></button>
2026-11-12 09:32:23 +01:00
</div>
<div id="rdBody"></div>
<label class="chk"><input type="checkbox" id="rdActivate" checked> <span data-i18n="dlg.root.activate">Then switch to the first new folder</span></label>
2026-11-12 09:32:23 +01:00
<div class="msg err" id="rdError" style="display:none"></div>
<div class="dlgfoot"><button class="btn" type="button" id="rdClose" data-i18n="common.close">Close</button></div>
2026-11-12 09:32:23 +01:00
</div>
</dialog>
2026-11-12 14:03:53 +01:00
<dialog id="moveDlg" class="dlg">
<form method="dialog" class="field" id="moveForm">
<h3 style="margin:0 0 4px;display:flex;gap:8px;align-items:center"><svg class="i lg"><use href="/icons.svg#folder-pen"/></svg><span data-i18n="dlg.move.title">Rename / move</span></h3>
2026-11-12 14:03:53 +01:00
<div class="hint" id="mvFrom"></div>
<label><svg class="i sm"><use href="/icons.svg#type"/></svg><span data-i18n="dlg.move.name">New name (folder name)</span></label>
2026-11-12 14:03:53 +01:00
<input type="text" id="mvName" maxlength="80" autocomplete="off">
<label><svg class="i sm"><use href="/icons.svg#folders"/></svg><span data-i18n="dlg.move.folder">Project folder</span></label>
2026-11-12 14:03:53 +01:00
<select id="mvRoot"></select>
<div class="msg info" id="mvCopy" hidden style="margin-top:10px">
<svg class="i"><use href="/icons.svg#triangle-alert"/></svg>
<div><span data-i18n="dlg.move.copyWarn">The target is on another drive: the folder is copied in full, verified and only then deleted at the old location. For large projects this takes a while.</span>
<label class="chk" style="margin-top:6px"><input type="checkbox" id="mvCopyOk"> <span data-i18n="dlg.move.copyOk">Understood – copy and delete the original afterwards</span></label></div>
2026-11-12 14:03:53 +01:00
</div>
<div class="hint" data-i18n="dlg.move.hint">The previous backup stays under the old name; the new folder appears on the next backup. Close VS Code, consoles and programs from the project first.</div>
2026-11-12 14:03:53 +01:00
<div class="msg err" id="mvError" style="display:none"></div>
<div class="dlgfoot">
<button class="btn" type="button" id="mvCancel" data-i18n="common.cancel">Cancel</button>
<button class="btn primary" type="submit" id="mvOk"><svg class="i"><use href="/icons.svg#check"/></svg><span data-i18n="common.apply">Apply</span></button>
2026-11-12 14:03:53 +01:00
</div>
</form>
</dialog>
2026-11-12 09:32:23 +01:00
<dialog id="newDlg" class="dlg">
<form method="dialog" class="field" id="newForm">
<h3 style="margin:0 0 4px;display:flex;gap:8px;align-items:center"><svg class="i lg"><use href="/icons.svg#folder-plus"/></svg><span id="newTitle" data-i18n="dlg.new.title">New project</span></h3>
<label><svg class="i sm"><use href="/icons.svg#copy"/></svg><span data-i18n="dlg.new.template">Template</span></label>
2026-11-12 09:32:23 +01:00
<select id="nFrom"></select>
<label><svg class="i sm"><use href="/icons.svg#type"/></svg><span data-i18n="dlg.new.name">Name (becomes the folder name)</span></label>
2026-11-12 09:32:23 +01:00
<input type="text" id="nName" maxlength="80" autocomplete="off">
<label><svg class="i sm"><use href="/icons.svg#folders"/></svg><span data-i18n="dlg.new.createIn">Create in</span></label>
2026-11-12 09:32:23 +01:00
<select id="nRoot"></select>
<div id="nCloneOpts">
<label class="chk"><input type="checkbox" id="nSkipBuild" checked> <span data-i18n="dlg.new.skipBuild">Leave out build folders and caches (dist, build, bin, obj, Library …)</span></label>
<label class="chk"><input type="checkbox" id="nGit"> <span data-i18n="dlg.new.withGit">Copy git history too (note: same remote as the original)</span></label>
<div class="hint"><span data-i18n="dlg.new.neverCopied">Never copied:</span> <span id="nExcl"></span>. <span data-i18n="dlg.new.cloneStarts">The clone starts as an “idea”, without an itch.io link and with open tasks only.</span></div>
2026-11-12 09:32:23 +01:00
</div>
<div class="hint" id="nEmptyHint" data-i18n-html="dlg.new.emptyHint">Creates an empty folder with a <code>README.md</code>. For a game/app from the library templates: skill <code>neues-projekt</code> in Claude Code.</div>
2026-11-12 09:32:23 +01:00
<div class="msg err" id="nError" style="display:none"></div>
<div class="dlgfoot">
<button class="btn" type="button" id="nCancel" data-i18n="common.cancel">Cancel</button>
<button class="btn primary" type="submit" id="nOk"><svg class="i"><use href="/icons.svg#plus"/></svg><span data-i18n="dlg.new.create">Create</span></button>
2026-11-12 09:32:23 +01:00
</div>
</form>
</dialog>
2026-11-12 15:58:44 +01:00
<dialog id="itchDlg" class="dlg wide">
<div class="ihead">
<h3><svg class="i lg"><use href="/icons.svg#rocket"/></svg><span id="itchTitle" data-i18n="dlg.itch.title">itch.io page</span></h3>
2026-11-12 15:58:44 +01:00
<span class="sp"></span>
<button class="btn ghost" type="button" id="itchOpenDir" data-i18n-title="dlg.itch.openDir" title="Open folder"><svg class="i"><use href="/icons.svg#folder-open"/></svg></button>
<button class="btn ghost" type="button" id="itchReload" data-i18n-title="dlg.itch.reload" title="Reload"><svg class="i"><use href="/icons.svg#refresh-cw"/></svg></button>
<button class="iconbtn" type="button" id="itchClose" data-i18n-title="common.closeEsc" title="Close (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
2026-11-12 15:58:44 +01:00
</div>
<div id="itchBody"></div>
</dialog>
2026-11-12 20:23:53 +01:00
<dialog id="nestDlg" class="dlg wide">
<div class="ihead">
<h3><svg class="i lg"><use href="/icons.svg#folder-tree"/></svg><span data-i18n="dlg.nest.title">Projects in subfolders</span></h3>
2026-11-12 20:23:53 +01:00
<span class="sp"></span>
<button class="iconbtn" type="button" id="nestClose" data-i18n-title="common.closeEsc" title="Close (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
2026-11-12 20:23:53 +01:00
</div>
<div id="nestBody"></div>
<div class="nestfoot">
<button class="btn" type="button" id="nestDeep" data-i18n-title="dlg.nest.deep.title" title="Also search inside real projects"><svg class="i"><use href="/icons.svg#scan-search"/></svg><span data-i18n="dlg.nest.deep">Also search inside projects</span></button>
2026-11-12 20:23:53 +01:00
<span class="sp"></span>
<button class="btn" type="button" id="nestCancel" data-i18n="common.cancel">Cancel</button>
<button class="btn primary" type="button" id="nestOk"><svg class="i"><use href="/icons.svg#check"/></svg><span data-i18n="common.apply">Apply</span></button>
2026-11-12 20:23:53 +01:00
</div>
</dialog>
2026-11-12 09:32:23 +01:00
<div id="toast"></div>
<script src="lang.js"></script>
<script src="i18n.js"></script>
2026-11-12 09:32:23 +01:00
<script src="app.js"></script>
</body>
</html>