#kanbanView { min-width: 0; }
.kb-intro { max-width: 1000px; line-height: 1.5; color: #475569; }
.kb-toolbar, .kb-selection, .kb-actions, .kb-card-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.kb-toolbar { padding: 12px 0; }
.kb-toolbar label { display: grid; gap: 5px; font-size: 13px; }
.kb-toolbar input, .kb-toolbar select { min-width: 180px; }
.kb-selection { min-height: 44px; padding: 8px 0; font-size: 13px; }
.kb-board { display: grid; grid-template-columns: repeat(7, minmax(245px, 1fr)); gap: 12px; overflow-x: auto; padding: 12px 2px 24px; align-items: start; }
.kb-column { background: #edf1f5; border: 1px solid #d8e0e8; border-radius: 10px; min-height: 240px; }
.kb-column h3 { font-size: 14px; padding: 14px 12px; margin: 0; min-height: 60px; display: flex; justify-content: space-between; gap: 8px; }
.kb-column h3 span { border-radius: 20px; background: white; padding: 2px 8px; height: fit-content; }
.kb-column-cards { display: grid; gap: 10px; padding: 0 8px 10px; }
.kb-card { border: 1px solid #dce2e8; border-left: 4px solid #526b7a; border-radius: 7px; padding: 12px; background: white; overflow-wrap: anywhere; }
.kb-card h4 { margin: 12px 0 8px; font-size: 15px; }
.kb-card p { font-size: 12px; margin: 8px 0; line-height: 1.5; white-space: pre-wrap; }
.kb-card-top { justify-content: space-between; font-size: 12px; }
.kb-card-top label { display: flex; gap: 5px; align-items: center; }
.kb-card input[type=checkbox], .kb-check input { width: auto; }
.kb-urgent { border-left-color: #b45309; background: #fffcf5; }
.kb-selected { outline: 2px solid #236a54; }
.kb-meta, .kb-empty { color: #586577; }
.kb-official { border-top: 1px solid #e3e8ed; padding-top: 8px; }
.kb-tag { display: inline-block; background: #e7edf3; border-radius: 5px; padding: 4px 6px; margin: 2px; font-size: 11px; }
.kb-attention { color: #92400e; }
.kb-ready { color: #17653c; font-weight: 600; }
.kb-resume { background: #edf5ff; padding: 7px; border-radius: 5px; }
.kb-actions { gap: 6px; margin-top: 10px; }
.kb-actions button { font-size: 12px; padding: 7px 9px; }
.kb-batch { display: flex; justify-content: space-between; gap: 15px; align-items: center; flex-wrap: wrap; border: 1px solid #ccd8e1; border-radius: 8px; background: #fff; padding: 12px; margin: 8px 0; }
.kb-batch p { margin: 6px 0; font-size: 13px; }
.kb-batch small { color: #586577; }
.kb-error { color: #a51c30; }
.kb-dialog { width: min(680px, calc(100vw - 32px)); max-height: 88vh; border: 1px solid #ccd8e1; border-radius: 12px; padding: 24px; color: #263445; }
.kb-dialog::backdrop { background: #10203088; }
.kb-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.kb-dialog h2 { font-size: 20px; margin: 0 0 15px; }
.kb-dialog label { display: grid; gap: 5px; margin: 12px 0; font-size: 13px; }
.kb-dialog label.kb-check { display: flex; align-items: center; }
.kb-dialog textarea, .kb-dialog input:not([type=checkbox]), .kb-dialog select { width: 100%; box-sizing: border-box; }
.kb-dialog pre { font: inherit; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.kb-dialog footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
@media (max-width: 700px) { .kb-toolbar { align-items: stretch; } .kb-toolbar label { flex: 1; } .kb-toolbar input, .kb-toolbar select { min-width: 140px; } .kb-board { grid-template-columns: repeat(7, 270px); } }
