.day-review {
  --dt-worked: #6bd4ad;
  --dt-suggested: #a8a0de;
  --dt-gap: #d6b579;
  --dt-break: #84909b;
  width: min(100%, 75rem);
  color: var(--text);
}
.day-review [hidden] {
  display: none !important;
}
.day-review svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  vertical-align: middle;
}
.day-review button,
.day-review a,
.day-review summary {
  touch-action: manipulation;
}
.dt-header,
.dt-section-head,
.dt-editor-head,
.dt-device-item,
.dt-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.dt-header {
  align-items: flex-start;
}
.dt-header h1 {
  margin: 0;
}
.dt-date-caption {
  display: block;
  margin-top: 0.28rem;
  color: var(--quiet);
}
.dt-clock,
.dt-clock-state,
.dt-date-nav,
.dt-filter,
.dt-add,
.dt-clock-main,
.dt-device-controls,
.dt-form-actions,
.dt-legend,
.dt-legend span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dt-clock {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.dt-clock-state,
.dt-date-nav .dt-week,
.dt-empty-filter,
.dt-empty p,
.dt-device-body > p {
  color: var(--quiet);
}
.dt-icon,
.dt-confirm {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 2.15rem;
  min-height: 2.15rem;
  border-radius: 0.38rem;
  color: var(--quiet);
}
.dt-icon:hover,
.dt-text-button:hover,
.dt-confirm:hover {
  background: var(--active);
  color: var(--text);
}
.dt-icon:disabled {
  opacity: 0.3;
}
.dt-date-nav {
  margin: 1.25rem 0 0.85rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.dt-date-nav .date-control {
  width: auto;
  min-width: 12rem;
}
.dt-date-nav .dt-week,
.dt-date-nav > .dt-link {
  padding: 0.45rem 0.15rem;
  text-decoration: none;
}
.dt-date-nav .dt-week {
  margin-left: auto;
}
.dt-date-nav .dt-week:hover {
  color: var(--text);
}
.dt-summary {
  padding: clamp(0.9rem, 2vw, 1.45rem);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--inset);
}
.dt-metrics {
  display: flex;
  margin: 0;
}
.dt-metrics > div {
  flex: 1;
  border-right: 1px solid var(--line);
  padding: 0 1.3rem;
}
.dt-metrics > div:first-child {
  padding-left: 0;
}
.dt-metrics > div:last-child {
  padding-right: 0;
  border: 0;
}
.dt-metrics dt {
  color: var(--quiet);
  font-size: 0.93rem;
}
.dt-metrics dd {
  margin: 0.25rem 0 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  font-size: clamp(1.36rem, 2.5vw, 2.15rem);
  line-height: 1.2;
}
.dt-plot {
  margin-top: 1.4rem;
}
.dt-axis,
.dt-times,
.dt-row-total,
.dt-code output {
  font-variant-numeric: tabular-nums;
}
.dt-axis {
  display: flex;
  justify-content: space-between;
  color: var(--quiet);
  font-size: 0.84rem;
}
.dt-meter {
  position: relative;
  height: 1rem;
  border-radius: 0.3rem;
  margin: 0.35rem 0 0.75rem;
  background: var(--band);
}
.dt-piece {
  position: absolute;
  top: 0;
  bottom: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  border-right: 2px solid var(--inset);
}
.dt-piece:first-child {
  border-radius: 0.3rem 0 0 0.3rem;
}
.dt-piece:last-child {
  border-radius: 0 0.3rem 0.3rem 0;
  border-right: 0;
}
.dt-piece:only-child {
  border-radius: 0.3rem;
}
.dt-piece:hover,
.dt-piece:focus-visible {
  filter: brightness(1.2);
  z-index: 1;
}
.dt-worked {
  background: var(--dt-worked);
}
.dt-suggested {
  background: var(--dt-suggested);
}
.dt-break {
  background: var(--dt-break);
}
.dt-gap {
  background: repeating-linear-gradient(
    135deg,
    #746347 0 3px,
    var(--dt-gap) 3px 6px
  );
}
.dt-legend {
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  color: var(--quiet);
  font-size: 0.86rem;
}
.dt-dot {
  display: inline-block;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  flex: none;
}
.dt-timeline {
  margin-top: 1.65rem;
}
.dt-private-note {
  margin: 0.25rem 0;
  color: var(--quiet);
}
.dt-section-head h2 {
  margin: 0;
  font-size: 1.25rem;
}
.dt-add,
.dt-link,
.dt-week {
  text-decoration: none;
}
.dt-add,
.dt-link {
  color: var(--green);
  padding: 0.4rem;
}
.dt-add:hover,
.dt-link:hover {
  background: var(--band);
  border-radius: 0.35rem;
}
.dt-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.65rem 0 0.3rem;
}
.dt-filter {
  color: var(--quiet);
  border: 1px solid transparent;
  border-radius: 0.4rem;
  padding: 0.35rem 0.55rem;
}
.dt-filter[aria-pressed="true"] {
  background: var(--active);
  color: var(--text);
}
.dt-filter small {
  opacity: 0.8;
  font-size: 0.84em;
  font-variant-numeric: tabular-nums;
}
.dt-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}
.dt-row {
  position: relative;
  display: grid;
  grid-template-columns:
    3.5rem 0.9rem minmax(0, 1fr) minmax(5.2rem, auto)
    7.15rem;
  align-items: center;
  column-gap: 0.8rem;
  border-bottom: 1px solid var(--line);
  min-height: 4.55rem;
}
.dt-row:has(.dt-editor) {
  padding-bottom: 0.8rem;
}
.dt-row-body,
.dt-times,
.dt-row-total {
  display: grid;
  align-content: center;
  min-width: 0;
  gap: 0.16rem;
}
.dt-times time:first-child,
.dt-row-total strong {
  font-weight: 570;
}
.dt-times time:last-child,
.dt-row-body small,
.dt-row-total small {
  color: var(--quiet);
  font-size: 0.87rem;
}
.dt-rail {
  align-self: stretch;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dt-rail:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.dt-row:first-child .dt-rail:before {
  top: 50%;
}
.dt-row:last-child .dt-rail:before {
  bottom: 50%;
}
.dt-dot {
  position: relative;
}
.dt-rail .dt-dot {
  box-shadow: 0 0 0 3px var(--sheet);
}
.dt-row-body {
  padding: 0.7rem 0;
}
.dt-row-body small,
.dt-title {
  overflow-wrap: anywhere;
}
.dt-title {
  padding: 0;
  justify-content: flex-start;
  text-align: left;
  line-height: 1.4;
  width: fit-content;
  font-weight: 570;
}
.dt-title:hover {
  color: var(--green);
}
.dt-row-total {
  text-align: right;
  white-space: nowrap;
}
.dt-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.15rem;
}
.dt-text-button {
  padding: 0.45rem 0.55rem;
  color: var(--quiet);
  border-radius: 0.35rem;
}
.dt-confirm {
  color: var(--green);
}
.dt-editor,
.dt-sample-note {
  background: var(--band);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}
.dt-editor {
  display: grid;
  gap: 0.8rem;
  align-items: start;
  padding: 1rem;
  margin: 0.6rem 0;
  min-width: 0;
}
.dt-row .dt-editor {
  grid-column: 3 / -1;
  margin: 0 0 0.2rem;
}
.dt-editor h3,
.dt-empty h3 {
  margin: 0;
  font-size: 1.04rem;
}
.dt-editor label,
.dt-address {
  color: var(--quiet);
  display: grid;
  align-content: start;
  gap: 0.3rem;
  font-size: 0.92rem;
  min-width: 0;
}
.dt-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0.65rem;
}
.dt-fields.dt-when {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.dt-editor input,
.dt-editor select,
.dt-address input {
  min-width: 0;
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  color: var(--text);
}
.dt-billable {
  max-width: 11rem;
}
.dt-form-actions,
.dt-device-controls {
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
}
.dt-discard {
  margin-left: auto;
  color: var(--quiet);
}
.dt-split {
  grid-template-columns: minmax(6rem, 12rem) auto auto;
  justify-content: start;
  align-items: end;
}
.dt-empty {
  padding: 2.4rem 0.9rem;
  text-align: center;
  border-block: 1px dashed var(--line);
  margin-top: 0.6rem;
}
.dt-empty > svg {
  color: var(--quiet);
  width: 1.65rem;
  height: 1.65rem;
  margin-bottom: 0.5rem;
}
.dt-empty p {
  margin: 0.4rem 0 0.6rem;
}
.dt-empty-filter {
  padding: 0.85rem 0;
}
.dt-device {
  margin-top: 1.45rem;
  border-top: 1px solid var(--line);
}
.dt-device summary {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.85rem 0;
  cursor: pointer;
  list-style: none;
}
.dt-device summary::-webkit-details-marker {
  display: none;
}
.dt-device summary strong {
  font-size: 1rem;
  font-weight: 570;
}
.dt-device summary span,
.dt-device summary > svg {
  color: var(--quiet);
}
.dt-device summary span {
  margin-left: auto;
  font-size: 0.9rem;
}
.dt-device details[open] summary > svg:last-child {
  transform: rotate(180deg);
}
.dt-device-body {
  max-width: 44rem;
  padding: 0.25rem 0 0.75rem;
}
.dt-device-body > p {
  margin: 0 0 1rem;
  line-height: 1.55;
}
.dt-device-controls > a,
.dt-header > a.secondary {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}
.dt-address {
  max-width: 27rem;
  margin: 0.8rem 0 0;
}
.dt-device-item {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.dt-device-item span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.dt-code {
  padding: 0.65rem 0.85rem;
  margin: 0.8rem 0;
  border-left: 2px solid var(--green);
  background: var(--band);
}
.dt-code small {
  color: var(--quiet);
}
.dt-code output {
  display: block;
  user-select: all;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.07em;
}
.dt-sample-note {
  margin-top: 1rem;
  padding: 0.65rem 0.85rem;
  display: flex;
  gap: 0.4rem 1rem;
  align-items: baseline;
  flex-wrap: wrap;
  border-left: 2px solid var(--dt-suggested);
}
.dt-sample-note strong {
  color: #c7c0ef;
}
.dt-sample-note span {
  color: var(--quiet);
}
.dt-sample-link {
  display: inline-block;
  margin: 0.2rem 0;
}
.dt-projects {
  margin: 1.7rem 0 0;
  max-width: 47rem;
}
.dt-projects h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}
.dt-projects table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}
.dt-projects th,
.dt-projects td {
  text-align: right;
  vertical-align: middle;
  padding: 0.4rem 0 0.4rem 0.65rem;
  border-bottom: 1px solid var(--line);
}
.dt-projects th:first-child {
  width: 55%;
  text-align: left;
  padding-left: 0;
  overflow-wrap: anywhere;
}
.dt-projects thead th {
  color: var(--quiet);
  font-size: 0.88rem;
  font-weight: 450;
}
.dt-projects tbody th {
  font-weight: 500;
}
.dt-projects tbody tr:last-child > * {
  border: 0;
}
.dt-share {
  display: block;
  background: var(--active);
  width: min(80%, 12rem);
  height: 3px;
  border-radius: 3px;
  margin: 0.3rem 0;
}
.dt-share > i {
  display: block;
  height: 100%;
  background: var(--dt-worked);
  border-radius: inherit;
}
.dt-history {
  margin: 1.2rem 0 0;
  max-width: 47rem;
}
.dt-history summary {
  cursor: pointer;
  padding: 0.4rem 0;
}
.dt-history summary small {
  margin-left: 0.4rem;
}
.dt-history small,
.dt-history li span {
  color: var(--quiet);
}
.dt-history ul {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0;
}
.dt-history li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.15rem 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
}
.dt-history li small {
  display: block;
}
@media (max-width: 850px) {
  .dt-row {
    grid-template-columns: 3rem 0.7rem minmax(0, 1fr) auto auto;
    gap: 0.5rem;
  }
  .dt-metrics > div {
    padding-inline: 0.65rem;
  }
}
@media (max-width: 600px) {
  .dt-header {
    flex-wrap: wrap;
    gap: 0.7rem;
  }
  .dt-clock {
    justify-content: flex-start;
  }
  .dt-date-nav {
    gap: 0.17rem;
    margin-top: 1rem;
  }
  .dt-date-nav .date-control {
    min-width: 0;
    flex: 1 1 10rem;
    max-width: 16rem;
  }
  .dt-date-nav .dt-week {
    font-size: 0.86rem;
    margin-left: 0.2rem;
  }
  .dt-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 0.7rem;
  }
  .dt-metrics > div {
    padding: 0;
    border: 0;
  }
  .dt-row {
    grid-template-columns: 2.85rem 0.6rem minmax(0, 1fr) auto;
    column-gap: 0.4rem;
    padding: 0.55rem 0;
    row-gap: 0.2rem;
  }
  .dt-row-body {
    padding: 0;
  }
  .dt-row-actions {
    grid-column: 3 / -1;
    justify-content: flex-start;
  }
  .dt-row-actions button {
    min-height: 2.3rem;
  }
  .dt-row .dt-editor {
    grid-column: 1 / -1;
  }
  .dt-editor {
    padding: 0.8rem;
  }
  .dt-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .dt-fields.dt-when {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dt-fields.dt-when > :last-child {
    grid-column: 1 / -1;
  }
  .dt-title {
    font-size: 1rem;
  }
  .dt-legend {
    gap: 0.3rem 0.8rem;
  }
  .dt-plot {
    margin-top: 1rem;
  }
  .dt-discard {
    margin-left: 0;
  }
}
