:root {
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color: #24334b;
  background: #f7fafc;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg,#f5fbff 0,#fff 420px);
  min-height: 100vh;
}

.topbar {
  height: 72px;
  background: #fff;
  border-bottom: 1px solid #e5edf5;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(18px,4vw,64px);
  position: sticky;
  top: 0;
  z-index: 3;
}

.brand span {
  color: #61c5b5;
}

.prototype {
  font-size: 11px;
  color: #8798ab;
  background: #eef7f8;
  padding: 5px 9px;
  border-radius: 99px;
  margin-left: 10px;
}

.topbar nav {
  display: flex;
  gap: 20px;
  flex: 1;
}

.topbar nav a,
.text-link,
.back {
  color: #58718d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.topbar nav a:hover,
.text-link:hover {
  color: #2f9d98;
}

.user-switch {
  font-size: 12px;
  color: #8090a1;
}

.user-switch select {
  border: 1px solid #dce7ef;
  border-radius: 8px;
  padding: 8px;
  color: #38516e;
  background: #fff;
}

.page {
  max-width: 1180px;
  margin: auto;
  padding: 48px 22px 70px;
}

.hero,
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 34px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.7px;
  color: #36a69d;
  font-size: 11px;
  font-weight: 800;
  margin: 0 0 7px;
}

.hero h1,
.page-title h1 {
  font-size: 38px;
  line-height: 1.1;
  margin: 0;
  color: #243d5b;
  letter-spacing: -1.3px;
}

.muted {
  color: #788ba0;
}

.hero-mark {
  width: 78px;
  height: 78px;
  border-radius: 26px;
  background: #dff5f0;
  color: #32a89d;
  display: grid;
  place-items: center;
  font-size: 38px;
  font-weight: 800;
  box-shadow: 0 12px 28px #b7e4df55;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-bottom: 43px;
}

.stat {
  background: #fff;
  border: 1px solid #e6eef4;
  border-radius: 18px;
  padding: 21px 24px;
  box-shadow: 0 8px 22px #4568890d;
}

.stat strong {
  display: block;
  font-size: 30px;
  color: #2c5275;
}

.stat span {
  color: #7a8da1;
  font-size: 13px;
}

.stat.accent {
  background: #e9f8f5;
  border-color: #c9ece5;
}

.section {
  margin: 38px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 17px;
}

.section h2 {
  font-size: 22px;
  color: #2d4662;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(270px,1fr));
  gap: 16px;
}

.task-card {
  background: #fff;
  border: 1px solid #e3edf3;
  border-radius: 17px;
  padding: 20px;
  box-shadow: 0 9px 25px #4568890b;
  transition: .18s;
}

.task-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px #45688918;
}

.task-card h3 {
  font-size: 18px;
  margin: 13px 0 8px;
  color: #2a4968;
}

.task-card h3 a {
  color: inherit;
  text-decoration: none;
}

.task-card p {
  font-size: 14px;
  color: #73869a;
  min-height: 42px;
  margin: 0 0 15px;
}

.task-top,
.meta,
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.tree-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6c8a9d;
  font-weight: 800;
  margin-bottom: 12px;
}

.tree-node {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 34px;
}

.tree-node a {
  text-decoration: none;
  color: inherit;
}

.tree-branch {
  color: #8caab3;
  font-size: 18px;
  line-height: 1.2;
  width: 16px;
}

.tree-root strong,
.tree-current strong {
  display: block;
  color: #2f4d6b;
  font-size: 14px;
}

.tree-root a {
  padding: 8px 12px;
  border-radius: 10px;
  background: #e8f7f3;
  border: 1px solid #c8e9e1;
  min-width: 280px;
}

.tree-current {
  margin-left: 22px;
  border-left: 2px solid #cbdde5;
  padding: 8px 0 8px 14px;
}

.tree-current strong {
  font-weight: 750;
}

.tree-kind {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #4f9d91;
  font-weight: 800;
  margin-bottom: 2px;
}

.task-tree .tree-root strong {
  font-size: 18px;
  color: #1f2b38;
  font-weight: 850;
  line-height: 1.25;
}

.task-tree .tree-current strong,
.task-tree .tree-child strong {
  font-size: 14px;
  color: #4d7891;
  font-weight: 750;
  line-height: 1.3;
}

.task-tree .tree-child a {
  display: block;
  padding: 6px 10px;
  border-radius: 9px;
}

.task-tree .tree-root>span:last-child,
.task-tree .tree-root>a,
.task-tree .tree-current>span:last-child,
.task-tree .tree-child>a {
  display: block;
  flex: 1;
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  min-width: 0;
}

.task-tree .tree-child a:hover {
  background: transparent;
}

.task-tree .tree-current {
  border-radius: 9px;
  padding-right: 10px;
  margin-left: 10px;
  border-left: 0;
  padding: 5px 0 5px 0;
  background: transparent;
}

.task-tree .tree-current>span:last-child,
.task-tree .tree-child>a {
  background: transparent;
  border-color: transparent;
  transform: translateY(-2px);
}

.status,
.priority {
  font-size: 11px;
  border-radius: 99px;
  padding: 5px 9px;
  background: #e9f5fb;
  color: #4682a5;
  font-weight: 750;
}

.status-neu {
  background: #edf2f5;
  color: #607789;
}

.status-geplant {
  background: #eee9fb;
  color: #7659a6;
}

.status-zugewiesen {
  background: #e5f1fb;
  color: #3975a1;
}

.status-in-bearbeitung {
  background: #e5f7f1;
  color: #238871;
}

.status-wartet-auf-rueckmeldung {
  background: #fff1d9;
  color: #ad7418;
}

.status-rueckfrage-erhalten {
  background: #fce5ec;
  color: #b54668;
}

.status-geantwortet {
  background: #e2eefb;
  color: #416f9b;
}

.status-erledigt,
.status-fertiggestellt {
  background: #dff5e9;
  color: #258456;
}

.status-abgebrochen {
  background: #fbe5e5;
  color: #b34e4e;
}

.priority {
  background: #fff2d8;
  color: #b4771d;
}

.meta {
  color: #7b8da0;
  font-size: 12px;
  flex-wrap: wrap;
}

.progress {
  height: 7px;
  background: #edf3f5;
  border-radius: 99px;
  margin: 17px 0 7px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: #62c8b5;
}

.task-card small {
  font-size: 11px;
  color: #99a8b5;
}

.button {
  display: inline-block;
  border: 0;
  border-radius: 10px;
  background: #35aaa0;
  color: #fff;
  padding: 10px 15px;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 5px 12px #35aaa033;
}

.button:hover {
  background: #2d958d;
}

.button.secondary {
  background: #e5f5f2;
  color: #2e9089;
  box-shadow: none;
}

.empty,
.notice {
  border: 1px dashed #cbdde8;
  border-radius: 15px;
  padding: 23px;
  color: #7890a5;
  background: #fff;
}

.notice {
  border-style: solid;
  background: #fffbed;
  border-color: #f0dfaa;
  color: #8b7442;
  margin-bottom: 20px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.panel {
  background: #fff;
  border: 1px solid #e3edf3;
  border-radius: 17px;
  padding: 23px;
  box-shadow: 0 9px 25px #4568890b;
}

.panel h2 {
  font-size: 18px;
  margin: 0 0 18px;
}

.detail-row {
  padding: 13px 0;
  border-bottom: 1px solid #edf2f5;
  color: #8293a4;
  font-size: 13px;
}

.detail-row strong {
  color: #304b68;
}

.panel .button {
  margin-top: 19px;
}

.check {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #566f88;
}

.check-box.done {
  background: #52b9ac;
}

.event-dot {
  position: absolute;
  left: -28px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #5cc1b1;
  border: 3px solid #e1f5f1;
}

.event p {
  margin: 3px 0;
  color: #647b91;
}

.event small {
  font-size: 11px;
  color: #9aa9b6;
}

.back {
  display: block;
  margin-bottom: 15px;
}

.page-title {
  display: block;
}

.page-title h1 {
  margin-bottom: 8px;
}

.compact-header {
  margin-bottom: 22px;
}

.compact-header h1 {
  font-size: 32px;
  line-height: 1.1;
  margin: 0;
  color: #243d5b;
  letter-spacing: -1px;
}

.tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-bottom: 1px solid #e3edf3;
  margin-bottom: 28px;
  padding-bottom: 0;
}

.tabs a {
  white-space: nowrap;
  padding: 11px 14px;
  color: #71869a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 3px solid transparent;
}

.tabs a:hover,
.tabs a.active {
  color: #2f9d98;
  border-color: #62c8b5;
}

.table-section {
  margin: 0 0 30px;
}

.table-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.table-heading h2 {
  font-size: 19px;
  margin: 0;
  color: #2d4662;
}

.count {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: #e8f6f3;
  color: #329d95;
  font-size: 12px;
  font-weight: 800;
}

.task-table {
  background: #fff;
  border: 1px solid #e2edf3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 7px 18px #4568890b;
}

.task-row.task-main strong {
  font-weight: 850;
}

.task-row.task-subtask strong {
  font-weight: 700;
}

.task-kind {
  display: block !important;
  color: #2c9a68 !important;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin: 0 0 3px !important;
}

.task-subtask .task-kind {
  color: #b88618 !important;
}

.task-row:not(.table-head):last-child {
  margin-bottom: 0;
}

.task-row strong {
  display: block;
  color: #2f4d6b;
  font-size: 14px;
}

.task-row small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #91a0ae;
  margin-top: 2px;
}

.table-head {
  background: #f7fbfc;
  color: #92a1ad;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .7px;
  font-weight: 800;
  padding-top: 10px;
  padding-bottom: 10px;
}

.table-head span:last-child {
  visibility: hidden;
}

.task-row .status {
  display: inline-block;
  font-style: normal;
}

.due,
.responsible {
  color: #71869a;
  font-size: 12px;
}

.arrow {
  font-size: 25px;
  color: #9bb7bd;
  text-align: right;
}

.compact-empty {
  padding: 17px;
  font-size: 13px;
}

.timeline {
  position: relative;
  margin-left: 10px;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 4px 0;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #dceeea;
  display: none;
}

.event {
  position: relative;
  padding: 0;
  max-width: 78%;
}

.event-left {
  align-self: flex-start;
}

.event-right {
  align-self: flex-end;
}

.event-bubble {
  border: 1px solid #e1edf0;
  border-radius: 15px;
  padding: 12px 15px;
  background: #fff;
  box-shadow: 0 5px 14px #4568890b;
}

.event-right .event-bubble {
  background: #e8f7f3;
  border-color: #c9eae3;
  border-bottom-right-radius: 5px;
}

.event-left .event-bubble {
  border-bottom-left-radius: 5px;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.event-meta strong {
  font-size: 12px;
  color: #3d607b;
}

.event-meta small {
  font-size: 10px;
  color: #9aaab5;
}

.event-bubble p {
  margin: 0;
  color: #5e748a;
  font-size: 13px;
}

.event-type {
  display: inline-block;
  margin-top: 7px;
  border-radius: 99px;
  padding: 3px 7px;
  background: #f5e8c7;
  color: #9b7629;
  font-size: 10px;
  font-weight: 750;
}

.event-system {
  align-self: center;
  max-width: 86%;
}

.event-system .event-bubble {
  background: #f3f6f8;
  border-color: #dce5ea;
  border-radius: 10px;
  box-shadow: none;
  text-align: center;
}

.event-system .event-meta {
  justify-content: center;
}

.event-system .event-meta strong {
  color: #718391;
}

.event-system .event-bubble p {
  color: #748591;
  font-size: 12px;
}

.task-tab:hover,
.task-tab.active {
  color: #2f9d98;
  border-bottom-color: #62c8b5;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-nav-select {
  display: none !important;
}

.nav-select-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #58718d;
  font-size: 14px;
  font-weight: 650;
}

.nav-select {
  border: 1px solid #dce7ef;
  border-radius: 8px;
  padding: 7px 28px 7px 9px;
  color: #38516e;
  background: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav-more {
  position: relative;
}

.nav-more summary {
  list-style: none;
  cursor: pointer;
  color: #58718d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  padding: 0;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-more summary:after {
  content: "⌄";
  margin-left: 5px;
  font-size: 12px;
}

.nav-more-menu {
  position: absolute;
  top: 28px;
  left: -10px;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e2edf3;
  border-radius: 10px;
  padding: 7px;
  box-shadow: 0 10px 24px #45688920;
  z-index: 5;
}

.nav-more-menu a {
  display: block !important;
  padding: 9px 10px !important;
  border: 0 !important;
  border-radius: 7px;
}

.nav-more-menu a:hover,
.nav-more-menu a.active {
  background: #eef8f6;
}

.create-icon {
  display: grid !important;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(253, 180, 4, .78);
  color: #ffffff !important;
  font-size: 24px !important;
  line-height: 1;
  font-weight: 700 !important;
}

.create-plus{position:relative;display:block;width:20px;height:20px;font-size:0;line-height:1}
.create-plus::before,.create-plus::after{content:"";position:absolute;left:50%;top:50%;width:16px;height:3px;border-radius:2px;background:#ffffff;transform:translate(-50%,-50%)}
.create-plus::after{width:3px;height:16px}

.create-icon:hover {
  background: #e6a300;
}

@media (max-width:699px) {
  .topbar nav {
    order: 3;
    flex-basis: 100%;
  }

  .logo-brand img {
    display: block;
    width: auto;
    height: 38px;
    max-width: 58px;
    object-fit: contain;
  }

  .hero h1,
  .page-title h1 {
    font-size: 30px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .compact-header h1 {
    font-size: 28px;
  }

  .tabs {
    margin-left: -5px;
    margin-right: -5px;
  }

  .tabs a {
    padding: 10px 9px;
    font-size: 12px;
  }

  .task-row span:nth-child(2) {
    grid-column: 2;
  }

  .task-row span:nth-child(3) {
    grid-column: 1 / 3;
    grid-row: 2;
    font-size: 11px;
  }

  .task-row span:nth-child(4) {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .task-row small {
    max-width: 190px;
  }

  .task-row .status {
    font-size: 10px;
    padding: 4px 6px;
  }

  .due {
    color: #8093a4;
  }

  .communication-grid {
    grid-template-columns: 1fr;
  }
}

.form-card input,
.form-card textarea,
.form-card select,
.assign-form select,
.assign-form textarea,
.note-actions select {
  width: 100%;
  border: 1px solid #d9e6ed;
  border-radius: 9px;
  padding: 10px 11px;
  color: #38516e;
  background: #fff;
  font: inherit;
  font-weight: 400;
}

.form-card textarea {
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-actions,
.note-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.assign-form {
  border-top: 1px solid #edf2f5;
  margin-top: 20px;
  padding-top: 17px;
}

.assign-form label {
  margin-bottom: 10px;
}

.assign-form .button {
  width: 100%;
}

.note-actions select {
  flex: 1;
  min-width: 250px;
}

.note-actions .button {
  white-space: nowrap;
}

.communication-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.check-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
  font-weight: 500 !important;
  cursor: pointer;
}

.check-label input {
  width: 16px !important;
  height: 16px;
  accent-color: #35aaa0;
}

.form-hint {
  color: #8295a5;
  font-size: 12px;
  margin: 0 0 14px;
}

.question-label {
  background: #e5eef8;
  color: #4b7195;
}

.reply-label {
  background: #e2eefb;
  color: #416f9b;
}

footer {
  text-align: center;
  color: #9aacbb;
  font-size: 12px;
  padding: 18px;
  border-top: 1px solid #e5edf5;
  background: #fff;
}

@media (max-width:699px) {
  .member-manager-grid {
    grid-template-columns: 1fr;
  }

  .nav-more-menu {
    position: static !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 4px 0 0 !important;
  }

  .nav-more-menu a {
    padding: 8px 10px !important;
  }

  .create-icon {
    width: 34px;
    height: 34px;
    font-size: 25px !important;
  }
}

.member-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 8px 10px 8px 14px;
  background: #f7fbfc;
  border: 1px solid #dce9ef;
  border-radius: 12px;
  color: #38516e;
  box-shadow: 0 4px 10px #4568890a;
}

.member-row:hover {
  background: #eef8f6;
  border-color: #c8e9e1;
}

.member-row form {
  margin: 0;
}

.icon-button.remove-member {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #e8cfd2;
  border-radius: 9px;
  background: #fff5f5;
  color: #c76b72;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: .15s;
}

.icon-button.remove-member:hover {
  background: #fbe4e5;
  border-color: #dc9ba0;
  color: #ad4c55;
  transform: translateY(-1px);
}

.checklist-panel .section-heading {
  align-items: center;
}

.checklist-toggle {
  font-size: 12px;
  padding: 8px 11px;
}

.checklist-add-form {
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px;
  background: #f7fbfc;
  border: 1px solid #dce9ef;
  border-radius: 11px;
}

.checklist-add-form label {
  flex: 1;
  margin: 0;
}

.checklist-add-form input {
  width: 100%;
  margin-top: 5px;
  border: 1px solid #d9e6ed;
  border-radius: 9px;
  padding: 9px 10px;
  color: #38516e;
  background: #fff;
  font: inherit;
}

.checklist-add-form[hidden] {
  display: none;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checklist-items .check form {
  margin: 0;
}

.check-label-text {
  color: #566f88;
}

.check-done .check-label-text {
  text-decoration: line-through;
  color: #9aa9b6;
}

.check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  color: #fff;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  border: 2px solid #a8d9d1;
  cursor: pointer;
}

.check-box:hover {
  border-color: #52b9ac;
  background: #eef8f6;
}

.reopen-check-dialog {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(460px,calc(100% - 32px));
  box-shadow: 0 20px 60px #29465a40;
  color: #304b68;
}

.reopen-check-dialog::backdrop {
  background: #20384c66;
}

.reopen-check-dialog form {
  padding: 23px;
}

.reopen-check-dialog h3 {
  margin: 0 0 8px;
  color: #2d4662;
}

.reopen-check-dialog label {
  display: block;
  color: #566f88;
  font-size: 13px;
  font-weight: 700;
}

.reopen-check-dialog textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid #d9e6ed;
  border-radius: 9px;
  padding: 10px 11px;
  color: #38516e;
  background: #fff;
  font: inherit;
  resize: vertical;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 16px;
}

.checklist-event-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3d607b;
}

.checklist-event-text {
  margin: 0 !important;
  padding: 0 !important;
  color: #71869a !important;
  font-size: 12px !important;
  overflow-wrap: anywhere;
}

.reopen-check-button {
  cursor: pointer;
}

.latest-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #dceeea;
  border-radius: 12px;
  background: #f5fbfa;
  color: #607b8c;
  max-width: 699px;
}

.latest-note-icon {
  font-size: 18px;
}

.latest-note small {
  color: #7f96a5;
}

.latest-note p {
  margin: 3px 0 0;
  color: #466579;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.task-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.edit-task-form {
  margin-top: 14px;
  max-width: 699px;
}

.edit-task-form[hidden] {
  display: none;
}

.edit-task-form label {
  display: block;
  margin-bottom: 12px;
}

.event-bubble p,
.latest-note p {
  white-space: pre-wrap;
}

.note-tools[hidden] {
  display: none !important;
}

.note-tools .button {
  margin: 0;
}

.file-button {
  cursor: pointer;
}

.close-task-form {
  margin-top: 12px;
}

.complete-task-button {
  background: #3da86f;
}

.complete-task-button:hover {
  background: #318d5d;
}

.file-name {
  font-size: 12px;
  color: #71869a;
  overflow-wrap: anywhere;
}

.link-field {
  margin: 8px 0;
}

.link-field[hidden] {
  display: none;
}

.event-link {
  display: block;
  margin-top: 8px;
  color: #2e958d;
  text-decoration: none;
  font-size: 12px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.event-link:hover {
  text-decoration: underline;
}

.member-event-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #536f87;
  font-size: 13px;
}

.member-event-icon {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 24px;
  border-radius: 8px;
  background: #eef5fb;
  color: #477fa5;
  font-weight: 850;
  font-size: 15px;
}

[data-design="standard-plus"] .topbar nav a,
[data-design="standard-plus"] .text-link,
[data-design="standard-plus"] .back {
  font-size: 16px;
}

[data-design="standard-plus"] .brand {
  font-size: 27px;
}

[data-design="standard-plus"] .prototype {
  font-size: 13px;
}

[data-design="standard-plus"] .user-switch,
[data-design="standard-plus"] .design-switch {
  font-size: 14px;
}

[data-design="standard-plus"] .user-switch select,
[data-design="standard-plus"] .design-switch select,
[data-design="standard-plus"] .nav-select {
  font-size: 16px;
}

[data-design="standard-plus"] .hero h1,
[data-design="standard-plus"] .page-title h1 {
  font-size: 40px;
}

[data-design="standard-plus"] .compact-header h1 {
  font-size: 34px;
}

[data-design="standard-plus"] .eyebrow {
  font-size: 13px;
}

[data-design="standard-plus"] .section h2,
[data-design="standard-plus"] .panel h2 {
  font-size: 24px;
}

[data-design="standard-plus"] .task-card h3 {
  font-size: 20px;
}

[data-design="standard-plus"] .task-card p,
[data-design="standard-plus"] .event-bubble p,
[data-design="standard-plus"] .latest-note p {
  font-size: 15px;
}

[data-design="standard-plus"] .task-card small,
[data-design="standard-plus"] .event small {
  font-size: 13px;
}

[data-design="standard-plus"] .task-row,
[data-design="standard-plus"] .task-row strong {
  font-size: 15px;
}

[data-design="standard-plus"] .task-row small,
[data-design="standard-plus"] .due,
[data-design="standard-plus"] .responsible {
  font-size: 14px;
}

[data-design="standard-plus"] .status,
[data-design="standard-plus"] .priority {
  font-size: 13px;
}

[data-design="standard-plus"] .detail-row,
[data-design="standard-plus"] .form-card input,
[data-design="standard-plus"] .form-card textarea,
[data-design="standard-plus"] .form-card select,
[data-design="standard-plus"] .assign-form select,
[data-design="standard-plus"] .assign-form textarea {
  font-size: 15px;
}

[data-design="standard-plus"] .event-meta strong {
  font-size: 14px;
}

[data-design="standard-plus"] .event-meta small {
  font-size: 12px;
}

[data-design="standard-plus"] .event-link,
[data-design="standard-plus"] .event-type,
[data-design="standard-plus"] .form-hint {
  font-size: 14px;
}

[data-design="standard-plus"] .check-label-text,
[data-design="standard-plus"] .member-row,
[data-design="standard-plus"] .member-owner {
  font-size: 15px;
}

[data-design="standard-plus"] footer {
  font-size: 14px;
}

.design-switch {
  font-size: 12px;
  color: #8090a1;
  white-space: nowrap;
}

.design-switch select {
  border: 1px solid #dce7ef;
  border-radius: 8px;
  padding: 8px;
  color: #38516e;
  background: #fff;
  font: inherit;
}

.design-switch select:focus,
.user-switch select:focus {
  outline: 2px solid #8ad8ce;
  outline-offset: 1px;
}

.brand {
  font-size: 25px;
  font-weight: 800;
  color: #23466a;
  text-decoration: none;
  letter-spacing: -1px;
  white-space: nowrap;
}

.urgency-nicht-dringend {
  background: #eef1f3;
  border-color: #d8dfe3;
  color: #687783;
}

.urgency-nicht-dringend i {
  background: #8897a0;
  border-color: #8897a0;
}

.urgency-normal {
  background: #e5f6ed;
  border-color: #bfe7cf;
  color: #258456;
}

.urgency-normal i {
  background: #40ad70;
  border-color: #40ad70;
}

.urgency-sofort-erledigen {
  background: #fde7e7;
  border-color: #efb4b4;
  color: #bd4545;
}

.urgency-sofort-erledigen i {
  background: #dd5b5b;
  border-color: #dd5b5b;
}

@media (max-width:699px) {
  .urgency {
    font-size: 11px;
    padding: 5px 8px;
  }
}

.urgency i {
  background: transparent;
  display: grid;
  place-items: center;
  order: 2;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.urgency i:before {
  display: block;
}

.urgency-nicht-dringend i:before {
  content: "–";
  font-size: 18px;
}

.urgency-normal i:before {
  content: "●";
  font-size: 12px;
}

.urgency-dringend {
  background: #fff0d2;
  border-color: #edae54;
  color: #a95d08;
}

.urgency-dringend i {
  background: #ed941f;
  border-color: #ed941f;
}

.urgency-dringend i:before {
  content: "!";
  font-size: 16px;
}

.urgency-sofort-erledigen i:before {
  content: "⚡";
  font-size: 14px;
}

[data-design="standard-plus"] .urgency {
  width: 40px;
  height: 40px;
  padding: 5px;
  font-size: 0;
}

[data-design="standard-plus"] .urgency i {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  font-size: 18px;
}

[data-design="standard-plus"] .urgency-dringend i:before {
  font-size: 18px;
}

[data-design="standard-plus"] .urgency-sofort-erledigen i:before {
  font-size: 16px;
}

@media (max-width:699px) {
  .urgency,
  [data-design="standard-plus"] .urgency {
    width: 32px;
    height: 32px;
  }

  .urgency i,
  [data-design="standard-plus"] .urgency i {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }
}

.task-row.priority-nicht-dringend.task-main,
.task-row.priority-normal.task-main,
.task-row.priority-dringend.task-main,
.task-row.priority-sofort-erledigen.task-main {
  padding-left: 12px;
}

.task-row.priority-nicht-dringend.task-subtask,
.task-row.priority-normal.task-subtask,
.task-row.priority-dringend.task-subtask,
.task-row.priority-sofort-erledigen.task-subtask {
  padding-left: 12px;
}

.task-card.priority-nicht-dringend,
.task-card.priority-normal,
.task-card.priority-dringend,
.task-card.priority-sofort-erledigen {
  border-color: #d7e0e4;
}

.task-card.priority-dringend {
  border-color: #edc171;
}

.task-card.priority-sofort-erledigen {
  border-color: #e6a8a8;
}

.status:before {
  display: grid;
  place-items: center;
  order: 2;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.status-neu:before {
  content: "📦";
  font-size: 15px;
  background: #607789;
}

.status-geplant:before {
  content: "▦";
  font-size: 20px;
  background: #7659a6;
}

.status-zugewiesen:before {
  content: "●";
  font-size: 14px;
  background: #3975a1;
}

.status-in-bearbeitung:before {
  content: "⚙";
  font-size: 17px;
  background: #238871;
}

.status-wartet-auf-rueckmeldung:before {
  content: "⌛";
  font-size: 16px;
  background: #c48721;
}

.status-rueckfrage-erhalten:before {
  content: "💬";
  font-size: 15px;
  background: #b54668;
}

.status-geantwortet:before {
  content: "↩";
  font-size: 20px;
  background: #416f9b;
}

.status-erledigt:before,
.status-fertiggestellt:before {
  content: "✓";
  font-size: 17px;
  background: #258456;
}

.status-abgebrochen:before {
  content: "×";
  font-size: 21px;
  background: #b34e4e;
}

[data-design="standard-plus"] .status {
  width: 40px;
  height: 40px;
  padding: 5px;
}

[data-design="standard-plus"] .status:before {
  width: 28px;
  height: 28px;
  font-size: 18px;
}

[data-design="standard-plus"] .status-neu:before {
  font-size: 16px;
}

[data-design="standard-plus"] .status-geplant:before {
  font-size: 22px;
}

[data-design="standard-plus"] .status-in-bearbeitung:before {
  font-size: 19px;
}

[data-design="standard-plus"] .status-rueckfrage-erhalten:before {
  font-size: 17px;
}

@media (max-width:699px) {
  .status,
  [data-design="standard-plus"] .status {
    width: 32px;
    height: 32px;
  }

  .status:before,
  [data-design="standard-plus"] .status:before {
    width: 23px;
    height: 23px;
    font-size: 14px;
  }
}

.task-row .status,
.task-card .status {
  font-size: 0 !important;
  color: transparent !important;
  overflow: hidden;
}

.task-row .status:before,
.task-card .status:before {
  color: #fff !important;
}

.task-row>span:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
}

.task-row>span:nth-child(3):has(.status) {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
}

.task-row>span:nth-child(2) .status,
.task-row>span:nth-child(2) .urgency,
.task-row>span:nth-child(3) .status,
.task-row>span:nth-child(3) .urgency {
  display: inline-grid !important;
  flex: 0 0 34px;
  vertical-align: middle;
}

.detail-row>strong.status,
.detail-row>strong.urgency {
  display: inline-flex !important;
  align-items: center;
  width: auto;
  height: auto;
  min-height: 34px;
  padding: 4px 9px;
  border-radius: 9px;
  font-size: 13px !important;
  color: inherit !important;
  overflow: visible;
  box-shadow: none;
}

.detail-row>strong.status {
  gap: 8px;
}

.detail-row>strong.status .status-text,
.detail-row>strong.urgency .urgency-text {
  display: inline !important;
  font-size: 13px !important;
  color: inherit !important;
}

.detail-row>strong.urgency {
  gap: 8px;
}

.detail-row>strong.urgency i {
  flex: 0 0 24px;
}

.quick-change {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #edf2f5;
}

.quick-change-label {
  display: block;
  flex: 0 0 auto;
  color: #8293a4;
  font-size: 13px;
  margin-bottom: 0;
}

.quick-change form {
  min-width: 0;
  margin-left: auto;
}

.quick-current {
  width: auto !important;
  height: 34px !important;
  padding: 4px 10px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  font-size: 12px !important;
  color: inherit !important;
  cursor: pointer;
}

.quick-current .status-text,
.quick-current .urgency-text {
  display: inline !important;
  font-size: 12px !important;
  color: inherit !important;
  white-space: nowrap;
}

.quick-options[hidden] {
  display: none !important;
}

.quick-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.quick-options button {
  cursor: pointer;
}

.quick-options .status,
.quick-options .urgency {
  width: auto;
  height: 34px;
  min-width: 34px;
  padding: 4px 9px;
  font-size: 0 !important;
  display: inline-flex;
  justify-content: center;
  gap: 7px;
  opacity: .65;
  transition: .15s;
}

.quick-options .status-text,
.quick-options .urgency-text {
  display: inline !important;
  font-size: 12px !important;
  color: inherit !important;
  white-space: nowrap;
}

.quick-options .status:before {
  flex: 0 0 24px;
}

.quick-options .urgency i {
  flex: 0 0 24px;
}

.quick-options button:hover,
.quick-options button.selected {
  opacity: 1;
  outline: 2px solid #35aaa0;
  outline-offset: 1px;
}

@media (max-width:699px) {
  .quick-options .status,
  .quick-options .urgency {
    height: 32px;
    padding: 4px 7px;
  }

  .quick-options .status-text,
  .quick-options .urgency-text {
    font-size: 11px !important;
  }
}

.task-role {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  font-size: 18px;
  line-height: 1;
  background: #eef5fb;
  border: 1px solid #d7e7ef;
  box-shadow: 0 2px 5px #45688918;
  cursor: help;
}

.task-role-requester {
  background: #fff1d9;
  border-color: #f0d49e;
  font-size: 16px;
}

.task-role-assignee {
  background: #e5eefb;
  border-color: #c4d8ef;
}

.task-role-member {
  background: #e8f7f3;
  border-color: #c5e8df;
  font-size: 15px;
}

@media (min-width:700px) {
  .task-row>span:nth-child(3) .status,
  .task-row>span:nth-child(3) .urgency {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .task-row>span:nth-child(3) .status:before,
  .task-row>span:nth-child(3) .urgency i {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .task-row>span:nth-child(3) .task-role {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 20px;
  }

  .task-row>span:nth-child(3) .task-role-requester {
    font-size: 18px;
  }

  .task-row>span:nth-child(3) .task-role-member {
    font-size: 17px;
  }
}

.task-tree .tree-root strong,
.task-tree .tree-current strong,
.task-tree .tree-child strong {
  display: inline !important;
}

.task-tree .tree-root .tree-status,
.task-tree .tree-current .tree-status,
.task-tree .tree-child .tree-status {
  vertical-align: middle;
}

.task-tree .tree-status:before {
  color: #fff !important;
}

.task-tree .tree-status .status-text {
  display: none !important;
}

@media (min-width:700px) {
  .task-tree .tree-status {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    padding: 5px;
  }

  .task-tree .tree-status:before {
    width: 28px;
    height: 28px;
  }
}

@media (max-width:699px) {
  .task-role {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 17px;
  }
}

.detail-value-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: #2f9d98;
  font: inherit;
  font-weight: 750;
  text-align: right;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #9bd8d0;
  text-underline-offset: 3px;
}

.detail-value-link:hover {
  color: #247f79;
}

.assignment-inline-toggle[aria-expanded="true"] {
  color: #247f79;
}

.pending-question {
  margin-bottom: 16px;
  padding: 15px 16px;
  border: 1px solid #efb8c5;
  border-left: 5px solid #b54668;
  border-radius: 12px;
  background: #fff4f7;
  color: #5d4050;
}

.pending-question-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pending-question-title>span:first-child {
  font-size: 18px;
}

.pending-question-title strong {
  color: #9f3658;
  font-size: 15px;
}

.pending-question-badge {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 99px;
  background: #f8dbe3;
  color: #a13e5e;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .6px;
}

.pending-question p {
  margin: 8px 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: #684d5a;
  white-space: pre-wrap;
}

.pending-question-action {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid #f0d6dc;
}

.pending-question-action strong {
  color: #86304b;
  font-size: 12px;
}

.pending-question-action span {
  color: #8f6170;
  font-size: 12px;
}

.communication-event-heading {
  color: #486a80;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.25;
}

.communication-event-heading strong {
  color: #2f526b;
}

.communication-event-divider {
  height: 1px;
  background: #dce9ee;
  margin: 8px 0 9px;
}

.communication-event-heading+.communication-event-divider+p {
  margin: 0;
  white-space: pre-wrap;
}

.dashboard-tabs {
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid #dfeaf0;
  margin: 0 0 28px;
  padding: 0 2px;
}

.dashboard-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 11px 15px;
  color: #71869a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  border-bottom: 3px solid transparent;
  border-radius: 8px 8px 0 0;
}

.dashboard-tabs a:hover {
  color: #2f9d98;
  background: #f2faf8;
}

.dashboard-tabs a.active {
  color: #247f79;
  background: #eef8f6;
  border-bottom-color: #35aaa0;
}

.dashboard-tab-count {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 99px;
  background: #f8dbe3;
  color: #a13e5e;
  font-size: 10px;
  font-weight: 850;
}

@media (max-width:699px) {
  .dashboard-tabs {
    margin-left: -5px;
    margin-right: -5px;
    margin-bottom: 22px;
    scrollbar-width: none;
  }

  .dashboard-tabs::-webkit-scrollbar {
    display: none;
  }

  .dashboard-tabs a {
    padding: 10px 12px;
    font-size: 12px;
  }
}

.communication-view {
  margin: 0 auto;
  max-width: 900px;
}

.communication-view-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.communication-view-heading h2 {
  margin: 0;
  color: #2d4662;
  font-size: 24px;
}

.communication-view-heading .muted {
  margin: 4px 0 0;
  font-size: 13px;
}

.communication-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.communication-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0ebf0;
  border-left: 5px solid #b54668;
  border-radius: 15px;
  text-decoration: none;
  color: #38516e;
  box-shadow: 0 7px 18px #4568890b;
  transition: .15s;
}

.communication-card:hover {
  transform: translateY(-1px);
  border-color: #c9e3e8;
  box-shadow: 0 10px 23px #45688918;
}

.communication-card-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.communication-card-label {
  color: #2f9d98 !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.communication-card-main strong {
  color: #2f4d6b;
  font-size: 17px;
  line-height: 1.3;
}

.communication-card-subtask {
  color: #71869a !important;
  font-size: 12px !important;
  margin-top: 3px;
}

.communication-card-question {
  color: #536f87 !important;
  font-size: 13px !important;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.communication-card-side {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 9px;
  flex: 0 0 auto;
}

.communication-card-side strong {
  color: #486a80;
  font-size: 12px;
  white-space: nowrap;
}

.communication-card-side .status {
  font-style: normal;
}

.sent-questions-section .communication-card {
  border-left-color: #6386a4;
}

.sent-questions-section .communication-card-side .status {
  background: #e5eef8;
}

.sent-questions-section .communication-card-side .status:before {
  background: #416f9b;
}

@media (max-width:699px) {
  .communication-view-heading h2 {
    font-size: 21px;
  }

  .communication-card {
    align-items: flex-start;
    padding: 15px;
    gap: 12px;
  }

  .communication-card-main strong {
    font-size: 15px;
  }

  .communication-card-side {
    align-items: flex-end;
  }

  .communication-card-side strong {
    white-space: normal;
    text-align: right;
    max-width: 120px;
  }

  .communication-card-question {
    max-width: calc(100vw - 90px);
  }
}

.completion-readonly .task-actions,
.completion-readonly .quick-change,
.completion-readonly .assignment-inline-toggle,
.completion-readonly .assign-form,
.completion-readonly .checklist-toggle,
.completion-readonly .checklist-add-form,
.completion-readonly .checklist-panel form:not(#reopen-check-form),
.completion-readonly .member-manager form {
  display: none !important;
}

.completion-readonly .task-tabs .task-tab:not([data-tab="overview"]):not([data-tab="history"]) {
  display: none;
}

.completion-readonly .detail-value-link {
  pointer-events: none;
  color: inherit;
  text-decoration: none;
}

.completion-readonly .detail-grid {
  grid-template-columns: 1fr;
}

.completion-readonly .completion-confirmation {
  margin-top: 20px;
}

.completion-confirm-actions textarea {
  display: block;
  min-height: 150px;
  width: min(620px,100%);
  padding: 16px 18px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  resize: vertical;
}

.completion-confirm-actions form:last-child {
  flex: 1;
  min-width: min(620px,100%);
}

.nav-icon {
  display: inline-block;
  font-size: 1.05em;
  line-height: 1;
  margin-right: 4px;
  vertical-align: -.08em;
}

.communication-heading-icon {
  display: inline-block;
  font-size: .9em;
  line-height: 1;
  margin-right: 8px;
  vertical-align: -.08em;
}

.status,
.urgency,
.task-role {
  transform: scale(1);
  transform-origin: center;
  position: relative;
  z-index: 1;
}

.hero-mark,
.checklist-event-icon,
.member-event-icon,
.latest-note-icon,
.pending-question-title>span:first-child,
.tree-branch {
  transform: scale(1.25);
  transform-origin: center;
}

.task-row>span:nth-child(3) {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 34px;
  gap: 16px !important;
}

.task-row {
  display: grid;
  align-items: center;
  gap: 15px;
  padding: 14px 16px;
  border-bottom: 1px solid #edf2f5;
  color: #3c5872;
  text-decoration: none;
  font-size: 13px;
  grid-template-columns: minmax(220px,2fr) minmax(130px,1fr) 190px 25px;
}

@media (max-width:699px) {
  .task-row {
    gap: 7px;
    padding: 6px 12px;
    grid-template-columns: minmax(0,1fr) 112px 20px;
  }
}

html[data-design="standard"] .status,
html[data-design="standard"] .urgency,
html[data-design="standard"] .task-role,
html[data-design="standard"] .hero-mark,
html[data-design="standard"] .checklist-event-icon,
html[data-design="standard"] .member-event-icon,
html[data-design="standard"] .latest-note-icon,
html[data-design="standard"] .pending-question-title>span:first-child,
html[data-design="standard"] .tree-branch {
  transform: scale(1);
}

@media (max-width:699px) {
  .mobile-nav-select {
    display: none !important;
  }

  .main-nav {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
  }

  .overview-link,
  .desktop-nav-links a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    border-radius: 9px;
    background: #f2faf8;
    font-size: 0 !important;
    line-height: 1;
  }

  .overview-link.active,
  .desktop-nav-links a.active {
    background: #dff5f0;
  }

  .nav-item-label {
    display: none !important;
  }

  .nav-item-icon {
    display: inline-block !important;
    font-size: 20px !important;
    line-height: 1;
  }

  .desktop-nav-links {
    display: flex !important;
    align-items: center;
    gap: 6px !important;
  }

  .desktop-nav-links a:nth-child(4)::before {
    content: "❓";
    font-size: 20px;
  }

  .desktop-nav-links a:nth-child(5)::before {
    content: "✅";
    font-size: 20px;
  }

  .desktop-nav-links a:nth-child(6)::before {
    content: "🗄️";
    font-size: 20px;
  }

  .desktop-nav-links a:nth-child(7)::before {
    content: "🧺";
    font-size: 20px;
  }

  .create-link.create-icon {
    width: 34px;
    height: 34px;
    margin-left: auto;
    font-size: 25px !important;
  }
}

@media (max-width:699px) {
  .status,
  .urgency,
  .task-role {
    transform: scale(1);
    transform-origin: center;
  }

  .hero-mark,
  .checklist-event-icon,
  .member-event-icon,
  .latest-note-icon,
  .pending-question-title>span:first-child,
  .tree-branch {
    transform: scale(1);
  }
}

.task-dates {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
  margin-top: 7px;
  line-height: 1.25;
}

.task-created,
.task-due {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
}

.task-created {
  white-space: nowrap;
}

.task-due {
  white-space: nowrap;
}

@media (max-width:699px) {
  .task-row>span:first-child .task-dates {
    margin-top: 2px;
    line-height: 1.1;
  }

  .task-row>span:first-child .task-dates small {
    margin-top: 0;
  }
}

.task-tabs .task-tab {
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 750 !important;
}

.task-tabs .task-tab>span:not(.custom-icon) {
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 750 !important;
}

@media (min-width:700px) {
  .task-row {
    grid-template-columns: minmax(300px,2.5fr) minmax(180px,1.2fr) 190px 25px;
    font-size: 14px;
  }

  .task-row strong {
    font-size: 15px;
  }

  .task-row small,
  .task-row .responsible,
  .task-row .due {
    font-size: 13px;
  }

  .task-row.table-head {
    font-size: 12px;
  }
}

.task-due-detail {
  margin: .35rem 0 0;
  color: var(--muted);
  font-size: .95rem;
}

.task-due-detail strong {
  color: var(--ink);
}

.task-tree-main .tree-child-completed strong {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #7f95a3;
  color: #8a9aa6 !important;
}

.task-tree-main .tree-child-completed {
  opacity: .82;
}

.task-tree {
  border: 1px solid #dce9ef;
  border-radius: 16px;
  box-shadow: 0 7px 18px #4568890b;
  background: #f6fbfd;
  border-color: #cfe3ea;
  padding: 9px 10px;
  margin-bottom: 12px;
}

.task-tree .tree-child {
  margin-left: 10px;
  min-height: 20px;
}

.task-tree .tree-branch {
  transform: scale(1.125);
}

.task-tree-main .tree-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #54708b;
  border-radius: 6px;
  cursor: pointer;
}

.task-tree-main .tree-toggle:hover,
.task-tree-main .tree-toggle:focus-visible {
  background: #e4f0f5;
  color: #2d7fb5;
}

.task-tree-main .tree-toggle .tree-branch {
  transform: none !important;
  margin: 0;
  font-size: 22px;
  line-height: 1;
}

.task-tree-main .tree-children[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.task-tree .tree-status {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
  transform: none !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  flex: 0 0 26px !important;
  padding: 0 !important;
}

.task-tree .tree-node {
  gap: 1.6px !important;
  min-height: 22px;
}

.task-tree .tree-child>a {
  padding: .8px 0 !important;
  gap: 1.6px;
}

.task-tree .tree-kind {
  display: none;
  margin-right: 2.4px;
}

.task-tree .tree-root>span,
.task-tree .tree-current>span,
.task-tree .tree-child>a {
  line-height: 1.15;
}

@media (min-width:700px) {
  body:has(.hero) {
    background: #f4f8fb;
  }

  body:has(.hero) .page {
    display: grid;
    grid-template-columns: minmax(0,1.35fr) minmax(320px,1fr);
    gap: 34px 28px;
    max-width: 1320px;
    padding-top: 44px;
  }

  body:has(.hero) .page>.hero {
    grid-column: 1 / -1;
    margin: 0 0 8px;
    align-items: flex-end;
  }

  body:has(.hero) .hero h1 {
    font-size: 46px;
    letter-spacing: -1.8px;
  }

  body:has(.hero) .hero .muted {
    margin: 10px 0 0;
    font-size: 16px;
  }

  body:has(.hero) .hero-mark {
    width: auto;
    height: auto;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #607789;
    font-size: 0;
    transform: none;
  }

  body:has(.hero) .hero-mark::before {
    content: "−  Unwichtig    ●  Normal    !  Wichtig    ⚡  Dringend";
    display: block;
    padding: 11px 15px;
    border: 1px solid #dce8ee;
    border-radius: 12px;
    background: #fff;
    color: #607789;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .15px;
    word-spacing: 3px;
    box-shadow: 0 6px 18px #4568890b;
  }

  body:has(.hero) .page>.section {
    min-width: 0;
    margin: 0;
  }

  body:has(.hero) .page>.section:nth-child(1 of .section) {
    grid-column: 1;
  }

  body:has(.hero) .page>.section:nth-child(2 of .section) {
    grid-column: 2;
  }

  body:has(.hero) .page>.section:nth-child(3 of .section) {
    grid-column: 1 / -1;
  }

  body:has(.hero) .section-heading {
    align-items: center;
    margin-bottom: 14px;
  }

  body:has(.hero) .section h2 {
    font-size: 21px;
    letter-spacing: -.35px;
  }

  body:has(.hero) .count {
    min-width: 23px;
    height: 23px;
    font-size: 11px;
  }

  body:has(.hero) .page>.section .task-table {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body:has(.hero) .page>.section .task-row.table-head {
    display: none;
  }

  body:has(.hero) .page>.section .task-row:not(.table-head) {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto 22px;
    grid-template-rows: auto 1fr auto;
    gap: 16px 12px;
    margin: 0;
    padding: 22px 22px 18px;
    border: 1px solid #dce6eb;
    border-left: 4px solid #355c7a;
    border-radius: 16px;
    box-shadow: 0 9px 24px #45688914;
    transition: transform .18s ease,box-shadow .18s ease,border-color .18s ease;
  }

  body:has(.hero) .page>.section .task-row:not(.table-head):hover {
    z-index: 2;
    transform: translateY(-2px);
    border-color: #c4d8e1;
    box-shadow: 0 14px 30px #45688920;
  }

  body:has(.hero) .page>.section .task-row.task-subtask {
    border-left: 4px dashed #355c7a;
  }

  body:has(.hero) .page>.section .task-row.priority-nicht-dringend {
    background: #f1f3f5;
  }

  body:has(.hero) .page>.section .task-row.priority-normal {
    background: #eaf8ef;
  }

  body:has(.hero) .page>.section .task-row.priority-dringend {
    background: #fff2d8;
    border-color: #ecd39f;
    border-left-color: #355c7a;
  }

  body:has(.hero) .page>.section .task-row.priority-sofort-erledigen {
    background: #fde9e9;
    border-color: #efc3c3;
    border-left-color: #355c7a;
  }

  body:has(.hero) .page>.section .task-row.task-subtask.priority-nicht-dringend,
  body:has(.hero) .page>.section .task-row.task-subtask.priority-normal,
  body:has(.hero) .page>.section .task-row.task-subtask.priority-dringend,
  body:has(.hero) .page>.section .task-row.task-subtask.priority-sofort-erledigen {
    border-left-color: #355c7a;
  }

  body:has(.hero) .page>.section .task-row>span:first-child {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    align-self: start;
  }

  body:has(.hero) .page>.section .task-row>span:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    align-items: center;
    align-self: end;
    min-height: 42px;
    max-width: none;
    padding-top: 13px;
    border-top: 1px solid #ffffffb8;
    color: #496783;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
  }

  body:has(.hero) .page>.section .task-row>span:nth-child(2)::before {
    content: "";
    width: 30px;
    height: 30px;
    margin-right: 9px;
    border: 1px solid #cfdee6;
    border-radius: 50%;
    background-color: #f5f9fb;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233d617f' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm-7 8a7 7 0 0 1 14 0v1H5v-1Z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 17px;
  }

  body:has(.hero) .page>.section .task-row>span:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    width: auto;
    min-width: 0;
    min-height: 40px;
    align-items: center;
    justify-content: flex-end;
    align-self: start;
    gap: 10px !important;
  }

  body:has(.hero) .page>.section .task-row>span:nth-child(4) {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }

  body:has(.hero) .page>.section .task-row strong {
    color: #183b62;
    font-size: 17px;
    line-height: 1.35;
  }

  body:has(.hero) .page>.section .task-row small {
    max-width: none;
    margin-top: 5px;
    color: #66809a;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.45;
  }

  body:has(.hero) .page>.section .task-kind {
    margin-bottom: 7px !important;
    color: #b27a0f !important;
    font-size: 9px !important;
  }

  body:has(.hero) .page>.section .status,
  body:has(.hero) .page>.section .urgency,
  body:has(.hero) .page>.section .task-role {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    transform: none;
  }

  body:has(.hero) .page>.section .status::before,
  body:has(.hero) .page>.section .urgency i {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  body:has(.hero) .page>.section .task-role {
    position: relative;
    color: transparent;
    font-size: 0;
    background: #f4f9fb;
  }

  body:has(.hero) .page>.section .task-role::before {
    content: "";
    width: 22px;
    height: 22px;
    background: #167d91;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }

  body:has(.hero) .page>.section .task-role-requester::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5V3h6v2h4a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h4Zm2 0h2V4h-2v1Zm-6 6v7h14v-7l-7 3-7-3Zm14-4H5v2l7 3 7-3V7Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5V3h6v2h4a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h4Zm2 0h2V4h-2v1Zm-6 6v7h14v-7l-7 3-7-3Zm14-4H5v2l7 3 7-3V7Z'/%3E%3C/svg%3E");
  }

  body:has(.hero) .page>.section .task-role-assignee::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4 0-7 2-7 5v2h9.4A7 7 0 0 1 11 18c0-1.8.7-3.4 1.8-4.7A13 13 0 0 0 9 13Zm9-1 5 2v4c0 3.2-2.1 5.2-5 6-2.9-.8-5-2.8-5-6v-4l5-2Zm0 2.2L15 15.4V18c0 2 1.2 3.2 3 3.9 1.8-.7 3-1.9 3-3.9v-2.6l-3-1.2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4 0-7 2-7 5v2h9.4A7 7 0 0 1 11 18c0-1.8.7-3.4 1.8-4.7A13 13 0 0 0 9 13Zm9-1 5 2v4c0 3.2-2.1 5.2-5 6-2.9-.8-5-2.8-5-6v-4l5-2Zm0 2.2L15 15.4V18c0 2 1.2 3.2 3 3.9 1.8-.7 3-1.9 3-3.9v-2.6l-3-1.2Z'/%3E%3C/svg%3E");
  }

  body:has(.hero) .page>.section .task-role-member::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm8-1a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM8 14c-4.4 0-7 2.2-7 5v1h14v-1c0-2.8-2.6-5-7-5Zm8-1c-.8 0-1.6.1-2.2.3 2 1.2 3.2 3 3.2 5.2V20h6v-1c0-3.4-2.5-6-7-6Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm8-1a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM8 14c-4.4 0-7 2.2-7 5v1h14v-1c0-2.8-2.6-5-7-5Zm8-1c-.8 0-1.6.1-2.2.3 2 1.2 3.2 3 3.2 5.2V20h6v-1c0-3.4-2.5-6-7-6Z'/%3E%3C/svg%3E");
  }

  body:has(.hero) .page>.section:nth-child(1 of .section) .task-row:not(.table-head) {
    min-height: 252px;
  }

  body:has(.hero) .page>.section:nth-child(2 of .section) .empty,
  body:has(.hero) .page>.section:nth-child(2 of .section) .compact-empty {
    display: grid;
    min-height: 252px;
    place-items: center;
    padding: 34px;
    border: 1px dashed #c7d9e3;
    border-radius: 16px;
    background: #ffffffb8;
    color: #66809a;
    text-align: center;
    box-shadow: 0 9px 24px #4568890a;
  }

  body:has(.hero) .page>.section:nth-child(2 of .section) .empty::before,
  body:has(.hero) .page>.section:nth-child(2 of .section) .compact-empty::before {
    content: "◯ ◯";
    display: block;
    margin-bottom: -70px;
    color: #8da7c7;
    font-size: 28px;
    letter-spacing: -8px;
  }

  body:has(.hero) .page>.section:nth-child(3 of .section) .task-table {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
  }

  body:has(.hero) .page>.section:nth-child(3 of .section) .task-row:not(.table-head) {
    min-height: 278px;
  }
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width:699px) {
  body {
    padding-bottom: 68px;
  }

  .user-switch {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    margin-left: auto;
    font-size: 11px;
    line-height: 1;
  }

  .user-switch::before {
    display: none;
  }

  .user-switch select {
    width: auto;
    height: 34px;
    margin-left: 0;
    padding: 6px 8px;
    border: 1px solid #dce7ef;
    border-radius: 8px;
    background: #fff;
    color: #38516e;
    opacity: 1;
    cursor: pointer;
  }

  .page {
    padding-top: 30px;
    max-width: none;
    padding: 24px 14px 92px;
  }

  .compact-header,
  .page-title {
    margin-bottom: 22px;
    align-items: flex-start;
    gap: 12px;
  }

  .compact-header h1,
  .page-title h1 {
    font-size: 29px;
    line-height: 1.12;
    letter-spacing: -.7px;
  }

  .compact-header .muted,
  .page-title .muted {
    margin-top: 7px;
    color: #61758a;
    font-size: 14px;
    line-height: 1.4;
  }

  .section {
    margin: 24px 0;
  }

  .table-section {
    margin: 24px 0;
  }

  .table-heading {
    margin-bottom: 10px;
    gap: 5px;
  }

  .table-heading h2 {
    font-size: 19px;
    line-height: 1.2;
  }

  .count {
    min-width: 22px;
    height: 22px;
    margin-left: 2px;
    font-size: 11px;
  }

  .task-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .task-row.table-head {
    display: none;
  }

  .task-row:not(.table-head) {
    margin-bottom: 4px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 44px;
    grid-template-rows: auto auto auto;
    gap: 7px 6px;
    min-height: 0;
    margin: 0;
    padding: 14px 12px 12px;
    border-radius: 13px;
    box-shadow: 0 5px 16px #45688912;
  }

  .task-row:not(.table-head):hover {
    transform: none;
  }

  .task-row>span:first-child {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    align-self: start;
    text-align: left;
  }

  .task-row>span:first-child strong {
    display: block;
    order: 1;
    min-width: 0;
    color: #183b62;
    font-size: 17px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .task-row>span:first-child .task-kind {
    order: 0;
    max-width: 100%;
    margin: 0 0 4px;
    color: #637b91;
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .task-row .task-kind:empty {
    display: none;
  }

  .task-row>span:first-child .task-due {
    order: 2;
    margin-top: 7px;
    color: #526b83;
    font-size: .78rem;
    line-height: 1.25;
  }

  .task-row>span:first-child small:not(.task-kind):not(.task-due):not(.latest-task-info) {
    order: 3;
    display: -webkit-box;
    max-width: 100%;
    margin-top: 7px;
    color: #5f7488;
    font-size: .82rem;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .task-row>span:first-child .latest-task-info {
    order: 4;
    display: block;
    max-width: 100%;
    margin-top: 5px;
    color: #60788d;
    font-size: .74rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .task-row>span:nth-child(2) {
    justify-content: flex-end;
    align-self: start;
    grid-column: 1 / -1;
    grid-row: 2;
    display: block;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    color: #4f687f;
    font-size: .82rem;
    line-height: 1.3;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .task-row>span:nth-child(2)::before {
    display: none;
  }

  .task-row>span:nth-child(3) {
    align-self: start;
    grid-column: 1;
    grid-row: 3;
    display: flex;
    width: auto;
    min-width: 0;
    min-height: 40px;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
    gap: 2px !important;
    flex-wrap: nowrap;
  }

  .task-row>span:nth-child(3) .status,
  .task-row>span:nth-child(3) .urgency,
  .task-row>span:nth-child(3) .task-role {
    width: 40px;
    height: 40px;
    min-width: 40px;
    flex: 0 0 40px;
    transform: none;
  }

  .task-row>span:nth-child(3) .status::before,
  .task-row>span:nth-child(3) .urgency i {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .task-row>span:nth-child(3) .urgency-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .task-row>span:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    align-self: center;
    justify-self: end;
    font-size: 26px;
    line-height: 1;
  }

  .responsible {
    font-size: 11px;
    text-align: right;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .empty,
  .compact-empty {
    min-height: 52px !important;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: .82rem;
    line-height: 1.25;
  }

  .member-only-section .empty,
  .member-only-section .compact-empty {
    min-height: 52px !important;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    height: 64px;
    padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid #dce7ef;
    background: #fffffffa;
    box-shadow: 0 -5px 18px #45688918;
  }

  .mobile-bottom-nav a {
    display: flex;
    min-width: 0;
    min-height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    border-radius: 10px;
    color: #58718d;
    text-decoration: none;
    font-size: 19px;
    line-height: 1;
  }

  .mobile-bottom-nav a small {
    font-size: 10px;
    font-weight: 750;
    line-height: 1.1;
  }

  .mobile-bottom-nav .nav-count {
    min-width: 16px;
    height: 16px;
    margin-left: 3px;
    padding: 0 3px;
    font-size: 9px;
    vertical-align: middle;
  }

  .mobile-bottom-nav a.active {
    background: #e8f7f4;
    color: #187f7b;
  }

  .mobile-bottom-nav a:focus-visible {
    outline: 3px solid #2f9d98;
    outline-offset: -2px;
  }
}

@media (max-width:699px) {
  .mobile-more {
    position: relative;
    display: flex;
    height: 54px;
    min-width: 0;
    align-items: stretch;
  }

  .mobile-more-toggle {
    width: 100%;
    height: 54px;
  }

  .mobile-bottom-nav a,
  .mobile-more-toggle {
    display: flex;
    min-width: 0;
    min-height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    border: 0;
    border-radius: 10px;
    color: #58718d;
    background: transparent;
    text-decoration: none;
    font: inherit;
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-bottom-nav a small,
  .mobile-more-toggle small {
    font-size: 10px;
    font-weight: 750;
    line-height: 1.1;
  }

  .mobile-more-toggle[aria-expanded="true"],
  .mobile-more-toggle:focus-visible {
    background: #e8f7f4;
    color: #187f7b;
  }

  .mobile-more-menu {
    position: absolute;
    right: -5px;
    bottom: 59px;
    display: flex;
    min-width: 220px;
    flex-direction: column;
    gap: 3px;
    padding: 8px;
    border: 1px solid #dce7ef;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 28px #4568892b;
  }

  .mobile-more-menu[hidden] {
    display: none !important;
  }

  .mobile-more-menu a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 11px;
    border-radius: 9px;
    color: #38516e;
    background: #f7fbfc;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }

  .mobile-more-menu a:hover,
  .mobile-more-menu a:focus-visible {
    background: #e8f7f4;
    color: #187f7b;
  }

  .mobile-more-menu .nav-item-label {
    display: inline !important;
  }
}

@media (max-width:699px) {
  .topbar .main-nav {
    left: auto;
    right: auto;
    display: none !important;
    position: static !important;
  }

  .topbar>div:first-child {
    display: flex;
    position: static;
    width: auto;
    flex: 0 0 auto;
  }

  .topbar .logo-brand img {
    display: block;
    height: 38px;
    max-width: 58px;
  }

  .topbar .user-switch {
    display: flex;
    align-items: center;
    margin-left: auto;
    font-size: 11px;
  }

  .topbar .user-switch::before {
    display: none;
  }

  .topbar .user-switch select {
    width: auto;
    height: 34px;
    margin-left: 0;
    padding: 6px 8px;
    border: 1px solid #dce7ef;
    border-radius: 8px;
    background: #fff;
    color: #38516e;
    opacity: 1;
  }
}

.task-tabs {
  border-bottom: 1px solid #dfeaf0;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
  margin: 22px 0 18px;
  padding: 7px;
  border: 1px solid #dce8ef;
  border-radius: 18px;
  background: linear-gradient(135deg,#f7fbfd,#eef7f7);
  box-shadow: 0 6px 18px rgba(47,79,96,.08);
}

.task-tab {
  border-bottom: 3px solid transparent;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #526b80;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease;
}

.task-tab:hover,
.task-tab:focus-visible {
  color: #176f78;
  background: #e3f3f2;
  outline: none;
}

.task-tab:active {
  transform: translateY(1px);
}

.task-tab.active {
  color: #fff;
  background: linear-gradient(135deg,#238e88,#176f78);
  box-shadow: 0 6px 14px rgba(24,127,123,.24);
}

.task-tab[aria-selected="true"] {
  color: #fff;
}

.task-tab-panel[hidden] {
  display: none !important;
}

.communication-section {
  max-width: 920px;
  margin-inline: auto;
}

.history-section,
.member-section {
  max-width: 1080px;
  margin-inline: auto;
}

@media (max-width:699px) {
  .task-tab {
    min-height: 44px;
    padding: 7px 5px;
    border-radius: 11px;
    font-size: 12px;
    gap: 4px;
  }

  .task-tab span {
    white-space: nowrap;
  }
}

.task-tab[data-tab="history"] span {
  font-size: 16px;
}

@media (max-width:699px) {
  .task-tab[data-tab="history"] span {
    font-size: 14px;
  }
}

.communication-action-button:active {
  transform: translateY(1px);
}

.communication-action-button span {
  white-space: nowrap;
}

.communication-action-select {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.note-tools .file-button {
  cursor: pointer;
}

@media (max-width:699px) {
  .task-tabs .task-tab>span:not(.custom-icon),
  .communication-action-button>span:not(.custom-icon) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .task-tabs .task-tab>.custom-icon {
    font-size: 20px;
    margin: 0;
  }
}

.task-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.task-title-row h1 {
  min-width: 0;
  margin: 0;
}

.task-title-row .task-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  margin: 0;
}

.task-title-row .task-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.task-action-icon {
  line-height: 1;
}

@media (max-width:699px) {
  .task-title-row {
    align-items: flex-start;
    gap: 8px;
  }

  .task-title-row .task-actions {
    gap: 6px;
  }

  .task-title-row .task-actions .button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    font-size: 19px;
  }

  .task-title-row .task-action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .task-title-row h1 {
    font-size: clamp(1.4rem,6vw,2rem);
    line-height: 1.15;
  }
}

.communication-section .section-heading {
  margin-bottom: 12px;
}

.note-form {
  max-width: none;
  border: 1px solid #dce8ee;
  border-radius: 22px;
  background: linear-gradient(145deg,#ffffff 0%,#f7fcfd 100%);
  box-shadow: 0 10px 28px rgba(33,70,94,.08);
  padding: 18px;
}

#communication-message-label {
  display: block;
  margin: 0;
  color: #36536b;
  font-weight: 400;
}

#communication-message-label textarea {
  display: block;
  width: 100%;
  min-height: 124px;
  margin-top: 7px;
  padding: 14px 15px;
  border: 1px solid #d4e3ea;
  border-radius: 15px;
  background: #fff;
  color: #24334b;
  font: inherit;
  font-weight: 400;
  line-height: 1.5;
  resize: vertical;
  box-shadow: inset 0 1px 2px rgba(40,70,90,.04);
  transition: border-color .15s ease,box-shadow .15s ease;
}

#communication-message-label textarea::placeholder {
  color: #91a4b1;
}

#communication-message-label textarea:focus {
  border-color: #45a9ad;
  outline: none;
  box-shadow: 0 0 0 4px rgba(69,169,173,.14);
}

.note-tools .note-tool:hover,
.note-tools .file-button:hover,
.note-tools .note-tool:focus-visible,
.note-tools .file-button:focus-visible {
  border-color: #50aeb1;
  background: #effafa;
  color: #167d82;
  outline: none;
}

.note-tools .file-name {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.note-form>.button[type="submit"] {
  margin-top: 16px;
  min-height: 46px;
  border-radius: 13px;
  padding-inline: 20px;
  box-shadow: 0 5px 12px rgba(35,142,136,.18);
}

@media (max-width:699px) {
  .communication-section .section-heading {
    margin-bottom: 8px;
  }

  .note-form {
    padding: 10px;
    border-radius: 16px;
  }

  .communication-action-button span {
    display: block;
    line-height: 1.1;
  }

  #communication-message-label textarea {
    min-height: 92px;
    margin-top: 5px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .note-form>.button[type="submit"] {
    width: 100%;
    min-height: 42px;
    margin-top: 10px;
    padding-block: 8px;
  }
}

.communication-action-button[data-action="note"].is-active {
  background: #239482;
}

.communication-action-button[data-action="private_note"].is-active {
  background: #8068b8;
}

.communication-action-button[data-action="reply"].is-active {
  background: #397fc1;
}

.communication-action-button[data-action="question"].is-active {
  background: #168eaa;
}

.communication-action-button[data-action="complete"].is-active {
  background: #2f9465;
}

.communication-action-button[data-action="cancel"].is-active {
  background: #c53d4b;
}

.communication-result {
  margin: 0 0 18px;
  padding: 18px 20px;
  border: 1px solid #9fd8bf;
  border-left: 6px solid #2f9465;
  border-radius: 16px;
  background: linear-gradient(135deg,#effbf5 0%,#f9fffc 100%);
  box-shadow: 0 5px 16px rgba(47,148,101,.12);
}

.communication-result strong {
  display: block;
  color: #216f4b;
  font-size: 22px;
  line-height: 1.2;
}

.communication-result p {
  margin: 9px 0 6px;
  color: #1e3542;
  font-size: 20px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.communication-result small {
  color: #52706a;
  font-size: 13px;
}

.completion-confirmed-event,
.task-completed-event {
  padding: 14px 16px;
  border: 1px solid #9fd8bf;
  border-left: 5px solid #2f9465;
  border-radius: 13px;
  background: linear-gradient(135deg,#effbf5,#f9fffc);
  box-shadow: 0 4px 12px rgba(47,148,101,.12);
}

.completion-confirmed-heading,
.task-completed-heading {
  color: #216f4b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.task-completed-heading strong {
  font-weight: 850;
}

.direct-task-completed-heading {
  font-size: 12px;
}

.direct-task-completed-heading strong {
  font-weight: 850;
}

.subtask-created-event {
  padding: 12px 14px;
  border: 1px solid #b8dce8;
  border-left: 5px solid #3a9bb5;
  border-radius: 12px;
  background: linear-gradient(135deg,#f0fbfe,#fbfeff);
  color: #24596a;
}

.subtask-created-heading {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.subtask-created-heading strong {
  font-weight: 850;
}

.event.event-system {
  align-self: center !important;
  max-width: 86% !important;
}

.event.event-system .event-bubble {
  background: #f3f6f8 !important;
  border-color: #dce5ea !important;
  text-align: center !important;
  box-shadow: none !important;
}

.event.event-system .event-meta {
  justify-content: center !important;
}

.event.event-system .event-meta strong,
.event.event-system .event-bubble p {
  color: #718391 !important;
}

.event.event-system .subtask-created-event,
.event.event-system .task-completed-event {
  background: #f3f6f8 !important;
  border-color: #dce5ea !important;
  border-left-color: #aebdc5 !important;
  box-shadow: none !important;
  color: #718391 !important;
}

.event.event-system .subtask-created-heading,
.event.event-system .task-completed-heading {
  color: #718391 !important;
}

.completion-confirmed-event p,
.task-completed-event p {
  margin: 8px 0 0;
  color: #27483b;
}

.task-completed-message {
  font-size: 13px;
  color: #527064 !important;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.completion-event-label {
  color: #216f4b;
  background: #dff5e9;
  border-color: #9fd8bf;
}

.note-tools .note-tool,
.note-tools .file-button {
  width: 180px !important;
  max-width: 180px;
  min-height: 42px;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  display: inline-flex;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 12px;
  font-size: 20px;
  line-height: 1;
  border: 1px solid #d4e3ea;
  background: #fff;
  color: #50697b;
  box-shadow: 0 2px 6px rgba(47,79,96,.06);
  flex: 0 0 44px;
  min-width: 44px;
}

@media (max-width:699px) {
  .note-tools {
    margin-top: 8px;
    padding-top: 8px;
    justify-content: center;
    gap: 8px;
  }

  .note-tools .note-tool,
  .note-tools .file-button {
    font-size: 18px;
    flex: 0 0 40%;
    width: 40%;
    min-width: 0;
    max-width: none;
    height: 40px;
  }
}

.custom-icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 1.25em;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  vertical-align: -.18em;
}

.icon-user {
  -webkit-mask-image: url("/static/icons/user.svg");
  mask-image: url("/static/icons/user.svg");
}

.icon-question {
  -webkit-mask-image: url("/static/icons/question.svg");
  mask-image: url("/static/icons/question.svg");
}

.icon-completed {
  -webkit-mask-image: url("/static/icons/completed.svg");
  mask-image: url("/static/icons/completed.svg");
}

.icon-claim {
  -webkit-mask-image: url("/static/icons/claim.svg");
  mask-image: url("/static/icons/claim.svg");
}

.icon-assign {
  -webkit-mask-image: url("/static/icons/assign.svg");
  mask-image: url("/static/icons/assign.svg");
}

.icon-delete {
  -webkit-mask-image: url("/static/icons/delete.svg");
  mask-image: url("/static/icons/delete.svg");
}

.icon-cancel {
  -webkit-mask-image: url("/static/icons/cancel.svg");
  mask-image: url("/static/icons/cancel.svg");
}

.icon-save {
  -webkit-mask-image: url("/static/icons/save.svg");
  mask-image: url("/static/icons/save.svg");
}

.icon-edit-task {
  -webkit-mask-image: url("/static/icons/edit-task.svg");
  mask-image: url("/static/icons/edit-task.svg");
}

.icon-add-task {
  -webkit-mask-image: url("/static/icons/add-task.svg");
  mask-image: url("/static/icons/add-task.svg");
}

.icon-back {
  -webkit-mask-image: url("/static/icons/back.svg");
  mask-image: url("/static/icons/back.svg");
}

.icon-due-date {
  -webkit-mask-image: url("/static/icons/due-date.svg");
  mask-image: url("/static/icons/due-date.svg");
}

.icon-more {
  -webkit-mask-image: url("/static/icons/more.svg");
  mask-image: url("/static/icons/more.svg");
}

.icon-status-assigned {
  -webkit-mask-image: url("/static/icons/status-assigned.svg");
  mask-image: url("/static/icons/status-assigned.svg");
}

.icon-status-new {
  -webkit-mask-image: url("/static/icons/status-new.svg");
  mask-image: url("/static/icons/status-new.svg");
}

.icon-status-planned {
  -webkit-mask-image: url("/static/icons/status-planned.svg");
  mask-image: url("/static/icons/status-planned.svg");
}

.icon-user-assignee {
  -webkit-mask-image: url("/static/icons/user-assignee.svg");
  mask-image: url("/static/icons/user-assignee.svg");
}

.icon-user-requester {
  -webkit-mask-image: url("/static/icons/user-requester.svg");
  mask-image: url("/static/icons/user-requester.svg");
}

@media (min-width:700px) {
  .task-title-row {
    flex-wrap: wrap;
  }

  .task-title-row h1 {
    flex: 1 1 100%;
  }

  .task-title-row .task-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .task-title-row .task-actions .button {
    box-sizing: border-box;
    width: 278px;
    min-width: 278px;
    height: 52px;
  }
}

.task-action-icon.custom-icon {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
}

.communication-action-button>.custom-icon,
.note-tools .custom-icon,
.remove-member>.custom-icon {
  width: 1.15em;
  height: 1.15em;
  flex-basis: 1.15em;
}

.custom-icon.icon-completed {
  color: #2f9465;
}

.custom-icon.icon-cancel,
.custom-icon.icon-delete {
  color: #c53d4b;
}

.custom-icon.icon-question {
  color: #8a58b8;
}

.custom-icon.icon-claim,
.custom-icon.icon-assign {
  color: #2d7fb5;
}

.custom-icon.icon-add-task {
  color: #3a9bb5;
}

.custom-icon.icon-edit-task {
  color: #d28229;
}

.custom-icon.icon-save {
  color: #327d9a;
}

.custom-icon.icon-user {
  color: #54708b;
}

.custom-icon.icon-back {
  color: #54708b;
}

.custom-icon.icon-due-date {
  color: #54708b;
}

.custom-icon.icon-forward {
  color: #397fc1;
}

.custom-icon.icon-more {
  color: #54708b;
}

.custom-icon.icon-status-assigned {
  color: #397fc1;
}

.custom-icon.icon-status-new {
  color: #3a9bb5;
}

.custom-icon.icon-status-planned {
  color: #8068b8;
}

.custom-icon.icon-user-assignee {
  color: #397fc1;
}

.custom-icon.icon-member {
  color: #54708b;
}

.custom-icon.icon-user-requester {
  color: #d28229;
}

.event-system .custom-icon.icon-completed {
  color: #2f9465;
}

.event-system .custom-icon.icon-question {
  color: #8a58b8;
}

.subtask-created-event .custom-icon.icon-add-task {
  color: #3a9bb5;
}

.button .custom-icon.icon-delete,
.remove-member>.custom-icon.icon-delete {
  color: #c53d4b;
}

.task-row .status.status-neu,
.task-card .status.status-neu,
.task-tree .status.status-neu,
.task-row .status.status-geplant,
.task-card .status.status-geplant,
.task-tree .status.status-geplant,
.task-row .status.status-zugewiesen,
.task-card .status.status-zugewiesen,
.task-tree .status.status-zugewiesen {
  font-size: 0 !important;
  color: transparent !important;
  background-color: currentColor;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.task-row .status.status-neu,
.task-card .status.status-neu,
.task-tree .status.status-neu {
  -webkit-mask: url("/static/icons/status-new.svg") center/contain no-repeat;
  mask: url("/static/icons/status-new.svg") center/contain no-repeat;
  background-color: #3a9bb5;
}

.task-row .status.status-geplant,
.task-card .status.status-geplant,
.task-tree .status.status-geplant {
  -webkit-mask: url("/static/icons/status-planned.svg") center/contain no-repeat;
  mask: url("/static/icons/status-planned.svg") center/contain no-repeat;
  background-color: #8068b8;
}

.task-row .status.status-zugewiesen,
.task-card .status.status-zugewiesen,
.task-tree .status.status-zugewiesen {
  -webkit-mask: url("/static/icons/status-assigned.svg") center/contain no-repeat !important;
  mask: url("/static/icons/status-assigned.svg") center/contain no-repeat !important;
  background-color: #397fc1 !important;
}

.icon-priority-critical {
  -webkit-mask-image: url("/static/icons/priority-critical.svg");
  mask-image: url("/static/icons/priority-critical.svg");
}

.icon-priority-high {
  -webkit-mask-image: url("/static/icons/priority-high.svg");
  mask-image: url("/static/icons/priority-high.svg");
}

.icon-priority-normal {
  -webkit-mask-image: url("/static/icons/priority-normal.svg");
  mask-image: url("/static/icons/priority-normal.svg");
}

.icon-priority-low {
  -webkit-mask-image: url("/static/icons/priority-low.svg");
  mask-image: url("/static/icons/priority-low.svg");
}

.icon-status-answered {
  -webkit-mask-image: url("/static/icons/status-answered.svg");
  mask-image: url("/static/icons/status-answered.svg");
}

.icon-status-cancelled {
  -webkit-mask-image: url("/static/icons/status-cancelled.svg");
  mask-image: url("/static/icons/status-cancelled.svg");
}

.icon-status-completed {
  -webkit-mask-image: url("/static/icons/status-completed.svg");
  mask-image: url("/static/icons/status-completed.svg");
}

.icon-status-in-progress {
  -webkit-mask-image: url("/static/icons/status-in-progress.svg");
  mask-image: url("/static/icons/status-in-progress.svg");
}

.icon-status-question {
  -webkit-mask-image: url("/static/icons/status-question.svg");
  mask-image: url("/static/icons/status-question.svg");
}

.icon-status-waiting {
  -webkit-mask-image: url("/static/icons/status-waiting.svg");
  mask-image: url("/static/icons/status-waiting.svg");
}

.urgency.urgency-sofort-erledigen i {
  -webkit-mask-image: url("/static/icons/priority-critical.svg");
  mask-image: url("/static/icons/priority-critical.svg");
}

.urgency.urgency-nicht-dringend i {
  -webkit-mask-image: url("/static/icons/priority-low.svg");
  mask-image: url("/static/icons/priority-low.svg");
}

.task-row>span:nth-child(3) .status,
.task-row>span:nth-child(3) .urgency {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 0 !important;
  vertical-align: middle !important;
  position: relative;
  margin: 0 !important;
}

.task-row>span:nth-child(3) .urgency i {
  flex-basis: 36px;
  display: block !important;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  margin: 0 !important;
  line-height: 0;
}

.task-row>span:nth-child(3) .status {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.status.status-geantwortet,
.status.status-abgebrochen,
.status.status-erledigt,
.status.status-in-bearbeitung,
.status.status-rueckfrage-erhalten,
.status.status-wartend {
  font-size: 0 !important;
  color: transparent !important;
  background-color: currentColor;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.status.status-geantwortet {
  -webkit-mask: url("/static/icons/status-answered.svg") center/contain no-repeat;
  mask: url("/static/icons/status-answered.svg") center/contain no-repeat;
  background-color: #397fc1;
}

.status.status-abgebrochen {
  -webkit-mask: url("/static/icons/status-cancelled.svg") center/contain no-repeat;
  mask: url("/static/icons/status-cancelled.svg") center/contain no-repeat;
  background-color: #c53d4b;
}

.status.status-erledigt {
  -webkit-mask: url("/static/icons/status-completed.svg") center/contain no-repeat;
  mask: url("/static/icons/status-completed.svg") center/contain no-repeat;
  background-color: #2f9465;
}

.status.status-in-bearbeitung {
  -webkit-mask: url("/static/icons/status-in-progress.svg") center/contain no-repeat;
  mask: url("/static/icons/status-in-progress.svg") center/contain no-repeat;
  background-color: #d28229;
}

.status.status-rueckfrage-erhalten {
  -webkit-mask: url("/static/icons/status-question.svg") center/contain no-repeat;
  mask: url("/static/icons/status-question.svg") center/contain no-repeat;
  background-color: #8a58b8;
}

.status.status-wartend {
  -webkit-mask: url("/static/icons/status-waiting.svg") center/contain no-repeat;
  mask: url("/static/icons/status-waiting.svg") center/contain no-repeat;
  background-color: #8068b8;
}

.status.status-geantwortet::before,
.status.status-abgebrochen::before,
.status.status-erledigt::before,
.status.status-in-bearbeitung::before,
.status.status-rueckfrage-erhalten::before,
.status.status-wartend::before,
.status.status-neu::before,
.status.status-geplant::before {
  content: none !important;
  display: none !important;
}

.status,
.urgency {
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  white-space: nowrap !important;
}

.urgency-text {
  display: none !important;
}

.status::before,
.status::after,
.urgency::before,
.urgency::after {
  content: none !important;
  display: none !important;
}

.status {
  place-items: center;
  border-radius: 9px;
  font-size: 0;
  box-shadow: 0 2px 5px #45688918;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  flex: 0 0 36px !important;
  padding: 0 !important;
  line-height: 0 !important;
  vertical-align: middle !important;
}

.urgency>i {
  display: block !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  flex: 0 0 36px !important;
  margin: 0 !important;
  line-height: 0 !important;
}

.quick-current.urgency {
  width: auto !important;
  min-width: 36px !important;
  padding: 4px 8px !important;
  gap: 6px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.quick-current.urgency.urgency-normal {
  color: #54708b !important;
}

.quick-current.urgency.urgency-nicht-dringend {
  color: #2f9465 !important;
}

.quick-current.urgency.urgency-dringend {
  color: #d28229 !important;
}

.quick-current.urgency.urgency-sofort-erledigen {
  color: #c53d4b !important;
}

.quick-current.urgency .urgency-text {
  display: inline !important;
  font-size: inherit !important;
  color: inherit !important;
  text-indent: 0 !important;
  white-space: nowrap !important;
}

.urgency.urgency-sofort-erledigen,
.urgency.urgency-dringend {
  color: #d28229 !important;
}

.urgency.urgency-sofort-erledigen i,
.urgency.urgency-dringend i,
.urgency.urgency-normal i,
.urgency.urgency-nicht-dringend i {
  display: block;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  background-color: currentColor !important;
  color: inherit !important;
}

.urgency.urgency-sofort-erledigen i::before,
.urgency.urgency-sofort-erledigen i::after,
.urgency.urgency-dringend i::before,
.urgency.urgency-dringend i::after,
.urgency.urgency-normal i::before,
.urgency.urgency-normal i::after,
.urgency.urgency-nicht-dringend i::before,
.urgency.urgency-nicht-dringend i::after {
  content: none !important;
  display: none !important;
}

.task-row>span:nth-child(3) .status,
.task-row>span:nth-child(3) .urgency,
.task-row>span:nth-child(3)>.custom-icon.icon-user-requester,
.task-row>span:nth-child(3)>.custom-icon.icon-user-assignee,
.task-row>span:nth-child(3)>.custom-icon.icon-member {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  flex: 0 0 36px !important;
}

.close-blocked-notice {
  border: 3px solid #d48a1d !important;
  background: #fff8e8 !important;
  color: #5a3b0b !important;
  padding: 24px !important;
  margin: 24px 0 !important;
  box-shadow: 0 8px 24px rgba(180,110,0,.18) !important;
  font-size: 1.05rem;
}

.close-blocked-notice>strong {
  display: block;
  color: #9b5410;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.close-blocked-notice>p {
  font-weight: 600;
}

.close-blocked-notice ul {
  margin: 14px 0 18px;
  padding-left: 24px;
}

.subtask-resolution-form {
  margin-top: 18px;
}

.subtask-resolution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.subtask-resolution-actions .button {
  min-height: 48px;
}

.cancel-resolution-button {
  border-color: #c53d4b !important;
  color: #a52f3d !important;
}

.subtask-resolution-form .form-hint {
  margin-top: 14px;
}

.page-title h1.task-title-cancelled {
  color: #c53d4b !important;
}

.page-title h1.task-title-completed {
  color: #2e9b63 !important;
}

.task-title-cancelled {
  color: #c53d4b;
}

.task-title-completed {
  color: #2e9b63;
}

.task-cancelled-event {
  padding: 14px 16px;
  border: 1px solid #efb0b8;
  border-left: 5px solid #c53d4b;
  border-radius: 13px;
  background: linear-gradient(135deg,#fff2f3,#fffafb);
  box-shadow: 0 4px 12px rgba(197,61,75,.12);
}

.task-cancelled-heading {
  color: #9d2938;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.task-cancelled-heading strong {
  font-weight: 850;
}

.task-cancelled-message {
  margin: .5rem 0 0;
  color: #6b2731;
  white-space: pre-wrap;
}

.task-tree .tree-title-cancelled {
  color: #c53d4b !important;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #c53d4b;
}

.task-tree .tree-child-completed strong.tree-title-completed {
  color: #2e9b63 !important;
  text-decoration-color: #2e9b63 !important;
}

.task-tree-main .tree-child-cancelled {
  opacity: .9;
}

.icon-member {
  -webkit-mask-image: url("/static/icons/member.svg");
  mask-image: url("/static/icons/member.svg");
}

.icon-member-delete {
  -webkit-mask-image: url("/static/icons/member-delete.svg");
  mask-image: url("/static/icons/member-delete.svg");
}

.icon-note {
  -webkit-mask-image: url("/static/icons/note.svg");
  mask-image: url("/static/icons/note.svg");
}

.icon-private-note {
  -webkit-mask-image: url("/static/icons/private-note.svg");
  mask-image: url("/static/icons/private-note.svg");
}

.icon-task-pool {
  -webkit-mask-image: url("/static/icons/task-pool.svg");
  mask-image: url("/static/icons/task-pool.svg");
}

.icon-reply {
  -webkit-mask-image: url("/static/icons/reply.svg");
  mask-image: url("/static/icons/reply.svg");
}

.icon-nav-home {
  -webkit-mask-image: url("/static/icons/nav-home.svg");
  mask-image: url("/static/icons/nav-home.svg");
}

.icon-nav-completed {
  -webkit-mask-image: url("/static/icons/nav-completed.svg");
  mask-image: url("/static/icons/nav-completed.svg");
}

.icon-settings {
  -webkit-mask-image: url("/static/icons/settings.svg");
  mask-image: url("/static/icons/settings.svg");
}

.icon-search {
  -webkit-mask-image: url("/static/icons/search.svg");
  mask-image: url("/static/icons/search.svg");
}

.icon-calendar {
  -webkit-mask-image: url("/static/icons/calendar.svg");
  mask-image: url("/static/icons/calendar.svg");
}

.icon-attachment {
  -webkit-mask-image: url("/static/icons/attachment.svg");
  mask-image: url("/static/icons/attachment.svg");
}

.icon-member-add {
  -webkit-mask-image: url("/static/icons/member-add.svg");
  mask-image: url("/static/icons/member-add.svg");
}

.icon-confirm {
  -webkit-mask-image: url("/static/icons/confirm.svg");
  mask-image: url("/static/icons/confirm.svg");
}

.icon-priority-low,
.icon-priority-normal,
.icon-priority-high,
.icon-priority-critical,
.icon-status-answered,
.icon-status-cancelled,
.icon-status-completed,
.icon-status-in-progress,
.icon-status-question,
.icon-status-waiting {
  background-color: currentColor;
}

.nav-item-icon.custom-icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 1.25em;
  vertical-align: -.22em;
}

.main-nav>a>.custom-icon,
.main-nav .desktop-nav-links>a>.custom-icon {
  margin-right: 4px;
}

.main-nav .icon-nav-home {
  color: #397fc1;
}

.main-nav .icon-status-planned {
  color: #8068b8;
}

.main-nav .icon-forward {
  color: #397fc1;
}

.main-nav .icon-status-waiting {
  color: #8068b8;
}

.main-nav .icon-question {
  color: #8a58b8;
}

.main-nav .icon-nav-completed,
.main-nav .icon-completed {
  color: #2f9465;
}

.main-nav .icon-claim {
  color: #2d7fb5;
}

.mobile-bottom-nav .custom-icon {
  width: 1.35em;
  height: 1.35em;
  flex-basis: 1.35em;
}

.mobile-more-menu .custom-icon {
  margin-right: 6px;
}

.note-tools .icon-attachment {
  color: #54708b;
}

.note-tools .icon-link {
  color: #397fc1;
}

.icon-link {
  -webkit-mask-image: url("/static/icons/link-icon.svg");
  mask-image: url("/static/icons/link-icon.svg");
}

.icon-archive {
  -webkit-mask-image: url("/static/icons/more.svg");
  mask-image: url("/static/icons/more.svg");
}

.icon-pool {
  -webkit-mask-image: url("/static/icons/claim.svg");
  mask-image: url("/static/icons/claim.svg");
}

.urgency.urgency-normal i {
  -webkit-mask-image: url("/static/icons/urgency-status-green.svg") !important;
  mask-image: url("/static/icons/urgency-status-green.svg") !important;
}

.urgency.urgency-hoch i {
  -webkit-mask-image: url("/static/icons/priority-high.svg") !important;
  mask-image: url("/static/icons/priority-high.svg") !important;
}

.urgency.urgency-dringend i {
  -webkit-mask-image: url("/static/icons/priority-higher.svg") !important;
  mask-image: url("/static/icons/priority-higher.svg") !important;
}

.urgency.urgency-kritisch i {
  -webkit-mask-image: url("/static/icons/priority-critical.svg") !important;
  mask-image: url("/static/icons/priority-critical.svg") !important;
}

.mobile-assignee {
  display: none;
}

@media (max-width:699px) {
  .task-row>span:nth-child(2).responsible {
    display: none !important;
  }

  .task-row>span:nth-child(3) .mobile-assignee {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: calc(100vw - 190px);
    height: 32px;
    color: #526b83;
    font-size: .76rem;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 2px;
    gap: 4px;
  }

  .task-row>span:nth-child(3) .mobile-assignee .custom-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex: 0 0 20px;
    color: #397fc1;
    display: inline-flex;
  }

  .task-row>span:nth-child(3)>.icon-user-requester,
  .task-row>span:nth-child(3)>.icon-user-assignee,
  .task-row>span:nth-child(3)>.icon-member {
    display: none;
  }
}

.history-section .event-bubble p,
.history-section .communication-event-heading+.communication-event-divider+p,
.history-section .member-event-line,
.history-section .checklist-event-text,
.history-section .latest-note p {
  font-size: 14px !important;
}

.history-section .event-meta strong {
  font-size: 13px !important;
}

.history-section .event-meta small,
.history-section .latest-note small {
  font-size: 12px !important;
}

.history-section .communication-event-heading,
.history-section .task-cancelled-heading,
.history-section .task-completed-heading {
  font-size: 15px !important;
}

.history-section .direct-task-completed-heading {
  font-size: 13px !important;
}

@media (max-width:699px) {
  .history-section .event-bubble p,
  .history-section .communication-event-heading+.communication-event-divider+p,
  .history-section .member-event-line,
  .history-section .checklist-event-text,
  .history-section .latest-note p {
    font-size: 15px !important;
  }

  .history-section .event-meta strong {
    font-size: 14px !important;
  }

  .history-section .event-meta small,
  .history-section .latest-note small {
    font-size: 13px !important;
  }

  .history-section .communication-event-heading,
  .history-section .task-cancelled-heading,
  .history-section .task-completed-heading {
    font-size: 15px !important;
  }

  .history-section .direct-task-completed-heading {
    font-size: 14px !important;
  }
}

.communication-actions {
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 6px;
  border: 1px solid #dce9ef;
  border-radius: 17px;
  background: #f3f8fa;
  display: grid !important;
  grid-template-columns: repeat(5,minmax(0,1fr));
  align-items: stretch;
  gap: 7px !important;
}

.communication-action-button>.custom-icon {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  flex: 0 0 24px !important;
  margin: 0 !important;
}

.communication-action-button>span:not(.custom-icon) {
  display: block !important;
  line-height: 1.1 !important;
  white-space: nowrap;
}

@media (max-width:699px) {
  .communication-action-button>.custom-icon {
    font-size: 20px;
    margin: 0;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    flex-basis: 26px !important;
  }
}

.note-tools {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e3edf1;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
}

.note-tools>.note-tool,
.note-tools>.file-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 44px !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
}

.note-tools>.note-tool>.custom-icon,
.note-tools>.file-button>.custom-icon {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;
}

.note-tools>.file-name {
  display: block !important;
  min-width: 0;
  flex: 1 1 auto;
}

@media (max-width:699px) {
  .note-tools>.note-tool,
  .note-tools>.file-button {
    flex-basis: 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
  }

  .note-tools>.note-tool>.custom-icon,
  .note-tools>.file-button>.custom-icon {
    width: 26px !important;
    height: 26px !important;
    flex-basis: 26px !important;
  }
}

.icon-forward {
  -webkit-mask-image: url("/static/icons/forward.svg");
  mask-image: url("/static/icons/forward.svg");
}

.icon-dashboard {
  -webkit-mask-image: url("/static/icons/dashboard.svg");
  mask-image: url("/static/icons/dashboard.svg");
}

.icon-history {
  -webkit-mask-image: url("/static/icons/history.svg");
  mask-image: url("/static/icons/history.svg");
}

.icon-nav-add-task {
  -webkit-mask-image: url("/static/icons/nav-add-task.svg");
  mask-image: url("/static/icons/nav-add-task.svg");
}

.urgency.urgency-normal i,
.urgency.urgency-hoch i,
.urgency.urgency-dringend i,
.urgency.urgency-kritisch i {
  background-color: currentColor !important;
  border: 3px solid #fff !important;
  border-radius: 50%;
  box-sizing: border-box;
}

.urgency.urgency-normal,
.urgency.urgency-hoch,
.urgency.urgency-dringend,
.urgency.urgency-kritisch,
.urgency.urgency-nicht-dringend,
.urgency.urgency-sofort-erledigen {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  flex: 0 0 36px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #8b949e !important;
  color: transparent !important;
  box-shadow: none !important;
  font-size: 0 !important;
  text-indent: -9999px !important;
}

.urgency.urgency-normal {
  color: #2f9465 !important;
  background: #42a866 !important;
}

.urgency.urgency-nicht-dringend {
  color: #3a9bb5 !important;
  background: #8b949e !important;
}

.urgency.urgency-sofort-erledigen {
  color: #c53d4b;
  background: #a51f32 !important;
}

.urgency.urgency-normal i,
.urgency.urgency-hoch i,
.urgency.urgency-dringend i,
.urgency.urgency-kritisch i,
.urgency.urgency-nicht-dringend i,
.urgency.urgency-sofort-erledigen i {
  display: none !important;
  background: none !important;
  border: 0 !important;
  mask: none !important;
  -webkit-mask: none !important;
}

.task-row.priority-normal,
.task-card.priority-normal {
  background: #eef9f1 !important;
  box-shadow: inset 4px 0 0 rgba(66,168,102,.72);
}

.task-row.priority-nicht-dringend,
.task-card.priority-nicht-dringend {
  background: #f1f3f5 !important;
  box-shadow: inset 4px 0 0 rgba(139,148,158,.7);
}

.task-row.priority-sofort-erledigen,
.task-card.priority-sofort-erledigen {
  background: #ffeaed !important;
  box-shadow: inset 4px 0 0 rgba(165,31,50,.9),0 0 22px 4px rgba(165,31,50,.42) !important;
}

.task-row.task-main {
  background: #f5fcf8;
  border-left: 4px solid #3d617f;
  padding-left: 12px;
  border-left-width: 10px !important;
  border-left-style: solid !important;
}

.task-row.task-subtask {
  background: #fffdf4;
  border-left: 4px dashed #718899;
  padding-left: 12px;
  border-left-width: 8px !important;
  border-left-style: dashed !important;
}

.task-row.priority-normal.task-main,
.task-row.priority-normal.task-subtask {
  border-left-color: #42a866 !important;
}

.task-row.priority-dringend.task-main,
.task-row.priority-dringend.task-subtask {
  border-left-color: #d96868 !important;
}

.task-row.priority-kritisch.task-main,
.task-row.priority-kritisch.task-subtask {
  border-left-color: #a51f32 !important;
}

.task-row.priority-nicht-dringend.task-main,
.task-row.priority-nicht-dringend.task-subtask {
  border-left-color: #8b949e !important;
}

.task-row.priority-sofort-erledigen.task-main,
.task-row.priority-sofort-erledigen.task-subtask {
  border-left-color: #a51f32 !important;
}

.task-row.priority-normal,
.task-row.priority-hoch,
.task-row.priority-dringend,
.task-row.priority-nicht-dringend {
  box-shadow: none !important;
}

.task-row.priority-kritisch,
.task-row.priority-sofort-erledigen {
  box-shadow: 0 0 22px 4px rgba(165,31,50,.42) !important;
}

.urgency {
  font-style: normal;
  border: 1px solid transparent;
  font-weight: 800;
  white-space: nowrap;
  width: 34px;
  height: 34px;
  padding: 4px;
  border-radius: 9px;
  gap: 0;
  font-size: 0;
  box-shadow: 0 2px 5px #45688918;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  line-height: 0 !important;
  vertical-align: middle !important;
  display: none !important;
}

.task-row>span:nth-child(3) .urgency,
.task-card .urgency,
.task-top .urgency,
.quick-change .urgency {
  display: none !important;
}

.task-detail-shell .urgency {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: transparent !important;
  font-size: 0 !important;
  text-indent: -9999px !important;
}

.task-detail-shell .urgency.urgency-normal {
  background: #42a866 !important;
}

.task-detail-shell .urgency.urgency-hoch {
  background: #e39a2d !important;
}

.task-detail-shell .urgency.urgency-dringend {
  background: #d96868 !important;
}

.task-detail-shell .urgency.urgency-kritisch {
  background: #a51f32 !important;
  box-shadow: 0 0 12px 3px rgba(165,31,50,.58) !important;
}

.task-detail-shell .urgency i {
  display: none !important;
}

.urgency.urgency-dringend {
  color: #c53d4b !important;
  background: #e58b8b !important;
}

.urgency.urgency-kritisch {
  color: #a52f3d !important;
  background: #c51f38 !important;
  box-shadow: 0 0 0 2px rgba(197,31,56,.3),0 0 16px 5px rgba(197,31,56,.82) !important;
}

.task-row.priority-dringend,
.task-card.priority-dringend {
  box-shadow: inset 4px 0 0 rgba(217,104,104,.78);
  background: #fff5f5 !important;
}

.task-row.priority-kritisch,
.task-card.priority-kritisch {
  background: #ffe4e8 !important;
  box-shadow: 0 0 26px 5px rgba(197,31,56,.58) !important;
}

.communication-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: background .15s ease,color .15s ease,box-shadow .15s ease,transform .15s ease;
  min-height: 46px;
  border-radius: 13px;
  font-size: 14px;
  width: 100%;
  min-width: 0 !important;
  flex: initial !important;
  flex-direction: column !important;
  gap: 4px !important;
  line-height: 1.1 !important;
  background: #fff !important;
  color: #40566a !important;
  border: 1px solid transparent !important;
  border-bottom: 3px solid transparent !important;
  box-shadow: none !important;
}

.communication-action-button:hover,
.communication-action-button:focus-visible {
  outline: none;
  background: #f5f7f8 !important;
  color: #304b61 !important;
  border-color: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

.communication-action-button.is-active {
  background: #e7ecef !important;
  color: #304b61 !important;
  border: 1px solid transparent !important;
  border-bottom: 3px solid #238e88 !important;
  box-shadow: none !important;
}

.communication-action-button[data-action="note"]>.custom-icon {
  color: #218b7d !important;
}

.communication-action-button[data-action="private_note"]>.custom-icon {
  color: #7659ae !important;
}

.communication-action-button[data-action="question"]>.custom-icon {
  color: #087f9a !important;
}

.communication-action-button[data-action="reply"]>.custom-icon {
  color: #3478b8 !important;
}

.communication-action-button[data-action="complete"]>.custom-icon {
  color: #2f9465 !important;
}

.communication-action-button[data-action="cancel"]>.custom-icon {
  color: #c53d4b !important;
}

.communication-action-button.is-active>.custom-icon {
  opacity: 1 !important;
}

.delete-checklist-button>.custom-icon {
  width: 1.15em;
  height: 1.15em;
  flex-basis: 1.15em;
  color: #c53d4b;
}

.icon-checkbox-add {
  -webkit-mask-image: url("/static/icons/checkbox-add.svg");
  mask-image: url("/static/icons/checkbox-add.svg");
}

.icon-checkbox-delete {
  -webkit-mask-image: url("/static/icons/checkbox-delete.svg");
  mask-image: url("/static/icons/checkbox-delete.svg");
}

.icon-checkbox-checked {
  -webkit-mask-image: url("/static/icons/checkbox-checked.svg");
  mask-image: url("/static/icons/checkbox-checked.svg");
}

.icon-checkbox-reopend {
  -webkit-mask-image: url("/static/icons/checkbox-reopend.svg");
  mask-image: url("/static/icons/checkbox-reopend.svg");
}

.checklist-event-icon .icon-checkbox-add {
  color: #2e9b8d;
}

.checklist-event-icon .icon-checkbox-delete {
  color: #c53d4b;
}

.checklist-event-icon .icon-checkbox-checked {
  color: #2f9465;
}

.checklist-event-icon .icon-checkbox-reopend {
  color: #d58b2b;
}

.checklist-items .check {
  padding: 8px 0;
  display: grid;
  grid-template-columns: 32px minmax(0,1fr) 32px;
  align-items: center;
  column-gap: 10px;
  min-height: 44px;
}

.checklist-items .check>form {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-width: 32px;
}

.checklist-items .check .check-label-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.checklist-items .check-box,
.checklist-items .delete-checklist-button {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  flex: 0 0 28px !important;
}

.checklist-items .delete-checklist-button {
  padding: 0;
  display: grid;
  place-items: center;
}

.checklist-items .delete-checklist-button>.custom-icon {
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;
}

.checklist-panel .section-heading .icon-checkbox-add {
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
}

.checklist-event-icon {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e5f5f2;
  color: #2e9b8d;
  font-weight: 850;
  font-size: 16px;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
}

.checklist-event-icon>.custom-icon {
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;
}

.detail-grid .detail-row,
.detail-grid .quick-change-label,
.detail-grid .detail-row>strong.status .status-text,
.detail-grid .detail-row>strong.urgency .urgency-text,
.checklist-items .check-label-text,
.communication-section .communication-action-button,
.communication-section .communication-action-select,
.communication-section #communication-message-label,
.member-section .member-row,
.member-section .form-hint {
  font-size: 14px !important;
}

.custom-icon.icon-member-add {
  color: #70b982 !important;
}

.custom-icon.icon-member-delete {
  color: #d97979 !important;
}

.task-detail-shell>.page-title h1 {
  font-size: 25px !important;
  line-height: 1.15;
}

.task-detail-shell .task-tree .tree-root strong,
.task-detail-shell .task-tree .tree-current strong,
.task-detail-shell .task-tree .tree-child strong {
  font-size: 12px !important;
  line-height: 1.2;
}

.assignment-event-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  text-align: left;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  color: #40566b;
}

.assignment-event-line>span>strong {
  font-size: 14px;
  line-height: 1.25;
}

.assignment-event-line .custom-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  margin: 0 3px;
  color: #4d83b8;
  vertical-align: -9px;
}

.task-detail-shell .task-tree .tree-root strong {
  font-size: 13px !important;
  font-weight: 700 !important;
}

.task-detail-shell .task-tree .tree-current strong,
.task-detail-shell .task-tree .tree-child strong {
  font-size: 12px !important;
  font-weight: 400 !important;
}

.assignment-note {
  margin: 6px 0 0;
  white-space: pre-wrap;
  font-size: 12px !important;
  line-height: 1.25;
  color: #53697d;
}

@media (max-width:699px) {
  .task-tabs {
    margin: 16px 0 14px;
    justify-content: space-between;
    display: grid !important;
    grid-template-columns: repeat(4,1fr);
    gap: 0 !important;
    padding: 0 !important;
    border: 1px solid #cfdfe7 !important;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
  }

  .task-tabs .task-tab {
    border-bottom-width: 3px;
    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-right: 1px solid #cfdfe7;
    border-radius: 0;
    background: #fff;
  }

  .task-tabs .task-tab:last-child {
    border-right: 0;
  }

  .task-tabs .task-tab.active {
    background: #e8f7f3;
    border-bottom: 3px solid #35aaa0;
  }

  .communication-actions {
    margin-bottom: 10px;
    grid-template-columns: repeat(2,minmax(0,1fr));
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    padding: 0 !important;
    border: 1px solid #cfdfe7;
    border-radius: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    background: #fff;
    scrollbar-width: none;
  }

  .communication-actions::-webkit-scrollbar {
    display: none;
  }

  .communication-action-button {
    font-size: 13px;
    min-height: 58px !important;
    flex: 1 0 44px !important;
    width: auto !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 0;
    border-right: 1px solid #cfdfe7;
    border-radius: 0;
    background: #fff;
  }

  .communication-action-button:last-of-type {
    border-right: 0;
  }

  .communication-action-button.is-active {
    box-shadow: 0 3px 8px rgba(44,93,110,.16);
    background: linear-gradient(135deg,#238e88,#176f78);
  }
}

@media (min-width:700px) {
  .primary-tasks-section .task-row:not(.table-head)>span:nth-child(2),
  .primary-tasks-section .task-row:not(.table-head)>span:nth-child(3),
  .primary-tasks-section .task-row:not(.table-head)>span:last-child,
  .member-only-section .task-row:not(.table-head)>span:nth-child(2),
  .member-only-section .task-row:not(.table-head)>span:nth-child(3),
  .member-only-section .task-row:not(.table-head)>span:last-child,
  .distributed-tasks-section .task-row:not(.table-head)>span:nth-child(2),
  .distributed-tasks-section .task-row:not(.table-head)>span:nth-child(3),
  .distributed-tasks-section .task-row:not(.table-head)>span:last-child {
    grid-row: 1 / 3;
    align-self: center;
  }

  .primary-tasks-section .task-table,
  .member-only-section .task-table,
  .distributed-tasks-section .task-table {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
  }

  .primary-tasks-section .task-table .table-head,
  .member-only-section .task-table .table-head,
  .distributed-tasks-section .task-table .table-head {
    grid-column: 1 / -1;
    display: none;
  }

  .primary-tasks-section .task-table .task-row:not(.table-head),
  .member-only-section .task-table .task-row:not(.table-head),
  .distributed-tasks-section .task-table .task-row:not(.table-head) {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-rows: auto auto;
    grid-template-areas: "task arrow" "responsible meta";
    align-items: center;
    gap: 7px 10px;
    min-height: 0;
    padding: 12px 14px;
  }

  .primary-tasks-section .task-row:not(.table-head)>span:first-child,
  .member-only-section .task-row:not(.table-head)>span:first-child,
  .distributed-tasks-section .task-row:not(.table-head)>span:first-child {
    grid-area: task;
    grid-row: auto;
  }

  .primary-tasks-section .task-row:not(.table-head)>span:nth-child(2),
  .member-only-section .task-row:not(.table-head)>span:nth-child(2),
  .distributed-tasks-section .task-row:not(.table-head)>span:nth-child(2) {
    grid-area: responsible;
    grid-row: auto;
    align-self: center;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
  }

  .primary-tasks-section .task-row:not(.table-head)>span:nth-child(3),
  .member-only-section .task-row:not(.table-head)>span:nth-child(3),
  .distributed-tasks-section .task-row:not(.table-head)>span:nth-child(3) {
    grid-area: meta;
    grid-row: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
  }

  .primary-tasks-section .task-row:not(.table-head)>span:nth-child(3)>.custom-icon,
  .member-only-section .task-row:not(.table-head)>span:nth-child(3)>.custom-icon,
  .distributed-tasks-section .task-row:not(.table-head)>span:nth-child(3)>.custom-icon {
    display: none !important;
  }

  .primary-tasks-section .task-row:not(.table-head) strong,
  .member-only-section .task-row:not(.table-head) strong,
  .distributed-tasks-section .task-row:not(.table-head) strong {
    font-size: 14px;
    line-height: 1.25;
  }

  .primary-tasks-section .task-row:not(.table-head) small,
  .member-only-section .task-row:not(.table-head) small,
  .distributed-tasks-section .task-row:not(.table-head) small {
    font-size: 11px;
    line-height: 1.25;
  }

  .primary-tasks-section .task-row:not(.table-head) .status,
  .member-only-section .task-row:not(.table-head) .status,
  .distributed-tasks-section .task-row:not(.table-head) .status,
  .primary-tasks-section .task-row:not(.table-head) .urgency,
  .member-only-section .task-row:not(.table-head) .urgency,
  .distributed-tasks-section .task-row:not(.table-head) .urgency {
    transform: scale(.82);
    transform-origin: right center;
  }

  .dashboard-responsible-icon {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
  }

  .primary-tasks-section .task-row:not(.table-head) .latest-task-info,
  .member-only-section .task-row:not(.table-head) .latest-task-info,
  .distributed-tasks-section .task-row:not(.table-head) .latest-task-info {
    font-size: 10px !important;
    line-height: 1.2;
    margin-top: 1px;
  }
}

@media (min-width:700px) {
  .primary-tasks-section .task-row:not(.table-head),
  .member-only-section .task-row:not(.table-head),
  .distributed-tasks-section .task-row:not(.table-head) {
    grid-template-rows: auto auto;
    align-items: start;
    min-height: 72px;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    padding-right: 34px;
  }

  .primary-tasks-section .task-row:not(.table-head)>span:last-child,
  .member-only-section .task-row:not(.table-head)>span:last-child,
  .distributed-tasks-section .task-row:not(.table-head)>span:last-child {
    grid-area: arrow;
    grid-row: auto;
    align-self: start;
    position: absolute;
    top: 10px;
    right: 12px;
    display: block;
  }

  .primary-tasks-section .task-row:not(.table-head)>span:first-child strong,
  .member-only-section .task-row:not(.table-head)>span:first-child strong,
  .distributed-tasks-section .task-row:not(.table-head)>span:first-child strong {
    font-size: 16px;
    line-height: 1.3;
  }

  .primary-tasks-section .task-row:not(.table-head) .responsible,
  .member-only-section .task-row:not(.table-head) .responsible,
  .distributed-tasks-section .task-row:not(.table-head) .responsible {
    display: flex;
    align-items: center;
    line-height: 1.2;
    font-size: 13px;
    gap: 4px;
    color: #40566a;
  }

  .primary-tasks-section .task-row:not(.table-head)>span:first-child>small,
  .member-only-section .task-row:not(.table-head)>span:first-child>small,
  .distributed-tasks-section .task-row:not(.table-head)>span:first-child>small {
    font-size: 13px !important;
    line-height: 1.25;
    color: #687b8c;
  }

  .primary-tasks-section .task-row:not(.table-head) .dashboard-responsible-icon,
  .member-only-section .task-row:not(.table-head) .dashboard-responsible-icon,
  .distributed-tasks-section .task-row:not(.table-head) .dashboard-responsible-icon {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
  }
}

@media (min-width:700px) {
  .primary-tasks-section .task-table {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
  }

  .primary-tasks-section .task-table .table-head {
    display: none;
  }

  .primary-tasks-section .task-table .task-row:not(.table-head) {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-rows: auto auto;
    grid-template-areas: "task arrow" "responsible meta";
    gap: 7px 10px;
    min-height: 0;
    padding: 12px 14px;
    position: relative;
    margin-bottom: 0;
  }

  .primary-tasks-section .task-row:not(.table-head)>span:first-child {
    grid-area: task;
    grid-row: auto;
  }

  .primary-tasks-section .task-row:not(.table-head)>span:nth-child(2) {
    grid-area: responsible;
    grid-row: auto;
    align-self: center;
  }

  .primary-tasks-section .task-row:not(.table-head)>span:nth-child(3) {
    grid-area: meta;
    grid-row: auto;
    align-self: center;
  }

  .primary-tasks-section .task-row:not(.table-head)>span:last-child {
    position: absolute;
    top: 10px;
    right: 12px;
    grid-area: arrow;
    grid-row: auto;
  }

  .member-only-section.view-mine .task-table,
  .distributed-tasks-section .task-table {
    display: block;
  }

  .member-only-section.view-mine .task-table .table-head,
  .distributed-tasks-section .task-table .table-head {
    display: grid;
    grid-column: auto;
  }

  .member-only-section.view-mine .task-table .task-row:not(.table-head),
  .distributed-tasks-section .task-table .task-row:not(.table-head) {
    display: grid;
    grid-template-columns: minmax(220px,2fr) minmax(130px,1fr) 165px 25px;
    grid-template-rows: none;
    grid-template-areas: none;
    align-items: center;
    gap: 15px;
    min-height: 0;
    padding: 14px 16px;
    position: static;
    margin-bottom: 7px;
  }

  .member-only-section.view-mine .task-row:not(.table-head)>span:first-child,
  .member-only-section.view-mine .task-row:not(.table-head)>span:nth-child(2),
  .member-only-section.view-mine .task-row:not(.table-head)>span:nth-child(3),
  .member-only-section.view-mine .task-row:not(.table-head)>span:last-child,
  .distributed-tasks-section .task-row:not(.table-head)>span:first-child,
  .distributed-tasks-section .task-row:not(.table-head)>span:nth-child(2),
  .distributed-tasks-section .task-row:not(.table-head)>span:nth-child(3),
  .distributed-tasks-section .task-row:not(.table-head)>span:last-child {
    grid-area: auto;
    grid-row: auto;
    align-self: center;
  }

  .primary-tasks-section.view-mine .task-table {
    display: block;
  }

  .primary-tasks-section.view-mine .task-table .table-head {
    display: grid;
    grid-column: auto;
  }

  .primary-tasks-section.view-mine .task-table .task-row:not(.table-head) {
    display: grid;
    grid-template-columns: minmax(220px,2fr) minmax(130px,1fr) 165px 25px;
    grid-template-rows: none;
    grid-template-areas: none;
    align-items: center;
    gap: 15px;
    min-height: 0;
    padding: 14px 16px;
    position: static;
    margin-bottom: 7px;
  }

  .primary-tasks-section.view-mine .task-row:not(.table-head)>span:first-child,
  .primary-tasks-section.view-mine .task-row:not(.table-head)>span:nth-child(2),
  .primary-tasks-section.view-mine .task-row:not(.table-head)>span:nth-child(3),
  .primary-tasks-section.view-mine .task-row:not(.table-head)>span:last-child {
    grid-area: auto;
    grid-row: auto;
    align-self: center;
  }
}

@media (min-width:700px) {
  .distributed-tasks-section.view-overview .task-table {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
  }

  .distributed-tasks-section.view-overview .task-table .table-head {
    display: none !important;
  }

  .distributed-tasks-section.view-overview .task-table .task-row:not(.table-head) {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    grid-template-rows: auto auto !important;
    grid-template-areas: "task arrow" "responsible meta" !important;
    gap: 7px 10px !important;
    padding: 12px 14px !important;
    position: relative !important;
    margin-bottom: 0 !important;
  }

  .distributed-tasks-section.view-overview .task-row:not(.table-head)>span:first-child {
    grid-area: task !important;
    grid-row: auto !important;
  }

  .distributed-tasks-section.view-overview .task-row:not(.table-head)>span:nth-child(2) {
    grid-area: responsible !important;
    grid-row: auto !important;
  }

  .distributed-tasks-section.view-overview .task-row:not(.table-head)>span:nth-child(3) {
    grid-area: meta !important;
    grid-row: auto !important;
  }

  .distributed-tasks-section.view-overview .task-row:not(.table-head)>span:last-child {
    position: absolute !important;
    top: 10px;
    right: 12px;
    grid-area: arrow !important;
    grid-row: auto !important;
  }
}

@media (min-width:700px) {
  .primary-tasks-section .task-row:not(.table-head) .status,
  .member-only-section .task-row:not(.table-head) .status,
  .distributed-tasks-section .task-row:not(.table-head) .status {
    white-space: nowrap;
  }
}

@media (min-width:700px) {
  .topbar {
    position: sticky;
    display: flex;
    padding-left: clamp(9px,2vw,32px);
  }

  .topbar>div:first-child {
    position: absolute;
    left: max(22px,calc((100vw - 1180px)/2 - 95px));
    width: 101px;
    display: flex;
    justify-content: flex-end;
    flex: 0 0 101px;
  }

  .logo-brand {
    display: flex;
    align-items: center;
    line-height: 0;
  }

  .logo-brand img {
    display: block;
    width: auto;
    height: 51px;
    max-width: 101px;
    object-fit: contain;
  }

  .topbar .user-switch {
    position: absolute;
    right: clamp(18px,4vw,64px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 11px;
  }
}

.user-session {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
  color: #38516e;
}

.user-session a {
  color: #187f7b;
  text-decoration: none;
}

.logout-form {
  margin: 0;
}

.logout-form button {
  border: 1px solid #dce7ef;
  background: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  color: #38516e;
  cursor: pointer;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card,
.settings-card {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.login-card form,
.settings-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.login-card label,
.settings-card label {
  font-weight: 650;
  color: #38516e;
  margin-top: 8px;
}

.login-card select,
.login-card input,
.settings-card input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbdbe8;
  border-radius: 9px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: #24334b;
}

.login-logo {
  display: block;
  max-width: 86px;
  max-height: 86px;
  margin: 0 auto 12px;
}

.primary-button {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  padding: 10px 16px;
  background: #187f7b;
  color: #fff;
  font-weight: 750;
  cursor: pointer;
  margin-top: 12px;
}

.error-notice {
  background: #fff0f0;
  color: #a33b3b;
}

.success-notice {
  background: #eefaf3;
  color: #267448;
}

@media (max-width:699px) {
  .primary-tasks-section .task-row:not(.table-head),
  .member-only-section .task-row:not(.table-head),
  .distributed-tasks-section .task-row:not(.table-head) {
    padding: 10px 12px 6px !important;
  }

  .primary-tasks-section .task-row:not(.table-head)>span:first-child .task-dates,
  .member-only-section .task-row:not(.table-head)>span:first-child .task-dates,
  .distributed-tasks-section .task-row:not(.table-head)>span:first-child .task-dates {
    margin-top: 0 !important;
    line-height: 1.05;
  }

  .primary-tasks-section .task-row:not(.table-head)>span:first-child .task-dates small,
  .member-only-section .task-row:not(.table-head)>span:first-child .task-dates small,
  .distributed-tasks-section .task-row:not(.table-head)>span:first-child .task-dates small {
    margin-top: 0 !important;
    line-height: 1.05;
  }
}

.event-image-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 12px;
  text-decoration: none;
}

.event-image-thumbnail {
  display: block;
  width: auto;
  height: auto;
  max-width: min(500px,100%);
  max-height: 500px;
  border: 1px solid #d8e5eb;
  border-radius: 14px;
  object-fit: contain;
  background: #f5fafb;
  box-shadow: 0 4px 14px rgba(35,70,90,.10);
}

.event-image-link:hover .event-image-thumbnail,
.event-image-link:focus-visible .event-image-thumbnail {
  border-color: #45a9ad;
  box-shadow: 0 0 0 3px rgba(69,169,173,.16);
  outline: none;
}

.event-bubble>.event-image-link+p {
  margin-top: 0;
}

@media (max-width:699px) {
  .event-image-thumbnail {
    max-width: min(300px,100%);
    max-height: 300px;
    border-radius: 12px;
  }
}

.topbar-user-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit !important;
  text-decoration: none !important;
  border-radius: 8px;
  padding: 3px 5px;
}

.topbar-user-link:hover,
.topbar-user-link:focus-visible {
  background: #eef8f7;
  outline: 2px solid #2f9d98;
  outline-offset: 1px;
}

.mobile-logout-form {
  margin: 0;
}

.mobile-logout-form button {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px 11px;
  border: 0;
  border-radius: 9px;
  color: #38516e;
  background: #f7fbfc;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-logout-form button:hover,
.mobile-logout-form button:focus-visible {
  background: #fff0f0;
  color: #a33b3b;
  outline: none;
}

.settings-logout-card {
  max-width: 520px;
  margin: 16px auto 0;
}

.settings-logout-card h2 {
  margin: 0 0 5px;
  color: #38516e;
  font-size: 18px;
}

.settings-logout-card form {
  display: block;
}

.settings-logout-card .button {
  min-height: 42px;
}

@media (max-width:699px) {
  .topbar-user-link {
    max-width: 150px;
    overflow: hidden;
  }

  .topbar-user-link .topbar-user-name {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-more-menu .mobile-logout-form {
    display: block;
  }

  .mobile-more-menu .mobile-logout-form button .custom-icon,
  .mobile-more-menu a .custom-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }

  .settings-logout-card {
    margin-top: 14px;
  }
}

.icon-image {
  -webkit-mask-image: url("/static/icons/image.svg");
  mask-image: url("/static/icons/image.svg");
}

.image-upload-button {
  border-color: #73aeb3;
  color: #287b82;
  background: #f1fbfb;
}

.image-upload-button:hover,
.image-upload-button:focus-visible {
  border-color: #287b82;
  background: #dff4f4;
  color: #17636a;
}

.dashboard-compact-section .task-table .table-head {
  display: none !important;
}

.dashboard-compact-section .task-row:not(.table-head) .task-created,
.dashboard-compact-section .task-row:not(.table-head)>span:first-child>small:not(.task-dates),
.dashboard-compact-section .task-row:not(.table-head) .latest-task-info {
  display: none !important;
}

.dashboard-compact-section .task-row:not(.table-head)>span:nth-child(3),
.dashboard-compact-section .task-row:not(.table-head)>.arrow {
  display: none !important;
}

.dashboard-compact-section .task-row:not(.table-head)>.responsible {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  align-items: center;
  gap: 5px;
  display: none !important;
}

.dashboard-compact-section .task-row:not(.table-head)>span:first-child {
  display: contents !important;
}

.dashboard-compact-section .task-row:not(.table-head)>span:first-child>strong {
  grid-column: 1;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-compact-section .task-row:not(.table-head) .task-dates {
  grid-column: 2;
  grid-row: 1;
  display: block !important;
  margin: 0 !important;
  flex: 0 0 18%;
  width: auto;
  min-width: 130px;
  margin-left: auto !important;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-compact-section .task-row:not(.table-head):has(.status-neu) {
  border-left-color: #8fa7ba;
}

.dashboard-compact-section .task-row:not(.table-head):has(.status-geplant) {
  border-left-color: #6d9bc1;
}

.dashboard-compact-section .task-row:not(.table-head):has(.status-zugewiesen) {
  border-left-color: #48a4a0;
}

.dashboard-compact-section .task-row:not(.table-head):has(.status-in-bearbeitung) {
  border-left-color: #e2a249;
}

.dashboard-compact-section .task-row:not(.table-head):has(.status-rueckfrage-erhalten) {
  border-left-color: #d77777;
}

.dashboard-compact-section .task-row:not(.table-head):has(.status-geantwortet) {
  border-left-color: #6d9bc1;
}

.dashboard-compact-section .task-row:not(.table-head):has(.status-erledigt) {
  border-left-color: #58a878;
}

@media (min-width:700px) {
  .dashboard-compact-section .task-row:not(.table-head)>span:nth-child(2),
  .dashboard-compact-section .task-row:not(.table-head)>span:nth-child(3),
  .dashboard-compact-section .task-row:not(.table-head)>span:last-child {
    display: none !important;
  }
}

@media (min-width:700px) {
  .dashboard-compact-section .task-table {
    display: block !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-auto-flow: initial !important;
  }

  .dashboard-compact-section .task-table .task-row:not(.table-head) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 48px !important;
    padding: 10px 14px !important;
    position: relative !important;
    margin-bottom: 0 !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-template-areas: none !important;
    width: 100% !important;
  }

  .dashboard-compact-section .task-table .table-head {
    display: none !important;
  }
}

@media (min-width:700px) {
  .dashboard-compact-section .task-row:not(.table-head)>span:first-child {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    min-width: 0 !important;
    grid-area: auto !important;
    grid-row: auto !important;
  }

  .dashboard-compact-section .task-row:not(.table-head)>span:first-child .task-dates {
    display: block !important;
    width: auto !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    order: 1 !important;
    flex: 0 0 18% !important;
    min-width: 130px !important;
    margin: 0 12px 0 0 !important;
    text-align: left !important;
  }

  .dashboard-compact-section .task-row:not(.table-head)>span:first-child>strong {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    order: 2 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
}

@media (max-width:699px) {
  .dashboard-compact-section .task-row:not(.table-head)>span:first-child {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    min-width: 0 !important;
    grid-area: auto !important;
    grid-row: auto !important;
  }

  .dashboard-compact-section .task-row:not(.table-head)>span:first-child .task-dates {
    order: 1 !important;
    flex: 0 0 25% !important;
    min-width: 86px !important;
    margin: 0 7px 0 0 !important;
    text-align: left !important;
  }

  .dashboard-compact-section .task-row:not(.table-head)>span:first-child>strong {
    order: 2 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
}

.dashboard-compact-section .task-table {
  display: block !important;
  grid-template-columns: none !important;
  grid-auto-flow: initial !important;
}

.task-row.priority-normal,
.task-card.priority-normal,
.task-row.priority-nicht-dringend,
.task-card.priority-nicht-dringend {
  background: #eef9f1 !important;
  box-shadow: inset 4px 0 0 #42a866 !important;
}

.task-row.priority-hoch,
.task-card.priority-hoch {
  background: #fff7e0 !important;
  box-shadow: inset 4px 0 0 #e3a12b !important;
}

.task-row.priority-dringend,
.task-card.priority-dringend,
.task-row.priority-kritisch,
.task-card.priority-kritisch,
.task-row.priority-sofort-erledigen,
.task-card.priority-sofort-erledigen {
  background: #ffeded !important;
  box-shadow: inset 4px 0 0 #d33f4b !important;
}

.task-row.priority-normal.task-main,
.task-row.priority-normal.task-subtask,
.task-row.priority-nicht-dringend.task-main,
.task-row.priority-nicht-dringend.task-subtask {
  border-left-color: #42a866 !important;
}

.task-row.priority-hoch.task-main,
.task-row.priority-hoch.task-subtask {
  border-left-color: #e3a12b !important;
}

.task-row.priority-dringend.task-main,
.task-row.priority-dringend.task-subtask,
.task-row.priority-kritisch.task-main,
.task-row.priority-kritisch.task-subtask,
.task-row.priority-sofort-erledigen.task-main,
.task-row.priority-sofort-erledigen.task-subtask {
  border-left-color: #d33f4b !important;
}

.urgency.urgency-normal,
.urgency.urgency-nicht-dringend {
  background: #42a866 !important;
}

.urgency.urgency-hoch {
  color: #d28229 !important;
  background: #e3a12b !important;
}

.urgency.urgency-dringend,
.urgency.urgency-kritisch,
.urgency.urgency-sofort-erledigen {
  background: #d33f4b !important;
  box-shadow: none !important;
}

.dashboard-sort-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid #d8e6ec;
  border-radius: 12px;
  background: #f7fbfc;
  color: #38566b;
  font-size: 13px;
  font-weight: 700;
}

.dashboard-sort-form label {
  margin-right: 2px;
}

.dashboard-sort-form select {
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid #c8dbe3;
  border-radius: 8px;
  background: #fff;
  color: #29485f;
  font: inherit;
  font-weight: 600;
}

.dashboard-sort-form .button {
  min-height: 36px;
  padding: 6px 12px;
}

.dashboard-sort-form~.table-section .count {
  display: inline-flex;
  min-width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  border: 2px solid #287b82;
  border-radius: 50%;
  background: #e4f6f5;
  color: #17636a;
  font-size: 17px;
  font-weight: 850;
  line-height: 1;
}

@media (max-width:699px) {
  .dashboard-sort-form {
    align-items: stretch;
  }

  .dashboard-sort-form label {
    flex: 0 0 100%;
  }

  .dashboard-sort-form select {
    flex: 1 1 42%;
    min-width: 0;
  }

  .dashboard-sort-form .button {
    flex: 0 0 auto;
  }

  .dashboard-sort-form~.table-section .count {
    min-width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

.dashboard-compact-section .task-table .task-row:not(.table-head) {
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  border-left: 4px solid #cbdbe8;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  justify-content: flex-start;
  align-items: center;
  grid-template-columns: none !important;
  display: flex !important;
  width: 100% !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  margin-bottom: 6px !important;
  border-left-width: 7px !important;
  border-left-style: solid !important;
}

.dashboard-compact-section .task-table .task-row:not(.table-head).task-subtask {
  border-left-width: 6px !important;
  border-left-style: dashed !important;
}

.dashboard-compact-section .task-table .task-row:not(.table-head).task-main {
  border-left-width: 7px !important;
  border-left-style: solid !important;
}

.dashboard-compact-section .task-table .task-row:not(.table-head):last-child {
  margin-bottom: 0 !important;
}

.overview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.overview-eyebrow {
  margin: 0 0 4px;
  color: #ee9b25;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.overview-header h1 {
  margin: 0;
  color: #183b62;
  font-size: 34px;
  line-height: 1.08;
}

.overview-subtitle {
  margin: 8px 0 0;
  color: #6b7d91;
  font-size: 15px;
}

.overview-new-task span {
  font-size: 22px;
  line-height: 16px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.overview-card h2 {
  margin: 0;
  color: #183b62;
  font-size: 19px;
  line-height: 1.2;
}

.overview-card-heading p {
  margin: 5px 0 0;
  color: #8492a2;
  font-size: 12px;
}

.overview-card-icon {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #fff2d9;
  color: #ec9a20;
  font-size: 19px;
  font-weight: 900;
}

.overview-icon-distributed {
  background: #e8f1ff;
  color: #397fc1;
}

.overview-icon-calendar {
  background: #e8f7ee;
  color: #42a866;
}

.overview-icon-activity {
  background: #f2eafd;
  color: #8666b9;
}

.overview-card-count {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff5df;
  color: #e28c11;
  font-size: 15px;
}

.overview-task-list {
  display: grid;
  gap: 8px;
}

.overview-checkbox {
  display: grid;
  place-items: center;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  border: 2px solid #cbd6e1;
  border-radius: 4px;
  background: #fff;
  color: #fff;
  font-size: 11px;
}

.overview-checkbox.is-done {
  border-color: #42a866;
  background: #42a866;
}

.overview-task-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
}

.overview-task-text strong {
  overflow: hidden;
  color: #2c4058;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.overview-task-text small {
  overflow: hidden;
  color: #8290a0;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.overview-due-date {
  color: #d48614 !important;
  font-weight: 800;
}

.overview-task-menu:hover {
  background: #f1f4f7;
  color: #38566b;
}

.overview-activity-list {
  display: grid;
  gap: 2px;
}

.overview-activity-item {
  display: flex;
  gap: 11px;
  padding: 8px 0;
  color: inherit;
  text-decoration: none;
}

.overview-activity-dot {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: #f1a32b;
}

.overview-activity-item>span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.overview-activity-item strong {
  overflow: hidden;
  color: #2c4058;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.overview-activity-item small {
  color: #8a98a7;
  font-size: 10px;
}

.overview-activity-item em {
  overflow: hidden;
  color: #66788b;
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.overview-empty {
  margin: 12px 0;
  color: #8996a4;
  font-size: 13px;
}

@media (max-width:699px) {
  .overview-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
  }

  .overview-header h1 {
    font-size: 29px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .overview-card h2 {
    font-size: 18px;
  }
}

.overview-card {
  min-width: 0;
  border: 1px solid #e8edf3;
  border-top: 4px solid #f1a32b;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px #28486612;
  padding: 18px;
}

.overview-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.overview-card-link {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #edf1f5;
  color: #e2931c;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  margin-top: 12px;
  padding-top: 10px;
}

@media (max-width:699px) {
  .overview-card {
    padding: 17px;
  }
}

.overview-page {
  background: #eef0f3 !important;
  max-width: none !important;
  padding-left: 0;
  padding-right: 0;
}

.overview-dashboard {
  max-width: 1360px;
  margin: 0 auto;
  padding: 15px 0 56px;
  color: #27364d;
  position: relative;
}

.overview-task-columns span:not(:first-child) {
  text-align: right;
}

.overview-task-columns span:nth-child(2) {
  text-align: left;
}

.overview-task-columns span:nth-child(3) {
  text-align: left;
}

.overview-task-actions[hidden] {
  display: none !important;
}

.overview-task-actions {
  position: absolute;
  z-index: 5;
  top: 42px;
  right: 7px;
  display: none;
  flex-direction: column;
  min-width: 135px;
  padding: 5px;
  border: 1px solid #e1e7ee;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 22px #20384d2b;
}

.overview-task-actions:not([hidden]) {
  display: flex;
}

.overview-task-actions a,
.overview-task-actions button {
  display: block;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #38566b;
  font: inherit;
  font-size: 12px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.overview-task-actions a:hover,
.overview-task-actions button:hover {
  background: #fff4dd;
  color: #d48512;
}

.overview-task-actions form {
  margin: 0;
}

.overview-task-menu {
  display: grid;
  place-items: center;
  width: 28px;
  height: 34px;
  margin-right: 5px;
  border-radius: 6px;
  color: #9aa7b5;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.overview-task-menu[aria-expanded=true] {
  background: #fff0d0;
  color: #d48614;
}

.overview-card-heading>div {
  position: relative;
  padding-left: 42px;
  flex: 1;
  min-width: 0;
}

.overview-task-main {
  gap: 11px;
  min-width: 0;
  flex: 1;
  color: inherit;
  text-decoration: none;
  padding: 8px 7px 8px 10px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 90px 100px;
  align-items: center;
}

.overview-task-main .overview-task-text {
  min-width: 0;
}

.overview-task-due,
.overview-task-from {
  min-width: 0;
  overflow: hidden;
  color: #64788b;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.overview-task-main .overview-task-text strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width:699px) {
  .overview-task-main {
    padding-top: 9px;
    padding-bottom: 9px;
    grid-template-columns: minmax(0,1fr) 72px 80px;
    gap: 8px;
  }

  .overview-task-due,
  .overview-task-from {
    font-size: 10px;
  }
}

.overview-global-line {
  position: relative;
  z-index: 4;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

.overview-dashboard:before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 5px;
  border-radius: 0 0 8px 8px;
  background: #f1a32b;
  box-shadow: 0 2px 7px #f1a32b33;
  display: none;
}

@media (max-width:699px) {
  .overview-global-line span {
    top: 0;
    left: 5%;
    right: 5%;
    height: 4px;
  }

  .overview-dashboard {
    padding: 18px 14px 80px;
    padding-top: 18px;
  }
}

.overview-card-top-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: #d89519;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.overview-card-top-link span {
  font-size: 23px;
  line-height: 12px;
}

.overview-task-from {
  color: #3b5970;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-align: left;
}

.overview-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(145deg,#e7a62d,#f7d487);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 1px 2px #20384d22;
}

.overview-distributed-tasks .overview-avatar {
  background: linear-gradient(145deg,#5b9fca,#b8d9e9);
}

.overview-task {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border-left: 5px solid #42a866;
  border-radius: 7px;
  position: relative;
  background: #fafbfd;
}

.overview-task.priority-normal,
.overview-task.priority-nicht-dringend {
  background: #edf9f1;
}

.overview-task.priority-hoch {
  border-left-color: #e3a12b;
  background: #fff8e7;
}

.overview-task.priority-dringend,
.overview-task.priority-kritisch,
.overview-task.priority-sofort-erledigen {
  border-left-color: #d33f4b;
  background: #fff0f1;
}

.topbar-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-search {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 294px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #e5e9ee;
  border-radius: 20px;
  background: #f5f7f9;
  color: #8592a1;
}

.topbar-search .custom-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.topbar-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #34495e;
  font: inherit;
  font-size: 13px;
}

.topbar-notifications {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #52677b;
  cursor: pointer;
}

.topbar-notifications .custom-icon {
  width: 19px;
  height: 19px;
}

.topbar-notifications i {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ef6b1c;
  color: #fff;
  font-size: 10px;
  font-style: normal;
}

.topbar-user-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #d8a477;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.topbar-user-chevron {
  color: #d49b21;
  font-size: 20px;
  line-height: 1;
}

@media (min-width:700px) {
  .topbar .user-session {
    right: 18px;
    display: flex;
    align-items: center;
  }

  .topbar .current-user-label,
  .topbar .settings-link,
  .topbar .logout-form {
    display: none;
  }

  .topbar .main-nav {
    position: absolute;
    left: max(22px,calc((100vw - 1180px)/2 + 22px));
    min-width: 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
    right: 310px;
    gap: 2px;
  }

  .topbar .desktop-nav-links {
    min-width: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: visible;
    gap: 2px;
  }

  .topbar .desktop-nav-links a,
  .topbar .overview-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-weight: 500 !important;
    line-height: 1.1;
    font-size: 12px !important;
    gap: 0;
  }

  .topbar .desktop-nav-links .nav-item-icon,
  .topbar .desktop-nav-links a>.custom-icon,
  .topbar .overview-link>.custom-icon {
    flex: 0 0 16px;
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }
}

.overview-global-line span {
  position: absolute;
  top: 0;
  height: 3px;
  background: #fdb404;
  left: 0;
  right: 0;
}

.topbar .overview-link.active{background:rgba(253,180,4,.10)!important;color:#182738;padding:8px 10px;border-radius:8px;box-shadow:0 13px 0 rgba(253,180,4,.10)}

.topbar-user-name {
  color: #34495e;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.overview-new-task {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #f1a32b;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 10px #f1a32b33;
  color: #17202b;
}

.overview-header-actions time {
  color: #687481;
  font-weight: 600;
}

.overview-time-row time {
  color: #27364d;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.overview-time-row .overview-new-task {
  font-size: 14px;
}

@media (max-width:699px) {
  .overview-time-row {
    justify-content: space-between;
    width: 100%;
  }

  .overview-time-row time {
    font-size: 22px;
  }
}

.overview-task-columns {
  display: grid;
  grid-template-columns: minmax(0,1fr) 90px 100px;
  gap: 10px;
  margin-top: 15px;
  padding: 8px 0 0;
  border-top: 1px solid #edf1f5;
  color: #98a4b0;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  width: calc(100% + 130px);
  margin-left: -37px;
}

.overview-task-list .overview-task-main {
  display: contents;
}

.overview-task-list .overview-task-text,
.overview-task-list .overview-task-due,
.overview-task-list .overview-task-from {
  padding-top: 10px;
  padding-bottom: 10px;
}

@media (max-width:699px) {
  .overview-task-columns {
    font-size: 9px;
    grid-template-columns: minmax(0,1fr) 72px 80px 18px;
    width: calc(100% + 118px);
    margin-left: -30px;
  }
}

.overview-header-actions {
  gap: 18px;
  color: #718196;
  font-size: 14px;
  font-weight: 700;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 18px;
}

.overview-date-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.overview-header-actions>.overview-new-task {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.overview-date-time time {
  color: #27364d;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.overview-date {
  color: #778493;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.overview-time-row {
  align-items: center;
  gap: 16px;
  display: none;
}

@media (max-width:699px) {
  .overview-header-actions {
    width: 100%;
    justify-content: end;
  }

  .overview-date-time {
    width: 100%;
    align-items: flex-end;
  }

  .overview-date {
    font-size: 12px;
  }

  .overview-header-actions>.overview-new-task {
    font-size: 13px;
  }

  .overview-date-time time {
    font-size: 22px;
  }

  .topbar-status {
    display: none;
  }

  .topbar-user-name {
    display: none;
  }

  .topbar .current-user-label,
  .topbar .settings-link,
  .topbar .logout-form {
    display: none !important;
  }
}

.overview-due-tasks .overview-task-text {
  flex: 1;
  min-width: 0;
}

.overview-due-block {
  display: flex;
  flex: 0 0 42px;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #d58b16;
}

.overview-due-month {
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.overview-due-day {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #f0d28f;
  border-radius: 5px;
  background: #fff8e7;
  color: #263b55;
  font-size: 17px;
  line-height: 1;
}

@media (max-width:699px) {
  .overview-due-block {
    flex-basis: 38px;
  }

  .overview-due-day {
    width: 31px;
    height: 31px;
    font-size: 16px;
  }
}

.overview-due-tasks .overview-task-text small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overview-due-tasks .overview-task.priority-normal .overview-due-day,
.overview-due-tasks .overview-task.priority-nicht-dringend .overview-due-day {
  border-color: #bfe5cc;
  background: transparent;
  color: #263b55;
}

.overview-due-tasks .overview-task.priority-dringend .overview-due-day,
.overview-due-tasks .overview-task.priority-kritisch .overview-due-day,
.overview-due-tasks .overview-task.priority-sofort-erledigen .overview-due-day {
  border-color: #efb8bd;
  background: transparent;
  color: #263b55;
}

.overview-due-tasks .overview-task {
  align-items: center;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 28px !important;
  gap: 8px !important;
  width: 100% !important;
}

.overview-due-tasks .overview-task-main {
  padding: 10px 8px 10px 11px;
  align-items: center;
  gap: 12px;
  display: flex !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.overview-due-tasks .overview-task-menu {
  flex: 0 0 auto;
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center !important;
  justify-self: end !important;
}

.overview-due-tasks .overview-task-text strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.overview-due-tasks .overview-due-block {
  display: flex !important;
  flex: 0 0 58px !important;
  min-height: 0 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #d58b16 !important;
}

.overview-due-tasks .overview-due-month {
  order: 2 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: none !important;
}

.overview-due-tasks .overview-due-day {
  order: 1 !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: 24px !important;
  font-weight: 850 !important;
  line-height: .95 !important;
}

.overview-due-tasks .overview-task.priority-normal .overview-due-block,
.overview-due-tasks .overview-task.priority-nicht-dringend .overview-due-block {
  border-color: #bfe5cc;
  background: #edf9f1;
  color: #28b879 !important;
}

.overview-due-tasks .overview-task.priority-hoch .overview-due-block {
  color: #d9a119 !important;
}

.overview-due-tasks .overview-task.priority-dringend .overview-due-block,
.overview-due-tasks .overview-task.priority-kritisch .overview-due-block,
.overview-due-tasks .overview-task.priority-sofort-erledigen .overview-due-block {
  border-color: #efb8bd;
  background: #fff0f1;
  color: #dc3545 !important;
}

@media (max-width:699px) {
  .overview-due-tasks .overview-due-block {
    min-height: 50px;
    padding: 4px 3px;
    flex-basis: 48px !important;
  }

  .overview-due-tasks .overview-due-day {
    font-size: 21px !important;
  }

  .overview-due-tasks .overview-due-month {
    font-size: 11px !important;
  }
}

@media (min-width:700px) {
  .overview-dashboard .overview-date {
    font-size: 12px;
  }

  .overview-dashboard .overview-date-time time {
    font-size: 22px;
  }

  .overview-dashboard .overview-new-task {
    min-height: 36px;
    padding: 8px 13px;
    font-size: 13px;
  }
}

@media (min-width:700px) {
  .overview-page {
    max-width: 1240px;
    padding-top: 14px;
  }

  .overview-dashboard {
    padding-top: 4px;
  }

  .overview-dashboard .overview-header {
    align-items: center;
    margin-bottom: 14px;
  }

  .overview-dashboard .overview-header h1 {
    line-height: 1.1;
    font-size: 25px;
    font-weight: 750;
    color: #202124;
  }

  .overview-dashboard .overview-grid {
    gap: 16px;
  }

  .overview-dashboard .overview-card {
    padding: 14px;
    border-top-width: 3px;
    border-radius: 12px;
    box-shadow: 0 4px 14px #2848660d;
  }

  .overview-dashboard .overview-card-heading {
    margin-bottom: 8px;
  }

  .overview-dashboard .overview-card-heading>div {
    padding-left: 31px;
  }

  .overview-dashboard .overview-card h2 {
    font-size: 16px;
    font-weight: 750;
    color: #202124;
  }

  .overview-dashboard .overview-card p {
    margin-top: 2px;
    font-size: 11px;
  }

  .overview-dashboard .overview-card-icon {
    width: 23px;
    height: 23px;
    font-size: 15px;
  }

  .overview-dashboard .overview-task-list .overview-task {
    font-size: 12px;
  }

  .overview-dashboard .overview-task-list .overview-task-text,
  .overview-dashboard .overview-task-list .overview-task-due,
  .overview-dashboard .overview-task-list .overview-task-from {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .overview-dashboard .overview-task-list .overview-task-text strong {
    font-weight: 650;
  }

  .overview-dashboard .overview-task-list .overview-task-due,
  .overview-dashboard .overview-task-list .overview-task-from {
    font-size: 11px;
    color: #65727e;
  }

  .overview-dashboard .overview-activity-item strong {
    font-size: 12px;
  }

  .overview-dashboard .overview-activity-item small,
  .overview-dashboard .overview-activity-item em {
    font-size: 10px;
  }

  .overview-dashboard .overview-card-link {
    margin-top: 8px;
    font-size: 11px;
  }
}

@media (min-width:700px) {
  .overview-dashboard .overview-my-tasks .overview-task-text,
  .overview-dashboard .overview-distributed-tasks .overview-task-text {
    padding-left: 12px !important;
  }

  .overview-dashboard .overview-my-tasks .overview-card-heading,
  .overview-dashboard .overview-distributed-tasks .overview-card-heading {
    position: relative;
    display: block;
  }

  .overview-dashboard .overview-my-tasks .overview-card-heading>div,
  .overview-dashboard .overview-distributed-tasks .overview-card-heading>div {
    width: 100%;
  }

  .overview-dashboard .overview-my-tasks .overview-card-top-link,
  .overview-dashboard .overview-distributed-tasks .overview-card-top-link {
    position: absolute;
    top: 0;
    right: 0;
  }

  .overview-dashboard .overview-my-tasks .overview-task-columns,
  .overview-dashboard .overview-distributed-tasks .overview-task-columns {
    display: grid;
    grid-template-columns: minmax(0,1fr) 90px 100px 18px;
    column-gap: 8px;
    width: calc(100% + 26px);
    margin-left: -26px;
  }

  .overview-dashboard .overview-my-tasks .overview-task-columns>span:first-child,
  .overview-dashboard .overview-distributed-tasks .overview-task-columns>span:first-child {
    padding-left: 12px;
  }

  .overview-dashboard .overview-due-tasks .overview-task {
    min-height: 36px !important;
  }

  .overview-dashboard .overview-due-tasks .overview-task-main {
    min-height: 36px;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }

  .overview-dashboard .overview-due-tasks .overview-due-block {
    flex-basis: 48px !important;
    gap: 1px !important;
  }

  .overview-dashboard .overview-due-tasks .overview-task-text strong {
    line-height: 1.15;
  }

  .overview-dashboard .overview-due-tasks .overview-task-text small {
    font-size: 10px;
    line-height: 1.1;
  }

  .overview-dashboard .overview-date-block {
    display: inline-flex;
    min-height: 30px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    color: #d9a119;
    line-height: 1;
  }

  .overview-dashboard .overview-date-month {
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
  }

  .overview-dashboard .overview-my-tasks .overview-task-columns>span:nth-child(2),
  .overview-dashboard .overview-distributed-tasks .overview-task-columns>span:nth-child(2),
  .overview-dashboard .overview-my-tasks .overview-task-due,
  .overview-dashboard .overview-distributed-tasks .overview-task-due {
    padding-left: 14px;
  }

  .overview-dashboard .overview-date-day {
    color: inherit;
    font-size: 18px;
    font-weight: 850;
    line-height: .9;
  }

  .overview-dashboard .overview-date-full,
  .overview-dashboard .overview-due-full-date {
    color: #65727e;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
  }

  .overview-dashboard .overview-due-full-date {
    flex: 0 0 76px;
  }

  .overview-dashboard .overview-task.priority-normal .overview-date-block,
  .overview-dashboard .overview-task.priority-nicht-dringend .overview-date-block {
    color: #28b879;
  }

  .overview-dashboard .overview-task.priority-hoch .overview-date-block {
    color: #d9a119;
  }

  .overview-dashboard .overview-task.priority-dringend .overview-date-block,
  .overview-dashboard .overview-task.priority-kritisch .overview-date-block,
  .overview-dashboard .overview-task.priority-sofort-erledigen .overview-date-block {
    color: #dc3545;
  }

  .overview-dashboard .overview-due-tasks .overview-due-month {
    font-size: 9px !important;
    order: 1 !important;
  }

  .overview-dashboard .overview-due-tasks .overview-due-day {
    font-size: 17px !important;
    order: 2 !important;
  }

  .overview-dashboard .overview-activity-list {
    display: flex;
    flex-direction: column;
  }

  .overview-dashboard .overview-activity-item {
    padding-top: 7px;
    padding-bottom: 7px;
    display: grid;
    grid-template-columns: 24px minmax(0,1fr) auto;
    align-items: center;
    column-gap: 9px;
    min-height: 46px;
    padding: 6px 0;
    border-bottom: 1px solid #edf0f3;
    color: #263b55;
    text-decoration: none;
  }

  .overview-dashboard .overview-activity-item:last-child {
    border-bottom: 0;
  }

  .overview-dashboard .overview-activity-icon {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    color: #e1a121;
  }

  .overview-dashboard .overview-activity-icon.icon-completed {
    color: #28a768;
  }

  .overview-dashboard .overview-activity-icon.icon-question,
  .overview-dashboard .overview-activity-icon.icon-reply {
    color: #d69b20;
  }

  .overview-dashboard .overview-activity-icon.icon-assign,
  .overview-dashboard .overview-activity-icon.icon-claim {
    color: #4f86b2;
  }

  .overview-dashboard .overview-activity-icon.icon-add-task {
    color: #5d9fc1;
  }

  .overview-dashboard .overview-activity-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
  }

  .overview-dashboard .overview-activity-copy strong {
    overflow: hidden;
    color: #2b4059;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .overview-dashboard .overview-activity-copy small {
    overflow: hidden;
    color: #738191;
    font-size: 10px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .overview-dashboard .overview-activity-item time {
    align-self: center;
    margin-left: 8px;
    color: #8793a0;
    font-size: 10px;
    font-style: normal;
    white-space: nowrap;
  }

  .overview-dashboard .overview-title-sort {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
  }

  .overview-dashboard .overview-sort-form {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #748293;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
  }

  .overview-dashboard .overview-sort-form select {
    height: 32px;
    max-width: 150px;
    padding: 0 28px 0 10px;
    border: 1px solid #d8e2ea;
    border-radius: 8px;
    background: #fff;
    color: #334b62;
    font: inherit;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
  }

  .overview-dashboard .overview-sort-form select:focus-visible {
    outline: 2px solid #e9a226;
    outline-offset: 2px;
  }

  @media (max-width:699px) {
    .overview-dashboard .overview-title-sort {
      width: 100%;
      flex-wrap: wrap;
      gap: 8px;
    }

    .overview-dashboard .overview-sort-form {
      width: 100%;
      justify-content: space-between;
    }

    .overview-dashboard .overview-sort-form select {
      max-width: 175px;
    }
  }
}

.tasks-page-mine {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px 42px;
}

.tasks-page-mine .compact-header {
  margin-bottom: 14px;
}

.tasks-page-mine .compact-header h1 {
  color: #202124;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: 0;
}

.tasks-page-mine .dashboard-sort-form {
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid #e8edf3;
  border-top: 3px solid #f1a32b;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px #2848660d;
  color: #53697e;
  font-size: 12px;
}

.tasks-page-mine .dashboard-sort-form select {
  min-height: 32px;
  border-color: #d8e2ea;
  border-radius: 8px;
  background: #fff;
  color: #334b62;
  font-size: 12px;
}

.tasks-page-mine .table-section {
  margin: 16px 0 20px;
  padding: 14px;
  border: 1px solid #e8edf3;
  border-top: 3px solid #f1a32b;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px #2848660d;
}

.tasks-page-mine .table-heading {
  margin: 0 0 9px;
}

.tasks-page-mine .table-heading h2 {
  color: #202124;
  font-size: 16px;
  font-weight: 750;
}

.tasks-page-mine .table-heading .count {
  border-color: #e0a12b;
  background: #fff7e4;
  color: #b47811;
}

.tasks-page-mine .task-table {
  gap: 5px;
}

.tasks-page-mine .task-row.table-head {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #8898a8;
  font-size: 11px;
}

.tasks-page-mine .task-row:not(.table-head) {
  min-height: 68px;
  border: 0;
  border-left: 4px solid #f1a32b;
  border-radius: 7px;
  background: #fff8e7;
  box-shadow: none;
}

.tasks-page-mine .task-row.priority-normal,
.tasks-page-mine .task-row.priority-nicht-dringend {
  border-left-color: #43b979;
  background: #edf9f1;
}

.tasks-page-mine .task-row.priority-dringend,
.tasks-page-mine .task-row.priority-kritisch,
.tasks-page-mine .task-row.priority-sofort-erledigen {
  border-left-color: #dc3545;
  background: #fff0f1;
}

.tasks-page-mine .task-row:not(.table-head)>span:first-child {
  padding-left: 12px;
}

.tasks-page-mine .task-row strong {
  color: #294766;
  font-size: 13px;
}

.tasks-page-mine .task-row small {
  color: #6c7e8f;
}

.tasks-page-mine .task-row .responsible {
  color: #526a80;
  font-size: 12px;
}

.tasks-page-mine .task-row .arrow {
  color: #d89519;
}

.tasks-page-mine .member-only-section {
  border-top-color: #6c9ec1;
}

.tasks-page-mine .member-only-section .task-row:not(.table-head) {
  border-left-color: #6c9ec1;
  background: #f1f7fb;
}

.tasks-page-mine .empty,
.tasks-page-mine .empty-state {
  border: 1px dashed #d9e3ec;
  border-radius: 8px;
  background: #f9fbfd;
  color: #718196;
}

@media (max-width:699px) {
  .tasks-page-mine {
    padding: 18px 14px 80px;
  }

  .tasks-page-mine .compact-header {
    margin-bottom: 12px;
  }

  .tasks-page-mine .compact-header h1 {
    font-size: 29px;
  }

  .tasks-page-mine .dashboard-sort-form {
    gap: 8px;
    padding: 10px;
  }

  .tasks-page-mine .table-section {
    padding: 12px;
  }

  .tasks-page-mine .task-row:not(.table-head) {
    min-height: 0;
  }
}

@media (min-width:700px) {
  .tasks-page-mine .primary-tasks-section .task-row:not(.table-head)>span:nth-child(2),
  .tasks-page-mine .primary-tasks-section .task-row:not(.table-head)>span:nth-child(3) {
    transform: translateX(150px);
  }

  .tasks-page-mine .primary-tasks-section .task-row:not(.table-head)>span:nth-child(3) {
    position: relative;
  }

  .tasks-page-mine .primary-tasks-section .table-head>span:nth-child(2),
  .tasks-page-mine .primary-tasks-section .table-head>span:nth-child(3) {
    transform: translateX(150px);
  }
}

.mine-reference-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 34px 56px;
}

.mine-reference-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.mine-reference-eyebrow {
  margin: 0 0 5px;
  color: #e2a127;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mine-reference-header h1 {
  margin: 0;
  color: #182b42;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -.5px;
}

.mine-reference-subtitle {
  margin: 7px 0 0;
  color: #718298;
  font-size: 14px;
}

.mine-reference-new-task {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 9px;
  background: #f1a32b;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 10px #f1a32b33;
}

.mine-reference-new-task span {
  font-size: 21px;
  line-height: 1;
}

.mine-reference-filters {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid #e3eaf1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px #2848660d;
}

.mine-reference-filter-group {
  display: flex;
  min-width: 180px;
  flex-direction: column;
  gap: 5px;
}

.mine-reference-filter-group label {
  color: #65768a;
  font-size: 11px;
  font-weight: 800;
}

.mine-reference-filter-group select {
  height: 36px;
  padding: 0 30px 0 10px;
  border: 1px solid #d5e0e9;
  border-radius: 8px;
  background: #f9fbfc;
  color: #29445f;
  font: inherit;
  font-size: 12px;
}

.mine-reference-card {
  margin: 0 0 22px;
  padding: 20px;
  border: 1px solid #e2e9ef;
  border-top: 4px solid #f1a32b;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px #28486612;
}

.mine-reference-member-card {
  border-top-color: #6c9ec1;
}

.mine-reference-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mine-reference-card-heading h2 {
  margin: 0;
  color: #1d3048;
  font-size: 19px;
}

.mine-reference-card-heading p {
  margin: 4px 0 0;
  color: #7a8999;
  font-size: 12px;
}

.mine-reference-count {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #f0d28f;
  border-radius: 50%;
  background: #fff7e4;
  color: #b47811;
  font-size: 13px;
  font-weight: 850;
}

.mine-reference-member-card .mine-reference-count {
  border-color: #c9dfed;
  background: #eff7fb;
  color: #4f86ad;
}

.mine-reference-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mine-reference-row {
  display: grid;
  grid-template-columns: minmax(260px,2.3fr) 150px minmax(145px,1fr) 125px 150px 38px;
  column-gap: 12px;
  align-items: center;
}

.mine-reference-table-head {
  min-height: 30px;
  padding: 0 14px;
  color: #8291a1;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mine-reference-row:not(.mine-reference-table-head) {
  min-height: 76px;
  padding: 11px 14px;
  border-left: 4px solid #f1a32b;
  border-radius: 8px;
  background: #fff8e7;
}

.mine-reference-row.priority-normal,
.mine-reference-row.priority-nicht-dringend {
  border-left-color: #42b978;
  background: #edf9f1;
}

.mine-reference-row.priority-hoch {
  border-left-color: #e2a323;
  background: #fff8e7;
}

.mine-reference-row.priority-dringend,
.mine-reference-row.priority-kritisch,
.mine-reference-row.priority-sofort-erledigen {
  border-left-color: #d94a57;
  background: #fff0f1;
}

.mine-reference-task {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.mine-reference-task a {
  overflow: hidden;
  color: #254563;
  font-size: 13px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mine-reference-task a:hover {
  text-decoration: underline;
}

.mine-reference-task strong {
  font-weight: 800;
}

.mine-reference-task>small {
  overflow: hidden;
  color: #738396;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mine-reference-latest {
  color: #a07b37 !important;
}

.mine-reference-date {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  color: #536a80;
  font-size: 11px;
}

.mine-reference-date small {
  color: #91a0ae;
  font-size: 10px;
}

.mine-reference-date time {
  font-weight: 750;
  white-space: nowrap;
}

.mine-reference-due {
  color: #718396 !important;
  white-space: nowrap;
}

.mine-reference-requester {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: #4d647a;
  font-size: 12px;
}

.mine-reference-requester span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mine-reference-requester .custom-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.mine-reference-priority,
.mine-reference-status {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.mine-reference-priority {
  border: 1px solid #f0d28f;
  background: #fff5d9;
  color: #b47b12;
}

.mine-reference-priority.priority-normal,
.mine-reference-priority.priority-nicht-dringend {
  border-color: #b9e1c9;
  background: #e7f7ed;
  color: #2c9860;
}

.mine-reference-priority.priority-dringend,
.mine-reference-priority.priority-kritisch,
.mine-reference-priority.priority-sofort-erledigen {
  border-color: #efb9bf;
  background: #ffe4e7;
  color: #bd3948;
}

.mine-reference-status {
  border: 1px solid #d4e0ea;
  background: #f5f8fa;
  color: #607489;
}

.mine-reference-status.status-zugewiesen {
  border-color: #c6dced;
  background: #edf6fb;
  color: #4b86ad;
}

.mine-reference-status.status-in-bearbeitung {
  border-color: #efd49c;
  background: #fff8e9;
  color: #aa771a;
}

.mine-reference-status.status-erledigt,
.mine-reference-status.status-fertiggestellt {
  border-color: #b9e1c9;
  background: #e7f7ed;
  color: #2c9860;
}

.mine-reference-action a {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  color: #d4941e;
  font-size: 24px;
  line-height: 1;
  text-decoration: none;
}

.mine-reference-action a:hover {
  background: #fff0c9;
}

.mine-reference-due-date {
  display: flex;
  min-width: 0;
  min-height: 40px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  color: #c48a18;
  line-height: 1;
}

.mine-reference-due-month {
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
}

.mine-reference-due-day {
  font-size: 22px;
  font-weight: 850;
  line-height: .9;
}

.mine-reference-due-full {
  color: #66798b;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.mine-reference-due-none {
  color: #8796a3;
  font-size: 11px;
}

.mine-reference-row.priority-normal .mine-reference-due-date,
.mine-reference-row.priority-nicht-dringend .mine-reference-due-date {
  color: #2b9b60;
}

.mine-reference-row.priority-hoch .mine-reference-due-date {
  color: #c48a18;
}

.mine-reference-row.priority-dringend .mine-reference-due-date,
.mine-reference-row.priority-kritisch .mine-reference-due-date,
.mine-reference-row.priority-sofort-erledigen .mine-reference-due-date {
  color: #c83d4c;
}

.mine-reference-empty {
  margin: 0;
  padding: 22px;
  border: 1px dashed #d6e1ea;
  border-radius: 8px;
  background: #f9fbfd;
  color: #718196;
  text-align: center;
}

@media (max-width:699px) {
  .mine-reference-page {
    padding: 22px 14px 82px;
  }

  .mine-reference-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
  }

  .mine-reference-header h1 {
    font-size: 28px;
  }

  .mine-reference-new-task {
    width: 100%;
    justify-content: center;
  }

  .mine-reference-filters {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px;
  }

  .mine-reference-filter-group {
    min-width: 0;
  }

  .mine-reference-filter-group select {
    width: 100%;
  }

  .mine-reference-card {
    padding: 12px;
    border-top-width: 3px;
  }

  .mine-reference-card-heading {
    margin-bottom: 12px;
  }

  .mine-reference-card-heading h2 {
    font-size: 17px;
  }

  .mine-reference-table {
    gap: 8px;
  }

  .mine-reference-table-head {
    display: none;
  }

  .mine-reference-row:not(.mine-reference-table-head) {
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas: "task action" "date requester" "due status";
    row-gap: 7px;
    min-height: 0;
    padding: 13px 12px;
  }

  .mine-reference-task {
    grid-area: task;
  }

  .mine-reference-date {
    grid-area: date;
  }

  .mine-reference-requester {
    grid-area: requester;
    justify-self: end;
    max-width: 48vw;
  }

  .mine-reference-row>div:nth-child(4) {
    grid-area: due;
  }

  .mine-reference-row>div:nth-child(5) {
    grid-area: status;
    justify-self: end;
  }

  .mine-reference-task a {
    font-size: 13px;
  }

  .mine-reference-task>small {
    font-size: 11px;
  }

  .mine-reference-created {
    color: #71869a !important;
    font-weight: 650;
  }

  @media (min-width:700px) {
    .mine-reference-more-icon {
      display: flex;
      width: 12px;
      flex-direction: column;
      align-items: center;
      gap: 3px;
    }

    .mine-reference-more-icon i {
      display: block;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: currentColor;
    }
  }

  @media (max-width:699px) {
    .mine-reference-row>.mine-reference-date,
    .mine-reference-row>.mine-reference-requester {
      display: none;
    }

    .mine-reference-row>div:nth-child(4) {
      grid-area: due;
    }

    .mine-reference-row>div:nth-child(5) {
      grid-area: status;
      justify-self: end;
    }

    .mine-reference-row>div:nth-child(6) {
      grid-area: action;
    }

    .mine-reference-more-icon {
      display: flex;
      width: 12px;
      flex-direction: column;
      align-items: center;
      gap: 3px;
    }

    .mine-reference-more-icon i {
      display: block;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: currentColor;
    }
  }

  @media (min-width:700px) {
    .mine-reference-row {
      grid-template-columns: minmax(0,7fr) 70px 110px 50px;
    }

    .mine-reference-row>.mine-reference-date,
    .mine-reference-row>.mine-reference-requester {
      display: none !important;
    }

    .mine-reference-row>.mine-reference-due-date {
      grid-column: 2;
    }

    .mine-reference-row>div:nth-child(5) {
      grid-column: 3;
    }

    .mine-reference-row>.mine-reference-action {
      grid-column: 4;
    }
  }

  @media (max-width:699px) {
    .mine-reference-row>.mine-reference-due-date {
      grid-area: due;
    }

    .mine-reference-row>div:nth-child(3) {
      grid-area: status;
      justify-self: end;
    }

    .mine-reference-row>.mine-reference-action {
      grid-area: action;
    }
  }

  .mine-reference-more-icon {
    display: flex;
    width: 12px;
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }

  .mine-reference-more-icon i {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
  }

  @media (min-width:700px) {
    .notes-content-grid {
      display: grid;
      grid-template-columns: minmax(0,1.55fr) minmax(320px,1fr);
      align-items: start;
      gap: 14px;
    }

    .notes-content-grid .notes-card {
      grid-column: 1;
      grid-row: 1 / span 2;
      margin-bottom: 0;
    }

    .notes-content-grid .notes-add-card {
      grid-column: 2;
      grid-row: 1;
      margin-bottom: 0;
    }

    .notes-content-grid .notes-help-card {
      grid-column: 2;
      grid-row: 2;
    }

    .notes-add-card form {
      grid-template-columns: minmax(0,1fr) minmax(0,1fr);
      align-items: end;
    }

    .notes-add-card form>label:nth-child(2) {
      grid-column: 1 / -1;
    }

    .notes-add-card form>.button {
      grid-column: 2;
      justify-self: stretch;
    }

    .notes-add-card textarea {
      min-height: 84px;
    }

    .notes-tabs a {
      padding: 8px 10px;
    }

    .notes-filter {
      min-height: 64px;
      padding: 12px 16px;
    }

    .notes-filter select {
      height: 36px;
    }
  }

  .notes-help-card {
    padding: 16px 18px;
    border: 1px solid #dce8ef;
    border-top: 4px solid #6c9ec1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px #28486612;
    color: #294766;
  }

  .notes-help-card h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: #243d5b;
    font-size: 16px;
  }

  .notes-help-card h2 .custom-icon {
    color: #3989ad;
  }

  .notes-help-card p {
    display: flex;
    gap: 8px;
    margin: 6px 0;
    color: #718396;
    font-size: 12px;
    line-height: 1.35;
  }

  .notes-help-card p span {
    color: #31a878;
    font-weight: 800;
  }

  .notes-direction-tabs {
    margin-bottom: 10px;
  }

  .notes-status-tabs {
    margin-bottom: 14px;
  }

  .notes-filter label {
    white-space: nowrap;
  }

  .notes-card-heading p {
    color: #718396;
  }

  .notes-add-card .notes-card-heading {
    margin-bottom: 10px;
  }

  @media (max-width:699px) {
    .notes-help-card {
      margin-bottom: 18px;
    }

    .notes-content-grid {
      display: block;
    }

    .notes-direction-tabs,
    .notes-status-tabs {
      margin-bottom: 8px;
    }
  }

  .detail-dashboard-page>.page-title .task-title-row {
    align-items: flex-start !important;
  }

  .detail-dashboard-page>.page-title .task-title-row h1 {
    color: #1d3a59 !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    letter-spacing: -.3px !important;
  }

  .detail-dashboard-page>.page-title .task-due-detail {
    display: inline-flex !important;
    margin-top: 14px !important;
    padding: 8px 12px;
    border: 1px solid #f0d79e;
    border-radius: 9px;
    background: #fff8e8;
    color: #8b671e !important;
    font-size: 13px !important;
  }

  .detail-dashboard-page>.page-title .task-due-detail strong {
    color: #9c6c12 !important;
  }

  .detail-dashboard-page>.task-tabs .task-tab.active {
    background: #238e88 !important;
    color: #fff !important;
    box-shadow: 0 5px 12px rgba(35,142,136,.22) !important;
  }

  .detail-dashboard-page>.task-tab-panel {
    margin-top: 0 !important;
  }

  .detail-dashboard-page .detail-grid>.checklist-panel {
    border-top-color: #6c9ec1 !important;
  }

  .detail-dashboard-page .communication-section>.note-form {
    border-top: 4px solid #2eaaa0 !important;
    box-shadow: 0 8px 22px rgba(40,72,96,.1) !important;
  }

  .detail-dashboard-page .history-section .section-heading {
    padding-bottom: 13px;
    border-bottom: 1px solid #dce9ee;
  }

  .detail-dashboard-page .history-section .timeline {
    position: relative;
    padding: 10px 0 8px;
  }

  .detail-dashboard-page .history-section .timeline:before {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 50%;
    width: 2px;
    background: #d7e7eb;
    transform: translateX(-1px);
  }

  .detail-dashboard-page .history-section .event {
    position: relative;
    z-index: 1;
  }

  .detail-dashboard-page .history-section .event-bubble {
    box-shadow: 0 4px 12px rgba(48,82,103,.09) !important;
  }

  .detail-dashboard-page .member-section {
    border-top: 4px solid #6c9ec1 !important;
    background: #fff !important;
  }

  @media (max-width:699px) {
    .detail-dashboard-page>.page-title {
      padding: 18px 15px 16px !important;
      border-top-width: 4px !important;
    }

    .detail-dashboard-page>.page-title .task-title-row h1 {
      font-size: 24px !important;
    }

    .detail-dashboard-page>.page-title .muted {
      font-size: 14px !important;
    }

    .detail-dashboard-page>.page-title .task-due-detail {
      font-size: 12px !important;
    }

    .detail-dashboard-page>.task-tabs {
      border-top-width: 2px !important;
    }

    .detail-dashboard-page .history-section .timeline:before {
      left: 10px;
      transform: none;
    }

    .detail-dashboard-page .history-section .event-bubble {
      max-width: calc(100% - 20px) !important;
    }

    .detail-dashboard-page .history-section {
      background: #f9fcfd !important;
    }
  }
}

.notes-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 24px 70px;
}

.notes-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 22px;
}

.notes-header h1 {
  margin: 0;
  color: #243d5b;
  font-size: 36px;
}

.notes-header .eyebrow {
  margin-bottom: 5px;
}

.notes-contact-label {
  padding: 7px 11px;
  border: 1px solid #d5e7e4;
  border-radius: 999px;
  background: #eff9f7;
  color: #2e8d83;
  font-size: 11px;
  font-weight: 700;
}

.notes-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  padding: 5px;
  border: 1px solid #dce8ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px #4568890d;
}

.notes-tabs a {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  color: #5b7188;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.notes-tabs a.active {
  background: #e8f7f3;
  color: #217f78;
}

.notes-filter,
.notes-card,
.notes-add-card {
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid #dce8ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px #28486612;
}

.notes-filter {
  display: flex;
  align-items: center;
  gap: 14px;
}

.notes-filter label,
.notes-add-card label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #65788b;
  font-size: 12px;
  font-weight: 750;
}

.notes-filter select,
.notes-add-card select,
.notes-add-card textarea {
  border: 1px solid #cfdee7;
  border-radius: 8px;
  background: #f9fcfd;
  color: #29445f;
  font: inherit;
}

.notes-filter select,
.notes-add-card select {
  height: 38px;
  padding: 0 10px;
}

.notes-filter select {
  min-width: 260px;
}

.notes-card {
  border-top: 4px solid #31a878;
}

.notes-add-card {
  border-top: 4px solid #f1a32b;
}

.notes-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.notes-card-heading h2 {
  margin: 0;
  color: #243d5b;
  font-size: 19px;
}

.notes-card-heading p {
  margin: 3px 0 0;
  color: #8291a0;
  font-size: 12px;
}

.notes-count {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border: 1px solid #bfe1d1;
  border-radius: 50%;
  background: #eff9f4;
  color: #2f9465;
  font-size: 12px;
  font-weight: 800;
}

.notes-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.personal-note {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid #e2ebef;
  border-radius: 9px;
  background: #f8fbfc;
}

.personal-note.is-completed {
  background: #f6faf7;
  opacity: .8;
}

.note-checkbox {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 2px solid #71a9a0;
  border-radius: 7px;
  background: #fff;
  color: #2f9465;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.personal-note.is-completed .note-checkbox {
  border-color: #31a878;
  background: #e8f7ef;
}

.note-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.note-copy span {
  color: #294766;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.personal-note.is-completed .note-copy span {
  text-decoration: line-through;
  color: #718396;
}

.note-preview {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 6px 0 8px;
  padding: 8px 10px;
  border: 1px solid #dfe9ee;
  border-radius: 8px;
  background: #f8fbfc;
}

.note-preview-item {
  display: flex;
  gap: 7px;
  color: #294766;
  font-size: 12px;
  line-height: 1.3;
}

.note-preview-item b {
  min-width: 18px;
  color: #2e8d83;
}

.note-preview-empty {
  color: #8a9aa8;
  font-size: 11px;
}

.note-confirm-dialog {
  width: min(420px,calc(100% - 28px));
  padding: 22px;
  border: 1px solid #d5e5eb;
  border-top: 4px solid #31a878;
  border-radius: 14px;
  background: #fff;
  color: #294766;
  box-shadow: 0 12px 40px #28486633;
}

.note-confirm-dialog::backdrop {
  background: #20384d66;
}

.note-confirm-dialog h2 {
  margin: 0 0 8px;
  color: #243d5b;
  font-size: 19px;
}

.note-confirm-dialog p {
  margin: 0;
  color: #718396;
  font-size: 13px;
}

.note-confirm-dialog .dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.note-copy small {
  color: #8a9aa8;
  font-size: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 3px 12px;
}

.note-copy small span {
  color: inherit;
  font-size: inherit;
}

.notes-empty {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px dashed #d4e1e8;
  border-radius: 9px;
  background: #f9fbfd;
  color: #718396;
  text-align: center;
}

.notes-empty strong {
  font-size: 13px;
}

.notes-empty small {
  font-size: 11px;
}

.notes-add-card form {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr) auto;
  align-items: end;
  gap: 12px;
}

.notes-add-card textarea {
  min-height: 92px;
  padding: 9px 10px;
  resize: vertical;
}

.notes-add-card .button {
  height: 38px;
  white-space: nowrap;
}

@media (max-width:699px) {
  .notes-page {
    padding: 22px 14px 82px;
  }

  .notes-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .notes-header h1 {
    font-size: 30px;
  }

  .notes-contact-label {
    align-self: flex-start;
  }

  .notes-filter {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
  }

  .notes-filter select {
    flex: 1;
    min-width: 0;
  }

  .notes-card,
  .notes-add-card {
    padding: 14px;
  }

  .notes-add-card form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .notes-add-card .button {
    width: 100%;
    height: 44px;
  }

  .notes-tabs a {
    font-size: 12px;
  }
}

@media (min-width:700px) {
  .page {
    padding-top: 18px !important;
  }

  .page.overview-page {
    padding-top: 14px !important;
  }

  .page>.mine-reference-page,
  .page>.detail-dashboard-page,
  .page>.notes-page {
    padding-top: 0 !important;
  }
}

.detail-dashboard-page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 26px 28px 64px;
}

.detail-dashboard-page>.task-tree {
  margin: 0 0 14px;
  padding: 13px 16px;
  border: 1px solid #cfe3ea;
  border-top: 4px solid #f1a32b;
  border-radius: 14px;
  background: linear-gradient(135deg,#f7fcfd,#eef7f7);
  box-shadow: 0 5px 16px rgba(40,72,96,.07);
}

.detail-dashboard-page>.page-title {
  margin: 0;
  padding: 18px 0 4px;
}

.detail-dashboard-page>.page-title .muted {
  max-width: 780px;
  margin: 8px 0;
  color: #718298;
  font-size: 15px;
}

.detail-dashboard-page>.page-title .task-due-detail {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  color: #4f6578;
  font-size: 14px;
}

.detail-dashboard-page>.page-title .task-due-detail strong {
  color: #263e58;
}

.detail-dashboard-page>.task-tabs {
  margin: 18px 0 20px;
}

.detail-dashboard-page>.task-tabs .task-tab {
  min-height: 50px;
}

.detail-dashboard-page>.task-tab-panel {
  animation: detail-panel-in .18s ease-out;
}

@keyframes detail-panel-in {
  from {
    opacity: .6;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.detail-dashboard-page .panel,
.detail-dashboard-page .form-card,
.detail-dashboard-page .section {
  border-color: #dce8ef;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(40,72,96,.07);
}

.detail-dashboard-page .detail-grid {
  gap: 18px;
}

.detail-dashboard-page .detail-grid>.panel {
  padding: 18px 20px;
  background: #fff;
}

.detail-dashboard-page .detail-row {
  min-height: 48px;
  border-bottom-color: #e6eef2;
}

.detail-dashboard-page .detail-row>span {
  color: #7a8da0;
}

.detail-dashboard-page .detail-row>strong {
  color: #2b4762;
}

.detail-dashboard-page .checklist-panel {
  padding: 18px 20px !important;
  background: #fff;
}

.detail-dashboard-page .section-heading h2,
.detail-dashboard-page .panel h2 {
  color: #1d3048;
}

.detail-dashboard-page .section-heading .eyebrow,
.detail-dashboard-page .history-section .eyebrow {
  color: #2eaaa0;
}

.detail-dashboard-page .communication-section,
.detail-dashboard-page .history-section,
.detail-dashboard-page .member-section {
  max-width: none;
}

.detail-dashboard-page .note-form {
  background: linear-gradient(145deg,#fff 0%,#f6fbfc 100%);
  border-top: 4px solid #2eaaa0;
}

.detail-dashboard-page .history-section {
  padding: 20px 24px;
  border-top: 4px solid #2eaaa0;
  background: #fff;
}

.detail-dashboard-page .history-section .section-heading {
  margin-bottom: 18px;
}

.detail-dashboard-page .timeline {
  max-width: 900px;
  margin: 0 auto;
  padding: 4px 0;
}

.detail-dashboard-page .event-bubble {
  border-color: #d9e6ec;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(48,82,103,.06);
}

.detail-dashboard-page .event-left .event-bubble {
  background: #f1f7fa;
}

.detail-dashboard-page .event-right .event-bubble {
  background: #edf9f5;
  border-color: #bfe1d3;
}

.detail-dashboard-page .event-system .event-bubble {
  background: #f4f7f8 !important;
}

.detail-dashboard-page .event-meta {
  color: #7890a2;
}

.detail-dashboard-page .event-meta strong {
  color: #39546b;
}

.detail-dashboard-page .communication-event-heading {
  color: #237f83;
}

.detail-dashboard-page .event-private-note {
  background: #f5f0fc !important;
  border-color: #d9cbed !important;
}

.detail-dashboard-page .latest-note {
  border-left-color: #2eaaa0;
  background: #eef9f7;
}

.detail-dashboard-page .completion-confirmation,
.detail-dashboard-page .completion-confirmed,
.detail-dashboard-page .close-blocked-notice {
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(40,72,96,.08);
}

@media (max-width:699px) {
  .detail-dashboard-page {
    background: linear-gradient(180deg,#f4fbfd 0,#fff 420px);
    padding: 18px 14px 82px;
  }

  .detail-dashboard-page>.task-tree {
    padding: 11px 12px;
    border-top-width: 3px;
  }

  .detail-dashboard-page>.page-title {
    margin: 0 0 18px !important;
    padding: 22px 26px 20px !important;
    border: 1px solid #dce8ef !important;
    border-top: 5px solid #f1a32b !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 7px 20px rgba(40,72,96,.09) !important;
    padding-top: 12px;
  }

  .detail-dashboard-page>.page-title .muted {
    color: #6f8498 !important;
    font-size: 15px !important;
  }

  .detail-dashboard-page>.task-tabs {
    margin: 0 0 20px !important;
    padding: 6px !important;
    border: 1px solid #d5e5eb !important;
    border-top: 3px solid #2eaaa0 !important;
    border-radius: 15px !important;
    background: #f3f9fa !important;
    box-shadow: 0 6px 16px rgba(40,72,96,.08) !important;
  }

  .detail-dashboard-page>.task-tabs .task-tab {
    min-height: 48px !important;
    border-radius: 10px !important;
  }

  .detail-dashboard-page .detail-grid {
    gap: 10px;
  }

  .detail-dashboard-page .detail-grid>.panel,
  .detail-dashboard-page .checklist-panel {
    border-top: 4px solid #f1a32b !important;
    background: #fff !important;
    box-shadow: 0 7px 18px rgba(40,72,96,.08) !important;
    padding: 13px !important;
  }

  .detail-dashboard-page .history-section {
    border-top: 4px solid #2eaaa0 !important;
    background: #f9fcfd !important;
    box-shadow: 0 7px 18px rgba(40,72,96,.08) !important;
    padding: 14px 10px;
  }

  .detail-dashboard-page .timeline {
    padding: 0;
  }

  .detail-dashboard-page .event-bubble {
    max-width: 94%;
    border-radius: 12px;
  }

  .detail-dashboard-page .note-form {
    border-top-width: 3px;
  }
}

@media (min-width:700px) {
  .notes-page .notes-content-grid .notes-card {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .notes-page .notes-content-grid .notes-add-card {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
  }

  .notes-page .notes-content-grid .notes-help-card {
    grid-column: 2;
    grid-row: 2;
  }

  .notes-page .notes-add-card form {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    align-items: end;
  }

  .notes-page .notes-add-card form>label:nth-child(2) {
    grid-column: 1 / -1;
  }

  .notes-page .notes-tabs a {
    padding: 8px 10px;
  }

  .notes-page .notes-filter {
    min-height: 64px;
    padding: 12px 16px;
  }

  .notes-page .notes-filter select {
    height: 36px;
  }
}

.notes-page .notes-help-card {
  padding: 16px 18px;
  border: 1px solid #dce8ef;
  border-top: 4px solid #6c9ec1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px #28486612;
  color: #294766;
}

.notes-page .notes-help-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #243d5b;
  font-size: 16px;
}

.notes-page .notes-help-card p {
  display: flex;
  gap: 8px;
  margin: 6px 0;
  color: #718396;
  font-size: 12px;
  line-height: 1.35;
}

.notes-page .notes-help-card p span {
  color: #31a878;
  font-weight: 800;
}

.notes-page .notes-direction-tabs {
  margin-bottom: 10px;
}

.notes-page .notes-status-tabs {
  margin-bottom: 14px;
}

.notes-page .notes-filter label {
  white-space: nowrap;
}

.notes-page .notes-filter select {
  flex: 1;
  min-width: 0;
}

@media (min-width:700px) {
  .notes-page .note-preview {
    margin: 4px 0;
    padding: 5px 8px;
  }

  .notes-page .note-preview-item {
    line-height: 1.2;
  }
}

@media (min-width:700px) {
  .notes-page .notes-add-card form>.button {
    justify-self: stretch;
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (min-width:700px) {
  .notes-page .notes-content-grid {
    display: grid !important;
    align-items: start;
    gap: 14px;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  }

  .notes-page .notes-add-card textarea {
    height: auto;
    min-height: 0;
  }
}

@media (max-width:699px) {
  .notes-page .notes-content-grid {
    display: block !important;
  }

  .notes-page .notes-help-card {
    margin-bottom: 18px;
  }

  .notes-page .notes-direction-tabs,
  .notes-page .notes-status-tabs {
    margin-bottom: 8px;
  }
}

.overview-my-tasks .overview-task-columns span:nth-child(2),
.overview-my-tasks .overview-task-columns span:nth-child(3),
.overview-distributed-tasks .overview-task-columns span:nth-child(2),
.overview-distributed-tasks .overview-task-columns span:nth-child(3) {
  text-align: left;
}

.overview-my-tasks .overview-task-list .overview-task,
.overview-distributed-tasks .overview-task-list .overview-task {
  grid-template-columns: minmax(0,1fr) 90px 100px;
  padding-right: 58px;
  gap: 8px;
}

.overview-my-tasks .overview-task-list .overview-task-menu,
.overview-distributed-tasks .overview-task-list .overview-task-menu {
  position: absolute;
  right: 35px;
  top: 50%;
  transform: translateY(-50%);
}

.overview-my-tasks .overview-task-list .attention-bell-slot,
.overview-distributed-tasks .overview-task-list .attention-bell-slot {
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  min-width: 30px;
}

@media (max-width:699px) {
  .overview-my-tasks .overview-task-text strong,
  .overview-distributed-tasks .overview-task-text strong {
    font-size: 12px;
  }
}

.overview-my-tasks .overview-task-columns,
.overview-distributed-tasks .overview-task-columns {
  align-items: center;
  grid-template-columns: minmax(0,1fr) 90px 100px;
  gap: 8px;
  position: relative;
  display: block;
  height: 18px;
  margin-left: 0;
  margin-right: 58px;
  width: auto;
  padding: 8px 0 0;
}

.overview-my-tasks .overview-task-columns span,
.overview-distributed-tasks .overview-task-columns span {
  position: absolute;
  top: 8px;
  text-align: left !important;
  white-space: nowrap;
}

.overview-my-tasks .overview-task-columns span:nth-child(1),
.overview-distributed-tasks .overview-task-columns span:nth-child(1) {
  left: 0;
}

.overview-my-tasks .overview-task-columns span:nth-child(2),
.overview-distributed-tasks .overview-task-columns span:nth-child(2) {
  left: 279px;
}

.overview-my-tasks .overview-task-columns span:nth-child(3),
.overview-distributed-tasks .overview-task-columns span:nth-child(3) {
  left: 379px;
}

@media (max-width:699px) {
  .overview-my-tasks .overview-task-columns span,
  .overview-distributed-tasks .overview-task-columns span {
    top: 8px;
    font-size: 9px;
  }
}

@media (max-width:699px) {
  .overview-my-tasks .overview-task-columns,
  .overview-distributed-tasks .overview-task-columns {
    width: auto;
    grid-template-columns: minmax(0,1fr) 72px 80px;
    gap: 8px;
    font-size: 9px;
    letter-spacing: 0;
    white-space: nowrap;
    height: 18px;
    padding-top: 8px;
    margin-left: -37px;
    margin-right: 58px;
  }

  .overview-my-tasks .overview-task-columns span:nth-child(2),
  .overview-distributed-tasks .overview-task-columns span:nth-child(2) {
    left: 115px;
  }

  .overview-my-tasks .overview-task-columns span:nth-child(3),
  .overview-distributed-tasks .overview-task-columns span:nth-child(3) {
    left: 185px;
  }

  .overview-my-tasks .overview-task-list .overview-task,
  .overview-distributed-tasks .overview-task-list .overview-task {
    gap: 8px;
    grid-template-columns: minmax(0,1fr) 62px 72px;
    padding-right: 58px;
  }
}

.overview-table-wrap {
  width: 100%;
  overflow: visible;
}

.overview-task-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  table-layout: fixed;
}

.overview-task-table th {
  padding: 0 8px 2px;
  color: #98a4b0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.overview-task-table th.overview-th-due {
  text-align: center;
}

.overview-task-table td {
  height: 44px;
  padding: 8px;
  border: 0;
  background: #fafbfd;
  color: #64788b;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

.overview-task-table tr td:first-child {
  border-left: 5px solid #42a866;
  border-radius: 7px 0 0 7px;
}

.overview-task-table tr td:last-child {
  border-radius: 0 7px 7px 0;
}

.overview-task-table tr.priority-hoch td:first-child {
  border-left-color: #e3a12b;
}

.overview-task-table tr.priority-dringend td:first-child,
.overview-task-table tr.priority-kritisch td:first-child,
.overview-task-table tr.priority-sofort-erledigen td:first-child {
  border-left-color: #d33f4b;
}

.overview-task-table tr.priority-normal td,
.overview-task-table tr.priority-nicht-dringend td {
  background: #edf9f1;
}

.overview-task-table tr.priority-hoch td {
  background: #fff8e7;
}

.overview-task-table tr.priority-dringend td,
.overview-task-table tr.priority-kritisch td,
.overview-task-table tr.priority-sofort-erledigen td {
  background: #fff0f1;
}

.overview-task-table .overview-td-task {
  overflow: hidden;
  color: #2c4058;
  text-align: left;
}

.overview-task-table .overview-td-task a {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-task-table .overview-td-task strong {
  font-size: 13px;
}

.overview-task-table .overview-td-due {
  text-align: center;
}

.overview-task-table .overview-date-block {
  display: inline-flex;
  width: 44px;
  min-height: 43px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid #e0e8ee;
  border-radius: 7px;
  background: #f7fafc;
  line-height: 1;
}

.overview-task-table .overview-date-month {
  color: #687d90;
  font-size: 9px;
  font-weight: 750;
  line-height: 1;
  text-transform: uppercase;
}

.overview-task-table .overview-date-day {
  color: #294660;
  font-size: 18px;
  font-weight: 850;
  line-height: .9;
}

.overview-task-table .overview-td-person {
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-task-table .overview-task-menu {
  border: 0;
  background: transparent;
  color: #607486;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.overview-task-table .attention-bell-slot {
  display: inline-flex;
  width: 30px;
  min-width: 30px;
  align-items: center;
  justify-content: center;
}

.overview-task-table .overview-task-actions {
  top: 38px;
  right: 0;
}

.overview-task-table .overview-empty {
  border-left: 0 !important;
  text-align: left;
}

@media (max-width:699px) {
  .overview-task-table th {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 9px;
    letter-spacing: 0;
  }

  .overview-task-table td {
    padding: 7px 6px;
    font-size: 10px;
  }

  .overview-task-table .overview-td-task {
    padding-left: 8px;
  }

  .overview-task-table .overview-td-task strong {
    font-size: 12px;
  }

  .overview-task-table .overview-td-due {
    padding-left: 2px;
    padding-right: 2px;
  }

  .overview-task-table .overview-td-person {
    padding-left: 4px;
    padding-right: 4px;
  }
}

@media (max-width:699px) {
  .overview-task-table col.overview-col-task {
    width: 55%;
  }

  .overview-task-table col.overview-col-due {
    width: 17%;
  }

  .overview-task-table col.overview-col-person {
    width: 20%;
  }

  .overview-task-table col.overview-col-actions {
    width: 8%;
  }
}

.overview-task-table col.overview-col-task {
  width: auto;
}

.overview-task-table col.overview-col-due {
  width: 80px;
}

.overview-task-table col.overview-col-person {
  width: 100px;
}

.overview-task-table col.overview-col-actions {
  width: 30px;
}

.overview-task-table .overview-td-actions {
  display: table-cell;
  position: relative;
  min-width: 30px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  overflow: visible;
}

.overview-task-table .overview-td-actions .overview-task-menu {
  display: inline-flex;
  flex: 0 0 18px;
  width: 18px;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.overview-task-table .overview-td-task a .attention-bell {
  display: inline-flex;
  margin-right: 5px;
  font-size: 15px;
  line-height: 1;
  vertical-align: -1px;
}

.overview-task-table .overview-td-actions .attention-bell-slot {
  display: inline-flex;
  flex: 0 0 30px;
  width: 30px;
  min-width: 30px;
  align-items: center;
  justify-content: center;
  margin: 0;
  white-space: nowrap;
}

.overview-page .overview-task-table .overview-td-task strong {
  font-size: 12px;
}

.overview-page .overview-new-item strong {
  font-size: 12px;
}

.overview-page .overview-task-table td {
  height: 30px;
  padding: 3px 8px;
}

.overview-task-table tr.priority-normal .overview-td-actions,
.overview-task-table tr.priority-nicht-dringend .overview-td-actions {
  background: #edf9f1 !important;
}

.overview-task-table tr.priority-hoch .overview-td-actions {
  background: #fff8e7 !important;
}

.overview-task-table tr.priority-dringend .overview-td-actions,
.overview-task-table tr.priority-kritisch .overview-td-actions,
.overview-task-table tr.priority-sofort-erledigen .overview-td-actions {
  background: #fff0f1 !important;
}

.dashboard-compact-section .task-row:not(.table-head)>span:first-child>.attention-bell {
  display: inline-flex;
  flex: 0 0 auto;
}

.attention-bell-slot {
  display: inline-flex;
  width: 30px;
  min-width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
}

.attention-bell-slot .attention-bell {
  display: inline-flex;
  margin: 0;
  font-size: 17px;
  line-height: 1;
}

.overview-task-list .overview-task {
  display: grid;
  gap: 8px;
  align-items: center;
  grid-template-columns: minmax(0,1fr) 90px 100px 18px 30px;
}

.overview-task-list .overview-task-menu {
  justify-self: end;
  grid-column: 4;
}

.overview-task-list .overview-task .attention-bell-slot {
  grid-column: 5;
  grid-row: 1;
}

.task-row:not(.table-head) {
  margin-bottom: 7px;
  border-bottom: 1px solid #edf2f5;
  position: relative;
}

.task-row:not(.table-head)>.attention-bell-slot {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

@media (max-width:699px) {
  .overview-task-list .overview-task {
    grid-template-columns: minmax(0,1fr) 72px 80px 18px 30px;
  }

  .overview-task-list .overview-task .attention-bell-slot {
    grid-column: 5;
  }

  .task-row:not(.table-head)>.attention-bell-slot {
    right: 30px;
  }
}

.notes-page .notes-controls {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 8px;
  margin: 0 0 14px;
}

.notes-page .notes-controls .notes-tabs {
  margin: 0;
  min-width: 0;
}

.notes-page .notes-controls .notes-tabs a {
  min-width: 0;
  padding: 8px 7px;
  white-space: nowrap;
  text-align: center;
}

.notes-page .notes-controls .notes-filter {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 0;
  padding: 8px 12px;
  gap: 10px;
}

.mine-reference-action {
  text-align: right;
  gap: 4px;
  align-items: center;
}

.mine-reference-action .attention-bell-slot {
  margin-left: 0;
}

@media (min-width:700px) {
  .mine-reference-row {
    grid-template-columns: minmax(0,7fr) 70px 110px 84px !important;
  }

  .mine-reference-action {
    justify-content: flex-end;
  }
}

@media (max-width:699px) {
  .mine-reference-action {
    grid-area: action;
    min-width: 62px;
    gap: 4px;
  }

  .mine-reference-action .attention-bell-slot {
    width: 30px;
    min-width: 30px;
  }
}

.notes-page .notes-controls .notes-filter label {
  font-size: 11px;
}

.notes-page .notes-controls .notes-filter select {
  height: 34px;
}

.notes-page .notes-list {
  max-height: 500px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 5px;
}

@media (max-width:699px) {
  .notes-page .notes-controls {
    gap: 6px;
    margin-bottom: 12px;
  }

  .notes-page .notes-controls .notes-tabs a {
    padding: 7px 2px;
    font-size: 10px;
    letter-spacing: -.1px;
  }

  .notes-page .notes-controls .notes-filter {
    padding: 8px 10px;
  }

  .notes-page .notes-list {
    max-height: 500px;
  }
}

@media (max-width:699px) {
  .topbar {
    min-height: 72px;
    flex-wrap: wrap;
    position: sticky;
    height: 64px;
    padding: 8px 14px;
    gap: 10px;
    box-shadow: 0 2px 12px #29435d12;
  }

  .topbar .user-session,
  .topbar .topbar-status {
    display: flex !important;
    min-width: 0;
    align-items: center;
  }

  .topbar .user-session {
    margin-left: auto;
  }

  .topbar .topbar-search,
  .topbar .topbar-notifications,
  .topbar .topbar-user-chevron,
  .topbar .current-user-label,
  .topbar .settings-link,
  .topbar .logout-form {
    display: none !important;
  }

  .topbar .topbar-user-link {
    display: flex !important;
    min-width: 0;
    max-width: 220px;
    padding: 5px 8px;
    border: 1px solid #dce9f1;
    border-radius: 11px;
    background: #f7fbfc;
  }

  .topbar .topbar-user-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e3a12b;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
  }

  .topbar .topbar-user-name {
    display: block !important;
    overflow: hidden;
    color: #284761;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
  }

  .overview-page .overview-dashboard {
    padding: 16px 14px 86px;
  }

  .overview-page .overview-header {
    gap: 12px;
    margin-bottom: 18px;
  }

  .overview-page .overview-title-sort {
    width: 100%;
  }

  .overview-page .overview-header h1 {
    font-size: 30px;
    letter-spacing: -.02em;
  }

  .overview-page .overview-sort-form {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 9px;
    color: #677d91;
    font-size: 12px;
    font-weight: 750;
  }

  .overview-page .overview-sort-form label {
    white-space: nowrap;
  }

  .overview-page .overview-sort-form select {
    min-width: 0;
    flex: 1;
    height: 36px;
    padding: 5px 8px;
    border-color: #cfdde8;
    border-radius: 8px;
    background: #fff;
    color: #294660;
    font-size: 12px;
    font-weight: 750;
  }

  .overview-page .overview-header-actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 13px 14px 14px;
    border: 1px solid #e2ebf1;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 4px 13px #27445d0a;
  }

  .overview-page .overview-date-time {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0dca5;
  }

  .overview-page .overview-date {
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .overview-page .overview-time-row {
    gap: 8px;
  }

  .overview-page .overview-header-actions time {
    flex: 0 0 auto;
    font-size: 19px;
    line-height: 1.05;
  }

  .overview-page .overview-new-task {
    width: 100%;
    min-height: 42px;
    justify-content: center;
    padding: 0 13px;
    border-radius: 9px;
    white-space: nowrap;
    font-size: 13px;
    box-shadow: none;
  }

  .overview-page .overview-new-task span {
    font-size: 20px;
  }

  .overview-page .overview-new-section {
    margin-bottom: 16px;
  }

  .overview-page .overview-new-card {
    padding: 14px;
  }

  .overview-page .overview-new-item time {
    font-size: 9px;
  }
}

.overview-new-tasks .overview-new-item {
  border-left: 5px solid #42a866;
}

.overview-new-tasks .overview-new-item.priority-normal,
.overview-new-tasks .overview-new-item.priority-nicht-dringend {
  background: #edf9f1;
}

.overview-new-tasks .overview-new-item.priority-hoch {
  border-left-color: #e3a12b;
  background: #fff8e7;
}

.overview-new-tasks .overview-new-item.priority-dringend,
.overview-new-tasks .overview-new-item.priority-kritisch,
.overview-new-tasks .overview-new-item.priority-sofort-erledigen {
  border-left-color: #d33f4b;
  background: #fff0f1;
}

.overview-new-section {
  margin: 0 0 22px;
}

.overview-new-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 0 9px;
}

.overview-new-section-heading h2 {
  margin: 0;
  color: #183651;
  font-size: 19px;
  line-height: 1.1;
}

.overview-new-eyebrow {
  margin: 0 0 3px;
  color: #e2a127;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.overview-new-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}

.overview-new-card {
  min-height: 0;
}

.overview-new-list {
  display: grid;
  gap: 7px;
}

.overview-new-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid #e6edf3;
  border-radius: 9px;
  background: #fbfdff;
  color: #334c65;
  text-decoration: none;
}

.overview-new-item:hover,
.overview-new-item:focus-visible {
  border-color: #8cbcc4;
  background: #f2fbfb;
}

.overview-new-item-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.overview-new-item strong {
  overflow: hidden;
  color: #294660;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-new-item small {
  overflow: hidden;
  color: #758a9e;
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-new-item time {
  flex: 0 0 auto;
  color: #8495a6;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.dashboard-new-items-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 28px 54px;
}

.dashboard-new-items-card {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid #e1eaf0;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(27,67,94,.06);
}

.dashboard-new-items-list {
  display: grid;
  gap: 9px;
}

.dashboard-new-full-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 15px;
  border: 1px solid #e5edf2;
  border-radius: 10px;
  background: #fbfdff;
  color: #2a465f;
  text-decoration: none;
}

.dashboard-new-full-item:hover,
.dashboard-new-full-item:focus-visible {
  border-color: #78aeb9;
  background: #f1fbfb;
}

.dashboard-new-full-item>span:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-new-full-item strong {
  font-size: 14px;
}

.dashboard-new-full-item small {
  color: #71869a;
  font-size: 11px;
}

@media (max-width:699px) {
  .overview-new-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .overview-new-section {
    margin-bottom: 16px;
  }

  .overview-new-item {
    padding: 9px;
  }

  .overview-new-item strong {
    font-size: 12px;
  }

  .dashboard-new-items-page {
    padding: 22px 16px 42px;
  }

  .dashboard-new-full-item {
    padding: 12px;
    gap: 10px;
  }

  .dashboard-new-full-item strong {
    font-size: 13px;
  }
}

.overview-page .overview-new-item,
.overview-page .overview-task-table td {
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
}

.overview-page .overview-task-table th {
  font-size: 11px;
}

.overview-page .overview-new-item {
  padding: 6px 7px;
}

.overview-page .overview-new-item strong,
.overview-page .overview-task-table .overview-td-task strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
}

.overview-page .overview-new-item small,
.overview-page .overview-new-item time,
.overview-page .overview-task-table .overview-td-person {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
}

.overview-page .overview-task-table .overview-date-block {
  width: 34px;
  min-height: 32px;
}

.overview-page .overview-task-table .overview-date-month {
  font-size: 10px;
}

.overview-page .overview-task-table .overview-date-day {
  font-size: 17px;
}

.overview-page .overview-new-item-copy {
  gap: 2px;
}

.overview-page .overview-new-item time {
  color: #53697a;
}

@media (max-width:699px) {
  .overview-page .overview-new-item,
  .overview-page .overview-task-table td {
    font-size: 11px;
  }

  .overview-page .overview-new-item {
    padding: 6px 7px;
  }

  .overview-page .overview-task-table td {
    height: 34px;
    padding: 4px 6px;
  }

  .overview-page .overview-new-item strong,
  .overview-page .overview-task-table .overview-td-task strong {
    font-size: 13px;
  }

  .overview-page .overview-new-item small,
  .overview-page .overview-new-item time,
  .overview-page .overview-task-table .overview-td-person {
    font-size: 11px;
  }
}

.overview-page .overview-new-tasks .overview-new-item:hover,
.overview-page .overview-new-tasks .overview-new-item:focus-visible {
  border-color: #000;
  background: #dff0e4;
}

.overview-page .overview-new-tasks .overview-new-item.priority-hoch:hover,
.overview-page .overview-new-tasks .overview-new-item.priority-hoch:focus-visible {
  background: #f3e5bd;
}

.overview-page .overview-new-tasks .overview-new-item.priority-dringend:hover,
.overview-page .overview-new-tasks .overview-new-item.priority-dringend:focus-visible,
.overview-page .overview-new-tasks .overview-new-item.priority-kritisch:hover,
.overview-page .overview-new-tasks .overview-new-item.priority-kritisch:focus-visible,
.overview-page .overview-new-tasks .overview-new-item.priority-sofort-erledigen:hover,
.overview-page .overview-new-tasks .overview-new-item.priority-sofort-erledigen:focus-visible {
  background: #f1d6d6;
}

.overview-page .overview-task-table tbody tr:hover,
.overview-page .overview-task-table tbody tr:focus-within {
  outline: none;
}

.overview-page .overview-task-table tbody tr td {
  border-top: 1px solid #e6edf3;
  border-bottom: 1px solid #e6edf3;
  background-clip: padding-box;
}

.overview-page .overview-task-table tbody tr td:first-child {
  border-left: 5px solid #42a866;
  border-radius: 9px 0 0 9px;
  background-clip: padding-box;
  overflow: hidden;
}

.overview-page .overview-task-table tbody tr.priority-hoch td:first-child {
  border-left-color: #e3a12b;
}

.overview-page .overview-task-table tbody tr.priority-dringend td:first-child,
.overview-page .overview-task-table tbody tr.priority-kritisch td:first-child,
.overview-page .overview-task-table tbody tr.priority-sofort-erledigen td:first-child {
  border-left-color: #d33f4b;
}

.overview-page .overview-task-table tbody tr td:last-child {
  border-right: 1px solid #e6edf3;
  border-radius: 0 9px 9px 0;
}

.overview-page .overview-task-table tbody tr:hover td,
.overview-page .overview-task-table tbody tr:focus-within td {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.overview-page .overview-task-table tbody tr:hover td:last-child,
.overview-page .overview-task-table tbody tr:focus-within td:last-child {
  border-right: 1px solid #000;
  border-radius: 0 9px 9px 0;
}

.overview-page .overview-task-table tbody tr.priority-normal:hover td,
.overview-page .overview-task-table tbody tr.priority-nicht-dringend:hover td,
.overview-page .overview-task-table tbody tr.priority-normal:focus-within td,
.overview-page .overview-task-table tbody tr.priority-nicht-dringend:focus-within td {
  background: #dff0e4 !important;
}

.overview-page .overview-task-table tbody tr.priority-hoch:hover td,
.overview-page .overview-task-table tbody tr.priority-hoch:focus-within td {
  background: #f3e5bd !important;
}

.overview-page .overview-task-table tbody tr.priority-dringend:hover td,
.overview-page .overview-task-table tbody tr.priority-kritisch:hover td,
.overview-page .overview-task-table tbody tr.priority-sofort-erledigen:hover td,
.overview-page .overview-task-table tbody tr.priority-dringend:focus-within td,
.overview-page .overview-task-table tbody tr.priority-kritisch:focus-within td,
.overview-page .overview-task-table tbody tr.priority-sofort-erledigen:focus-within td {
  background: #f1d6d6 !important;
}

.overview-page .overview-task-table tbody tr.priority-normal:hover,
.overview-page .overview-task-table tbody tr.priority-nicht-dringend:hover,
.overview-page .overview-task-table tbody tr.priority-normal:focus-within,
.overview-page .overview-task-table tbody tr.priority-nicht-dringend:focus-within {
  background: #dff0e4 !important;
}

.overview-page .overview-task-table tbody tr.priority-hoch:hover,
.overview-page .overview-task-table tbody tr.priority-hoch:focus-within {
  background: #f3e5bd !important;
}

.overview-page .overview-task-table tbody tr.priority-dringend:hover,
.overview-page .overview-task-table tbody tr.priority-kritisch:hover,
.overview-page .overview-task-table tbody tr.priority-sofort-erledigen:hover,
.overview-page .overview-task-table tbody tr.priority-dringend:focus-within,
.overview-page .overview-task-table tbody tr.priority-kritisch:focus-within,
.overview-page .overview-task-table tbody tr.priority-sofort-erledigen:focus-within {
  background: #f1d6d6 !important;
}

/* ==========================================================
   OVERVIEW TASK TABLE – Hover-Fix
   Schwarzer Außenrahmen + sichtbarer Prioritätsstrich
   ========================================================== */

.overview-page .overview-task-table tbody tr {
  --overview-priority-color: #42a866;
}

.overview-page .overview-task-table tbody tr.priority-hoch {
  --overview-priority-color: #e3a12b;
}

.overview-page .overview-task-table tbody tr.priority-dringend,
.overview-page .overview-task-table tbody tr.priority-kritisch,
.overview-page .overview-task-table tbody tr.priority-sofort-erledigen {
  --overview-priority-color: #d33f4b;
}

.overview-page .overview-task-table tbody tr:hover td:first-child,
.overview-page .overview-task-table tbody tr:focus-within td:first-child {
  /*
   * Außen bleibt der schwarze Hover-Rahmen.
   * Der Prioritätsstrich liegt als innerer Schatten innerhalb der Rundung.
   * Dadurch kann die Farbe weder über den Radius hinausragen noch an
   * Ober-/Unterkante unterschiedlich dargestellt werden.
   */
  border-left: 1px solid #000;
  border-radius: 9px 0 0 9px;
  padding-left: 12px;
  overflow: hidden;
  box-shadow: inset 4px 0 0 var(--overview-priority-color);
}

/* Persönlich anpassbares Dashboard: Kartenreihenfolge und Klappzustand. */
.overview-customizable{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.overview-customizable>.overview-new-section,.overview-customizable>.overview-grid{display:contents}
.overview-customizable>[data-dashboard-card]{min-width:0}
.overview-card-heading{position:relative}
.overview-card-controls{display:flex;align-items:center;gap:4px;margin-left:auto;margin-right:126px}
.overview-card-toggle,.overview-card-drag{display:inline-flex;width:26px;height:26px;align-items:center;justify-content:center;border:1px solid #d6e0e8;border-radius:6px;background:#fff;color:#526b80;font:inherit;font-size:18px;line-height:1}
.overview-card-toggle{cursor:pointer}
.overview-card-toggle:hover,.overview-card-toggle:focus-visible{border-color:#7a9aad;background:#f2f7fa}
.overview-card-drag{cursor:grab;color:#8a9aaa;font-size:17px}
.overview-card-drag:active{cursor:grabbing}
.overview-card.is-dragging{opacity:.55}
.overview-card.is-collapsed>.overview-new-list,.overview-card.is-collapsed>.overview-table-wrap,.overview-card.is-collapsed>.overview-card-link{display:none}
.overview-card.is-collapsed{min-height:0}
.overview-customizable .overview-card-link{display:none!important}
@media (max-width:760px){
  .overview-customizable{display:block}
  .overview-customizable>[data-dashboard-card]{margin-bottom:14px}
  .overview-card-controls{margin-right:100px}
}
.overview-customizable .overview-card-heading{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px;min-width:0}
.overview-customizable .overview-card-heading>div:first-child{flex:1 1 auto;width:auto!important;min-width:0;padding-left:31px}
.overview-customizable .overview-card-heading .overview-card-controls{position:static!important;top:auto!important;right:auto!important;flex:0 0 auto;width:auto!important;margin:0!important}
.overview-customizable .overview-card-heading .overview-card-top-link{order:2;flex:0 0 auto;position:static!important;top:auto!important;right:auto!important;margin:0!important;font-weight:500}
.overview-customizable .overview-card-heading .overview-card-controls{order:3}
.overview-dashboard .overview-header{box-sizing:border-box}
.overview-customizable{grid-auto-rows:1fr;align-items:stretch}
.overview-customizable>[data-dashboard-card]{height:100%;box-sizing:border-box;display:flex;flex-direction:column}
.overview-customizable>[data-dashboard-card]>.overview-new-list,.overview-customizable>[data-dashboard-card]>.overview-table-wrap{flex:1 1 auto}
@media (min-width:700px){
  .overview-dashboard .overview-header,.overview-customizable{width:calc(100% - 42px);max-width:calc(100% - 42px);margin-left:21px;margin-right:21px}
}
.overview-customizable .overview-card-drag{width:34px;height:30px;font-size:21px;font-weight:700}
.topbar .overview-global-line{position:absolute;left:0;right:0;bottom:0;height:3px;z-index:4}
.topbar .overview-global-line span{position:static;display:block;width:100%;height:100%}
@media (min-width:700px){
  .mine-reference-page{width:calc(100% - 60px);max-width:none;margin:0 30px;padding:0 0 56px;box-sizing:border-box}
  .mine-reference-header{align-items:center;gap:18px;margin-bottom:10px}
  .mine-reference-eyebrow{display:none}
  .mine-reference-header h1{font-size:26px;line-height:1.2;letter-spacing:0}
  .mine-reference-date{display:inline-block;margin-top:5px;padding:4px 8px;border:1px solid #ead9b5;border-radius:7px;background:rgba(241,163,43,.12);color:#778493;font-size:12px;line-height:1.2}
  .mine-reference-subtitle{display:none}
  .mine-reference-new-task{min-height:32px;padding:7px 12px;border-radius:7px;font-size:12px;box-shadow:none}
  .mine-reference-new-task span{font-size:16px}
  .mine-reference-filters{align-items:center;gap:10px;margin:0 0 10px;padding:7px 10px;border-radius:8px;box-shadow:none}
  .mine-reference-filter-group{min-width:150px;gap:3px}
  .mine-reference-filter-group label{font-size:11px}
  .mine-reference-filter-group select{height:31px;font-size:12px}
  .mine-reference-due-date{min-width:46px;width:max-content;align-items:center;padding:4px 7px;border:0;border-radius:7px;box-sizing:border-box;background:color-mix(in srgb,currentColor 14%,white)}
  .mine-reference-due-month{font-size:12px}
  .mine-reference-due-day{font-size:18px}
  .mine-reference-card{margin:0 0 14px;padding:10px;border-top-width:3px;border-radius:10px;box-shadow:0 3px 10px #2848660d}
  .mine-reference-card-heading{margin-bottom:8px}
  .mine-reference-card-heading h2{font-size:14px}
  .mine-reference-card-heading p{margin-top:2px;font-size:11px}
  .mine-reference-count{width:22px;height:22px;font-size:10px}
  .mine-reference-table{gap:4px}
  .mine-reference-table-head{min-height:22px;padding:0 10px;font-size:10px}
  .mine-reference-row:not(.mine-reference-table-head){min-height:50px;padding:7px 10px;border-left-width:3px;border-radius:6px}
  .mine-reference-task{gap:2px}
  .mine-reference-task a{font-size:14px}
  .mine-reference-task>small{font-size:11px}
  .mine-reference-status{font-size:11px}
  .topbar{height:57px;overflow:visible}
  .topbar .main-nav>.overview-link,.topbar .main-nav .desktop-nav-links>a{box-sizing:border-box;height:30px;padding:8px 5px;border-radius:8px}
  .topbar .main-nav>.overview-link.active,.topbar .main-nav .desktop-nav-links>a.active{position:relative;background:rgba(253,180,4,.10)!important;color:#182738;box-shadow:0 13px 0 rgba(253,180,4,.10)}
  .topbar .main-nav>.overview-link.active::after,.topbar .main-nav .desktop-nav-links>a.active::after{content:"";display:block;position:absolute;left:0;right:0;bottom:-10px;height:5px;border-radius:3px 3px 0 0;background:#fdb404;z-index:5}
}

@media (min-width:700px){.notes-page{max-width:1030px}}

.nav-count{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:3px;padding:0 5px;border-radius:999px;background:rgba(253, 180, 4, .78);color:#243d5b;font-size:12px;font-weight:800;line-height:1;box-sizing:border-box}

/* Einheitliche Dashboard-Palette und dreistufige Dringlichkeit */
:root{color:#3f444a;background:#f1f2f3}
body{background:linear-gradient(180deg,#f1f2f3 0,#fafafa 420px);color:#3f444a}
.topbar{background:#fff;border-bottom-color:#d9dcdf}
.brand{color:#3f444a}.brand span{color:#d69500}
.topbar nav a,.text-link,.back{color:#626a72}.topbar nav a:hover,.text-link:hover{color:#b77a00}
.page-title,.hero,.panel,.form-card,.section,.task-card,.table-section,.notice{background:#fff;border-color:#d9dcdf}
h1,h2,h3{color:#3f444a}.muted{color:#70777d}.eyebrow{color:#a87500}
.button{background:#fdb404;border-color:#d99a00;color:#3f444a}.button:hover{background:#e9a600}
.button.secondary{background:#eef0f1;border-color:#cbd0d4;color:#4f565c}.button.secondary:hover{background:#e1e4e6}
.overview-card,.overview-card-header,.overview-section,.overview-table,.task-table,.task-row{border-color:#d9dcdf}.overview-card{border-top-color:#fdb404}
.urgency-normal{background:#e8f4ea;border-color:#acd3b1;color:#28733b}.urgency-normal i{background:#43a653;border-color:#43a653}
.urgency-dringend{background:#fff3d6;border-color:#e4b84e;color:#8a6200}.urgency-dringend i{background:#e2a400;border-color:#e2a400}
.urgency-kritisch,.urgency-hoch,.urgency-sofort-erledigen{background:#fbe7e7;border-color:#e2aaaa;color:#a52d2d}.urgency-kritisch i,.urgency-hoch i,.urgency-sofort-erledigen i{background:#d94a4a;border-color:#d94a4a}
.priority-kritisch,.priority-hoch,.priority-sofort-erledigen{border-left-color:#d94a4a!important}.priority-dringend{border-left-color:#e2a400!important}.priority-normal{border-left-color:#43a653!important}

/* Letzte Design-Overrides: Notizen und Auftragsdetail in Dashboard-Orange/Grau */
.notes-page{color:#4b5055}
.notes-header h1,.notes-card-heading h2{color:#42474c!important}
.notes-contact-label{border-color:#e3c98c;background:#fff7e3;color:#9a6a00}
.notes-tabs{border-color:#d8dadd;background:#f5f6f7;box-shadow:0 4px 12px rgba(70,70,70,.08)}
.notes-tabs a{color:#666d73}.notes-tabs a.active{background:#fff0c7;color:#9a6800;box-shadow:inset 0 -3px 0 #f1a32b}
.notes-filter,.notes-card,.notes-add-card{border-color:#d8dadd;background:#fff;box-shadow:0 6px 18px rgba(70,70,70,.10)}
.notes-filter label,.notes-add-card label{color:#656b70}
.notes-filter select,.notes-add-card select,.notes-add-card textarea{border-color:#cfd2d5;background:#fafafa;color:#454b50}
.notes-card{border-top-color:#f1a32b!important}.notes-add-card{border-top-color:#c7cbd0!important}
.notes-card-heading p{color:#777d82!important}.notes-count{background:#fdb404;color:#4b4430}
.personal-note{border-color:#d9dcdf!important;background:#fafafa!important}.personal-note.is-completed{background:#f2f3f4!important;border-left-color:#b8bdc2!important}
.note-checkbox{border-color:#c5c9cd!important;background:#fff!important;color:#a86f00}.note-checkbox:hover{background:#fff2ce!important;border-color:#e0a52a!important}
.note-label,.personal-note strong{color:#454b50!important}.note-meta,.personal-note small{color:#7a8085!important}

.detail-dashboard-page{background:linear-gradient(180deg,#f1f2f3 0,#fafafa 420px)!important;color:#464b50}
.detail-dashboard-page>.page-title{border-top-color:#f1a32b!important;border-color:#d8dadd!important;box-shadow:0 7px 20px rgba(70,70,70,.10)!important}
.detail-dashboard-page>.page-title .task-title-row h1{color:#42474c!important}.detail-dashboard-page>.page-title .muted{color:#70777d!important}
.detail-dashboard-page>.task-tabs{border-color:#d8dadd!important;border-top-color:#fdb404!important;background:#fff0c7!important;box-shadow:0 6px 16px rgba(70,70,70,.08)!important}
.detail-dashboard-page>.task-tabs .task-tab.active{background:#f1a32b!important;color:#403a2d!important;box-shadow:0 5px 12px rgba(190,135,20,.20)!important}
.detail-dashboard-page .detail-grid>.panel,.detail-dashboard-page .checklist-panel{border-top-color:#f1a32b!important;border-color:#d8dadd!important;box-shadow:0 7px 18px rgba(70,70,70,.09)!important}
.detail-dashboard-page .detail-grid>.checklist-panel{border-top-color:#b9bec3!important}
.detail-dashboard-page .communication-section>.note-form{border-top-color:#c7cbd0!important;box-shadow:0 8px 22px rgba(70,70,70,.10)!important}
.detail-dashboard-page .history-section{border-top-color:#c7cbd0!important;background:#fafafa!important;box-shadow:0 7px 18px rgba(70,70,70,.08)!important}
.detail-dashboard-page .history-section .timeline:before{background:#d2d5d8!important}
.detail-dashboard-page .event-left .event-bubble,.detail-dashboard-page .event-right .event-bubble,.detail-dashboard-page .event-private-note{background:#f4f5f6!important;border-color:#d5d8db!important}
.detail-dashboard-page .member-section{border-top-color:#c7cbd0!important;background:#fff!important}
.detail-dashboard-page .communication-action-button.is-active{background:#fff0c7!important;border-color:#e0a52a!important;color:#765300!important}

/* Abgeschlossene Checklisten bleiben lesbar, obwohl die Aufgabe schreibgeschützt ist. */
.completion-readonly .checklist-items .check{grid-template-columns:32px minmax(0,1fr);min-height:44px}
.completion-readonly .checklist-items .check>form:first-child{display:flex!important;grid-column:1;justify-content:flex-start;min-width:0}
.completion-readonly .checklist-items .check>form:first-child .check-box{pointer-events:none}
.completion-readonly .checklist-items .check-label-text{grid-column:2;width:auto;overflow-wrap:anywhere}
.completion-readonly .checklist-items .check>form:last-child{display:none!important}

.topbar .topbar-status{position:relative;z-index:20}.topbar .global-search-form{position:relative;z-index:21}

.topbar-user-initials{display:none}
@media(max-width:699px){.topbar .topbar-user-avatar,.topbar .topbar-user-name{display:none!important}.topbar .topbar-user-initials{display:grid;place-items:center;min-width:34px;height:28px;padding:0 8px;border-radius:999px;background:#e3a12b;color:#fff;font-size:12px;font-weight:850;letter-spacing:.04em;line-height:1}}

@media (min-width:700px){.topbar .topbar-status{gap:2px}}

/* Leerer Zustand der Notizenkachel nach der Referenzgrafik, in Standardgelb. */
.overview-new-notes .overview-empty-notes{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:178px;padding:18px 16px 20px;text-align:center;color:#596168}
.overview-new-notes .overview-empty-notes-illustration{display:grid;place-items:center;width:54px;height:54px;margin:2px 0 12px;border:1px solid #f0d58c;border-radius:12px;background:#fff0c7;color:#d28e00}
.overview-new-notes .overview-empty-notes-illustration.custom-icon{width:54px;height:54px;flex:0 0 54px}
.overview-new-notes .overview-empty-notes>strong{color:#454b50;font-size:14px;font-weight:800}
.overview-new-notes .overview-empty-notes>p{max-width:270px;margin:5px 0 13px;color:#7a8288;font-size:12px;line-height:1.45}
.overview-new-notes .overview-empty-notes-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;padding:0 15px;border:1px solid #e1a400;border-radius:8px;background:#fdb404;color:#4b3b00;font-size:12px;font-weight:800;text-decoration:none}
.overview-new-notes .overview-empty-notes-action:hover,.overview-new-notes .overview-empty-notes-action:focus-visible{background:#f1a500;border-color:#c88b00;color:#3c3000}

/* Zentrale Suche: Notizen zuerst, danach sichtbare Aufgaben. */
.search-page{max-width:1040px;margin:0 auto;padding:30px 28px 64px;color:#3f444a}
.search-page-header{margin-bottom:22px}.search-page-header h1{margin:0;color:#3f444a;font-size:30px}.search-page-header .eyebrow{margin:0 0 5px;color:#a87500;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.search-results-section{margin-top:18px;padding:18px;border:1px solid #d9dcdf;border-top:4px solid #fdb404;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(70,70,70,.08)}

/* Eigenständiger Adminbereich */
.admin-body{background:#f4f6f8;color:#3f454b}.admin-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px max(22px,calc((100vw - 1180px)/2));background:#263746;color:#fff}.admin-topbar strong{font-size:18px}.admin-subtitle{margin-left:12px;color:#b9c7d2;font-size:13px}.admin-page{max-width:1180px;margin:0 auto;padding:32px 24px 64px}.admin-intro h1{margin:0 0 8px}.admin-intro p:not(.eyebrow){color:#687681}.admin-create-card,.admin-user-card{padding:20px;border:1px solid #d7dee4;border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(36,55,70,.08)}.admin-create-card{margin:24px 0}.admin-create-card h2,.admin-users-section h2{margin-top:0}.admin-create-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:14px}.admin-create-form label,.admin-password-form{display:flex;flex-direction:column;gap:6px;color:#56636d;font-size:13px;font-weight:700}.admin-create-form input,.admin-password-form input{min-height:38px;padding:8px 10px;border:1px solid #cbd4db;border-radius:7px;font:inherit;font-weight:400}.admin-user-list{display:grid;gap:14px}.admin-user-card.is-disabled{opacity:.72}.admin-user-heading{display:flex;justify-content:space-between;gap:20px}.admin-user-heading h3{margin:0 0 4px}.admin-user-heading p{margin:0;color:#73808a;font-size:13px}.admin-status{height:max-content;padding:5px 9px;border-radius:999px;background:#dff3e6;color:#267143;font-size:12px;font-weight:800}.is-disabled .admin-status{background:#f3e2e2;color:#9a3535}.admin-token-meta{display:flex;flex-wrap:wrap;gap:6px 12px;margin:18px 0;color:#66737c;font-size:13px}.admin-token-meta dt{font-weight:800}.admin-token-meta dd{margin:0 20px 0 0}.admin-user-actions{display:flex;flex-wrap:wrap;align-items:end;gap:8px}.secondary-button,.danger-button{min-height:36px;padding:8px 12px;border:1px solid #bcc8d0;border-radius:7px;background:#fff;color:#42515c;font:inherit;font-size:13px;font-weight:750;cursor:pointer}.secondary-button:hover{background:#edf3f7}.danger-button{border-color:#d79b9b;color:#a43c3c}.admin-password-form{flex-direction:row;align-items:end}.admin-password-form input{width:170px}.admin-login-card{max-width:420px;margin:60px auto}.admin-body footer{text-align:center;color:#87939b;padding:20px}@media(max-width:760px){.admin-topbar{align-items:flex-start;padding:16px}.admin-subtitle{display:block;margin:4px 0 0}.admin-page{padding:24px 14px 48px}.admin-create-form{grid-template-columns:1fr}.admin-user-heading{align-items:flex-start}.admin-user-actions,.admin-password-form{align-items:stretch;flex-direction:column}.admin-password-form input{width:auto}}
.search-section-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.search-section-heading h2{margin:0;color:#454b50;font-size:20px}.search-section-heading .count{margin-left:auto}
.search-result-list{display:grid;gap:8px}.search-result{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:12px 13px;border:1px solid #e0e3e5;border-radius:10px;background:#fafafa;color:#454b50;text-decoration:none}.search-result:hover,.search-result:focus-visible{border-color:#e0a52a;background:#fff8e5}.search-result>.custom-icon{flex:0 0 28px;width:28px;height:28px;margin-top:1px;color:#a87500}.search-result h3{margin:0 0 3px;color:#3f444a;font-size:15px}.search-result p{margin:0 0 4px;color:#6e7479;font-size:13px;line-height:1.35}.search-result small{color:#888e93;font-size:11px}.search-empty{margin:0;padding:12px;color:#777d82}
@media(max-width:699px){.search-page{padding:22px 14px 84px}.search-page-header h1{font-size:25px}.search-results-section{padding:13px;border-top-width:3px}.search-result{padding:11px 10px}.search-result h3{font-size:14px}.search-result p{font-size:12px}.topbar .topbar-status{width:auto;gap:8px}.topbar .global-search-form{display:flex!important;flex:0 1 200px;width:200px;min-width:160px;height:34px;padding:0 9px;border-radius:17px}.topbar .global-search-form input{min-width:0;font-size:12px}.topbar .topbar-user-link{flex:0 1 auto;max-width:141px}}

/* Verbindliche Prioritätsfarben: Dringend gelb-orange, Kritisch rot. */
.priority-dringend{border-left-color:#e2a400!important}
.task-row.priority-dringend,.task-card.priority-dringend,.mine-reference-row.priority-dringend,.overview-task.priority-dringend,.overview-new-item.priority-dringend{background:#fff3d6!important;border-color:#e4b84e!important}
.task-detail-shell .urgency.urgency-dringend,.urgency.urgency-dringend{background:#fff3d6!important;border-color:#e4b84e!important;color:#8a6200!important}
.task-detail-shell .urgency.urgency-dringend i,.urgency.urgency-dringend i{background:#e2a400!important;border-color:#e2a400!important}
.overview-page .overview-task-table tbody tr.priority-dringend{--overview-priority-color:#e2a400!important}
.priority-kritisch{border-left-color:#d94a4a!important}
.task-detail-shell .urgency.urgency-kritisch,.urgency.urgency-kritisch{background:#fbe7e7!important;border-color:#e2aaaa!important;color:#a52d2d!important}
.task-detail-shell .urgency.urgency-kritisch i,.urgency.urgency-kritisch i{background:#d94a4a!important;border-color:#d94a4a!important}
.overview-page .overview-task-table tbody tr.priority-kritisch{--overview-priority-color:#ff1f2d!important}

/* Unteraufgaben in Normal: sattere grüne Grundfläche unter der Schraffur. */
.task-row.task-subtask.priority-normal,.task-card.task-subtask.priority-normal,.mine-reference-row.task-subtask.priority-normal,.search-result.task-subtask.priority-normal,.overview-new-item.task-subtask.priority-normal{background-color:#dff3e3!important}
.overview-task-table tr.task-subtask.priority-normal td,.overview-page .overview-task-table tbody tr.task-subtask.priority-normal td{background-color:#dff3e3!important}

/* Finale Dashboard-Zuordnung: keine Glow-Effekte, deckende Farben. */
.task-row.priority-dringend,.task-card.priority-dringend,.mine-reference-row.priority-dringend,.overview-task.priority-dringend,.overview-new-item.priority-dringend{background:#fff3d6!important;box-shadow:none!important}
.overview-task-table tr.priority-dringend td,.overview-page .overview-task-table tbody tr.priority-dringend td{background:#fff3d6!important}
.overview-task-table tr.priority-dringend td:first-child,.overview-page .overview-task-table tbody tr.priority-dringend td:first-child{border-left-color:#e2a400!important}
.overview-new-tasks .overview-new-item.priority-dringend{border-left-color:#e2a400!important;background:#fff3d6!important}
.task-row.priority-kritisch,.task-card.priority-kritisch,.mine-reference-row.priority-kritisch,.overview-task.priority-kritisch,.overview-new-item.priority-kritisch{background:#ffe5e8!important;box-shadow:none!important}
.overview-task-table tr.priority-kritisch td,.overview-page .overview-task-table tbody tr.priority-kritisch td{background:#ffe5e8!important}
.overview-task-table tr.priority-kritisch td:first-child,.overview-page .overview-task-table tbody tr.priority-kritisch td:first-child{border-left-color:#ff1f2d!important}
.overview-new-tasks .overview-new-item.priority-kritisch{border-left-color:#ff1f2d!important;background:#ffe5e8!important}
.task-detail-shell .urgency.urgency-dringend,.urgency.urgency-dringend{background:#ffc247!important;border-color:#e39a00!important;color:#704500!important;box-shadow:none!important}
.task-detail-shell .urgency.urgency-dringend i,.urgency.urgency-dringend i{background:#e39a00!important;border-color:#e39a00!important}
.task-detail-shell .urgency.urgency-kritisch,.urgency.urgency-kritisch{background:#ff1f2d!important;border-color:#ff1f2d!important;color:#fff!important;box-shadow:none!important}
.task-detail-shell .urgency.urgency-kritisch i,.urgency.urgency-kritisch i{background:#ff1f2d!important;border-color:#ff1f2d!important}

/* Unteraufgaben: Schraffur über die komplette Fläche, Prioritätsfarbe bleibt sichtbar. */
.task-subtask{position:relative;isolation:isolate}
.task-row.task-subtask,.task-card.task-subtask,.mine-reference-row.task-subtask,.search-result.task-subtask,.overview-new-item.task-subtask{background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.58) 0,rgba(255,255,255,.58) 5px,transparent 5px,transparent 14px)!important;background-blend-mode:normal}
.overview-task-table tr.task-subtask td{background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.58) 0,rgba(255,255,255,.58) 5px,transparent 5px,transparent 14px)!important;background-blend-mode:normal}
.task-row.task-main,.task-card.task-main,.mine-reference-row.task-main,.search-result.task-main,.overview-new-item.task-main{background-image:none!important}

/* Dashboard-Unteraufgaben: Schraffur bleibt an der Zeile, läuft aber über alle Zellen weiter. */
.overview-task-table tr.task-subtask td,.overview-task-table tr.task-subtask .overview-td-actions{background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.58) 0,rgba(255,255,255,.58) 5px,transparent 5px,transparent 14px)!important;background-attachment:scroll!important;background-position:var(--subtask-hatch-x,0px) 0!important}

/* Hover: Farbe je Priorität leicht vertiefen, Unteraufgaben bleiben schraffiert. */
.overview-page .overview-task-table tbody tr.priority-normal:hover td,.overview-page .overview-task-table tbody tr.priority-nicht-dringend:hover td,.overview-page .overview-task-table tbody tr.priority-normal:focus-within td,.overview-page .overview-task-table tbody tr.priority-nicht-dringend:focus-within td{background-color:#dff0e4!important}
.overview-page .overview-task-table tbody tr.priority-hoch:hover td,.overview-page .overview-task-table tbody tr.priority-hoch:focus-within td{background-color:#f3e5bd!important}
.overview-page .overview-task-table tbody tr.priority-dringend:hover td,.overview-page .overview-task-table tbody tr.priority-dringend:focus-within td{background-color:#ffe8b5!important}
.overview-page .overview-task-table tbody tr.priority-kritisch:hover td,.overview-page .overview-task-table tbody tr.priority-kritisch:focus-within td,.overview-page .overview-task-table tbody tr.priority-sofort-erledigen:hover td,.overview-page .overview-task-table tbody tr.priority-sofort-erledigen:focus-within td{background-color:#ffd5da!important}
.overview-page .overview-task-table tbody tr.task-subtask:hover td,.overview-page .overview-task-table tbody tr.task-subtask:focus-within td{background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.58) 0,rgba(255,255,255,.58) 5px,transparent 5px,transparent 14px)!important;background-attachment:scroll!important;background-position:var(--subtask-hatch-x,0px) 0!important}

/* Dashboard-Karten: kompakte, kontrastreiche Überschrifts-Icons. */
.overview-dashboard .overview-card-icon{width:19px;height:19px;font-size:13px;color:#a66d00!important;background-color:#a66d00!important}
.overview-dashboard .overview-card-heading>div{padding-left:27px}

