.board { display: grid; grid-template-columns: repeat(5, minmax(205px, 1fr)); gap: 14px; align-items: start; overflow-x: auto; padding: 1px 1px 15px; min-height: 420px; }
.column { border: 1px solid #e8edf0; border-radius: 9px; background: #eef2f550; min-height: 350px; transition: background .15s; }
.column.drag-over { border-color: var(--teal); background: #e9f5f1; }
.column-header { display: flex; align-items: center; gap: 7px; padding: 14px 11px; border-bottom: 1px solid #e7ecf0; }
.column-header h2 { font-size: 11px; margin: 0; font-weight: 600; }
.column-dot { width: 6px; height: 6px; border-radius: 50%; background: #99a6b5; }
.column-dot.in_progress { background: #5f8fca; }
.column-dot.review { background: #ba90ce; }
.column-dot.done { background: #58a987; }
.column-dot.blocked { background: #d28a84; }
.column-count { border-radius: 4px; background: #e5eaee; color: #8795a2; font-size: 9px; padding: 1px 5px; }
.column-header .icon-button { margin-left: auto; width: 22px; height: 22px; }
.column-header .icon { width: 14px; height: 14px; }
.column-content { display: grid; gap: 10px; padding: 10px; max-height: 600px; overflow-y: auto; }
.task-card { position: relative; width: 100%; text-align: left; background: #fff; border: 1px solid #e2e8ed; border-radius: 8px; padding: 14px 12px 12px; box-shadow: 0 2px 4px #142a3b03; transition: border-color .15s, box-shadow .15s; color: var(--ink); }
.task-card:hover { border-color: #b6cdd6; box-shadow: 0 4px 12px #142a3b08; }
.task-card[draggable="true"] { cursor: grab; }
.task-card.dragging { opacity: .4; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.task-key { font-size: 9px; letter-spacing: .2px; color: #97a5b0; font-weight: 500; }
.source-tag { font-size: 8px; color: #8d9fae; padding: 2px 5px; background: #f4f7f9; border-radius: 4px; }
.task-card h3 { margin: 0 0 8px; font-size: 12px; font-weight: 550; line-height: 1.65; }
.task-excerpt { font-size: 10px; line-height: 1.65; color: #95a1ab; margin: 0 0 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 13px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 8px; font-weight: 500; border-radius: 4px; padding: 3px 6px; background: #f0f4f8; color: #7b91a3; }
.tag.priority-high { color: #ab7738; background: #fbf3e4; }
.tag.priority-urgent { color: #b66b68; background: #fbebea; }
.tag.priority-low { color: #8b95a3; background: #f2f4f6; }
.tag.accepted { color: #5a947d; background: #edf7f1; }
.tag .icon { width: 10px; height: 10px; }
.card-bottom { display: flex; align-items: center; gap: 6px; border-top: 1px solid #f1f4f6; padding-top: 10px; font-size: 9px; color: #9aa8b2; }
.card-bottom .icon { width: 12px; height: 12px; }
.card-bottom .assignee-badge { margin-left: auto; }
.assignee-badge { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #eef1f8; color: #91a0b6; font-size: 8px; }
.assignee-badge.source { color: #64a497; background: #eaf5f1; }
.empty-column { text-align: center; padding: 34px 10px 20px; color: #a2afb9; font-size: 10px; }
.empty-column .empty-symbol { display: grid; place-items: center; margin: 0 auto 12px; width: 32px; height: 32px; border: 1px dashed #d6dfe5; border-radius: 9px; color: #b1bdc7; }
.empty-column p { margin: 0; }
.add-card { background: transparent; color: #92a2af; border: 1px dashed #dce4e9; border-radius: 6px; padding: 8px; font-size: 10px; width: 100%; text-align: left; }
.add-card .icon { width: 13px; height: 13px; margin-right: 5px; }
.add-card:hover { color: var(--teal); border-color: #a9c9cc; }
.roadmap { display: grid; gap: 12px; }
.roadmap-row { display: flex; align-items: flex-start; gap: 18px; text-align: left; width: 100%; padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); }
.roadmap-row:hover { border-color: #b9d0d6; }
.roadmap-number { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #f0f4f8; color: #8195a6; }
.roadmap-number.done { background: #edf7f1; color: #66a28b; }
.roadmap-number.in_progress { background: #eef4fc; color: #5c8dc7; }
.roadmap-details { flex: 1; }
.roadmap-details h3 { font-size: 13px; margin: 0 0 5px; }
.roadmap-details p { font-size: 11px; color: #8e9ca8; margin: 0; }
.status-pill { display: inline-flex; align-items: center; white-space: nowrap; gap: 6px; padding: 4px 8px; border-radius: 5px; font-size: 10px; background: #f0f3f6; color: #8896a3; }
.status-pill.done, .status-pill.verified { background: #edf7f1; color: #5d977f; }
.status-pill.in_progress { background: #edf3fd; color: #618ec6; }
.status-pill.review, .status-pill.implemented { background: #f5effb; color: #a382b9; }
.status-pill.blocked { background: #fcf0ed; color: #bd8980; }
.requirement-list { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.requirement-row { width: 100%; display: grid; grid-template-columns: 95px 1fr 68px 112px; gap: 15px; align-items: center; text-align: left; padding: 14px 18px; border-bottom: 1px solid #edf1f4; background: #fff; color: var(--ink); }
.requirement-row:last-child { border: 0; }
.requirement-row:hover { background: #f9fbfc; }
.requirement-row strong { font-size: 12px; font-weight: 500; }
.requirement-row .step-link { font-size: 10px; color: #8e9aa5; }
.activity-list { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 5px 22px; }
.activity-row { display: flex; gap: 13px; padding: 18px 0; border-bottom: 1px solid #edf1f4; }
.activity-row:last-child { border-bottom: 0; }
.activity-badge { display: grid; place-items: center; background: #eef6f4; color: #71a99a; width: 29px; height: 29px; border-radius: 8px; flex: 0 0 auto; }
.activity-badge .icon { width: 15px; height: 15px; }
.activity-row strong { font-size: 12px; font-weight: 500; }
.activity-row p { font-size: 11px; margin: 4px 0 0; color: #8b9aa7; white-space: pre-wrap; overflow-wrap: anywhere; }
.activity-meta { margin-left: auto; text-align: right; font-size: 10px; color: #9aa7b1; flex: 0 0 auto; }
.activity-meta span { display: block; }
.more-events { margin-top: 16px; }
.task-dialog { padding: 0; width: min(660px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 80px #142a3b40; color: var(--ink); }
.task-dialog::backdrop { background: #142a3b65; backdrop-filter: blur(3px); }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 23px 25px 17px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { font-size: 20px; font-weight: 600; margin: 4px 0 0; line-height: 1.4; }
.dialog-body { padding: 22px 25px; }
label { display: block; font-size: 12px; font-weight: 500; margin-bottom: 16px; }
label input, label textarea, label select { display: block; width: 100%; border: 1px solid #dfe6ea; border-radius: 7px; padding: 10px 12px; color: var(--ink); background: #fff; margin-top: 6px; font-size: 12px; }
textarea { resize: vertical; min-height: 85px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.dialog-actions { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.dialog-actions .danger { margin-right: auto; }
.form-error { color: #b65656; font-size: 12px; margin: 10px 0; }
.source-note { background: #eef6f5; color: #648d89; border-radius: 7px; padding: 11px 13px; font-size: 11px; margin-bottom: 19px; }
.detail-section { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.detail-section h3 { font-size: 12px; margin: 0 0 12px; }
.detail-section ul { list-style: none; margin: 0; padding: 0; }
.detail-section li { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; font-size: 12px; color: #70818e; line-height: 1.65; }
.detail-section li .icon { width: 14px; height: 14px; margin-top: 3px; color: #8caaa8; }
.document-link { display: block; width: 100%; text-align: left; color: var(--teal); background: #f5f9fa; padding: 8px 10px; border-radius: 5px; font-size: 11px; margin: 5px 0; overflow-wrap: anywhere; }
.evidence-path { font-size: 10px; color: #95a3ad; overflow-wrap: anywhere; margin: 6px 0; }
.source-text { font-family: ui-monospace, monospace; font-size: 11px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-copy { font-size: 12px; line-height: 1.8; color: #70818e; white-space: pre-wrap; }
.comment-form { margin-top: 15px; }
.empty-state { text-align: center; padding: 50px 20px; background: #fff; border: 1px dashed var(--line); border-radius: 9px; color: #99a7b2; font-size: 12px; }
