/* Navigation */
.sidebar{overflow:hidden;padding-top:27px}
.sidebar>.brand{align-self:flex-start}
.workspace-switch{text-align:left;width:100%;margin:27px 0 24px;flex-shrink:0}
.sidebar-scroll{min-height:0;overflow-y:auto;scrollbar-width:thin;flex:1;flex-shrink:1;padding-bottom:15px}
.sidebar-projects{margin-top:26px}
.mini-project>span:not(.color-dot){overflow:hidden;text-overflow:ellipsis}
.sidebar-bottom{margin-top:0;padding-top:13px;border-top:1px solid var(--line)}
.sidebar-bottom .integration-nav{margin:0 0 8px}
.sidebar-profile{padding-top:12px}
.breadcrumb{min-width:0;gap:8px;color:#727f74}
.breadcrumb button{padding:4px 0;white-space:nowrap;font-size:inherit;color:#637b63}
.breadcrumb button:hover{text-decoration:underline;text-underline-offset:4px}
.breadcrumb strong{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.breadcrumb .back-button{padding:0;font-size:19px;flex-shrink:0;background:#f4f6f2;margin-right:3px}
.topbar{position:sticky;top:0;z-index:20;height:76px;gap:12px}
.page-heading h1:focus{outline:none}
.heading-actions{flex-wrap:wrap}
.page-heading{align-items:flex-start}
.proposal-description{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.proposal-reason{font-size:11px}
.proposal-details{font-size:11px;color:#728268;margin-bottom:15px;line-height:1.8}
.proposal-details summary{cursor:pointer}.proposal-details p{white-space:pre-wrap;overflow-wrap:anywhere}
/* Task views */
.task-filter-row{flex-wrap:wrap;gap:10px}
.task-filter-row .tabs{overflow-x:auto;max-width:100%}
.task-filter-row .tabs button{white-space:nowrap}
.layout-switch{display:flex;background:#eaeee7;padding:3px;border-radius:9px;gap:3px}
.layout-switch button{display:flex;align-items:center;gap:6px;padding:7px 9px;font-size:11px;color:#6d7e66;border-radius:6px}
.layout-switch button.active{background:white;box-shadow:0 1px 5px #28473010;color:var(--green)}
.layout-switch svg{height:14px;width:14px}
.kanban{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:14px;padding-bottom:15px}
.kanban-column{min-height:255px;border:1px solid #e2e8e0;border-radius:14px;background:#eff2ec;padding:12px;transition:background .15s,border-color .15s}
.kanban-column.progress{background:#f1eee8;border-color:#e9e4da}
.kanban-column.review{background:#eeedf5;border-color:#e3e0ee}
.kanban-column.done{background:#eaf1e9;border-color:#dae6d8}
.kanban-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:4px 2px 14px}
.kanban-heading h3{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650;margin:0}
.kanban-heading>span{font-size:10px;padding:3px 7px;background:#ffffffa8;border-radius:5px;color:#738068}
.status-dot{width:7px;height:7px;border-radius:50%;background:#9ca995}
.progress .status-dot{background:#c3a16e}.review .status-dot{background:#aa9ac8}.done .status-dot{background:#7e9d75}
.kanban-cards{display:grid;gap:10px}
.kanban-card{background:white;border:1px solid #e1e6df;box-shadow:0 2px 5px #2b452b05;border-radius:10px;padding:13px;min-width:0;cursor:grab}
.kanban-card:hover{border-color:#c1d0b9;box-shadow:0 3px 10px #2b452b09}
.kanban-card.dragging{opacity:.45}
.kanban-column.drag-over{background:#dfead8;outline:2px dashed #97b185;outline-offset:2px}
.card-project{display:flex;align-items:center;gap:5px;font-size:9px;line-height:1.5;color:#78886e;overflow-wrap:anywhere}
.card-project .color-dot{width:5px;height:5px}
.card-project small{margin-left:auto;white-space:nowrap;color:#8a9582;font-size:9px}
.card-title{display:block;text-align:left;font-size:12px;font-weight:600;line-height:1.65;padding:0;margin:10px 0 13px;overflow-wrap:anywhere;width:100%;color:#344832}
.card-title:hover{color:#275c4b;text-decoration:underline;text-underline-offset:3px}
.card-tags{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:9px;color:#77846b;min-height:20px}
.card-tags>span{display:inline-flex;align-items:center;gap:4px}
.card-tags svg{height:11px;width:11px}
.card-bottom{border-top:1px solid #eff1ec;margin-top:12px;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:5px}
.card-bottom .avatar{height:25px;width:25px;font-size:8px}
.card-status{width:auto;max-width:132px;font-size:9px;padding:5px 16px 5px 6px;border:1px solid #e6ebe2;background:#fafbf8;color:#6e8063;border-radius:5px;cursor:pointer}
.kanban-empty{text-align:center;color:#7d8b73;font-size:11px;margin:29px 0;line-height:1.7}
.board-add{font-size:11px;color:#738968;text-align:left;padding:12px 2px 2px;width:100%;margin-top:8px}
/* Task details */
#modal:has(.task-detail){width:min(680px,calc(100vw - 28px));max-width:680px}
.task-detail-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.task-detail-meta{display:flex;gap:13px;align-items:center;flex-wrap:wrap;color:#76866d;font-size:11px;margin-bottom:18px}
.task-detail-meta>span{display:inline-flex;align-items:center;gap:5px}
.task-detail-meta .avatar{width:23px;height:23px;font-size:8px}
.task-detail-meta .text-button{font-size:11px;max-width:100%;overflow-wrap:anywhere}
.detail-status{display:flex;align-items:center;gap:12px;color:#76866d;font-size:11px}
.detail-status select{max-width:180px;background:#fafbf8;font-size:11px;padding:9px}
.task-description,.task-delivery p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.85;color:#64765a;margin:20px 0}
.task-delivery{margin-top:20px;background:#f6f8f2;border-radius:9px;padding:13px;font-size:11px;color:#667a5b}
.task-delivery summary{cursor:pointer}.task-delivery h4{font-weight:600;margin-bottom:0}.task-delivery p{margin-top:6px}.task-delivery a{text-decoration:underline}
.task-checklist,.task-comments{border-top:1px solid var(--line);padding-top:23px;margin-top:23px}
.task-detail .section-head{margin-bottom:13px}
.task-detail h3{font-size:14px;margin:0;font-weight:600}
.task-checklist>.progress-track{margin:0 0 13px}
.checklist-item{display:flex;align-items:center;gap:10px;padding:9px 0;font-size:12px;color:#4f6646}
.checklist-item>span{flex:1;overflow-wrap:anywhere;line-height:1.7}
.checklist-item.done>span{text-decoration:line-through;color:#8a9780}
.checklist-item .check{margin-top:0}
.checklist-item>.icon-btn{width:26px;height:26px;opacity:.65}.checklist-item>.icon-btn svg{height:13px;width:13px}
.inline-form{display:flex;align-items:stretch;gap:8px;padding-top:9px}
.inline-form input{min-width:0;flex:1;background:#fafbf8;font-size:12px}
.inline-form .btn{padding:9px 12px}
.task-comment{padding:13px 0;border-bottom:1px solid #eef1e9}
.task-comment>div{display:flex;align-items:center;gap:7px}
.task-comment .avatar{width:25px;height:25px;font-size:8px}
.task-comment strong{font-size:11px;font-weight:600}
.task-comment time{margin-left:auto;font-size:9px;color:#7e8d74}
.task-comment p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;color:#5e7254;line-height:1.8;margin:8px 0 0 32px}
#comment-form{padding-top:16px}#comment-form textarea{min-height:84px;font-size:12px;background:#fafbf8}#comment-form .btn{margin-top:9px}
@media(min-width:1500px){.kanban{gap:18px}.kanban-card{padding:16px}}
@media(max-width:1200px){.kanban{grid-template-columns:repeat(2,minmax(0,1fr))}.breadcrumb strong{max-width:180px}.topbar{padding-left:27px;padding-right:27px}.task-filter-row .spacer{display:none}.task-filter-row .tabs{width:100%}}
@media(max-width:760px){.sidebar{padding-top:24px}.topbar{padding:0 14px;gap:8px;height:65px}.breadcrumb{font-size:10px;gap:5px;flex:1}.breadcrumb strong{max-width:100px}.breadcrumb>svg{width:9px;height:9px}.breadcrumb .back-button{width:25px;height:29px}.topbar-right{margin-left:0;gap:0}.topbar-right .members{display:none}.search-trigger{margin-left:0}.kanban{gap:12px}.kanban-column{padding:10px}.kanban-card{padding:12px}.task-filter-row .tabs{justify-content:flex-start}.task-filter-row select{max-width:none}.task-filter-row .layout-switch{flex-shrink:0}.heading-actions .btn.secondary{display:inline-flex}.page-heading{flex-wrap:wrap}.heading-actions{gap:8px}.task-detail-meta{gap:10px}.card-title{font-size:12px}.card-project{font-size:9px}}
@media(max-width:480px){.kanban{grid-template-columns:1fr}.kanban-column{min-height:140px}.kanban-cards{grid-template-columns:1fr}.card-status{max-width:155px;font-size:11px}.breadcrumb strong{max-width:78px}.breadcrumb>button[data-view="projects"]{display:none}.breadcrumb>button[data-view="projects"]+svg{display:none}.task-comment time{font-size:8px}.content{padding:23px 16px}.topbar-right .icon-btn{width:26px}}
