:root {
  --mau-chinh: #b45309;
  --mau-chinh-dam: #92400e;
  --mau-nen: #fffbeb;
  --mau-vien: #fde68a;
  --mau-loi: #dc2626;
  --mau-thanhcong: #16a34a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--mau-nen);
  color: #1f2937;
  line-height: 1.6;
}
.site-header {
  background: var(--mau-chinh);
  color: #fff;
  padding: 1.2rem 1.6rem;
}
.site-header h1 { margin: 0 0 0.25rem; font-size: 1.4rem; }
.site-header p { margin: 0; opacity: 0.92; font-size: 0.95rem; }
.main-nav {
  background: #fff;
  border-bottom: 1px solid var(--mau-vien);
  padding: 0.75rem 1.6rem;
  display: flex;
  gap: 1rem;
}
.main-nav a {
  color: var(--mau-chinh);
  text-decoration: none;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 0.3rem;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--mau-chinh);
  color: #fff;
}
.site-footer {
  text-align: center;
  padding: 1.5rem;
  color: #6b7280;
  font-size: 0.85rem;
  border-top: 1px solid var(--mau-vien);
  margin-top: 2rem;
  background: #fff;
}
.site-footer a { color: var(--mau-chinh); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

    .khung-dieu-phoi-3-cot {
      display: flex;
      flex-wrap: wrap;
      gap: 1.2rem;
      max-width: 1160px;
      margin: 1.5rem auto;
      padding: 0 1rem;
    }
    .cot-tao-nhiem-vu { flex: 1 1 300px; background: #fff; border: 1px solid var(--mau-vien); border-radius: 0.6rem; padding: 1.2rem; }
    .cot-bang-tien-do { flex: 2 1 480px; background: #fff; border: 1px solid var(--mau-vien); border-radius: 0.6rem; padding: 1.2rem; }
    .cot-hieu-suat-nhom { flex: 1 1 240px; background: #fff; border: 1px solid var(--mau-vien); border-radius: 0.6rem; padding: 1.2rem; }
    .cot-tao-nhiem-vu h2, .cot-bang-tien-do h2, .cot-hieu-suat-nhom h2 { margin-top: 0; color: var(--mau-chinh-dam); font-size: 1.15rem; }
    .nhom-thong-tin-task { border: 1px solid var(--mau-vien); border-radius: 0.5rem; padding: 0.85rem; margin: 0; }
    .nhom-thong-tin-task legend { font-weight: bold; color: var(--mau-chinh-dam); padding: 0 0.3rem; }
    .dong-nhap-task { display: flex; flex-direction: column; margin-bottom: 0.75rem; }
    .nhan-nhap-task { margin-bottom: 0.2rem; font-weight: 600; font-size: 0.88rem; }
    .o-nhap-task { padding: 0.48rem 0.6rem; border: 1px solid #94a3b8; border-radius: 0.35rem; font: inherit; }
    .o-nhap-task:focus { outline: none; border-color: var(--mau-chinh); box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.18); }
    .loi-nhap-task { color: var(--mau-loi); font-size: 0.82rem; margin-top: 0.2rem; min-height: 1.1rem; }
    .dong-task-loi .o-nhap-task { border-color: var(--mau-loi); }
    .nut-dieu-phoi-task { background: var(--mau-chinh); color: #fff; border: none; padding: 0.6rem 1.2rem; border-radius: 0.4rem; cursor: pointer; font-weight: 600; width: 100%; }
    .nut-dieu-phoi-task:hover { background: var(--mau-chinh-dam); }
    .nut-xoa-task { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; padding: 0.3rem 0.65rem; border-radius: 0.3rem; cursor: pointer; font-weight: 600; font-size: 0.85rem; }
    .nut-xoa-task:hover { background: #fecaca; }
    .hop-tin-task { border-radius: 0.5rem; padding: 0.8rem 1rem; margin-top: 0.8rem; }
    .hop-bao-thanh-cong { background: #ecfdf5; border: 1px solid var(--mau-thanhcong); color: #065f46; }
    .hop-tin-task[hidden] { display: none; }
    .bang-dieu-phoi-nhiem-vu { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
    .bang-dieu-phoi-nhiem-vu th, .bang-dieu-phoi-nhiem-vu td { border: 1px solid var(--mau-vien); padding: 0.55rem 0.7rem; text-align: left; }
    .bang-dieu-phoi-nhiem-vu th { background: var(--mau-chinh); color: #fff; }
    .nhan-muc-do-task { display: inline-block; padding: 0.2rem 0.5rem; border-radius: 0.3rem; background: #fef3c7; color: #92400e; font-size: 0.8rem; font-weight: 600; }
    .the-chi-so-task { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.8rem; background: #fffbeb; border: 1px solid var(--mau-vien); border-radius: 0.4rem; margin-bottom: 0.5rem; }
    .so-kpi { font-size: 1.2rem; font-weight: bold; color: var(--mau-chinh-dam); }
