.daily-workbench {
  --daily-ink: #304b38;
  --daily-muted: #82917a;
  --daily-line: #e6ecdf;
  width: 100%;
  min-width: 0;
  color: var(--daily-ink);
}

.daily-workbench .daily-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding: 8px 0 26px;
}

.daily-workbench .daily-eyebrow {
  color: #8b9f7b;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
}

.daily-workbench .daily-title {
  margin: 7px 0 8px;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: 1px;
}

.daily-workbench .daily-subtitle {
  margin: 0;
  color: var(--daily-muted);
  font-size: 13px;
  line-height: 1.8;
}

.daily-workbench .daily-date-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.daily-workbench .daily-date-controls .btn {
  padding: 7px 12px;
  border-color: transparent;
  background: #fffefa;
}

.daily-workbench .daily-date-controls .btn.active {
  border-color: #355c43;
  background: #355c43;
  color: #fff;
}

.daily-workbench .daily-period {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #6d8262;
  font-size: 11px;
  white-space: nowrap;
}

.daily-workbench .daily-period .icon {
  width: 15px;
  height: 15px;
}

.daily-workbench .daily-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.daily-workbench .daily-metric {
  --daily-accent: #54774b;
  --daily-soft: #edf3e6;
  display: block;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--daily-line);
  border-radius: 20px;
  background: #fffefa;
  box-shadow: 0 2px 8px #3c5c3004;
  color: var(--daily-ink);
  text-align: left;
  transition: border-color .16s, background .16s;
}

.daily-workbench .daily-metric:hover {
  border-color: #bbccb0;
  background: #fff;
}

.daily-workbench .daily-metric.aqua {
  --daily-accent: #4b8b83;
  --daily-soft: #eaf3f0;
}

.daily-workbench .daily-metric.orange {
  --daily-accent: #af8850;
  --daily-soft: #f7efdf;
}

.daily-workbench .daily-metric.coral {
  --daily-accent: #ba7d6c;
  --daily-soft: #f9ece7;
}

.daily-workbench .daily-metric.sand {
  --daily-accent: #9e9057;
  --daily-soft: #f5f1df;
}

.daily-workbench .daily-metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #71836a;
  font-size: 13px;
  font-weight: 500;
}

.daily-workbench .daily-metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--daily-soft);
  color: var(--daily-accent);
}

.daily-workbench .daily-metric-icon .icon {
  width: 19px;
  height: 19px;
}

.daily-workbench .daily-metric-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 10px 0 9px;
  color: var(--daily-accent);
  font-size: 34px;
  font-weight: 650;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.daily-workbench .daily-metric-value small {
  color: #9aa58f;
  font-size: 12px;
  font-weight: 400;
}

.daily-workbench .daily-metric-note {
  color: #929e88;
  font-size: 11px;
  line-height: 1.65;
}

.daily-workbench .daily-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.daily-workbench .daily-panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--daily-line);
  border-radius: 20px;
  background: #fffefa;
  box-shadow: 0 2px 8px #3c5c3004;
}

.daily-workbench .daily-panel.full {
  grid-column: 1 / -1;
}

.daily-workbench .daily-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.daily-workbench .daily-panel-head h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.daily-workbench .daily-panel-head h3::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 15px;
  border-radius: 3px;
  background: #8ca377;
}

.daily-workbench .daily-panel-head small,
.daily-workbench .daily-section-count {
  color: var(--daily-muted);
  font-size: 11px;
  font-weight: 400;
}

.daily-workbench .daily-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 23px;
  padding: 1px 7px;
  border-radius: 7px;
  background: #edf2e6;
  color: #7b9469;
  font-size: 11px;
  font-weight: 500;
}

.daily-workbench .daily-chart-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: -3px 0 12px;
  color: #7c8b73;
  font-size: 11px;
}

.daily-workbench .daily-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.daily-workbench .daily-chart-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a9c8be;
}

.daily-workbench .daily-chart-legend .completed i {
  background: #6e9560;
}

.daily-workbench .daily-chart {
  min-width: 0;
}

.daily-workbench .daily-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.daily-workbench .chart-grid {
  stroke: #e9eee2;
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.daily-workbench .chart-axis {
  fill: #8e9c82;
  font-size: 10px;
  font-family: inherit;
}

.daily-workbench .chart-started {
  fill: #bad3c9;
}

.daily-workbench .chart-completed {
  fill: #729a65;
}

.daily-workbench .chart-line {
  fill: none;
  stroke: #b79559;
  stroke-width: 2;
}

.daily-workbench .daily-chart-note,
.daily-workbench .daily-footer-note {
  margin: 14px 0 0;
  color: #8d9b82;
  font-size: 11px;
  line-height: 1.85;
}

.daily-workbench .daily-status-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 190px;
  padding: 9px 0;
}

.daily-workbench .daily-donut {
  position: relative;
  flex: none;
  width: 140px;
  height: 140px;
  border-radius: 50%;
}

.daily-workbench .daily-donut-center {
  position: absolute;
  inset: 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 50%;
  background: #fffefa;
}

.daily-workbench .daily-donut-center strong {
  font-size: 28px;
  font-weight: 650;
  line-height: 1.25;
}

.daily-workbench .daily-donut-center small {
  color: #8d9b82;
  font-size: 10px;
}

.daily-workbench .daily-status-legend {
  display: grid;
  gap: 13px;
  min-width: 100px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: #7a8b70;
}

.daily-workbench .daily-status-legend > * {
  display: flex;
  align-items: center;
  gap: 8px;
}

.daily-workbench .daily-status-legend i {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color, #b8c9a9);
}

.daily-workbench .daily-status-legend b {
  margin-left: auto;
  padding-left: 12px;
  color: #48643d;
  font-size: 13px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}

.daily-workbench .daily-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.daily-workbench .daily-search {
  display: flex;
  align-items: center;
  flex: 1 1 190px;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid #e4eadd;
  border-radius: 10px;
  background: #f9faf5;
  color: #98a48e;
}

.daily-workbench .daily-search input {
  width: 100%;
  min-width: 0;
  padding: 9px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #405b3d;
  font-size: 12px;
  outline: 0;
}

.daily-workbench .daily-search:focus-within {
  outline: 2px solid #afc5a6;
}

.daily-workbench .daily-search .icon {
  width: 15px;
  height: 15px;
}

.daily-workbench .daily-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.daily-workbench .daily-tabs button {
  border: 0;
  border-radius: 7px;
  padding: 6px 9px;
  background: transparent;
  color: #91a083;
  font-size: 11px;
  line-height: 1.7;
}

.daily-workbench .daily-tabs button:hover,
.daily-workbench .daily-tabs button.active {
  background: #edf2e5;
  color: #557a47;
}

.daily-workbench .daily-task-list,
.daily-workbench .daily-agenda,
.daily-workbench .daily-project-list {
  display: grid;
  gap: 0;
}

.daily-workbench .daily-task {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 15px 1px;
  border: 0;
  border-bottom: 1px solid #edf1e7;
  background: transparent;
  color: var(--daily-ink);
  text-align: left;
}

.daily-workbench .daily-task:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.daily-workbench .daily-task:hover .daily-task-copy strong,
.daily-workbench .daily-agenda-item:hover .daily-agenda-copy strong {
  color: #6c8e58;
}

.daily-workbench .daily-task-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 27px;
  height: 27px;
  margin-top: 1px;
  border: 1px solid #dce7d3;
  border-radius: 9px;
  background: #f3f7ec;
  color: #86a16f;
}

.daily-workbench .daily-task-icon .icon {
  width: 15px;
  height: 15px;
}

.daily-workbench .daily-task.blocked .daily-task-icon {
  border-color: #f0dcd3;
  background: #fcf1eb;
  color: #b67a65;
}

.daily-workbench .daily-task-copy {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 4px;
}

.daily-workbench .daily-task-copy strong,
.daily-workbench .daily-agenda-copy strong {
  font-size: 13px;
  font-weight: 550;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.daily-workbench .daily-task-copy > span {
  color: #91a083;
  font-size: 11px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.daily-workbench .daily-task-meta {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 6px;
  flex: none;
  max-width: 120px;
  padding-top: 1px;
  color: #99a38f;
  font-size: 10px;
}

.daily-workbench .daily-task-action {
  color: #7f996b;
  font-size: 11px;
  white-space: nowrap;
}

.daily-workbench .daily-agenda-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  width: 100%;
  padding: 14px 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--daily-ink);
}

.daily-workbench .daily-agenda-item + .daily-agenda-item {
  border-top: 1px solid #edf1e7;
}

.daily-workbench .daily-agenda-dot {
  width: 9px;
  height: 9px;
  flex: none;
  margin-top: 7px;
  border: 2px solid #97b189;
  border-radius: 50%;
  background: #fffefa;
}

.daily-workbench .daily-agenda-date {
  width: 54px;
  flex: none;
  color: #648052;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.8;
}

.daily-workbench .daily-agenda-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.daily-workbench .daily-agenda-copy > span {
  color: #91a083;
  font-size: 11px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.daily-workbench .daily-project {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid #edf1e7;
  background: transparent;
  text-align: left;
  color: var(--daily-ink);
}

.daily-workbench .daily-project:first-child {
  padding-top: 0;
}

.daily-workbench .daily-project:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.daily-workbench .daily-project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.daily-workbench .daily-project-top strong {
  min-width: 0;
  font-size: 13px;
  font-weight: 550;
  overflow-wrap: anywhere;
}

.daily-workbench .daily-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 6px;
  background: #edf2e5;
}

.daily-workbench .daily-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #9cb68a;
}

.daily-workbench .daily-project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 8px;
  color: #92a086;
  font-size: 10px;
  line-height: 1.7;
}

.daily-workbench .daily-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.daily-workbench .daily-shortcut {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e8eddf;
  border-radius: 12px;
  background: #f7f9f1;
  color: #648052;
  font-size: 12px;
  text-align: left;
  line-height: 1.7;
}

.daily-workbench .daily-shortcut:hover {
  border-color: #bdcdaf;
  background: #f0f5e8;
}

.daily-workbench .daily-shortcut .icon {
  width: 19px;
  height: 19px;
}

.daily-workbench .daily-review {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daily-workbench .daily-review-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #edf1e7;
  color: #809273;
  font-size: 12px;
}

.daily-workbench .daily-review-item:first-child {
  padding-top: 0;
}

.daily-workbench .daily-review-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.daily-workbench .daily-review-number {
  color: #557a46;
  font-size: 20px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.daily-workbench .daily-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 30px 14px;
  color: #98a68e;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
}

.daily-workbench .daily-empty .icon {
  width: 30px;
  height: 30px;
  margin-bottom: 3px;
  color: #b1c29f;
}

.daily-workbench .daily-empty strong {
  color: #829773;
  font-size: 13px;
  font-weight: 500;
}

.daily-workbench .daily-empty p {
  margin: 0;
}

.daily-workbench .daily-data-table {
  margin-top: 14px;
  color: #87977b;
  font-size: 11px;
}

.daily-workbench .daily-data-table summary {
  cursor: pointer;
}

.daily-workbench .daily-data-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.daily-workbench .daily-data-table th,
.daily-workbench .daily-data-table td {
  padding: 7px;
  border-bottom: 1px solid #edf1e7;
  font-size: 11px;
  font-weight: 400;
}

.daily-workbench .daily-data-table th {
  color: #638154;
}

.daily-workbench button:focus-visible,
.daily-workbench a:focus-visible {
  outline: 2px solid #79946a;
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .daily-workbench .daily-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .daily-workbench .daily-panel {
    padding: 21px;
  }

  .daily-workbench .daily-status-layout {
    gap: 16px;
  }

  .daily-workbench .daily-donut {
    width: 122px;
    height: 122px;
  }

  .daily-workbench .daily-donut-center {
    inset: 17px;
  }
}

@media (max-width: 750px) {
  .daily-workbench .daily-head {
    gap: 17px;
    padding-bottom: 22px;
  }

  .daily-workbench .daily-date-controls {
    justify-content: flex-start;
  }

  .daily-workbench .daily-period {
    padding-left: 0;
  }

  .daily-workbench .daily-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
  }

  .daily-workbench .daily-metric {
    padding: 17px;
    border-radius: 17px;
  }

  .daily-workbench .daily-metric-value {
    font-size: 30px;
  }

  .daily-workbench .daily-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .daily-workbench .daily-panel {
    padding: 21px 18px;
    border-radius: 18px;
  }

  .daily-workbench .daily-panel.full {
    grid-column: auto;
  }

  .daily-workbench .daily-status-layout {
    justify-content: space-evenly;
    gap: 20px;
    min-height: 170px;
  }

  .daily-workbench .daily-donut {
    width: 135px;
    height: 135px;
  }

  .daily-workbench .daily-toolbar {
    align-items: stretch;
  }

  .daily-workbench .daily-search {
    flex-basis: 100%;
  }

  .daily-workbench .daily-task-meta {
    max-width: 95px;
  }

  .daily-workbench .daily-task {
    gap: 9px;
  }

  .daily-workbench .daily-shortcut {
    padding: 13px 10px;
    gap: 8px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .daily-workbench .daily-metric {
    transition: none;
  }
}
