:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#e7edf7;background:#090d16}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top,#18233b,#090d16 55%);min-height:100vh}.hidden{display:none!important}header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #26344f;background:rgba(9,13,22,.84);position:sticky;top:0;z-index:2;backdrop-filter:blur(10px);gap:14px}h1{margin:0;font-size:26px}h2,h3{margin:8px 0 12px}p{margin:6px 0 0;color:#91a2bd;font-size:.66em;line-height:1.35}.brand-title{display:flex;align-items:center;gap:10px}.title-logo{width:34px;height:34px;object-fit:contain;border-radius:7px;background:#fff;padding:2px;box-shadow:0 0 0 1px rgba(255,255,255,.20)}.header-actions,.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.toolbar{padding:14px 24px;position:sticky;top:77px;background:rgba(9,13,22,.72);backdrop-filter:blur(10px);z-index:1}button,input,select,textarea{border:1px solid #34445f;background:#111a2b;color:#e7edf7;border-radius:10px;padding:9px 11px;font:inherit;color-scheme:dark}button{cursor:pointer;touch-action:manipulation}button:hover,.active{border-color:#77a0ff}.primary{background:#3366ff;border-color:#5c82ff}.danger{background:#52202a;border-color:#944050}.iconDelete{display:inline-flex;align-items:center;justify-content:center;font-size:14px;line-height:1;width:30px;min-width:30px;max-width:30px;height:30px;min-height:30px;padding:0;flex:0 0 30px}.todo-mini.iconDelete{width:28px;min-width:28px;max-width:28px;height:28px;min-height:28px;padding:0;flex-basis:28px}.userActions .iconDelete{font-size:14px}.login{min-height:100vh;display:grid;place-items:center;padding:20px}.panel{background:linear-gradient(180deg,#131d30,#0f1727);border:1px solid #253650;border-radius:18px;padding:20px;box-shadow:0 18px 50px rgba(0,0,0,.24)}.login .panel{width:min(430px,calc(100vw - 40px))}.login label,.grid label,dialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0}.error{color:#ff9aa9;margin-top:10px}.board{padding:0 24px 40px;display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px}.card{background:linear-gradient(180deg,#131d30,#0f1727);border:1px solid #253650;border-radius:18px;padding:15px;box-shadow:0 18px 50px rgba(0,0,0,.24)}.card.completed{opacity:.64}.row{display:flex;justify-content:space-between;gap:12px;align-items:start}.task{font-weight:750;font-size:16px;line-height:1.25}.pill{font-size:12px;border:1px solid #3b4b69;background:#18233a;border-radius:999px;padding:3px 7px;color:#c6d4ee}.owner{border-color:#3d8bff}.track{border-color:#f5c451;color:#ffeab0}.meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.desc,.notes{margin-top:10px;color:#b8c4d8;white-space:pre-wrap}.notes{font-size:12px;background:#0d1423;border:1px solid #23314a;border-radius:12px;padding:9px}.card-actions,menu{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;padding:0}.empty{grid-column:1/-1;color:#91a2bd}.kanban{padding:0 24px 40px;display:grid;grid-template-columns:repeat(6,minmax(260px,1fr));gap:12px;overflow-x:auto;align-items:start}.kanbanCol{min-height:260px;background:rgba(10,16,31,.70);border:1px solid #253650;border-radius:16px;padding:10px;transition:border-color .15s,box-shadow .15s,background .15s}.kanbanCol h3{display:flex;justify-content:space-between;align-items:center;gap:8px;position:static;background:rgba(18,29,52,.95);padding:9px 10px;margin:0 0 12px;border:1px solid #30425f;border-radius:12px;z-index:auto}.kanbanCol.dragOver{border-color:#77a0ff;background:rgba(42,80,160,.28);box-shadow:0 0 0 2px rgba(119,160,255,.18) inset}.kanbanDropZone{min-height:180px}.kanbanCard{background:linear-gradient(180deg,#131d30,#0f1727);border:1px solid #253650;border-radius:14px;padding:11px;margin-bottom:10px;box-shadow:0 10px 28px rgba(0,0,0,.20)}.kanbanCard.dragging{opacity:.48;transform:scale(.985)}.kanbanCardTop{display:flex;align-items:center;gap:8px;margin-bottom:8px}.dragHandle{font-size:18px;line-height:1;cursor:grab;padding:5px 9px;border-color:#4f678e;background:#192642;color:#dfe9ff}.dragHandle:active{cursor:grabbing}.dragHint{font-size:11px;color:#8fa3c3}.muted{color:#8fa3c3}.users{padding:0 24px 40px}.userRow{display:grid;grid-template-columns:1.5fr 1.8fr auto auto auto;gap:10px;align-items:center;padding:10px;border-bottom:1px solid #22304a}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}dialog{max-width:min(860px,calc(100vw - 28px));max-height:92vh;overflow:auto;background:#101827;color:#e7edf7;border:1px solid #34445f;border-radius:18px;padding:20px}dialog::backdrop{background:rgba(0,0,0,.55)}textarea{width:100%;resize:vertical}.assignBox{border:1px solid #263650;border-radius:14px;padding:12px;margin-top:12px;background:#0d1423}.calendar{padding:0 24px 40px}.calendarPanel{border:1px solid rgba(100,210,255,.46);background:linear-gradient(135deg,rgba(55,150,220,.20),rgba(22,70,125,.34));border-radius:16px;padding:14px;box-shadow:0 8px 18px rgba(100,210,255,.10)}.calendarHeader{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.calendarHeader h2{margin:0;color:#dff7ff}.calendarGrid{display:grid;grid-template-columns:repeat(7,minmax(145px,1fr));gap:7px;overflow-x:auto}.calendarWeekday{color:#a8c4ff;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;text-align:center;padding:5px 3px}.calendarDay{min-height:118px;border:1px solid rgba(100,210,255,.22);background:rgba(16,24,54,.78);border-radius:10px;padding:6px;overflow:hidden}.calendarDay.other{opacity:.38}.calendarDate{color:#dfe9ff;font-size:12px;font-weight:900;margin-bottom:5px}.calendarItem{display:block;border:1px solid rgba(48,209,88,.30);background:rgba(48,209,88,.10);color:#dfffe7;border-radius:7px;padding:3px 5px;margin:3px 0;font-size:10px;line-height:1.25;cursor:pointer;text-align:left;width:100%}.calendarItem.done{opacity:.58;text-decoration:line-through}.calendarEmpty{color:#7f8fb4;font-size:10px}
@media(max-width:1180px){header{align-items:flex-start;flex-direction:column}.toolbar{top:116px}.kanban{grid-template-columns:repeat(3,minmax(260px,1fr))}.kanbanCol h3{position:static}.board{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.calendarGrid{grid-template-columns:repeat(7,145px)}}
@media(max-width:820px){h1{font-size:22px}.title-logo{width:30px;height:30px}header{position:relative;padding:14px 14px}.header-actions{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.header-actions button{width:100%;padding:10px 8px}.toolbar{position:relative;top:auto;padding:12px 14px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.toolbar input{grid-column:1/-1;width:100%}.toolbar span{grid-column:1/-1}.board,.users,.calendar,.kanban{padding:0 14px 28px}.board{grid-template-columns:1fr}.kanban{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px}.kanbanCol{min-width:min(82vw,360px);scroll-snap-align:start}.kanbanCol h3{position:static}.calendarPanel{padding:10px}.calendarGrid{grid-template-columns:repeat(7,132px)}.calendarDay{min-height:110px}.grid{grid-template-columns:1fr}.row{align-items:flex-start}.userRow{grid-template-columns:1fr}.card-actions button,menu button{flex:1}.dragHandle{min-width:44px;min-height:38px}.dragHint{font-size:10px}}
@media(max-width:520px){h1{font-size:20px}.brand-title{gap:8px}.header-actions{grid-template-columns:repeat(2,1fr)}.toolbar{grid-template-columns:1fr}.card,.kanbanCard,.panel{border-radius:14px}.meta{gap:5px}.pill{font-size:11px}.task{font-size:15px}.kanbanCol{min-width:88vw}.calendarHeader h2{font-size:18px}.calendarGrid{grid-template-columns:repeat(7,118px)}dialog{padding:14px;max-width:calc(100vw - 14px)}}

.lookups{padding:0 24px 40px}.lookupGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.lookupAdd{display:flex;gap:8px;margin:8px 0 12px}.lookupAdd input{flex:1}.lookupRow{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #22304a}
@media(max-width:820px){.lookups{padding:0 14px 28px}.lookupGrid{grid-template-columns:1fr}.lookupAdd,.lookupRow{grid-template-columns:1fr;display:grid}.lookupRow button,.lookupAdd button{width:100%}}

/* Team Todo project-color and split management UI */
.card{background:color-mix(in srgb,var(--project-color,#141b29) 42%,#141b29)!important;border-left:8px solid var(--project-color,#253650)!important}
.kanbanCard{background:linear-gradient(180deg,color-mix(in srgb,var(--project-color,#131d30) 42%,#131d30),#0f1727)!important;border-left:8px solid var(--project-color,#253650)!important}
.lookups{padding:0 24px 40px}.lookups .panel{max-width:1100px}.lookupHelp{color:#91a2bd;font-size:.76rem;margin:2px 0 12px}.projectAdd{display:grid;grid-template-columns:minmax(220px,1fr) 56px 110px auto;gap:8px;margin:8px 0 12px;align-items:center}.projectColorPicker{width:56px;min-height:42px;padding:3px}.colorDropdownWrap{position:relative;min-width:170px}.colorDropdown{width:100%;display:flex;align-items:center;gap:8px;justify-content:flex-start;background:#111a2b}.dropdownSwatch{width:18px;height:18px;border:1px solid #34445f;border-radius:5px;background:var(--swatch-color,transparent);display:inline-block;flex:0 0 auto;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}.dropdownSwatch.empty{background:transparent}.colorDropdownText{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;flex:1;text-align:left}.dropdownArrow{color:#91a2bd}.colorMenu{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:8;max-height:260px;overflow:auto;background:#0f1727;border:1px solid #34445f;border-radius:12px;box-shadow:0 18px 50px rgba(0,0,0,.42);padding:6px}.colorChoice{width:100%;border:0;border-radius:8px;background:transparent;display:flex;align-items:center;gap:8px;text-align:left;padding:8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.colorChoice:hover{background:#18233b}.hexInput{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:lowercase}.projectRow{grid-template-columns:minmax(220px,1fr) 56px 110px 120px auto auto}.categoryRow{grid-template-columns:minmax(220px,1fr) auto auto}.colorStatus{font-size:.72rem;color:#91a2bd}.invalidColor input{border-color:#ff9aa9}.invalidColor .colorStatus{color:#ff9aa9;font-weight:700}
@media(max-width:820px){.projectAdd,.projectRow,.categoryRow{grid-template-columns:1fr;display:grid}.projectColorPicker{width:100%}.lookups{padding:0 14px 28px}.lookups .panel{max-width:none}}

/* Center management cards and project color controls */
.lookups{display:flex;justify-content:center}.lookups .panel{width:min(980px,calc(100vw - 48px));margin:0 auto}.lookupAdd{justify-content:center}.projectAdd{grid-template-columns:minmax(220px,1fr) 170px 56px 110px auto}.projectRow{grid-template-columns:minmax(220px,1fr) 170px 56px 110px 125px auto auto}.colorStatus{white-space:nowrap}
@media(max-width:820px){.lookups .panel{width:100%}.projectAdd,.projectRow,.categoryRow{grid-template-columns:1fr}.projectPalette,.projectColorPicker{width:100%}}

/* Keep status badges like "In Queue" on one line even with long task names */
.card .row,.kanbanCard .row{display:flex;align-items:flex-start;gap:8px;flex-wrap:nowrap}.card .row .task,.kanbanCard .row .task{min-width:0;flex:1 1 auto;overflow-wrap:anywhere}.card .row>.pill,.kanbanCard .row>.pill{flex:0 0 auto;white-space:nowrap;word-break:keep-all;align-self:flex-start}
.pill{white-space:nowrap}

/* Calendar task pills use the same project color treatment as list/Kanban task cards */
.calendarItem{background:linear-gradient(180deg,color-mix(in srgb,var(--project-color,#131d30) 42%,#131d30),#0f1727)!important;border-left:6px solid var(--project-color,#253650)!important;border-color:color-mix(in srgb,var(--project-color,#253650) 70%,#34445f)!important;color:#e7edf7!important}
.calendarItem.done{opacity:.62;text-decoration:line-through}

/* Calendar day hover add button */
.calendarDay{position:relative}
.calendarDate{display:flex;align-items:center;justify-content:space-between;gap:6px}
.calendarAddDay{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;min-width:0;height:auto;min-height:0;padding:0;margin:0;border:0;background:transparent!important;box-shadow:none!important;color:#77a0ff;font-size:18px;font-weight:800;line-height:1;opacity:0;transform:none;pointer-events:none;transition:opacity .12s ease,color .12s ease}
.calendarDay:hover .calendarAddDay,.calendarDay:focus-within .calendarAddDay{opacity:1;pointer-events:auto}
.calendarAddDay:hover{color:#b8ccff;border:0;box-shadow:none!important;background:transparent!important}
body.light-theme .calendarAddDay{background:transparent!important;color:#2454d6;border:0;box-shadow:none!important}
body.light-theme .calendarAddDay:hover{color:#123a9f}
@media(max-width:820px){.calendarAddDay{opacity:.9;pointer-events:auto}}

/* Compact stacked actions in User Management */
.userActions{display:flex;flex-direction:row;gap:5px;align-items:center;justify-self:end;min-width:0}
.userActions button{width:auto;padding:6px 8px;border-radius:8px;font-size:12px;line-height:1.1}
.userActions .smallDelete{width:auto}
@media(max-width:820px){.userActions{justify-self:start;align-items:center;flex-direction:row}.userActions button,.userActions .smallDelete{width:auto;flex:0 0 auto}}


/* User Management title row */
.usersHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.usersHeader h2{margin-top:0}
.usersHeader .primary{flex:0 0 auto;white-space:nowrap;margin-top:2px}
@media(max-width:620px){.usersHeader{align-items:stretch;flex-direction:column}.usersHeader .primary{align-self:flex-start}}

/* Card/List task view toggle and dashboard-style Todo Database table */
.viewToggle{display:inline-flex;border:1px solid #26344f;border-radius:999px;overflow:hidden;background:#0f1727;white-space:nowrap}.viewToggle button{border:0;border-radius:0;background:transparent;color:#a9b8d4;padding:8px 12px}.viewToggle button.active{background:#2454d6;color:white}.todo-table-wrap{margin:0 24px 40px;border:1px solid #26344f;border-radius:12px;overflow:auto;background:#101836;max-height:calc(100vh - 220px)}.todo-table{width:100%;border-collapse:collapse;min-width:1320px}.todo-table th,.todo-table td{border-bottom:1px solid #26344f;padding:8px;text-align:left;vertical-align:top;font-size:12px}.todo-table th{position:sticky;top:0;background:#17234a;color:#a8c4ff;z-index:1;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.todo-table tr.done td{color:#7f8fb4;text-decoration:line-through;background:rgba(48,209,88,.05)}.todo-category{display:inline-flex;border:1px solid rgba(100,210,255,.35);background:rgba(100,210,255,.10);color:#bfeeff;border-radius:999px;padding:2px 7px;font-size:10px;font-weight:700;white-space:nowrap}.todo-status-badge{display:inline-flex;border:1px solid rgba(168,196,255,.35);background:rgba(168,196,255,.10);color:#dfe9ff;border-radius:999px;padding:2px 7px;font-size:10px;font-weight:800;white-space:nowrap}.todo-status-badge.started{border-color:rgba(48,209,88,.35);background:rgba(48,209,88,.12);color:#dfffe7}.todo-status-badge.on-hold{border-color:rgba(255,159,10,.40);background:rgba(255,159,10,.13);color:#ffe0ad}.todo-status-badge.in-review{border-color:rgba(100,210,255,.42);background:rgba(100,210,255,.14);color:#dff7ff}.todo-status-badge.edits{border-color:rgba(191,90,242,.45);background:rgba(191,90,242,.14);color:#f3d7ff}.todo-status-badge.completed{border-color:rgba(48,209,88,.50);background:rgba(48,209,88,.18);color:#c8ffd5}.quadrant-badge{display:inline-flex;border:1px solid rgba(168,196,255,.35);background:rgba(168,196,255,.10);color:#dfe9ff;border-radius:999px;padding:2px 7px;font-size:10px;font-weight:800;white-space:nowrap}.quadrant-badge.q1-do-now{border-color:rgba(255,69,58,.55);background:rgba(255,69,58,.16);color:#ffd7d4}.quadrant-badge.q2-schedule-protect{border-color:rgba(48,209,88,.50);background:rgba(48,209,88,.14);color:#d6ffdf}.quadrant-badge.q3-delegate-reduce{border-color:rgba(255,159,10,.50);background:rgba(255,159,10,.15);color:#ffe1ad}.quadrant-badge.q4-delete-limit{border-color:rgba(142,142,147,.55);background:rgba(142,142,147,.15);color:#e2e2e7}.quadrant-badge.unassigned{border-style:dashed;color:#a9b8d4}.todo-actions{display:flex;gap:6px;align-items:center}.todo-mini{padding:5px 8px;font-size:11px}.todo-mini.danger{background:#3a1320;border-color:#7b263d;color:#ffdce5}.todo-notes{white-space:pre-wrap;min-width:180px}
.todo-field-stack{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:118px}.todo-field-stack .todo-category,.todo-field-stack .quadrant-badge,.todo-field-stack .editableBadge{width:auto;max-width:100%;text-align:left}.todo-table th:nth-child(3),.todo-table td:nth-child(3){min-width:241px;width:241px}.todo-table{min-width:1347px}
@media(max-width:820px){.viewToggle{grid-column:1/-1;width:100%;display:grid;grid-template-columns:1fr 1fr;border-radius:12px}.viewToggle button{width:100%}.todo-table-wrap{margin:0 14px 28px;max-height:none}.todo-field-stack{min-width:96px}}


/* Light/dark theme toggle and clickable badge filters */
#themeToggle{min-width:96px}
.badgeFilter{cursor:pointer;text-decoration:none}
.badgeFilter:hover{border-color:#77a0ff;box-shadow:0 0 0 2px rgba(119,160,255,.18)}
button.pill,button.todo-category{font:inherit;line-height:1.2}
button.pill{padding:2px 7px}
button.todo-category{padding:2px 7px}
body.light-theme{color:#172033;background:radial-gradient(circle at top,#f4f7ff,#e8edf7 58%,#dce5f2)}
body.light-theme header{background:rgba(255,255,255,.86);border-bottom-color:#c8d3e4;box-shadow:0 8px 24px rgba(32,48,80,.08)}
body.light-theme .toolbar{background:rgba(246,249,255,.84)}
body.light-theme button,body.light-theme input,body.light-theme select,body.light-theme textarea{background:#ffffff;color:#172033;border-color:#b9c6d8;color-scheme:light}
body.light-theme button:hover,body.light-theme .active{border-color:#3366ff}
body.light-theme .primary{background:#2454d6;color:#fff;border-color:#3366ff}
body.light-theme .danger{background:#ffe7ec;color:#82182b;border-color:#e596a6}
body.light-theme .panel,body.light-theme .card{background:linear-gradient(180deg,#ffffff,#f5f8ff);border-color:#cad6e8;box-shadow:0 18px 42px rgba(40,60,95,.13)}
body.light-theme .card{background:color-mix(in srgb,var(--project-color,#ffffff) 34%,#ffffff)!important;border-left-color:var(--project-color,#b9c6d8)!important}
body.light-theme .kanbanCard{background:linear-gradient(180deg,color-mix(in srgb,var(--project-color,#ffffff) 34%,#ffffff),#f5f8ff)!important;border-left-color:var(--project-color,#b9c6d8)!important}
body.light-theme p,body.light-theme .lookupHelp,body.light-theme .colorStatus,body.light-theme .dropdownArrow{color:#52647d}
body.light-theme .viewToggle{background:#eef3fb;border-color:#c8d3e4}
body.light-theme .viewToggle button{background:transparent;color:#52647d}
body.light-theme .viewToggle button.active{background:#2454d6;color:#fff}
body.light-theme .todo-table-wrap{background:#ffffff;border-color:#c8d3e4}
body.light-theme .todo-table th{background:#eaf1ff;color:#2454d6}
body.light-theme .todo-table th,body.light-theme .todo-table td{border-bottom-color:#d6e0ee}
body.light-theme .todo-table tr.done td{color:#728098;background:rgba(52,199,89,.08)}
body.light-theme .pill,body.light-theme .todo-status-badge,body.light-theme .quadrant-badge{background:rgba(51,102,255,.08);border-color:rgba(51,102,255,.24);color:#1d3d8f}
body.light-theme .todo-category{background:rgba(0,122,255,.08);border-color:rgba(0,122,255,.26);color:#0057b8}
body.light-theme .calendarPanel,body.light-theme .kanbanCol{background:#ffffff;border-color:#cad6e8}
body.light-theme .calendarPanel{box-shadow:0 18px 42px rgba(40,60,95,.11)}
body.light-theme .calendarHeader h2{color:#172033}
body.light-theme .calendarWeekday{color:#52647d}
body.light-theme .calendarDay{background:#f8fbff;border-color:#d6e0ee;color:#172033}
body.light-theme .calendarDay.other{background:#eef3fb;opacity:.72}
body.light-theme .calendarDate{color:#172033}
body.light-theme .calendarEmpty{display:none}
body.light-theme .calendarItem{background:linear-gradient(180deg,color-mix(in srgb,var(--project-color,#ffffff) 34%,#ffffff),#f5f8ff)!important;color:#172033!important;border-color:color-mix(in srgb,var(--project-color,#b9c6d8) 70%,#b9c6d8)!important}
body.light-theme .colorDropdown,body.light-theme .colorMenu{background:#fff;color:#172033;border-color:#b9c6d8}
body.light-theme .colorChoice:hover{background:#eef3fb}
body.light-theme dialog{background:#ffffff;color:#172033;border-color:#b9c6d8;box-shadow:0 18px 54px rgba(32,48,80,.18)}
body.light-theme dialog h2,body.light-theme dialog h3,body.light-theme dialog label{color:#172033}
body.light-theme .assignBox{background:#f5f8ff;border-color:#cad6e8}
body.light-theme input[type="date"]::-webkit-calendar-picker-indicator,body.light-theme input[type="time"]::-webkit-calendar-picker-indicator{filter:none;opacity:.8}
input[type="date"]::-webkit-calendar-picker-indicator,input[type="time"]::-webkit-calendar-picker-indicator{filter:invert(1);opacity:.85}


/* Search clear button and editable status/quadrant badge dropdowns */
.searchWrap{position:relative;display:flex;align-items:center;min-width:260px;flex:1 1 320px}
.searchWrap input{width:100%;padding-right:40px}
.clearSearch{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:28px;height:28px;min-width:28px;padding:0;border-radius:999px;display:grid;place-items:center;font-size:20px;line-height:1;background:rgba(145,162,189,.14);border-color:rgba(145,162,189,.38);color:#dfe9ff;z-index:1}
.clearSearch:hover{background:rgba(119,160,255,.22);border-color:#77a0ff}
.editableBadge{appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 12px) 50%,calc(100% - 7px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:24px!important;cursor:pointer;line-height:1.2;min-height:24px;max-width:220px}
.card .row>.editableBadge,.kanbanCard .row>.editableBadge{flex:0 0 auto;white-space:nowrap;align-self:flex-start}
.editableBadge:hover{border-color:#77a0ff;box-shadow:0 0 0 2px rgba(119,160,255,.18)}
.statusSelect.todo-status-badge,.quadrantSelect.quadrant-badge{font-weight:800}
body.light-theme .clearSearch{background:rgba(82,100,125,.12);border-color:rgba(82,100,125,.28);color:#1d3d8f}
body.light-theme .clearSearch:hover{background:rgba(51,102,255,.14);border-color:#3366ff}
@media(max-width:820px){.searchWrap{grid-column:1/-1;width:100%;min-width:0}.toolbar .searchWrap input{width:100%}}


/* 2026-05-31: stack card/Kanban Status + Quadrant and shrink all badges by 40% */
.cardBadgeStack{display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex:0 0 auto;max-width:42%;}
.cardBadgeStack .editableBadge{width:auto;max-width:100%;}
.card .row,.kanbanCard .row{align-items:flex-start;gap:10px;}
.card .row .task,.kanbanCard .row .task{flex:1 1 auto;min-width:0;}
.pill{font-size:7.2px;padding:2px 4px;line-height:1.12;border-radius:999px;min-height:0;}
.todo-category,.todo-status-badge,.quadrant-badge{font-size:6px;padding:1px 4px;line-height:1.12;border-radius:999px;min-height:0;}
select.pill{font-size:7.2px;padding:2px 18px 2px 4px;line-height:1.12;min-height:0;height:auto;max-width:100%;}
select.todo-status-badge,select.quadrant-badge,.quadrantSelect.editableBadge{font-size:6px;padding:1px 18px 1px 4px;line-height:1.12;min-height:0;height:auto;max-width:100%;}
.meta{gap:4px;margin-top:8px;}
.kanbanCol h3 .pill{font-size:7.2px;padding:2px 4px;}
@media(max-width:520px){.pill,select.pill{font-size:8px;padding-top:2px;padding-bottom:2px}.todo-category,.todo-status-badge,.quadrant-badge,select.todo-status-badge,select.quadrant-badge,.quadrantSelect.editableBadge,button.todo-category.badgeFilter{font-size:8px!important;padding-top:1px;padding-bottom:1px}.cardBadgeStack{max-width:46%;}}

/* 2026-05-31: keep clickable Project/Category badge buttons same compact size as status/quadrant badges */
button.todo-category.badgeFilter{font-size:6px!important;padding:1px 4px!important;line-height:1.12!important;min-height:0!important;}

/* 2026-05-31: vertically center clickable Project/Category text inside compact pills */
button.todo-category.badgeFilter{display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;box-sizing:border-box!important;}
@media(max-width:520px){button.todo-category.badgeFilter,.cardBadgeStack button.todo-category.badgeFilter,.todo-field-stack button.todo-category.badgeFilter{font-size:8px!important;padding:1px 4px!important;line-height:1.12!important;min-height:0!important;}}


/* 2026-05-31: mobile menu uses 3 columns and card info stack includes status/quadrant/category/project */
.cardBadgeStack .todo-category{max-width:100%;text-align:center;}
.mobileStackField{display:none;}
@media(max-width:520px){html,body{max-width:100%;overflow-x:hidden}.header-actions{grid-template-columns:repeat(3,1fr)!important}.board{width:100%;max-width:100vw;padding-left:8px;padding-right:8px;overflow-x:hidden}.card,.kanbanCard{width:100%;max-width:100%;overflow:hidden}.card .row,.kanbanCard .row{display:flex;align-items:flex-start;gap:11px;flex-wrap:nowrap;width:100%;min-width:0;overflow:hidden}.cardBadgeStack{order:-1;align-items:flex-start;gap:10px;max-width:34%;flex:0 0 max-content;min-width:max-content;overflow:visible}.todo-field-stack{gap:10px}.todo-table th:nth-child(3),.todo-table td:nth-child(3){min-width:205px;width:205px}.todo-table{min-width:1311px}.card .row .task,.kanbanCard .row .task{order:1;flex:1 1 0;min-width:0;max-width:70%;overflow-wrap:anywhere;word-break:break-word}.card .meta,.kanbanCard .meta{display:none}.mobileStackField{display:inline-flex}.cardBadgeStack .todo-category,.cardBadgeStack .editableBadge,.cardBadgeStack .pill,.todo-field-stack .todo-category,.todo-field-stack .editableBadge,.todo-field-stack .pill{width:max-content;max-width:none;min-width:max-content;text-align:left;overflow:visible;text-overflow:clip;white-space:nowrap;box-sizing:border-box}}

/* 2026-05-31: mobile New/Edit Task dialog fits viewport and keeps native icons theme-aware */
#editor,#userEditor{width:min(860px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:min(92dvh,92vh);overflow:auto;overscroll-behavior:contain}
#editor form,#userEditor form{width:100%;max-width:100%;min-width:0}
#editor input,#editor select,#editor textarea,#userEditor input,#userEditor select,#userEditor textarea{width:100%;max-width:100%;min-width:0}
#editor .grid,#userEditor .grid,.assignBox .grid{min-width:0}
#editor menu,#userEditor menu{position:sticky;bottom:0;z-index:3;margin:12px -20px -20px;padding:10px 20px;background:#101827;border-top:1px solid #263650}
body.light-theme #editor menu,body.light-theme #userEditor menu{background:#ffffff;border-top-color:#cad6e8}
@media(max-width:520px){#editor,#userEditor{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);margin:auto;padding:10px;border-radius:14px}#editor form,#userEditor form{display:block;max-height:none;overflow:visible}#editor h2,#userEditor h2{font-size:18px;margin:2px 0 8px}.grid,#editor .grid,#userEditor .grid,.assignBox .grid{display:grid;grid-template-columns:1fr!important;gap:7px}#editor label,#userEditor label,#editor .grid label,#userEditor .grid label{width:100%;min-width:0;margin:6px 0;gap:4px;font-size:12px}#editor input,#editor select,#editor textarea,#userEditor input,#userEditor select,#userEditor textarea{width:100%;max-width:100%;min-width:0;font-size:16px;padding:8px 9px;border-radius:9px}.assignBox{padding:9px;margin-top:9px;border-radius:12px}.assignBox h3{font-size:15px;margin:2px 0 8px}#assignMode{white-space:normal}#editor menu,#userEditor menu{margin:10px -10px -10px;padding:9px 10px;display:grid;grid-template-columns:1fr 1fr;gap:8px}#editor menu button,#userEditor menu button{width:100%;min-width:0;padding:10px 8px}#deleteBtn{grid-column:1/-1;order:3}#saveBtn{order:2}#editor menu button[value="cancel"],#userEditor menu button[value="cancel"]{order:1}}

/* 2026-05-31: keep modal fields/actions scrollable above mobile on-screen keyboard */
#editor,#userEditor{max-height:var(--modal-vvh,min(92dvh,92vh));scroll-padding-bottom:var(--keyboard-safe-bottom,120px)}
#editor form,#userEditor form{padding-bottom:calc(var(--keyboard-safe-bottom,96px) - 56px)}
#editor input,#editor select,#editor textarea,#userEditor input,#userEditor select,#userEditor textarea{scroll-margin-block:96px}
body.keyboard-open #editor,body.keyboard-open #userEditor{max-height:var(--modal-vvh,calc(100dvh - 16px))}
body.keyboard-open #editor menu,body.keyboard-open #userEditor menu{bottom:0}
body.keyboard-open #newNote,body.keyboard-open #notes,body.keyboard-open #description{scroll-margin-bottom:var(--keyboard-safe-bottom,160px)}
@media(max-width:520px){#editor,#userEditor{max-height:var(--modal-vvh,calc(100dvh - 16px));scroll-padding-bottom:var(--keyboard-safe-bottom,144px)}#editor form,#userEditor form{padding-bottom:var(--keyboard-safe-bottom,144px)}#newNote,#notes,#description{scroll-margin-bottom:var(--keyboard-safe-bottom,160px)}}

/* 2026-05-31: iOS keyboard fix — move the dialog itself to the top of the visible viewport */
@media(max-width:520px){#editor,#userEditor{position:fixed;top:var(--modal-top,8px);left:50%;right:auto;bottom:auto;transform:translateX(-50%);margin:0;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:var(--modal-vvh,calc(100dvh - 16px));height:auto;overflow:auto;overscroll-behavior:contain}body.keyboard-open #editor,body.keyboard-open #userEditor{top:var(--modal-top,8px);max-height:var(--modal-vvh,calc(100dvh - 16px));margin:0}body.keyboard-open #editor form,body.keyboard-open #userEditor form{padding-bottom:var(--keyboard-safe-bottom,180px)}}

/* 2026-05-31: mobile dialogs scroll vertically only; prevent sideways drag/overflow */
@media(max-width:520px){html,body{overflow-x:hidden!important;max-width:100vw;touch-action:pan-y}#editor,#userEditor{overflow-x:hidden!important;overflow-y:auto!important;touch-action:pan-y;max-width:calc(100vw - 16px);contain:inline-size}#editor form,#userEditor form{overflow-x:hidden!important;max-width:100%;min-width:0}#editor *,#userEditor *{max-width:100%;min-width:0}#editor input,#editor select,#editor textarea,#userEditor input,#userEditor select,#userEditor textarea{max-width:100%;min-width:0}#editor menu,#userEditor menu{max-width:calc(100% + 20px);overflow-x:hidden}#editor textarea,#userEditor textarea{resize:vertical}}

/* Compact inline trash buttons */
.lookupActions{display:inline-flex;align-items:center;gap:8px;justify-content:flex-start}
.lookupActions button{width:auto}
.iconDelete,.lookupActions .iconDelete,.userActions .iconDelete,.card-actions .iconDelete,menu .iconDelete{display:inline-flex;align-items:center;justify-content:center;width:30px;min-width:30px;max-width:30px;height:30px;min-height:30px;padding:0;flex:0 0 30px;font-size:14px;line-height:1}
.todo-actions{display:inline-flex;align-items:center;gap:6px}
.todo-actions .iconDelete{width:28px;min-width:28px;max-width:28px;height:28px;min-height:28px;flex:0 0 28px}
@media(max-width:820px){.lookupActions{display:inline-flex}.lookupActions button{width:auto}.lookupActions .iconDelete,.userActions .iconDelete,.card-actions .iconDelete,menu .iconDelete{flex:0 0 30px;width:30px;min-width:30px;max-width:30px}.card-actions button:not(.iconDelete),menu button:not(.iconDelete){flex:1 1 auto}}
/* Edit task popup: keep compact trash button on same row as Cancel/Save */
#editor menu{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}

/* 2026-06-01: task Add/Edit popup height and bottom action bar */
#editor{position:fixed;top:100px;bottom:100px;left:50%;right:auto;transform:translateX(-50%);margin:0;width:min(860px,calc(100vw - 28px));max-width:calc(100vw - 28px);height:calc(100dvh - 200px);max-height:none!important;overflow:hidden;padding:0}
#editor form{height:100%;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;padding:20px 20px 0!important;scroll-padding-bottom:92px}
#editor menu{position:sticky;bottom:0;z-index:5;flex-shrink:0;margin:12px -20px 0;padding:10px 20px max(20px,env(safe-area-inset-bottom));background:#101827;border-top:1px solid #263650;box-shadow:0 -10px 18px rgba(5,10,20,.78)}
body.light-theme #editor menu{background:#ffffff;border-top-color:#cad6e8;box-shadow:0 -10px 18px rgba(220,228,240,.9)}
@media(max-width:520px){#editor{top:100px;bottom:100px;width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 200px);max-height:none!important;padding:0;border-radius:14px}#editor form{height:100%;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;padding:10px 10px 0!important;scroll-padding-bottom:84px}#editor menu{margin:10px -10px 0;padding:9px 10px max(14px,env(safe-area-inset-bottom));bottom:0}}
body.keyboard-open #editor{top:var(--modal-top,8px);bottom:auto;height:var(--modal-vvh,calc(100dvh - 16px));max-height:var(--modal-vvh,calc(100dvh - 16px))!important}
body.keyboard-open #editor form{padding-bottom:0!important}
/* Job number toggle and display */
.jobToggleLabel{display:flex;flex-direction:column;gap:6px}.jobToggleRow{display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 10px;border:1px solid #26344f;border-radius:10px;background:#0f1727;color:#c9d7f2}.jobToggleRow input{width:auto!important;min-width:18px;max-width:18px}.jobToggleRow input:disabled{opacity:.85}.jobPill{font-weight:700;letter-spacing:.03em;background:rgba(52,199,89,.14);border-color:rgba(52,199,89,.36);color:#baf3c9}body.light-theme .jobToggleRow{background:#ffffff;border-color:#c8d3e4;color:#30405b}body.light-theme .jobPill{background:rgba(21,128,61,.1);border-color:rgba(21,128,61,.28);color:#166534}
#editor menu button:not(.iconDelete){flex:1 1 auto;min-width:0}
#editor menu #deleteBtn.iconDelete{display:inline-flex;align-items:center;justify-content:center;order:3;grid-column:auto;width:30px;min-width:30px;max-width:30px;height:30px;min-height:30px;padding:0;flex:0 0 30px;align-self:center}
@media(max-width:520px){#editor menu{display:flex;grid-template-columns:none;align-items:center;gap:8px;flex-wrap:nowrap}#editor menu button:not(.iconDelete){width:auto;flex:1 1 0;min-width:0}#editor menu #deleteBtn.iconDelete{display:inline-flex;align-items:center;justify-content:center;grid-column:auto;width:30px;min-width:30px;max-width:30px;height:30px;min-height:30px;padding:0;flex:0 0 30px}}

/* Search completed toggle */
.completedSearchToggle{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border:1px solid #34445f;background:#111a2b;color:#c6d4ee;border-radius:10px;padding:8px 10px;font-size:13px;line-height:1.2}
.completedSearchToggle input{width:16px;height:16px;margin:0;padding:0;accent-color:#3366ff}
body.light-theme .completedSearchToggle{background:#ffffff;color:#172033;border-color:#b9c6d8}
@media(max-width:820px){.completedSearchToggle{grid-column:1/-1;width:100%;justify-content:flex-start}}

/* 2026-06-01: make Project and Category title/name fields bold */
#newProjectName,.projectNameInput,#newCategoryName,.categoryRow>input{font-weight:700}


/* 2026-06-01: due-date task filters */
.dueFilter{display:inline-flex;align-items:center;gap:7px;border:1px solid #26344f;background:#0f1727;border-radius:12px;padding:5px 7px;white-space:nowrap}
.dueFilter label{font-size:12px;color:#b8c4d8;font-weight:700}
.dueFilter select,.dueFilter input{padding:6px 8px;border-radius:8px}
.toolbarFilterGroup{display:inline-flex;align-items:center;gap:7px;border:1px solid #26344f;background:#0f1727;border-radius:12px;padding:5px 7px;white-space:nowrap}
.toolbarFilterGroup select{padding:6px 8px;border-radius:8px;max-width:170px}
.dueFilter input[type=date]{width:136px;display:none}
.dueFilter .dateRangeSep{display:none;color:#91a2bd;font-size:12px}
.date-range-active .dueFilter input[type=date],.date-range-active .dueFilter .dateRangeSep{display:inline-block}
body.light-theme .dueFilter{background:#ffffff;border-color:#b9c6d8}
body.light-theme .dueFilter label{color:#32415f}
body.light-theme .toolbarFilterGroup{background:#ffffff;border-color:#b9c6d8}
@media(max-width:820px){.dueFilter{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center;white-space:normal}.dueFilter select{width:100%}.dueFilter input[type=date]{width:100%}.toolbarFilterGroup{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;white-space:normal}.toolbarFilterGroup select{width:100%;max-width:none}.date-range-active .dueFilter{grid-template-columns:1fr 1fr}.date-range-active .dueFilter label,.date-range-active .dueFilter select{grid-column:auto}.date-range-active .dueFilter .dateRangeSep{display:none}}
@media(max-width:520px){.dueFilter,.toolbarFilterGroup{grid-template-columns:1fr}.date-range-active .dueFilter{grid-template-columns:1fr}}


/* 2026-06-01: force New/Edit task textareas to follow light theme, including Description */
body.light-theme #editor textarea,body.light-theme #userEditor textarea,body.light-theme #description,body.light-theme #notes,body.light-theme #newNote{background:#ffffff!important;color:#172033!important;border-color:#b9c6d8!important;color-scheme:light!important;-webkit-text-fill-color:#172033!important;caret-color:#172033!important}
body.light-theme #editor textarea::placeholder,body.light-theme #userEditor textarea::placeholder{color:#6f7f96!important;-webkit-text-fill-color:#6f7f96!important}


/* 2026-06-01: card description/notes panels follow light theme */
body.light-theme .card .desc,body.light-theme .card .notes,body.light-theme .kanbanCard .desc,body.light-theme .kanbanCard .notes{background:#f8fbff!important;color:#172033!important;border:1px solid #cad6e8!important;border-radius:12px!important;padding:9px!important;box-shadow:none!important}
body.light-theme .card .desc strong,body.light-theme .card .notes strong,body.light-theme .kanbanCard .desc strong,body.light-theme .kanbanCard .notes strong{color:#172033!important}


/* 2026-06-01: Kanban column headers follow light theme */
body.light-theme .kanbanCol h3{background:#f8fbff!important;color:#172033!important;border-color:#cad6e8!important;box-shadow:none!important}
body.light-theme .kanbanCol h3 .pill{background:rgba(51,102,255,.08)!important;border-color:rgba(51,102,255,.24)!important;color:#1d3d8f!important}


/* 2026-06-01: assignment/share rows with compact remove X */
.assignmentList{display:flex;flex-direction:column;gap:7px;margin-top:10px}
.assignmentRow{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #263650;background:#0d1423;border-radius:10px;padding:7px 8px;color:#dfe9ff}
.assignmentRow span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.assignmentRemove.iconDelete{width:24px;min-width:24px;max-width:24px;height:24px;min-height:24px;flex:0 0 24px;font-size:16px;font-weight:900;border-radius:999px}
body.light-theme .assignmentRow{background:#f8fbff;color:#172033;border-color:#cad6e8}


/* 2026-06-02: duplicate task controls */
.duplicateIcon{display:inline-flex;align-items:center;justify-content:center;border-color:#3f5f96;background:#182945;color:#bcd4ff;font-weight:800;line-height:1}
.duplicateIcon:hover{border-color:#77a0ff;color:#ffffff;box-shadow:0 0 0 2px rgba(119,160,255,.16)}
.card-actions .cardDuplicate{width:30px;min-width:30px;max-width:30px;height:30px;min-height:30px;padding:0;flex:0 0 30px}
.todo-actions .duplicateIcon{width:28px;min-width:28px;max-width:28px;height:28px;min-height:28px;padding:0;flex:0 0 28px}
.calendarTaskRow{display:flex;align-items:stretch;gap:3px;margin:4px 0}
.calendarTaskRow .calendarItem{flex:1 1 auto;min-width:0;margin:0}
.calendarDuplicate{appearance:none;-webkit-appearance:none;flex:0 0 22px;width:22px;min-width:22px;max-width:22px;min-height:0;height:auto;margin:0;padding:0;border-radius:8px;font-size:11px;border-left:1px solid color-mix(in srgb,var(--project-color,#253650) 70%,#34445f)!important}
body.light-theme .duplicateIcon{background:#eef4ff;color:#2454d6;border-color:#b9c6d8}
body.light-theme .duplicateIcon:hover{background:#dce8ff;color:#123a9f;border-color:#2454d6}
@media(max-width:520px){.card-actions .cardDuplicate{width:30px!important;min-width:30px!important;max-width:30px!important;flex:0 0 30px!important}.calendarDuplicate{flex-basis:24px;width:24px;min-width:24px;max-width:24px}}

/* 2026-06-02: normalize action buttons and monochrome icon buttons */
:root{--todo-action-button-height:32px;--todo-icon-button-height:32px;--todo-table-action-button-height:30px;--todo-calendar-icon-button-width:26px}
.card-actions button,.lookupActions button,.userActions button,#editor menu button{display:inline-flex;align-items:center;justify-content:center;min-height:var(--todo-action-button-height);height:var(--todo-action-button-height);line-height:1;padding-top:0;padding-bottom:0}
.todo-actions .todo-mini{display:inline-flex;align-items:center;justify-content:center;min-height:var(--todo-table-action-button-height);height:var(--todo-table-action-button-height);line-height:1;padding-top:0;padding-bottom:0}
.duplicateIcon,.iconDelete{display:inline-flex;align-items:center;justify-content:center;font-size:1.2em;font-weight:800;line-height:1;width:var(--todo-icon-button-height);min-width:var(--todo-icon-button-height);max-width:var(--todo-icon-button-height);height:var(--todo-icon-button-height);min-height:var(--todo-icon-button-height);padding:0;flex:0 0 var(--todo-icon-button-height);border-color:#3f5f96;background:#182945;color:#bcd4ff}
.actionIconSvg{display:block;width:14px;height:14px;stroke:currentColor;fill:none;pointer-events:none;flex:0 0 14px}.calendarDuplicate .actionIconSvg{width:12px;height:12px;flex-basis:12px}
.duplicateIcon:hover,.iconDelete:hover{border-color:#77a0ff;color:#ffffff;box-shadow:0 0 0 2px rgba(119,160,255,.16)}
.iconDelete.danger,.danger.iconDelete{background:#52202a;color:#ffd9df;border-color:#944050}
.iconDelete.danger:hover,.danger.iconDelete:hover{background:#65303b;color:#ffffff;border-color:#d26a7d;box-shadow:0 0 0 2px rgba(210,106,125,.16)}
.card-actions .cardDuplicate,.card-actions .iconDelete{width:var(--todo-icon-button-height);min-width:var(--todo-icon-button-height);max-width:var(--todo-icon-button-height);height:var(--todo-icon-button-height);min-height:var(--todo-icon-button-height);flex:0 0 var(--todo-icon-button-height)}
.todo-actions .duplicateIcon,.todo-actions .iconDelete{width:var(--todo-table-action-button-height);min-width:var(--todo-table-action-button-height);max-width:var(--todo-table-action-button-height);height:var(--todo-table-action-button-height);min-height:var(--todo-table-action-button-height);flex:0 0 var(--todo-table-action-button-height)}
.calendarTaskRow{align-items:stretch}.calendarTaskRow .calendarItem{min-height:24px}.calendarDuplicate{font-size:1.2em;flex:0 0 var(--todo-calendar-icon-button-width);width:var(--todo-calendar-icon-button-width);min-width:var(--todo-calendar-icon-button-width);max-width:var(--todo-calendar-icon-button-width);height:auto;min-height:24px;padding:0}
body.light-theme .duplicateIcon,body.light-theme .iconDelete{background:#eef4ff;color:#2454d6;border-color:#b9c6d8}
body.light-theme .duplicateIcon:hover,body.light-theme .iconDelete:hover{background:#dce8ff;color:#123a9f;border-color:#2454d6}
body.light-theme .iconDelete.danger,body.light-theme .danger.iconDelete{background:#ffe7ec;color:#82182b;border-color:#e596a6}
body.light-theme .iconDelete.danger:hover,body.light-theme .danger.iconDelete:hover{background:#ffd8e1;color:#691123;border-color:#c85c72}
@media(max-width:520px){.card-actions .cardDuplicate,.card-actions .iconDelete{width:var(--todo-icon-button-height)!important;min-width:var(--todo-icon-button-height)!important;max-width:var(--todo-icon-button-height)!important;flex:0 0 var(--todo-icon-button-height)!important}.calendarDuplicate{flex-basis:var(--todo-calendar-icon-button-width);width:var(--todo-calendar-icon-button-width);min-width:var(--todo-calendar-icon-button-width);max-width:var(--todo-calendar-icon-button-width)}}

/* 2026-06-03: hide subtask column and enlarge list-view task/badge/button text */
.todo-table .todo-task-field{font-size:14px;font-weight:650;line-height:1.25}
.todo-table .todo-status-badge,.todo-table .quadrant-badge,.todo-table .todo-category{font-size:12px;line-height:1.2}
.todo-table .todo-mini{font-size:13px}

/* 2026-06-03: keep List View Project/Category badges same text size as Status */
.todo-table .todo-field-stack .todo-category,
.todo-table .todo-field-stack button.todo-category,
.todo-table .todo-field-stack span.todo-category{font-size:12px!important;font-weight:800!important;line-height:1.2!important;padding:1px 4px!important}
.todo-table [data-todo-id].newly-created-todo{animation:newTodoPulse 2.4s ease-out}
.board [data-todo-id].newly-created-todo{animation:newTodoPulse 2.4s ease-out}
@keyframes newTodoPulse{0%{outline:3px solid #77a0ff;box-shadow:0 0 0 4px rgba(119,160,255,.35)}70%{outline:3px solid rgba(119,160,255,.72);box-shadow:0 0 0 4px rgba(119,160,255,.16)}100%{outline:0 solid transparent;box-shadow:none}}
#editor menu #deleteBtn.iconDelete{display:inline-grid;place-items:center;line-height:0;padding:0;text-align:center}
#editor menu #deleteBtn.iconDelete .actionIconSvg{margin:auto;display:block}
.card .desc{font-size:12px;line-height:1.35}