/* Team review, 16 November. Reference geometry is measured at equal zoom. */
html[data-board-background] .board-layout:has(>.board-toolbar){background-image:var(--erp-board-background);background-size:cover;background-position:center;background-repeat:no-repeat}
html[data-theme][data-board-background] .app-shell:has(.board-toolbar) :is(.board-toolbar,.board-canvas){background:transparent}
html[data-board-background] .daily-columns{background-image:var(--erp-board-background);background-size:cover;background-position:center;padding:10px;border-radius:10px}
html[data-theme=dark] .app-shell:has(.board-toolbar) .sidebar{background:#2c3136}
html[data-theme=dark] .app-shell:has(.board-toolbar) .sidebar .nav-row.selected{background:#818383;color:#fff}
html[data-theme=dark] .app-shell:has(.board-toolbar) :is(.topbar,.project-subnav){background:#3a3937}
html[data-theme=dark] .app-shell:has(.board-toolbar) :is(.board-toolbar,.board-canvas){background:#353a40}
html[data-theme=dark] .app-shell:has(.board-toolbar) .project-subnav>.project-tab.selected{background:#818383;border:0;border-radius:9px 9px 0 0;color:#fff}
html[data-theme=dark] .board-toolbar .view-switch button.selected{background:#232b36;color:#3989ff}
html[data-theme=dark] .board-toolbar .view-switch button{color:#9aa6b8}
.board-canvas:has(>.board-surface){display:flex;flex-direction:column;padding-bottom:8px}
.board-canvas>.board-surface{height:100%;min-height:100%;flex:1;align-items:stretch}
html[data-theme] .board-surface>.board-column{height:100%;max-height:none}
.board-surface>.board-column>.task-stack{flex:1;min-height:0}
.board-column .task-title{font-size:14px;line-height:1.15}
.board-column .column-heading strong{font-size:16px;line-height:1.2}
.board-column .column-add{font-size:14px}
.board-column .date-badge{display:inline-flex;align-items:center;gap:4px;border-radius:7px;font-size:11px;line-height:18px;padding:2px 5px;color:#c3ccdb;background:#465164;white-space:nowrap}
.board-column .date-badge svg{width:18px;height:18px;padding:2px;background:#b9c3d4;color:#566174;border-radius:4px}
.board-column .date-badge.today{color:#f9ac4b;background:#6d4d2c}.board-column .date-badge.today svg{background:#f9ac4b;color:#805a29}
.board-column .date-badge.overdue{color:#ff959a;background:#67363e}.board-column .date-badge.overdue svg{color:#873e48;background:#ff959a}
.board-column .task-card.completed .date-badge{color:var(--board-task-muted);background:color-mix(in srgb,var(--board-task-muted) 12%,transparent)}.board-column .task-card.completed .date-badge svg{color:var(--board-task-card);background:var(--board-task-muted)}
html[data-theme=light] .board-column .date-badge{color:#47566c;background:#e6ebf2}html[data-theme=light] .board-column .date-badge.today{color:#764512;background:#ffedcf}html[data-theme=light] .board-column .date-badge.overdue{color:#97202b;background:#ffe2e5}
.task-title-line{flex:1;min-width:0;line-height:1.15}.task-title-line .task-title{display:inline}
.task-title-pencil{display:inline-flex;vertical-align:middle;width:16px;height:16px;padding:0;margin-left:5px;opacity:0}.task-title-pencil svg{width:13px;height:13px}.task-card:hover .task-title-pencil,.task-card:focus-within .task-title-pencil{opacity:1}
.board-column .column-drag-handle{opacity:0;width:0!important;min-width:0!important;margin-left:-6px;padding:0;overflow:hidden}
.board-column:hover .column-drag-handle,.board-column:focus-within .column-drag-handle{opacity:1;width:14px!important;min-width:14px!important;margin-left:0;overflow:visible}
.board-column .column-heading{cursor:grab;user-select:none}
.board-column[data-column-dragging=true]{opacity:.25;outline:1px dashed var(--muted)}
.column-drag-preview{box-shadow:0 12px 30px #0006;overflow:hidden}
.board-toolbar{justify-content:flex-start;gap:10px;padding:8px 16px;flex-wrap:wrap;min-height:48px;flex:none}
.board-toolbar .view-switch,.board-filter-bar{display:flex;align-items:center;background:var(--board-task-column,#242a35);padding:4px;border-radius:8px;gap:3px;min-height:32px;flex:none}
.board-toolbar .view-switch button{display:flex;align-items:center;gap:5px;padding:3px 6px;border-radius:4px;min-height:26px;font-size:14px;color:var(--muted);background:none;border:0}
.board-toolbar .view-switch button.selected{color:#3989ff;background:color-mix(in srgb,#3989ff 10%,var(--board-task-column,#242a35))}
.board-toolbar svg{width:17px;height:17px;flex:none}
.board-filter-bar{gap:4px;max-width:100%;flex-wrap:wrap}
.board-filter-bar>.icon-button{width:23px;height:24px;min-height:24px;min-width:23px;padding:3px;color:var(--muted)}
.board-filter-chip{display:flex;align-items:center;gap:4px;border:1px solid var(--line);background:transparent;border-radius:5px;color:var(--muted);font-size:12px;line-height:20px;padding:0 3px;min-height:24px;cursor:pointer;white-space:nowrap}
.board-filter-chip svg:last-child{padding:2px;background:color-mix(in srgb,var(--muted) 20%,transparent);border-radius:3px;width:18px;height:18px}
.board-filter-chip.active{border-color:#3989ff;color:var(--text)}
.board-filter-chip:hover,.board-filter-bar>.icon-button:hover{background:color-mix(in srgb,var(--muted) 12%,transparent)}
.board-filter-popover{width:304px;padding:0;background:var(--task-detail-surface,#242a35);border-radius:7px}
html[data-theme=dark] .board-filter-popover{background:#242b30;color:#dce1e9;overflow-x:hidden}
html[data-theme=dark] .board-filter-popover input{background:#354150;border-color:#3989ff;color:#dce1e9}
html[data-theme=dark] .board-filter-popover .btn.primary{background:#3989ff;border-color:#3989ff;color:#fff}
.board-filter-popover .quick-actions{margin-inline:0}
html[data-theme=dark] .board-column .card-meta .date-badge.future{background:#465164;color:#c3ccdb}
.board-filter-popover .task-popover-head{padding:9px 10px;border-bottom:1px solid var(--line)}
.board-filter-popover .task-popover-head h2{font-size:14px}
.board-filter-content{padding:8px}
.board-filter-content input[type=search]{height:30px;min-height:30px;font-size:12px;border-radius:3px;width:100%}
.board-filter-content .quick-member{padding:6px 3px;gap:7px;min-height:34px;display:flex;align-items:center;font-size:13px}
.board-filter-content .quick-member input{width:16px;height:16px;min-height:16px;margin:0;accent-color:#3989ff}
.board-filter-content .quick-member>svg{width:20px;height:20px;flex:none}
.board-filter-content .quick-member .avatar{width:21px;height:21px;flex:none}
.quick-member-job{margin-left:auto;color:var(--muted);font-size:11px;max-width:95px;overflow-wrap:anywhere}
.filter-member-heading{display:flex;justify-content:space-between;padding:6px 36px 3px;color:var(--muted);font-size:11px}
.board-filter-description{text-align:center;color:var(--muted);font-size:13px;line-height:1.4;margin:2px 8px 10px}
.filter-date-range{display:flex;gap:8px;margin-top:9px}.filter-date-range .field{min-width:0;flex:1}.filter-date-range input{width:100%;min-width:0;font-size:12px}
.filter-presets{display:flex;flex-wrap:wrap;gap:4px}.filter-presets button{font-size:11px;padding:4px}
.priority-filter-label{display:flex;gap:6px;align-items:center}.priority-filter-label svg{width:18px;height:18px}.priority-filter-label.high{color:#ff8587}.priority-filter-label.normal{color:#eac55b}.priority-filter-label.low{color:#8bb7ff}
.board-column .card-meta{flex-wrap:wrap;row-gap:5px}
.board-column .quick-priority{display:inline-flex;align-items:center;gap:4px;padding:2px 5px;border-radius:7px;font-size:11px;line-height:18px;white-space:nowrap}
.board-column .quick-priority svg{width:18px;height:18px;border-radius:4px;padding:2px}
.board-column .quick-priority.high{color:#ff8587;background:#713d41}.board-column .quick-priority.high svg{background:#ff8587;color:#9b4549}
.board-column .quick-priority.normal{color:#f0d178;background:#5e5030}.board-column .quick-priority.normal svg{background:#e7c35f;color:#6c5620}
.board-column .quick-priority.low{color:#b3caff;background:#374f7b}.board-column .quick-priority.low svg{background:#a7c1ff;color:#416599}
html[data-theme=light] .board-column .quick-priority.high{color:#9d252d;background:#fcdfe1}html[data-theme=light] .board-column .quick-priority.normal{color:#665110;background:#f9edc8}html[data-theme=light] .board-column .quick-priority.low{color:#284e91;background:#e1ebff}
.board-column .task-card.completed .quick-priority{color:var(--board-task-muted);background:color-mix(in srgb,var(--board-task-muted) 12%,transparent)}
.board-column .task-card.unseen{outline:1px solid #ff6269;outline-offset:-1px}
.board-column .quick-sticker-add{opacity:0}.board-column .task-card:hover .quick-sticker-add,.board-column .task-card:focus-within .quick-sticker-add{opacity:1}
.column-create{flex:0 0 296px;width:296px;padding-top:0}.column-create-button{display:flex;align-items:center;gap:7px;width:192px;background:var(--board-task-column,#242a35);color:var(--muted);border:1px solid var(--line);border-radius:6px;font-size:13px;font-weight:600;padding:7px 12px;cursor:pointer;text-align:left}.column-create-button svg{width:16px;height:16px}
.column-inline-create{padding:12px 14px;background:var(--board-task-column,#242a35);border-radius:12px}.column-inline-create>input{background:none;border:0;width:100%;padding:2px 0;font-size:15px;font-weight:600}.column-inline-create .inline-actions{margin-top:12px}.column-inline-create .form-error:empty{display:none}
.column-inline-rename{min-width:0;flex:1}.column-inline-rename input{min-width:0;width:100%;padding:2px 3px;font-size:14px;height:28px}.column-inline-rename .form-error:empty{display:none}
.column-popover{width:234px;padding:9px 12px}.column-popover>.task-popover-head{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.column-menu-content .column-menu-action{display:flex;align-items:center;gap:8px;font-size:13px;min-height:34px;padding:6px 0;color:var(--text);background:none;border:0;cursor:pointer}.column-menu-action>svg{width:15px;height:15px;color:var(--muted);flex:none}.column-menu-action>svg:last-child:not(:first-child){margin-left:auto}.column-menu-action:hover{background:color-mix(in srgb,var(--muted) 9%,transparent)}
.column-menu-content .column-menu-caption{font-size:9px;padding-top:12px;margin:8px -12px 9px;padding-left:12px;color:var(--muted)}
.column-menu-content>.danger{border-top:1px solid var(--line);border-radius:0;color:#ff7979;padding-top:12px;margin-top:12px}.column-menu-content>.danger svg{color:inherit}.column-sort-options{padding-left:21px}.column-sort-options[hidden]{display:none}.column-sort-options .column-menu-action{font-size:12px;justify-content:space-between}
.task-detail .dialog-head h2[role=button]{cursor:text}.task-detail .dialog-head h2[role=button]:hover{text-decoration:underline;text-decoration-color:var(--muted);text-underline-offset:5px}
.task-title-editor{display:flex;align-items:flex-start;gap:4px;min-width:0}.task-title-editor input{min-width:0;width:100%;font:inherit;font-size:17px;font-weight:600;padding:2px 0;border:0;border-bottom:1px solid var(--muted);border-radius:0;background:none}.task-title-editor .icon-button{flex:none;width:24px;height:26px;min-height:26px;padding:3px}.task-detail>.form-error{margin:3px 20px}
.onboarding-page{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--bg)}.onboarding-form{display:flex;flex-direction:column;gap:16px;width:min(100%,420px)}.onboarding-form h1{font-size:24px;margin:0}.onboarding-form .avatar{width:48px;height:48px}.onboarding-form p{margin:0;line-height:1.5}.onboarding-form .form-error:empty{display:none}
@media(max-width:600px){.board-toolbar{padding:8px;gap:6px}.board-filter-bar{flex-wrap:nowrap;overflow-x:auto}.board-filter-chip{font-size:12px;min-height:32px}.board-toolbar .view-switch button{min-height:32px}.board-column .quick-sticker-add{opacity:1}.board-filter-content input,.column-inline-create>input,.task-title-editor input{font-size:16px}.board-filter-popover{max-height:calc(100dvh - 16px);overflow:auto}}
