/* WoodenCrew: Trello-inspired Kanban theme for Vikunja 2.7.0. */
:root {color-scheme:light!important;}
@font-face {font-family:Montserrat;src:url('/_woodencrew/montserrat.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap;}
body,body * {font-family:Montserrat,Arial,sans-serif!important;}
.task-view .heading h1.title {font-size:calc(1.8rem - 6px)!important;}
.task-view .tiptap__task-description > button.button {background:#177983!important;border-color:#177983!important;color:#fff!important;}
.task-view .tiptap__task-description > button.button:hover:not(:disabled) {background:#125f67!important;border-color:#125f67!important;}
.task-view .tiptap__task-description > button.button:disabled {opacity:.55;}
/* Temporary task simplification: remove this block to restore these controls. */
.task-id {display:none!important;}
.navbar .project-title-wrapper > a.project-title-button {display:none!important;}
.task-view .task-section-title,.task-view .description h2,.task-view .description h3 {font-size:16px!important;line-height:1.4!important;font-weight:600!important;margin-block:12px 8px!important;}
.task-view .task-section-title .icon {font-size:16px!important;}
.task-view .heading .task-id,.task-view nav.subtitle,.task-view .description .task-section-title,.task-view > .columns .detail-content > .reactions {display:none!important;}
.task-view .action-buttons > button:has(.fa-bell),.task-view .action-buttons > button:has(.fa-bell-slash) {display:none!important;}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=button]):not([type=submit]),textarea,select,.input,.textarea {background:#fff!important;border:1px solid #b6c2cf!important;border-radius:6px;color:#172b4d!important;}
.tiptap__wrapper-is-editing {background:#fff!important;border:1px solid #b6c2cf!important;border-radius:8px;overflow:hidden;}
.tiptap__wrapper-is-editing .tiptap__editor {background:#fff!important;color:#172b4d;}
input:focus,textarea:focus,select:focus,.tiptap__wrapper-is-editing:focus-within {border-color:#177983!important;box-shadow:0 0 0 1px #177983!important;}
.editor-toolbar {background:#fff!important;border-block-end:1px solid #dfe1e6;gap:2px!important;padding:4px!important;}
.editor-toolbar:not(.wc-toolbar-expanded) .editor-toolbar__segment:nth-of-type(n+3) {display:none!important;}
.editor-toolbar__button {inline-size:30px!important;block-size:30px!important;}
.wc-toolbar-toggle {border:0;background:#f1f2f4;color:#172b4d;border-radius:4px;inline-size:30px;block-size:30px;font-size:22px;cursor:pointer;flex-shrink:0;}
.wc-action-collapsed {display:none!important;}
.wc-group-toggle {display:flex;align-items:center;justify-content:space-between;inline-size:100%;padding:10px 12px;background:#fff;border:1px solid #dfe1e6;border-radius:6px;color:#44546f;font:inherit;text-align:start;cursor:pointer;}
.wc-group-toggle::after {content:'▸';}
.wc-group-toggle[aria-expanded=true]::after {content:'▾';}
.keyboard-shortcuts-button {display:none!important;}
/* Compact glass navigation, scoped to board pages. */
body:has(.project-kanban) .navbar {
  block-size:48px!important;min-block-size:48px!important;padding:0 12px!important;
  background:#fff!important;color:#172b4d!important;align-items:center;
  backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);
  border-block-end:1px solid #dfe1e6;box-shadow:none!important;gap:8px;
}
body:has(.project-kanban) .navbar .logo-link {inline-size:138px;block-size:48px!important;flex-shrink:0;color:#fff!important;margin:0!important;}
body:has(.project-kanban) .navbar .logo-link > div {display:none;}
body:has(.project-kanban) .navbar .logo-link::before {content:'';display:block;inline-size:138px;block-size:34px;background:url('/_woodencrew/logo.gif') center / contain no-repeat;border-radius:3px;}
body:has(.project-kanban) .navbar .logo {inline-size:108px!important;block-size:32px!important;color:#fff;}
body:has(.project-kanban) .navbar .project-title-wrapper {margin:0!important;padding:0!important;block-size:48px!important;min-inline-size:0;flex:1;justify-content:flex-start;gap:12px;}
body:has(.project-kanban) .navbar .menu-button {margin:0 8px!important;flex-shrink:0;}
body:has(.project-kanban) .navbar .project-title-button {margin:0!important;}
body:has(.project-kanban) .navbar .project-title {font-size:18px!important;font-weight:650;color:#172b4d!important;}
body:has(.project-kanban) .navbar .navbar-end {block-size:48px!important;flex-shrink:0;gap:4px;}
body:has(.project-kanban) .navbar .trigger-button,
body:has(.project-kanban) .navbar .project-title-button,
body:has(.project-kanban) .navbar .menu-button {color:#44546f!important;border-radius:6px;block-size:32px!important;min-block-size:32px!important;inline-size:32px!important;padding:7px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;}
body:has(.project-kanban) .navbar .trigger-button svg,body:has(.project-kanban) .navbar .project-title-button svg {inline-size:18px!important;block-size:18px!important;vertical-align:middle;}
body:has(.project-kanban) .navbar .menu-button {position:relative!important;}
body:has(.project-kanban) .navbar .menu-button::before {content:''!important;position:absolute!important;inset:11px 6px auto!important;inline-size:20px!important;block-size:10px!important;background:linear-gradient(to bottom,#44546f 0 2px,transparent 2px 8px,#44546f 8px 10px)!important;transform:none!important;box-shadow:none!important;border:0!important;}
body:has(.project-kanban) .navbar .menu-button::after {display:none!important;}
body:has(.project-kanban) .navbar .username-dropdown-trigger {block-size:36px!important;padding:0 8px!important;color:#172b4d!important;border-radius:6px;align-self:center!important;}
body:has(.project-kanban) .navbar .username-dropdown-trigger img {inline-size:28px!important;block-size:28px!important;}
body:has(.project-kanban) .navbar .base-button:hover {background:#091e4210;}
body:has(.project-kanban) .navbar .dropdown-menu {color:#172b4d;}
.app-content:has(.project-kanban) {padding-block-start:56px!important;}
.project-kanban .switch-view-container {background:#10121575;border:1px solid #ffffff14;border-radius:8px;padding:4px 8px;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);}
.project-kanban .switch-view {background:transparent!important;box-shadow:none!important;}
.project-kanban .switch-view-button {color:#f1f2f4!important;border-radius:4px!important;}
.project-kanban .switch-view-button:hover {background:#ffffff24!important;}
.project-kanban .switch-view-button.is-active {background:#dfe1e6!important;color:#172b4d!important;}
.project-kanban .filter-container > button {background:transparent!important;color:#f1f2f4!important;border:0!important;border-radius:4px!important;}
.project-kanban .filter-container > button:hover {background:#ffffff24!important;}
@media(max-width:768px){
  body:has(.project-kanban) .app-container {padding-block-start:0!important;}
  body:has(.project-kanban) .navbar {padding-inline:8px!important;gap:4px;}
  body:has(.project-kanban) .navbar .project-title-wrapper {padding-inline:0!important;gap:4px;}
  body:has(.project-kanban) .navbar .menu-button {margin:0!important;}
  body:has(.project-kanban) .navbar .project-title {font-size:16px!important;}
  .app-content:has(.project-kanban) {padding-block-start:52px!important;}
  .project-kanban .switch-view-container {padding:2px 4px;}
}
.app-content:has(.project-kanban) {background:#0079bf;color:#172b4d;}
.app-container.has-background .app-content:has(.project-kanban) {background:transparent;}
.project-kanban .switch-view-container {min-block-size:32px!important;margin-block-end:4px!important;gap:8px!important;flex-direction:row!important;justify-content:space-between!important;}
.project-kanban .switch-view {padding:2px!important;}
.project-kanban .switch-view-button {padding:4px 8px!important;min-block-size:28px!important;}
.project-kanban .filter-container {margin:0!important;}
.project-kanban .filter-container > button {inline-size:32px;block-size:32px;min-block-size:32px;padding:6px!important;}
.project-kanban .filter-container > button > span:not(.icon) {display:none;}
.project-kanban .filter-container > button > .icon {margin:0!important;}
/* Drag the card itself on every pointer type; no grip overlay. */
.kanban .task-item > .handle {display:none!important;}
.kanban .task-item:has(> .handle) .task .p-2 {padding-inline-end:12px!important;}
.kanban .bucket .tasks {min-block-size:0;block-size:auto!important;flex:1 1 auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;}
.project-kanban {--grey-100:#f1f2f4;--white:#fff;--text:#172b4d;--grey-500:#626f86;}
.project-kanban .switch-view-container {display:none!important;}
.kanban {padding:12px 16px 8px!important;gap:12px;scrollbar-color:#ffffff66 #00000018;block-size:calc(100dvh - 56px)!important;box-sizing:border-box;}
.kanban > .kanban-bucket-container {gap:12px;block-size:100%;}
.kanban .bucket:not(.new-bucket) {overflow:visible!important;}
.kanban .bucket:has(.dropdown-menu) {z-index:20;}
.kanban .bucket-header {overflow:visible!important;border-radius:12px 12px 0 0;}
.kanban .bucket .tasks {border-radius:0 0 12px 12px;}
.kanban .bucket .dropdown-menu {z-index:30;}
.kanban .bucket:not(.new-bucket) {inline-size:272px!important;min-inline-size:272px;max-inline-size:272px;margin-inline-end:0!important;background:#f1f2f4;border-radius:12px!important;box-shadow:0 1px 1px #091e4240;align-self:flex-start;}
.kanban .bucket-header {background:#f1f2f4!important;block-size:44px!important;min-block-size:44px;flex:0 0 auto;padding:8px 12px!important;}
.kanban .bucket h2 {font-size:14px!important;line-height:20px!important;font-weight:600!important;color:#172b4d;}
.kanban .bucket .tasks {padding-block-end:0;scrollbar-width:thin;scrollbar-color:#091e4233 transparent;}
.kanban .bucket .task-item {background:#f1f2f4!important;padding:0 8px 8px!important;}
.kanban .bucket .task-item:first-of-type {padding-block-start:0!important;}
.kanban .task {background:#fff!important;border:1px solid #091e4226;border-radius:8px!important;box-shadow:0 1px 1px #091e4240!important;color:#172b4d;font-size:14px!important;transition:box-shadow .12s,border-color .12s;}
.kanban .task:hover {border-color:#177983;box-shadow:0 0 0 1px #177983!important;}
.kanban .task .p-2 {padding:8px 12px!important;}
.kanban .task h3 {font-family:inherit!important;font-size:14px!important;line-height:20px;font-weight:400!important;margin:0;}
.kanban .task-id {font-size:11px;color:#626f86;line-height:16px;}
.kanban .task .footer {color:#626f86;gap:6px!important;margin-block-start:6px!important;}
.kanban .task .label-wrapper .tag {border-radius:4px;font-size:11px;font-weight:600;line-height:16px;padding:2px 6px;margin:4px 4px 0 0;}
.kanban .bucket-footer {background:#f1f2f4!important;padding:4px 8px 8px!important;box-shadow:none!important;position:sticky!important;inset-block-end:0!important;z-index:1;flex:0 0 auto;}
.kanban .bucket-footer .button {text-transform:none!important;font-size:14px;font-weight:400;color:#44546f;justify-content:flex-start;border-radius:8px;box-shadow:none!important;}
.kanban .bucket-footer .button:hover {background:#091e4224!important;}
.kanban .bucket.new-bucket {min-inline-size:272px!important;margin-inline-end:0!important;}
.kanban .bucket.new-bucket .button {background:#ffffff3d!important;color:white;border-radius:12px;box-shadow:none;text-transform:none;}
.kanban .bucket.new-bucket .button:hover {background:#ffffff52!important;}
.kanban .bucket.is-collapsed {margin-inline-end:-216px!important;}
.app-content:has(.project-kanban) .project-view-switcher {box-shadow:none;}
html.dark .project-kanban {--grey-100:#282e33;--white:#22272b;--text:#b6c2cf;}
html.dark .kanban .bucket:not(.new-bucket),html.dark .kanban .bucket-header,html.dark .kanban .bucket .task-item,html.dark .kanban .bucket-footer {background:#282e33!important;}
html.dark .kanban .task {background:#22272b!important;color:#b6c2cf;border-color:#73849640;}
html.dark .kanban .bucket h2,html.dark .kanban .bucket-footer .button {color:#b6c2cf;}
@media(max-width:768px){
  .kanban{padding:8px 8px 30px!important;gap:8px;block-size:calc(100dvh - 52px)!important;}
  .kanban > .kanban-bucket-container{block-size:100%;}
  .kanban .bucket:not(.new-bucket){inline-size:272px!important;min-inline-size:272px;max-block-size:100%!important;}
}
/* Hide project information, preserving the adjacent settings menu. */
.navbar .project-title-wrapper .project-title-button:has(svg[data-icon="circle-info"]) {display:none!important;}
/* Trello card detail: consistent content alignment and compact controls. */
.task-view {background:#fff!important;border-radius:16px!important;padding:28px!important;color:#172b4d;}
.task-view .heading {margin:0 0 24px!important;padding:0!important;align-items:flex-start;}
.task-view .heading h1.title {padding:8px 10px!important;line-height:1.35!important;font-weight:650!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important;}
.task-view .heading h1.title:hover {background:#f1f2f4!important;}
.task-view .heading h1.title:focus {background:#fff!important;border-color:#177983!important;}
.task-view > .columns {margin:0!important;gap:24px;}
.task-view > .columns > .column {padding:0!important;min-width:0;}
.task-view > .columns > .detail-content {width:calc(67% - 12px)!important;}
.task-view .action-buttons {width:calc(33% - 12px)!important;background:#f1f2f4;padding:16px!important;border-radius:12px;align-self:flex-start;}
.task-view .description .task-section-title {display:flex!important;}
.task-view .details,.task-view .comments-container,.task-view .attachments {margin-inline:0!important;padding-inline:0!important;}
.task-view .description .tiptap {margin-inline:0!important;}
.task-view .task-section-title {margin:0 0 16px!important;color:#172b4d;}
.task-view .comments-container {margin-top:28px!important;}
.task-view .action-buttons .button {text-transform:none!important;font-size:14px!important;font-weight:500!important;box-shadow:none!important;border:1px solid #dfe1e6!important;border-radius:6px!important;min-height:36px;}
.task-view .wc-add-checklist {background:#fff!important;color:#172b4d!important;justify-content:flex-start;}
.task-view .tiptap__editor {font-size:14px!important;line-height:1.6;}
.task-view ul[data-type=taskList] {padding:0!important;list-style:none;}
.task-view li[data-type=taskItem] {padding:6px 8px;border-radius:6px;gap:10px;}
.task-view li[data-type=taskItem]:hover {background:#f1f2f4;}
.task-view li[data-type=taskItem] input {accent-color:#177983;width:18px;height:18px;}
.task-view li[data-checked=true] > div {text-decoration:line-through;color:#626f86;}
@media(max-width:768px){
 .task-view{padding:16px!important;border-radius:12px!important;}
 .task-view > .columns{display:flex;flex-direction:column;gap:20px;}
 .task-view > .columns > .detail-content,.task-view .action-buttons{width:100%!important;}
}
/* Plain column titles aligned with card text (8px card inset + 12px content). */
.kanban .bucket-header {padding-inline-start:20px!important;}
.kanban .bucket-header h2,.kanban .bucket-header h2.input,.kanban .bucket-header input {background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding-inline:0!important;}
.kanban .bucket-header h2:focus,.kanban .bucket-header input:focus {outline:2px solid #177983;outline-offset:3px;}
/* Trello-style attachment rows, keeping the native preview and actions. */
.task-view .attachments .files {display:flex!important;flex-direction:column!important;gap:12px!important;margin:0 0 16px!important;}
.task-view .attachments .attachment {display:flex!important;align-items:center!important;gap:16px!important;padding:8px!important;border:0!important;border-radius:8px!important;box-shadow:none!important;background:transparent!important;min-width:0;}
.task-view .attachments .attachment:hover {background:#f1f2f4!important;}
.task-view .attachments .preview-column {flex:0 0 112px!important;width:112px!important;height:80px!important;overflow:hidden;border:1px solid #dfe1e6;border-radius:8px;background:#f1f2f4;}
.task-view .attachments .preview-open,.task-view .attachments .attachment-preview {width:100%!important;height:100%!important;display:flex;align-items:center;justify-content:center;}
.task-view .attachments .attachment-preview img {width:100%!important;height:100%!important;object-fit:contain!important;}
.task-view .attachments .attachment-preview svg {width:28px!important;height:28px!important;color:#626f86;}
.task-view .attachments .attachment-info-column {flex:1;min-width:0;position:relative;padding-inline-end:112px;}
.task-view .attachments .attachment-open {display:block;text-align:left;max-width:100%;}
.task-view .attachments .filename {font-size:15px!important;font-weight:600!important;color:#172b4d;overflow-wrap:anywhere;}
.task-view .attachments .attachment-info-meta {display:flex;align-items:center;gap:8px;font-size:12px!important;color:#626f86!important;margin:6px 0 0!important;}
.task-view .attachments .attachment-actions {position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;gap:4px;margin:0!important;}
.task-view .attachments .attachment-actions button {width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:1px solid #dfe1e6;border-radius:6px;background:#fff;color:#44546f;}
.task-view .attachments .attachment-actions button:hover {background:#dfe1e6;}
@media(max-width:600px){.task-view .attachments .preview-column{flex-basis:80px!important;width:80px!important;height:64px!important;}.task-view .attachments .attachment-info-column{padding-inline-end:0;}.task-view .attachments .attachment-actions{position:static;transform:none;margin-top:8px!important;}}

/* WoodenCrew brand accents and rounded action buttons. */
:root,html,html.dark {--primary:#177983;--primary-dark:#125f67;--link:#177983;--link-hover:#125f67;}
a:focus-visible,button:focus-visible {outline:2px solid #177983;outline-offset:3px;}
.task-view a {color:#177983;}
.button,.wc-group-toggle {border-radius:999px!important;padding-inline:15px!important;}
.button:not(.is-danger),.wc-group-toggle {background:#6d37c3!important;border-color:#6d37c3!important;color:#fff!important;}
.button:not(.is-danger):hover:not(:disabled),.wc-group-toggle:hover {background:#592ba3!important;border-color:#592ba3!important;}
.task-view .action-buttons .button {border-color:#6d37c3!important;border-radius:999px!important;padding:10px 15px!important;}
.task-view .tiptap__task-description > button.button {background:#6d37c3!important;border-color:#6d37c3!important;}
.task-view .tiptap__task-description > button.button:hover:not(:disabled) {background:#592ba3!important;border-color:#592ba3!important;}
.task-view .action-buttons .button--mark-done {background:#177983!important;border-color:#177983!important;color:#fff!important;}
.task-view .action-buttons .button--mark-done:hover:not(:disabled) {background:#125f67!important;border-color:#125f67!important;}
.task-view .action-buttons .is-danger {background:transparent!important;color:#c9372c!important;border-color:transparent!important;}

/* Group toggles stay neutral; purple is reserved for action buttons. */
.task-view .action-buttons .action-heading {margin-inline-end:8px!important;margin-block:12px 8px!important;}
.task-view .action-buttons .wc-group-toggle {background:#fff!important;border:1px solid #dfe1e6!important;color:#44546f!important;gap:8px;}
.task-view .action-buttons .wc-group-toggle:hover {background:#f8f9fa!important;border-color:#b6c2cf!important;}
/* Compact neutral controls inside expandable groups. */
.task-view .action-buttons .action-heading {margin-block:4px!important;}
.task-view .action-buttons .action-heading ~ button.button:not(.is-danger) {background:#fff!important;border-color:#dfe1e6!important;color:#44546f!important;font-size:12px!important;min-height:30px!important;padding:6px 12px!important;margin-block:3px!important;}
.task-view .action-buttons .action-heading ~ button.button:not(.is-danger):hover:not(:disabled) {background:#f1f2f4!important;border-color:#b6c2cf!important;}
/* Plain-text add-task action in Kanban columns. */
.kanban .bucket-footer .button,.kanban .bucket-footer .button:hover:not(:disabled),.kanban .bucket-footer .button:active {background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#44546f!important;}
/* Text-only attachment actions in task cards. */
.task-view .action-buttons > button.button:has(svg[data-icon="paperclip"]),
.task-view .attachments > button.button:has(svg[data-icon="cloud-arrow-up"]),
.task-view .action-buttons > button.button:has(svg[data-icon="paperclip"]):hover:not(:disabled),
.task-view .attachments > button.button:has(svg[data-icon="cloud-arrow-up"]):hover:not(:disabled) {background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#44546f!important;text-transform:none!important;}
/* Compact task content and inline attachment actions. */
.task-view .heading {margin-block-end:8px!important;}
.task-view .description .task-section-title,.task-view .attachments .task-section-title {display:none!important;}
.task-view .description {margin-block-start:0!important;margin-block-end:12px!important;}
.task-view .content.attachments {margin-block-start:12px!important;}
.task-view .attachments .files {gap:8px!important;margin-block-start:0!important;margin-block-end:8px!important;}
.task-view .attachments > button.button:has(svg[data-icon="cloud-arrow-up"]) {justify-content:flex-start!important;text-align:left!important;padding-inline-start:0!important;}
.task-view .attachments .attachment-info-column {padding-inline-end:0!important;}
.task-view .attachments .attachment-info-meta {display:inline-flex!important;vertical-align:middle;}
.task-view .attachments .attachment-actions {position:static!important;transform:none!important;display:inline-flex!important;vertical-align:middle;margin:6px 0 0 10px!important;}
.task-view .attachments .attachment-info-meta,.task-view .attachments .attachment-actions {width:auto!important;inline-size:auto!important;max-width:100%;}
.task-view .attachments .attachment-info-column {display:block!important;}
/* Each expandable action group starts on its own row. */
.task-view .action-buttons .action-heading {display:block!important;width:100%!important;flex-basis:100%!important;margin-inline-end:0!important;}
.task-view .action-buttons .action-heading .wc-group-toggle {width:100%!important;}
/* Dark translucent Trello-style top navigation. */
.navbar,body:has(.project-kanban) .navbar {background:rgba(20,24,28,.78)!important;color:#fff!important;backdrop-filter:blur(18px) saturate(140%)!important;-webkit-backdrop-filter:blur(18px) saturate(140%)!important;border-block-end:1px solid #ffffff20!important;}
.navbar .project-title {font-size:16px!important;font-weight:400!important;color:#fff!important;}
.navbar .username {display:none!important;}
.navbar .username-dropdown-trigger,.navbar .trigger-button,.navbar .project-title-button,.navbar .menu-button {color:#fff!important;background:transparent!important;}
.navbar .username-dropdown-trigger {gap:6px;padding:4px 8px!important;}
.navbar .username-dropdown-trigger .avatar {width:28px!important;height:28px!important;}
.navbar .project-title-button svg {width:14px!important;height:14px!important;}
.navbar .menu-button {transform:scale(.8);transform-origin:center;}
.navbar .logo-link {inline-size:138px!important;min-inline-size:138px;display:flex;align-items:center;}
.navbar .logo-link > div {display:none!important;}
.navbar .logo-link::before,body:has(.project-kanban) .navbar .logo-link::before {content:'';display:block;inline-size:138px;block-size:34px;background:url('/_woodencrew/board-logo.png') center / contain no-repeat;border-radius:0;}
.navbar .trigger-button:hover,.navbar .project-title-button:hover,.navbar .username-dropdown-trigger:hover {background:#ffffff1f!important;}
body:has(.project-kanban) .navbar .project-title {font-size:16px!important;font-weight:400!important;color:#fff!important;}
body:has(.project-kanban) .navbar .username-dropdown-trigger,body:has(.project-kanban) .navbar .project-title-button,body:has(.project-kanban) .navbar .menu-button {color:#fff!important;}
body:has(.project-kanban) .navbar .project-title-button svg {inline-size:14px!important;block-size:14px!important;}
body:has(.project-kanban) .navbar .menu-button::before {background:linear-gradient(to bottom,#fff 0 2px,transparent 2px 8px,#fff 8px 10px)!important;}
/* Compact logo-free header; retain each project's own background. */
.navbar .logo-link,body:has(.project-kanban) .navbar .logo-link {display:none!important;}
body:has(.project-kanban) .navbar {gap:2px!important;padding-inline:8px!important;}
body:has(.project-kanban) .navbar .project-title-wrapper {gap:4px!important;}
body:has(.project-kanban) .navbar .menu-button {margin-inline:0!important;inline-size:26px!important;}
body:has(.project-kanban) .navbar .project-title-button {inline-size:26px!important;padding:5px!important;}
.navbar .trigger-button,body:has(.project-kanban) .navbar .trigger-button,.navbar .trigger-button svg {color:#fff!important;}
.app-container.has-background .app-content:has(.project-kanban) {background:transparent!important;}
/* Let the board photo show through the blurred header. */
.navbar,body:has(.project-kanban) .navbar {background:rgba(20,24,28,.48)!important;backdrop-filter:blur(18px) saturate(150%)!important;-webkit-backdrop-filter:blur(18px) saturate(150%)!important;}
body:has(.project-kanban) .navbar .project-title {margin-inline-start:4px!important;}
/* Empty descriptions, comments and drag-to-delete. */
.task-view .wc-empty-description > .tiptap__wrapper {display:none!important;}
.task-view .wc-empty-description > button.button,.task-view .wc-empty-edit-trigger[hidden] {display:none!important;}
.task-view .wc-empty-edit-trigger {border:0;background:transparent;cursor:pointer;}
.task-view .wc-empty-description .tiptap__editor-actions {margin:0!important;padding:0!important;min-height:0!important;}
.task-view .wc-edit-description {display:inline-flex;align-items:center;gap:7px;font-size:15px!important;font-weight:600!important;padding:4px 0!important;color:#44546f;}
.task-view .wc-edit-description svg {width:16px;height:16px;}
.task-view .comments-container .wc-comment-submit {font-weight:400!important;padding-inline:25px!important;text-transform:none!important;}
.wc-task-delete-zone {position:fixed;z-index:10000;top:3px;left:8px;right:8px;transform:none;height:42px;min-width:0;padding:0 18px;display:flex;align-items:center;justify-content:center;gap:10px;border:2px solid #e34935;border-radius:8px;background:#fff4f2;color:#c9372c;font-size:14px;font-weight:600;box-shadow:0 2px 8px #0003;}
.kanban .task-item[hidden] {display:none!important;}
.wc-task-delete-zone[hidden],.wc-drag-notice[hidden] {display:none!important;}
.wc-task-delete-zone > span:first-child {font-size:32px;line-height:1;}
.wc-task-delete-zone.is-over {background:#c9372c;color:#fff;border-color:#ff9c8f;}
.wc-deleting-task {opacity:.4;pointer-events:none;}
.wc-drag-notice {position:fixed;z-index:10001;top:60px;left:50%;transform:translateX(-50%);padding:12px 20px;border-radius:8px;background:#fff4f2;color:#c9372c;box-shadow:0 2px 8px #0003;}
/* Existing-label selector and prominent white label action. */
.task-view .action-buttons .wc-label-action {background:#fff!important;color:#44546f!important;border:1px solid #dfe1e6!important;min-height:38px!important;padding:10px 15px!important;font-size:14px!important;line-height:14px!important;font-weight:400!important;border-radius:999px!important;inline-size:100%!important;}
.task-view .wc-select-labels > .control input,.task-view .wc-select-labels > .search-results {display:none!important;}
.task-view .wc-select-labels > .control .input-wrapper {background:transparent!important;border:0!important;padding:0!important;min-height:0!important;box-shadow:none!important;}
.task-view .action-buttons .wc-label-action:hover:not(:disabled),.task-view .action-buttons .wc-label-action:focus {background:#fff!important;color:#44546f!important;border-color:#c1c7d0!important;}
.task-view .wc-label-select {inline-size:100%;min-height:40px;background:#fff;color:#172b4d;border:1px solid #c1c7d0;border-radius:8px;padding:8px 12px;font:inherit;cursor:pointer;}
.task-view .wc-label-select:focus {outline:2px solid #177983;outline-offset:1px;}
.task-view .labels-list > .detail-title {display:none!important;}
/* Rounded white comment actions, two pixels larger. */
.task-view .comments-container .tiptap__editor-actions {display:flex!important;flex-wrap:wrap;align-items:center;gap:12px!important;}
.task-view .comments-container .tiptap__editor-actions li {margin:0!important;}
.task-view .comments-container .tiptap__editor-actions li::after {content:none!important;}
.task-view .comments-container .tiptap__editor-actions button {font-size:14.8px!important;font-weight:400!important;color:#44546f!important;background:#fff!important;border:1px solid #dfe1e6!important;border-radius:999px!important;padding:7px 15px!important;line-height:1.3!important;}
.task-view .comments-container .tiptap__editor-actions button:hover {border-color:#b3bac5!important;background:#fff!important;}
.task-view .wc-label-select {inline-size:min(100%,260px);min-height:32px;height:32px;padding:4px 30px 4px 10px;font-size:12px;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2344546f' d='M0 0h10L5 6z'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;}



/* Existing-label dropdown on every task, including tasks with selected labels. */
.task-view .wc-select-labels input[role="combobox"], .task-view .wc-select-labels .search-results { display:none!important; }
.task-view .wc-description-heading {display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;font-size:18px;font-weight:600;color:#292a2e;}
.task-view .wc-description-heading button {border:1px solid #dcdfe4;border-radius:6px;background:white;padding:6px 12px;font:inherit;font-size:14px;cursor:pointer;}
.task-view .wc-empty-edit-trigger {display:block;width:100%;min-height:80px;text-align:left;border:1px solid #89909b;border-radius:5px;padding:12px 16px!important;background:white;color:#6b7079;font-weight:400!important;cursor:pointer;}
.task-view .wc-empty-edit-trigger:hover {background:#f1f2f4;}
.task-view .tiptap__task-description .tiptap__editor-actions:has(.wc-edit-description) {display:none!important;}
.task-view .tiptap__task-description .tiptap__editor:has([contenteditable="false"]) {cursor:pointer;}
/* Compact task actions and activity column. */
.task-view .wc-task-actions {display:flex;flex-wrap:wrap;gap:8px;position:relative;margin:0 0 24px;align-items:center;}
.task-view .wc-task-actions > button {width:auto!important;margin:0!important;border:1px solid #dfe1e6!important;border-radius:6px!important;padding:6px 12px!important;font-size:14px!important;min-height:34px;}
.task-view .wc-secondary-actions {display:none!important;position:absolute;top:42px;left:0;z-index:30;width:260px!important;box-shadow:0 8px 24px #0003;max-height:60vh;overflow:auto;}
.task-view .wc-secondary-actions.wc-more-open {display:block!important;}
.task-view .wc-task-history {width:33%;padding:16px;background:#f7f8fa;border-radius:8px;align-self:flex-start;}
.task-view .wc-task-history h3 {font-size:16px;margin:0 0 16px;}
.task-view .wc-task-history p {font-size:13px;padding-bottom:12px;border-bottom:1px solid #dfe1e6;}
.task-view .wc-task-history small {display:block;color:#6b778c;margin-top:4px;}
.task-view .comments-container .new-comment-top > figure,.task-view .comments-container .new-comment-bottom > figure {display:none!important;}
.task-view .comments-container .new-comment-top > .media-content,.task-view .comments-container .new-comment-bottom > .media-content {margin-left:0!important;}
@media(max-width:768px){.task-view .wc-task-history{width:100%;}}
/* White rounded task controls. */
.task-view .wc-task-actions > button,.task-view .wc-task-actions .action-buttons button.button,.task-view .wc-task-actions .wc-group-toggle {background:#fff!important;color:#44546f!important;border:1px solid #dfe1e6!important;border-radius:24px!important;box-shadow:none!important;text-transform:none!important;font-size:14px!important;font-weight:600!important;padding:9px 16px!important;}
.task-view .wc-task-actions button:hover {background:#f7f8fa!important;}
.task-view .wc-task-actions .button--mark-done {display:none!important;}
.task-view .wc-secondary-actions.wc-more-open {display:flex!important;flex-direction:column;gap:8px;background:#f1f2f4!important;}
.task-view .wc-secondary-actions .action-heading {display:none!important;}
.task-view .wc-secondary-actions.wc-more-open > button.button {display:flex!important;width:100%!important;margin:0!important;}
.task-view .wc-secondary-actions.wc-more-open > .button--mark-done {display:none!important;}
/* Expand additional actions inline in the same wrapping row. */
.task-view .wc-task-actions {align-items:center!important;}
.task-view .wc-task-actions .wc-secondary-actions.wc-more-open {display:contents!important;position:static!important;box-shadow:none!important;padding:0!important;max-height:none!important;overflow:visible!important;}
.task-view .wc-task-actions .wc-secondary-actions.wc-more-open > :is(button,a.button) {width:auto!important;flex:none!important;margin:0!important;}
.task-view .wc-task-actions .wc-secondary-actions .action-heading {display:none!important;}
.task-view .wc-task-actions :is(button,a.button) {background:#fff!important;color:#44546f!important;border:1px solid #dfe1e6!important;border-radius:24px!important;box-shadow:none!important;text-transform:none!important;font-size:14px!important;font-weight:600!important;padding:9px 16px!important;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease!important;}
.task-view .wc-task-actions :is(button,a.button):hover,.task-view .wc-task-actions :is(button,a.button):focus-visible {background:#ede7fa!important;color:#542ba0!important;border-color:#bda6e6!important;box-shadow:0 2px 8px #6d37c320!important;}
.task-view .wc-task-actions :is(button,a.button):has(svg[data-icon="check-double"]),.task-view .wc-task-actions .button--mark-done {display:none!important;}
.task-view .wc-task-actions > .wc-primary-action {display:inline-flex!important;align-items:center!important;}
.task-view .wc-task-actions > .wc-primary-action:has(svg[data-icon="trash-can"]) {color:#c9372c!important;}
.task-view .wc-comment-placeholder {display:block;width:100%;min-height:80px;text-align:left;border:1px solid #89909b;border-radius:5px;padding:12px 16px;background:#fff;color:#6b7079;font:inherit;cursor:text;}
.task-view .wc-comment-placeholder:hover {background:#f7f8fa;border-color:#6d37c3;}
.task-view :is(.new-comment-top,.new-comment-bottom):has(.wc-comment-placeholder):not(.wc-comment-editing) > :not(.wc-comment-placeholder) {display:none!important;}
.task-view .wc-comment-editing > .wc-comment-placeholder {display:none!important;}
.task-view :is(.new-comment-top,.new-comment-bottom):has(.wc-comment-placeholder) {display:block!important;}

