@charset "UTF-8";
.form, .task, .auth {
  width: 100%;
  max-width: 860px;
  background: #d0d0d0;
  margin: 40px auto 20px;
  padding: 40px 30px 30px;
  border-radius: 40px; }

.form__record {
  cursor: pointer;
  position: relative;
  padding: 10px;
  border-top: 4px solid black;
  background-color: #ffffffd4;
  margin: 7px;
  border-radius: 9px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(70, 70, 70, 0.7);
  transition: transform 0.37s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
  transform-origin: center center;
  /* Дополнительные настройки для стабилизации рендеринга */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
  contain: layout style paint;
  /* Восстанавливаем эффект увеличения с стабилизацией */ }
  .form__record:hover {
    transform: scale(1.02);
    border-top-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(90, 90, 90, 0.7); }

body {
  position: relative; }

@use 'https://fonts.googleapis.com/css2?family=Roboto&display=swap';
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

html {
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: never;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  /* Дополнительные настройки для стабилизации */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000; }

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Дополнительные настройки для стабилизации */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; }

@media (max-width: 680px) {
  /* Убираем стандартную подсветку элементов при касании на мобильных устройствах */
  * {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

  /* Предотвращаем автоматическое увеличение масштаба при фокусе на полях ввода */
  input,
  textarea,
  select {
    touch-action: manipulation;
    -webkit-touch-callout: none; } }
html, body {
  /* Сбрасываем отступы и гарантируем, что фон займёт весь экран */
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  /* чтобы не появлялась лишняя горизонтальная полоса прокрутки */
  /*
   * Сложный многослойный фон.
   * Состоит из основного светло-серого градиента, двух слоев текстуры
   * и радиального градиента для эффекта мягкого освещения.
  */
  background-color: #a5a5a5;
  /* Фоллбэк для старых браузеров */
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.15), transparent 35%), repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02) 2px, transparent 2px, transparent 35px), repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02) 2px, transparent 2px, transparent 35px), linear-gradient(170deg, #b9b9b9, #919191);
  background-size: cover; }

.page--index {
  /*
   * Фон для главной страницы.
   * Состоит из светлого градиента, легкой текстуры
   * и мягкой виньетки для акцента в центре.
  */
  background-color: #b9b9b9;
  /* Фоллбэк для старых браузеров */
  background-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.1) 0%, transparent 70%), repeating-linear-gradient(135deg, transparent, transparent 10px, rgba(0, 0, 0, 0.02) 10px, rgba(0, 0, 0, 0.02) 11px), linear-gradient(170deg, white, #c8c8c8);
  background-size: cover; }
  @media (max-width: 680px) {
    .page--index {
      /* Обеспечиваем правильное отображение фона на мобильных */
      min-height: 100vh;
      background-attachment: scroll;
      background-size: cover;
      background-repeat: no-repeat; } }
.page--list {
  /*
   * Концепция: "Шлифованный металл".
   * Светлый, структурированный фон.
  */
  background-color: #bebebe;
  /* Фоллбэк */
  background-image: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.4), transparent 70%), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.04) 0, rgba(0, 0, 0, 0.04) 2px, transparent 2px, transparent 4px), linear-gradient(160deg, #d2d2d2, #bebebe);
  background-size: cover; }
.page--task {
  /*
   * Концепция: "Фокус и концентрация".
   * Мягкое свечение на светло-сером фоне.
  */
  background-color: gainsboro;
  /* Фоллбэк */
  background-image: repeating-radial-gradient(circle at center, rgba(0, 0, 0, 0.03) 0, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 80px), radial-gradient(ellipse at center, rgba(255, 255, 255, 0.5) 0%, transparent 60%), linear-gradient(160deg, #ebebeb, gainsboro);
  background-size: cover; }
  @media (max-width: 680px) {
    .page--task {
      display: flex;
      min-height: 100%;
      /* Changed from 100vh to 100% */
      padding: 0 15px; } }
.page--archive {
  /*
   * Концепция: "Текстура камня или бумаги".
   * Элегантный фон с вертикальной текстурой.
  */
  background-color: #cdcdcd;
  /* Фоллбэк */
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5) 2px, transparent 2px, transparent 12px), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 6px), linear-gradient(160deg, #d7d7d7, #cdcdcd);
  background-size: cover; }
.page--notifications {
  /*
   * Концепция: "Сигнальные волны".
   * Светлый фон с холодным оттенком.
  */
  background-color: #c8cdd2;
  /* Фоллбэк */
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.4) 0%, transparent 40%), linear-gradient(160deg, #d2d7dc, #c8cdd2);
  background-size: cover; }
.page--auth {
  /*
   * Минималистичный и чистый фон.
   * Мягкий градиент от почти белого к светло-серому.
  */
  background-color: #f8f9fa;
  /* Фоллбэк */
  background-image: linear-gradient(170deg, #fdfdfd 0%, #f1f2f3 100%);
  background-size: 100% 100%; }

@media (max-width: 680px) {
  body.page--archive {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0 15px; } }

@media (max-width: 680px) {
  body.page--index {
    display: flex;
    min-height: 100vh;
    padding: 0 15px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    overflow-y: auto;
    position: relative;
    /* Дополнительные стили для улучшения скроллинга на главной странице */
    height: auto;
    flex-direction: column;
    /* Обеспечиваем правильное отображение фона */
    background-size: cover;
    background-repeat: no-repeat; } }

.auth-container {
  display: flex; }
  @media (max-width: 680px) {
    .auth-container {
      min-height: 100vh;
      padding: 0 15px; } }

@media (max-width: 680px) {
  body.page--list {
    display: flex;
    min-height: 100vh;
    padding: 0 15px; } }

.no-transition {
  transition: none !important; }

/* Apply fixed background only on larger screens to avoid mobile scroll issues */
@media (hover: hover) and (pointer: fine) {
  html, body {
    background-attachment: fixed; } }
/* Улучшаем скроллинг на мобильных устройствах только для главной страницы */
@media (max-width: 680px) {
  body.page--index {
    /* Убираем fixed background на мобильных устройствах только для главной страницы */
    background-attachment: scroll;
    /* Улучшаем производительность скроллинга */
    -webkit-overflow-scrolling: touch;
    /* Предотвращаем bounce эффект на iOS */
    overscroll-behavior: contain; } }
.button {
  transition: transform 0.3s, opacity 0.3s;
  position: relative; }
  .button:hover {
    transform: scale(1.2);
    opacity: 0.8; }
  .button--no-opacity:hover {
    opacity: 1; }

.delete-list-button {
  margin-right: 2px;
  margin-left: 2px; }

.button-reversed {
  transition: transform 0.3s, opacity 0.3s;
  position: relative;
  opacity: 0.8; }
  .button-reversed:hover {
    transform: scale(1.2);
    opacity: 1; }

.header {
  position: relative;
  display: flex;
  align-items: center; }
  .header__main-title {
    font-size: 1.2rem;
    color: #000000 !important;
    text-align: center;
    width: 100%;
    margin-bottom: -14px; }
  .header__subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #000000 !important;
    text-align: center;
    width: 100%; }
  .header.header__about-subtitle {
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
    margin-top: -15px; }
  .header--bottom-indented {
    margin-bottom: 20px; }
  .header__icon {
    width: 35px;
    height: 37px;
    margin-left: 10px;
    margin-right: 10px; }
    .header__icon--on-empty-list {
      width: 13px;
      height: 15px;
      opacity: 1;
      margin-right: -3px;
      vertical-align: middle; }
    .header__icon--lower {
      margin-top: 5px; }
    .header__icon--decreased {
      width: 30px;
      height: 32px; }
    .header__icon--right-edge {
      margin-left: 8px;
      margin-right: 2px;
      width: 20px;
      height: 23px; }
    .header__icon--left-edge-on-task-open {
      margin-left: -10px; }
      @media (max-width: 680px) {
        .header__icon--left-edge-on-task-open {
          margin-top: 10px; } }
  .header__task-name {
    flex-grow: 1;
    font-size: 21px;
    box-sizing: border-box;
    text-align: center;
    word-wrap: break-word;
    margin-right: 80px; }
    @media (max-width: 680px) {
      .header__task-name {
        margin-right: 40px; } }
  .header--spaced {
    display: flex;
    flex-grow: 1;
    font-size: 18px;
    word-wrap: break-word;
    min-width: 0; }
  .header--left-indented {
    margin-left: 10px; }
  .header--right-indented {
    margin-right: 30px; }
  .header--centered {
    justify-content: center; }
  .header__group--left {
    display: flex; }
    .header__group--left .header__icon:not(.header__icon--right-edge) {
      margin-left: 1px;
      margin-right: -2px; }

.form--lists {
  /*
   * Концепция: "Кристаллические блики".
   * Элегантная анимация с белыми кристаллическими бликами,
   * мерцанием и пульсирующими тенями для премиального эффекта.
   */
  background-color: #e9eef2;
  background-image: repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(233, 238, 242, 0.03) 5deg, transparent 10deg, rgba(200, 200, 200, 0.02) 15deg, transparent 20deg), radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.08) 0px, rgba(255, 255, 255, 0.08) 2px, transparent 2px, transparent 8px), radial-gradient(circle at 85% 75%, rgba(200, 200, 200, 0.06) 0px, rgba(200, 200, 200, 0.06) 1px, transparent 1px, transparent 12px), radial-gradient(circle at 45% 60%, rgba(220, 220, 220, 0.05) 0px, rgba(220, 220, 220, 0.05) 1px, transparent 1px, transparent 15px), radial-gradient(circle at 70% 30%, rgba(240, 240, 240, 0.04) 0px, rgba(240, 240, 240, 0.04) 1px, transparent 1px, transparent 10px), radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 80% 70%, rgba(240, 240, 240, 0.06) 0%, transparent 60%), conic-gradient(from 45deg at 25% 40%, transparent 0deg, rgba(255, 255, 255, 0.06) 15deg, transparent 30deg, rgba(220, 220, 220, 0.04) 45deg, transparent 60deg, rgba(240, 240, 240, 0.05) 75deg, transparent 90deg, rgba(200, 200, 200, 0.03) 105deg, transparent 120deg), conic-gradient(from 180deg at 75% 60%, transparent 0deg, rgba(230, 230, 230, 0.04) 20deg, transparent 40deg, rgba(255, 255, 255, 0.05) 60deg, transparent 80deg, rgba(210, 210, 210, 0.03) 100deg, transparent 120deg), linear-gradient(160deg, #e9eef2, #bebebe, #c8c8c8);
  border: none;
  border-radius: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(192, 200, 208, 0.06), inset 0 2px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(192, 200, 208, 0.12), inset 2px 0 0 rgba(255, 255, 255, 0.25), inset -2px 0 0 rgba(176, 184, 192, 0.1);
  position: relative;
  overflow: hidden;
  animation: crystalPulse 12.8s ease-in-out infinite;
  background-position: 0% 0%, 100% 100%, 50% 50%, 25% 75%, 0% 0%, 100% 100%;
  animation: sandstorm 8s ease-in-out infinite; }
  .form--lists::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(255, 255, 255, 0.6) 0%, transparent 40%), radial-gradient(ellipse at 70% 60%, rgba(255, 255, 255, 0.5) 0%, transparent 35%);
    animation: shimmer 3.2s ease-in-out infinite;
    pointer-events: none; }
  .form--lists::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0px, rgba(255, 255, 255, 0.4) 3px, transparent 3px, transparent 8px), radial-gradient(circle at 60% 20%, rgba(240, 240, 240, 0.3) 0px, rgba(240, 240, 240, 0.3) 2px, transparent 2px, transparent 12px), radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.35) 0px, rgba(255, 255, 255, 0.35) 2px, transparent 2px, transparent 10px), radial-gradient(circle at 40% 80%, rgba(230, 230, 230, 0.3) 0px, rgba(230, 230, 230, 0.3) 1px, transparent 1px, transparent 15px), radial-gradient(circle at 10% 60%, rgba(250, 250, 250, 0.25) 0px, rgba(250, 250, 250, 0.25) 2px, transparent 2px, transparent 6px), radial-gradient(circle at 75% 15%, rgba(255, 255, 255, 0.3) 0px, rgba(255, 255, 255, 0.3) 2px, transparent 2px, transparent 9px), radial-gradient(circle at 25% 85%, rgba(245, 245, 245, 0.28) 0px, rgba(245, 245, 245, 0.28) 1px, transparent 1px, transparent 11px);
    animation: sandParticles 48s ease-in-out infinite;
    pointer-events: none; }
@keyframes crystalPulse {
  0%, 100% {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 10px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.3), inset 1px 0 0 rgba(255, 255, 255, 0.1), inset -1px 0 0 rgba(0, 0, 0, 0.2); }
  50% {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 15px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.4), inset 1px 0 0 rgba(255, 255, 255, 0.15), inset -1px 0 0 rgba(0, 0, 0, 0.3); } }
@keyframes shimmer {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1) translateX(0%) translateY(0%); }
  25% {
    opacity: 1;
    transform: scale(1.5) translateX(10%) translateY(-6%); }
  50% {
    opacity: 1;
    transform: scale(1.8) translateX(20%) translateY(-10%); }
  75% {
    opacity: 1;
    transform: scale(1.5) translateX(10%) translateY(-6%); }
  100% {
    opacity: 0.7;
    transform: scale(1) translateX(0%) translateY(0%); } }
@keyframes crystalRotate {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }
@keyframes sandstorm {
  0% {
    background-position: 0% 0%, 100% 100%, 50% 50%, 25% 75%, 0% 0%, 100% 100%; }
  15% {
    background-position: 20% 15%, 80% 85%, 70% 30%, 45% 55%, 10% 10%, 90% 90%; }
  30% {
    background-position: 40% 30%, 60% 70%, 90% 10%, 65% 35%, 20% 20%, 80% 80%; }
  45% {
    background-position: 60% 45%, 40% 55%, 10% 90%, 85% 15%, 30% 30%, 70% 70%; }
  60% {
    background-position: 80% 60%, 20% 40%, 30% 70%, 5% 95%, 40% 40%, 60% 60%; }
  75% {
    background-position: 100% 75%, 0% 25%, 50% 50%, 25% 75%, 50% 50%, 50% 50%; }
  90% {
    background-position: 80% 90%, 20% 10%, 70% 30%, 45% 55%, 60% 60%, 40% 40%; }
  100% {
    background-position: 0% 0%, 100% 100%, 50% 50%, 25% 75%, 0% 0%, 100% 100%; } }
@keyframes sandParticles {
  0% {
    opacity: 0.3;
    transform: scale(0.8) translateX(0%) translateY(0%) rotate(0deg); }
  4% {
    opacity: 0.5;
    transform: scale(1) translateX(8%) translateY(-4%) rotate(2deg); }
  8% {
    opacity: 0.7;
    transform: scale(1.2) translateX(15%) translateY(-8%) rotate(4deg); }
  12% {
    opacity: 0.4;
    transform: scale(0.9) translateX(-6%) translateY(5%) rotate(-2deg); }
  16% {
    opacity: 0.8;
    transform: scale(1.3) translateX(20%) translateY(-12%) rotate(6deg); }
  20% {
    opacity: 0.3;
    transform: scale(0.7) translateX(-4%) translateY(3%) rotate(-1deg); }
  24% {
    opacity: 0.9;
    transform: scale(1.4) translateX(25%) translateY(-16%) rotate(7deg); }
  28% {
    opacity: 0.5;
    transform: scale(0.8) translateX(-8%) translateY(4%) rotate(-3deg); }
  32% {
    opacity: 0.6;
    transform: scale(1.1) translateX(12%) translateY(-6%) rotate(3deg); }
  36% {
    opacity: 0.4;
    transform: scale(0.9) translateX(-5%) translateY(7%) rotate(-2deg); }
  40% {
    opacity: 0.8;
    transform: scale(1.3) translateX(18%) translateY(-10%) rotate(5deg); }
  44% {
    opacity: 0.3;
    transform: scale(0.7) translateX(-10%) translateY(2%) rotate(-4deg); }
  48% {
    opacity: 0.7;
    transform: scale(1.2) translateX(14%) translateY(-7%) rotate(4deg); }
  52% {
    opacity: 0.5;
    transform: scale(0.9) translateX(-3%) translateY(6%) rotate(-1deg); }
  56% {
    opacity: 0.9;
    transform: scale(1.4) translateX(22%) translateY(-14%) rotate(6deg); }
  60% {
    opacity: 0.4;
    transform: scale(0.8) translateX(-7%) translateY(3%) rotate(-2deg); }
  64% {
    opacity: 0.6;
    transform: scale(1.1) translateX(11%) translateY(-5%) rotate(3deg); }
  68% {
    opacity: 0.3;
    transform: scale(0.9) translateX(-4%) translateY(8%) rotate(-1deg); }
  72% {
    opacity: 0.8;
    transform: scale(1.3) translateX(17%) translateY(-9%) rotate(5deg); }
  76% {
    opacity: 0.5;
    transform: scale(0.8) translateX(-6%) translateY(4%) rotate(-3deg); }
  80% {
    opacity: 0.7;
    transform: scale(1.2) translateX(13%) translateY(-6%) rotate(4deg); }
  84% {
    opacity: 0.4;
    transform: scale(0.9) translateX(-2%) translateY(5%) rotate(-1deg); }
  88% {
    opacity: 0.6;
    transform: scale(1.1) translateX(10%) translateY(-4%) rotate(2deg); }
  92% {
    opacity: 0.3;
    transform: scale(0.8) translateX(-5%) translateY(3%) rotate(-2deg); }
  96% {
    opacity: 0.5;
    transform: scale(1) translateX(6%) translateY(-2%) rotate(1deg); }
  100% {
    opacity: 0.3;
    transform: scale(0.8) translateX(0%) translateY(0%) rotate(0deg); } }
@media (max-width: 680px) {
  .form--lists {
    /* Дополнительные стили для улучшения скроллинга на главной странице */
    position: relative;
    z-index: 1;
    /* Обеспечиваем правильное позиционирование для скроллинга */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    animation-duration: 0.5s !important;
    animation-iteration-count: 1 !important;
    background-image: repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(233, 238, 242, 0.03) 5deg, transparent 10deg, rgba(200, 200, 200, 0.02) 15deg, transparent 20deg), radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08) 0px, rgba(255, 255, 255, 0.08) 2px, transparent 2px, transparent 8px), radial-gradient(circle at 50% 70%, rgba(200, 200, 200, 0.06) 0px, rgba(200, 200, 200, 0.06) 1px, transparent 1px, transparent 12px), radial-gradient(circle at 30% 50%, rgba(220, 220, 220, 0.05) 0px, rgba(220, 220, 220, 0.05) 1px, transparent 1px, transparent 15px), radial-gradient(circle at 70% 50%, rgba(240, 240, 240, 0.04) 0px, rgba(240, 240, 240, 0.04) 1px, transparent 1px, transparent 10px), radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 50% 70%, rgba(240, 240, 240, 0.06) 0%, transparent 60%), conic-gradient(from 45deg at 50% 40%, transparent 0deg, rgba(255, 255, 255, 0.06) 15deg, transparent 30deg, rgba(220, 220, 220, 0.04) 45deg, transparent 60deg, rgba(240, 240, 240, 0.05) 75deg, transparent 90deg, rgba(200, 200, 200, 0.03) 105deg, transparent 120deg), conic-gradient(from 180deg at 50% 60%, transparent 0deg, rgba(230, 230, 230, 0.04) 20deg, transparent 40deg, rgba(255, 255, 255, 0.05) 60deg, transparent 80deg, rgba(210, 210, 210, 0.03) 100deg, transparent 120deg), linear-gradient(160deg, #e9eef2, #bebebe, #c8c8c8);
    background-position: 0% 0%, 50% 50%, 50% 50%, 50% 50%, 0% 0%, 100% 100%; }
    .form--lists::before {
      background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.6) 0%, transparent 40%), radial-gradient(ellipse at 50% 60%, rgba(255, 255, 255, 0.5) 0%, transparent 35%); }
    .form--lists::after {
      background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.4) 0px, rgba(255, 255, 255, 0.4) 3px, transparent 3px, transparent 8px), radial-gradient(circle at 30% 50%, rgba(240, 240, 240, 0.3) 0px, rgba(240, 240, 240, 0.3) 2px, transparent 2px, transparent 12px), radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.35) 0px, rgba(255, 255, 255, 0.35) 2px, transparent 2px, transparent 10px), radial-gradient(circle at 50% 80%, rgba(230, 230, 230, 0.3) 0px, rgba(230, 230, 230, 0.3) 1px, transparent 1px, transparent 15px), radial-gradient(circle at 50% 20%, rgba(250, 250, 250, 0.25) 0px, rgba(250, 250, 250, 0.25) 2px, transparent 2px, transparent 6px), radial-gradient(circle at 40% 15%, rgba(255, 255, 255, 0.3) 0px, rgba(255, 255, 255, 0.3) 2px, transparent 2px, transparent 9px), radial-gradient(circle at 60% 85%, rgba(245, 245, 245, 0.28) 0px, rgba(245, 245, 245, 0.28) 1px, transparent 1px, transparent 11px); }
  @keyframes sandstorm {
    0% {
      background-position: 0% 0%, 50% 50%, 50% 50%, 50% 50%, 0% 0%, 100% 100%; }
    15% {
      background-position: 20% 15%, 50% 50%, 50% 50%, 50% 50%, 10% 10%, 90% 90%; }
    30% {
      background-position: 40% 30%, 50% 50%, 50% 50%, 50% 50%, 20% 20%, 80% 80%; }
    45% {
      background-position: 60% 45%, 50% 50%, 50% 50%, 50% 50%, 30% 30%, 70% 70%; }
    60% {
      background-position: 80% 60%, 50% 50%, 50% 50%, 50% 50%, 40% 40%, 60% 60%; }
    75% {
      background-position: 100% 75%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%; }
    90% {
      background-position: 80% 90%, 50% 50%, 50% 50%, 50% 50%, 60% 60%, 40% 40%; }
    100% {
      background-position: 0% 0%, 50% 50%, 50% 50%, 50% 50%, 0% 0%, 100% 100%; } }
  @keyframes sandParticles {
    0% {
      opacity: 0.3;
      transform: scale(0.8) translateX(0%) translateY(0%) rotate(0deg); }
    4% {
      opacity: 0.5;
      transform: scale(1) translateX(3%) translateY(-2%) rotate(1deg); }
    8% {
      opacity: 0.7;
      transform: scale(1.2) translateX(6%) translateY(-4%) rotate(2deg); }
    12% {
      opacity: 0.4;
      transform: scale(0.9) translateX(-3%) translateY(3%) rotate(-1deg); }
    16% {
      opacity: 0.8;
      transform: scale(1.3) translateX(8%) translateY(-6%) rotate(3deg); }
    20% {
      opacity: 0.3;
      transform: scale(0.7) translateX(-2%) translateY(2%) rotate(-1deg); }
    24% {
      opacity: 0.9;
      transform: scale(1.4) translateX(10%) translateY(-8%) rotate(4deg); }
    28% {
      opacity: 0.5;
      transform: scale(0.8) translateX(-4%) translateY(2%) rotate(-2deg); }
    32% {
      opacity: 0.6;
      transform: scale(1.1) translateX(5%) translateY(-3%) rotate(2deg); }
    36% {
      opacity: 0.4;
      transform: scale(0.9) translateX(-2%) translateY(4%) rotate(-1deg); }
    40% {
      opacity: 0.8;
      transform: scale(1.3) translateX(7%) translateY(-5%) rotate(3deg); }
    44% {
      opacity: 0.3;
      transform: scale(0.7) translateX(-5%) translateY(1%) rotate(-2deg); }
    48% {
      opacity: 0.7;
      transform: scale(1.2) translateX(6%) translateY(-4%) rotate(2deg); }
    52% {
      opacity: 0.5;
      transform: scale(0.9) translateX(-1%) translateY(3%) rotate(-1deg); }
    56% {
      opacity: 0.9;
      transform: scale(1.4) translateX(9%) translateY(-7%) rotate(4deg); }
    60% {
      opacity: 0.4;
      transform: scale(0.8) translateX(-3%) translateY(2%) rotate(-1deg); }
    64% {
      opacity: 0.6;
      transform: scale(1.1) translateX(4%) translateY(-3%) rotate(2deg); }
    68% {
      opacity: 0.3;
      transform: scale(0.9) translateX(-2%) translateY(4%) rotate(-1deg); }
    72% {
      opacity: 0.8;
      transform: scale(1.3) translateX(7%) translateY(-5%) rotate(3deg); }
    76% {
      opacity: 0.5;
      transform: scale(0.8) translateX(-3%) translateY(2%) rotate(-2deg); }
    80% {
      opacity: 0.7;
      transform: scale(1.2) translateX(5%) translateY(-3%) rotate(2deg); }
    84% {
      opacity: 0.4;
      transform: scale(0.9) translateX(-1%) translateY(3%) rotate(-1deg); }
    88% {
      opacity: 0.6;
      transform: scale(1.1) translateX(4%) translateY(-2%) rotate(1deg); }
    92% {
      opacity: 0.3;
      transform: scale(0.8) translateX(-2%) translateY(2%) rotate(-1deg); }
    96% {
      opacity: 0.5;
      transform: scale(1) translateX(3%) translateY(-1%) rotate(1deg); }
    100% {
      opacity: 0.3;
      transform: scale(0.8) translateX(0%) translateY(0%) rotate(0deg); } } }
.form--list {
  /*
   * Концепция: "Перекрестно-шлифованный металл" (светлый вариант).
   * Сочетает горизонтальные и вертикальные текстуры для создания
   * эффекта легкой, стильной обработки.
  */
  background-color: #f0f0f0;
  /* Фоллбэк */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07), inset 0 1px 1px rgba(242, 242, 242, 0.7); }
  @media (max-width: 680px) {
    .form--list {
      margin-bottom: 100px; } }
.form--task {
  /*III
   * Концепция: "Чистый сигнал".
   * Минималистичный дизайн с легким, едва заметным рисунком,
   * напоминающим расходящиеся волны.
   */
  background-color: rgba(248, 249, 252, 0.85);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  background-image: repeating-radial-gradient(circle at center, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02) 1px, transparent 1px, transparent 40px);
  background-size: cover; }
  @media (max-width: 680px) {
    .form--task {
      pointer-events: auto;
      touch-action: manipulation; } }
.form--archive {
  /*
   * Концепция: "Текстура старой бумаги".
   * Теплый, слегка текстурированный фон, создающий
   * ощущение архивного документа.
   */
  background-color: rgba(245, 245, 240, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  background-image: repeating-linear-gradient(180deg, transparent, transparent 1px, rgba(0, 0, 0, 0.02) 1px, rgba(0, 0, 0, 0.02) 2px); }
  @media (max-width: 680px) {
    .form--archive {
      margin: 0;
      width: 100%; } }
.form--notifications {
  /*
   * Концепция: "Дыхание стекла" или "Легкая изморозь".
   * Едва уловимый эффект, созданный с помощью очень разреженного шума
   * поверх градиента. Добавляет текстуру, а не явный рисунок.
   */
  background-color: rgba(245, 248, 252, 0.92);
  backdrop-filter: blur(10px) saturate(100%);
  -webkit-backdrop-filter: blur(10px) saturate(100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  background-image: repeating-conic-gradient(rgba(0, 0, 0, 0.015) 0% 5%, transparent 5% 15%), linear-gradient(170deg, #f9fbff, #f0f3f9);
  background-size: 5px 5px, 100%; }
  @media (max-width: 680px) {
    .form--notifications {
      width: 93%; } }
.form__record {
  display: flex;
  align-items: center;
  justify-content: flex-start; }
  .form__record p {
    flex-grow: 1;
    margin-right: 2px !important;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    will-change: auto;
    transform: translateZ(0); }
  .form__record a.form__text {
    flex-grow: 1;
    min-width: 0;
    margin-right: 2px !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: #231a2f;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    will-change: color;
    transform: translateZ(0);
    /* Минимальный hover эффект без трансформаций */ }
    .form__record a.form__text:hover {
      color: #16111e;
      /* Убираем text-shadow, который может вызывать проблемы */
      /* text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3); */ }
    @media (max-width: 680px) {
      .form__record a.form__text.form__text--margin-right {
        white-space: normal;
        max-width: 85px;
        text-align: right; } }
  .form__record .form__record-actions a {
    white-space: nowrap;
    flex-shrink: 0; }
  .form__record:hover:not(.js-lists-item) .form__record-actions {
    opacity: 1;
    visibility: visible; }
  .form__record--bold {
    font-weight: bold !important;
    color: #742a2a; }
  .form__record--enlarged-gray {
    /*
     * Концепция: "Кристаллические записи".
     * Адаптированы под кристаллический фон с элегантными эффектами.
     */
    padding: 17px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(248, 250, 252, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    /* Временно отключаем backdrop-filter для стабилизации */
    /* backdrop-filter: blur(8px); */
    /* -webkit-backdrop-filter: blur(8px); */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    /* Временно отключаем сложные псевдоэлементы для стабилизации */
    /*
    // Кристаллические блики при наведении
    &::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: conic-gradient(
            from 0deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent
        );
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }
    
    // Мерцание при наведении
    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent
        );
        opacity: 0;
        transition: all 0.6s ease;
        pointer-events: none;
    }
    */
    /* Восстанавливаем эффект увеличения с стабилизацией */ }
    @media (max-width: 680px) {
      .form__record--enlarged-gray {
        touch-action: pan-y;
        -webkit-user-select: none;
        user-select: none;
        /* Дополнительные стили для улучшения скроллинга на главной странице */
        position: relative;
        z-index: 1; } }
    .form__record--enlarged-gray.js-lists-item:hover {
      transform: scale(1.01);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      border-color: rgba(255, 255, 255, 0.8); }
      .form__record--enlarged-gray.js-lists-item:hover .form__record-actions {
        opacity: 0;
        visibility: hidden; }
    .form__record--enlarged-gray:not(.js-lists-item):hover {
      transform: scale(1.01);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      border-color: rgba(255, 255, 255, 0.8); }
      .form__record--enlarged-gray:not(.js-lists-item):hover .form__record-actions {
        opacity: 1;
        visibility: visible; }
    .form__record--enlarged-gray.show-actions .form__record-actions, .form__record--enlarged-gray.show-actions:hover .form__record-actions {
      opacity: 1 !important;
      visibility: visible !important; }
.form__record-actions {
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
  margin-right: 2px !important;
  position: relative;
  right: -4px !important;
  flex-shrink: 0; }
.form__img-custom {
  width: 22px;
  height: 24px;
  display: block;
  margin: 0 5px !important; }
  .form__img-custom--increased {
    width: 30px;
    height: 33px; }
  .form__img-custom--marginal {
    margin-right: 2px !important; }
.form__user-message {
  text-align: center;
  font-size: 19px; }
  .form__user-message > * {
    opacity: 1 !important; }
.form__text--padding-left {
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-left: 10px; }
  @media (max-width: 680px) {
    .form__text--padding-left {
      padding-left: 0;
      overflow-wrap: break-word;
      word-break: normal; } }
.form__text--margin-right {
  margin-right: 17px; }
.form__notification {
  position: relative;
  display: inline-block; }
  .form__notification--unread-count {
    color: white;
    font-weight: bold;
    position: absolute;
    top: -5px;
    right: 5px;
    background-color: #742a2a;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    border: 1px solid white; }
.form__menu {
  position: relative;
  z-index: 10;
  padding-top: 25px;
  border-top: 1px solid transparent;
  margin-top: 0 !important; }
.form__divider {
  width: 20%;
  border: none;
  border-top: 1px solid black;
  margin: 0.3rem auto; }
  @media (max-width: 680px) {
    .form__divider {
      width: 36%; } }

.list__form-container {
  position: relative;
  max-width: 860px;
  margin: 40px auto 20px; }
  @media (max-width: 680px) {
    .list__form-container {
      margin: auto;
      width: 100%; } }

@media (max-width: 680px) {
  .task {
    margin: auto; } }
.task .flatpickr-input {
  width: 100%;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  transition: border 0.3s, box-shadow 0.3s;
  background-color: white; }
  .task .flatpickr-input:focus {
    border-color: #463b3b;
    outline: none;
    box-shadow: 0 0 6px #4a4742; }
  @media (max-width: 680px) {
    .task .flatpickr-input {
      touch-action: manipulation;
      -webkit-touch-callout: none; } }
.task--border-white {
  border: 17px solid white; }
  @media (max-width: 680px) {
    .task--border-white {
      padding-top: 0;
      padding-bottom: 12px; } }
.task--border-gray {
  border: 17px solid #d2d2d2; }
.task--opened {
  background: linear-gradient(135deg, #ffffff, #f7f9fc);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
.task__group {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column; }
  .task__group--horizontal {
    flex-direction: row;
    gap: 25px;
    align-items: center; }
.task__row {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  gap: 15px; }
  .task__row .flatpickr-wrapper {
    width: 100%; }
  @media (max-width: 680px) {
    .task__row {
      flex-direction: column;
      align-items: flex-start;
      gap: 5px; } }
  .task__row--description {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px; }
.task__label {
  font-weight: bold;
  font-size: 16px;
  color: #373a3d;
  flex-shrink: 0;
  margin-top: 14px; }
  @media (max-width: 680px) {
    .task__label {
      width: auto;
      margin-bottom: 2px; } }
  @media (max-width: 680px) {
    .task__label-mobile {
      margin-bottom: 6px;
      margin-top: 6px; } }
  .task__label--purple {
    color: #1e0b2d; }
.task__data {
  word-wrap: break-word;
  font-size: 16px;
  margin-top: 14px; }
  @media (max-width: 680px) {
    .task__data {
      margin-top: 0; } }
  .task__data--description {
    display: block;
    width: 100%;
    margin-top: 0;
    line-height: 1.5;
    white-space: pre-line;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word; }
  .task__data--indented {
    margin-top: 25px;
    padding-left: 15px;
    border-left: 3px solid #623781; }
  .task__data--bolder-text {
    font-weight: bold; }
    .task__data--bolder-text-red {
      color: #63230d; }
    .task__data--bolder-text-purple {
      color: #2f034f !important; }
.task__input {
  width: 100%;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: #333;
  transition: border 0.3s, box-shadow 0.3s;
  background-color: white; }
  .task__input:focus {
    border-color: #463b3b;
    outline: none;
    box-shadow: 0 0 6px #4a4742; }
  .task__input::placeholder {
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px !important;
    color: #999 !important;
    font-weight: 400 !important;
    opacity: 0.8 !important; }
  @media (max-width: 680px) {
    .task__input {
      touch-action: manipulation;
      -webkit-touch-callout: none; } }
.task__checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px; }
  .task__checkbox-label--offset {
    margin-left: auto; }
    @media (max-width: 680px) {
      .task__checkbox-label--offset {
        margin-left: 0;
        margin-top: 20px; } }
.task__checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: black; }
  .task__checkbox--lower {
    margin-top: 15px; }
    @media (max-width: 680px) {
      .task__checkbox--lower {
        margin-top: 0; } }
  @media (max-width: 680px) {
    .task__checkbox {
      margin-left: 0; } }
.task__actions {
  margin-top: -10px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 10;
  pointer-events: auto; }
  @media (max-width: 680px) {
    .task__actions {
      touch-action: manipulation; } }
.task__submit {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #463b3b, #2d2525);
  border: 1px solid #463b3b;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  z-index: 10;
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(70, 59, 59, 0.3);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none; }
  .task__submit:hover {
    background: linear-gradient(135deg, #5a4a4a, #3a2f2f);
    border-color: #5a4a4a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); }
  .task__submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
  @media (max-width: 680px) {
    .task__submit {
      touch-action: manipulation;
      -webkit-tap-highlight-color: rgba(70, 59, 59, 0.4); }
      .task__submit:not(.task__submit--small) {
        width: 100%;
        box-sizing: border-box; }
      .task__submit:hover {
        transform: none; }
      .task__submit:active {
        background: linear-gradient(135deg, #3a2f2f, #1f1a1a);
        transform: scale(0.98);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); } }
.task__submit.loading {
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transition: none !important; }
.task__bottom-line {
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem; }

textarea.task__input {
  min-height: 70px;
  resize: vertical;
  font-family: 'Roboto', sans-serif;
  font-weight: 400; }
  textarea.task__input::placeholder {
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px !important;
    color: #999 !important;
    font-weight: 400 !important;
    opacity: 0.8 !important; }
  @media (max-width: 680px) {
    textarea.task__input {
      touch-action: manipulation;
      -webkit-touch-callout: none; } }
  textarea.task__input.task__input--enlarged {
    min-height: 80px;
    margin-bottom: -35px; }
  textarea.task__input.task__input--ai-compact {
    min-height: 50px;
    max-height: 60px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    padding: 8px 12px;
    resize: vertical;
    margin-bottom: 0; }
    @media (max-width: 680px) {
      textarea.task__input.task__input--ai-compact {
        min-height: 45px;
        max-height: 55px;
        font-size: 14px;
        font-family: 'Roboto', sans-serif;
        padding: 6px 10px; } }
  textarea.task__input.task__input--description-compact {
    min-height: 40px;
    max-height: 50px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    padding: 8px 12px;
    resize: vertical; }
    @media (max-width: 680px) {
      textarea.task__input.task__input--description-compact {
        min-height: 35px;
        max-height: 45px;
        font-size: 14px;
        font-family: 'Roboto', sans-serif;
        padding: 6px 10px; } }

.task__row--column {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px; }
  @media (max-width: 680px) {
    .task__row--column {
      margin-top: -6px;
      gap: 8px; }
      .task__row--column #checklist-container {
        padding: 12px;
        margin-bottom: 12px; }
      .task__row--column .checklist-item-row {
        padding: 8px 10px;
        margin-bottom: 10px; }
      .task__row--column .task__input--checklist {
        font-size: 14px;
        padding: 8px 10px; }
        .task__row--column .task__input--checklist:focus {
          padding: 8px 10px; }
      .task__row--column .checklist-item-row .checklist-remove-btn {
        min-width: 32px;
        height: 32px;
        padding: 6px; }
        .task__row--column .checklist-item-row .checklist-remove-btn:active {
          background-color: #dc3545 !important;
          border-color: #dc3545 !important;
          transform: scale(1.1) !important; }
          .task__row--column .checklist-item-row .checklist-remove-btn:active .form__img-custom {
            filter: brightness(0) invert(1) !important; }
        .task__row--column .checklist-item-row .checklist-remove-btn .form__img-custom {
          width: 12px;
          height: 12px; } }

#checklist-container, #checklist-view-container {
  width: 100%;
  margin-top: 5px;
  margin-bottom: 5px; }

#checklist-container {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #e9ecef;
  margin-bottom: 10px; }

.checklist-add-button-container {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e9ecef;
  margin-bottom: 12px; }

.checklist-add-button {
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, #463b3b, #2d2525);
  border: 1px solid #463b3b;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden; }
  .checklist-add-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease; }
  .checklist-add-button:hover {
    background: linear-gradient(135deg, #2d2525, #1a1616);
    border-color: #2d2525;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(70, 59, 59, 0.3); }
    .checklist-add-button:hover::before {
      left: 100%; }
  .checklist-add-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(70, 59, 59, 0.2); }
  .checklist-add-button__icon {
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.2s ease; }
  .checklist-add-button__text {
    font-size: 14px;
    font-weight: 500; }
  .checklist-add-button:hover .checklist-add-button__icon {
    transform: rotate(90deg); }
  @media (max-width: 680px) {
    .checklist-add-button {
      padding: 12px 16px;
      font-size: 13px;
      margin-top: 4px; }
      .checklist-add-button__icon {
        font-size: 14px; }
      .checklist-add-button__text {
        font-size: 13px; } }

.checklist-item-row {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 8px;
  gap: 10px;
  padding: 8px 12px;
  background-color: #fff;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease; }
  .checklist-item-row:hover {
    border-color: #463b3b;
    box-shadow: 0 2px 4px rgba(70, 59, 59, 0.1); }
  .checklist-item-row:last-child {
    margin-bottom: 0; }
  @media (max-width: 680px) {
    .checklist-item-row {
      margin-bottom: 12px;
      padding: 10px 12px; }
      .checklist-item-row:last-child {
        margin-bottom: 8px; } }

.task__input--checklist {
  flex-grow: 1;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: #333;
  border: 1px solid transparent;
  background-color: transparent;
  padding: 8px 12px;
  font-size: 16px;
  transition: all 0.2s ease;
  border-radius: 4px; }
  .task__input--checklist:focus {
    outline: none;
    background-color: #f8f9fa;
    border-color: #463b3b;
    box-shadow: 0 0 0 2px rgba(70, 59, 59, 0.1); }
  .task__input--checklist::placeholder {
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px !important;
    color: #999 !important;
    font-weight: 400 !important;
    opacity: 0.8 !important; }

.button-reversed--small {
  padding: 4px;
  line-height: 0; }
  .button-reversed--small .form__img-custom {
    width: 16px;
    height: 16px;
    margin: 0; }

.checklist-item-row .checklist-remove-btn {
  padding: 8px;
  border-radius: 4px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px; }
  .checklist-item-row .checklist-remove-btn:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    transform: scale(1.05); }
    .checklist-item-row .checklist-remove-btn:hover .form__img-custom {
      filter: brightness(0) invert(1); }
  .checklist-item-row .checklist-remove-btn:active {
    background-color: #dc3545;
    border-color: #dc3545;
    transform: scale(1.05); }
    .checklist-item-row .checklist-remove-btn:active .form__img-custom {
      filter: brightness(0) invert(1); }
  .checklist-item-row .checklist-remove-btn .form__img-custom {
    width: 14px;
    height: 14px;
    margin: 0;
    transition: filter 0.2s ease; }

.checklist-item-text--completed {
  text-decoration: line-through;
  opacity: 0.6;
  color: #555; }

.checklist-item-row--completed {
  background-color: #f8f9fa;
  border-color: #e9ecef;
  opacity: 0.8; }
  .checklist-item-row--completed .task__input--checklist {
    text-decoration: line-through;
    opacity: 0.6;
    color: #666;
    background-color: #f5f5f5;
    cursor: not-allowed; }
    .checklist-item-row--completed .task__input--checklist[readonly] {
      pointer-events: none; }
  .checklist-item-row--completed .button {
    pointer-events: auto;
    cursor: pointer;
    opacity: 0.7; }
    .checklist-item-row--completed .button:hover {
      opacity: 1; }

#checklist-view-container .checklist-item-row {
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease; }
  #checklist-view-container .checklist-item-row:hover {
    background-color: #f8f9fa; }
  #checklist-view-container .checklist-item-row:last-child {
    border-bottom: none; }

#checklist-view-container .task__checkbox-label {
  display: flex;
  align-items: center;
  flex-grow: 1;
  margin-right: 10px; }

#checklist-view-container .checklist-item-text {
  margin-left: 12px;
  align-self: flex-start;
  line-height: 1.4;
  font-size: 16px;
  color: #333;
  transition: all 0.3s ease; }
  #checklist-view-container .checklist-item-text.checklist-item-text--completed {
    text-decoration: line-through;
    opacity: 0.6;
    color: #666; }

#checklist-view-container .task__checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease; }
  #checklist-view-container .task__checkbox::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease; }
  #checklist-view-container .task__checkbox:checked {
    background-color: #463b3b;
    border-color: #463b3b;
    box-shadow: 0 2px 4px rgba(70, 59, 59, 0.3); }
    #checklist-view-container .task__checkbox:checked::after {
      transform: rotate(45deg) scale(1); }
  #checklist-view-container .task__checkbox:hover:not(:checked) {
    border-color: #463b3b;
    box-shadow: 0 0 0 2px rgba(70, 59, 59, 0.1); }
  #checklist-view-container .task__checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(70, 59, 59, 0.2); }
  @media (max-width: 680px) {
    #checklist-view-container .task__checkbox {
      width: 24px;
      height: 24px;
      min-width: 24px;
      min-height: 24px; }
      #checklist-view-container .task__checkbox::after {
        left: 8px;
        top: 3px;
        width: 7px;
        height: 12px; } }

.task__ai-header {
  margin-bottom: 4px;
  display: flex;
  justify-content: stretch; }
  .task__ai-header .task__submit--ai-header {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 4px;
    box-shadow: none;
    text-align: center; }
    @media (max-width: 680px) {
      .task__ai-header .task__submit--ai-header {
        font-size: 13px;
        padding: 10px 18px; } }
  @media (max-width: 680px) {
    .task__ai-header {
      justify-content: center;
      margin-bottom: 6px; } }

.task__ai-group .task__input-container {
  margin-bottom: 0 !important; }

.task__submit--ai-header {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #6c757d;
  border: 1px solid #dee2e6;
  font-size: 13px;
  padding: 6px 14px;
  opacity: 0.7;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 400;
  letter-spacing: 0.3px;
  border-radius: 4px; }
  .task__submit--ai-header::before {
    content: "🤖";
    margin-right: 6px;
    font-size: 12px;
    opacity: 0.8;
    transition: all 0.3s ease; }
  .task__submit--ai-header:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    color: #495057;
    border-color: #adb5bd;
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); }
    .task__submit--ai-header:hover::before {
      opacity: 1;
      transform: scale(1.05); }
  .task__submit--ai-header:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
  .task__submit--ai-header:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(108, 117, 125, 0.3); }
  @media (max-width: 680px) {
    .task__submit--ai-header {
      width: 100%;
      max-width: 300px;
      justify-content: center;
      padding: 8px 16px;
      font-size: 13px;
      opacity: 0.8;
      font-weight: 400; } }

.task__submit--ai-subtle {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #6c757d;
  border: 1px solid #dee2e6;
  font-size: 12px;
  padding: 6px 14px;
  opacity: 0.7;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 400;
  letter-spacing: 0.3px;
  border-radius: 4px; }
  .task__submit--ai-subtle::before {
    content: "🤖";
    margin-right: 6px;
    font-size: 12px;
    opacity: 0.7;
    transition: all 0.3s ease; }
  .task__submit--ai-subtle:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    color: #495057;
    border-color: #adb5bd;
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); }
    .task__submit--ai-subtle:hover::before {
      opacity: 1;
      transform: scale(1.05); }
  .task__submit--ai-subtle:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
  .task__submit--ai-subtle:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(108, 117, 125, 0.3); }

.form--task .task__actions {
  display: flex;
  justify-content: center;
  margin-top: 10px; }
  .form--task .task__actions .task__submit {
    width: 100%;
    max-width: 400px;
    text-align: center; }
  @media (max-width: 680px) {
    .form--task .task__actions {
      flex-direction: column;
      gap: 10px; }
      .form--task .task__actions .task__submit--ai-subtle {
        width: 100%;
        max-width: 250px;
        justify-content: center;
        padding: 8px 16px;
        font-size: 13px;
        opacity: 0.8;
        font-weight: 400; } }

.task--opened .task__row {
  margin-bottom: 0;
  gap: 5px; }

.header {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%; }

.header__task-name {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  text-align: center;
  flex: 1;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 60px);
  padding-left: 30px;
  padding-right: 30px;
  box-sizing: border-box; }
  @media (max-width: 680px) {
    .header__task-name {
      font-size: 18px;
      width: calc(100% - 50px);
      padding-left: 25px;
      padding-right: 25px; } }

.task__data {
  color: #333;
  font-size: 14px;
  line-height: 1.4; }
  .task__data--description {
    margin-top: 4px;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #463b3b;
    font-style: italic; }
  .task__data--bolder-text {
    font-weight: 600; }
    .task__data--bolder-text-purple {
      color: #6f42c1; }
    .task__data--bolder-text-red {
      color: #dc3545; }

.task__group--dates {
  background-color: #f8f9fa;
  border-radius: 4px;
  border-left: 3px solid #463b3b;
  padding: 12px 16px;
  margin-top: 4px; }
  .task__group--dates .task__data {
    font-style: italic;
    font-size: 13px;
    color: #666; }
  @media (max-width: 680px) {
    .task__group--dates {
      padding: 10px 12px; }
      .task__group--dates .task__data {
        font-size: 12px; } }

.task--opened .task__group {
  margin-bottom: 8px; }
  @media (max-width: 680px) {
    .task--opened .task__group--mobile-compact {
      margin-bottom: 6px; } }
.task--opened .task__row {
  margin-bottom: 4px; }
  @media (max-width: 680px) {
    .task--opened .task__row--mobile-compact {
      margin-bottom: 3px;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px; } }
  .task--opened .task__row--description {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px; }
.task--opened .task__row__check-box {
  margin-top: 8px;
  display: flex !important;
  align-items: center;
  gap: 8px; }
  @media (max-width: 680px) {
    .task--opened .task__row__check-box {
      margin-top: 6px;
      gap: 6px; } }
.task--opened .task__row__check-box {
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(70, 59, 59, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 4px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
  @media (max-width: 680px) {
    .task--opened .task__row__check-box {
      padding: 6px 10px;
      margin: 3px 0; } }
.task--opened .task__row__check-box .task__checkbox--lower {
  width: 18px;
  height: 18px;
  border: 2px solid #463b3b;
  border-radius: 4px;
  background: #463b3b;
  margin: 0;
  cursor: default; }
  @media (max-width: 680px) {
    .task--opened .task__row__check-box .task__checkbox--lower {
      width: 20px;
      height: 20px; } }
.task--opened .task__row__check-box .task__label--purple {
  font-weight: 600;
  font-size: 15px;
  color: #1e0b2d;
  margin: 0; }
  @media (max-width: 680px) {
    .task--opened .task__row__check-box .task__label--purple {
      font-size: 14px; } }
.task--opened .task__row__check-box + .task__row__check-box {
  margin-top: 0; }
.task--opened .task__data--bolder-text-red {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 16px 0;
  text-align: center;
  font-weight: 600;
  color: #721c24;
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.1); }
  @media (max-width: 680px) {
    .task--opened .task__data--bolder-text-red {
      padding: 10px 12px;
      margin: 12px 0;
      font-size: 13px; } }
.task--opened .task__actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0; }
  @media (max-width: 680px) {
    .task--opened .task__actions {
      gap: 20px;
      margin-top: 20px;
      padding-top: 16px; } }
  .task--opened .task__actions .button-reversed {
    padding: 10px;
    border-radius: 6px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease; }
    .task--opened .task__actions .button-reversed:hover {
      background: #e9ecef;
      border-color: #d0d0d0;
      transform: none;
      box-shadow: none; }
    .task--opened .task__actions .button-reversed:active {
      background: #dee2e6;
      transform: none; }
    @media (max-width: 680px) {
      .task--opened .task__actions .button-reversed {
        padding: 8px; } }

.task__row__check-box {
  display: flex !important;
  align-items: center;
  margin-bottom: -3px;
  gap: 15px; }
  @media (max-width: 680px) {
    .task__row__check-box {
      flex-direction: row !important;
      align-items: center !important;
      margin-top: 0;
      margin-bottom: 0; } }
  .task__row__check-box .task__checkbox-group {
    display: flex;
    gap: 15px;
    flex-shrink: 0; }
  @media (max-width: 680px) {
    .task__row__check-box {
      display: contents; } }

.task__datetime-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px; }
  .task__datetime-wrapper .task__row {
    margin-bottom: 0;
    flex-grow: 1; }
  .task__datetime-wrapper .task__checkbox-group {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
    width: 162px;
    align-items: center;
    margin-top: 10px !important; }
    .task__datetime-wrapper .task__checkbox-group .task__checkbox-label {
      display: flex !important;
      align-items: center !important;
      gap: 10px;
      font-size: 16px;
      margin: 0 !important;
      padding: 0 !important; }
    .task__datetime-wrapper .task__checkbox-group .task__checkbox {
      margin: 0 !important;
      padding: 0 !important; }
  @media (max-width: 680px) {
    .task__datetime-wrapper {
      flex-direction: column;
      align-items: flex-start;
      gap: 5px; }
      .task__datetime-wrapper .task__row {
        width: 100%; }
      .task__datetime-wrapper .task__checkbox-group {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 2rem; }
        .task__datetime-wrapper .task__checkbox-group .task__checkbox-label {
          margin: 0 !important;
          padding: 0 !important; }
        .task__datetime-wrapper .task__checkbox-group .task__checkbox {
          margin: 0 !important;
          padding: 0 !important; } }

form[action*="task-create"] .task__label,
form[action*="task-update"] .task__label {
  width: 162px;
  flex-shrink: 0; }

form[action*="task-create"] .task__datetime-wrapper .task__checkbox-group,
form[action*="task-update"] .task__datetime-wrapper .task__checkbox-group {
  margin-top: 10px !important;
  align-items: center !important; }

@media (max-width: 680px) {
  .task__group .task__ai-group {
    order: 1; }
  .task__group .task__row--reminder {
    order: 2; }
  .task__group .task__checkbox-group:not(.task__datetime-wrapper .task__checkbox-group) {
    order: 3; }
  .task__group .task__datetime-wrapper {
    order: 3; }
  .task__group .task__row--column {
    order: 4; }

  .task__checkbox-group:not(.task__datetime-wrapper .task__checkbox-group) {
    flex-direction: row;
    justify-content: left;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
    gap: 2rem;
    margin-top: 0; }
    .task__checkbox-group:not(.task__datetime-wrapper .task__checkbox-group) .task__checkbox-label--offset {
      margin-left: 0;
      margin-top: 0; }

  form[action*="task-create"] .task__label,
  form[action*="task-update"] .task__label {
    width: auto;
    margin-bottom: 2px; } }
@media (max-width: 680px) {
  form[action*="task-update"] .task__datetime-wrapper .task__checkbox-group {
    margin-top: 1rem; }

  form[action*="task-create"] .task__datetime-wrapper .task__checkbox-group {
    margin-top: 0 !important; } }
@media (max-width: 680px) {
  form[action*="task-create"] .task__datetime-wrapper .task__row {
    margin-bottom: 12px; } }
.form--task input::placeholder,
.form--task textarea::placeholder,
.task input::placeholder,
.task textarea::placeholder {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  color: #999 !important;
  font-weight: 400 !important;
  opacity: 0.8 !important; }

.lists__form-container {
  position: relative;
  max-width: 650px;
  margin: 40px auto 20px; }
  @media (max-width: 680px) {
    .lists__form-container {
      margin: auto;
      width: 100%;
      padding-top: 18px;
      /* Улучшаем скроллинг на мобильных устройствах */
      padding-bottom: 20px;
      min-height: auto;
      /* Дополнительные стили для главной страницы */
      flex-shrink: 0;
      position: relative; } }
.lists__input--full-width {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  color: #321e43;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0; }
  .lists__input--full-width:focus {
    outline: none;
    box-shadow: none;
    border: none;
    background: transparent; }
  .lists__input--full-width::placeholder {
    color: #312a37;
    font-weight: bold;
    opacity: 0.8; }
.lists__action-icon--enlarged {
  width: 28px;
  height: 27px; }
.lists__text--bold {
  text-decoration: none;
  color: black; }

.edit-list-button {
  margin-right: 2px !important; }

.form__record--enlarged-gray .form__record-actions {
  right: -15px !important; }

.auth {
  max-width: 500px;
  margin-top: 50px;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  /*
   * Концепция: "Свечение и глубина".
   * Убираем текстуру, фокусируемся на сложном градиенте.
   * Радиальный градиент создает эффект свечения сверху,
   * а линейный градиент добавляет глубину и объем.
   */
  background: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.6), transparent 40%), linear-gradient(170deg, #f0f0f5, #d8d8e0); }
  .auth__title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #333; }
  .auth__subtitle {
    text-align: center;
    font-size: 16px;
    margin-top: -15px;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.5; }
  .auth__group {
    margin-bottom: 20px; }
  .auth__input-wrapper {
    position: relative;
    display: flex;
    align-items: center; }
  .auth__input {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s; }
    .auth__input:focus {
      border-color: #000;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
      outline: none; }
  .auth__eye-icon {
    position: absolute;
    right: 15px;
    cursor: pointer;
    width: 20px;
    height: 20px; }
  .auth__label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555; }
  .auth__error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 20px; }
  .auth__success {
    color: #27ae60;
    background-color: #e9f7ef;
    border: 1px solid #a3d9b8;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center; }
  .auth__submit {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: #000;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s; }
    .auth__submit:hover {
      background-color: #333;
      transform: translateY(-2px); }
    .auth__submit--guest {
      background-color: #aaa; }
      .auth__submit--guest:hover {
        background-color: #888; }
  .auth__footer {
    text-align: center;
    margin-top: 20px; }
    .auth__footer--register {
      margin-top: 26px; }
    .auth__footer--guest {
      margin-top: 18px;
      margin-bottom: -12px; }
    .auth__footer--forgot-password {
      text-align: right;
      margin-top: 12px;
      margin-bottom: 30px; }
  .auth__link {
    color: #000;
    text-decoration: none;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: color 0.25s; }
    .auth__link:hover {
      color: #575757; }
  .auth__bottom-line {
    border-bottom: 1px solid black;
    padding-bottom: 10px; }
  @media (max-width: 680px) {
    .auth {
      margin: auto;
      width: 100%;
      max-width: 100%;
      padding: 20px; } }

.loader-ai {
  width: 38px;
  height: 38px;
  border-width: 5px; }

.actions-panel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 835px;
  height: 64px;
  z-index: 5;
  margin: 55px auto -15px;
  padding-bottom: 9px;
  max-width: 860px; }
  @media (max-width: 680px) {
    .actions-panel:not(.actions-panel--decreased) {
      flex-direction: column;
      width: 97%;
      height: auto;
      padding: 28px 0;
      margin-bottom: -15px; }
      .actions-panel:not(.actions-panel--decreased)::before {
        height: calc(100% + 10px);
        transform: perspective(100px) rotateX(4deg); }
      .actions-panel:not(.actions-panel--decreased) .actions-panel__separator {
        display: none; }
      .actions-panel:not(.actions-panel--decreased) .actions-panel__group {
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: -10px; }
      .actions-panel:not(.actions-panel--decreased) .actions-panel__text {
        font-size: 21px; }
      .actions-panel:not(.actions-panel--decreased) .actions-panel__group:nth-child(1) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
        margin-bottom: 6px; } }
  .actions-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Скругление верхних углов */
    border-radius: 18px 18px 0 0;
    transform: perspective(200px) rotateX(7deg);
    transform-origin: bottom;
    /* Вместо polygon — inset с round (учитывает радиусы) */
    clip-path: inset(0 round 18px 18px 0 0);
    /*
     * Концепция: "Полированный алюминий".
     * Очень светлый, почти белый фон, продолжающий тему металла.
     * Текстура сведена к минимуму, чтобы создать гладкую, отражающую поверхность.
     */
    background-color: #e8e8e8;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 70%), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.015) 0, rgba(0, 0, 0, 0.015) 1px, transparent 1px, transparent 6px), linear-gradient(160deg, #f2f2f2, #e8e8e8);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08), inset 0 1.2px 1px rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.05); }
  .actions-panel--decreased {
    width: 36%; }
    @media (max-width: 680px) {
      .actions-panel--decreased {
        width: calc(55% + 20px); } }
  .actions-panel--gradient-index::before {
    /*
     * Концепция: "Кристаллические блики" - адаптировано под actions-panel.
     * Соответствует стилю form--lists с элегантными кристаллическими эффектами.
     */
    background-color: #f2f5f8;
    background-image: repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(242, 245, 248, 0.02) 5deg, transparent 10deg, rgba(220, 220, 220, 0.015) 15deg, transparent 20deg), radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.12) 0px, rgba(255, 255, 255, 0.12) 2px, transparent 2px, transparent 8px), radial-gradient(circle at 85% 75%, rgba(230, 230, 230, 0.08) 0px, rgba(230, 230, 230, 0.08) 1px, transparent 1px, transparent 12px), radial-gradient(circle at 45% 60%, rgba(240, 240, 240, 0.06) 0px, rgba(240, 240, 240, 0.06) 1px, transparent 1px, transparent 15px), radial-gradient(circle at 70% 30%, rgba(250, 250, 250, 0.05) 0px, rgba(250, 250, 250, 0.05) 1px, transparent 1px, transparent 10px), radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 50%), radial-gradient(ellipse at 80% 70%, rgba(250, 250, 250, 0.08) 0%, transparent 60%), conic-gradient(from 45deg at 25% 40%, transparent 0deg, rgba(255, 255, 255, 0.08) 15deg, transparent 30deg, rgba(240, 240, 240, 0.05) 45deg, transparent 60deg, rgba(250, 250, 250, 0.06) 75deg, transparent 90deg, rgba(230, 230, 230, 0.04) 105deg, transparent 120deg), conic-gradient(from 180deg at 75% 60%, transparent 0deg, rgba(240, 240, 240, 0.05) 20deg, transparent 40deg, rgba(255, 255, 255, 0.06) 60deg, transparent 80deg, rgba(220, 220, 220, 0.04) 100deg, transparent 120deg), linear-gradient(160deg, #f2f5f8, #d0d5da, #d8d8d8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), 0 8px 20px rgba(200, 210, 220, 0.04), inset 0 2px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(200, 210, 220, 0.08), inset 2px 0 0 rgba(255, 255, 255, 0.4), inset -2px 0 0 rgba(190, 200, 210, 0.06);
    animation: crystalPulse 12.8s ease-in-out infinite;
    background-position: 0% 0%, 100% 100%, 50% 50%, 25% 75%, 0% 0%, 100% 100%;
    animation: sandstorm 8s ease-in-out infinite; }
  .actions-panel__group {
    display: flex;
    align-items: center; }
    .actions-panel__group .button:hover {
      transform: none; }
      .actions-panel__group .button:hover .header__icon {
        transform: scale(1.2); }
    .actions-panel__group .header__icon {
      transition: transform 0.3s; }
    .actions-panel__group .header__icon:not(.header__icon--right-edge) {
      margin-left: 15px;
      margin-right: -5px;
      width: 27px;
      height: 28px; }
    .actions-panel__group .actions-panel__buttons-row {
      border: none;
      box-shadow: none;
      text-decoration: none; }
  .actions-panel__text {
    display: flex;
    flex-grow: 1;
    margin-right: 10px;
    font-size: 23px;
    margin-left: 8px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 2px; }
    .actions-panel__text--shortened-right {
      margin-right: -4px; }
  .actions-panel__separator {
    font-size: 30px;
    color: rgba(0, 0, 0, 0.7);
    margin-right: 2px;
    font-weight: 300; }

@keyframes crystalPulse {
  0%, 100% {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(200, 210, 220, 0.15), inset 1px 0 0 rgba(255, 255, 255, 0.3), inset -1px 0 0 rgba(190, 200, 210, 0.1); }
  50% {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), 0 15px 30px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(200, 210, 220, 0.2), inset 1px 0 0 rgba(255, 255, 255, 0.4), inset -1px 0 0 rgba(190, 200, 210, 0.15); } }
@keyframes sandstorm {
  0% {
    background-position: 0% 0%, 100% 100%, 50% 50%, 25% 75%, 0% 0%, 100% 100%; }
  15% {
    background-position: 20% 15%, 80% 85%, 70% 30%, 45% 55%, 10% 10%, 90% 90%; }
  30% {
    background-position: 40% 30%, 60% 70%, 90% 10%, 65% 35%, 20% 20%, 80% 80%; }
  45% {
    background-position: 60% 45%, 40% 55%, 10% 90%, 85% 15%, 30% 30%, 70% 70%; }
  60% {
    background-position: 80% 60%, 20% 40%, 30% 70%, 5% 95%, 40% 40%, 60% 60%; }
  75% {
    background-position: 100% 75%, 0% 25%, 50% 50%, 25% 75%, 50% 50%, 50% 50%; }
  90% {
    background-position: 80% 90%, 20% 10%, 70% 30%, 45% 55%, 60% 60%, 40% 40%; }
  100% {
    background-position: 0% 0%, 100% 100%, 50% 50%, 25% 75%, 0% 0%, 100% 100%; } }
/* --- Финальная версия _about.scss --- */
:root {
  --about-bg: #f4f7f9;
  --about-text: #333;
  --about-text-secondary: #777;
  --about-card-bg: #ffffff;
  --about-highlight: #000000;
  --about-purple: #2f034f; }

.about-container {
  background-color: var(--about-bg);
  color: var(--about-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  padding: 1rem; }
  @media (max-width: 680px) {
    .about-container {
      min-height: 100vh; } }

.about-hero {
  text-align: center;
  padding: 6rem 2rem;
  background-color: #f4f7f9;
  border-radius: 16px;
  width: 90%;
  max-width: 1400px;
  margin: 1rem auto 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid #e9eef2; }
  .about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#bec6cf 0.5px, transparent 0.5px);
    background-size: 15px 15px;
    opacity: 0.8;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1; }
  .about-hero .blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    filter: blur(50px);
    opacity: 0.6;
    transition: opacity 0.6s ease; }
  .about-hero .blob {
    position: absolute;
    background: #d0d8e0;
    border-radius: 50%;
    transition: all 1s ease-in-out;
    animation: move-blob 30s infinite alternate; }
  .about-hero .blob:nth-child(1) {
    width: 350px;
    height: 300px;
    top: -50px;
    left: -100px;
    animation-duration: 35s; }
  .about-hero .blob:nth-child(2) {
    width: 250px;
    height: 280px;
    top: 50%;
    left: 20%;
    animation-delay: -15s; }
  .about-hero .blob:nth-child(3) {
    width: 280px;
    height: 280px;
    top: 20%;
    left: 70%;
    animation-delay: -5s;
    animation-duration: 25s; }
  .about-hero__content {
    position: relative;
    z-index: 3; }
  .about-hero__title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #333;
    letter-spacing: -1.5px; }
    .about-hero__title .highlight-text {
      font-weight: 900;
      color: #000;
      transition: color 0.4s ease; }
  .about-hero__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: black;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7; }
  .about-hero__button {
    background: transparent;
    border: 2px solid #363c42;
    color: black;
    border-radius: 50px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative; }
    .about-hero__button:hover, .about-hero__button:focus {
      background: var(--about-purple);
      border-color: var(--about-purple);
      color: white;
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(81, 10, 132, 0.2); }
  .about-hero:hover::before, .about-hero:focus::before {
    background-image: radial-gradient(#98a0a8 1px, transparent 1px);
    background-size: 45px 45px;
    opacity: 1; }
  .about-hero:hover .blob-container, .about-hero:focus .blob-container {
    opacity: 1; }
  .about-hero:hover .blob, .about-hero:focus .blob {
    animation-duration: 10s; }
  .about-hero:hover .blob:nth-child(1), .about-hero:focus .blob:nth-child(1) {
    background: var(--about-purple);
    transform: scale(1.2); }
    @media (max-width: 680px) {
      .about-hero:hover .blob:nth-child(1), .about-hero:focus .blob:nth-child(1) {
        background: #af7bce; } }
  .about-hero:hover .blob:nth-child(2), .about-hero:focus .blob:nth-child(2) {
    background: #a042b8; }
  .about-hero:hover .blob:nth-child(3), .about-hero:focus .blob:nth-child(3) {
    animation-duration: 8s; }
  .about-hero:hover .highlight-text, .about-hero:focus .highlight-text {
    color: var(--about-purple); }
    @media (max-width: 680px) {
      .about-hero:hover .highlight-text, .about-hero:focus .highlight-text {
        color: #430c6d; } }

@keyframes move-blob {
  0% {
    transform: translate(0, 0) scale(1); }
  50% {
    transform: translate(80px, -100px) scale(1.3) rotate(180deg); }
  100% {
    transform: translate(-50px, 60px) scale(0.9) rotate(360deg); } }
@keyframes move-blob {
  0% {
    transform: translate(0, 0) scale(1); }
  50% {
    transform: translate(80px, -100px) scale(1.3) rotate(180deg); }
  100% {
    transform: translate(-50px, 60px) scale(0.9) rotate(360deg); } }
.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto 3rem; }
  @media (min-width: 768px) {
    .about-features {
      grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1200px) {
    .about-features {
      grid-template-columns: repeat(4, 1fr); } }

.about-feature {
  background-color: var(--about-card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden; }
  .about-feature:hover, .about-feature:focus {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
  .about-feature__visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #e9eef2;
    border-bottom: 1px solid #dde4e9; }
  .about-feature__content {
    padding: 1.5rem;
    text-align: center; }
  .about-feature__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem; }
  .about-feature__text {
    color: var(--about-text-secondary); }

/* --- Адаптированные анимации --- */
/* 1. Списки */
.visual-lists-card {
  position: absolute;
  width: 150px;
  height: 90px;
  background: #d0d8e0;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease-out; }

.about-feature:hover .card-1, .about-feature:focus .card-1 {
  transform: rotate(-12deg) translate(-55%, -10%) scale(0.9); }

.about-feature:hover .card-2, .about-feature:focus .card-2 {
  transform: rotate(-2deg) scale(1);
  z-index: 2; }

.about-feature:hover .card-3, .about-feature:focus .card-3 {
  transform: rotate(8deg) translate(55%, -10%) scale(0.9); }

/* 2. ИИ (ИСПРАВЛЕНО) */
.visual-ai-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 95%; }

.visual-ai-text {
  padding: 0.8rem;
  border-radius: 6px;
  transition: all 0.5s ease-out;
  font-size: 0.9rem;
  background: #d0d8e0;
  color: black;
  flex-grow: 1;
  text-align: center;
  white-space: nowrap; }

.visual-ai-arrow {
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: all 0.3s ease-out; }

.visual-ai-task {
  display: flex;
  align-items: center;
  transition: all 0.5s ease-out;
  font-size: 0.9rem;
  padding: 0.8rem;
  border-radius: 6px; }

.ai-task-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid var(--about-highlight);
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  flex-shrink: 0; }

.ai-task-checkbox::after {
  content: '✓';
  color: var(--about-highlight);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s ease-out; }

.ai-task-text {
  position: relative;
  padding-bottom: 3px; }

.ai-task-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--about-purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease-out; }

.about-feature:hover .visual-ai-text, .about-feature:focus .visual-ai-text {
  transform: scale(0.8);
  opacity: 0.5; }

.about-feature:hover .visual-ai-arrow, .about-feature:focus .visual-ai-arrow {
  transform: scale(1.5); }

.about-feature:hover .visual-ai-task, .about-feature:focus .visual-ai-task {
  transform: scale(1.1); }

.about-feature:hover .ai-task-checkbox::after, .about-feature:focus .ai-task-checkbox::after {
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0.2s; }

.about-feature:hover .ai-task-text::after, .about-feature:focus .ai-task-text::after {
  transform: scaleX(1);
  transition-delay: 0.2s; }

/* 3. Голос (с переливом) */
.visual-voice-wave-container {
  display: flex;
  align-items: center;
  height: 40px; }

.wv-bar {
  width: 4px;
  height: 8px;
  background-color: var(--about-highlight);
  border-radius: 3px;
  margin: 0 2px; }

.about-feature:hover .wv-bar, .about-feature:focus .wv-bar {
  animation: wv-animate 1.0s infinite ease-in-out; }

@keyframes wv-animate {
  0%, 100% {
    transform: scaleY(1);
    background-color: var(--about-highlight); }
  50% {
    transform: scaleY(5);
    background-color: var(--about-purple); } }
.about-feature:hover .wv-bar:nth-child(1), .about-feature:focus .wv-bar:nth-child(1) {
  animation-delay: 0.1s; }

.about-feature:hover .wv-bar:nth-child(2), .about-feature:focus .wv-bar:nth-child(2) {
  animation-delay: 0.2s; }

.about-feature:hover .wv-bar:nth-child(3), .about-feature:focus .wv-bar:nth-child(3) {
  animation-delay: 0.3s; }

.about-feature:hover .wv-bar:nth-child(4), .about-feature:focus .wv-bar:nth-child(4) {
  animation-delay: 0.4s; }

.about-feature:hover .wv-bar:nth-child(5), .about-feature:focus .wv-bar:nth-child(5) {
  animation-delay: 0.5s; }

.about-feature:hover .wv-bar:nth-child(6), .about-feature:focus .wv-bar:nth-child(6) {
  animation-delay: 0.6s; }

.about-feature:hover .wv-bar:nth-child(7), .about-feature:focus .wv-bar:nth-child(7) {
  animation-delay: 0.7s; }

.about-feature:hover .wv-bar:nth-child(8), .about-feature:focus .wv-bar:nth-child(8) {
  animation-delay: 0.8s; }

.about-feature:hover .wv-bar:nth-child(9), .about-feature:focus .wv-bar:nth-child(9) {
  animation-delay: 0.9s; }

.about-feature:hover .wv-bar:nth-child(10), .about-feature:focus .wv-bar:nth-child(10) {
  animation-delay: 1.0s; }

.about-feature:hover .wv-bar:nth-child(11), .about-feature:focus .wv-bar:nth-child(11) {
  animation-delay: 1.1s; }

.about-feature:hover .wv-bar:nth-child(12), .about-feature:focus .wv-bar:nth-child(12) {
  animation-delay: 1.2s; }

.about-feature:hover .wv-bar:nth-child(13), .about-feature:focus .wv-bar:nth-child(13) {
  animation-delay: 1.3s; }

.about-feature:hover .wv-bar:nth-child(14), .about-feature:focus .wv-bar:nth-child(14) {
  animation-delay: 1.4s; }

.about-feature:hover .wv-bar:nth-child(15), .about-feature:focus .wv-bar:nth-child(15) {
  animation-delay: 1.5s; }

/* 4. Чек-листы (Скорость 2x) */
.visual-checklist {
  background: #d0d8e0;
  padding: 1rem;
  border-radius: 12px;
  width: 220px;
  font-size: 0.9rem; }

.check-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease; }

.check-item span {
  width: 18px;
  height: 18px;
  border: 2px solid var(--about-highlight);
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  flex-shrink: 0; }

.check-item.done span::after {
  content: '✓';
  color: var(--about-highlight);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease-out; }

.about-feature:hover .check-item, .about-feature:focus .check-item {
  transform: translateX(-10px); }

.about-feature:hover .check-item.done, .about-feature:focus .check-item.done {
  transform: translateX(0);
  text-decoration: line-through;
  color: var(--about-text-secondary);
  transition-delay: 0.15s; }

.about-feature:hover .check-item.done span::after, .about-feature:focus .check-item.done span::after {
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0.25s; }

/* 5. Фильтры */
.visual-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 25px);
  gap: 10px; }

.dot {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #d0d8e0;
  transition: all 0.5s ease; }

.about-feature:hover .dot, .about-feature:focus .dot {
  opacity: 0.2;
  transform: scale(0.8); }

.about-feature:hover .dot.urgent, .about-feature:focus .dot.urgent,
.about-feature:hover .dot.important, .about-feature:focus .dot.important {
  opacity: 1;
  transform: scale(1.1); }

.dot.urgent {
  background: var(--about-highlight); }

.dot.important {
  background: #ffffff;
  border: 1px solid #d0d8e0; }

.about-feature:hover .dot.important, .about-feature:focus .dot.important {
  background: var(--about-purple);
  border-color: var(--about-purple); }

/* 6. Уведомления (Скорость ~1.3x) */
.visual-notification-bell {
  font-size: 3rem;
  transition: transform 0.5s ease;
  z-index: 2; }

.about-feature:hover .visual-notification-bell, .about-feature:focus .visual-notification-bell {
  animation: ring 1.05s ease-in-out; }

@keyframes ring {
  0%, 100% {
    transform: rotate(0); }
  10%, 30%, 50% {
    transform: rotate(-15deg); }
  20%, 40% {
    transform: rotate(15deg); } }
.visual-notification-card {
  position: absolute;
  background: var(--about-card-bg);
  padding: 0.8rem;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition: all 0.28s ease-out 0.21s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
  z-index: 3; }

.about-feature:hover .visual-notification-card, .about-feature:focus .visual-notification-card {
  opacity: 1;
  transform: translateY(-30px) scale(1); }

/* 7. Гостевой режим (НОВАЯ АНИМАЦИЯ) */
.visual-guest-toggle {
  display: flex;
  background: #d0d8e0;
  border-radius: 12px;
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative; }

.toggle-option {
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  transition: color 0.4s ease;
  z-index: 1; }

.toggle-option:first-child {
  color: white; }

.toggle-option:last-child {
  color: var(--about-text); }

.visual-guest-toggle::after {
  content: '';
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: calc(50% - 0.5rem);
  height: calc(100% - 1rem);
  background: var(--about-highlight);
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); }

.about-feature:hover .visual-guest-toggle::after, .about-feature:focus .visual-guest-toggle::after {
  left: 50%;
  background: var(--about-purple); }

.about-feature:hover .toggle-option:first-child, .about-feature:focus .toggle-option:first-child {
  color: var(--about-text); }

.about-feature:hover .toggle-option:last-child, .about-feature:focus .toggle-option:last-child {
  color: white; }

/* 8. Интуитивный интерфейс (Дышащее созвездие) */
.visual--constellation {
  overflow: hidden; }

.constellation-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  width: 90%;
  height: 90%;
  gap: 5%;
  align-items: center;
  justify-items: center; }

.star {
  width: 8px;
  height: 8px;
  background: var(--about-highlight);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5); }

.about-feature:hover .star, .about-feature:focus .star {
  animation: twinkle 1.4s infinite ease-in-out; }

.about-feature:hover .star:nth-child(5n + 1), .about-feature:focus .star:nth-child(5n + 1),
.about-feature:hover .star:nth-child(5n + 2), .about-feature:focus .star:nth-child(5n + 2) {
  animation-name: twinkle-purple; }

@keyframes twinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.5); }
  50% {
    opacity: 1;
    transform: scale(1.2);
    background-color: var(--about-highlight); } }
@keyframes twinkle-purple {
  0%, 100% {
    opacity: 0;
    transform: scale(0.5); }
  50% {
    opacity: 1;
    transform: scale(1.2);
    background-color: var(--about-purple); } }
.about-feature:hover .star:nth-child(7n + 1), .about-feature:focus .star:nth-child(7n + 1) {
  animation-delay: 0.035s; }

.about-feature:hover .star:nth-child(7n + 2), .about-feature:focus .star:nth-child(7n + 2) {
  animation-delay: 0.28s; }

.about-feature:hover .star:nth-child(7n + 3), .about-feature:focus .star:nth-child(7n + 3) {
  animation-delay: 0.525s; }

.about-feature:hover .star:nth-child(7n + 4), .about-feature:focus .star:nth-child(7n + 4) {
  animation-delay: 0.14s; }

.about-feature:hover .star:nth-child(7n + 5), .about-feature:focus .star:nth-child(7n + 5) {
  animation-delay: 0.7s; }

.about-feature:hover .star:nth-child(7n + 6), .about-feature:focus .star:nth-child(7n + 6) {
  animation-delay: 0.42s; }

.about-feature:hover .star:nth-child(11n + 1), .about-feature:focus .star:nth-child(11n + 1) {
  animation-delay: 0.63s; }

.about-feature:hover .star:nth-child(11n + 3), .about-feature:focus .star:nth-child(11n + 3) {
  animation-delay: 0.07s; }

.about-feature:hover .star:nth-child(11n + 5), .about-feature:focus .star:nth-child(11n + 5) {
  animation-delay: 0.455s; }

.about-feature:hover .star:nth-child(11n + 7), .about-feature:focus .star:nth-child(11n + 7) {
  animation-delay: 0.21s; }

.about-feature:hover .star:nth-child(11n + 9), .about-feature:focus .star:nth-child(11n + 9) {
  animation-delay: 0.77s; }

/* --- Секция "Как это работает" --- */
.about-how-it-works {
  background-color: var(--about-card-bg);
  border-radius: 16px;
  padding: 4rem 2rem;
  width: 90%;
  max-width: 1400px;
  margin: 3rem auto;
  text-align: center;
  overflow: hidden; }

.about-section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 4rem;
  color: var(--about-text); }

.how-it-works-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 900px;
  margin: 0 auto; }
  .how-it-works-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 0; }
  @media (max-width: 768px) {
    .how-it-works-timeline {
      flex-direction: column;
      align-items: center;
      gap: 3rem; }
      .how-it-works-timeline::before {
        display: none; } }

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 280px;
  position: relative;
  z-index: 1; }

.timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--about-highlight);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 4px solid var(--about-card-bg); }
  .timeline-icon svg {
    width: 28px;
    height: 28px;
    stroke: white; }

.timeline-content .timeline-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--about-text); }
.timeline-content p {
  color: var(--about-text-secondary);
  font-size: 1rem;
  line-height: 1.5; }

.timeline-item:hover .timeline-icon {
  background-color: var(--about-purple);
  transform: scale(1.1); }

/* --- Кнопка "Назад" --- */
.back-to-home-button {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease; }
  .back-to-home-button img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease; }
  .back-to-home-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background-color: black; }
    .back-to-home-button:hover img {
      filter: brightness(0) invert(1); }

.task__input--reminder[type=number] {
  -moz-appearance: textfield; }
.task__input--reminder[type=number]::-webkit-inner-spin-button, .task__input--reminder[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0; }
.task__input--reminder::placeholder {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  color: #999 !important;
  font-weight: 400 !important;
  opacity: 0.8 !important; }
@media (max-width: 680px) {
  .task__input--reminder {
    touch-action: manipulation;
    -webkit-touch-callout: none; } }

.task__input-container--reminder {
  display: flex;
  gap: 10px;
  width: 100%; }
  .task__input-container--reminder .task__input--reminder {
    width: 50%; }
  .task__input-container--reminder .reminder-unit-segmented-control {
    width: 50%;
    display: flex;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden; }
    .task__input-container--reminder .reminder-unit-segmented-control input[type="radio"] {
      display: none; }
    .task__input-container--reminder .reminder-unit-segmented-control label {
      flex: 1;
      text-align: center;
      padding: 10px;
      cursor: pointer;
      background-color: white;
      transition: background-color 0.3s;
      color: black;
      font-weight: 500; }
      .task__input-container--reminder .reminder-unit-segmented-control label:not(:last-child) {
        border-right: 1px solid #ccc; }
    .task__input-container--reminder .reminder-unit-segmented-control input[type="radio"]:checked + label {
      background-color: #252525;
      color: white;
      font-weight: bold; }
  @media (max-width: 680px) {
    .task__input-container--reminder {
      flex-direction: column;
      gap: 15px; }
      .task__input-container--reminder .task__input--reminder, .task__input-container--reminder .reminder-unit-segmented-control {
        width: 100%; } }

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 4px; }

.pagination__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px; }

.pagination__link {
  display: inline-block;
  padding: 8px 12px;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s, color 0.3s; }
  .pagination__link:hover {
    background-color: #f0f0f0; }
  .pagination__link:not(.pagination__link--active):hover {
    background-color: #c7c7c7; }

.pagination__link--active {
  background-color: black;
  color: #fff;
  border-color: #333; }
  .pagination__link--active:hover {
    background-color: #333;
    color: #fff; }

.pagination__text {
  padding: 8px 12px;
  margin: 0;
  color: #999; }

.pagination__arrow {
  width: 16px;
  height: 16px;
  vertical-align: middle; }

.pagination__controls {
  display: flex;
  align-items: center;
  margin-right: 20px; }

.pagination__control-btn {
  background: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 8px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  margin-left: 20px; }
  .pagination__control-btn:hover {
    background-color: #f0f0f0;
    border-color: #999; }
  .pagination__control-btn--hidden {
    display: none; }

.pagination__control-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle; }

.session-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
  background: transparent !important;
  background-image: none !important;
  padding: 10px 16px;
  border-radius: 16px;
  transition: background-color;
  visibility: hidden;
  opacity: 0; }
  @media (max-width: 680px) {
    .session-toggle {
      position: absolute;
      top: 10px;
      right: 10px;
      padding: 10px;
      border-radius: 16px;
      background: linear-gradient(170deg, white, #c8c8c8) !important;
      background-image: none !important;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02); } }
  .session-toggle:hover {
    background: linear-gradient(170deg, #f8f8f8, #d0d0d0) !important;
    background-image: none !important; }
  .session-toggle__title {
    font-size: 22px;
    font-weight: bold;
    color: black;
    padding-right: 15px;
    border-right: 2px solid rgba(0, 0, 0, 0.4); }
    @media (max-width: 680px) {
      .session-toggle__title {
        font-size: 19px; } }
  .session-toggle__button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s; }
    .session-toggle__button:hover {
      transform: scale(1.1); }
  .session-toggle__icon {
    display: block;
    width: 32px;
    height: 32px; }

.custom-alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--modal-height, 100vh);
  min-height: var(--modal-height, 100vh);
  max-height: none;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  overflow-y: auto; }
  .custom-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1; }
  .custom-alert:not([style*="height"]) {
    height: 100vh;
    min-height: 100vh; }
  .custom-alert__content {
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 90%;
    max-width: 400px;
    transition: border-color 0.3s ease; }
  .custom-alert__message {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333; }
  .custom-alert__buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap; }
  .custom-alert__button {
    background-color: black;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
    line-height: 1.2; }
    .custom-alert__button:hover {
      background-color: #2c2c2c; }
    .custom-alert__button--secondary {
      background-color: #666;
      font-size: 14px;
      padding: 12px 20px; }
      .custom-alert__button--secondary:hover {
        background-color: #555; }
  .custom-alert.custom-alert--success .custom-alert__content {
    border-top-color: #212e2a; }
  .custom-alert.custom-alert--error .custom-alert__content {
    border-top-color: #382222; }
  @media (max-width: 680px) {
    .custom-alert {
      height: 100vh;
      min-height: 100vh;
      max-height: 100vh; }
      .custom-alert__buttons {
        flex-direction: column;
        gap: 10px; }
      .custom-alert__button {
        width: 100%;
        min-width: auto; } }
  @supports not (height: 100vh) {
    .custom-alert {
      height: 100%;
      min-height: 100%; } }

.task__input-container {
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: center; }
  @media (max-width: 680px) {
    .task__input-container {
      width: 100%; } }

/* Правило для однострочных полей (например, "Название") */
.task__row:not(.task__row--description) .task__input-container .task__input {
  flex: 1;
  padding-right: 45px; }
.task__row:not(.task__row--description) .task__input-container .voice-input-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10; }

/* Правило для многострочных полей (например, "Описание") */
.task__row--description .task__input-container {
  flex-direction: column;
  align-items: stretch; }
  .task__row--description .task__input-container .task__input {
    width: 100%;
    padding-right: 45px; }
  .task__row--description .task__input-container .voice-input-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 10; }

/* Правило для AI поля */
.task__ai-group .task__input-container,
.task__ai-group .task__bottom-line {
  position: relative; }
  .task__ai-group .task__input-container .task__input,
  .task__ai-group .task__bottom-line .task__input {
    width: 100%;
    padding-right: 45px; }
  .task__ai-group .task__input-container .voice-input-btn,
  .task__ai-group .task__bottom-line .voice-input-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 10; }

.voice-input-btn {
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
  cursor: pointer; }
  .voice-input-btn:hover {
    transform: scale(1.05);
    cursor: pointer; }
  .voice-input-btn--recording {
    animation: voice-recording-pulse 1.5s ease-in-out infinite;
    cursor: pointer;
    transform: none !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important; }
    .voice-input-btn--recording img {
      filter: hue-rotate(120deg) saturate(2) brightness(1.2);
      transform: none !important; }
  .task__ai-group .voice-input-btn--recording {
    top: 8px !important;
    transform: none !important; }
@keyframes voice-recording-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7); }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 68, 68, 0); }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 68, 68, 0); } }
  .voice-input-btn::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    background: #ff4444;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 11; }
  .voice-input-btn--recording::after {
    opacity: 1;
    animation: voice-recording-dot 1s ease-in-out infinite; }
  .voice-input-btn--recording::before {
    content: '●';
    position: absolute;
    top: -8px;
    left: -8px;
    color: #ff4444;
    font-size: 16px;
    font-weight: bold;
    animation: voice-recording-blink 0.8s ease-in-out infinite;
    z-index: 12; }
@keyframes voice-recording-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1); }
  50% {
    opacity: 0.5;
    transform: scale(0.8); } }
@keyframes voice-recording-blink {
  0%, 100% {
    opacity: 1; }
  50% {
    opacity: 0.3; } }
@media (max-width: 768px) {
  .voice-input-btn {
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer; }
    .voice-input-btn:hover {
      transform: none;
      cursor: pointer; }
    .voice-input-btn--recording {
      animation: voice-recording-pulse-mobile 1.2s ease-in-out infinite;
      position: absolute !important;
      top: 50% !important;
      transform: translateY(-50%) !important; }
      .voice-input-btn--recording img {
        transform: none !important; }
    .task__ai-group .voice-input-btn--recording {
      top: 8px !important;
      transform: none !important; }
  @keyframes voice-recording-pulse-mobile {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.5); }
    50% {
      box-shadow: 0 0 0 8px rgba(255, 68, 68, 0); }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 68, 68, 0); } }
  .task__input-container .voice-input-btn {
    right: 4px; }

  .task__row:not(.task__row--description) .task__input-container .voice-input-btn {
    right: 4px;
    top: 50%;
    transform: translateY(-50%); }

  .task__row--description .task__input-container .voice-input-btn {
    right: 4px;
    top: 8px; }

  .task__ai-group .task__input-container .voice-input-btn,
  .task__ai-group .task__bottom-line .voice-input-btn {
    right: 4px;
    top: 8px; } }
@media (max-width: 480px) {
  .task__input-container .voice-input-btn {
    right: 2px;
    padding: 6px;
    min-width: 40px;
    min-height: 40px;
    cursor: pointer; }

  .task__row:not(.task__row--description) .task__input-container .task__input {
    padding-right: 40px; }
  .task__row:not(.task__row--description) .task__input-container .voice-input-btn {
    right: 2px; }

  .task__row--description .task__input-container .task__input {
    padding-right: 40px; }
  .task__row--description .task__input-container .voice-input-btn {
    right: 2px; }

  .task__ai-group .task__input-container .task__input,
  .task__ai-group .task__bottom-line .task__input {
    padding-right: 40px; }
  .task__ai-group .task__input-container .voice-input-btn,
  .task__ai-group .task__bottom-line .voice-input-btn {
    right: 2px; } }
@supports (-webkit-touch-callout: none) {
  .voice-input-btn {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent; }
    .voice-input-btn--recording {
      animation: voice-recording-pulse-ios 1.3s ease-in-out infinite;
      position: absolute !important;
      top: 50% !important;
      transform: translateY(-50%) !important; }
      .voice-input-btn--recording img {
        transform: none !important; }
    .task__ai-group .voice-input-btn--recording {
      top: 8px !important;
      transform: none !important; }
  @keyframes voice-recording-pulse-ios {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.6); }
    50% {
      box-shadow: 0 0 0 6px rgba(255, 68, 68, 0); }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 68, 68, 0); } } }
@media (prefers-color-scheme: dark) {
  .voice-input-btn--recording img {
    filter: hue-rotate(120deg) saturate(1.5) brightness(1.3); } }
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .voice-input-btn--recording::after {
    width: 14px;
    height: 14px; } }
/* Десктопные стили для календаря */
.flatpickr-calendar {
  border-radius: 12px !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #ccc !important;
  overflow: hidden !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  background: #ffffff !important;
  min-width: 320px !important;
  max-width: 400px !important;
  /* Улучшенные стили для выбранных дней */
  /* Стили для дней в диапазоне и hover состояний */
  /* Стили для сегодняшнего дня */
  /* Улучшенные стили для заголовка */
  /* Стили для навигационных стрелок */
  /* Стили для дней недели - ИСПРАВЛЕНИЕ ВЫРАВНИВАНИЯ */
  /* Стили для контейнера дней - ИСПРАВЛЕНИЕ ВЫРАВНИВАНИЯ */
  /* Улучшенные стили для дней - ИСПРАВЛЕНИЕ ВЫРАВНИВАНИЯ */
  /* Стили для полей времени - ИСПРАВЛЕНИЕ ВИДИМОСТИ */
  /* Стили для кнопок */
  /* Дополнительные улучшения для десктопа */
  /* Улучшенные стили для стрелок навигации */
  /* Стили для неактивных дней - ИСПРАВЛЕНИЕ ВИДИМОСТИ */
  /* Улучшенные стили для кнопок времени */
  /* Стили для фокуса */
  /* Улучшенные тени для глубины */
  /* Стили для выбранного дня с улучшенной анимацией */ }
  .flatpickr-calendar .flatpickr-day.selected,
  .flatpickr-calendar .flatpickr-day.startRange,
  .flatpickr-calendar .flatpickr-day.endRange,
  .flatpickr-calendar .flatpickr-day.selected.inRange,
  .flatpickr-calendar .flatpickr-day.startRange.inRange,
  .flatpickr-calendar .flatpickr-day.endRange.inRange,
  .flatpickr-calendar .flatpickr-day.selected:focus,
  .flatpickr-calendar .flatpickr-day.startRange:focus,
  .flatpickr-calendar .flatpickr-day.endRange:focus,
  .flatpickr-calendar .flatpickr-day.selected:hover,
  .flatpickr-calendar .flatpickr-day.startRange:hover,
  .flatpickr-calendar .flatpickr-day.endRange:hover,
  .flatpickr-calendar .flatpickr-day.selected.prevMonthDay,
  .flatpickr-calendar .flatpickr-day.startRange.prevMonthDay,
  .flatpickr-calendar .flatpickr-day.endRange.prevMonthDay,
  .flatpickr-calendar .flatpickr-day.selected.nextMonthDay,
  .flatpickr-calendar .flatpickr-day.startRange.nextMonthDay,
  .flatpickr-calendar .flatpickr-day.endRange.nextMonthDay {
    background: #2f034f !important;
    border-color: #2f034f !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(47, 3, 79, 0.4) !important;
    transition: all 0.2s ease !important; }
  .flatpickr-calendar .flatpickr-day.inRange,
  .flatpickr-calendar .flatpickr-day.prevMonthDay.inRange,
  .flatpickr-calendar .flatpickr-day.nextMonthDay.inRange,
  .flatpickr-calendar .flatpickr-day.today.inRange,
  .flatpickr-calendar .flatpickr-day.prevMonthDay.today.inRange,
  .flatpickr-calendar .flatpickr-day.nextMonthDay.today.inRange {
    background: rgba(47, 3, 79, 0.15) !important;
    color: #2f034f !important;
    border-radius: 6px !important; }
  .flatpickr-calendar .flatpickr-day:hover,
  .flatpickr-calendar .flatpickr-day.prevMonthDay:hover,
  .flatpickr-calendar .flatpickr-day.nextMonthDay:hover,
  .flatpickr-calendar .flatpickr-day:focus,
  .flatpickr-calendar .flatpickr-day.prevMonthDay:focus,
  .flatpickr-calendar .flatpickr-day.nextMonthDay:focus {
    background: rgba(47, 3, 79, 0.15) !important;
    border-color: rgba(47, 3, 79, 0.4) !important;
    color: #2f034f !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important; }
  .flatpickr-calendar .flatpickr-day.today:hover,
  .flatpickr-calendar .flatpickr-day.today:focus {
    background: rgba(47, 3, 79, 0.2) !important;
    border-color: rgba(47, 3, 79, 0.5) !important;
    color: #2f034f !important;
    border-radius: 8px !important;
    font-weight: 600 !important; }
  .flatpickr-calendar .flatpickr-day.today {
    background: rgba(47, 3, 79, 0.15) !important;
    border: 2px solid rgba(47, 3, 79, 0.4) !important;
    color: #2f034f !important;
    font-weight: 600 !important;
    border-radius: 8px !important; }
  .flatpickr-calendar .flatpickr-months {
    background: #f7f9fc !important;
    border-bottom: 1px solid #ccc !important;
    padding: 16px !important; }
  .flatpickr-calendar .flatpickr-current-month {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #333 !important; }
  .flatpickr-calendar .flatpickr-monthDropdown-months {
    font-weight: 600 !important;
    color: #2f034f !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    transition: all 0.2s ease !important; }
  .flatpickr-calendar .flatpickr-monthDropdown-months:hover {
    background: rgba(47, 3, 79, 0.15) !important;
    color: #2f034f !important; }
  .flatpickr-calendar .flatpickr-prev-month,
  .flatpickr-calendar .flatpickr-next-month {
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    padding: 8px !important;
    color: #333 !important; }
  .flatpickr-calendar .flatpickr-prev-month:hover,
  .flatpickr-calendar .flatpickr-next-month:hover {
    background: rgba(47, 3, 79, 0.15) !important;
    color: #2f034f !important; }
  .flatpickr-calendar .flatpickr-weekday {
    background: rgba(47, 3, 79, 0.08) !important;
    color: #2f034f !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 32px !important;
    height: 32px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% / 7) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important; }
  .flatpickr-calendar .flatpickr-days {
    padding: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important; }
  .flatpickr-calendar .dayContainer {
    padding: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: stretch !important; }
  .flatpickr-calendar .flatpickr-day {
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    font-weight: 500 !important;
    color: #333 !important;
    border: 1px solid transparent !important;
    width: calc(100% / 7) !important;
    height: 40px !important;
    line-height: 40px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 calc(100% / 7) !important;
    min-width: 0 !important; }
  .flatpickr-calendar .flatpickr-time {
    background: rgba(47, 3, 79, 0.08) !important;
    border-top: 1px solid #ccc !important;
    padding: 20px 16px !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important; }
  .flatpickr-calendar .flatpickr-time input {
    background: #fff !important;
    border: 2px solid rgba(47, 3, 79, 0.3) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    height: 40px !important;
    padding: 8px 12px !important;
    width: 60px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    display: inline-block !important; }
  .flatpickr-calendar .flatpickr-time input:focus {
    border-color: #2f034f !important;
    box-shadow: 0 0 0 3px rgba(47, 3, 79, 0.15) !important; }
  .flatpickr-calendar .flatpickr-time .numInputWrapper {
    border-radius: 8px !important;
    width: 60px !important;
    height: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important; }
  .flatpickr-calendar .flatpickr-time .flatpickr-am-pm {
    background: #2f034f !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    min-height: 40px !important;
    padding: 8px 12px !important; }
  .flatpickr-calendar .flatpickr-time .flatpickr-am-pm:hover {
    background: #1a0229 !important;
    transform: scale(1.05) !important; }
  .flatpickr-calendar .flatpickr-calendar.open {
    animation: flatpickrFadeIn 0.3s ease-out !important; }
@keyframes flatpickrFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95); }
  to {
    opacity: 1;
    transform: translateY(0) scale(1); } }
  .flatpickr-calendar .flatpickr-prev-month svg,
  .flatpickr-calendar .flatpickr-next-month svg {
    width: 16px !important;
    height: 16px !important;
    transition: all 0.2s ease !important; }
  .flatpickr-calendar .flatpickr-prev-month:hover svg,
  .flatpickr-calendar .flatpickr-next-month:hover svg {
    transform: scale(1.1) !important; }
  .flatpickr-calendar .flatpickr-day.prevMonthDay,
  .flatpickr-calendar .flatpickr-day.nextMonthDay {
    color: #666 !important;
    opacity: 0.8 !important;
    font-weight: 400 !important; }
  .flatpickr-calendar .flatpickr-day.prevMonthDay:hover,
  .flatpickr-calendar .flatpickr-day.nextMonthDay:hover {
    background: rgba(47, 3, 79, 0.15) !important;
    color: #2f034f !important;
    opacity: 1 !important;
    font-weight: 500 !important; }
  .flatpickr-calendar .flatpickr-time .numInputWrapper .arrowUp,
  .flatpickr-calendar .flatpickr-time .numInputWrapper .arrowDown {
    background: rgba(47, 3, 79, 0.15) !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
    height: 18px !important;
    width: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    cursor: pointer !important; }
  .flatpickr-calendar .flatpickr-time .numInputWrapper .arrowUp {
    top: 0 !important;
    right: 0 !important; }
  .flatpickr-calendar .flatpickr-time .numInputWrapper .arrowDown {
    bottom: 0 !important;
    right: 0 !important; }
  .flatpickr-calendar .flatpickr-time .numInputWrapper .numInput {
    width: 45px !important; }
  .flatpickr-calendar .flatpickr-time .numInputWrapper .arrowUp:hover,
  .flatpickr-calendar .flatpickr-time .numInputWrapper .arrowDown:hover {
    background: rgba(47, 3, 79, 0.25) !important; }
  .flatpickr-calendar .flatpickr-day:focus {
    outline: 2px solid rgba(47, 3, 79, 0.4) !important;
    outline-offset: 2px !important; }
  .flatpickr-calendar .flatpickr-calendar {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important; }
  .flatpickr-calendar .flatpickr-day.selected {
    animation: selectedDayPulse 0.3s ease-out !important; }
@keyframes selectedDayPulse {
  0% {
    transform: scale(1); }
  50% {
    transform: scale(1.1); }
  100% {
    transform: scale(1); } }
/* Стили для планшетов и больших экранов */
@media (min-width: 681px) {
  .flatpickr-calendar {
    min-width: 320px !important;
    max-width: 400px !important; }

  .flatpickr-day {
    width: calc(100% / 7) !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 14px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important; }

  .flatpickr-weekday {
    width: calc(100% / 7) !important;
    height: 32px !important;
    line-height: 32px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important; } }
/* Мобильные стили для календаря */
@media (max-width: 680px) {
  /* Основные стили для мобильного календаря */
  .flatpickr-calendar {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 99999 !important;
    width: 95% !important;
    max-width: 400px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important; }

  /* Дополнительные стили для принудительного позиционирования */
  .flatpickr-calendar.flatpickr-mobile {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 99999 !important;
    width: 95% !important;
    max-width: 400px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important; }

  /* Еще более агрессивные стили для всех календарей на мобильных */
  .flatpickr-calendar[style*="position"] {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 99999 !important;
    width: 95% !important;
    max-width: 400px !important;
    margin: 0 !important;
    overflow: visible !important; }

  /* Принудительные стили для всех элементов с классом flatpickr-calendar */
  div.flatpickr-calendar {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 99999 !important;
    width: 95% !important;
    max-width: 400px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important; }

  /* Только минимальные стили для мобильных - ИСПРАВЛЕНИЕ ВЫРАВНИВАНИЯ */
  .flatpickr-day {
    height: 40px !important;
    line-height: 40px !important;
    width: calc(100% / 7) !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 calc(100% / 7) !important;
    min-width: 0 !important; }

  /* Исправляем контейнер дней для мобильных */
  .dayContainer {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    padding: 0 !important;
    margin: 0 !important; }

  /* Исправляем заголовки дней недели для мобильных */
  .flatpickr-weekday {
    width: calc(100% / 7) !important;
    height: 32px !important;
    line-height: 32px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 calc(100% / 7) !important;
    min-width: 0 !important; }

  /* Улучшаем видимость на мобильных */
  .flatpickr-calendar::before,
  .flatpickr-calendar::after {
    display: none !important; }

  /* Дополнительные улучшения для мобильных */
  .flatpickr-calendar.flatpickr-mobile {
    /* Улучшаем читаемость - ИСПРАВЛЕНИЕ ВЫРАВНИВАНИЯ */
    /* Увеличиваем область нажатия для дней - ИСПРАВЛЕНИЕ ВЫРАВНИВАНИЯ */
    /* Исправляем контейнер дней для мобильных */
    /* Улучшаем навигацию */
    /* Улучшаем поля времени */
    /* Улучшаем селектор месяца */ }
    .flatpickr-calendar.flatpickr-mobile .flatpickr-weekday {
      font-size: 12px !important;
      font-weight: bold !important;
      width: calc(100% / 7) !important;
      margin: 0 !important;
      padding: 0 !important;
      box-sizing: border-box !important;
      text-align: center !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      flex: 1 1 calc(100% / 7) !important;
      min-width: 0 !important; }
    .flatpickr-calendar.flatpickr-mobile .flatpickr-day {
      min-height: 40px !important;
      height: 40px !important;
      width: calc(100% / 7) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      text-align: center !important;
      box-sizing: border-box !important;
      margin: 0 !important;
      padding: 0 !important;
      flex: 1 1 calc(100% / 7) !important;
      min-width: 0 !important; }
    .flatpickr-calendar.flatpickr-mobile .dayContainer {
      display: flex !important;
      flex-wrap: wrap !important;
      width: 100% !important;
      justify-content: space-between !important;
      align-items: stretch !important;
      padding: 0 !important;
      margin: 0 !important; }
    .flatpickr-calendar.flatpickr-mobile .flatpickr-prev-month,
    .flatpickr-calendar.flatpickr-mobile .flatpickr-next-month {
      min-width: 44px !important;
      min-height: 44px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important; }
    .flatpickr-calendar.flatpickr-mobile .flatpickr-time input {
      min-height: 44px !important;
      font-size: 18px !important;
      text-align: center !important; }
    .flatpickr-calendar.flatpickr-mobile .flatpickr-current-month {
      min-height: 44px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important; }

  /* Оверлей для мобильных устройств */
  .flatpickr-calendar.flatpickr-mobile::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    pointer-events: none; } }
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  /* Белый фон */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  /* Скрыт по умолчанию */
  visibility: hidden;
  /* Скрыт по умолчанию */
  transition: opacity 0.5s, visibility 0.5s;
  /* Плавное исчезновение */ }

.loader {
  border: 8px solid #f3f3f3;
  /* Светло-серый */
  border-top: 8px solid #333333;
  /* Темно-серый */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1.5s linear infinite; }

@keyframes spin {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }
#loader-wrapper.is-visible {
  opacity: 1;
  visibility: visible; }

#loader-wrapper.completely-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Чтобы не блокировать взаимодействие с элементами под загрузчиком */ }

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; }

/*# sourceMappingURL=main.css.map */
