.task-shelf{padding:17px 19px;margin-bottom:22px;background-color:rgba(9,17,18,.20);border-radius:20px}
.task-shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.task-shelf-heading h2{font-size:14px;letter-spacing:-.2px}.task-shelf-heading p,.task-shelf-heading>span{font-size:10px;color:var(--muted);line-height:1.5}.task-shelf-heading>div{display:flex;align-items:center;gap:10px}.task-shelf-heading svg{width:16px;height:16px;color:var(--accent)}
.task-template-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.task-template{display:flex;align-items:center;text-align:left;gap:11px;min-height:52px;padding:10px 12px;border:1px solid rgba(218,237,226,.14);border-radius:11px;background:linear-gradient(125deg,rgba(231,246,236,.05),rgba(231,246,236,.01));color:var(--text);cursor:grab;transition:background .16s,border-color .16s}
.task-template:hover{border-color:rgba(225,183,123,.4);background-color:rgba(225,183,123,.055)}.task-template:active{cursor:grabbing}.task-template.dragging{opacity:.5}.task-template>svg:first-child{width:18px;height:18px;color:var(--accent)}.task-template>svg:last-child:not(:first-child){margin-left:auto;width:13px;height:13px;color:var(--muted)}.task-template strong{display:block;font-weight:500;font-size:11px;line-height:1.5}.task-template small{display:block;color:var(--muted);font-size:9px;line-height:1.5;margin-top:3px}.template-icon,.template-symbol{display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;border:1px solid var(--line);border-radius:8px;background:rgba(225,183,123,.06);color:var(--accent);font-size:13px;font-weight:500}.template-icon svg{width:16px;height:16px}
.project-boards{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3);gap:16px;overflow-x:auto;padding-bottom:14px;scrollbar-width:thin;scrollbar-color:rgba(191,216,201,.35) transparent;scroll-snap-type:x proximity;align-items:stretch}
.project-board{display:flex;flex-direction:column;padding:20px 16px 15px;border-radius:20px;min-width:0;min-height:450px;height:max(450px,calc(100dvh - 465px));background-color:rgba(9,16,17,.20);scroll-snap-align:start;transition:border-color .16s,background-color .16s}
.project-board-header{padding:0 2px 14px;border-bottom:1px solid var(--line);margin-bottom:13px}.project-board-header h2{font-size:17px;line-height:1.45;letter-spacing:-.5px;margin:9px 0 6px}.project-board-header h3{font-size:16px;line-height:1.5;margin:8px 0}.project-board-header>p{font-size:11px;line-height:1.7;color:var(--muted)}.project-board-header .card-top{margin-bottom:9px}.project-board-header .icon-btn{width:25px;height:25px}.project-board-header .badge{font-size:9px}.project-price{font-size:19px;font-variant-numeric:tabular-nums;letter-spacing:-.4px;margin-top:12px}.project-price small{font-size:10px;color:var(--muted);letter-spacing:0}
.project-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);line-height:1.6;flex-wrap:wrap;margin-top:11px}.project-meta>span{display:inline-flex;align-items:center;gap:6px}.project-meta svg{width:12px;height:12px}.project-meta .avatar{width:22px;height:22px;font-size:8px}.project-meta .text-btn{font-size:10px;padding:3px;min-height:26px}
.project-progress{display:flex;align-items:center;gap:10px;font-size:9px;color:var(--muted);margin:13px 0 0}.project-progress .progress-track{flex:1;margin:0;height:3px}.project-progress>span{white-space:nowrap}.project-progress progress{flex:1;width:40px;height:4px;border:0;accent-color:var(--accent)}.project-progress progress::-webkit-progress-bar{background:rgba(220,239,226,.12);border-radius:4px}.project-progress progress::-webkit-progress-value{background:var(--accent);border-radius:4px}
.project-task-list{display:flex;flex-direction:column;gap:10px;flex:1;min-height:80px;overflow-y:auto;padding-right:3px;margin-right:-3px;scrollbar-width:thin;scrollbar-color:rgba(191,216,201,.2) transparent}.project-task{padding:12px;border:1px solid rgba(221,237,230,.14);border-radius:12px;background:linear-gradient(130deg,rgba(235,249,239,.035),transparent),rgba(4,13,14,.30);position:relative;transition:border-color .16s,background-color .16s}.project-task[draggable=true]{cursor:grab}.project-task:hover{border-color:rgba(225,183,123,.28)}.project-task-title{display:flex;align-items:flex-start;gap:7px;font-size:12px;font-weight:500;line-height:1.6;text-align:left;padding:0}.project-task-title svg{width:14px;height:14px;flex-shrink:0;color:var(--accent);margin-top:2px}.project-task-title button{font:inherit;text-align:left;padding:0}.project-task-title .icon-btn{margin-left:auto;width:22px;height:22px;padding:0}.project-task-status{font-size:8px;padding:4px 6px;border-radius:5px;border:1px solid var(--line);color:var(--secondary);display:inline-flex;align-items:center;gap:5px;margin-top:9px;background:rgba(191,216,201,.06)}.project-task-status.done,.project-task-status.completed{color:var(--success)}.project-task-status.review,.project-task-status.waiting{color:var(--accent)}.project-task-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;line-height:1.5;color:var(--muted);margin-top:10px}.project-task-meta>span{display:flex;align-items:center;gap:5px}.project-task-meta .avatar{width:21px;height:21px;font-size:7px}.project-task-meta svg{width:11px;height:11px}.project-task-actions{display:flex;gap:8px;margin-top:9px}.project-task-actions .text-btn{min-height:26px;font-size:9px;padding:3px 0}.project-task-actions .text-btn svg{width:12px;height:12px}
.project-dropzone{display:flex;align-items:center;justify-content:center;gap:8px;min-height:54px;padding:12px 10px;text-align:center;border:1px dashed rgba(216,237,223,.23);border-radius:12px;color:var(--muted);font-size:10px;line-height:1.6;margin-top:12px;flex-shrink:0;background:rgba(9,16,17,.08)}.project-dropzone svg{width:17px;height:17px;color:var(--accent)}.project-dropzone:hover{border-color:rgba(225,183,123,.5);color:var(--accent)}.project-board.drop-target{border-color:rgba(225,183,123,.75);box-shadow:0 0 0 2px rgba(225,183,123,.12)}.project-board.drop-target .project-dropzone{border-color:var(--accent);background:rgba(225,183,123,.10);color:var(--accent)}.project-board-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:10px;font-size:10px;color:var(--muted)}.project-board-footer .text-btn{font-size:10px;padding:4px 0;min-height:28px}.project-board-footer .text-btn svg{width:13px;height:13px}.project-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:10px;font-size:11px;color:var(--muted);line-height:1.8;min-height:115px;padding:18px 12px}.project-empty svg{width:24px;height:24px;opacity:.7}
.project-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 0 22px;font-size:11px;color:var(--muted)}.project-summary strong{color:var(--text);font-weight:500}.project-task-list .dragging{opacity:.45}.template-hint{font-size:10px;line-height:1.7;color:var(--muted)}
.project-picker{display:grid;gap:10px}.project-picker .detail-link{width:100%}.project-task-detail{font-size:12px;line-height:1.8}.project-task-detail .pill{font-size:10px}.project-detail-list{display:flex;flex-direction:column;gap:10px;margin-top:18px}.project-detail-list .project-task{cursor:auto}.project-detail-meta{display:flex;flex-wrap:wrap;gap:10px 20px;color:var(--muted);font-size:12px;margin:10px 0 20px}
.template-copy{min-width:0;flex:1}.template-grip{display:flex;margin-left:auto;color:var(--muted);opacity:.65}.template-grip svg{width:12px;height:12px}.template-green .template-icon{color:#a9c9b5;background:rgba(147,193,163,.08)}.template-blue .template-icon{color:#b8cfdc;background:rgba(157,193,214,.07)}.template-purple .template-icon{color:#c8b8d4;background:rgba(187,158,213,.07)}.project-heading-line{display:flex;align-items:center;justify-content:space-between;gap:8px}.project-board-header h2 button{font:inherit;letter-spacing:inherit;line-height:inherit;padding:0;text-align:left}.project-board-header h2 button:hover{color:var(--accent)}.project-meta strong{font-size:14px;color:var(--text);font-weight:500;font-variant-numeric:tabular-nums}.project-meta strong small{font-size:9px;color:var(--muted)}.project-owner{display:flex;align-items:center;gap:7px;margin-top:13px;font-size:11px;color:var(--secondary)}.project-owner .avatar{width:24px;height:24px;font-size:8px}.project-owner .text-btn{margin-left:auto;min-height:28px;font-size:9px;padding:4px}.project-task-top{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}.project-task-top .icon-btn{width:22px;height:22px;flex-shrink:0;margin-right:-4px}.project-task-top .project-task-status{margin-top:0}.project-task-top .project-task-status svg{width:11px;height:11px}.project-task-status.success{color:var(--success)}.project-task-status.warning{color:var(--accent)}.project-task.is-complete{background-color:rgba(6,16,13,.2)}.project-task.is-complete .project-task-title{color:var(--secondary)}.project-dropzone small{display:block;font-size:9px;line-height:1.6;color:var(--muted);margin-top:2px}.project-empty span{color:var(--secondary);font-size:12px}.project-empty small{font-size:10px}.project-template-menu{margin-top:18px}.project-template-menu .detail-link>span{display:block}.project-template-menu .detail-link>span>svg{float:left;margin:2px 12px 20px 0;color:var(--accent)}.project-dialog-summary .project-owner{margin-top:18px}.project-dialog-summary p{line-height:1.7;font-size:12px}.project-task-list .project-task:focus-within{border-color:var(--accent)}
@media(min-width:1650px){.task-template strong{font-size:12px}.task-template small{font-size:10px}.task-template{min-height:58px}.project-board{padding:22px 20px 16px;height:max(490px,calc(100dvh - 490px))}.project-board-header h2{font-size:20px}.project-task-title{font-size:14px}.project-task{padding:15px}.project-task-meta{font-size:11px}.project-task-status{font-size:10px}.project-dropzone{font-size:12px}.project-meta{font-size:11px}.project-boards{grid-auto-columns:calc((100% - 40px)/3);gap:20px}}
@media(max-width:1250px){.project-boards{grid-auto-columns:minmax(300px,calc((100% - 16px)/2))}.task-template{gap:7px;padding:9px}.task-template strong{font-size:10px}.template-icon,.template-symbol{width:26px;height:26px;flex-basis:26px}.task-template small{font-size:8px}.topbar-actions{gap:5px}}
@media(max-width:950px){.task-template-list{grid-template-columns:repeat(4,minmax(0,1fr))}.task-template>svg:last-child:not(:first-child){display:none}.task-template small{display:none}.task-template{min-height:48px}.task-shelf-heading p{max-width:220px;text-align:right}}
@media(max-width:767px){
 .topbar{position:relative;align-items:flex-start;height:119px;padding-top:15px;margin-bottom:18px}.topbar-actions{gap:3px;flex:0 0 auto;margin-left:auto}.topbar-actions .global-search{position:absolute;top:69px;left:0;right:0;width:100%;max-width:none;height:38px}.topbar-actions .global-search input{font-size:14px}.topbar-actions .icon-btn,.mobile-menu{width:44px;height:44px}
 .task-shelf{padding:14px;margin-bottom:18px}.task-shelf-heading{align-items:flex-start;gap:10px;margin-bottom:12px}.task-shelf-heading h2{font-size:13px}.task-shelf-heading>div{display:block}.task-shelf-heading p,.task-shelf-heading>span{font-size:9px;max-width:160px;text-align:right}.task-template-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.task-template{min-height:47px;gap:8px;padding:9px}.task-template strong{font-size:11px}.task-template small{display:none}.template-icon,.template-symbol{width:25px;height:25px;flex-basis:25px}.task-template>svg:first-child{width:16px;height:16px}.project-boards{grid-auto-columns:minmax(290px,calc(100vw - 62px));gap:12px;margin-right:-16px;padding:0 16px 14px 0;scroll-padding-right:16px}.project-board{min-height:470px;height:auto;max-height:none;padding:18px 14px 14px}.project-board-header h2{font-size:19px}.project-task-list{overflow:visible}.project-task{padding:14px}.project-task-title{font-size:13px}.project-task-meta{font-size:10px}.project-task-status{font-size:9px}.project-dropzone{min-height:48px;font-size:11px}.project-board-footer .text-btn{min-height:40px;font-size:11px}.project-meta{font-size:11px}.project-summary{font-size:10px}.project-task-actions .text-btn{min-height:40px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){.task-template,.project-board,.project-task{transition:none}}
