* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: #f3f4f6;
  color: #111827;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: #111827;
  color: #f9fafb;
  padding: 1rem 1.5rem;
  text-align: left;
  position: relative;
  overflow: visible;
  z-index: 100;
  isolation: isolate;
}

header h1 {
  margin: 0;
  padding-right: 24rem;
}

.brand-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.brand-company {
  text-decoration: none;
}

.brand-product {
  font-size: 0.75em;
  font-weight: 400;
}

body.modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.header-user {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.current-user {
  font-size: 0.95rem;
  color: #111827;
  font-weight: 600;
}

.header-menus {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  z-index: 110;
}

.header-user-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  text-align: right;
}

.header-user-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f9fafb;
  white-space: nowrap;
}

.header-company-name {
  font-size: 0.8rem;
  color: #cbd5e1;
  white-space: nowrap;
}

.header-dropdown {
  position: relative;
}

.header-dropdown > button {
  margin-top: 0;
}

.header-icon-btn {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
}

.header-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  width: min(340px, calc(100vw - 2rem));
  padding: 1rem;
  border-radius: 0.75rem;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
  border: 1px solid #e5e7eb;
  z-index: 1200;
}

.profile-dropdown {
  width: min(240px, calc(100vw - 2rem));
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-dropdown button {
  margin-top: 0;
  width: 100%;
  text-align: left;
}

.notifications-dropdown {
  max-height: min(70vh, 520px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.notification-badge {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

.auth-card {
  width: min(520px, 100%);
  margin: 0 auto;
}

.auth-actions {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.auth-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.auth-links .link-btn {
  margin-top: 0;
}

.auth-hint {
  font-size: 0.9rem;
  color: #6b7280;
}

.auth-recovery-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.auth-recovery-tabs button {
  margin-top: 0;
}

.auth-recovery-result {
  min-height: 1.1em;
  font-size: 0.9rem;
  color: #166534;
}

.form-error {
  min-height: 1.1em;
  font-size: 0.85rem;
  color: #b91c1c;
}

main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  flex: 1;
}

.app-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.notifications-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.notification-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
}

#enableBrowserAlertsBtn,
#markAllNotificationsReadBtn {
  margin-top: 0;
}

#enableBrowserAlertsBtn {
  width: 100%;
}

.notification-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.notification-item {
  border: 1px solid #86efac;
  border-radius: 0.6rem;
  padding: 0.7rem 0.8rem;
  background: #dcfce7;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.notification-item.unread {
  border-color: #86efac;
  background: #dcfce7;
}

.notification-item.read {
  border-color: #e5e7eb;
  background: #ffffff;
}

.notification-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.notification-read-btn {
  margin-top: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 0.45rem;
  border: 1px solid #16a34a;
  background: #ffffff;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.notification-read-btn:disabled {
  cursor: default;
  border-color: #d1d5db;
  background: #f9fafb;
  color: #9ca3af;
}

.notification-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #111827;
}

.notification-message {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #374151;
  white-space: pre-wrap;
}

.notification-meta {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.notification-empty {
  color: #6b7280;
  font-size: 0.9rem;
}

.card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 15px rgba(15, 23, 42, 0.08);
}

.card h2 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.card-header h2 {
  margin-bottom: 0;
}

.card-header + .dashboard {
  margin-top: 1rem;
}

.card-header + .dashboard-filters {
  margin-top: 1rem;
}

.dashboard-filters + .dashboard {
  margin-top: 1rem;
}

.dashboard-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.dashboard-filters .form-row {
  margin-bottom: 0;
}

.assign-btn {
  margin-top: 0;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-actions button {
  margin-top: 0;
}

.task-form-container {
  margin-top: 1rem;
}

.task-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#taskModal .task-form-container {
  margin-top: 0.75rem;
}

#taskModal .task-form {
  gap: 1rem;
}

#taskModal .task-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  align-items: start;
}

#taskModal .task-field {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}

#taskModal .task-field > label {
  margin: 0;
  padding-top: 0.55rem;
}

#taskModal .task-field-span-2 {
  grid-column: 1 / -1;
}

#taskModal .task-inline-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

#taskModal .task-inline-actions select {
  flex: 1;
}

#taskModal .task-inline-actions .link-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

#taskModal #description {
  min-height: 88px;
  resize: vertical;
}

#taskModal .attachments,
#taskModal .subtasks {
  min-width: 0;
}

#taskModal .attachment-list,
#taskModal .subtask-list {
  max-height: 120px;
  overflow-y: auto;
}

#taskModal .task-form-actions {
  display: flex;
  justify-content: flex-end;
}

#taskModal .task-form-actions button {
  margin-top: 0;
}

.task-form input,
.task-form textarea,
.task-form select {
  width: 100%;
}

.in-loop-dropdown {
  position: relative;
}

.in-loop-toggle {
  width: 100%;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.in-loop-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 25;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.in-loop-options {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 220px;
  overflow-y: auto;
}

.in-loop-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #374151;
  cursor: pointer;
}

.in-loop-option input {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
}

.in-loop-option.disabled {
  color: #9ca3af;
  cursor: not-allowed;
}

.in-loop-option-text {
  flex: 1;
}

.in-loop-empty {
  font-size: 0.85rem;
  color: #6b7280;
}

.link-btn {
  margin-top: 0;
  padding: 0;
  background: transparent;
  color: #2563eb;
  text-align: left;
}

.link-btn:hover {
  background: transparent;
  color: #1d4ed8;
  text-decoration: underline;
}

.subtasks label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.subtask-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.subtask-input-row input {
  flex: 1;
}

.subtask-input-row button {
  margin-top: 0;
  white-space: nowrap;
}

.subtask-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.subtask-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0.45rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.4rem;
  background: #ffffff;
}

.subtask-remove {
  margin-top: 0;
  padding: 0.2rem 0.45rem;
  background: #ef4444;
  color: #ffffff;
  border-radius: 0.3rem;
  font-size: 0.8rem;
}

.subtask-remove:hover {
  background: #dc2626;
}

.attachments label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.attachment-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.attachment-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #ffffff;
}

.attachment-main {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.attachment-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.attachment-meta {
  font-size: 0.75rem;
  color: #6b7280;
}

.attachment-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.attachment-actions button {
  margin-top: 0;
  padding: 0.2rem 0.45rem;
  border-radius: 0.25rem;
  font-size: 0.8rem;
}

.attachment-remove-btn {
  background: #ef4444;
}

.attachment-remove-btn:hover {
  background: #dc2626;
}

.comments-container {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.attachments-container {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.attachments-task-title {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.completion-container {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.history-container {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.modal-actions button {
  margin-top: 0;
}

.secondary-btn {
  background: #64748b;
}

.secondary-btn:hover {
  background: #475569;
}

.comments-task-title {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.comments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 40vh;
  overflow: auto;
}

.comment-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: #ffffff;
}

.comment-meta {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.comment-body {
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.comment-empty {
  color: #6b7280;
  font-size: 0.9rem;
}

.comments-container textarea {
  width: 100%;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
}

.modal-dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  z-index: 1;
}

.modal-card {
  margin: 0;
}

#taskModal .modal-dialog {
  width: min(1080px, 96vw);
  max-height: calc(100vh - 1.5rem);
  overflow: visible;
}

#taskModal .modal-card {
  max-height: calc(100vh - 1.5rem);
  overflow: visible;
}

.modal-close {
  margin-top: 0;
  padding: 0.35rem 0.55rem;
  background: transparent;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.modal-close:hover {
  background: #f1f5f9;
  color: #334155;
}

.form-row {
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

label {
  font-size: 0.9rem;
  color: #4b5563;
}

input,
textarea,
select {
  padding: 0.5rem 0.6rem;
  border-radius: 0.4rem;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px #2563eb33;
}

button {
  margin-top: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  cursor: pointer;
}

button:hover {
  background: #1d4ed8;
}

.filters {
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
}

#taskList {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.task-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.6rem;
  padding: 0.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: start;
}

.task-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.task-title-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.task-title {
  font-weight: 600;
}

.badge {
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.badge-high {
  background: #fee2e2;
  color: #b91c1c;
}

.badge-medium {
  background: #fef3c7;
  color: #92400e;
}

.badge-low {
  background: #e0f2fe;
  color: #0369a1;
}

.task-meta {
  font-size: 0.8rem;
  color: #6b7280;
}

.task-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}

.status-select {
  font-size: 0.8rem;
  padding: 0.2rem 0.4rem;
}

.delete-btn {
  background: #ef4444;
}

.delete-btn:hover {
  background: #dc2626;
}

.status-done .task-title {
  text-decoration: line-through;
  color: #6b7280;
}

footer {
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
  padding: 0.75rem;
  border-top: 1px solid #e5e7eb;
}

/* Collapsible Filters */
.filter-panel {
  margin-bottom: 1rem;
}

.filter-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: background 0.2s;
}

.filter-toggle:hover {
  background: #e2e8f0;
}

.filter-toggle::after {
  content: " \25BC";
}

.filter-toggle[aria-expanded="true"]::after {
  content: " \25B2";
}

.filters-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 0.5rem 0.5rem;
}

.filters-content.open {
  max-height: 300px; /* adjust based on content */
}

.filter-group {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 0.4rem 0.6rem;
  border: 1px solid #d1d5db;
  border-radius: 0.3rem;
  font-size: 0.9rem;
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px #2563eb33;
}

/* Table View */
.table-container {
  overflow-x: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

#taskTable {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 800px;
  --header-row-height: 44px;
}

#taskTable th {
  background: #f8fafc;
  padding: 0.75rem 0.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  color: #374151;
  border-bottom: 2px solid #e5e7eb;
  user-select: none;
  cursor: default;
}

#taskTable thead tr:first-child th {
  position: sticky;
  top: 0;
  z-index: 12;
}

#taskTable thead tr:first-child th[data-sort] {
  cursor: pointer;
}

#taskTable thead tr:first-child th[data-sort]:hover {
  background: #e2e8f0;
}

#taskTable thead tr.filters-row th {
  position: sticky;
  top: var(--header-row-height);
  z-index: 11;
  padding: 0.5rem 0.5rem;
}

#taskTable thead tr.filters-row input,
#taskTable thead tr.filters-row select {
  width: 100%;
  margin: 0;
  padding: 0.35rem 0.45rem;
  font-size: 0.85rem;
}

#taskTable th.sort-asc::after {
  content: " \25B2";
}

#taskTable th.sort-desc::after {
  content: " \25BC";
}

#taskTable td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

#taskTable tbody tr:hover {
  background: #f8fafc;
}

#taskTable tbody tr.done {
  background: #f0fdf4;
}

.priority-high {
  color: #dc2626;
  font-weight: 600;
}

.priority-medium {
  color: #d97706;
}

.priority-low {
  color: #059669;
}

#taskTable select.status,
.status-select-table {
  padding: 0.2rem 0.4rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  font-size: 0.8rem;
  background: white;
}

.edit-btn-table {
  margin-top: 0;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.8rem;
}

.comments-btn-table {
  margin-top: 0;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.8rem;
  background: #0ea5e9;
}

.comments-btn-table:hover {
  background: #0284c7;
}

.attachments-btn-table {
  margin-top: 0;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.8rem;
  background: #8b5cf6;
}

.attachments-btn-table:hover {
  background: #7c3aed;
}

.history-btn-table {
  margin-top: 0;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.8rem;
  background: #64748b;
}

.history-btn-table:hover {
  background: #475569;
}

.delete-btn-table {
  margin-top: 0;
  padding: 0.2rem 0.4rem;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 0.25rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.delete-btn-table:hover {
  background: #dc2626;
}

#taskTable td:last-child {
  white-space: nowrap;
}

#taskTable td:last-child button + button {
  margin-left: 0.4rem;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding-right: 1rem;
    padding-bottom: 4.75rem;
  }

  header h1 {
    padding-right: 0;
  }

  .header-menus {
    top: auto;
    bottom: 0.85rem;
    right: 1rem;
    left: 1rem;
    transform: none;
    justify-content: flex-end;
  }

  .header-user-summary {
    max-width: 40vw;
  }

  .dropdown-panel {
    width: min(340px, calc(100vw - 2rem));
  }

  .table-container {
    font-size: 0.85rem;
  }
  #taskTable th,
  #taskTable td {
    padding: 0.5rem 0.25rem;
  }

  #taskModal .modal-dialog {
    width: min(96vw, 100%);
    overflow: auto;
  }

  #taskModal .modal-card {
    overflow: auto;
  }

  #taskModal .task-form-grid {
    grid-template-columns: 1fr;
  }

  #taskModal .task-field,
  #taskModal .task-field-span-2 {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  #taskModal .task-field > label {
    padding-top: 0;
  }

  #taskModal .task-inline-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.dashboard{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
  gap:1rem;
}

.dash-card{
  background:#f8fafc;
  padding:1rem;
  border-radius:0.5rem;
  text-align:center;
}

.dash-card span{
  font-size:1.5rem;
  font-weight:bold;
  color:#2563eb;
}

.overdue{
background:#fee2e2 !important;
}

.edit-title{
cursor:text;
}

.edit-date{
width:120px;
}

td:focus{
outline:2px solid #3b82f6;
background:#eff6ff;
}
td[contenteditable="true"]{
background:#f0f9ff;
border:1px solid #3b82f6;
}
