:root {
  color-scheme: light;
  --bg: #f4f7fa;
  --panel: #ffffff;
  --panel-hover: #f8fafc;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #e4e8ec;
  --primary: #0068ff; /* Màu xanh Zalo chủ đạo */
  --primary-dark: #0050c7;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --soft-blue: #eff6ff;
  --soft-green: #ecfdf5;
  --shadow: 0 4px 12px rgba(0, 104, 255, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

/* Biểu tượng nút nhấn, ô chọn */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: all 0.15s ease-out;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

input[type="date"],
select {
  padding: 8px 12px;
}

input:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 104, 255, 0.1);
}

/* Cấu trúc Layout */
.app-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

/* THANH ĐIỀU HƯỚNG CHÍNH (ZALO BLUE SIDEBAR) */
.app-nav {
  background-color: #0068ff;
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  color: #ffffff;
  z-index: 99;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding-left: 8px;
}

.brand-icon {
  font-size: 1.5rem;
}

.brand-text {
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  font-weight: 700;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav-link.is-active {
  background-color: #ffffff;
  color: #0068ff;
  border-radius: var(--radius);
}

/* NỘI DUNG CHÍNH */
.app-main {
  padding: 40px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.app-view {
  display: none;
}

.app-view.is-active {
  display: block;
  animation: fadeIn 0.15s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* TIÊU ĐỀ */
.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 1.2rem;
  font-weight: 800;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

/* Huy hiệu và nút bấm chung */
.badge {
  background-color: var(--soft-blue);
  color: var(--primary);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  background-color: var(--bg);
  border-color: var(--muted);
}

.btn-danger {
  background-color: #fff5f5;
  border-color: #feb2b2;
  color: var(--danger);
}

.btn-danger:hover {
  background-color: var(--danger);
  color: #ffffff;
  border-color: var(--danger);
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  gap: 10px;
}

/* THẺ CONTAINER (CARD ZALO-STYLE) */
.card {
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 8px;
  color: var(--ink);
}

.card-desc {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

/* TRẠNG THÁI PHÂN CÔNG */
.status-pill {
  border-radius: var(--radius);
  padding: 6px 14px;
  background-color: var(--soft-green);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
}

.status-pill.is-offline {
  background-color: #fff5f5;
  color: var(--danger);
  border-color: #feb2b2;
}

/* KHU VỰC ĐIỀU KHIỂN */
.control-panel {
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow);
}

.date-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.9rem;
}

.date-label input[type="date"] {
  background-color: var(--panel);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--ink);
}

.option-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* NÚT KIỂU SEGMENTED */
.segmented {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.segment {
  border: 0;
  background: var(--panel);
  color: var(--muted);
  font-weight: 800;
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 0;
}

.segment:not(:last-child) {
  border-right: 1px solid var(--line);
}

.segment.is-active {
  background-color: var(--primary);
  color: #ffffff;
}

/* KHU VỰC THÔNG BÁO */
.notification-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  margin-bottom: 24px;
  background-color: var(--soft-blue);
  border: 1px solid rgba(0, 104, 255, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.notification-info h2 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  color: var(--primary);
}

.notification-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.notification-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* THÀNH VIÊN STRIP (NHÃN BẤM HÔM NAY) */
.member-strip {
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

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

.section-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-chip {
  padding: 8px 16px;
  border-radius: 20px; /* Chip tròn phong cách hiện đại */
  font-weight: 800;
  font-size: 0.88rem;
  border: 1px solid var(--line);
  background-color: var(--bg);
  color: var(--ink);
}

/* BẢNG VIỆC (TASK BOARD) */
.task-board {
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-height: 200px;
  box-shadow: var(--shadow);
}

.day-board {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.task-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(140px, 200px);
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  background-color: var(--panel);
  transition: all 0.15s ease-out;
  border-left: 5px solid #64748b; /* Viền trái mặc định màu xám */
}

.task-card:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.task-card input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--primary);
  cursor: pointer;
  border-radius: 4px;
}

.task-card.is-done {
  background-color: #fafbfc;
  opacity: 0.75;
}

.task-card.is-done h3 {
  color: var(--muted);
  text-decoration: line-through;
}

.task-info h3 {
  margin: 0 0 4px 0;
  font-size: 1.05rem;
}

.task-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.assignee-select {
  background-color: var(--panel);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: var(--radius);
  width: 100%;
}

.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 48px 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

/* LỊCH TUẦN: CHẾ ĐỘ ACCORDION */
.week-accordion {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.accordion-day {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--panel);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.accordion-day.is-selected {
  border-color: var(--primary);
}

.accordion-header {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--panel);
  border: 0;
  text-align: left;
}

.accordion-header:hover {
  background-color: var(--panel-hover);
}

.accordion-header-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--ink);
}

.accordion-header-indicator {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
}

.accordion-content {
  display: none;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background-color: #fafbfc;
}

.accordion-day.is-open .accordion-content {
  display: block;
}

/* Grid lịch hiển thị trên Desktop */
@media (min-width: 769px) {
  .week-desktop-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-top: 14px;
  }

  .desktop-day-col {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background-color: var(--panel);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  }

  .desktop-day-col.is-selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 104, 255, 0.08);
  }

  .desktop-day-header {
    background-color: #f8fafc;
    padding: 12px 10px;
    text-align: center;
    font-weight: 800;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .desktop-tasks-list {
    padding: 10px;
    display: grid;
    gap: 8px;
    flex: 1;
    background-color: var(--panel);
  }
}

.week-list-task {
  padding: 8px 12px;
  border-radius: 6px;
  background-color: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
}

.week-list-task.is-done {
  opacity: 0.65;
  text-decoration: line-through;
}

/* Chấm tròn chỉ thị màu */
.color-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}

/* THỐNG KÊ BIỂU ĐỒ CỘT NGANG */
.stats-card {
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 20px;
  box-shadow: var(--shadow);
}

.chart-container {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.chart-row {
  display: grid;
  grid-template-columns: 120px 1fr 60px;
  align-items: center;
  gap: 16px;
}

.chart-label {
  font-weight: 700;
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chart-track {
  background-color: var(--bg);
  border: 1px solid var(--line);
  height: 20px;
  border-radius: 10px; /* Thanh bo tròn */
  overflow: hidden;
  position: relative;
}

.chart-bar {
  background-color: #64748b;
  height: 100%;
  width: 0%;
  border-radius: 10px;
  transition: width 0.5s cubic-bezier(0.1, 0.8, 0.25, 1);
}

.chart-percentage {
  font-size: 0.85rem;
  font-weight: 800;
  text-align: right;
  color: var(--muted);
}

/* THỐNG KÊ CHI TIẾT THEO CÔNG VIỆC */
.task-stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.task-stat-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background-color: var(--bg);
}

.task-stat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  color: var(--ink);
}

.task-stat-members {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.task-stat-member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
}

.task-stat-member-badge {
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.task-stat-count {
  font-weight: 800;
  color: var(--muted);
}

/* PHÂN TRANG QUẢN LÝ (SUB-TABS) */
.manage-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.manage-tab-btn {
  border: 0;
  padding: 10px 20px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.manage-tab-btn:hover {
  color: var(--ink);
}

.manage-tab-btn.is-active {
  background-color: var(--soft-blue);
  color: var(--primary);
}

.manage-section {
  display: none;
}

.manage-section.is-active {
  display: block;
}

/* Danh sách quản lý Thành viên/Công việc */
.members-manage-list,
.tasks-manage-list {
  display: grid;
  gap: 12px;
}

.manage-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01);
}

.manage-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.manage-item-name {
  font-weight: 700;
  border: 1px dashed transparent;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--ink);
  cursor: pointer;
  flex: 1;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manage-item-name:focus {
  background-color: var(--bg);
  border-color: var(--primary);
  border-style: solid;
  outline: none;
}

.manage-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.manage-item-frequency {
  font-size: 0.8rem;
  color: var(--muted);
}

/* BỘ CHỌN MÀU (COLOR PICKER) */
.color-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.color-chip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  padding: 0;
  transition: transform 0.1s ease;
}

.color-chip:hover {
  transform: scale(1.15);
}

.color-chip.is-active {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px var(--primary);
}

/* ĐỔI MÀU TRỰC TIẾP TRONG DANH SÁCH */
.manage-color-trigger {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

/* BIỂU MẪU CỦA SETTINGS VÀ MANAGE */
.form-group {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.mini-form input,
.mini-form select {
  min-height: 42px;
  background-color: var(--panel);
  border: 1px solid var(--line);
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--ink);
}

.mini-form input:focus,
.mini-form select:focus {
  border-color: var(--primary);
}

.mini-form.task-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.rules {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.rules li {
  margin-bottom: 10px;
  line-height: 1.55;
}

/* UTILITY COLOR CLASSES (CHO CẤU HÌNH MÀU SẮC THÀNH VIÊN / CÔNG VIỆC) */
/* 1. Thành viên: màu chip */
.chip-gray { background-color: #f1f5f9; color: #475569; border-color: #cbd5e1; }
.chip-blue { background-color: #eff6ff; color: #0068ff; border-color: #bfdbfe; }
.chip-green { background-color: #ecfdf5; color: #10b981; border-color: #a7f3d0; }
.chip-red { background-color: #fff5f5; color: #ef4444; border-color: #feb2b2; }
.chip-yellow { background-color: #fffbeb; color: #d97706; border-color: #fde68a; }
.chip-pink { background-color: #fdf2f8; color: #db2777; border-color: #fbcfe8; }

/* 2. Công việc: Viền biên trái của thẻ */
.border-gray { border-left-color: #64748b !important; }
.border-blue { border-left-color: #0068ff !important; }
.border-green { border-left-color: #10b981 !important; }
.border-red { border-left-color: #ef4444 !important; }
.border-yellow { border-left-color: #f59e0b !important; }
.border-pink { border-left-color: #ec4899 !important; }

/* 3. Màu nền nhẹ đại diện của thành viên được phân công trên thẻ */
.assign-bg-gray { background-color: rgba(100, 116, 139, 0.05); }
.assign-bg-blue { background-color: rgba(0, 104, 255, 0.03); }
.assign-bg-green { background-color: rgba(16, 185, 129, 0.03); }
.assign-bg-red { background-color: rgba(239, 68, 68, 0.03); }
.assign-bg-yellow { background-color: rgba(245, 158, 11, 0.03); }
.assign-bg-pink { background-color: rgba(236, 72, 153, 0.03); }

/* 4. Màu sắc chấm tròn */
.dot-gray { background-color: #64748b; }
.dot-blue { background-color: #0068ff; }
.dot-green { background-color: #10b981; }
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-pink { background-color: #ec4899; }

/* 5. Màu sắc cột biểu đồ thống kê */
.bar-gray { background-color: #64748b !important; }
.bar-blue { background-color: #0068ff !important; }
.bar-green { background-color: #10b981 !important; }
.bar-red { background-color: #ef4444 !important; }
.bar-yellow { background-color: #f59e0b !important; }
.bar-pink { background-color: #ec4899 !important; }

/* ĐIỀU CHỈNH GIAO DIỆN DI ĐỘNG (MOBILE LAYOUT) */
@media (max-width: 768px) {
  .app-container {
    grid-template-columns: 1fr;
    padding-bottom: 72px; /* Dành chỗ cho Bottom Nav */
  }

  /* CHUYỂN THANH ĐIỀU HƯỚNG THÀNH BOTTOM NAV */
  .app-nav {
    flex-direction: row;
    height: 64px;
    width: 100%;
    padding: 0;
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
    z-index: 100;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
  }

  .nav-brand {
    display: none;
  }

  .nav-links {
    flex-direction: row;
    width: 100%;
    height: 100%;
    justify-content: space-around;
    gap: 0;
  }

  .nav-link {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 0;
    height: 100%;
    border-radius: 0;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
  }

  .nav-link:hover {
    background-color: transparent;
  }

  .nav-link.is-active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 0;
  }

  .nav-icon {
    font-size: 1.25rem;
  }

  /* NỘI DUNG CHÍNH DI ĐỘNG */
  .app-main {
    padding: 24px 16px;
  }

  h1 {
    font-size: 1.6rem;
  }

  .view-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 18px;
  }

  .view-header .btn {
    width: 100%;
  }

  .control-panel {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }

  .date-label {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .option-selector {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .segmented {
    width: 100%;
  }

  .segment {
    flex: 1;
    text-align: center;
  }

  .notification-panel {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 12px;
  }

  .notification-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .task-card {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 12px 14px;
  }

  .assignee-select {
    grid-column: 1 / -1;
  }

  .chart-row {
    grid-template-columns: 90px 1fr 45px;
    gap: 8px;
  }

  .chart-label {
    font-size: 0.85rem;
  }

  .task-stats-container {
    grid-template-columns: 1fr;
  }

  .week-desktop-grid {
    display: none;
  }
}
