
.kanban-icon { width:19px; text-align:center; font-size:18px; line-height:1; }
.kanban-heading button { white-space:nowrap; }
.kanban-tools { display:flex; gap:14px; align-items:end; flex-wrap:wrap; margin-bottom:14px; }
.kanban-tools label { margin:0; flex:0 1 290px; }
.kanban-tools label:nth-child(2) { flex:0 1 165px; }
.kanban-tools input, .kanban-tools select, #task-form input, #task-form textarea, #task-form select {
  display:block; width:100%; font:inherit; padding:10px 12px; margin-top:5px;
  color:#244432; background:#fff; border:1px solid #ccdccc; border-radius:8px;
}
.kanban-tools input:focus-visible, #task-form :is(input,textarea,select):focus-visible { outline:2px solid #157857; outline-offset:2px; }
#task-count { margin:0 0 9px auto; }
#kanban-status:empty, #task-form-status:empty { display:none; }
.kanban-columns { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; align-items:start; }
.kanban-column { min-width:0; padding:13px; min-height:240px; background:#e9efe5; border:1px solid #dce7d8; border-radius:13px; }
.kanban-column h2 { display:flex; align-items:center; gap:8px; margin:0 0 13px; font-size:15px; }
.stage-dot { width:8px; height:8px; flex:none; background:#81958b; border-radius:50%; }
[data-stage="doing"] .stage-dot { background:#3972b1; }
[data-stage="review"] .stage-dot { background:#b37e20; }
[data-stage="done"] .stage-dot { background:#16885d; }
.column-count { margin-left:auto; color:#55685b; background:#f8fbf6; border-radius:20px; padding:1px 8px; font-size:12px; }
.kanban-cards { display:grid; gap:9px; }
.task-card { padding:12px; background:#fff; border:1px solid #dce8dc; border-radius:9px; overflow-wrap:anywhere; }
.task-card[draggable="true"] { cursor:grab; }
.task-meta { display:flex; align-items:center; justify-content:space-between; gap:6px; flex-wrap:wrap; font-size:11px; color:#526858; }
.task-priority { padding:2px 6px; border-radius:5px; background:#eaf2e7; color:#37604a; }
.priority-high { background:#f7e8db; color:#814327; }
.priority-low { background:#edf0f5; color:#435571; }
.task-title { padding:3px 0; margin:6px 0 0; border:0; border-radius:0; background:none; color:#173d2d; text-align:left; line-height:1.4; font-size:14px; }
.task-title:hover { background:none; color:#12765c; text-decoration:underline; }
.task-card p, .task-link-label { margin:3px 0 0; color:#4e6957; font-size:11px; }
.task-empty { margin:3px 0; padding:12px 0; }
.column-add { width:100%; text-align:left; background:transparent; color:#285e47; padding:10px 0 2px; font-size:12px; }
.column-add:hover { background:transparent; text-decoration:underline; }
#task-dialog { width:min(570px,calc(100vw - 30px)); max-height:calc(100dvh - 32px); overflow:auto; border:1px solid #d5e3d7; border-radius:15px; padding:22px; color:#244432; box-shadow:0 16px 70px #041d1940; }
#task-dialog::backdrop { background:#041d1980; }
.task-dialog-head,.task-dialog-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.task-dialog-head h2 { margin:0; }
#close-task { font-size:22px; padding:4px 13px; }
#task-form label { margin:12px 0 0; }
.task-fields { display:grid; grid-template-columns:1fr 1fr; gap:0 14px; }
.task-dialog-actions { margin-top:17px; justify-content:flex-end; }
.task-dialog-actions .secondary { font-size:12px; }
.task-summary { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.task-summary a { margin:0; }
.task-summary p { margin-bottom:0; }
.workrow .task-shortcut { margin-left:0; }
.dashboard-hero { min-height:0; }
.hero-copy { padding-bottom:30px; }
.hero-art { bottom:0; }
@media (max-width:1120px) { .kanban-columns { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:550px) {
  .kanban-columns { grid-template-columns:1fr; }
  .kanban-column { min-height:0; }
  .kanban-tools { gap:10px; }
  .kanban-tools label { flex:1 1 100%; }
  #task-count { margin-left:0; }
  .task-fields { grid-template-columns:1fr; }
}
