/* ============================================================
   Homework Checklist — tool-specific styles
   ============================================================ */

.panel-title { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin: 0 0 0.7rem; }
.field-label { display: block; font-size: 0.8rem; font-weight: 800; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 0.35rem; }
.btn-small { padding: 0.35rem 0.7rem; font-size: 0.82rem; }

.hc-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1rem; align-items: start; margin: 1rem 0; }
.hc-form { display: grid; gap: 0.15rem; }
.hc-form-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0.6rem; margin-bottom: 0.75rem; }

.hc-summary { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-top: 0.9rem; }
.hc-chip { font-size: 0.8rem; border-radius: 999px; padding: 0.3rem 0.65rem; font-weight: 700; }
.hc-chip-total { background: #f1f5f9; color: #334155; }
.hc-chip-pending { background: #fef9c3; color: #854d0e; }
.hc-chip-overdue { background: #fee2e2; color: #991b1b; }
.hc-chip-done { background: #dcfce7; color: #166534; }
.hc-chip strong { font-variant-numeric: tabular-nums; }

.hc-list-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.chip-group { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.chip { font: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; border: 1.5px solid var(--line); background: #fff; color: var(--muted); border-radius: 999px; padding: 0.28rem 0.6rem; transition: all 0.12s ease; }
.chip[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-strong); }

.hc-list { list-style: none; margin: 0 0 0.7rem; padding: 0; display: grid; gap: 0.45rem; }
.hc-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.55rem; align-items: center;
  border: 1.5px solid var(--line); border-left-width: 5px; border-radius: var(--r-md); padding: 0.5rem 0.6rem; background: #fff;
}
.hc-item[data-status="overdue"] { border-left-color: var(--bad); background: #fffafa; }
.hc-item[data-status="today"] { border-left-color: #f59e0b; background: #fffdf2; }
.hc-item[data-status="upcoming"] { border-left-color: var(--brand); }
.hc-item[data-status="done"] { opacity: 0.62; border-left-color: var(--ok); }
.hc-item input[type="checkbox"] { accent-color: var(--brand); width: 1.25em; height: 1.25em; cursor: pointer; }
.hc-item-title { font-size: 0.92rem; font-weight: 700; margin: 0; }
.hc-item[data-status="done"] .hc-item-title { text-decoration: line-through; }
.hc-item-meta { font-size: 0.72rem; color: var(--muted); margin: 0.1rem 0 0; }
.hc-item-meta .hc-priority-high { color: var(--bad); font-weight: 800; }
.hc-item-meta .hc-priority-medium { color: #b45309; font-weight: 800; }
.hc-item-meta .hc-priority-low { color: var(--ok); font-weight: 800; }
.hc-delete { font: inherit; font-size: 1rem; cursor: pointer; background: none; border: 1px solid transparent; border-radius: var(--r-sm); color: var(--muted); padding: 0.2rem 0.45rem; }
.hc-delete:hover { border-color: var(--bad); color: var(--bad); }

.hc-empty { color: var(--muted); font-size: 0.88rem; border: 1px dashed var(--line); border-radius: var(--r-md); padding: 0.9rem; text-align: center; }

@media (max-width: 980px) { .hc-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hc-form-row { grid-template-columns: 1fr; } }
