/* Personal presentation layer for Vikunja 2.7.1. No task behavior changes. */
html.light {
  --personal-line: #d5dce6;
  --personal-ink: #243247;
  --personal-muted: #59697e;
  --personal-surface: #ffffff;
}
html.light .task-view {
  color: var(--personal-ink);
  max-width: 1240px;
  margin-inline: auto;
}
html.light .task-view .heading { margin-top: 14px; }
html.light .task-view .heading h1 { font-weight: 650; font-size: 1.75rem; }
html.light .task-view .subtitle { font-size: .95rem; color: var(--personal-muted); }
html.light .task-view .task-section-title {
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--personal-ink);
  margin-bottom: 16px;
}
html.light .task-view .detail-content > .description,
html.light .task-view .detail-content > .content:has(.task-relations),
html.light .task-view .comments-container {
  background: var(--personal-surface);
  border: 1px solid var(--personal-line);
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 20px !important;
}
html.light .task-view .detail-title,
html.light .task-view .action-heading { color: var(--personal-muted); font-weight: 600; }
html.light .task-view .labels-list { margin-bottom: 22px; }
html.light .task-view .labels-list .input-wrapper {
  border: 1px solid var(--personal-line);
  background: white;
  border-radius: 6px;
  padding: 6px 10px;
}
html.light .task-view .comments-container .tiptap__wrapper {
  border: 1px solid #aebccd;
  border-radius: 7px;
  background: #fff;
}
html.light .task-view .comments-container .editor-toolbar {
  background: #f4f7fb;
  border-bottom: 1px solid var(--personal-line);
  box-shadow: none;
}
html.light .task-view .comments-container [contenteditable="true"] {
  min-height: 132px;
  padding: 14px;
}
html.light .task-view .tiptap__wrapper:focus-within {
  outline: 2px solid #3b76cf;
  outline-offset: 2px;
}
html.light .task-view .action-buttons > .button {
  box-shadow: none;
  border: 1px solid var(--personal-line);
  border-radius: 6px;
  font-weight: 500;
  min-height: 36px;
  margin-bottom: 7px;
}
html.light .task-view .action-buttons > .button:hover { background: #edf3fb; border-color: #8eabc9; }
html.light .task-view .action-buttons > .button--mark-done {
  background: #168354 !important;
  color: white !important;
  border-color: #168354 !important;
  font-weight: 600;
}
html.light .task-view .action-buttons > .button--mark-done:hover { background: #116c44 !important; }
html.light .task-view .action-heading {
  border-top: 1px solid var(--personal-line);
  padding-top: 16px;
  margin-top: 13px;
  margin-bottom: 10px;
}
html.light .task-view .related-tasks .title { font-size: .85rem; color: var(--personal-muted); }
html.light .task-view .related-tasks .task { padding: 12px 10px; background: #f5f8fc; border-radius: 6px; }
html.light .task-view .base-checkbox__label { color: #52677f; }
html.light .task-view input::placeholder { color: #64748b; opacity: 1; }
@media (min-width: 1000px) {
  .task-view > .columns > .detail-content { width: calc(100% - 280px); }
  .task-view > .columns > .action-buttons { width: 280px; padding-inline-start: 24px; }
}
@media (max-width: 600px) {
  html.light .task-view .detail-content > .description,
  html.light .task-view .detail-content > .content:has(.task-relations),
  html.light .task-view .comments-container { padding: 16px; }
  html.light .task-view .heading h1 { font-size: 1.4rem; }
}
