.dc-page {
  color: #223c4b;
}

.dc-page .dc-page-content {
  padding: 16px;
  overflow: hidden !important;
  background: #f8fcfb;
}

.dc-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 0;
}

.dc-heading {
  flex: none;
  padding: 2px 18px 4px;
}

.dc-heading h1 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 650;
  line-height: 1.35;
  color: #223c4b;
}

.dc-heading p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #61758d;
}

.dc-context {
  flex: none;
  padding: 16px 12px 10px;
  background: #fff;
  border: 1px solid #e0e9ed;
  border-radius: 10px;
}

.dc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin: 0 10px 14px;
}

.dc-filter {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.dc-filter label {
  flex: none;
  font-size: 14px;
  color: #61758d;
  white-space: nowrap;
}

.dc-filter--customer .ant-select {
  width: 210px;
}

.dc-filter--plan .ant-select {
  width: 240px;
}

.dc-filter .ant-select-selector {
  border-radius: 7px !important;
}

.dc-filter .ant-tag {
  flex: none;
  margin: 0;
}

.dc-cycle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  margin: 0 0 0 auto;
  font-size: 13px;
  color: #61758d;
}

.dc-cycle span {
  color: #365369;
  white-space: nowrap;
}

.dc-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 14px 8px;
  font-variant-numeric: tabular-nums;
  background: #edf8f5;
  border-radius: 8px;
}

.dc-summary > div {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: center;
  padding: 0 12px;
  border-right: 1px solid #d5e6e6;
}

.dc-summary > div:last-child {
  border: 0;
}

.dc-summary span {
  font-size: 14px;
  color: #61758d;
  white-space: nowrap;
}

.dc-summary strong {
  font-size: 22px;
  font-weight: 650;
  color: #223c4b;
  white-space: nowrap;
}

.dc-summary small {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 400;
  color: #61758d;
}

.dc-loading {
  display: flex;
  flex: 1;
  min-height: 0;
}

.dc-loading > .ant-spin-nested-loading,
.dc-loading > .ant-spin-nested-loading > .ant-spin-container {
  display: flex;
  flex: 1;
  min-height: 0;
}

.dc-workspace {
  display: grid;
  flex: 1;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  min-height: 0;
}

.dc-navigation,
.dc-main {
  min-height: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e9ed;
  border-radius: 9px;
}

.dc-navigation {
  display: flex;
  flex-direction: column;
}

.dc-navigation h2 {
  flex: none;
  padding: 15px 16px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #e0e9ed;
}

.dc-phase-scroll {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

.dc-phase + .dc-phase {
  border-top: 1px solid #e0e9ed;
}

.dc-phase-button {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 16px 12px;
  font-size: 14px;
  color: #365369;
  text-align: left;
}

.dc-phase-button > .iconify {
  flex: none;
  width: 14px;
  height: 14px;
}

.dc-phase-button[aria-expanded='true'] {
  font-weight: 600;
  color: #008b80;
}

.dc-phase-button small {
  margin-left: 12px;
  font-size: 12px;
  font-weight: 400;
  color: #61758d;
}

.dc-weeks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 8px 12px;
}

.dc-week-button {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px 12px 24px;
  text-align: left;
  border-left: 3px solid transparent;
  border-radius: 6px;
}

.dc-week-button strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #365369;
}

.dc-week-button small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #61758d;
  white-space: nowrap;
}

.dc-week-button:hover {
  background: #f4faf8;
}

.dc-week-button.is-active {
  background: #e1f3ef;
  border-left-color: #008b80;
}

.dc-week-button.is-active strong {
  color: #007d73;
}

.dc-week-missing {
  flex: none;
  padding: 2px 7px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #a25b13;
  background: #fff2df;
  border-radius: 12px;
}

.dc-main {
  display: flex;
  flex-direction: column;
  padding: 16px 8px 0;
}

.dc-week-heading {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  padding: 0 8px;
}

.dc-week-heading h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.4;
  color: #223c4b;
}

.dc-week-heading > span {
  font-size: 13px;
  color: #61758d;
  white-space: nowrap;
}

.dc-week-heading p {
  flex-basis: 100%;
  margin: 0;
  font-size: 13px;
  color: #61758d;
}

.dc-gap {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px;
}

.dc-gap-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #61758d;
}

.dc-gap-items > span:first-child {
  margin-right: 8px;
}

.dc-gap-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 3px 10px;
  color: #9b5814;
  white-space: nowrap;
  background: #fff4e6;
  border-radius: 20px;
}

.dc-gap-chip strong {
  font-weight: 600;
}

.dc-only-missing {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #61758d;
  white-space: nowrap;
}

.dc-matrix-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
  border: 1px solid #e0e9ed;
  border-radius: 7px;
}

.dc-matrix {
  width: 100%;
  min-width: 790px;
  table-layout: fixed;
  border-spacing: 0;
  border-collapse: separate;
}

.dc-matrix th,
.dc-matrix td {
  padding: 4px 6px;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
  border-right: 1px solid #e8eff2;
  border-bottom: 1px solid #e8eff2;
}

.dc-matrix tr > :last-child {
  border-right: 0;
}

.dc-matrix tbody tr:last-child > * {
  border-bottom: 0;
}

.dc-matrix thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  font-weight: 500;
  background: #f5f9fb;
}

.dc-matrix .dc-corner,
.dc-matrix .dc-row-label {
  position: sticky;
  left: 0;
  width: 128px;
  min-width: 128px;
  padding-left: 12px;
  text-align: left;
}

.dc-matrix .dc-corner {
  z-index: 3;
  font-size: 14px;
  color: #61758d;
}

.dc-matrix .dc-row-label {
  z-index: 1;
  height: 39px;
  font-size: 13px;
  font-weight: 500;
  color: #365369;
  background: #fff;
}

.dc-row-label .iconify {
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-right: 8px;
  vertical-align: middle;
  color: #61758d;
}

.dc-day-button {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  width: 100%;
  padding: 2px 0;
  font-size: 12px;
  color: #61758d;
}

.dc-day-button strong {
  font-size: 13px;
  font-weight: 600;
  color: #365369;
}

.dc-matrix thead .is-today {
  background: #008b80;
}

.dc-matrix .is-today .dc-day-button,
.dc-matrix .is-today .dc-day-button strong {
  color: #fff;
}

.dc-matrix td.is-today {
  background: #f0faf7;
}

.dc-matrix .is-future .dc-day-button {
  color: #8796a6;
}

.dc-status {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 9px;
  font-size: 12px;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 18px;
}

.dc-status .iconify {
  flex: none;
  width: 16px;
  height: 16px;
}

.dc-status--done {
  color: #008b80;
  background: #ebf8f4;
}

.dc-status--missing {
  color: #ae6518;
  background: #fff8ee;
  border-color: #f2cf9a;
}

.dc-status--pending {
  color: #7d8ba0;
  background: #f3f5f8;
}

.dc-status--voluntary {
  color: #3776cb;
  background: #edf5ff;
}

.dc-status:hover {
  filter: brightness(0.96);
}

.dc-page button:focus-visible {
  outline: 2px solid #008b80;
  outline-offset: 2px;
}

.dc-no-task {
  color: #9aa8b8;
}

.dc-matrix-empty {
  height: 200px;
}

.dc-week-footer {
  flex: none;
  padding: 10px 8px;
  font-size: 12px;
  color: #61758d;
}

.dc-state {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e0e9ed;
  border-radius: 9px;
}

.dc-footer {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #e0e9ed;
  border-radius: 8px;
}

.dc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  font-size: 13px;
  color: #61758d;
}

.dc-legend > span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}

.dc-legend .iconify {
  width: 19px;
  height: 19px;
}

.dc-legend--done .iconify {
  color: #008b80;
}

.dc-legend--missing .iconify {
  color: #ae6518;
}

.dc-legend--voluntary .iconify {
  color: #3776cb;
}

.dc-footer .ant-btn {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  height: 24px;
  padding: 0;
  font-size: 13px;
  color: #008b80;
}

.dc-note {
  flex: none;
  padding: 0 16px;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #7b8da2;
}

.dc-day-drawer .ant-drawer-body {
  padding: 20px;
}

.dc-day-drawer .ant-table-cell {
  white-space: nowrap;
}

.dc-day-drawer .compliance-drawer-stats {
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #edf8f5;
  border-radius: 8px;
}

.dc-day-drawer .compliance-drawer-link {
  display: block;
  margin: 14px 0 0 auto;
  color: #008b80;
}

@media (max-width: 1200px) {
  .dc-workspace {
    grid-template-columns: 176px minmax(0, 1fr);
  }

  .dc-summary > div {
    gap: 8px;
    padding: 0 6px;
  }

  .dc-summary span {
    font-size: 13px;
  }

  .dc-summary strong {
    font-size: 20px;
  }

  .dc-week-button {
    padding-left: 14px;
  }

  .dc-week-heading h2 {
    font-size: 18px;
  }
}

@media (max-height: 800px) and (min-width: 769px) {
  .dc-body {
    gap: 8px;
  }

  .dc-heading h1 {
    margin-bottom: 2px;
    font-size: 23px;
  }

  .dc-heading {
    padding-top: 0;
    padding-bottom: 0;
  }

  .dc-context {
    padding-top: 10px;
  }

  .dc-filters {
    margin-bottom: 10px;
  }

  .dc-summary {
    padding: 8px;
  }

  .dc-main {
    padding-top: 10px;
  }

  .dc-gap {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .dc-footer {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (max-width: 768px) {
  .dc-page .dc-page-content {
    padding: 10px;
    overflow-y: auto !important;
  }

  .dc-body {
    height: auto;
    min-height: 100%;
  }

  .dc-heading {
    padding: 4px;
  }

  .dc-heading h1 {
    font-size: 22px;
  }

  .dc-filters {
    display: grid;
    gap: 10px;
    margin-right: 0;
    margin-left: 0;
  }

  .dc-filter label {
    width: 60px;
    font-size: 13px;
  }

  .dc-filter .ant-select {
    flex: 1;
    width: 0;
  }

  .dc-cycle {
    margin-left: 0;
    font-size: 12px;
  }

  .dc-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 0;
  }

  .dc-summary > div {
    justify-content: space-between;
    padding: 0 10px;
  }

  .dc-summary > div:nth-child(2) {
    border: 0;
  }

  .dc-loading,
  .dc-loading > .ant-spin-nested-loading,
  .dc-loading > .ant-spin-nested-loading > .ant-spin-container {
    display: block;
    flex: none;
  }

  .dc-workspace {
    display: flex;
    flex-direction: column;
  }

  .dc-navigation {
    max-height: 240px;
  }

  .dc-navigation h2 {
    padding: 10px 12px;
  }

  .dc-phase-button {
    padding: 10px 12px;
  }

  .dc-weeks {
    flex-direction: row;
    padding-bottom: 8px;
    overflow-x: auto;
  }

  .dc-week-button {
    flex: none;
    width: 145px;
    padding: 8px;
  }

  .dc-main {
    padding-top: 14px;
    margin-top: 12px;
  }

  .dc-matrix-scroll {
    max-height: 480px;
  }

  .dc-legend {
    gap: 8px 12px;
    font-size: 12px;
  }

  .dc-footer {
    padding: 10px;
  }

  .dc-note {
    padding: 0 4px;
  }
}
/*$vite$:1*/