:root { color-scheme: light; font-family: system-ui, sans-serif; color: #172e3d; background: #f3f6f8; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 960px; margin: auto; padding: 32px 24px; }
h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 8px 0; }
h2 { font-size: 1.25rem; }
.eyebrow { color: #385967; font-weight: 700; }
.panel, .task { background: white; border: 1px solid #c4d3db; border-radius: 12px; padding: 24px; }
.panel { margin: 28px 0; }
form { display: grid; gap: 10px; }
label { font-weight: 600; }
input, textarea, select, button { font: inherit; border: 1px solid #718692; border-radius: 6px; padding: 10px 12px; }
input, textarea { width: 100%; }
textarea { resize: vertical; }
button { cursor: pointer; background: #164c65; color: white; min-height: 44px; }
button:hover { background: #10394d; }
:focus-visible { outline: 3px solid #b35a00; outline-offset: 3px; }
.actions, .toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.toolbar { justify-content: space-between; }
.toolbar label { display: block; margin-bottom: 6px; }
#task-list { padding: 0; list-style: none; display: grid; gap: 14px; }
.task h3 { margin: 0 0 10px; overflow-wrap: anywhere; }
.task p { white-space: pre-wrap; overflow-wrap: anywhere; }
.badge { display: inline-block; padding: 4px 9px; border-radius: 20px; background: #e5edf2; font-weight: 600; }
.badge[data-status="complete"] { background: #d5efdf; }
.badge[data-status="attention"] { background: #ffe5bc; }
.badge[data-status="running"] { background: #dbe8ff; }
footer, #task-count { color: #425966; }
footer { margin-top: 32px; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  main { padding: 20px 14px; }
  .panel, .task { padding: 18px; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar select, .actions select { width: 100%; }
  .actions { align-items: stretch; }
}
