.ws-board, .ws-template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.ws-lane { min-width: 0; min-height: 252px; padding: 12px; border: 1px solid var(--line); border-top: 2px solid #a8b8ab; border-radius: 12px; background: #f1f4ef; }
.ws-lane-in_progress { border-top-color: #7e9bba; }
.ws-lane-done { border-top-color: #79a184; }
.ws-lane-head { display: flex; justify-content: space-between; align-items: center; padding: 1px 2px 10px; font-size: 12px; color: var(--muted); }
.ws-task { min-width: 0; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.ws-task + .ws-task { margin-top: 10px; }
.ws-task h3, .ws-template h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.ws-task-description, .ws-template > p { margin: 0 0 13px; color: var(--muted); line-height: 1.65; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ws-task-meta, .ws-task-tools, .ws-template-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ws-task-meta { justify-content: space-between; color: var(--muted); font-size: 12px; }
.ws-task-meta > span, .ws-file-name { display: flex; align-items: center; gap: 5px; min-width: 0; }
.ws-task-meta .ws-late { color: #ab2c3a; }
.ws-task-tools { border-top: 1px solid #edf0eb; margin-top: 13px; padding-top: 6px; justify-content: space-between; }
.ws-task-tools .btn { min-height: 30px; padding: 4px 6px; font-size: 12px; }
.ws-lane-empty { margin: 6px 0 0; padding: 32px 12px; border: 1px dashed #c8d5ca; border-radius: 9px; color: var(--muted); text-align: center; font-size: 13px; }
.ws-files-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); margin-bottom: 12px; font-size: 13px; }
.ws-search { display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); }
.ws-search:focus-within { outline: 2px solid #92ad99; outline-offset: 1px; }
.ws-search input { min-width: 0; width: 220px; max-width: 48vw; padding: 8px 0; color: inherit; border: 0; background: transparent; outline: none; font: inherit; }
.ws-files tr[hidden], .ws-no-matches[hidden] { display: none; }
.ws-no-matches { padding: 24px; margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.ws-file-name { gap: 10px; }
.ws-file-name strong { font-size: 13px; overflow-wrap: anywhere; }
.ws-file-icon, .ws-template-icon { display: grid; place-items: center; flex: 0 0 auto; color: var(--green); background: #e9f1e7; border-radius: 9px; width: 34px; height: 34px; }
.ws-template-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ws-template { padding: 20px; align-self: stretch; display: flex; flex-direction: column; }
.ws-template-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.ws-template-icon { width: 42px; height: 42px; }
.ws-template-date { color: var(--muted); font-size: 12px; }
.ws-template h3 { font-size: 17px; }
.ws-template-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.ws-template-tags > span { padding: 3px 7px; color: #4f6255; background: #eff3ee; border-radius: 5px; font-size: 11px; }
.ws-template-actions { margin-top: auto; }
.ws-comment-list { grid-column: 1 / -1; max-height: 215px; overflow-y: auto; display: grid; gap: 8px; }
.ws-comment { border: 1px solid var(--line); padding: 12px; border-radius: 8px; }
.ws-comment > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.ws-comment time, .ws-comment-empty, .ws-template-help { font-size: 12px; color: var(--muted); }
.ws-comment p { margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ws-template-help { grid-column: 1 / -1; line-height: 1.7; }
.ws-template-help > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.ws-template-help code { color: var(--green); overflow-wrap: anywhere; }
.ws-preview { line-height: 1.65; }
@media (max-width: 940px) {
  .ws-board { gap: 10px; }
  .ws-lane { padding: 9px; }
  .ws-task { padding: 10px; }
}
@media (max-width: 700px) {
  .ws-board { grid-template-columns: 1fr; }
  .ws-lane { min-height: 0; }
  .ws-template-help > div { grid-template-columns: 1fr; }
}
