/* Pointally - Logs > Work Logs cleanup
   Same row shape for completed and open work. Product/type stay plain; status is the only pill. */
@media (prefers-color-scheme: dark) {
  body.view-logs {
    --pt-group-bg: #2c2c2e;
    --pt-secondary-label: #aeaeb2;
    --pt-pressed: rgba(120, 120, 128, .24);
    --pt-pressed-surface: #3a3a3c;
    --muted: #aeaeb2;
    --card: #2c2c2e;
    --fill: #3a3a3c;
  }

  body.view-logs #todayList .date-group-head {
    color: #c7c9cf;
  }
}

body.view-logs #todayList {
  --pt-work-log-card-min-height: 84px;
  --pt-work-log-card-content-height: 64px;
  --pt-work-log-card-block-padding: 10px;
  --pt-work-log-card-leading-padding: 14px;
  --pt-work-log-card-trailing-space: 150px;
  --pt-work-log-card-status-right: 70px;
  --pt-work-log-card-score-right: 13px;
  width: 100%;
  margin: 0;
  padding: 8px 0 148px;
  background: transparent;
}

body.view-logs #todayList .date-group {
  display: block;
  margin: 0 0 18px;
  padding: 0;
  background: transparent;
  border: 0;
}

body.view-logs #todayList .date-group:last-child {
  margin-bottom: 0;
}

body.view-logs #todayList .date-group-rail,
body.view-logs #todayList .date-group-head::before,
body.view-logs #todayList .date-group-head::after,
body.view-logs #todayList .pt-work-log-card-shell::before,
body.view-logs #todayList .pt-work-log-card-shell::after,
body.view-logs #todayList .pt-work-log-card::before,
body.view-logs #todayList .pt-work-log-card::after {
  display: none;
  content: none;
}

body.view-logs #todayList .date-group-main,
body.view-logs #todayList .date-group-rows {
  width: 100%;
  min-width: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.view-logs #todayList .date-group-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 20px;
  margin: 0 0 7px;
  padding: 0 var(--pt-work-log-card-leading-padding);
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

body.view-logs #todayList .date-group-head-date {
  color: inherit;
  font: inherit;
  white-space: nowrap;
}

body.view-logs #todayList .date-group-head-ppd {
  display: none;
}

/* Work card layout now inherits its shell and surface from design-system.css. */
body.view-logs #todayList .pt-work-log-card {
  display: block;
  min-height: var(--pt-work-log-card-min-height);
  padding: var(--pt-work-log-card-block-padding) var(--pt-work-log-card-trailing-space) var(--pt-work-log-card-block-padding) var(--pt-work-log-card-leading-padding);
}

body.view-logs #todayList .pt-work-log-card > .pt-work-log-card__content,
body.view-logs #todayList .pt-work-log-card__content {
  position: static;
  min-width: 0;
  width: 100%;
  height: var(--pt-work-log-card-content-height);
  max-height: var(--pt-work-log-card-content-height);
  display: grid;
  grid-template-rows: 20px 16px 20px;
  row-gap: 2px;
  align-content: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body.view-logs #todayList .pt-work-log-card__title {
  grid-row: 1;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
}

body.view-logs #todayList .pt-work-log-card__title > :is(.pt-work-log-card__product, .pt-work-log-card__type) {
  flex: 0 1 auto;
  min-width: 0;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: color-mix(in srgb, var(--ink) 96%, var(--muted));
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  font-size: .92rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.view-logs #todayList .pt-work-log-card__title > .pt-work-log-card__type::before {
  display: none;
  content: none;
}

body.view-logs #todayList .pt-work-log-card__job {
  grid-row: 2;
  min-width: 0;
  overflow: hidden;
  color: color-mix(in srgb, var(--muted) 92%, var(--ink));
  font-family: var(--pt-font-text);
  font-size: .67rem;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

body.view-logs #todayList .pt-work-log-card__meta {
  grid-row: 3;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}


body.view-logs #todayList .pt-work-log-card__meta .pt-work-log-card__pin {
  position: static;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  opacity: .82;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

body.view-logs #todayList .pt-work-log-card__meta .pt-work-log-card__pin svg {
  display: block;
  width: 14px;
  height: 14px;
}

body.view-logs #todayList .pt-work-log-card__location {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: color-mix(in srgb, var(--muted) 92%, var(--ink));
  font-family: var(--pt-font-text);
  font-size: .70rem;
  font-weight: var(--pt-work-log-secondary-weight);
  line-height: 1.2;
}

body.view-logs #todayList .pt-work-log-card__map {
  flex: 0 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
}

body.view-logs #todayList .pt-work-log-card__content.is-single {
  grid-template-rows: 20px 16px;
  align-content: center;
}

body.view-logs #todayList .pt-work-log-card__name {
  display: block;
  min-width: 0;
  width: auto;
  max-width: 100%;
  flex: 0 1 auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: color-mix(in srgb, var(--muted) 92%, var(--ink));
  font-family: var(--pt-font-text);
  font-size: .70rem;
  font-weight: var(--pt-work-log-secondary-weight);
  line-height: 1.2;
  letter-spacing: 0;
}

body.view-logs #todayList .pt-work-log-card__score,
body.view-logs #todayList .pt-work-log-card > .pt-work-log-card__score,
body.view-logs #todayList .pt-work-log-card__content > .pt-work-log-card__score {
  position: absolute;
  left: auto;
  right: var(--pt-work-log-card-score-right);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: auto;
  min-width: 0;
  max-width: none;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  color: color-mix(in srgb, var(--ink) 92%, var(--muted));
  text-align: right;
  white-space: nowrap;
  z-index: 3;
}

body.view-logs #todayList .pt-work-log-card__points {
  display: inline-block;
  margin: 0;
  padding: 0;
  color: inherit;
  font-family: var(--pt-font-text);
  font-size: .78rem;
  font-weight: var(--pt-work-log-emphasis-weight);
  line-height: 1;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

body.view-logs #todayList .pt-work-log-card__status {
  position: absolute;
  left: auto;
  right: var(--pt-work-log-card-status-right);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  float: none;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  max-width: 78px;
  height: 20px;
  margin: 0;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--muted) 18%, transparent);
  box-sizing: border-box;
  background: transparent;
  color: color-mix(in srgb, var(--muted) 88%, var(--ink));
  font-family: var(--pt-font-text);
  font-size: .58rem;
  font-weight: var(--pt-work-log-emphasis-weight);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  z-index: 4;
}

body.view-logs #todayList .pt-work-log-card__status[data-status="assigned"] {
  background: rgba(0,122,255,.08);
  color: #0066cc;
  border-color: rgba(0,122,255,.30);
}

body.view-logs #todayList .pt-work-log-card__status[data-status="on_site"] {
  background: rgba(255,149,0,.09);
  color: #c93400;
  border-color: rgba(255,149,0,.30);
}

body.view-logs #todayList .pt-work-log-card__status[data-status="captured"] {
  background: rgba(175,82,222,.09);
  color: #8944ab;
  border-color: rgba(175,82,222,.30);
}

body.view-logs #todayList .pt-work-log-card__status[data-status="uploaded"],
body.view-logs #todayList .pt-work-log-card__status[data-status="completed"] {
  background: rgba(48,176,80,.08);
  color: #248a3d;
  border-color: rgba(48,176,80,.30);
}

body.view-logs #todayList .pt-work-log-card__points-unit,
body.view-logs #todayList .row-mail-preview,
body.view-logs #todayList .status-col,
body.view-logs #todayList .cell-main,
body.view-logs #todayList .cell-title,
body.view-logs #todayList .cell-sub,
body.view-logs #todayList .pt-work-log-card > .pts,
body.view-logs #todayList .pt-work-log-card > .d,
body.view-logs #todayList .status-mark {
  display: none;
}

@media (max-width: 390px) {
  body.view-logs #todayList {
    --pt-work-log-card-min-height: 64px;
    --pt-work-log-card-block-padding: 10px;
    --pt-work-log-card-leading-padding: 13px;
    --pt-work-log-card-trailing-space: 144px;
    --pt-work-log-card-status-right: 64px;
    --pt-work-log-card-score-right: 11px;
    padding-top: 7px;
  }
  body.view-logs #todayList .date-group { margin-bottom: 16px; }
  body.view-logs #todayList .pt-work-log-card {
    min-height: var(--pt-work-log-card-min-height);
    padding: var(--pt-work-log-card-block-padding) var(--pt-work-log-card-trailing-space) var(--pt-work-log-card-block-padding) var(--pt-work-log-card-leading-padding);
  }
  body.view-logs #todayList .pt-work-log-card > .pt-work-log-card__content,
  body.view-logs #todayList .pt-work-log-card__content {
    grid-template-rows: 20px 16px 20px;
  }
  body.view-logs #todayList .pt-work-log-card__title > :is(.pt-work-log-card__product, .pt-work-log-card__type) {
    font-size: .92rem;
  }
  body.view-logs #todayList .pt-work-log-card__name,
  body.view-logs #todayList .pt-work-log-card__location { font-size: .67rem; }
  body.view-logs #todayList .pt-work-log-card__status {
    right: var(--pt-work-log-card-status-right);
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    padding: 0 8px;
    font-size: .54rem;
    max-width: 76px;
  }
  body.view-logs #todayList .pt-work-log-card__score,
  body.view-logs #todayList .pt-work-log-card > .pt-work-log-card__score,
  body.view-logs #todayList .pt-work-log-card__content > .pt-work-log-card__score {
    right: var(--pt-work-log-card-score-right);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    height: 18px;
  }
  body.view-logs #todayList .pt-work-log-card__points { font-size: .84rem; }
}

@media (prefers-color-scheme: dark) {
  body.view-logs #todayList .pt-work-log-card__status[data-status="assigned"] {
    background: rgba(10,132,255,.14);
    color: #64aaff;
    border-color: rgba(100,170,255,.24);
  }
  body.view-logs #todayList .pt-work-log-card__status[data-status="captured"] {
    background: rgba(191,90,242,.15);
    color: #bf5af2;
    border-color: rgba(191,90,242,.25);
  }
  body.view-logs #todayList .pt-work-log-card__status[data-status="uploaded"],
  body.view-logs #todayList .pt-work-log-card__status[data-status="completed"] {
    background: rgba(48,209,88,.14);
    color: #30d158;
    border-color: rgba(48,209,88,.24);
  }
}


/* Work Logs: action colors and labels; geometry and gesture state are canonical. */
body.view-logs #todayList :is(.pt-swipe-next, .pt-swipe-delete) {
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  cursor: pointer;
}

body.view-logs #todayList .pt-swipe-next {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  grid-template-rows: 22px 12px;
  place-items: center;
  align-content: center;
  row-gap: 4px;
}
body.view-logs #todayList .pt-swipe-next[data-workflow-status="on_site"] {
  background: #ff9500;
}
body.view-logs #todayList .pt-swipe-next[data-workflow-status="captured"] {
  background: #af52de;
}
body.view-logs #todayList .pt-swipe-next[data-workflow-status="uploaded"] {
  background: #34c759;
}
body.view-logs #todayList .pt-swipe-delete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  grid-template-rows: 22px 12px;
  place-items: center;
  align-content: center;
  row-gap: 4px;
  background: #ff3b30;
}
body.view-logs #todayList .pt-swipe-next > * {
  grid-column: 1;
}
body.view-logs #todayList .pt-swipe-delete > * {
  grid-column: 2;
}
body.view-logs #todayList .pt-swipe-action-icon {
  grid-row: 1;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}
body.view-logs #todayList .pt-swipe-action-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}
body.view-logs #todayList .pt-swipe-action-label {
  grid-row: 2;
  color: #fff;
  font-size: .62rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
  body.view-logs #todayList .pt-swipe-next[data-workflow-status="on_site"] { background: #ff9f0a; }
  body.view-logs #todayList .pt-swipe-next[data-workflow-status="captured"] { background: #bf5af2; }
  body.view-logs #todayList .pt-swipe-next[data-workflow-status="uploaded"] { background: #30d158; }
  body.view-logs #todayList .pt-swipe-delete { background: #ff453a; }
}

/* Scorecard reconciliation */
body.view-logs #todayList .pt-work-log-card__reconcile {
  display:inline-flex; align-items:center; justify-content:center;
  flex:0 0 19px; width:19px; height:19px; min-width:19px;
  padding:0; margin-left:1px; border-radius:50%;
  color:#8e8e93; background:rgba(118,118,128,.10);
}
body.view-logs #todayList .pt-work-log-card__reconcile svg { width:15px; height:15px; display:block; }
body.view-logs #todayList .pt-work-log-card__reconcile.is-scorecard { color:#248a3d; background:rgba(52,199,89,.11); }
body.view-logs #todayList .pt-work-log-card__reconcile.is-missing { color:#c93400; background:rgba(255,149,0,.13); }
body.view-logs #todayList .pt-work-log-card__reconcile.is-exception { color:#7d3eb2; background:rgba(175,82,222,.12); }

.pt-reconcile-card {
  margin: 0 0 18px;
}
.pt-reconcile-head {
  margin: 0;
}
.pt-reconcile-date {
  color: var(--pt-secondary-label);
  font-size: 15px;
  font-weight: 500;
}
.pt-reconcile-current {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--pt-secondary-label);
  background: var(--pt-pressed);
  font-size: 13px;
  font-weight: 650;
}
.pt-reconcile-current.is-scorecard { color: #248a3d; background: rgba(52,199,89,.12); }
.pt-reconcile-current.is-missing,
.pt-reconcile-current.is-incorrect_points { color: #c93400; background: rgba(255,149,0,.14); }
.pt-reconcile-current.is-exception { color: #7d3eb2; background: rgba(175,82,222,.13); }
.pt-reconcile-options {
  min-width: 0;
}
.pt-reconcile-options .pt-row {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--pt-label);
  text-align: left;
}
.pt-reconcile-options .pt-choice-row.is-selected .pt-row-label {
  font-weight: 600;
}
.pt-reconcile-comparison,
.pt-reconcile-manager-group,
.pt-reconcile-note-group {
  min-width: 0;
}
.pt-reconcile-card .is-hidden {
  display: none;
}
.pt-reconcile-input-end {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
}
.pt-reconcile-card .pt-control--inline {
  width: min(180px, 100%);
  margin-left: auto;
  text-align: right;
}
.pt-reconcile-note {
  min-height: 96px;
  padding-top: 12px;
  padding-bottom: 10px;
}
.pt-reconcile-note .pt-field-label small {
  margin-left: 4px;
  color: var(--pt-secondary-label);
  font-size: 14px;
  font-weight: 400;
}
.pt-reconcile-note .pt-control {
  width: 100%;
  min-height: 48px;
  padding: 2px 0;
  resize: none;
}
.pt-reconcile-difference {
  color: var(--pt-secondary-label);
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.pt-reconcile-difference.is-higher { color: #9b4b00; }
.pt-reconcile-difference.is-lower { color: #c93400; }

.pt-reconcile-history-slot[hidden] {
  display: none;
}
.pt-reconcile-history-row {
  min-height: 0;
}
.pt-reconcile-history-row > .pt-field-label {
  min-width: 0;
  flex: 0 0 auto;
}
.pt-reconcile-history-row > .pt-row-detail {
  display: block;
  width: 100%;
  margin-left: 0;
  overflow: visible;
  color: var(--pt-secondary-label);
  text-align: left;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}
.pt-reconcile-history-row > .pt-reconcile-history-meta {
  color: var(--pt-secondary-label);
  font-size: 13px;
}

@media (prefers-color-scheme: dark) {
  body.view-logs #todayList .pt-work-log-card__reconcile { color:#aeaeb2; background:rgba(118,118,128,.22); }
  body.view-logs #todayList .pt-work-log-card__reconcile.is-scorecard { color:#30d158; background:rgba(48,209,88,.15); }
  body.view-logs #todayList .pt-work-log-card__reconcile.is-missing { color:#ff9f0a; background:rgba(255,159,10,.16); }
  body.view-logs #todayList .pt-work-log-card__reconcile.is-exception { color:#bf5af2; background:rgba(191,90,242,.16); }
  .pt-reconcile-current.is-scorecard { color:#30d158; background:rgba(48,209,88,.15); }
  .pt-reconcile-current.is-missing,
  .pt-reconcile-current.is-incorrect_points { color:#ff9f0a; background:rgba(255,159,10,.16); }
  .pt-reconcile-current.is-exception { color:#bf5af2; background:rgba(191,90,242,.16); }
  .pt-reconcile-difference.is-higher { color:#ffb340; }
  .pt-reconcile-difference.is-lower { color:#ff453a; }
}


/* Manager reconciliation reports */
#reportModal .rpt-reconcile-summary .rpt-row.is-alert .k,
#reportModal .rpt-reconcile-summary .rpt-row.is-alert .v { color:#c93400; }
#reportModal .rpt-reconcile-summary .rpt-row.is-pending .k,
#reportModal .rpt-reconcile-summary .rpt-row.is-pending .v { color:#8e8e93; }
#reportModal .rpt-needs-attention { border:.5px solid rgba(255,149,0,.35); }
#reportModal .rpt-card { overflow-x:auto; }
#reportModal .rpt-rec-pill {
  display:inline-flex; align-items:center; padding:3px 6px; border-radius:999px;
  color:#6e6e73; background:rgba(118,118,128,.11);
  font-size:.58rem; font-weight:680; white-space:nowrap;
}
#reportModal .rpt-rec-pill.is-scorecard { color:#248a3d; background:rgba(52,199,89,.12); }
#reportModal .rpt-rec-pill.is-missing { color:#c93400; background:rgba(255,149,0,.14); }
#reportModal .rpt-rec-pill.is-exception { color:#7d3eb2; background:rgba(175,82,222,.13); }
#reportModal #shareManagerReportBtn { flex:1 0 100%; }
#reportModal .modal-actions { flex-wrap:wrap; }
@media (max-width:430px) {
  #reportModal .rpt-needs-attention .dtable,
  #reportModal #reportDetail .rpt-card:last-child .dtable { min-width:620px; }
}
@media (prefers-color-scheme: dark) {
  #reportModal .rpt-reconcile-summary .rpt-row.is-alert .k,
  #reportModal .rpt-reconcile-summary .rpt-row.is-alert .v { color:#ff9f0a; }
  #reportModal .rpt-rec-pill.is-scorecard { color:#30d158; background:rgba(48,209,88,.15); }
  #reportModal .rpt-rec-pill.is-missing { color:#ff9f0a; background:rgba(255,159,10,.16); }
  #reportModal .rpt-rec-pill.is-exception { color:#bf5af2; background:rgba(191,90,242,.16); }
}


/* Employee work-filter sheet */
.work-filter-sheet { position:fixed; inset:0; z-index:10050; display:flex; align-items:flex-end; justify-content:center; }
.work-filter-sheet[hidden] { display:none; }
.work-filter-backdrop { position:absolute; inset:0; border:0; background:rgba(0,0,0,.34); opacity:0; transition:opacity .22s ease; backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px); }
body.work-filter-open { position:fixed; left:0; right:0; width:100%; overflow:hidden; overscroll-behavior:none; }
.work-filter-panel { position:relative; width:min(100%,540px); height:auto; max-height:min(82dvh,720px); display:flex; flex-direction:column; overflow:hidden; padding:8px 0 calc(18px + env(safe-area-inset-bottom)); border-radius:28px 28px 0 0; background:#f2f2f7; transform:translateY(102%); transition:transform .26s cubic-bezier(.22,.8,.25,1); box-shadow:0 -12px 44px rgba(0,0,0,.14); touch-action:none; overscroll-behavior:contain; }
.work-filter-content { min-height:0; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; padding:0 14px; touch-action:pan-y; }
.work-filter-sheet.open .work-filter-backdrop { opacity:1; }
.work-filter-sheet.open .work-filter-panel { transform:translateY(0); }
.work-filter-handle { flex:0 0 auto; width:38px; height:5px; margin:0 auto 5px; border-radius:999px; background:rgba(60,60,67,.28); }
.work-filter-header { flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; padding:8px 5px 13px; }
.work-filter-header h2 { margin:0; color:#1c1c1e; font-size:1.08rem; letter-spacing:-.025em; }
.work-filter-header button { border:0; padding:6px; background:transparent; color:#007aff; font:inherit; font-size:.86rem; font-weight:650; }
.work-filter-group { margin:0 0 14px; overflow:hidden; border-radius:16px; background:#fff; }
.work-filter-group-title { padding:10px 14px 6px; color:#8e8e93; font-size:.64rem; font-weight:650; text-transform:uppercase; letter-spacing:.035em; }
.work-filter-group > button { appearance:none; width:100%; min-height:47px; display:flex; align-items:center; justify-content:space-between; gap:12px; border:0; border-top:.5px solid rgba(60,60,67,.14); padding:0 14px; background:transparent; color:#1c1c1e; font:inherit; font-size:.86rem; text-align:left; }
.work-filter-group-title + button { border-top:0; }
.work-filter-option-end { display:flex; align-items:center; gap:10px; color:#8e8e93; }
.work-filter-option-end b { font-size:.72rem; font-weight:560; font-variant-numeric:tabular-nums; }
.work-filter-option-end i { width:16px; color:#007aff; font-style:normal; font-weight:750; opacity:0; }
.work-filter-group > button.selected .work-filter-option-end i { opacity:1; }
@media(prefers-color-scheme:dark){
  .work-filter-panel { background:#1c1c1e; }
  .work-filter-handle { background:rgba(235,235,245,.28); }
  .work-filter-header h2,.work-filter-group > button { color:#f2f2f7; }
  .work-filter-group { background:#2c2c2e; }
  .work-filter-group > button { border-color:rgba(84,84,88,.55); }
}

/* Employee workflow action inside Work Details */
.pt-workflow-card {
  margin: 0 0 18px;
}
.pt-workflow-copy {
  width: 100%;
  color: var(--pt-secondary-label);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}
/* Incorrect company scorecard points */
body.view-logs #todayList .pt-work-log-card__reconcile.is-incorrect_points {
  color:#b25000;
  background:rgba(255,149,0,.14);
}
#reportModal .rpt-reconcile-summary .rpt-row.is-mismatch .k,
#reportModal .rpt-reconcile-summary .rpt-row.is-mismatch .v {
  color:#b25000;
}
#reportModal .rpt-rec-pill.is-incorrect_points {
  color:#b25000;
  background:rgba(255,149,0,.15);
}
#reportModal .rec-row.is-incorrect_points .rec-difference {
  color:#b25000;
  font-weight:700;
}
@media (max-width:430px) {
  #reportModal .rpt-needs-attention .dtable,
  #reportModal #reportDetail .rpt-card:last-child .dtable { min-width:710px; }
}
@media (prefers-color-scheme:dark) {
  body.view-logs #todayList .pt-work-log-card__reconcile.is-incorrect_points {
    color:#ff9f0a;
    background:rgba(255,159,10,.16);
  }
  #reportModal .rpt-reconcile-summary .rpt-row.is-mismatch .k,
  #reportModal .rpt-reconcile-summary .rpt-row.is-mismatch .v,
  #reportModal .rec-row.is-incorrect_points .rec-difference {
    color:#ff9f0a;
  }
  #reportModal .rpt-rec-pill.is-incorrect_points {
    color:#ff9f0a;
    background:rgba(255,159,10,.16);
  }
}


/* Employee QA state badges in Work Log cards */
body.view-logs #todayList .pt-work-log-card__qa {
  display:inline-flex;
  height:17px;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  margin-left:2px;
  padding:0 5px;
  border-radius:999px;
  color:#6e6e73;
  background:rgba(118,118,128,.12);
  font-size:.56rem;
  line-height:1;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.01em;
  white-space:nowrap;
}
body.view-logs #todayList .pt-work-log-card__qa.is-disputed {
  color:#d70015;
  background:rgba(255,59,48,.12);
}
body.view-logs #todayList .pt-work-log-card__qa.is-resolved {
  color:#248a3d;
  background:rgba(52,199,89,.13);
}
@media (prefers-color-scheme:dark) {
  body.view-logs #todayList .pt-work-log-card__qa {
    color:#aeaeb2;
    background:rgba(118,118,128,.22);
  }
  body.view-logs #todayList .pt-work-log-card__qa.is-disputed {
    color:#ff6961;
    background:rgba(255,69,58,.18);
  }
  body.view-logs #todayList .pt-work-log-card__qa.is-resolved {
    color:#5ed879;
    background:rgba(48,209,88,.18);
  }
}
