:root {
  color-scheme: light;
  --bg: #f7f9fc; --bg-2: #eef2f7; --surface: #ffffff; --surface-2: #f4f6fa;
  --line: #e1e7ef; --text: #1b2940; --text-2: #53647c; --text-3: #65758b;
  --accent: #2864dd; --accent-soft: #e9f0ff;
  --todo: #8492a6; --doing: #3979e9; --done: #299b77; --danger: #c13e4f;
  --radius: 12px; --shadow: 0 2px 6px #1b294008, 0 8px 24px #1b294006;
  --font: "Inter", system-ui, -apple-system, sans-serif; --serif: var(--font);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111720; --bg-2: #1a2330; --surface: #1b2533; --surface-2: #151e2a;
  --line: #2c394b; --text: #e9eff8; --text-2: #b1bfd2; --text-3: #95a7bf;
  --accent: #78a6ff; --accent-soft: #223657;
  --todo: #95a7bf; --doing: #78a6ff; --done: #56c8a3; --danger: #ff8d9a;
  --shadow: 0 2px 8px #00000015, 0 8px 24px #00000012;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.5;
}
h1, h2, .dialog-title { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: 34px; margin: 0; line-height: 1.1; }
h2 { font-size: 18px; margin: 20px 0 8px; }
h2:first-child { margin-top: 0; }
a { color: var(--accent); }
.hidden { display: none !important; }
.muted { color: var(--text-2); }
.eyebrow { margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-3); }
code { font-size: 12.5px; background: var(--bg-2); padding: 1px 5px; border-radius: 5px; }

/* ---- shell ---- */
.shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.sidebar {
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  padding: 22px 14px;
  display: flex; flex-direction: column; gap: 22px;
  position: sticky; top: 0; height: 100vh;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; padding: 0 8px; }
.logo-mark { width: 28px; height: 28px; object-fit: contain; display: block; }
.brand span { font-family: var(--font); font-weight: 700; letter-spacing: -0.03em; font-size: 21px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border: 0; border-radius: 10px;
  background: transparent; color: var(--text-2);
  font: inherit; font-weight: 500; cursor: pointer; text-align: left;
  transition: background 0.15s, color 0.15s;
}
.nav-item svg { width: 18px; height: 18px; }
.nav-item:hover { background: var(--surface); color: var(--text); }
.nav-item.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.sidebar-foot { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 0 6px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 14px;
}
.who-name { font-weight: 500; font-size: 14px; }
.link { background: none; border: 0; padding: 0; color: var(--text-3); font: inherit; font-size: 12.5px; cursor: pointer; }
.link:hover { color: var(--accent); }

.main { padding: 40px 48px 60px; max-width: 1240px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.stats { display: flex; gap: 18px; color: var(--text-2); font-size: 13.5px; }
.stats b { color: var(--text); font-weight: 600; font-size: 20px; font-family: var(--serif); margin-right: 4px; }

/* ---- buttons & fields ---- */
.btn {
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  padding: 9px 16px; border-radius: 10px; font: inherit; font-weight: 500; cursor: pointer;
  transition: transform 0.08s, background 0.15s, box-shadow 0.15s;
}
.btn:hover { box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--danger); }
.btn.block { width: 100%; }
.btn.sm { padding: 5px 10px; font-size: 13px; border-radius: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 13px; font-weight: 500; color: var(--text-2); }
.field small { color: var(--text-3); font-size: 12.5px; line-height: 1.45; }
input[type="text"], input[type="email"], input[type="password"], textarea {
  width: 100%; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { resize: vertical; }
.row { display: flex; align-items: center; gap: 10px; }
.row.end { justify-content: flex-end; }
.row.between { justify-content: space-between; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.pill { display: inline-block; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--text-2); margin: -6px 0 16px; }
.pill.ok { background: #e3f1e6; color: #2f6b3d; }
:root[data-theme="dark"] .pill.ok { background: #1c3c33; color: #8ae0bd; }
.error { color: var(--danger); font-size: 13.5px; margin: 0 0 12px; }

/* ---- quick add ---- */
.quick-add { display: flex; gap: 10px; margin-bottom: 26px; }
.quick-add input { flex: 1; padding: 13px 16px; font-size: 15.5px; border-radius: 12px; }

/* ---- board ---- */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.column { background: var(--bg-2); border-radius: var(--radius); padding: 10px; min-height: 300px; transition: background 0.15s; }
.column.drag-over { background: var(--accent-soft); }
.column-head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; padding: 6px 8px 10px; color: var(--text-2); }
.count { margin-left: auto; font-weight: 500; color: var(--text-3); font-size: 12.5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.todo { background: var(--todo); } .dot.doing { background: var(--doing); } .dot.done { background: var(--done); }
.column-body { display: flex; flex-direction: column; gap: 8px; min-height: 60px; }
.task {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 12px 10px; cursor: grab; box-shadow: 0 1px 1px rgba(0,0,0,0.02);
  transition: box-shadow 0.15s, transform 0.12s, opacity 0.2s;
  animation: pop 0.22s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(4px) scale(0.98); } }
.task:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.task.dragging { opacity: 1; outline: 2px dashed var(--accent); outline-offset: -2px; box-shadow: none; transform: none; }
.task.drag-ghost { animation: none; position: fixed; margin: 0; pointer-events: none; z-index: 950; opacity: 1; transform: rotate(1.5deg) scale(1.02); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28); transition: none; cursor: grabbing; }
.task.done .task-title { text-decoration: line-through; color: var(--text-3); }
.task-title { font-weight: 500; line-height: 1.35; word-break: break-word; }
.task-notes { color: var(--text-2); font-size: 13px; margin-top: 4px; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.task-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--text-3); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 999px; background: var(--bg-2); font-weight: 500; }
.tag.slack { background: #ece6f5; color: #5b3d8f; }
.tag.backlog { background: #e6eef7; color: #2f5b8f; }
:root[data-theme="dark"] .tag.slack { background: #352c49; color: #d1bdf4; } :root[data-theme="dark"] .tag.backlog { background: #233a54; color: #b0d0ff; }
.task-actions { margin-left: auto; display: flex; gap: 4px; opacity: 0; transition: opacity 0.15s; }
.task:hover .task-actions { opacity: 1; }
.icon-btn { border: 0; background: transparent; padding: 3px 6px; border-radius: 6px; cursor: pointer; color: var(--text-3); font-size: 13px; }
.icon-btn:hover { background: var(--bg-2); color: var(--text); }
.empty { color: var(--text-3); font-size: 13px; text-align: center; padding: 30px 10px; border: 1px dashed var(--line); border-radius: 10px; }

/* ---- backlog ---- */
.backlog-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.backlog-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.backlog-item.done { opacity: 0.55; }
.backlog-item .bl-title { font-weight: 500; }
.backlog-item .bl-notes { color: var(--text-2); font-size: 13px; }
.backlog-item .grow { flex: 1; min-width: 0; }
.prio { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 600; }
.notice { background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; padding: 30px; text-align: center; color: var(--text-2); }

/* ---- settings ---- */
.settings-card { max-width: 640px; }

/* ---- dialog ---- */
.dialog { border: 0; border-radius: 16px; padding: 0; width: min(560px, 92vw); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4); }
.dialog::backdrop { background: rgba(20, 16, 12, 0.35); backdrop-filter: blur(3px); }
.dialog form { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.dialog-title { font-size: 22px !important; border: 0 !important; padding: 4px 0 !important; background: transparent !important; box-shadow: none !important; }
.dialog-meta { font-size: 12.5px; color: var(--text-3); }

/* ---- toast ---- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px;
  font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- auth ---- */
.auth-body { display: grid; place-items: center; background: radial-gradient(900px 500px at 85% -10%, var(--accent-soft), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(124, 88, 251, 0.12), transparent 60%), var(--bg); }
.auth-wrap { width: min(420px, 92vw); padding: 40px 0; }
.auth-brand { text-align: center; margin-bottom: 26px; }
.auth-brand .logo-full { width: 220px; max-width: 70vw; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 10px 30px rgba(31, 110, 240, 0.18)); }
.tabs { display: flex; background: var(--bg-2); border-radius: 10px; padding: 4px; margin-bottom: 22px; }
.tab { flex: 1; border: 0; background: transparent; padding: 8px; border-radius: 8px; font: inherit; font-weight: 500; color: var(--text-2); cursor: pointer; }
.tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 12.5px; margin: 16px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn.google { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }

/* Workspace layout */
body { font-size: 14px; }
button, input, select, textarea { font-family: var(--font); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1 { font-size: 30px; font-weight: 600; letter-spacing: -1.1px; line-height: 1.25; }
h2 { font-weight: 600; letter-spacing: -.35px; }
.shell { grid-template-columns: 232px minmax(0, 1fr); }
.sidebar { background: var(--surface); padding: 30px 18px 20px; gap: 0; }
.brand { padding: 0 10px; gap: 11px; }
.brand span { font-size: 27px; }
.logo-mark { width: 34px; height: 34px; }
.workspace-label { margin: 39px 12px 12px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-3); }
.nav { gap: 6px; }
.nav-item { border-radius: 7px; padding: 11px 12px; font-size: 13px; }
.nav-item.active { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.sidebar-note { margin: auto 8px 24px; padding-top: 48px; color: var(--text-3); font-size: 12px; }
.sidebar-note strong { display: block; font-weight: 500; color: var(--text-2); margin-top: 10px; }
.sidebar-note p { line-height: 1.7; margin: 7px 0 0; }
.note-icon { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 9px; color: var(--accent); font-size: 19px; }
.theme-control { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--text-2); font-size: 12px; margin: 0 6px 20px; }
select { border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text-2); padding: 9px 26px 9px 10px; font-size: 12px; cursor: pointer; max-width: 100%; }
.sidebar-foot { margin-top: 0; border-top: 1px solid var(--line); padding: 18px 6px 0; }
.who { min-width: 0; }
.who-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { border-radius: 11px; flex-shrink: 0; width: 36px; height: 36px; }
.main { max-width: 1680px; padding: 0 38px 40px; min-width: 0; }
.workspace-bar { display: flex; justify-content: space-between; align-items: center; height: 73px; border-bottom: 1px solid var(--line); margin-bottom: 35px; color: var(--text-3); font-size: 12px; }
.workspace-bar strong { font-weight: 500; color: var(--text-2); }
.breadcrumb-slash { margin: 0 12px; }
.workspace-badge { display: flex; gap: 7px; align-items: center; padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font-size: 11px; }
.workspace-badge .dot { width: 6px; height: 6px; }
.page-head { align-items: center; margin-bottom: 26px; }
.eyebrow { letter-spacing: 1px; font-size: 10px; font-weight: 600; margin-bottom: 9px; }
.page-description { color: var(--text-2); margin: 9px 0 0; font-size: 13px; }
.btn { font-size: 12px; border-radius: 7px; padding: 10px 15px; }
.btn.primary { background: #2864dd; border-color: #2864dd; box-shadow: 0 3px 6px #2864dd18; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 32px; }
.stat-card { padding: 17px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.stat-label { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 500; }
.stats b { display: block; font-family: var(--font); font-size: 28px; font-weight: 600; line-height: 1.2; margin: 12px 0 8px; letter-spacing: -1px; }
.stat-caption { font-size: 10px; color: var(--text-3); }
.progress-track { height: 4px; background: var(--bg-2); border-radius: 4px; overflow: hidden; margin-top: 15px; }
.progress-fill { height: 100%; background: var(--done); }
.board-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.board-heading { display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.board-heading h2 { margin: 0; font-size: 16px; }
.board-heading .muted { font-size: 11px; }
.board-filters { display: flex; align-items: center; gap: 9px; min-width: 0; }
.search-field { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 0 10px; color: var(--text-3); }
.search-field svg { width: 15px; height: 15px; flex-shrink: 0; }
.search-field input { background: transparent; color: var(--text); border: 0; width: 165px; min-width: 0; font-size: 12px; padding: 9px 0; outline: 0; box-shadow: none; }
.search-field:focus-within { border-color: var(--accent); outline: 2px solid var(--accent-soft); }
kbd { font: 10px var(--font); border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; }
.quick-add { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 7px 8px 7px 15px; gap: 9px; margin-bottom: 20px; }
.quick-add:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.quick-icon { font-size: 23px; color: var(--text-3); }
.quick-add input { padding: 7px 4px; font-size: 13px; border: 0; background: transparent; box-shadow: none; min-width: 0; }
.quick-add button { background: var(--surface-2); white-space: nowrap; }
.quick-add button span { margin-left: 12px; color: var(--text-3); }
.board { gap: 16px; }
.column { background: var(--bg-2); padding: 12px; border: 1px solid var(--line); border-radius: 10px; min-height: 350px; min-width: 0; }
.column-head { padding: 3px 2px 15px; color: var(--text); font-size: 12px; }
.count { margin-left: 2px; font-size: 10px; background: var(--surface); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }
.column-body { gap: 10px; }
.task { padding: 15px 13px 12px; border-radius: 8px; }
.task-title { font-size: 13px; line-height: 1.55; font-weight: 500; }
.task-notes { font-size: 11px; line-height: 1.65; margin-top: 7px; }
.task-foot { padding-top: 11px; margin-top: 12px; border-top: 1px solid var(--line); gap: 5px; flex-wrap: wrap; font-size: 10px; }
.task-actions { opacity: 1; }
.icon-btn { color: var(--text-2); font-size: 10px; background: var(--surface-2); border: 1px solid var(--line); padding: 3px 7px; text-decoration: none; }
.icon-btn:hover { background: var(--accent-soft); color: var(--accent); }
.tag { border-radius: 4px; padding: 2px 5px; font-size: 9px; }
.empty { font-size: 11px; padding: 30px 16px; line-height: 1.8; background: var(--surface-2); }
.empty strong { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 5px; font-weight: 500; }
.board-hint { margin: 16px 0 0; font-size: 11px; color: var(--text-3); }
.settings-card { max-width: 760px; }
.settings-card h2:not(:first-child) { border-top: 1px solid var(--line); padding-top: 23px; margin-top: 25px; }
.field small { line-height: 1.75; }
.dialog { border: 1px solid var(--line); }
.dialog-title { font-weight: 600; }
.auth-body { min-height: 100vh; height: auto; background: radial-gradient(ellipse at 50% 0%, var(--accent-soft), transparent 65%), var(--bg); }
.auth-theme { position: absolute; top: 22px; right: 24px; }
.auth-wrap { padding: 90px 0 40px; width: min(440px, 92vw); }
.auth-heading { font-size: 19px; margin: 0 0 7px; }
.auth-description { font-size: 12px; color: var(--text-2); margin: 0 0 24px; }
.auth-card { padding: 30px; }

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; align-items: center; padding: 12px 16px; gap: 12px; }
  .nav { flex-direction: row; flex: 1; }
  .brand span { display: none; }
  .sidebar-foot { margin-top: 0; }
  .who { display: none; }
  .main { padding: 24px 16px 40px; }
  .board { grid-template-columns: 1fr; }
  .page-head { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 28px; }
}

@media (min-width: 1600px) { .main { padding-left: 56px; padding-right: 56px; } }
@media (max-width: 1100px) and (min-width: 861px) {
  .shell { grid-template-columns: 195px minmax(0, 1fr); }
  .main { padding-left: 24px; padding-right: 24px; }
  .stats { gap: 8px; }
  .stat-card { padding: 14px; }
  .board { gap: 10px; }
  .column { padding: 8px; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { flex-wrap: wrap; padding: 12px 16px; gap: 10px; border-bottom: 1px solid var(--line); border-right: 0; }
  .workspace-label, .sidebar-note { display: none; }
  .nav { flex: 1; gap: 3px; }
  .nav-item { padding: 9px; }
  .theme-control { margin: 0; }
  .sidebar-foot { padding: 0 0 0 8px; border: 0; }
  .main { padding: 0 20px 30px; }
  .workspace-bar { height: 56px; margin-bottom: 24px; }
  .page-head { flex-direction: row; }
  h1 { font-size: 25px; }
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .column { padding: 8px; }
  .stats { gap: 10px; }
  .stat-card { padding: 14px; }
}
@media (max-width: 620px) {
  .sidebar .theme-control { width: 100%; border-top: 1px solid var(--line); padding-top: 10px; }
  .sidebar-foot { margin-left: auto; }
  .sidebar .brand { padding: 0; }
  .nav { justify-content: flex-end; }
  .nav-item { font-size: 12px; padding: 8px; gap: 6px; }
  .nav-item svg { width: 15px; }
  .who { display: block; max-width: 180px; }
  .main { padding-left: 16px; padding-right: 16px; }
  .page-head { align-items: flex-start; flex-wrap: wrap; gap: 14px; }
  .page-head .btn { padding: 9px 12px; }
  h1 { font-size: 23px; }
  .page-description { font-size: 12px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 25px; }
  .board-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .board-filters { width: 100%; }
  .search-field { flex: 1; min-width: 0; }
  .search-field input { width: 100%; }
  .board { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .column { min-height: 160px; padding: 12px; }
  .task-foot { font-size: 11px; }
  .icon-btn { padding: 7px 10px; font-size: 11px; }
  .column-head { font-size: 13px; }
  .quick-add button span { display: none; }
  .auth-theme { top: 16px; right: 16px; }
  .backlog-item { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Loading screen: the shell stays hidden until the first data has rendered. */
body.booting .shell { visibility: hidden; }
.boot { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: var(--bg); transition: opacity 0.3s ease; }
.boot.done { opacity: 0; pointer-events: none; }
.boot .logo-mark { width: 40px; height: 40px; }
.boot-bar { width: 160px; height: 3px; border-radius: 999px; background: var(--line); overflow: hidden; }
.boot-bar span { display: block; width: 40%; height: 100%; border-radius: 999px; background: var(--accent); animation: boot-slide 1.1s ease-in-out infinite; }
@keyframes boot-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
.boot-text { font-size: 12.5px; color: var(--text-3); }
@media (prefers-reduced-motion: reduce) { .boot-bar span { animation: none; width: 100%; } .boot { transition: none; } }

/* Greeting and date live in the sidebar. */
.sidebar-greeting { padding: 4px 10px 14px; }
.sidebar-greeting .eyebrow { margin-bottom: 4px; }
.sidebar-greeting .greeting { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); line-height: 1.3; }
.props label small { display: block; grid-column: 1 / -1; color: var(--text-3); font-size: 11.5px; margin-top: 4px; }

/* Quick-action popover on task cards */
.quick-menu { position: fixed; z-index: 900; min-width: 200px; max-width: 260px; max-height: 320px; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; }
.qm-title { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-3); padding: 6px 8px 4px; }
.qm-item { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 13px; padding: 7px 8px; border-radius: 7px; cursor: pointer; }
.qm-item:hover, .qm-item:focus-visible { background: var(--bg-2); outline: none; }
.qm-item.on { background: var(--accent-soft); }
.qm-item .avatar { width: 20px; height: 20px; font-size: 9px; border-radius: 50%; overflow: hidden; flex: none; }
.qm-item .lbl { font-size: 11px; }
.qm-item .prio { font-size: 12px; color: inherit; }
.qm-item .proj-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.qm-check { margin-left: auto; color: var(--accent); font-weight: 600; }
.qm-empty { padding: 6px 8px 8px; font-size: 12.5px; color: var(--text-3); }
