@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* === Глубокий near-black (Linear-like) === */
.dark, :root.dark{ --grey-50-hsl: 225, 13%, 7% !important; --grey-100-hsl: 222, 12%, 11% !important; }
.dark #app, .dark body{ background-image: radial-gradient(1100px 480px at 78% -10%, rgba(94,106,210,.10), transparent 62%) !important; background-attachment: fixed; }

/* === Шрифт Inter === */
body, body *:not(.icon):not(i):not(svg):not(path){ font-family:'Inter',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif !important; }

/* === Акцент индиго + трекинг === */
:root{ --primary-h:234deg!important; --primary-s:56%!important; --primary-l:60%!important; --primary-dark-l:50%!important; --primary-light-l:94%!important; }
h1,h2,h3,.title{ letter-spacing:-.012em!important; }

/* === КНОПКИ КРУПНЕЕ (легко целиться) === */
.button{
  border-radius:8px!important; font-weight:600!important;
  block-size:auto!important; min-height:2.6rem!important;
  padding:.55rem 1.1rem!important; font-size:1rem!important;
}
.button.is-small{ min-height:2.2rem!important; font-size:.9rem!important; padding:.4rem .8rem!important; }
.button.is-primary{ box-shadow:none!important; }
/* иконочные/таб-кнопки и пункты меню — больше зона попадания */
.button .icon, a.button .icon{ min-width:1.2rem; min-height:1.2rem; }
.switch-view-container a, .view-switcher a{ padding:.5rem .9rem!important; font-size:.95rem!important; }

/* === Карточки + воздух === */
.tasktext, .task .tasktext{ font-size:1rem!important; line-height:1.4!important; }
.tasks .task{ padding-top:.5rem!important; padding-bottom:.5rem!important; }
.kanban .tasks .task{
  border-radius:8px!important; padding:.9rem 1rem!important; margin-bottom:.6rem!important;
  border:1px solid rgba(255,255,255,.07); box-shadow:0 1px 3px rgba(0,0,0,.4);
  transition:box-shadow .12s ease, transform .12s ease;
}
.kanban .tasks .task:hover{ box-shadow:0 6px 20px rgba(0,0,0,.5); transform:translateY(-1px); }
.kanban .tasks .task:focus-visible{ outline:2px solid var(--primary,#5E6AD2); outline-offset:2px; }
.kanban .tasks .task .task-title, .kanban .tasks .task .tasktext{
  font-size:1.06rem!important; line-height:1.35!important; font-weight:600!important; letter-spacing:-.012em!important; margin-bottom:.55rem!important;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.task-identifier, .kanban .tasks .task .task-project{ color:#8A8F98!important; font-size:.8rem!important; font-weight:500!important; }
.kanban .tasks .task .labels-list, .kanban .tasks .task .assignees-list, .kanban .tasks .task .priority-label{ margin-top:.4rem!important; }
.kanban .tasks .task .label, .kanban .tasks .task .tag{ font-size:.8rem!important; padding:3px 10px!important; border-radius:6px!important; margin:2px 4px 2px 0!important; }
.kanban .tasks .task img{ border-radius:8px 8px 0 0!important; }
.kanban .bucket{ min-width:330px!important; }
.kanban .tasks .task .fancycheckbox, .kanban .tasks .task .icon{ min-width:24px; min-height:24px; }
