:root{color:#202124;background:#f5f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}.kanban-shell{min-height:100vh;height:100vh;display:flex;flex-direction:column;background:#f5f6f8}.kanban-header{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 12px;border-bottom:1px solid #dce2e8;background:#fff;color:#4d5560;font-size:13px}.kanban-header strong{color:#202124}.kanban-header span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kanban-body{flex:1;min-height:0;display:flex}.project-tree{width:264px;min-width:220px;display:flex;flex-direction:column;border-right:1px solid #dce2e8;background:#fff}.project-tree-head{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-bottom:1px solid #e6ebef}.project-tree-list{flex:1;min-height:0;padding:6px;overflow-y:auto}.project-row{display:flex;align-items:center;gap:2px;min-height:32px;border-radius:7px}.project-row:hover,.project-row.is-selected{background:#eef2f5}.project-select{flex:1;min-width:0;min-height:32px;display:flex;align-items:center;gap:6px;border:0;background:transparent;color:#30363d;text-align:left}.project-indent{width:calc(var(--level, 0) * 14px);flex:0 0 auto}.project-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-action{width:26px;height:26px;display:inline-grid;place-items:center;border:1px solid transparent;border-radius:6px;background:transparent;color:#5d6873}.project-action:hover{border-color:#c8d0d8;background:#fff}.issue-board{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;gap:10px;padding:12px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:10px 12px;border:1px solid #dde1e6;border-radius:8px;background:#fff}.toolbar-main,.toolbar-side,.filter-group,.issue-meta,.modal-actions,.field-grid{display:flex;align-items:center;gap:8px}.toolbar-main{flex:1;min-width:0;flex-wrap:wrap}.toolbar-side{flex-wrap:wrap;justify-content:flex-end}.search-box{display:flex;align-items:center;gap:8px;width:min(360px,100%);padding:8px 10px;border:1px solid #d0d7de;border-radius:8px;background:#f8fafb}.search-box input{width:100%;min-width:0;border:0;outline:0;background:transparent}.filter-group{padding:3px;border:1px solid #d7dce2;border-radius:8px;background:#f8fafb}.filter-group button,.secondary-button,.icon-button{border:1px solid transparent;border-radius:7px;background:transparent;color:#30363d}.filter-group button{min-width:38px;padding:5px 9px}.filter-group button.is-active{border-color:#b7c7d6;background:#fff}.status-pill,.count-pill{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;border:1px solid #d7dce2;background:#fff;color:#4d5560;font-size:13px}.status-pill.is-online{border-color:#8fc7ad;color:#13734a}.status-pill.is-offline{border-color:#e4b1a8;color:#9c3526}.primary-button{min-height:34px;padding:7px 12px;border:1px solid #216869;border-radius:8px;background:#216869;color:#fff}.secondary-button{min-height:34px;padding:7px 12px;border-color:#ccd3da;background:#fff}.icon-button{width:30px;height:30px;display:inline-grid;place-items:center;padding:0}.icon-button:hover,.secondary-button:hover,.filter-group button:hover{border-color:#aeb8c2;background:#eef2f5}.notice-bar{display:flex;justify-content:space-between;gap:12px;color:#59636e;font-size:13px}.board-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(5,minmax(236px,1fr));gap:12px;overflow-x:auto}.board-column{min-width:240px;min-height:0;display:flex;flex-direction:column;border:1px solid #dce2e8;border-radius:8px;background:#fff}.column-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border-bottom:1px solid #e6ebef}.column-head div{display:flex;align-items:center;gap:8px;min-width:0}.column-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.column-head span{min-width:24px;min-height:24px;display:inline-grid;place-items:center;border-radius:999px;background:#edf1f4;color:#53606b;font-size:12px}.board-column.is-backlog{border-top:3px solid #8b949e}.board-column.is-todo{border-top:3px solid #2f80ed}.board-column.is-in_progress{border-top:3px solid #c77700}.board-column.is-in_review{border-top:3px solid #7f58af}.board-column.is-completed{border-top:3px solid #2c8f5b}.column-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px;padding:10px;overflow-y:auto}.empty-column{display:grid;place-items:center;min-height:120px;border:1px dashed #ccd3da;border-radius:8px;color:#6b747d}.issue-card{display:flex;flex-direction:column;gap:8px;min-height:112px;padding:10px;border:1px solid #d8dee5;border-radius:8px;background:#fff}.issue-card:hover{border-color:#aeb8c2}.issue-card.is-locked{cursor:not-allowed;background:#fbf7f0}.issue-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.issue-card-head strong,.issue-card p{min-width:0;overflow-wrap:anywhere}.issue-card p{margin:0;color:#4b5560;line-height:1.45}.issue-meta{flex-wrap:wrap;font-size:12px;color:#57616c}.project-pill,.priority,.run-state,.automation-line,.attachment-line{display:inline-flex;align-items:center;width:fit-content;min-height:22px;padding:3px 7px;border-radius:999px;background:#eef2f5}.project-pill{background:#e8eef7;color:#365b85}.priority.is-high{background:#ffe8e5;color:#9d2b1f}.priority.is-medium{background:#fff2d6;color:#8a5800}.priority.is-low{background:#e7f4ec;color:#236a45}.run-state.is-running{background:#fff0d9;color:#875100}.run-state.is-completed{background:#e5f4ea;color:#236a45}.run-state.is-failed,.run-state.is-cancelled{background:#ffe7e2;color:#9c3526}.automation-line,.attachment-line{color:#4f5964;font-size:12px}.modal-layer{position:fixed;inset:0;display:grid;place-items:center;padding:16px;background:#151a205c;z-index:20}.issue-modal{width:min(680px,100%);max-height:min(760px,92vh);display:flex;flex-direction:column;gap:12px;padding:14px;overflow-y:auto;border-radius:8px;background:#fff}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.field,.automation-panel{display:flex;flex-direction:column;gap:6px}.field span,.check-row span{color:#4e5964;font-size:13px}.field input,.field textarea,.field select{width:100%;min-width:0;border:1px solid #ccd3da;border-radius:8px;padding:8px 10px;background:#fff;color:#202124}.field textarea{resize:vertical}.field-grid{align-items:flex-start}.field-grid .field{flex:1}.automation-panel{padding:10px;border:1px solid #dce2e8;border-radius:8px;background:#f8fafb}.check-row{display:flex;align-items:center;gap:8px}.modal-actions{justify-content:flex-end}@media(max-width:900px){.toolbar{align-items:stretch;flex-direction:column}.toolbar-side{justify-content:flex-start}.board-grid{grid-template-columns:repeat(5,minmax(260px,280px))}}@media(max-width:640px){.kanban-shell{height:auto;min-height:100vh}.kanban-header{align-items:flex-start;flex-direction:column;gap:2px}.kanban-body{flex-direction:column}.project-tree{width:100%;min-height:180px;max-height:260px;border-right:0;border-bottom:1px solid #dce2e8}.issue-board{padding:10px}.field-grid{flex-direction:column}}
