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

:root {
  --gt-accent: #2563eb;
  --gt-accent-hover: #1d4ed8;
  --gt-accent-soft: #eff6ff;
  --gt-success: #059669;
  --gt-success-hover: #047857;
  --gt-surface: #fff;
  --gt-bg: #f4f5f7;
  --gt-border: #e2e8f0;
  --gt-text: #0f172a;
  --gt-text-secondary: #334155;
  --gt-text-muted: #64748b;
  --gt-radius-card: 12px;
  --gt-radius-btn: 8px;
  --gt-radius-pill: 999px;
  --gt-shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --gt-shadow-popover: 0 12px 32px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
  --gt-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --gt-duration: 0.18s;
}

@media (prefers-reduced-motion: reduce) {
  :root { --gt-duration: 0.01ms; }
}

body.gt-body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #1a1a2e;
  background: #f4f5f7;
}

a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

.gt-header {
  background: #1e293b;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.gt-header__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  min-height: 52px;
  gap: 12px;
}

.gt-brand {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  flex-shrink: 0;
}

.gt-nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.gt-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.gt-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-left: auto;
}

.gt-nav__link {
  color: #cbd5e1;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.gt-nav__link:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.gt-nav__link--active { background: rgba(255,255,255,.12); color: #fff; }
.gt-nav__link--admin { color: #93c5fd; }
.gt-nav__link--danger { color: #fca5a5; }
.gt-nav__user { color: #94a3b8; font-size: 13px; padding: 0 8px; }

.gt-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
}

.gt-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.gt-page-title { margin: 0; font-size: 22px; }

.gt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}

.gt-btn:hover { background: #f9fafb; text-decoration: none; }
.gt-btn--primary { background: #2563eb; border-color: #2563eb; color: #fff; }
.gt-btn--primary:hover { background: #1d4ed8; color: #fff; }
.gt-btn--success { background: #059669; border-color: #059669; color: #fff; }
.gt-btn--success:hover { background: #047857; color: #fff; }
.gt-btn--success.gt-btn--disabled,
.gt-btn--success:disabled {
  background: #9ca3af;
  border-color: #9ca3af;
  color: #fff;
  opacity: 1;
  cursor: not-allowed;
  pointer-events: none;
}
.gt-btn--disabled,
.gt-btn:disabled {
  cursor: not-allowed;
}
.gt-btn--ghost { background: transparent; }
.gt-btn--danger { color: #dc2626; border-color: #fecaca; }
.gt-btn--sm { min-height: 30px; padding: 4px 6px; font-size: 13px; }
.gt-btn--block { width: 100%; }

.gt-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.gt-alert--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.gt-alert--success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

.gt-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  margin-bottom: 16px;
}

.gt-card--nested { background: #f9fafb; }

.gt-field { margin-bottom: 14px; }
.gt-captcha-row { display: flex; gap: 10px; align-items: center; }
.gt-captcha-input { flex: 1; min-width: 0; }
.gt-captcha-img { cursor: pointer; border: 1px solid var(--gt-border, #e5e7eb); border-radius: 8px; flex-shrink: 0; display: block; }
.gt-label { display: block; margin-bottom: 6px; font-weight: 500; }
.gt-required { color: #dc2626; }
.gt-input, .gt-textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
}

.gt-textarea { resize: vertical; min-height: 80px; }
.gt-hint { margin: 4px 0 0; font-size: 13px; color: #6b7280; }
.gt-hint--inline { margin: 0; font-size: 12px; color: #b45309; white-space: nowrap; }
.gt-form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.gt-muted { color: #6b7280; font-size: 13px; }

.gt-table-wrap { overflow-x: auto; background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.gt-table { width: 100%; border-collapse: collapse; }
.gt-table th, .gt-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #e5e7eb; }
.gt-table th { background: #f9fafb; font-size: 13px; color: #6b7280; }
.gt-cell-title a { font-weight: 500; color: #1e293b; }
.gt-table .gt-cell-status { white-space: nowrap; width: 1%; min-width: 72px; }
.gt-table .gt-cell-time { white-space: nowrap; width: 1%; }
.gt-empty { padding: 32px; text-align: center; color: #6b7280; }

.gt-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.gt-badge--sm { font-size: 11px; padding: 1px 8px; }
.gt-badge--pending { background: #fef3c7; color: #92400e; }
.gt-badge--progress { background: #dbeafe; color: #1d4ed8; }
.gt-badge--done { background: #d1fae5; color: #047857; }

.gt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.gt-inline-form { display: inline; margin: 0; }

.gt-task-cards { display: none; }

.gt-task-group {
  margin-bottom: 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  overflow: hidden;
}

.gt-task-card {
  background: #fff;
  border-radius: 0;
  padding: 14px;
  margin-bottom: 0;
  box-shadow: none;
}

.gt-task-card--parent {
  border-bottom: 1px solid #e5e7eb;
}

.gt-task-card--parent:last-child { border-bottom: none; }

.gt-task-card--child {
  background: #f8fafc;
  border-top: 1px dashed #dbeafe;
  padding-left: 20px;
  position: relative;
}

.gt-task-card--child::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #93c5fd;
  border-radius: 2px;
}

.gt-table-row--parent td { border-top: 2px solid #e2e8f0; }
.gt-table-row--parent:first-child td { border-top: none; }

.gt-table-row--child td {
  background: #f8fafc;
  border-top: 1px dashed #dbeafe;
}

.gt-table-row--child-last td { box-shadow: inset 0 -2px 0 #e2e8f0; }

.gt-task-title-cell {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.gt-task-title-cell--child { padding-left: 4px; }

.gt-task-tree {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-left: 2px solid #93c5fd;
  border-bottom: 2px solid #93c5fd;
  border-radius: 0 0 0 4px;
}

.gt-task-title-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.gt-task-tag {
  display: inline-block;
  font-size: 11px;
  line-height: 1.4;
  padding: 1px 6px;
  border-radius: 4px;
  background: #e0e7ff;
  color: #3730a3;
  font-weight: 500;
}

.gt-task-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.gt-task-card__head .gt-task-title-text {
  flex: 1;
  min-width: 0;
}

.gt-task-card__aside {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gt-task-card__toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.gt-task-card__quick-actions:empty {
  display: none;
}

.gt-task-card__quick-actions .gt-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
}

.gt-task-card__quick-actions .gt-inline-form {
  display: inline;
  margin: 0;
}

.gt-task-card__title { font-weight: 600; color: #1e293b; }
.gt-task-card__head > .gt-task-card__title {
  flex: 1;
  min-width: 0;
}
.gt-task-card__meta { font-size: 13px; color: #6b7280; margin-bottom: 0; }

.gt-task-card__actions-toggle {
  display: none;
  flex-shrink: 0;
  margin: 0;
  padding: 0 8px;
  min-width: 40px;
  min-height: 28px;
  font-size: 12px;
  line-height: 1;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.gt-task-card__actions-toggle:hover {
  color: #334155;
  background: #f8fafc;
  border-color: #cbd5e1;
}

.gt-task-card__actions-toggle[aria-expanded="true"] {
  color: #2563eb;
  background: #eff6ff;
  border-color: #93c5fd;
}

.gt-section { margin-top: 24px; }
.gt-section-title { margin: 0 0 12px; font-size: 18px; }
.gt-subtitle { margin: 0 0 12px; font-size: 15px; }

.gt-task-detail__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; align-items: center; }
.gt-task-detail__desc { margin-bottom: 12px; color: #374151; }

.gt-subtask-list { margin-bottom: 16px; }
.gt-subtask-item {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid #e5e7eb;
}

.gt-note-list { list-style: none; margin: 0 0 16px; padding: 0; }
.gt-note-item {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  border-left: 3px solid #2563eb;
}

.gt-note-item__time { font-size: 12px; color: #6b7280; margin-bottom: 4px; }

.gt-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.gt-modal[hidden] { display: none !important; }

.gt-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.gt-modal__panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gt-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.gt-modal__title { margin: 0; font-size: 18px; }

.gt-modal__close {
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
  min-width: 44px;
  min-height: 44px;
}

.gt-modal__subtitle {
  margin: 0 0 16px;
  font-size: 13px;
  color: #6b7280;
}

.gt-modal-note-history {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.gt-modal-note-history__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.gt-modal-note-history .gt-note-list {
  max-height: 220px;
  overflow-y: auto;
}

.gt-modal-note-empty { margin: 0; text-align: center; padding: 12px 0; }

body.gt-modal-open { overflow: hidden; }

.gt-body--login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.gt-login {
  width: 100%;
  max-width: 360px;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.gt-login__title { margin: 0 0 20px; text-align: center; }
.gt-login__footer { text-align:center; margin-top:16px; font-size:14px; color:#6b7280; }

@media (max-width: 767px) {
  body.gt-body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
    background: #eef2f6;
    color: var(--gt-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  .gt-main {
    padding: 12px 12px 40px;
  }

  .gt-header {
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .gt-header__inner {
    min-height: 56px;
  }

  .gt-brand {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }

  .gt-nav-toggle { display: block; }

  .gt-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 8px;
    right: 8px;
    background: var(--gt-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 6px;
    border-radius: var(--gt-radius-card);
    border: 1px solid var(--gt-border);
    box-shadow: var(--gt-shadow-popover);
  }

  .gt-nav.gt-nav--open { display: flex; }

  .gt-nav__link {
    width: 100%;
    color: var(--gt-text-secondary);
    border-radius: var(--gt-radius-btn);
    font-size: 15px;
    transition: background var(--gt-duration) var(--gt-ease), color var(--gt-duration) var(--gt-ease);
  }

  .gt-nav__link:hover {
    background: #f8fafc;
    color: var(--gt-text);
  }

  .gt-nav__link--active {
    background: var(--gt-accent-soft);
    color: var(--gt-accent);
    font-weight: 500;
  }

  .gt-nav__link--danger { color: #dc2626; }
  .gt-nav__user {
    padding: 10px 12px;
    color: var(--gt-text-muted);
    border-top: 1px solid var(--gt-border);
    margin-top: 4px;
  }

  .gt-header__inner { position: relative; flex-wrap: wrap; }

  .gt-page-header {
    margin-bottom: 14px;
    gap: 10px;
  }

  .gt-page-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--gt-text);
  }

  .gt-page-actions .gt-btn--primary {
    width: 100%;
    min-height: 44px;
    border-radius: var(--gt-radius-btn);
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
  }

  .gt-btn {
    border-radius: var(--gt-radius-btn);
    transition: background var(--gt-duration) var(--gt-ease), border-color var(--gt-duration) var(--gt-ease), color var(--gt-duration) var(--gt-ease), transform var(--gt-duration) var(--gt-ease), box-shadow var(--gt-duration) var(--gt-ease);
  }

  .gt-btn:active:not(:disabled) {
    transform: scale(0.98);
  }

  .gt-btn--primary {
    background: var(--gt-accent);
    border-color: var(--gt-accent);
  }

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

  .gt-btn--success {
    background: var(--gt-success);
    border-color: var(--gt-success);
  }

  .gt-btn--success:hover {
    background: var(--gt-success-hover);
  }

  .gt-alert {
    border-radius: var(--gt-radius-card);
    font-size: 14px;
  }

  .gt-card {
    border-radius: var(--gt-radius-card);
    border: 1px solid var(--gt-border);
    box-shadow: var(--gt-shadow-card);
  }

  .gt-input,
  .gt-textarea {
    border-radius: var(--gt-radius-btn);
    border-color: var(--gt-border);
    font-size: 16px;
    transition: border-color var(--gt-duration) var(--gt-ease), box-shadow var(--gt-duration) var(--gt-ease);
  }

  .gt-input:focus,
  .gt-textarea:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  }

  .gt-empty {
    padding: 48px 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gt-text-muted);
    background: var(--gt-surface);
    border: 1px dashed var(--gt-border);
    border-radius: var(--gt-radius-card);
  }

  .gt-desktop-only { display: none !important; }
  .gt-task-cards { display: block; }

  .gt-task-group {
    margin-bottom: 12px;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .gt-task-group > .gt-task-card,
  .gt-task-cards > .gt-task-card {
    background: var(--gt-surface);
    border: 1px solid var(--gt-border);
    box-shadow: var(--gt-shadow-card);
  }

  .gt-task-cards > .gt-task-card {
    margin-bottom: 12px;
  }

  .gt-task-group > .gt-task-card:only-child,
  .gt-task-cards > .gt-task-card {
    border-radius: var(--gt-radius-card);
  }

  .gt-task-group > .gt-task-card:first-child:not(:only-child) {
    border-top-left-radius: var(--gt-radius-card);
    border-top-right-radius: var(--gt-radius-card);
  }

  .gt-task-group > .gt-task-card:last-child:not(:only-child) {
    border-bottom-left-radius: var(--gt-radius-card);
    border-bottom-right-radius: var(--gt-radius-card);
  }

  .gt-task-group > .gt-task-card:not(:first-child) {
    border-top: none;
    margin-top: -1px;
  }

  .gt-task-card {
    padding: 16px;
    border-radius: 0;
  }

  .gt-task-card--parent {
    border-bottom: none;
  }

  .gt-task-card--parent:last-child { border-bottom: none; }

  .gt-task-card--child {
    background: #f8fafc;
    border-top: none;
    padding-left: 18px;
  }

  .gt-task-card--child::before {
    left: 8px;
    width: 2px;
    background: #bfdbfe;
    border-radius: 1px;
  }

  .gt-task-card__head {
    gap: 10px;
    margin-bottom: 6px;
  }

  .gt-task-card__title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.45;
    color: var(--gt-text);
    text-decoration: none;
  }

  .gt-task-card__title:hover {
    color: var(--gt-accent);
    text-decoration: none;
  }

  .gt-task-card__meta {
    font-size: 12px;
    line-height: 1.5;
    color: var(--gt-text-muted);
    margin-bottom: 0;
  }

  .gt-task-tag {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
  }

  .gt-badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: var(--gt-radius-pill);
    font-weight: 500;
  }

  .gt-badge--pending {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
  }

  .gt-badge--progress {
    background: var(--gt-accent-soft);
    color: var(--gt-accent);
    border: 1px solid #bfdbfe;
  }

  .gt-badge--done {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
  }

  .gt-task-card__aside {
    gap: 8px;
  }

  .gt-task-card__toolbar {
    gap: 6px;
  }

  .gt-task-card__actions-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gt-text-muted);
    background: var(--gt-surface);
    border: 1px solid var(--gt-border);
    border-radius: var(--gt-radius-btn);
    transition: background var(--gt-duration) var(--gt-ease), color var(--gt-duration) var(--gt-ease), border-color var(--gt-duration) var(--gt-ease), transform var(--gt-duration) var(--gt-ease);
  }

  .gt-task-card__actions-toggle:active {
    transform: scale(0.97);
  }

  .gt-task-card__actions-toggle[aria-expanded="true"] {
    color: var(--gt-accent);
    background: var(--gt-accent-soft);
    border-color: #93c5fd;
  }

  .gt-task-card__quick-actions .gt-btn--sm {
    min-height: 32px;
    min-width: auto;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--gt-radius-btn);
  }

  .gt-task-card__menu { position: relative; }

  .gt-task-card--actions-open {
    position: relative;
    z-index: 51;
  }

  .gt-task-card__actions-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 60;
    min-width: 152px;
    padding: 6px;
    background: var(--gt-surface);
    border: 1px solid var(--gt-border);
    border-radius: var(--gt-radius-card);
    box-shadow: var(--gt-shadow-popover);
    transform-origin: top right;
  }

  .gt-task-card--actions-open .gt-task-card__actions-panel {
    display: block;
    animation: gt-popover-in var(--gt-duration) var(--gt-ease);
  }

  .gt-task-card__actions-panel .gt-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .gt-task-card__actions-panel .gt-actions .gt-btn,
  .gt-task-card__actions-panel .gt-actions .gt-inline-form .gt-btn {
    width: 100%;
    justify-content: center;
    min-height: 40px;
    border-radius: var(--gt-radius-btn);
    font-size: 14px;
  }

  .gt-task-card__actions-panel .gt-inline-form {
    display: block;
    width: 100%;
    margin: 0;
  }

  body.gt-card-menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(15, 23, 42, 0.12);
    animation: gt-fade-in var(--gt-duration) var(--gt-ease);
  }

  .gt-modal {
    align-items: flex-end;
    padding: 0;
  }

  .gt-modal__panel {
    max-width: none;
    border-radius: 16px 16px 0 0;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
    animation: gt-sheet-in 0.24s var(--gt-ease);
  }

  .gt-modal__title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }

  .gt-modal__close {
    border-radius: var(--gt-radius-btn);
    transition: background var(--gt-duration) var(--gt-ease);
  }

  .gt-modal__close:active {
    background: #f1f5f9;
  }

  .gt-note-item {
    border-radius: var(--gt-radius-btn);
    border: 1px solid var(--gt-border);
    border-left: 3px solid var(--gt-accent);
    box-shadow: none;
  }

  .gt-subtask-item {
    border-radius: var(--gt-radius-btn);
    border-color: var(--gt-border);
  }

  .gt-body--login {
    min-height: 100dvh;
    background: #eef2f6;
  }

  .gt-login {
    border-radius: var(--gt-radius-card);
    border: 1px solid var(--gt-border);
    box-shadow: var(--gt-shadow-card);
  }

  .gt-login__title {
    font-weight: 600;
    letter-spacing: -0.02em;
  }
}

@keyframes gt-popover-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes gt-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes gt-sheet-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .gt-task-card--actions-open .gt-task-card__actions-panel,
  body.gt-card-menu-open::before,
  .gt-modal__panel {
    animation: none;
  }

  .gt-btn:active:not(:disabled),
  .gt-task-card__actions-toggle:active {
    transform: none;
  }
}

@media (min-width: 768px) {
  .gt-mobile-only { display: none !important; }
}
