.team-list { display:grid; gap:12px; }
.team-field { display:flex; flex-direction:column; gap:7px; margin:14px 0; color:var(--muted); font-size:13px; }
.team-field textarea { min-height:110px; width:100%; resize:vertical; }
.team-form .team-field,.work-filters .team-field { margin:0; }
.team-board { display:grid; grid-template-columns:repeat(5,minmax(230px,1fr)); gap:14px; overflow-x:auto; align-items:start; padding-bottom:18px; }
.team-column { border-radius:16px; padding:12px; background:var(--surface-muted); border:1px solid var(--line); min-height:180px; }
.team-column h3 { font-size:13px; margin:3px 2px 16px; color:var(--muted); }
.team-column .work-card { margin-bottom:10px; padding:14px; box-shadow:none; }
.team-column .work-title { font-size:14px; line-height:1.5; margin-bottom:12px; }
.team-count,.team-excerpt { color:var(--muted); font-size:13px; }
.team-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:20px 0; }
.team-form > label { display:flex; flex-direction:column; gap:7px; min-width:0; }
.team-form > label:has(textarea),.team-checklist,.team-steps { grid-column:1/-1; }
.team-form input,.team-form select,.team-form textarea { min-width:0; width:100%; }
.team-form textarea { min-height:110px; resize:vertical; }
.team-form textarea[name="body"] { min-height:280px; }
.team-check { display:flex!important; flex-direction:row!important; align-items:center; gap:7px; }
.team-check input { width:18px; height:18px; }
.team-checklist h3,.team-steps h3 { font-size:14px; }
.team-check-row { display:flex; align-items:center; gap:10px; margin:10px 0; }
.team-check-row > input { flex:1; min-width:80px; }
.team-check-row > .team-check { flex:0 0 auto; }
.team-step { display:grid; gap:10px; border:1px solid var(--line); border-radius:12px; padding:16px; margin-bottom:12px; }
.team-step label { display:flex; flex-direction:column; gap:6px; }
.team-prose { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.7; max-width:100%; }
.team-history { margin-top:24px; }
.team-history-item { border-left:2px solid var(--line); padding:12px 16px; margin-top:10px; font-size:13px; }
.team-history-item pre { font:12px/1.7 monospace; max-height:250px; overflow:auto; background:var(--surface-muted); padding:12px; border-radius:8px; }
.team-comment { background:var(--surface-muted); border:1px solid var(--line); padding:16px; border-radius:12px; margin:12px 0; }
.team-comment small { display:block; color:var(--muted); margin-top:6px; }
.team-unread { border-inline-start:3px solid var(--accent); }
.team-comments { max-height:400px; overflow:auto; }
.team-record-actions { display:flex; flex-wrap:wrap; gap:8px; padding:14px 0; border-bottom:1px solid var(--line); margin-bottom:14px; }
@media(max-width:600px) { .team-form { grid-template-columns:1fr; } .team-board { grid-template-columns:repeat(5,260px); } .team-check-row { flex-wrap:wrap; } }
