:root {
  --vscode-font-family: "Segoe UI", "Segoe UI Variable", system-ui, sans-serif;
  --vscode-editor-font-family: "Cascadia Mono", Consolas, monospace;
  --vscode-font-size: 14px;
}
body.desktop .top { padding: 10px 14px 8px; }
body.desktop .logo { width: 30px; height: 30px; }
body.desktop .top-actions { align-items: center; gap: 6px; }
button.small { padding: 2px 10px; font-size: .9em; }
.project-chip { font-size: .85em; color: var(--tp-accent); border: 1px solid var(--tp-border); border-radius: 12px; padding: 1px 4px 1px 10px; display: inline-flex; gap: 4px; align-items: center; max-width: 280px; }
.project-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-chip[hidden] { display: none; }
body.desktop .scroll { padding: 14px 18px; }
body.desktop #log { max-width: 1000px; width: 100%; margin: 0 auto; }
.desk-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.desk-form input[type="text"] { flex: 1; min-width: 220px; }
.today-group h3 { margin: 6px 0 4px; font-size: .95em; color: var(--tp-muted); text-transform: uppercase; letter-spacing: .06em; }
.today-item { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-bottom: 1px solid var(--tp-border); }
.today-item .t { flex: 1; overflow-wrap: anywhere; }
.today-item.done .t { text-decoration: line-through; color: var(--tp-muted); }
.today-item .due { font-size: .85em; color: var(--tp-muted); }
.today-item.overdue .due { color: var(--tp-bad); }
.prio-висок { color: var(--tp-warn); font-weight: 700; }
table.mini { border-collapse: collapse; font-size: .9em; width: 100%; }
table.mini td, table.mini th { text-align: left; padding: 2px 6px; border-bottom: 1px solid var(--tp-border); overflow-wrap: anywhere; }
table.mini td.num { text-align: right; white-space: nowrap; font-family: var(--tp-mono); }
.doc-card .actions { margin-top: 4px; }
.login { max-width: 420px; margin: 40px auto; padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.login.wide { max-width: 640px; }
.login .biglogo { width: 72px; height: 72px; border-radius: 16px; }
.login .stacklogo { width: 220px; max-width: 70%; height: auto; margin: 0 auto 8px; display: block; }
.login form, .login .card { display: flex; flex-direction: column; gap: 8px; }
.login a { color: var(--tp-accent); }
.invite code { font-size: 1.2em; }
