:root{--dark:#24313d;--dark2:#303d49;--blue:#176ea5;--bg:#f5f7f8;--line:#d9e0e7;--ink:#283646;--muted:#667489;--white:#fff;--p1:#bd3e50;--p1p:#fae2e6;--p1h:#f3c8cf;--p1col:#fdf6f7;--p2:#d58b2b;--p2p:#ffebd4;--p2h:#f9d9b7;--p2col:#fff9f1;--p3:#b18e24;--p3p:#fff4cb;--p3h:#f5e7a9;--p3col:#fffcef;--done:#2f945c;--donep:#e1f4e8;--doneh:#c8e8d4;--donecol:#f5fcf7;--verified:#3184b8;--verifiedp:#e0effa;--verifiedh:#c8e2f2;--verifiedcol:#f4fafd}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font:13px/1.4 Inter,Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.hidden{display:none!important}.primary{padding:9px 13px;color:#fff;background:var(--blue);border:1px solid var(--blue);border-radius:4px;font-weight:700}.primary:hover{background:#135e8a}.full{width:100%}.subdued{color:var(--muted)}.error-text{color:#b62642;font-size:12px;min-height:16px}.logo{display:inline-flex;align-items:center;justify-content:center;height:29px;width:29px;border-radius:4px;color:#fff;background:#23435d;font-size:11px;font-weight:900;letter-spacing:.2px;flex-shrink:0}
.app{height:100vh;min-height:480px;display:flex;flex-direction:column}.app-header{height:47px;flex-shrink:0;padding:0 14px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.app-brand{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:13px;letter-spacing:.5px}.mode-label{color:#a25d13;font-weight:750;font-size:10px;background:#fff0ce;border:1px solid #f0d9aa;border-radius:3px;padding:3px 6px;letter-spacing:0}.header-buttons{display:flex;align-items:center;gap:9px;flex-wrap:nowrap}.profile{font-weight:700;font-size:11px}.sync-label{font-size:10px;color:var(--muted)}.smallbtn{background:#fff;border:1px solid #d3dbe3;padding:7px 9px;border-radius:4px;color:#415062;font-size:11px;font-weight:650}.smallbtn:hover{background:#f3f7fb}.app-layout{flex:1;min-height:0;display:flex}.sidebar{width:172px;flex-shrink:0;background:var(--dark);color:#d5e0e9;display:flex;flex-direction:column;padding:10px 0;overflow-y:auto}.side-title{padding:9px 12px 6px;font-size:9px;font-weight:800;letter-spacing:1.2px;color:#95a5b7}.side-link{padding:8px 12px;text-align:left;display:flex;align-items:center;gap:8px;background:transparent;color:#dae2e9;border:0;border-left:3px solid transparent;font-weight:600;width:100%;font-size:11px}.side-link:hover{background:#3d4a56}.side-link.active{background:#236caa;color:white;border-left-color:#8ec6f6}.side-icon{font-size:13px;width:17px;text-align:center}.countlight{margin-left:auto;color:#e3eff7;font-size:10px}.side-project{display:flex;align-items:center;gap:7px;padding:7px 12px;background:transparent;color:#dce3eb;border:0;border-left:3px solid transparent;text-align:left;width:100%;font-size:11px}.side-project:hover{background:#3a4957}.side-project.active{background:#394a5b;border-left-color:var(--job-color)}.project-dot{background:var(--job-color);width:9px;height:9px;border-radius:2px;flex-shrink:0}.side-category{width:100%;background:transparent;color:#cdd7e1;text-align:left;border:0;padding:5px 12px;font-size:11px;display:flex;justify-content:space-between;gap:5px}.side-category:hover{background:#3d4a56}.side-category.active{background:#34516a;color:#fff}.side-bottom{margin-top:auto}.side-version{font-size:10px;color:#8494a4;padding:10px 12px 0;border-top:1px solid #45535e}
.main{display:flex;flex-direction:column;min-width:0;flex:1;padding:12px 11px 7px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;margin-bottom:11px}.toolbar-left,.toolbar-right{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.control{min-width:100px;max-width:190px;border:1px solid #d2dbe3;border-radius:4px;background:#fff;padding:8px 9px;outline:none;color:var(--ink)}.control:focus{border-color:#3d84c2;box-shadow:0 0 0 2px #92c2e951}.control.wide{min-width:143px}.search{min-width:160px;width:200px}.banner{font-size:11px;border-radius:4px;padding:9px 12px;background:#fff0d3;border:1px solid #e6c582;color:#6f500c;margin-bottom:9px}.board{display:flex;min-height:250px;flex:1;gap:9px;overflow-x:auto;overflow-y:hidden;padding-bottom:11px;align-items:stretch}.column{--tone:var(--p3);--pale:var(--p3p);--header:var(--p3h);--col:var(--p3col);flex:1 0 180px;min-width:180px;background:var(--col);border:1px solid #e0e5e9;border-radius:4px;display:flex;flex-direction:column;max-width:440px;overflow:hidden}.col-head{display:flex;align-items:center;gap:7px;justify-content:space-between;padding:8px 9px;border-top:4px solid var(--tone);background:var(--header);font-size:11px;font-weight:800;color:#34404a}.col-count{background:#ffffffad;color:var(--ink);border-radius:9px;padding:1px 6px;font-size:10px}.col-body{padding:6px;min-height:160px;flex:1;overflow-y:auto}.column.drop-hover{outline:3px dashed var(--tone);outline-offset:-3px}.task-card{background:var(--pale);border:1px solid color-mix(in srgb,var(--tone) 38%,#fff);border-radius:4px;padding:9px 8px;margin-bottom:7px;cursor:grab;box-shadow:0 1px 2px #26344712;transition:box-shadow .1s}.task-card:hover{box-shadow:0 2px 9px #3344552b;border-color:var(--tone)}.task-card:active{cursor:grabbing}.task-card:focus{outline:2px solid var(--tone);outline-offset:-1px}.card-title{font-size:12px;font-weight:750;line-height:1.32;margin-bottom:8px;overflow-wrap:anywhere;color:#263542}.card-meta{display:flex;gap:4px;align-items:center;flex-wrap:wrap;margin-top:7px}.project-chip{display:inline-flex;align-items:center;gap:5px;max-width:100%;background:var(--job-color);color:white;padding:3px 6px;border-radius:3px;font-size:10px;font-weight:800;white-space:nowrap}.project-chip .chip-dot{width:4px;height:4px;border-radius:1px;background:#fffc}.mini-chip{border:1px solid #46617c22;border-radius:3px;background:#ffffffa3;padding:2px 5px;font-size:10px;color:#465669}.watch-star{color:#a86b0d;font-size:14px}.empty-column{padding:25px 3px;text-align:center;font-size:11px;color:#82909d}.underboard{border-top:1px solid #e4e9ed;display:flex;justify-content:space-between;gap:10px;padding:7px 0 0;font-size:10px;color:var(--muted)}
.login-screen{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#ecf1f5;padding:20px}.login-card{background:#fff;border:1px solid #d6dfe7;box-shadow:0 12px 30px #2b415023;border-radius:8px;padding:27px;width:min(380px,100%)}.login-heading{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:800;letter-spacing:.5px}.login-card label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#607080;font-weight:700;margin-bottom:15px}.login-card input{padding:11px;border:1px solid #cdd7e1;border-radius:5px;font-size:13px;color:var(--ink)}
.overlay{position:fixed;inset:0;background:#101e2fb2;display:flex;align-items:center;justify-content:center;padding:16px;z-index:15}.dialog{width:min(860px,98vw);max-height:94vh;overflow-y:auto;border-radius:6px;background:#fff;box-shadow:0 20px 50px #10182077}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 15px;border-bottom:1px solid #e2e6eb;border-top:5px solid var(--accent,#427da1)}.dialog-head-left{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.dialog-title{font-size:14px;font-weight:800}.status-tag{background:var(--status-bg);color:var(--accent);padding:4px 7px;font-size:10px;font-weight:750;border-radius:4px}.dialog-body{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(245px,1fr)}.dialog-left{padding:16px;min-width:0;display:flex;flex-direction:column;gap:15px}.dialog-right{background:#f7f8fa;border-left:1px solid #e2e6eb;padding:16px;display:flex;flex-direction:column;gap:13px}.field{display:flex;flex-direction:column;gap:4px;min-width:0}.field label{font-size:10px;font-weight:800;color:#647386}.field input,.field textarea,.field select{padding:9px;border:1px solid #d0dae4;border-radius:4px;color:var(--ink);background:#fff;width:100%;outline:none}.field textarea{resize:vertical;min-height:85px}.field input:focus,.field textarea:focus,.field select:focus{border-color:#418ac4;box-shadow:0 0 0 2px #5ea2d63b}.field input:disabled,.field textarea:disabled,.field select:disabled{background:#edf0f4;color:#7a8793}.section-head{font-size:11px;font-weight:800;border-bottom:1px solid #e4e8ed;padding-bottom:6px;display:flex;justify-content:space-between;align-items:center}.placeholder{padding:10px;border-radius:4px;background:#f1f4f7;color:#657488;font-size:11px}.native-rows{display:flex;flex-direction:column;gap:7px;font-size:11px}.checkrow{display:flex;align-items:center;gap:8px;color:#455668}.checkrow input{accent-color:#1680b7}.note-list{max-height:190px;overflow-y:auto;display:flex;flex-direction:column;gap:7px}.note{background:#f5f8fb;border:1px solid #e7edf2;border-radius:4px;padding:8px}.note-meta{font-size:9px;color:#6f7e8e;font-weight:700}.note-text{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:3px}.note-entry{display:flex;gap:5px}.note-entry input{flex:1;min-width:0;border:1px solid #d5dee8;border-radius:4px;padding:8px}.note-entry button{border:0;border-radius:4px;background:#2379b1;color:#fff;padding:7px 9px}.watch-box{padding:10px;border:1px solid #c4d8e9;background:#e8f1fa;color:#35536d;border-radius:4px;display:flex;gap:8px;align-items:flex-start;font-size:11px}.watch-box input{margin-top:2px}.quiet{color:#7b8895;font-size:10px}.warn{background:#ffefcf;border:1px solid #efd49b;padding:9px;border-radius:4px;color:#735316;font-size:11px}.task-activity{font-size:10px;color:#718092}.toast-root{position:fixed;bottom:16px;right:16px;z-index:30}.toast{background:#263e56;color:#fff;box-shadow:0 7px 20px #2225;padding:10px 13px;border-radius:4px;margin-top:8px;max-width:350px;font-size:12px}.settings-panel{padding:16px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.settings-section{border:1px solid #dce4eb;padding:12px;border-radius:5px}.settings-section h3{font-size:12px;margin:0 0 10px}.settings-section .row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:7px 0}.settings-section .row input[type=color]{width:40px;height:28px;border:0;padding:0;background:transparent}.settings-section .field{margin-bottom:8px}.user-item{font-size:11px;border-bottom:1px solid #e9edf1;padding:7px 0;display:flex;align-items:center;justify-content:space-between;gap:6px}
@media (max-width:900px){.sidebar{width:139px}.column{min-width:162px;flex-basis:162px}.toolbar-right .search{width:140px}.profile{display:none}}
@media (max-width:650px){.app-header{padding:0 7px}.app-brand{font-size:11px}.sidebar{width:92px}.side-link,.side-project,.side-category{padding:7px 4px;font-size:10px}.side-title{padding-left:5px;letter-spacing:.5px}.side-icon{display:none}.main{padding:7px 5px}.column{min-width:150px;flex-basis:150px}.dialog-body{grid-template-columns:1fr}.dialog-right{border-left:0;border-top:1px solid #e2e6eb}.settings-grid{grid-template-columns:1fr}.sync-label{display:none}}

/* Compact cards: one metadata line, with full labels available on hover. */
.task-card{padding:7px 8px;margin-bottom:5px}
.task-card .card-title{font-size:13px;margin-bottom:5px;line-height:1.3}
.task-card .card-meta{margin-top:0;flex-wrap:nowrap;gap:3px;min-width:0}
.task-card .project-chip{display:block;min-width:0;flex:0 0 37.5%;width:37.5%;max-width:37.5%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 4px}
.task-card .project-chip .chip-dot{display:none}
.task-card .card-assignees{min-width:0;flex:1 1 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 3px}
.task-card .card-date{flex:0 0 auto;order:1;margin-left:auto;text-align:right;white-space:nowrap;padding:2px 3px}
.task-card .card-date.due-red{color:#fff;background:#b91c1c;border-color:#991b1b;font-size:11px;font-weight:800;line-height:1.3;padding:2px 5px;box-shadow:0 1px 2px #7f1d1d33}
.task-card .card-date.due-yellow{color:#765500;background:#fef08a;border-color:#e6c952;font-weight:700}
.task-card .watch-star{flex:0 0 auto;font-size:12px}

.new-task-form{padding:18px;display:grid;gap:13px;overflow:auto}
.new-task-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.create-error{color:#a32636;font-size:12px;margin:0;white-space:pre-wrap}
.create-error:empty{display:none}
.new-task-form p{margin:0}
@media(max-width:480px){.new-task-grid{grid-template-columns:1fr}}

/* Project filter uses the same colors as the sidebar and task badges. */
.project-filter{position:relative;width:190px;max-width:100%}
.project-filter-toggle{display:flex;align-items:center;gap:8px;width:100%;text-align:left}
.project-filter-swatch{display:block;width:12px;height:12px;flex:0 0 12px;border-radius:3px;background:var(--job-color);box-shadow:inset 0 0 0 1px #00000018}
.all-projects-swatch{background:transparent;border:1px solid #94a3b8;box-shadow:none}
.project-filter-name{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-filter-arrow{flex:0 0 auto;font-size:11px}
.project-filter-options{position:absolute;top:calc(100% + 4px);left:0;z-index:12;width:330px;max-width:calc(100vw - 130px);max-height:min(340px,60vh);overflow:auto;padding:4px;background:#fff;border:1px solid #cbd5df;border-radius:5px;box-shadow:0 6px 18px #26344726}
.project-filter-option{display:flex;align-items:center;gap:9px;padding:9px 8px;border-radius:3px;cursor:pointer;color:var(--ink)}
.project-filter-option .project-filter-name{white-space:normal;overflow-wrap:anywhere}
.project-filter-option:hover,.project-filter-option.highlighted{background:#eef3f7;outline:1px solid #d4dfe9;outline-offset:-1px}
.project-filter-option[aria-selected="true"]{font-weight:700;background:color-mix(in srgb,var(--job-color) 12%,white)}
.project-filter-check{width:13px;flex:0 0 13px;color:var(--job-color);font-weight:800}

/* Larger centered titles keep the original 36px header height. */
.column{container-type:inline-size}
.col-head{position:relative;flex:0 0 36px;height:36px;min-height:36px;padding:0 38px;justify-content:center;gap:0;text-align:center;font-size:clamp(9.72px,calc((100cqw - 76px)/5.6 * .81),22.68px);line-height:1}
.col-head>span:first-child{width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.col-head .col-count{position:absolute;right:9px;top:50%;transform:translateY(-50%);font-size:10px;line-height:14px}

.task-card{position:relative}
button.card-title{display:block;width:100%;border:0;background:transparent;padding:0;text-align:left;cursor:pointer}
.task-selectable .card-title{padding-right:23px}
.task-selector{position:absolute;top:7px;right:7px;margin:0;width:16px;height:16px;accent-color:#176ea5;opacity:0;cursor:pointer;z-index:1}
.task-card:hover .task-selector,.task-card:focus-within .task-selector,.board.selecting .task-selector{opacity:1}
@media(hover:none){.task-selector{opacity:1}}
.task-card.selected{outline:2px solid #176ea5;outline-offset:-2px;box-shadow:0 0 0 1px #176ea530}
.task-card.bulk-failed{outline:2px dashed #b42332;outline-offset:-2px}
#select-tasks-button[aria-pressed="true"]{background:#e1eff9;border-color:#176ea5;color:#135e8a}
#select-tasks-button{padding:9px 11px;font-size:12px}
.bulk-toolbar{background:#eaf3fb;border:1px solid #bad1e4;border-radius:5px;padding:7px 10px;margin-bottom:9px;flex-shrink:0}
.bulk-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bulk-controls>strong{font-size:12px;min-width:70px}
.bulk-select-all{display:flex;align-items:center;gap:5px;font-size:11px}
.bulk-controls .control{padding:6px 9px}
.danger-button,.danger-solid{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#b91c1c;border:1px solid #e5a7a7}
.danger-button:hover{background:#fee2e2}
.danger-solid{background:#b91c1c;color:#fff;border-color:#991b1b;border-radius:4px;padding:9px 12px;font-weight:700}
.danger-solid:hover{background:#991b1b}
.bulk-errors{margin-top:6px;color:#9b2530;font-size:11px;max-height:110px;overflow:auto}
.bulk-errors ul{margin:5px 0;padding-left:20px}
.bulk-dialog{max-width:560px}
.bulk-form{padding:18px;display:grid;gap:15px}
.bulk-form p{margin:0}
.bulk-field{display:grid;gap:5px}
.bulk-field>label{font-weight:700;display:flex;gap:6px;align-items:center}
.bulk-field .control{max-width:100%;width:100%}
.bulk-field .control:disabled{background:#edf0f4}
.bulk-review-list{margin:0;padding-left:20px;max-height:35vh;overflow:auto}
.bulk-review-list li{padding:5px 0}
.bulk-review-list span{display:block;color:#667489;font-size:11px}
.bulk-dialog-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.bulk-drag-preview{position:fixed;top:0;left:0;z-index:50;background:#176ea5;color:#fff;border:2px solid white;box-shadow:0 3px 10px #24313d55;padding:12px 20px;border-radius:6px;font-weight:800;pointer-events:none}

.category-heading{display:flex;align-items:center;justify-content:space-between;gap:4px;flex-wrap:wrap}
.category-manage{color:#d7e7f4;background:transparent;border:0;padding:2px 0;font-size:10px;font-weight:600;letter-spacing:0}
.category-manage:hover{text-decoration:underline}
.category-sort{display:block;width:calc(100% - 20px);min-width:0;margin:2px 10px 6px;padding:5px 6px;background:#344352;color:#edf3f9;border:1px solid #5c6d7d;border-radius:4px;font-size:11px}
.category-nav-row{display:flex;align-items:center;position:relative;min-width:0}
.category-nav-row:hover{background:#3d4a56}
.category-nav-row .side-category{flex:1;min-width:0;padding:6px 3px 6px 10px;align-items:center}
.category-nav-row .side-category>span:first-child{overflow-wrap:anywhere}
.category-nav-row .side-category>span:last-child{flex-shrink:0}
.category-grip,.category-hide{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#91a7b9;flex-shrink:0;padding:3px;width:20px}
.category-grip{font-size:17px;cursor:grab}
.category-grip+.side-category{padding-left:0}
.category-hide{opacity:0;color:#d7e5ef}
.category-nav-row:hover .category-hide,.category-nav-row:focus-within .category-hide{opacity:1}
@media(hover:none){.category-hide{opacity:1}}
.hidden-categories{border:0;background:transparent;color:#b6cce0;text-align:left;font-size:10px;padding:9px 12px;width:100%}
.hidden-categories:hover{text-decoration:underline}
.category-empty{font-size:11px;color:#b7c7d5;padding:0 12px}
.category-dragging{opacity:.45}
.category-drop-before{box-shadow:inset 0 2px #6cb8f0}
.category-drop-after{box-shadow:inset 0 -2px #6cb8f0}
.category-manager{max-width:620px}
.category-manager-body{padding:16px;display:grid;gap:10px}
.category-manager-body p{margin:0;font-size:12px}
.category-manager-body .quiet{font-size:11px}
.category-manager-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px}
.category-manager-controls label{display:flex;align-items:center;gap:6px}
#category-search{max-width:none;width:100%}
.category-manager-list{max-height:48vh;min-height:90px;overflow:auto;border:1px solid #d8e1e9;border-radius:4px}
.category-manager-row{display:flex;align-items:center;gap:9px;padding:7px 9px;border-bottom:1px solid #e6ecf1;background:#fff}
.category-manager-row:last-child{border-bottom:0}
.category-manager-row.category-is-hidden{background:#f0f3f6;color:#708092}
.category-manager-row label{display:flex;align-items:center;gap:10px;min-width:0;flex:1;cursor:pointer}
.category-manager-row input{width:16px;height:16px;accent-color:#176ea5;flex-shrink:0}
.category-manager-row strong{font-size:12px;font-weight:650;overflow-wrap:anywhere}
.category-manager-row small{display:block;color:#718093;font-size:10px}
.manager-grip{color:#8094a6;cursor:grab;font-size:19px;user-select:none}
.category-move-buttons{display:flex;gap:3px;flex-shrink:0}
.category-move-buttons button{padding:4px 8px;font-size:13px}
.category-manager-footer{display:flex;justify-content:flex-end;gap:8px}
.category-grip,.manager-grip{touch-action:none;user-select:none}
.category-save{display:block;width:calc(100% - 20px);margin:0 10px 7px;border:1px solid #617487;border-radius:4px;background:#344352;color:#eef5fb;padding:5px 7px;font-size:10px;text-align:left}
.category-save:hover:enabled{background:#43586b}
.saved-order-dialog{max-width:490px}
.category-manager-footer{flex-wrap:wrap}
.remove-saved-order{margin-right:auto}
#manager-named-order{border-top:1px solid #dce5ed;padding-top:9px}
