/* ==========================================================================
   Relay — Team Inbox
   Design tokens
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/space-grotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("assets/work-sans.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/ibm-plex-mono.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f1ea;
  --surface: #fbfaf7;
  --card: #ffffff;
  --ink: #1a1815;
  --ink-2: #45403a;
  --muted: #7a746a;
  --faint: #a39c90;
  --line: #e4dfd5;
  --line-strong: #d2cabd;
  --accent: #d24a26;
  --accent-soft: #fbe9e2;
  --focus: #1d5bd6;

  --todo: #47586f;
  --todo-bg: #e7edf5;
  --in-progress: #9c6200;
  --in-progress-bg: #f6ecd4;
  --blocked: #ad3529;
  --blocked-bg: #f8e2de;
  --done: #2c7452;
  --done-bg: #ddefe5;

  --topbar-h: 64px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(26, 24, 21, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(26, 24, 21, 0.22);
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
dl,
dd,
dt,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

button,
input,
select {
  font: inherit;
  color: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

svg {
  display: block;
  width: 100%;
  height: 100%;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Top bar
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--topbar-h);
  padding: 0 clamp(16px, 3vw, 32px);
  padding-left: max(clamp(16px, 3vw, 32px), env(safe-area-inset-left));
  padding-right: max(clamp(16px, 3vw, 32px), env(safe-area-inset-right));
  background: rgba(244, 241, 234, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.mark-bg {
  fill: var(--ink);
}

.mark-tray,
.mark-arrow {
  fill: none;
  stroke: #f4f1ea;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark-arrow {
  stroke: var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
  white-space: nowrap;
}

.topbar-date {
  padding-left: 8px;
  border-left: 1px solid var(--line-strong);
  color: var(--ink-2);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--done);
  box-shadow: 0 0 0 3px rgba(44, 116, 82, 0.16);
}

/* ==========================================================================
   App shell / layout
   ========================================================================== */

.app {
  display: grid;
  grid-template-columns: 1fr;
  height: calc(100vh - var(--topbar-h));
  height: calc(100dvh - var(--topbar-h));
}

.list-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface);
  overflow: hidden;
}

.detail-pane {
  min-height: 0;
  background: var(--card);
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}

@media (min-width: 900px) {
  .app {
    grid-template-columns: minmax(340px, 440px) minmax(0, 1fr);
  }

  .list-pane {
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 899px) {
  body.has-detail .list-pane {
    display: none;
  }

  body:not(.has-detail) .detail-pane {
    display: none;
  }
}

/* ==========================================================================
   List pane
   ========================================================================== */

.pane-head {
  flex: none;
  padding: 22px clamp(16px, 3vw, 26px) 6px;
}

.pane-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.pane-title h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.list-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.controls {
  flex: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px clamp(16px, 3vw, 26px) 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field > label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.input-wrap,
.select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--faint);
  stroke-width: 1.7;
  stroke-linecap: round;
  pointer-events: none;
}

.input-icon path {
  stroke: var(--faint);
}

.input-wrap input,
.select-wrap select {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--card);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-wrap input {
  padding-left: 40px;
  padding-right: 42px;
}

.input-wrap input::placeholder {
  color: var(--faint);
}

.input-wrap input:hover,
.select-wrap select:hover {
  border-color: var(--ink-2);
}

.input-wrap input:focus,
.select-wrap select:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(29, 91, 214, 0.18);
}

.input-wrap input:focus-visible,
.select-wrap select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}

.clear-search {
  position: absolute;
  right: 6px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.clear-search svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.clear-search:hover {
  background: var(--paper);
  color: var(--ink);
}

.select-wrap select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.select-chevron {
  position: absolute;
  right: 13px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

/* Quick status pills */

.status-pills {
  flex: none;
  display: flex;
  gap: 7px;
  padding: 2px clamp(16px, 3vw, 26px) 14px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}

.status-pills::-webkit-scrollbar {
  display: none;
}

.pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pill:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}

.pill[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.pill-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.pill[aria-pressed="true"] .pill-count {
  color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   Task list
   ========================================================================== */

.list-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px clamp(16px, 3vw, 26px) 28px;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.task {
  min-width: 0;
}

.task-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 14px 15px 13px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  text-align: left;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.task-open:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.task-open:active {
  transform: translateY(0);
}

.task-open[aria-current="true"] {
  border-color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: var(--shadow-md);
}

.task-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.task-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.task-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  min-width: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.avatar {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: #f4f1ea;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.task-assignee {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 9.5rem;
  color: var(--ink-2);
  font-weight: 500;
}

.meta-sep {
  width: 3px;
  height: 3px;
  flex: none;
  border-radius: 50%;
  background: var(--line-strong);
}

.task-due {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.task-comments {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.task-comments svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Status pill */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 8px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}

.status-todo {
  color: var(--todo);
  background: var(--todo-bg);
}

.status-in-progress {
  color: var(--in-progress);
  background: var(--in-progress-bg);
}

.status-blocked {
  color: var(--blocked);
  background: var(--blocked-bg);
}

.status-done {
  color: var(--done);
  background: var(--done-bg);
}

.priority {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.priority-high {
  color: var(--accent);
}

/* ==========================================================================
   Empty state
   ========================================================================== */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 34px auto;
  max-width: 320px;
  text-align: center;
}

.empty-mark {
  width: 54px;
  height: 54px;
  color: var(--faint);
}

.empty-mark svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.empty-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.empty-text {
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.primary-btn {
  margin-top: 6px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.primary-btn:hover {
  background: var(--accent);
}

.primary-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   Detail pane
   ========================================================================== */

.detail-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 100%;
  padding: 48px 32px;
  text-align: center;
}

.placeholder-mark {
  width: 58px;
  height: 58px;
  margin-bottom: 4px;
  color: var(--faint);
}

.placeholder-mark svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-placeholder h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.detail-placeholder p {
  max-width: 34ch;
  font-size: 14.5px;
  color: var(--muted);
}

.detail {
  animation: detail-in 0.26s ease both;
}

@keyframes detail-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px clamp(20px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ghost-btn:hover {
  border-color: var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.ghost-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-transform: uppercase;
}

.detail-inner {
  padding: clamp(22px, 4vw, 44px) clamp(20px, 4vw, 44px) 56px;
  max-width: 74ch;
}

.detail-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-project {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.detail-project::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--accent);
}

.detail-title {
  font-family: var(--font-display);
  font-size: clamp(25px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.detail-title:focus {
  outline: none;
}

.detail-title:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

.detail-header .status-pill {
  align-self: flex-start;
  padding: 4px 11px 4px 10px;
  font-size: 12px;
}

.detail-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 20px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.field-status {
  width: min(240px, 100%);
}

.field-status select {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 14px;
  appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--card);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%237a746a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 16px 16px;
}

.field-status select:hover {
  border-color: var(--ink-2);
}

.field-status select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}

.detail-feedback {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--done);
}

.detail-feedback.is-visible::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  border-radius: 50%;
  background: var(--done-bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232c7452' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 10.5 3.4 3.4L15 6.8'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.fact {
  min-width: 0;
}

.fact-wide {
  grid-column: 1 / -1;
}

.fact dt {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact dd {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  min-width: 0;
}

.fact dd .avatar {
  width: 26px;
  height: 26px;
  font-size: 10.5px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}

.detail-body {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.detail-body p + p {
  margin-top: 15px;
}

.detail-body p:first-child {
  font-size: 17px;
  line-height: 1.66;
  color: var(--ink);
}

/* ==========================================================================
   Toast
   ========================================================================== */

.toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 90;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   Mobile refinements
   ========================================================================== */

@media (max-width: 640px) {
  .topbar-meta span:not(.live-dot) {
    display: none;
  }

  .topbar-date {
    padding-left: 0;
    border-left: 0;
  }

  .detail-status-row {
    align-items: stretch;
    flex-direction: column;
  }

  .field-status {
    width: 100%;
  }

  .fact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 360px) {
  .task-assignee {
    max-width: 6.5rem;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .detail {
    animation: none;
  }

  .task-open:hover {
    transform: none;
  }
}
