/* Direction: calm indigo product — white paper, one deep indigo accent, Inter Tight headings */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f6fb;
  --border: #e5e7f2;
  --border-strong: #b6b6bc;
  --ink: #15172b;
  --muted: #666c85;
  --accent: #4f46e5;
  --accent-hover: #433cc3;
  --accent-ink: #ffffff;
  --accent-text: #4338ca;
  --accent-strong: #3730a3;
  --accent-soft: #eef0ff;
  --accent-border: #b0acf3;
  --success: #107a56;
  --success-ink: #ffffff;
  --success-soft: #e2efeb;
  --success-strong: #107a56;
  --warning: #a35b06;
  --warning-ink: #ffffff;
  --warning-soft: #f4ebe1;
  --warning-strong: #965406;
  --danger: #c0392f;
  --danger-ink: #ffffff;
  --danger-soft: #f7e7e6;
  --danger-strong: #c0392f;
  --chart-1: #4f46e5;
  --chart-2: #ce31b1;
  --chart-3: #8c2906;
  --chart-4: #8e7a06;
  --chart-5: #015d36;
  --chart-6: #198ba4;

  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 650;
  --display-tracking: -0.02em;
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-input: 10px;
  --shadow-card: 0 1px 2px rgba(21, 23, 43, 0.06), 0 10px 26px rgba(21, 23, 43, 0.05);
  --gradient-brand: linear-gradient(150deg, #4f46e5 0%, #6366f1 46%, #312e81 100%);
  --x-on-dark: #ffffff;
  --x-on-dark-soft: #ede9fe;
  --x-on-dark-faint: #ede9fe;
  --x-glass: rgba(255, 255, 255, 0.16);
  --x-chip1-bg: #ede9fe;
  --x-chip1-fg: #5b21b6;
  --x-chip2-bg: #ffe4e6;
  --x-chip2-fg: #9f1239;
  --x-chip3-bg: #fef3c7;
  --x-chip3-fg: #92400e;
  --x-chip4-bg: #d1fae5;
  --x-chip4-fg: #065f46;
  --x-chip5-bg: #dbeafe;
  --x-chip5-fg: #1e40af;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #080817;
  --surface: #21212e;
  --surface-2: #141423;
  --border: #2b2b37;
  --border-strong: #52525d;
  --ink: #ffffff;
  --muted: #9c9ca2;
  --accent: #4f46e5;
  --accent-hover: #6962e9;
  --accent-ink: #ffffff;
  --accent-text: #817bed;
  --accent-strong: #817bed;
  --accent-soft: #181644;
  --accent-border: #282474;
  --success: #107a56;
  --success-ink: #ffffff;
  --success-soft: #0a2125;
  --success-strong: #45987b;
  --warning: #a35b06;
  --warning-ink: #ffffff;
  --warning-soft: #2a1a13;
  --warning-strong: #b77f3d;
  --danger: #c0392f;
  --danger-ink: #ffffff;
  --danger-soft: #30131c;
  --danger-strong: #ce655d;
  --chart-1: #5954f3;
  --chart-2: #dc41bd;
  --chart-3: #db450e;
  --chart-4: #9c8600;
  --chart-5: #0f985d;
  --chart-6: #1799b4;
}

/* TaskLoop's own screen: the board, its columns and the drag states. */

.board-scroll {
  scrollbar-width: thin;
}
.board-scroll::-webkit-scrollbar {
  height: 10px;
}
.board-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

[data-card-id] {
  cursor: grab;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
[data-card-id]:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}
[data-card-id].is-dragging {
  opacity: 0.45;
  cursor: grabbing;
}
[data-drop-list] {
  transition: background 0.15s ease;
  border-radius: var(--radius-card);
}
[data-drop-list].is-over {
  background: var(--accent-soft);
  outline: 2px dashed var(--accent);
  outline-offset: -4px;
}

/* The sign-in side panel: a real gradient image, not a background colour. */
.brand-panel {
  background-image: var(--gradient-brand);
  background-color: #312e81;
}

.timeline-line {
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: -20px;
  width: 2px;
  background: var(--border);
}

.stat-tile {
  position: relative;
  overflow: hidden;
}
.stat-tile::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 104px;
  height: 104px;
  border-radius: 999px;
  background: var(--accent-soft);
}

html.reduced-motion [data-card-id],
html.reduced-motion [data-drop-list] {
  transition: none;
}
