.work-page {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 10px 18px;
  box-sizing: border-box;
  color: #172033;
}

/* 월간 정산: 업무시트 상단과 엑셀형 일자 × 작업자 매트릭스 */
body.work-settlement-page-body .work-settlement-page {
  padding-bottom: 120px;
}

body.work-settlement-page-body .work-status-titlebar button.work-settlement-export {
  font-family: inherit;
  cursor: pointer;
}

body.work-settlement-page-body .work-settlement-controls {
  display: grid;
  grid-template-columns: minmax(360px, 1.25fr) auto minmax(300px, .85fr);
  min-height: 82px;
  margin: 14px 0 16px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--ws-border, #dfe6f0);
  border-radius: 14px;
  box-shadow: 0 7px 24px rgba(15, 23, 42, .045);
  overflow: hidden;
}

body.work-settlement-page-body .work-settlement-month-nav {
  display: flex;
  min-width: 0;
  padding: 12px;
  align-items: center;
  gap: 8px;
}

body.work-settlement-page-body .work-settlement-month-nav > a {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #dbe3ec;
  border-radius: 9px;
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
}

body.work-settlement-page-body .work-settlement-month-nav form {
  min-width: 0;
  flex: 1 1 auto;
}

body.work-settlement-page-body .work-settlement-month-nav label {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

body.work-settlement-page-body .work-settlement-month-nav label > svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--wfops-camp-color-strong, #1d4ed8);
}

body.work-settlement-page-body .work-settlement-month-nav label > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  text-align: center;
}

body.work-settlement-page-body .work-settlement-month-nav strong {
  color: #172033;
  font-size: 17px;
  line-height: 1.25;
}

body.work-settlement-page-body .work-settlement-month-nav small {
  margin-top: 3px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

body.work-settlement-page-body .work-settlement-month-nav input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

body.work-settlement-page-body .work-settlement-group-tabs {
  display: flex;
  padding: 12px 14px;
  align-items: center;
  gap: 6px;
  border-left: 1px solid #edf1f6;
  border-right: 1px solid #edf1f6;
}

body.work-settlement-page-body .work-settlement-group-tabs a {
  min-width: 54px;
  padding: 9px 12px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

body.work-settlement-page-body .work-settlement-group-tabs a.is-active {
  color: #fff;
  background: var(--wfops-camp-color-strong, #1d4ed8);
  border-color: var(--wfops-camp-color-strong, #1d4ed8);
}

body.work-settlement-page-body .work-settlement-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  align-items: stretch;
}

body.work-settlement-page-body .work-settlement-summary > span {
  display: flex;
  padding: 12px 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

body.work-settlement-page-body .work-settlement-summary > span + span {
  border-left: 1px solid #edf1f6;
}

body.work-settlement-page-body .work-settlement-summary small {
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}

body.work-settlement-page-body .work-settlement-summary strong {
  color: #172033;
  font-size: 18px;
  font-weight: 950;
}

body.work-settlement-page-body .work-settlement-summary span:last-child strong {
  color: var(--wfops-camp-color-strong, #1d4ed8);
}

body.work-settlement-page-body .work-settlement-summary em {
  margin-left: 2px;
  color: #64748b;
  font-size: 10px;
  font-style: normal;
}

body.work-settlement-page-body .work-settlement-sheet {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ws-border, #dfe6f0);
  border-radius: 15px;
  box-shadow: 0 8px 26px rgba(15, 23, 42, .05);
}

body.work-settlement-page-body .work-settlement-sheet-heading {
  display: flex;
  min-height: 66px;
  padding: 13px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e3e8ef;
}

body.work-settlement-page-body .work-settlement-sheet-heading small {
  display: block;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
}

body.work-settlement-page-body .work-settlement-sheet-heading h3 {
  margin: 2px 0 0;
  color: #172033;
  font-size: 18px;
}

body.work-settlement-page-body .work-settlement-sheet-heading em {
  color: #64748b;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

body.work-settlement-page-body .work-settlement-table-wrap {
  width: 100%;
  max-height: calc(100vh - 265px);
  min-height: 300px;
  overflow: auto;
  background: #fff;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

body.work-settlement-page-body .work-settlement-table-wrap:focus-visible {
  outline: 2px solid var(--wfops-camp-color-strong, #1d4ed8);
  outline-offset: -2px;
}

body.work-settlement-page-body .work-settlement-table {
  width: max-content;
  min-width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  table-layout: fixed;
  color: #0f172a;
  font-size: 12px;
}

body.work-settlement-page-body .work-settlement-table th,
body.work-settlement-page-body .work-settlement-table td {
  width: 92px;
  min-width: 92px;
  height: 34px;
  padding: 6px 7px;
  border-right: 1px solid #9aa9a1;
  border-bottom: 1px dotted #74847c;
  font-weight: 850;
  text-align: center;
  white-space: nowrap;
}

body.work-settlement-page-body .work-settlement-table th:first-child,
body.work-settlement-page-body .work-settlement-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 104px;
  min-width: 104px;
  border-right: 2px solid #9ca3af;
}

body.work-settlement-page-body .work-settlement-table th:last-child,
body.work-settlement-page-body .work-settlement-table td:last-child {
  width: 106px;
  min-width: 106px;
  border-right: 0;
}

body.work-settlement-page-body .work-settlement-table thead th {
  position: sticky;
  z-index: 5;
}

body.work-settlement-page-body .work-settlement-table thead th:first-child {
  z-index: 7;
}

body.work-settlement-page-body .work-settlement-sheet-title-row th {
  top: 0;
  height: 34px;
  color: #173226;
  background: #f8faf8;
  border-bottom: 1px solid #64746b;
  font-size: 12px;
}

body.work-settlement-page-body .work-settlement-sheet-title-row th:first-child {
  color: var(--wfops-camp-color-deep, #1e40af);
  background: #fff;
  font-size: 14px;
}

body.work-settlement-page-body .work-settlement-name-row th {
  top: 34px;
  height: 38px;
  background: #b9d7ac;
  border-bottom: 2px solid #56685e;
  font-size: 13px;
}

body.work-settlement-page-body .work-settlement-name-row th strong {
  display: block;
  font: inherit;
}

body.work-settlement-page-body .work-settlement-name-row th small {
  display: block;
  margin-top: 1px;
  color: #52645a;
  font-size: 8px;
}

body.work-settlement-page-body .work-settlement-table tbody th {
  background: #fff;
}

body.work-settlement-page-body .work-settlement-date time {
  font: inherit;
}

body.work-settlement-page-body .work-settlement-date small {
  margin-left: 4px;
  color: #64748b;
  font-size: 9px;
}

body.work-settlement-page-body .work-settlement-date.is-holiday,
body.work-settlement-page-body .work-settlement-date.is-holiday small {
  color: #e11d48;
}

body.work-settlement-page-body .work-settlement-date.is-saturday,
body.work-settlement-page-body .work-settlement-date.is-saturday small {
  color: #2563eb;
}

body.work-settlement-page-body .work-settlement-value {
  background: #bfe1d3;
  font-size: 13px;
}

body.work-settlement-page-body .work-settlement-blank {
  background: #fff;
}

body.work-settlement-page-body .work-settlement-leave {
  color: #64748b;
  background: #f1f5f4;
  font-size: 10px;
}

body.work-settlement-page-body .work-settlement-leave.is-support {
  color: #0f766e;
  background: #ccfbf1;
}

body.work-settlement-page-body .work-settlement-day-total {
  color: #23483b;
  background: #dceee7;
  font-size: 13px;
}

body.work-settlement-page-body .work-settlement-table tbody tr:hover td,
body.work-settlement-page-body .work-settlement-table tbody tr:hover th {
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, .18);
}

body.work-settlement-page-body .work-settlement-table tfoot th {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #fff;
}

body.work-settlement-page-body .work-settlement-total-row th,
body.work-settlement-page-body .work-settlement-total-row td {
  color: #111827;
  background: #fff500;
  border-bottom: 1px solid #6b7000;
  font-size: 13px;
  font-weight: 950;
}

body.work-settlement-page-body .work-settlement-total-row th {
  background: #fff;
}

body.work-settlement-page-body .work-settlement-repeat-name-row th,
body.work-settlement-page-body .work-settlement-repeat-name-row td {
  background: #b9d7ac;
  border-bottom: 1px solid #607067;
  font-size: 12px;
  font-weight: 900;
}

body.work-settlement-page-body .work-settlement-spacer-row th,
body.work-settlement-page-body .work-settlement-spacer-row td {
  height: 22px;
  background: #fff;
  border-bottom-color: #e5e7eb;
}

body.work-settlement-page-body .work-settlement-table tfoot tr:not(.work-settlement-total-row):not(.work-settlement-repeat-name-row):not(.work-settlement-spacer-row) th,
body.work-settlement-page-body .work-settlement-table tfoot tr:not(.work-settlement-total-row):not(.work-settlement-repeat-name-row):not(.work-settlement-spacer-row) td {
  background: #fff;
  border-bottom-color: #d7dde3;
}

body.work-settlement-page-body .work-settlement-rank-row th,
body.work-settlement-page-body .work-settlement-rank-row td {
  color: #113de3;
  font-style: italic;
  font-weight: 950;
}

@media (max-width: 900px) {
  body.work-settlement-page-body .work-settlement-controls {
    grid-template-columns: 1fr auto;
  }

  body.work-settlement-page-body .work-settlement-summary {
    grid-column: 1 / -1;
    border-top: 1px solid #edf1f6;
  }

  body.work-settlement-page-body .work-settlement-group-tabs {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  body.work-settlement-page-body .work-settlement-page {
    width: calc(100% - 14px);
    padding-top: 12px;
  }

  body.work-settlement-page-body .work-status-titlebar p {
    display: none;
  }

  body.work-settlement-page-body .work-settlement-controls {
    display: flex;
    margin-top: 8px;
    flex-direction: column;
  }

  body.work-settlement-page-body .work-settlement-month-nav {
    padding: 9px;
  }

  body.work-settlement-page-body .work-settlement-month-nav strong {
    font-size: 15px;
  }

  body.work-settlement-page-body .work-settlement-group-tabs {
    padding: 8px 9px;
    justify-content: center;
    border-top: 1px solid #edf1f6;
    border-left: 0;
  }

  body.work-settlement-page-body .work-settlement-group-tabs a {
    flex: 1 1 0;
  }

  body.work-settlement-page-body .work-settlement-summary > span {
    padding: 9px;
  }

  body.work-settlement-page-body .work-settlement-sheet-heading {
    min-height: 54px;
    padding: 9px 11px;
  }

  body.work-settlement-page-body .work-settlement-sheet-heading h3 {
    font-size: 15px;
  }

  body.work-settlement-page-body .work-settlement-sheet-heading em {
    max-width: 145px;
    text-align: right;
  }

  body.work-settlement-page-body .work-settlement-table-wrap {
    max-height: calc(100vh - 220px);
    min-height: 360px;
  }

  body.work-settlement-page-body .work-settlement-table th,
  body.work-settlement-page-body .work-settlement-table td {
    width: 78px;
    min-width: 78px;
    height: 32px;
    padding: 5px;
    font-size: 11px;
  }

  body.work-settlement-page-body .work-settlement-table th:first-child,
  body.work-settlement-page-body .work-settlement-table td:first-child {
    width: 88px;
    min-width: 88px;
  }

  body.work-settlement-page-body .work-settlement-table th:last-child,
  body.work-settlement-page-body .work-settlement-table td:last-child {
    width: 86px;
    min-width: 86px;
  }
}

/* 배송 진행과 조별 중간보고를 한 현황표에서 함께 확인한다. */
body.work-status-page-body .work-status-section {
  margin-top: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ws-border, #dce4ec);
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .05);
}

body.work-status-page-body .work-status-section-header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  min-height: 62px;
  padding: 10px 14px;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  background: linear-gradient(100deg, var(--wfops-camp-color-soft, #eff6ff), #fff 78%);
  border-bottom: 1px solid var(--ws-border, #dce4ec);
}

body.work-status-page-body .work-status-section-header > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--wfops-camp-color-strong, #1d4ed8);
  border-radius: 10px;
}

body.work-status-page-body .work-status-section-header > span svg {
  width: 20px;
  height: 20px;
}

body.work-status-page-body .work-status-section-header div small {
  display: block;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .12em;
}

body.work-status-page-body .work-status-section-header h3 {
  margin: 1px 0 0;
  color: #172033;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -.035em;
}

body.work-status-page-body .work-status-section-header em {
  color: #657386;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

body.work-status-page-body .work-status-section-table-wrap {
  --work-status-name-column-width: 76px;
  --work-status-state-column-width: 62px;
  position: relative;
  width: 100%;
  max-height: min(64vh, 680px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

body.work-status-page-body .work-status-section-table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
  color: #263142;
  font-size: 12px;
}

body.work-status-page-body .work-status-delivery-table {
  min-width: 100%;
}

body.work-status-page-body .work-status-section-table th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 5;
  height: 30px;
  padding: 2px 4px;
  color: #475569;
  background: #f8fafc;
  border-right: 1px solid #e8edf3;
  border-bottom: 1px solid var(--ws-border, #dce4ec);
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

body.work-status-page-body .work-status-section-table td {
  height: 34px;
  padding: 2px 4px;
  background: #fff;
  border-right: 1px solid #edf1f5;
  border-bottom: 1px solid #edf1f5;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

body.work-status-page-body .work-status-section-table tr:last-child td,
body.work-status-page-body .work-status-section-table th:last-child,
body.work-status-page-body .work-status-section-table td:last-child {
  border-right: 0;
}

body.work-status-page-body .work-status-section-table tbody tr:last-child td {
  border-bottom: 0;
}

body.work-status-page-body .work-status-section-table tbody tr:hover td {
  background: #fbfdff;
}

body.work-status-page-body .work-status-section-table th:first-child,
body.work-status-page-body .work-status-section-table td:first-child {
  position: -webkit-sticky !important;
  position: sticky !important;
  z-index: 3;
  left: 0;
  width: var(--work-status-name-column-width);
  min-width: var(--work-status-name-column-width);
  max-width: var(--work-status-name-column-width);
  background: #fff;
  text-align: left;
  background-clip: padding-box;
}

body.work-status-page-body .work-status-section-table th:nth-child(2),
body.work-status-page-body .work-status-section-table td:nth-child(2) {
  position: -webkit-sticky !important;
  position: sticky !important;
  z-index: 3;
  left: var(--work-status-name-column-width);
  width: var(--work-status-state-column-width);
  min-width: var(--work-status-state-column-width);
  max-width: var(--work-status-state-column-width);
  background: #fff;
  background-clip: padding-box;
  box-shadow: 3px 0 6px rgba(15, 23, 42, .1);
}

body.work-status-page-body .work-status-section-table th:first-child,
body.work-status-page-body .work-status-section-table th:nth-child(2) {
  z-index: 7;
  background: #f8fafc;
}

body.work-status-page-body .work-status-section-identity {
  display: table-cell;
}

body.work-status-page-body .work-status-section-identity strong {
  display: block;
  color: #172033;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

body.work-status-page-body .work-status-status-cell {
  min-width: 62px;
}

body.work-status-page-body .work-status-status-cell .work-status-badge {
  min-width: 46px;
  padding: 2px 5px;
  font-size: 9px;
  white-space: nowrap;
}

body.work-status-page-body .work-status-section-table tbody tr.work-status-delivery-row.is-status-delivery > td {
  background: #fff7ed;
}

body.work-status-page-body .work-status-section-table tbody tr.work-status-delivery-row.is-status-leave > td {
  background: #eff6ff;
}

body.work-status-page-body .work-status-section-table tbody tr.work-status-delivery-row.is-status-complete > td {
  background: #eaf8ef;
}

body.work-status-page-body .work-status-section-table tbody tr.work-status-delivery-row.is-status-missing > td {
  background: #fef2f2;
}

body.work-status-page-body .work-status-section-subaccount {
  width: auto;
  max-width: none;
}

body.work-status-page-body .work-status-section-subaccount b {
  display: block;
  font-size: 10px;
  line-height: 1.3;
  white-space: nowrap;
}

body.work-status-page-body .work-status-section-table .work-status-stage {
  justify-content: center;
  font-size: 11px;
}

body.work-status-page-body .work-status-delivery-table .work-status-report-column {
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 13px;
}

body.work-status-page-body .work-status-delivery-table .work-status-report-cell {
  min-width: 76px;
}

body.work-status-page-body .work-status-delivery-table .work-status-report {
  display: flex;
  min-height: 28px;
  padding: 1px 4px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  border-radius: 8px;
  background: var(--wfops-camp-color-soft, #eff6ff);
}

body.work-status-page-body .work-status-delivery-table .work-status-report b {
  color: var(--wfops-camp-color-deep, #1e40af);
  font-size: 12px;
  font-weight: 950;
}

body.work-status-page-body .work-status-delivery-table .work-status-report small {
  margin: 0;
  color: #64748b;
  font-size: 9px;
  font-weight: 750;
}

body.work-status-page-body .work-status-delivery-table .work-status-report-empty {
  display: inline;
  min-height: 0;
  padding: 0;
  color: #a7b0bd;
  background: transparent;
  border: 0;
}

body.work-status-page-body .work-status-delivery-empty td {
  position: static !important;
  height: 110px;
  color: #718096;
  text-align: center !important;
}

body.work-status-page-body .work-status-delivery-row[hidden],
body.work-status-page-body .work-status-delivery-empty[hidden] {
  display: none;
}

@media (max-width: 720px) {
  body.work-status-page-body .work-status-section {
    margin-top: 9px;
    border-radius: 12px;
  }

  body.work-status-page-body .work-status-section-header {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    min-height: 54px;
    padding: 8px 10px;
    gap: 8px;
  }

  body.work-status-page-body .work-status-section-header > span {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  body.work-status-page-body .work-status-section-header h3 {
    font-size: 15px;
  }

  body.work-status-page-body .work-status-section-header em {
    font-size: 8px;
  }

  body.work-status-page-body .work-status-delivery-table {
    min-width: 100%;
  }

  body.work-status-page-body .work-status-section-table-wrap {
    --work-status-name-column-width: 72px;
    max-height: min(52dvh, 520px);
  }
}

/* 업무 현황: 목업형 고정 캔버스 + 페이지 양방향 스크롤 */
.work-status-shell-html {
  width: auto !important;
  height: auto !important;
  min-width: 1536px;
  min-height: calc(100vh + 120px);
  overflow: auto !important;
  background: #f7f9fc;
}

.work-status-shell-body {
  width: auto !important;
  height: auto !important;
  min-width: 1536px;
  min-height: calc(100vh + 120px);
  overflow: visible !important;
  background: #f7f9fc;
}

.work-status-shell-body > header,
.work-status-shell-body > .header-global-menu,
.work-status-shell-body .bottom-nav,
.work-status-shell-body .work-quick-menu,
.work-status-shell-body .wfops-footer-camp-switch {
  display: none !important;
}

.work-status-shell-body > main {
  display: block !important;
  width: 100% !important;
  min-width: 1536px;
  max-width: none !important;
  min-height: calc(100vh + 120px) !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
  overflow: visible !important;
  position: static !important;
  background: #f7f9fc;
}

.work-status-scroll-canvas {
  width: 100%;
  min-width: 1536px;
  min-height: calc(100vh + 120px);
  background: #f7f9fc;
}

.work-status-appbar {
  position: relative !important;
  inset: auto !important;
  z-index: 20;
  display: flex !important;
  width: 100%;
  min-width: 1536px;
  height: 92px;
  min-height: 92px;
  padding: 0 24px;
  flex: 0 0 92px;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  align-content: normal;
  justify-content: flex-start;
  color: #fff;
  background: linear-gradient(118deg, #0758b9 0%, #06449b 100%);
  box-sizing: border-box;
  box-shadow: 0 2px 9px rgba(6, 68, 155, .18);
  overflow: visible;
}

.work-status-appbar svg {
  width: 26px;
  height: 26px;
}

.work-status-appbar-menu {
  display: grid;
  width: 44px;
  height: 44px;
  margin-right: 18px;
  place-items: center;
  color: #fff;
  border-radius: 9px;
}

.work-status-appbar-menu:hover {
  background: rgba(255, 255, 255, .12);
}

.work-status-appbar h1 {
  margin: 0;
  color: #fff;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.work-status-shell-body .work-status-toolbar {
  position: absolute;
  top: 9px;
  left: 50%;
  display: flex;
  height: 74px;
  margin: 0;
  align-items: center;
  gap: 4px;
  transform: translateX(-50%);
}

.work-status-shell-body .work-status-toolbar > a {
  display: grid;
  width: 32px;
  height: 50px;
  place-items: center;
  color: rgba(255, 255, 255, .88);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 27px;
}

.work-status-shell-body .work-status-toolbar > a:hover {
  background: rgba(255, 255, 255, .1);
}

.work-status-shell-body .work-status-date-picker {
  position: relative;
  display: flex;
  width: 296px;
  min-width: 296px;
  height: 62px;
  padding: 0 18px;
  align-items: center;
  gap: 14px;
  color: #141d2f;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 9px;
  box-sizing: border-box;
  box-shadow: 0 5px 15px rgba(5, 44, 107, .18);
}

.work-status-shell-body .work-status-date-picker > svg {
  width: 25px;
  height: 25px;
  color: #334155;
}

.work-status-shell-body .work-status-date-picker span {
  display: flex;
  flex-direction: column;
}

.work-status-shell-body .work-status-date-picker b {
  font-size: 19px;
  line-height: 1.25;
}

.work-status-shell-body .work-status-date-picker small {
  color: #5d6675;
  font-size: 11px;
  font-weight: 650;
}

.work-status-appbar-help {
  display: flex;
  margin-left: auto;
  padding: 0 26px;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .94);
  border-right: 1px solid rgba(255, 255, 255, .28);
  font-size: 15px;
  font-weight: 750;
}

.work-status-appbar-help svg {
  width: 24px;
  height: 24px;
}

.work-status-appbar-user {
  display: flex;
  min-width: 250px;
  padding-left: 22px;
  align-items: center;
  gap: 12px;
}

.work-status-appbar-user > span:nth-child(2) {
  display: flex;
  min-width: 150px;
  flex-direction: column;
}

.work-status-appbar-user b {
  overflow: hidden;
  max-width: 190px;
  color: #fff;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-status-appbar-user small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  font-weight: 700;
}

.work-status-appbar-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  color: #0758b9;
  background: #fff;
  border-radius: 50%;
}

.work-status-appbar-avatar svg {
  width: 29px;
  height: 29px;
}

.work-status-appbar-user > svg:last-child {
  width: 20px;
  height: 20px;
  margin-left: auto;
}

.work-status-shell-body .work-status-page {
  --ws-border: #dfe5ec;
  --ws-muted: #667085;
  --ws-navy: #172033;
  width: 1484px;
  min-width: 1484px;
  margin: 0 auto;
  padding: 26px 0 92px;
  color: var(--ws-navy);
  box-sizing: border-box;
}

.work-status-shell-body .work-status-alert {
  margin-bottom: 14px;
}

.work-status-shell-body .work-status-summary {
  display: grid;
  grid-template-columns: 400px 455px 1fr;
  width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: 11px;
  box-shadow: 0 3px 13px rgba(21, 35, 58, .04);
  overflow: hidden;
}

.work-status-shell-body .work-status-summary > article {
  min-height: 116px;
}

.work-status-shell-body .work-status-context-card,
.work-status-shell-body .work-status-volume-card,
.work-status-shell-body .work-status-progress-card {
  display: grid;
  align-items: stretch;
}

.work-status-shell-body .work-status-context-card {
  grid-template-columns: 1.15fr .85fr;
}

.work-status-shell-body .work-status-volume-card {
  grid-template-columns: repeat(2, 1fr);
}

.work-status-shell-body .work-status-progress-card {
  grid-template-columns: repeat(5, 1fr);
  grid-column: auto;
  border-top: 0;
}

.work-status-shell-body .work-status-context-card > div,
.work-status-shell-body .work-status-volume-card > div,
.work-status-shell-body .work-status-progress-card > div {
  display: flex;
  min-width: 0;
  padding: 17px 18px;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.work-status-shell-body .work-status-progress-card > div {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.work-status-shell-body .work-status-summary > article + article,
.work-status-shell-body .work-status-context-card > div + div,
.work-status-shell-body .work-status-volume-card > div + div,
.work-status-shell-body .work-status-progress-card > div + div {
  border-left: 1px solid #edf0f4;
}

.work-status-shell-body .work-status-summary small {
  color: #4b5565;
  font-size: 12px;
  font-weight: 760;
}

.work-status-shell-body .work-status-context-card strong {
  display: flex;
  margin-top: 11px;
  align-items: center;
  gap: 9px;
  font-size: 18px;
}

.work-status-shell-body .work-status-context-card nav {
  display: flex;
  margin-top: 8px;
  gap: 6px;
}

.work-status-shell-body .work-status-context-card nav a {
  min-width: 58px;
  padding: 8px 12px;
  text-align: center;
}

.work-status-shell-body .work-status-volume-card strong {
  margin-top: 10px;
  font-size: 24px;
}

.work-status-shell-body .work-status-progress-card strong {
  margin-top: 5px;
  font-size: 20px;
}

.work-status-shell-body .work-status-filters {
  display: flex;
  width: 100%;
  margin: 32px 0 13px;
  gap: 12px;
}

.work-status-shell-body .work-status-search,
.work-status-shell-body .work-status-filters > label:not(.work-status-search) {
  display: flex;
  height: 48px;
  align-items: center;
  background: #fff;
  border: 1px solid #d9e0e9;
  border-radius: 8px;
  box-sizing: border-box;
}

.work-status-shell-body .work-status-search {
  width: 260px;
  padding: 0 14px;
  grid-column: auto;
}

.work-status-shell-body .work-status-filters > label:not(.work-status-search) {
  min-width: 148px;
  padding-left: 14px;
}

.work-status-shell-body .work-status-filters > label:nth-child(5) {
  min-width: 178px;
}

.work-status-shell-body .work-status-filters select {
  min-width: 70px;
  padding-right: 28px;
}

.work-status-shell-body .work-status-filters > button {
  display: inline-flex;
  width: auto;
  height: 48px;
  margin-left: auto;
  padding: 0 19px;
  color: #075bd0;
  background: #fff;
  border: 1px solid #bcd3fb;
  border-radius: 8px;
}

.work-status-shell-body .work-status-filters > button span {
  display: inline;
}

.work-status-shell-body .work-status-legend {
  display: flex;
  min-height: 24px;
  margin: 0 4px 10px;
  justify-content: flex-end;
  gap: 24px;
  overflow: visible;
}

.work-status-shell-body .work-status-table-wrap {
  width: 100%;
  overflow: visible;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 11px;
}

.work-status-shell-body .work-status-table {
  display: table;
  width: 100%;
  min-width: 1482px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
  font-size: 13px;
}

.work-status-shell-body .work-status-table thead {
  display: table-header-group;
}

.work-status-shell-body .work-status-table tbody {
  display: table-row-group;
}

.work-status-shell-body .work-status-data-row,
.work-status-shell-body .work-status-detail-row,
.work-status-shell-body .work-status-empty-row {
  position: static;
  display: table-row;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.work-status-shell-body .work-status-detail-row[hidden],
.work-status-shell-body .work-status-empty-row[hidden],
.work-status-shell-body .work-status-data-row[hidden] {
  display: none !important;
}

.work-status-shell-body .work-status-table th {
  height: 56px;
  padding: 0 10px;
  color: #354052;
  background: #f7f9fb;
  border-bottom: 1px solid #dfe5ec;
  font-size: 12px;
  font-weight: 850;
}

.work-status-shell-body .work-status-table td {
  display: table-cell;
  height: 65px;
  min-width: 0;
  padding: 8px 10px;
  position: static !important;
  grid-column: auto !important;
  color: #182132;
  background: #fff;
  border: 0;
  border-top: 0 !important;
  border-bottom: 1px solid #edf0f4;
  text-align: center !important;
  white-space: nowrap;
}

.work-status-shell-body .work-status-table th:nth-child(1) { width: 42px; }
.work-status-shell-body .work-status-table th:nth-child(2) { width: 135px; }
.work-status-shell-body .work-status-table th:nth-child(3) { width: 82px; }
.work-status-shell-body .work-status-table th:nth-child(4) { width: 88px; }
.work-status-shell-body .work-status-table th:nth-child(5),
.work-status-shell-body .work-status-table th:nth-child(6),
.work-status-shell-body .work-status-table th:nth-child(7) { width: 65px; }
.work-status-shell-body .work-status-table th:nth-child(8),
.work-status-shell-body .work-status-table th:nth-child(9),
.work-status-shell-body .work-status-table th:nth-child(10) { width: 84px; }
.work-status-shell-body .work-status-table th:nth-child(11) { width: 108px; }
.work-status-shell-body .work-status-table th:nth-child(12) { width: 120px; }
.work-status-shell-body .work-status-table th:nth-child(13) { width: 94px; }
.work-status-shell-body .work-status-table th:nth-child(14) { width: 38px; }

.work-status-shell-body .work-status-table th:nth-child(2),
.work-status-shell-body .work-status-table td:nth-child(2) {
  text-align: left !important;
}

.work-status-shell-body .work-status-data-row td::before {
  display: none;
  content: none;
}

.work-status-shell-body .work-status-data-row td:nth-child(1),
.work-status-shell-body .work-status-data-row td:nth-child(5),
.work-status-shell-body .work-status-data-row td:nth-child(6),
.work-status-shell-body .work-status-data-row td:nth-child(7) {
  display: table-cell;
}

.work-status-shell-body .work-status-data-row td:nth-child(14) {
  position: static !important;
  padding: 8px 10px;
}

.work-status-shell-body .work-status-data-row:hover td {
  background: #fbfdff;
}

.work-status-shell-body .work-status-detail-row {
  margin: 0;
}

.work-status-shell-body .work-status-detail-row td {
  display: table-cell;
  height: auto;
  padding: 0;
  background: #f7f9fb;
  border: 0;
  border-bottom: 1px solid #e5eaf0;
  border-radius: 0;
}

.work-status-shell-body .work-status-detail-row td > div {
  display: flex;
  padding: 14px 64px;
  justify-content: flex-end;
  gap: 46px;
}

.work-status-shell-body .work-status-empty-row td {
  display: table-cell;
  height: 160px;
  background: #fff;
  border: 0;
  text-align: center !important;
}

.work-status-shell-body .work-status-footer {
  display: flex;
  min-height: 72px;
  padding: 0 6px;
  flex-wrap: nowrap;
  align-items: center;
}

.work-status-shell-body .work-status-footer p {
  width: auto;
}

.work-status-shell-body .work-status-footer > span {
  margin-left: auto;
}

.work-status-shell-body .work-status-footer button {
  margin-left: 20px;
}

.work-status-shell-body::-webkit-scrollbar,
.work-status-shell-html::-webkit-scrollbar {
  width: 13px;
  height: 13px;
}

.work-status-shell-body::-webkit-scrollbar-thumb,
.work-status-shell-html::-webkit-scrollbar-thumb {
  background: #aeb8c6;
  border: 3px solid #eef1f5;
  border-radius: 999px;
}

.work-status-shell-body::-webkit-scrollbar-track,
.work-status-shell-html::-webkit-scrollbar-track {
  background: #eef1f5;
}

.work-hero {
  padding: 0 8px 16px;
  text-align: center;
}

.work-hero-symbol {
  display: flex;
  width: 42px;
  height: 42px;
  margin: 0 auto 6px;
  align-items: center;
  justify-content: center;
  color: var(--wfops-camp-color, #2563eb);
}

.work-hero-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
}

.work-hero-kicker {
  margin: 0 0 4px;
  color: var(--wfops-camp-color, #2563eb);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.work-hero h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.work-hero > p:last-child {
  margin: 7px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
}

.work-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
  min-width: 0;
}

.work-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 126px;
  padding: 13px;
  border: 1px solid #e1e5eb;
  border-radius: 14px;
  box-sizing: border-box;
  background: #fff;
  color: inherit;
  text-decoration: none;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.work-card-heading {
  display: flex;
  min-width: 0;
  margin-bottom: 10px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.work-card-icon {
  display: block;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  color: var(--wfops-camp-color-strong, #1d4ed8);
}

.work-card-status {
  display: inline-flex;
  max-width: 100%;
  min-height: 21px;
  padding: 3px 7px;
  border-radius: 999px;
  box-sizing: border-box;
  align-items: center;
  background: var(--wfops-camp-color-soft, rgba(37, 99, 235, 0.11));
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.work-card-copy {
  display: block;
  min-width: 0;
}

.work-card-copy > strong {
  display: block;
  margin-bottom: 5px;
  color: #172033;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.work-card-copy > span {
  display: block;
  color: #77808e;
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.work-card-arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 18px;
  height: 18px;
  color: #aab1bc;
}

.work-card:not(.work-card-disabled) {
  padding-right: 34px;
  -webkit-tap-highlight-color: transparent;
}

.work-card:not(.work-card-disabled):hover,
.work-card:not(.work-card-disabled):focus-visible,
.work-card:not(.work-card-disabled):active {
  border-color: var(--wfops-camp-color, #2563eb);
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.09);
  transform: translateY(-1px);
}

.work-card-disabled {
  cursor: default;
  background: #f8f9fb;
}

.work-card-disabled .work-card-icon,
.work-card-disabled .work-card-copy > strong {
  color: #697386;
}

.work-card:not(.work-card-disabled) {
  border-color: var(--wfops-camp-color, #2563eb);
  background: linear-gradient(135deg, var(--wfops-camp-color-soft, rgba(37, 99, 235, 0.11)), #fff 76%);
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.09);
}

.work-card:not(.work-card-disabled) .work-card-status {
  background: var(--wfops-camp-color-strong, #1d4ed8);
  color: #fff;
}

.work-card:not(.work-card-disabled) .work-card-copy > strong {
  color: var(--wfops-camp-color-deep, #1e40af);
}

.work-card-wide {
  grid-column: 1 / -1;
  min-height: 92px;
  justify-content: center;
}

.work-card-wide .work-card-heading {
  position: absolute;
  top: 50%;
  left: 15px;
  right: 14px;
  margin: 0;
  transform: translateY(-50%);
}

.work-card-wide .work-card-copy {
  padding-left: 39px;
  padding-right: 70px;
}

@media (min-width: 640px) {
  .work-page {
    padding: 30px 14px;
  }

  .work-hero {
    padding-bottom: 24px;
  }

  .work-hero-symbol {
    width: 54px;
    height: 54px;
    margin-bottom: 10px;
  }

  .work-hero h2 {
    font-size: 32px;
  }

  .work-hero > p:last-child {
    font-size: 14px;
  }

  .work-card-grid {
    gap: 12px;
  }

  .work-card {
    min-height: 160px;
    padding: 20px;
  }

  .work-card:not(.work-card-disabled) {
    padding-right: 44px;
  }

  .work-card-heading {
    margin-bottom: 16px;
  }

  .work-card-icon {
    width: 30px;
    height: 30px;
  }

  .work-card-copy > strong {
    font-size: 18px;
  }

  .work-card-copy > span {
    font-size: 13px;
  }

  .work-card-wide {
    min-height: 112px;
  }

  .work-card-wide .work-card-heading {
    left: 20px;
    right: 20px;
  }

  .work-card-wide .work-card-copy {
    padding-left: 48px;
  }
}

@media (max-width: 359px) {
  .work-card-grid {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card-wide {
    grid-column: auto;
    min-height: 104px;
  }
}

/* 내 업무 기록: 본인 소유의 저장 기록 목록 */
.work-records-page {
  --wr-ink: #172033;
  --wr-muted: #687386;
  --wr-line: #dce4ec;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 14px 12px 34px;
  box-sizing: border-box;
  color: var(--wr-ink);
}

.work-records-page svg { display: block; width: 20px; height: 20px; }
.work-records-titlebar { display: grid; grid-template-columns: 40px minmax(0, 1fr); min-height: 66px; margin-bottom: 10px; align-items: center; gap: 11px; }
.work-records-titlebar > a { display: grid; width: 38px; height: 38px; place-items: center; color: var(--wfops-camp-color-strong, #1d4ed8); background: #fff; border: 1px solid var(--wr-line); border-radius: 12px; box-shadow: 0 4px 14px rgba(15, 23, 42, .06); }
.work-records-titlebar span { min-width: 0; }
.work-records-titlebar small { display: block; color: var(--wfops-camp-color, #2563eb); font-size: 8px; font-weight: 950; letter-spacing: .15em; }
.work-records-titlebar h2 { margin: 1px 0 0; color: var(--wr-ink); font-size: 23px; font-weight: 950; line-height: 1.2; letter-spacing: -.04em; }
.work-records-titlebar p { margin: 3px 0 0; color: var(--wr-muted); font-size: 11px; font-weight: 650; line-height: 1.4; }

.work-records-privacy { display: flex; min-height: 62px; margin-bottom: 10px; padding: 12px 14px; align-items: center; gap: 11px; color: var(--wfops-camp-color-strong, #1d4ed8); background: linear-gradient(120deg, var(--wfops-camp-color-soft, #eff6ff), #fff); border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 30%, #dce4ec); border-radius: 13px; box-sizing: border-box; }
.work-records-privacy > svg { flex: 0 0 auto; width: 24px; height: 24px; }
.work-records-privacy span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.work-records-privacy strong { font-size: 13px; font-weight: 950; }
.work-records-privacy small { color: #58677a; font-size: 10px; font-weight: 700; line-height: 1.4; }

.work-records-create { display: grid; grid-template-columns: 42px minmax(0, 1fr); margin-bottom: 10px; padding: 12px; align-items: center; gap: 10px; scroll-margin-top: 14px; background: #fff; border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 34%, var(--wr-line)); border-radius: 13px; box-shadow: 0 5px 18px rgba(15, 23, 42, .05); }
.work-records-create-icon { display: grid; width: 42px; height: 42px; place-items: center; color: #fff; background: var(--wfops-camp-color-strong, #1d4ed8); border-radius: 11px; }
.work-records-create-icon svg { width: 21px; height: 21px; }
.work-records-create-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.work-records-create-copy strong { color: var(--wfops-camp-color-deep, #1e40af); font-size: 13px; font-weight: 950; }
.work-records-create-copy small { color: var(--wr-muted); font-size: 9px; font-weight: 700; line-height: 1.4; }
.work-records-entry-mode { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; overflow: hidden; border: 1px solid var(--wr-line); border-radius: 10px; }
.work-records-entry-mode > a { display: flex; min-width: 0; min-height: 48px; align-items: center; justify-content: center; color: #657185; background: #fff; text-decoration: none; transition: color .15s ease, background .15s ease; }
.work-records-entry-mode > a + a { border-left: 1px solid var(--wr-line); }
.work-records-entry-mode > a:first-child { color: #fff; background: var(--wfops-camp-color-strong, #1d4ed8); }
.work-records-entry-mode > a:hover,
.work-records-entry-mode > a:focus-visible { color: #fff; background: var(--wfops-camp-color-deep, #1e40af); outline: none; }
.work-records-entry-mode > a > span { display: flex; padding: 7px 10px; align-items: center; justify-content: center; flex-direction: column; gap: 2px; text-align: center; }
.work-records-entry-mode b { font-size: 11px; font-weight: 950; }
.work-records-entry-mode small { font-size: 8px; font-weight: 750; }

.work-records-alert { display: flex; margin: 0 0 10px; padding: 11px 13px; flex-direction: column; gap: 3px; color: #8a4b08; background: #fff8e8; border: 1px solid #f6d68b; border-radius: 11px; font-size: 11px; line-height: 1.45; }
.work-records-alert.is-error { color: #991b1b; background: #fff1f2; border-color: #fecdd3; }
.work-records-alert.is-success { color: #166534; background: #f0fdf4; border-color: #bbf7d0; }

.work-records-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; margin-bottom: 10px; padding: 8px; align-items: stretch; gap: 7px; background: #fff; border: 1px solid var(--wr-line); border-radius: 13px; box-shadow: 0 5px 18px rgba(15, 23, 42, .05); }
.work-records-month-nav { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; min-width: 0; align-items: center; }
.work-records-month-nav > a, .work-records-month-nav > .is-disabled { display: grid; width: 30px; height: 42px; place-items: center; color: var(--wfops-camp-color-strong, #1d4ed8); border-radius: 8px; font-size: 22px; font-weight: 800; text-decoration: none; }
.work-records-month-nav > .is-disabled { color: #cbd5e1; }
.work-records-month-nav label { position: relative; display: flex; min-width: 0; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.work-records-month-nav label > svg { flex: 0 0 auto; color: var(--wfops-camp-color, #2563eb); }
.work-records-month-nav label span { display: flex; min-width: 0; flex-direction: column; }
.work-records-month-nav label small { color: #8a94a3; font-size: 8px; font-weight: 850; }
.work-records-month-nav label strong { font-size: 15px; font-weight: 950; white-space: nowrap; }
.work-records-month-nav input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.work-records-status-filter { display: flex; min-width: 106px; padding: 0 9px; flex-direction: column; justify-content: center; border-left: 1px solid #edf0f4; }
.work-records-status-filter > span { color: #8a94a3; font-size: 8px; font-weight: 850; }
.work-records-status-filter select { padding: 2px 20px 2px 0; color: #273242; background: transparent; border: 0; outline: 0; font: inherit; font-size: 11px; font-weight: 900; }
.work-records-toolbar > button { min-width: 54px; padding: 0 12px; color: #fff; background: var(--wfops-camp-color-strong, #1d4ed8); border: 0; border-radius: 9px; font: inherit; font-size: 11px; font-weight: 900; }

.work-records-summary { margin-bottom: 10px; overflow: hidden; background: #fff; border: 1px solid var(--wr-line); border-radius: 8px; box-shadow: 0 2px 8px rgba(15, 23, 42, .035); }
.work-records-summary table { width: 100%; table-layout: fixed; border-spacing: 0; border-collapse: separate; font-variant-numeric: tabular-nums; }
.work-records-summary th, .work-records-summary td { width: 25%; padding: 3px 3px; border-right: 1px solid #dfe5eb; box-sizing: border-box; text-align: center; vertical-align: middle; }
.work-records-summary tr > :last-child { border-right: 0; }
.work-records-summary th { height: 24px; color: var(--wfops-camp-color-strong, #1d4ed8); background: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 11%, #fff); border-bottom: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 24%, #fff); font-size: 9px; font-weight: 900; line-height: 1.1; }
.work-records-summary td { height: 34px; color: var(--wr-ink); background: #fff; font-size: 9px; font-weight: 800; }
.work-records-summary strong { font-size: 15px; font-weight: 950; letter-spacing: -.025em; }
.work-records-summary em { margin-left: 2px; color: var(--wr-muted); font-size: 8px; font-style: normal; font-weight: 800; }

.work-records-list-heading { display: flex; min-height: 44px; margin: 0 2px 9px; align-items: center; gap: 9px; color: #344054; }
.work-records-period-icon { display: grid; flex: 0 0 auto; width: 38px; height: 38px; place-items: center; color: #fff; background: var(--wfops-camp-color-strong, #1d4ed8); border-radius: 10px; }
.work-records-period-icon svg { width: 19px; height: 19px; }
.work-records-period-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.work-records-period-copy strong { color: var(--wfops-camp-color-strong, #1d4ed8); font-size: 13px; font-weight: 950; line-height: 1.2; white-space: nowrap; }
.work-records-period-copy strong span { color: #374151; }
.work-records-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--wr-line); border-radius: 12px; box-shadow: 0 4px 15px rgba(15, 23, 42, .045); -webkit-overflow-scrolling: touch; }
.work-records-table-wrap:focus-visible { outline: 3px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 22%, transparent); outline-offset: 2px; }
.work-records-table { width: 100%; table-layout: fixed; border-spacing: 0; border-collapse: separate; color: var(--wr-ink); font-variant-numeric: tabular-nums; }
.work-records-col-date { width: 19%; }
.work-records-col-count { width: 12%; }
.work-records-col-actions { width: 21%; }
.work-records-table th, .work-records-table td { height: 48px; padding: 4px 5px; border-right: 1px solid #dfe5eb; border-bottom: 1px solid #dfe5eb; box-sizing: border-box; text-align: center; vertical-align: middle; }
.work-records-table th:nth-child(3),
.work-records-table td:nth-child(3) { border-left: 2px solid #94a3b8; }
.work-records-table th:nth-child(6),
.work-records-table td:nth-child(6) { border-right: 2px solid #94a3b8; }
.work-records-table tr > :last-child { border-right: 0; }
.work-records-table tbody tr:last-child > * { border-bottom: 0; }
.work-records-table thead th { height: 30px; padding: 4px 3px; color: var(--wfops-camp-color-strong, #1d4ed8); background: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 11%, #fff); border-bottom-color: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 24%, #fff); font-size: 9px; font-weight: 900; line-height: 1.2; white-space: nowrap; }
.work-records-table thead th.is-net { background: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 18%, #fff); }
.work-records-table tbody tr:nth-child(even) > * { background: #f8fafb; }
.work-records-table tbody tr:hover > * { background: color-mix(in srgb, var(--wfops-camp-color-soft, #eff6ff) 65%, #fff); }
.work-records-table tbody td { color: #344054; font-size: 11px; font-weight: 500; }
.work-records-table tbody td.is-net { color: var(--wfops-camp-color-deep, #1e40af); background: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 7%, #fff); font-weight: 900; }
.work-records-table tbody td.is-net strong { font-size: 13px; font-weight: 950; }
.work-records-table tbody td.has-alert { color: #b42318; background: #fff8f7; }
.work-records-table tbody td.has-support { color: #0369a1; }
.work-records-table-date { padding: 0 !important; background: #fff; }
.work-records-table-date > a, .work-records-table-date-static { display: flex; min-height: 48px; padding: 4px 5px; align-items: center; justify-content: center; flex-direction: column; color: inherit; text-decoration: none; box-sizing: border-box; }
.work-records-table-date > a:hover, .work-records-table-date > a:focus-visible { color: var(--wfops-camp-color-deep, #1e40af); outline: none; box-shadow: inset 3px 0 0 var(--wfops-camp-color, #2563eb); }
.work-records-table-date strong { color: var(--wfops-camp-color-strong, #1d4ed8); font-size: 14px; font-weight: 950; letter-spacing: -.03em; }
.work-records-table-date span, .work-records-table-date small { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-records-table-date span { margin-top: 2px; color: #5f6b7b; font-size: 8px; font-weight: 800; }
.work-records-table-date small { margin-top: 2px; color: #98a1af; font-size: 7px; font-weight: 750; }
.work-records-table-actions { padding: 3px 2px !important; }
.work-records-table-action-line { display: flex; align-items: center; justify-content: center; gap: 3px; white-space: nowrap; }
.work-records-table-action-line > b { display: inline-flex; flex: 0 0 auto; padding: 2px 4px; border: 1px solid; border-radius: 999px; font-size: 7px; font-weight: 950; white-space: nowrap; }
.work-records-table-action-line > b.is-complete { color: #087443; background: #e9f8f0; border-color: #c2ead5; }
.work-records-table-action-line > b.is-active { color: #a04b08; background: #fff5e6; border-color: #fed7aa; }
.work-records-table-action-line > b.is-leave { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
.work-records-table-action-line > b.is-missing { color: #b45309; background: #fffbeb; border-color: #fde68a; }
.work-records-table-action-line > b.is-upcoming { color: #64748b; background: #f8fafc; border-color: #dbe3ec; }
.work-records-table tbody td.is-empty-value, .work-records-table tbody td.is-net.is-empty-value { color: #b1bac6; background: inherit; font-weight: 700; }
.work-records-table tbody tr.is-leave-day > * { background: #f1faf5; }
.work-records-table tbody tr.is-leave-day .work-records-table-date strong { color: #1d4ed8; }
.work-records-table tbody tr.is-leave-day:hover > * { background: #e8f6ef; }
.work-records-table thead th:nth-child(n + 3):nth-child(-n + 6) { background: #f1f3f7 !important; }
.work-records-table tbody tr:not(.is-leave-day) td.is-net { background: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 7%, #fff) !important; }
.work-records-table tbody tr:not(.is-leave-day) td:nth-child(n + 3):nth-child(-n + 6) { background: #f6f7fa !important; font-weight: 500; }
.work-records-table tbody tr.is-leave-day > * { background: #e8f7ef !important; }
.work-records-table .work-records-table-date.is-saturday strong { color: #2563eb; }
.work-records-table .work-records-table-date.is-holiday strong { color: #dc2626; }
.work-records-table tbody tr.is-empty-day > * { height: 42px; }
.work-records-table tbody tr.is-empty-day .work-records-table-date-static { min-height: 42px; }
.work-records-table-buttons { display: flex; align-items: center; justify-content: center; gap: 3px; }
.work-records-table-open { display: grid; width: 24px; height: 24px; place-items: center; color: var(--wfops-camp-color-strong, #1d4ed8); background: var(--wfops-camp-color-soft, #eff6ff); border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 28%, var(--wr-line)); border-radius: 6px; box-sizing: border-box; }
.work-records-table-open:hover, .work-records-table-open:focus-visible { color: #fff; background: var(--wfops-camp-color-deep, #1e40af); outline: none; }
.work-records-table-open svg { width: 12px; height: 12px; }
.work-records-delete-form { margin: 0; pointer-events: auto; }
.work-records-delete-form input[type="hidden"] { display: none; }
.work-records-delete-form button { display: grid; width: 24px; height: 24px; padding: 0; place-items: center; color: #b42318; background: #fff5f4; border: 1px solid #f1c4c0; border-radius: 6px; cursor: pointer; }
.work-records-delete-form button:hover, .work-records-delete-form button:focus-visible { color: #fff; background: #c9342b; border-color: #c9342b; outline: none; }
.work-records-delete-form button:disabled { opacity: .55; cursor: wait; }
.work-records-delete-form button svg { width: 12px; height: 12px; }

.work-records-empty { display: flex; min-height: 250px; padding: 28px 20px; align-items: center; justify-content: center; flex-direction: column; text-align: center; background: #fff; border: 1px dashed #cfd8e3; border-radius: 14px; }
.work-records-empty > span { display: grid; width: 54px; height: 54px; margin-bottom: 12px; place-items: center; color: var(--wfops-camp-color, #2563eb); background: var(--wfops-camp-color-soft, #eff6ff); border-radius: 50%; }
.work-records-empty > span svg { width: 25px; height: 25px; }
.work-records-empty strong { font-size: 15px; font-weight: 950; }
.work-records-empty p { margin: 6px 0 15px; color: var(--wr-muted); font-size: 11px; line-height: 1.45; }
.work-records-empty > a { display: inline-flex; min-height: 38px; padding: 0 15px; align-items: center; color: #fff; background: var(--wfops-camp-color-strong, #1d4ed8); border-radius: 9px; font-size: 11px; font-weight: 900; text-decoration: none; }
.work-records-pagination { display: flex; margin-top: 14px; align-items: center; justify-content: center; gap: 18px; }
.work-records-pagination a, .work-records-pagination span { display: inline-flex; min-width: 54px; height: 34px; align-items: center; justify-content: center; color: #3d4a5d; background: #fff; border: 1px solid var(--wr-line); border-radius: 8px; font-size: 10px; font-weight: 850; text-decoration: none; }
.work-records-pagination span { color: #a8b1be; background: #f7f9fb; }
.work-records-pagination strong { font-size: 11px; }
.work-records-footnote { margin: 15px 4px 0; color: #7d8795; font-size: 9px; font-weight: 650; line-height: 1.5; text-align: center; }
.work-today-saved-records { color: inherit; text-decoration: none; }
.work-today-saved-records-wrap { margin-top: 8px; }

/* 과거 물량 간편 기록 */
.work-past-page {
  --wp-ink: #172033;
  --wp-muted: #6b7688;
  --wp-line: #dce4ec;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 14px 12px 36px;
  box-sizing: border-box;
  color: var(--wp-ink);
}
.work-past-page * { box-sizing: border-box; }
.work-past-page svg { display: block; width: 20px; height: 20px; }
.work-past-titlebar { display: grid; grid-template-columns: 40px minmax(0, 1fr); min-height: 68px; margin-bottom: 10px; align-items: center; gap: 11px; }
.work-past-titlebar > a { display: grid; width: 38px; height: 38px; place-items: center; color: var(--wfops-camp-color-strong, #1d4ed8); background: #fff; border: 1px solid var(--wp-line); border-radius: 12px; box-shadow: 0 4px 14px rgba(15, 23, 42, .06); }
.work-past-titlebar span { min-width: 0; }
.work-past-titlebar small { display: block; color: var(--wfops-camp-color, #2563eb); font-size: 8px; font-weight: 950; letter-spacing: .15em; }
.work-past-titlebar h2 { margin: 1px 0 0; font-size: 23px; font-weight: 950; line-height: 1.2; letter-spacing: -.04em; }
.work-past-titlebar p { margin: 3px 0 0; color: var(--wp-muted); font-size: 11px; font-weight: 650; }
.work-past-date { display: grid; grid-template-columns: minmax(0, 1fr) 92px; margin-bottom: 10px; padding: 9px; gap: 8px; background: #fff; border: 1px solid var(--wp-line); border-radius: 13px; box-shadow: 0 5px 18px rgba(15, 23, 42, .05); }
.work-past-date label { display: flex; min-height: 52px; padding: 7px 12px; flex-direction: column; justify-content: center; background: #f7faf9; border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 25%, var(--wp-line)); border-radius: 10px; }
.work-past-date label span { color: var(--wp-muted); font-size: 9px; font-weight: 850; }
.work-past-date input { min-height: 25px; padding: 0; color: var(--wp-ink); background: transparent; border: 0; outline: 0; font: inherit; font-size: 14px; font-weight: 950; }
.work-past-date button { color: #fff; background: var(--wfops-camp-color-strong, #1d4ed8); border: 0; border-radius: 10px; font: inherit; font-size: 11px; font-weight: 950; cursor: pointer; }
.work-past-alert { display: flex; margin: 0 0 10px; padding: 11px 13px; flex-direction: column; gap: 3px; border: 1px solid; border-radius: 11px; font-size: 11px; line-height: 1.45; }
.work-past-alert.is-error { color: #991b1b; background: #fff1f2; border-color: #fecdd3; }
.work-past-alert.is-info { color: #155e75; background: #ecfeff; border-color: #a5f3fc; }
.work-past-alert strong { font-weight: 950; }
.work-past-form { padding: 14px; background: #fff; border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 32%, var(--wp-line)); border-radius: 16px; box-shadow: 0 8px 26px rgba(15, 23, 42, .07); }
.work-past-form-head { display: flex; min-height: 48px; margin-bottom: 12px; padding-bottom: 12px; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #edf1f4; }
.work-past-form-head > span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.work-past-form-head small { color: var(--wp-muted); font-size: 9px; font-weight: 750; }
.work-past-form-head strong { font-size: 19px; font-weight: 950; letter-spacing: -.03em; }
.work-past-form-head > b { display: inline-flex; padding: 5px 9px; align-items: center; border-radius: 999px; font-size: 9px; font-weight: 950; }
.work-past-form-head > b.is-new { color: #166534; background: #ecfdf3; border: 1px solid #bbf7d0; }
.work-past-form-head > b.is-edit { color: #92400e; background: #fff7ed; border: 1px solid #fed7aa; }
.work-past-form-date { display: flex; min-height: 64px; margin-bottom: 10px; padding: 9px 12px; align-items: center; justify-content: space-between; gap: 12px; background: #f7faf9; border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 28%, var(--wp-line)); border-radius: 11px; }
.work-past-form-date > span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.work-past-form-date b { color: var(--wfops-camp-color-deep, #1e40af); font-size: 12px; font-weight: 950; }
.work-past-form-date small { color: var(--wp-muted); font-size: 8px; font-weight: 700; }
.work-past-form-date input { min-width: 150px; min-height: 38px; padding: 0 9px; color: var(--wp-ink); background: #fff; border: 1px solid var(--wp-line); border-radius: 8px; outline: 0; font: inherit; font-size: 12px; font-weight: 950; }
.work-past-form-date input:focus { border-color: var(--wfops-camp-color, #2563eb); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wfops-camp-color, #2563eb) 13%, transparent); }
.work-past-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.work-past-fields > label { display: flex; min-height: 92px; padding: 12px; flex-direction: column; justify-content: space-between; gap: 9px; background: #fafcfd; border: 1px solid var(--wp-line); border-radius: 12px; transition: border-color .18s ease, box-shadow .18s ease; }
.work-past-fields > label:focus-within { border-color: var(--wfops-camp-color, #2563eb); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wfops-camp-color, #2563eb) 13%, transparent); }
.work-past-fields label > span { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.work-past-fields label b { color: var(--wfops-camp-color-deep, #1e40af); font-size: 13px; font-weight: 950; }
.work-past-fields label small { color: var(--wp-muted); font-size: 9px; font-weight: 700; }
.work-past-fields label > i { display: flex; align-items: center; gap: 6px; font-style: normal; }
.work-past-fields input { width: 100%; min-width: 0; height: 34px; padding: 0; color: var(--wp-ink); background: transparent; border: 0; outline: 0; font: inherit; font-size: 24px; font-weight: 950; text-align: right; }
.work-past-fields em { color: var(--wp-muted); font-size: 11px; font-style: normal; font-weight: 850; }
.work-past-net { display: flex; min-height: 70px; margin-top: 12px; padding: 12px 14px; align-items: center; justify-content: space-between; gap: 12px; color: var(--wfops-camp-color-deep, #1e40af); background: linear-gradient(120deg, var(--wfops-camp-color-soft, #eff6ff), #fff); border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 30%, var(--wp-line)); border-radius: 13px; }
.work-past-net > span { display: flex; flex-direction: column; }
.work-past-net small { color: var(--wp-muted); font-size: 9px; font-weight: 800; }
.work-past-net strong { font-size: 25px; font-weight: 950; letter-spacing: -.04em; }
.work-past-net strong::after { margin-left: 3px; content: '건'; color: var(--wp-muted); font-size: 10px; }
.work-past-net > em { color: var(--wp-muted); font-size: 9px; font-style: normal; font-weight: 750; text-align: right; }
.work-past-net.is-negative { color: #b42318; background: #fff4f2; border-color: #f7c7c2; }
.work-past-protected { margin: 12px 0 0; padding: 12px; background: #fffaf0; border: 1px solid #f4d59d; border-radius: 12px; }
.work-past-protected legend { padding: 0 5px; color: #92400e; font-size: 11px; font-weight: 950; }
.work-past-reason { display: flex; flex-direction: column; gap: 6px; }
.work-past-reason > span { color: #6b4c20; font-size: 10px; font-weight: 850; }
.work-past-reason textarea { width: 100%; min-height: 70px; padding: 10px; resize: vertical; color: var(--wp-ink); background: #fff; border: 1px solid #e5c887; border-radius: 9px; font: inherit; font-size: 11px; line-height: 1.5; }
.work-past-check { display: flex; margin-top: 9px; align-items: flex-start; gap: 7px; color: #694b1e; font-size: 10px; font-weight: 750; line-height: 1.45; }
.work-past-check input { width: 17px; height: 17px; margin: 0; accent-color: var(--wfops-camp-color-strong, #1d4ed8); }
.work-past-submit { width: 100%; min-height: 50px; margin-top: 12px; color: #fff; background: var(--wfops-camp-color-strong, #1d4ed8); border: 0; border-radius: 11px; font: inherit; font-size: 14px; font-weight: 950; cursor: pointer; box-shadow: 0 6px 15px color-mix(in srgb, var(--wfops-camp-color, #2563eb) 25%, transparent); }
.work-past-submit:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.work-past-list-link { display: flex; min-height: 44px; margin-top: 10px; padding: 0 13px; align-items: center; justify-content: center; gap: 7px; color: var(--wfops-camp-color-strong, #1d4ed8); background: #fff; border: 1px solid var(--wp-line); border-radius: 11px; font-size: 11px; font-weight: 900; text-decoration: none; }
.work-past-list-link span { font-size: 18px; }
.work-past-start-card { padding: 14px; background: #fff; border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 32%, var(--wp-line)); border-radius: 16px; box-shadow: 0 8px 26px rgba(15, 23, 42, .07); }
.work-past-start-date { display: flex; min-height: 78px; padding: 12px 14px; align-items: center; justify-content: space-between; gap: 14px; background: #f7faf9; border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 28%, var(--wp-line)); border-radius: 12px; }
.work-past-start-date > span { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.work-past-start-date b { color: var(--wfops-camp-color-deep, #1e40af); font-size: 13px; font-weight: 950; }
.work-past-start-date small { color: var(--wp-muted); font-size: 9px; font-weight: 700; }
.work-past-start-date input { min-width: 160px; min-height: 42px; padding: 0 10px; color: var(--wp-ink); background: #fff; border: 1px solid var(--wp-line); border-radius: 9px; outline: 0; font: inherit; font-size: 13px; font-weight: 950; }
.work-past-start-date input:focus { border-color: var(--wfops-camp-color, #2563eb); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wfops-camp-color, #2563eb) 13%, transparent); }
.work-past-start-card > button { width: 100%; min-height: 50px; margin-top: 11px; color: #fff; background: var(--wfops-camp-color-strong, #1d4ed8); border: 0; border-radius: 11px; font: inherit; font-size: 14px; font-weight: 950; cursor: pointer; box-shadow: 0 6px 15px color-mix(in srgb, var(--wfops-camp-color, #2563eb) 25%, transparent); }

@media (max-width: 520px) {
  .work-records-create { grid-template-columns: 38px minmax(0, 1fr); }
  .work-records-create-icon { width: 38px; height: 38px; }
  .work-records-toolbar { grid-template-columns: minmax(0, 1fr) 96px; }
  .work-records-status-filter { min-width: 0; }
  .work-records-toolbar > button { grid-column: 1 / -1; min-height: 34px; }
  .work-records-summary th { font-size: 9px; }
  .work-records-summary td { height: 34px; padding-right: 2px; padding-left: 2px; }
  .work-records-summary strong { font-size: 14px; }
  .work-records-table th, .work-records-table td { padding-right: 3px; padding-left: 3px; }
  .work-records-table tbody td { font-size: 10px; }
  .work-records-table tbody td.is-net strong { font-size: 11px; }
  .work-records-table-date strong { font-size: 12px; }
  .work-records-table-date span { font-size: 7px; }
  .work-past-fields { grid-template-columns: 1fr; }
  .work-past-form-date { align-items: stretch; flex-direction: column; gap: 7px; }
  .work-past-form-date input { width: 100%; min-width: 0; }
  .work-past-start-date { align-items: stretch; flex-direction: column; gap: 8px; }
  .work-past-start-date input { width: 100%; min-width: 0; }
  .work-past-fields > label { min-height: 78px; flex-direction: row; align-items: center; }
  .work-past-fields label > i { width: 46%; }
  .work-past-net { align-items: flex-start; flex-direction: column; gap: 4px; }
  .work-past-net > em { text-align: left; }
}

@media (max-width: 379px) {
  .work-records-table { min-width: 420px; }
}

/* 오늘 업무: 2파트 순차 워크플로우 */
.work-today-page {
  --work-today-ink: #172033;
  --work-today-muted: #64748b;
  --work-today-line: #dbe3ee;
  max-width: 860px;
  padding: 14px 14px 32px;
}

.work-today-calendar { --work-today-line: #dbe3ee; width: 100%; margin: 0 0 10px; overflow: hidden; color: #243045; background: #fff; border: 1px solid var(--work-today-line); border-radius: 12px; box-shadow: 0 5px 18px rgba(15, 23, 42, .05); box-sizing: border-box; }
.work-today-calendar button { color: inherit; font: inherit; border: 0; cursor: pointer; }
.work-today-calendar .work-status-calendar-header { display: grid; grid-template-columns: 72px minmax(0, 1fr) 54px; min-height: 48px; padding: 0 10px; align-items: center; border-bottom: 1px solid #edf1f5; }
.work-today-calendar .work-status-calendar-today { justify-self: start; padding: 4px 11px; color: var(--wfops-camp-color-strong, #176b4d); background: #fff; border: 1px solid color-mix(in srgb, var(--wfops-camp-color-strong, #176b4d) 55%, #d7dee8); border-radius: 999px; font-size: 12px; font-weight: 850; }
.work-today-calendar .work-status-calendar-month-nav { display: flex; min-width: 0; align-items: center; justify-content: center; gap: 6px; }
.work-today-calendar .work-status-calendar-month-nav > button { width: 32px; height: 32px; padding: 0; color: #64748b; background: transparent; border-radius: 8px; font-size: 26px; line-height: 30px; }
.work-today-calendar .work-status-calendar-month-nav > button:hover, .work-today-calendar .work-status-calendar-month-nav > button:focus-visible { color: var(--wfops-camp-color-strong, #176b4d); background: var(--wfops-camp-color-soft, #eef8f3); outline: none; }
.work-today-calendar .work-status-calendar-month-nav strong { min-width: 94px; text-align: center; font-size: 18px; font-weight: 400; letter-spacing: .02em; }
.work-today-calendar .work-status-calendar-toggle { display: flex; width: 48px; height: 38px; padding: 0; align-items: center; justify-content: center; gap: 3px; color: var(--wfops-camp-color-strong, #176b4d); background: transparent; border-radius: 8px; }
.work-today-calendar .work-status-calendar-toggle > svg:first-child { width: 25px; height: 25px; }
.work-today-calendar .work-status-calendar-chevron { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .18s ease; }
.work-today-calendar .work-status-calendar-toggle[aria-expanded="true"] .work-status-calendar-chevron { transform: rotate(180deg); }
.work-today-calendar .work-status-calendar-strip { display: flex; width: 100%; padding: 5px 6px; overflow-x: auto; overflow-y: hidden; box-sizing: border-box; scroll-behavior: smooth; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x; }
.work-today-calendar .work-status-calendar-strip::-webkit-scrollbar { display: none; }
.work-today-calendar .work-status-calendar-day { display: flex; width: 62px; height: 54px; padding: 3px 0; flex: 0 0 62px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: transparent; border-radius: 10px; scroll-snap-align: center; }
.work-today-calendar .work-status-calendar-day small { color: #8a94a4; font-size: 12px; font-weight: 600; line-height: 1; }
.work-today-calendar .work-status-calendar-day b { display: grid; width: 30px; height: 30px; place-items: center; color: #344054; border-radius: 9px; font-size: 12px; font-weight: 600; line-height: 1; }
.work-today-calendar .is-sunday, .work-today-calendar .is-holiday, .work-today-calendar .work-status-calendar-day.is-sunday small, .work-today-calendar .work-status-calendar-day.is-sunday b, .work-today-calendar .work-status-calendar-day.is-holiday small, .work-today-calendar .work-status-calendar-day.is-holiday b { color: #dc2626; }
.work-today-calendar .is-saturday, .work-today-calendar .work-status-calendar-day.is-saturday small, .work-today-calendar .work-status-calendar-day.is-saturday b { color: #2563eb; }
.work-today-calendar .work-status-calendar-day.is-holiday small, .work-today-calendar .work-status-calendar-day.is-holiday b, .work-today-calendar .work-status-calendar-grid-day.is-holiday { color: #dc2626; }
.work-today-calendar .work-status-calendar-day.is-today:not(.is-selected) b, .work-today-calendar .work-status-calendar-grid-day.is-today:not(.is-selected) { color: var(--wfops-camp-color-strong, #176b4d); box-shadow: inset 0 0 0 1px var(--wfops-camp-color-strong, #176b4d); }
.work-today-calendar .work-status-calendar-day.is-selected b, .work-today-calendar .work-status-calendar-grid-day.is-selected { color: #fff; background: var(--wfops-camp-color-strong, #176b4d); box-shadow: 0 3px 8px color-mix(in srgb, var(--wfops-camp-color-strong, #176b4d) 28%, transparent); }
.work-today-calendar .work-status-calendar-day.is-selected.is-saturday b, .work-today-calendar .work-status-calendar-grid-day.is-selected.is-saturday { color: #fff; background: #2563eb; }
.work-today-calendar .work-status-calendar-day.is-selected.is-sunday b, .work-today-calendar .work-status-calendar-day.is-selected.is-holiday b, .work-today-calendar .work-status-calendar-grid-day.is-selected.is-sunday, .work-today-calendar .work-status-calendar-grid-day.is-selected.is-holiday { color: #fff; background: #dc2626; }
.work-today-calendar .work-status-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 8px 10px 12px; gap: 3px 2px; border-top: 1px solid #edf1f5; }
.work-today-calendar .work-status-calendar-grid[hidden] { display: none; }
.work-today-calendar.is-expanded .work-status-calendar-strip { display: none; }
.work-today-calendar .work-status-calendar-weekday { padding: 5px 0 7px; color: #8a94a4; text-align: center; font-size: 12px; font-weight: 600; }
.work-today-calendar .work-status-calendar-grid-day, .work-today-calendar .work-status-calendar-blank { width: 36px; height: 36px; margin: 0 auto; padding: 0; background: transparent; border-radius: 10px; font-size: 12px; font-weight: 600; }
.work-today-calendar .work-status-calendar-grid-day.has-record { position: relative; }
.work-today-calendar .work-status-calendar-grid-day.has-record::before { position: absolute; top: 2px; left: 50%; width: 5px; height: 5px; content: ""; background: var(--wfops-camp-color-strong, #176b4d); border: 1px solid #fff; border-radius: 50%; box-sizing: border-box; transform: translateX(-50%); }
.work-today-calendar .work-status-calendar-grid-day.has-record.is-selected::before { background: #fff; border-color: color-mix(in srgb, var(--wfops-camp-color-strong, #176b4d) 70%, #fff); }
.work-today-calendar .is-unavailable { opacity: .28; cursor: not-allowed; }
.work-today-mode-alert { margin: 0 0 10px; padding: 11px 13px; color: #991b1b; background: #fff1f2; border: 1px solid #fecdd3; border-radius: 11px; font-size: 11px; font-weight: 750; line-height: 1.45; }
.work-today-entry-mode { display: grid; grid-template-columns: 1fr; margin-bottom: 10px; padding: 11px 12px; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--work-today-line); border-radius: 13px; box-shadow: 0 5px 18px rgba(15, 23, 42, .05); }
.work-today-entry-mode > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--work-today-line); border-radius: 9px; }
.work-today-entry-mode label { position: relative; min-width: 0; cursor: pointer; }
.work-today-entry-mode label + label { border-left: 1px solid var(--work-today-line); }
.work-today-entry-mode input { position: absolute; opacity: 0; pointer-events: none; }
.work-today-entry-mode label > span { display: flex; min-height: 44px; padding: 6px 8px; align-items: center; justify-content: center; flex-direction: column; gap: 1px; color: #64748b; background: #fff; text-align: center; }
.work-today-entry-mode label b { font-size: 10px; font-weight: 950; }
.work-today-entry-mode label small { font-size: 7px; font-weight: 750; }
.work-today-entry-mode input:checked + span { color: #fff; background: var(--wfops-camp-color-strong, #1d4ed8); }
.work-today-entry-mode input:disabled + span { color: #a8b1be; background: #f3f5f7; cursor: not-allowed; }
.work-today-entry-mode input:focus-visible + span { box-shadow: inset 0 0 0 3px color-mix(in srgb, #fff 45%, transparent); }
.work-today-simple-panel[hidden] { display: none; }
.work-today-simple-panel { margin-bottom: 12px; }
.work-today-simple-panel > form { padding: 14px; background: #fff; border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 35%, var(--work-today-line)); border-radius: 15px; box-shadow: 0 8px 24px rgba(15, 23, 42, .07); }
.work-today-simple-head { display: flex; margin-bottom: 11px; padding-bottom: 11px; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #edf1f4; }
.work-today-simple-head > span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.work-today-simple-head small { color: var(--work-today-muted); font-size: 8px; font-weight: 750; }
.work-today-simple-head strong { color: var(--work-today-ink); font-size: 16px; font-weight: 950; }
.work-today-simple-head > b { padding: 4px 8px; color: #166534; background: #ecfdf3; border: 1px solid #bbf7d0; border-radius: 999px; font-size: 8px; font-weight: 950; }
.work-today-simple-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(64px, auto)); gap: 8px; }
.work-today-simple-fields > label { display: flex; min-height: 64px; padding: 10px; justify-content: space-between; flex-direction: column; gap: 8px; background: #f8fafb; border: 1px solid var(--work-today-line); border-radius: 10px; }
.work-today-simple-fields > label.is-volume { position: relative; grid-row: 1 / span 3; align-items: center; justify-content: center; text-align: center; }
.work-today-simple-fields > label.is-volume > span { position: absolute; top: 10px; left: 10px; align-items: flex-start; }
.work-today-simple-fields > label.is-volume i { width: 100%; justify-content: center; }
.work-today-simple-fields > label.is-volume input { text-align: center; }
.work-today-simple-fields > label:not(.is-volume) { align-items: center; flex-direction: row; }
.work-today-simple-fields > label:not(.is-volume) i { min-width: 0; flex: 1; justify-content: flex-end; }
.work-today-simple-fields label > span { display: flex; flex-direction: column; color: var(--wfops-camp-color-deep, #1e40af); font-size: 14px; font-weight: 950; }
.work-today-simple-fields label > span small { margin-top: 2px; color: var(--work-today-muted); font-size: 10px; font-weight: 700; }
.work-today-simple-fields i { position: relative; display: flex; min-height: 31px; align-items: center; gap: 4px; font-style: normal; }
.work-today-simple-fields input { width: 100%; min-width: 0; padding: 0; color: var(--work-today-ink); background: transparent; border: 0; outline: 0; font: inherit; font-size: 27px; font-weight: 950; text-align: right; transition: transform .16s ease; }
.work-today-simple-fields i.has-calculation input,
.work-today-simple-fields i.has-calculation em { transform: translateY(-6px); }
.work-today-simple-fields input::placeholder { color: #9aa9a4; font-size: 12px; font-weight: 750; text-align: center; opacity: 1; }
.work-today-simple-calculation { position: absolute; right: 14px; bottom: 0; left: 0; overflow: hidden; color: #7b8f88; font-size: 8px; font-weight: 750; line-height: 1; text-align: center; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.work-today-simple-calculation[hidden] { display: none; }
.work-today-simple-fields em { color: var(--work-today-muted); font-size: 12px; font-style: normal; font-weight: 850; }
.work-today-simple-net { display: flex; min-height: 54px; margin-top: 9px; padding: 10px 12px; align-items: center; justify-content: space-between; color: var(--wfops-camp-color-deep, #1e40af); background: var(--wfops-camp-color-soft, #eff6ff); border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 28%, var(--work-today-line)); border-radius: 10px; }
.work-today-simple-net > span { font-size: 13px; font-weight: 850; }
.work-today-simple-net > strong { font-size: 27px; font-weight: 950; }
.work-today-simple-net > strong::after { margin-left: 3px; content: '건'; color: var(--work-today-muted); font-size: 12px; }
.work-today-simple-net.is-negative { color: #b42318; background: #fff1f2; border-color: #fecdd3; }
.work-today-simple-panel form > button { width: 100%; min-height: 48px; margin-top: 9px; color: #fff; background: var(--wfops-camp-color-strong, #1d4ed8); border: 0; border-radius: 10px; font: inherit; font-size: 13px; font-weight: 950; cursor: pointer; }
.work-today-simple-panel form > button:disabled { opacity: .55; cursor: wait; }
.work-today-page.is-quantity-mode .work-today-part-nav,
.work-today-page.is-quantity-mode .work-today-edit-guide,
.work-today-page.is-quantity-mode .work-today-incomplete-alert,
.work-today-page.is-quantity-mode .work-today-status-banner,
.work-today-page.is-quantity-mode .work-today-protection,
.work-today-page.is-quantity-mode .work-today-form,
.work-today-page.is-quantity-mode .work-today-saved-records-wrap,
.work-today-page.is-quantity-mode .work-today-edit-dock { display: none !important; }
.work-today-page.is-quantity-mode .work-today-simple-panel .work-today-simple-complete-banner { display: grid !important; }
.work-today-page.is-quantity-mode .work-today-simple-panel .work-today-simple-protection { display: flex !important; }
.work-today-simple-panel > form.is-edit-locked { opacity: .58; filter: saturate(.65); }

@media (max-width: 640px) {
  .work-today-calendar .work-status-calendar-header { grid-template-columns: 60px minmax(0, 1fr) 46px; min-height: 42px; padding: 0 7px; }
  .work-today-calendar .work-status-calendar-today { padding: 3px 9px; font-size: 10px; }
  .work-today-calendar .work-status-calendar-month-nav { gap: 1px; }
  .work-today-calendar .work-status-calendar-month-nav > button { width: 28px; height: 28px; font-size: 23px; line-height: 26px; }
  .work-today-calendar .work-status-calendar-month-nav strong { min-width: 82px; font-size: 16px; }
  .work-today-calendar .work-status-calendar-toggle { width: 42px; height: 34px; }
  .work-today-calendar .work-status-calendar-toggle > svg:first-child { width: 22px; height: 22px; }
  .work-today-calendar .work-status-calendar-strip { padding: 3px 4px; }
  .work-today-calendar .work-status-calendar-day { width: 52px; height: 48px; flex-basis: 52px; }
  .work-today-calendar .work-status-calendar-day b { width: 28px; height: 28px; }
  .work-today-calendar .work-status-calendar-grid { padding: 6px 6px 9px; }
  .work-today-calendar .work-status-calendar-grid-day, .work-today-calendar .work-status-calendar-blank { width: 34px; height: 34px; }
  .work-today-entry-mode { grid-template-columns: 1fr; margin-bottom: 7px; padding: 8px 9px; gap: 7px; }
  .work-today-entry-mode label > span { min-height: 34px; padding: 4px 6px; }
  .work-today-entry-mode label b { font-size: 11px; }
  .work-today-simple-panel > form { padding: 10px; }
  .work-today-simple-head { margin-bottom: 7px; padding-bottom: 7px; }
  .work-today-simple-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, 52px); gap: 6px; }
  .work-today-simple-fields > label { min-height: 0; padding: 4px 7px; gap: 1px; }
  .work-today-simple-fields > label.is-volume > span { top: 7px; left: 7px; }
  .work-today-simple-fields label > span small { display: none; }
  .work-today-simple-fields i { min-height: 28px; }
  .work-today-simple-fields input { font-size: 23px; line-height: 1.1; }
  .work-today-simple-fields input::placeholder { font-size: 10px; }
  .work-today-simple-calculation { font-size: 7px; }
  .work-today-simple-fields em { font-size: 11px; }
  .work-today-simple-net { min-height: 42px; margin-top: 6px; padding: 7px 10px; }
  .work-today-simple-net > strong { font-size: 24px; }
  .work-today-simple-panel form > button { min-height: 42px; margin-top: 6px; }
}

.work-today-titlebar {
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 72px;
  margin-bottom: 12px;
  gap: 12px;
}

.work-today-titlebar > a {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  box-shadow: 0 5px 16px rgba(15, 23, 42, .08);
}

.work-today-titlebar small {
  margin-bottom: 3px;
  font-size: 9px;
  letter-spacing: .16em;
}

.work-today-titlebar h2 {
  font-size: clamp(24px, 4vw, 30px);
}

.work-today-titlebar p {
  margin: 4px 0 0;
  color: var(--work-today-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.work-today-part-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.work-today-part-nav > a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  min-width: 0;
  padding: 13px 14px;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce5ef;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  color: var(--work-today-ink);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.work-today-part-nav > a:hover {
  border-color: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 40%, #dce5ef);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .09);
  transform: translateY(-1px);
}

.work-today-part-nav > a > b {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--wfops-camp-color-soft, #eff6ff);
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 13px;
  font-weight: 950;
}

.work-today-part-nav > a:last-child > b {
  background: #ecfdf5;
  color: #047857;
}

.work-today-part-nav > a > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.work-today-part-nav strong {
  font-size: 13px;
  font-weight: 900;
}

.work-today-part-nav small {
  overflow: hidden;
  color: var(--work-today-muted);
  font-size: 10px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-today-part-nav em {
  padding: 4px 7px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.work-today-form {
  gap: 16px;
}

.work-today-workflow {
  scroll-margin-top: 16px;
  overflow: hidden;
  border: 1px solid #dce5ef;
  border-radius: 22px;
  background: #f7f9fc;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
}

.work-today-part-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 92px;
  padding: 20px 22px;
  align-items: center;
  gap: 14px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, .2), transparent 24%),
    linear-gradient(135deg, var(--wfops-camp-color-strong, #1d4ed8), var(--wfops-camp-color, #2563eb));
  color: #fff;
}

.work-today-workflow-settlement .work-today-part-header {
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, .18), transparent 24%),
    linear-gradient(135deg, #065f46, #0f9f78);
}

.work-today-part-header > span,
.work-today-part-header > b {
  display: inline-flex;
  padding: 6px 9px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .09em;
  white-space: nowrap;
}

.work-today-part-header h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -.035em;
}

.work-today-part-header p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  font-weight: 650;
}

.work-today-flow-list {
  display: grid;
  padding: 22px 22px 24px 16px;
}

.work-today-flow-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  min-width: 0;
}

.work-today-flow-rail {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.work-today-flow-rail > b {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 3px solid #f7f9fc;
  border-radius: 50%;
  background: var(--wfops-camp-color, #2563eb);
  color: #fff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--wfops-camp-color, #2563eb) 28%, #dbe3ee), 0 5px 12px rgba(37, 99, 235, .2);
  font-size: 10px;
  font-weight: 950;
}

.work-today-workflow-settlement .work-today-flow-rail > b {
  background: #0f9f78;
  box-shadow: 0 0 0 1px #a7dfce, 0 5px 12px rgba(15, 159, 120, .2);
}

.work-today-flow-rail > i {
  position: absolute;
  top: 33px;
  bottom: -1px;
  width: 2px;
  background: linear-gradient(#cbd7e6 70%, transparent);
}

.work-today-flow-step.is-last .work-today-flow-rail > i {
  display: none;
}

.work-today-flow-card {
  min-width: 0;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #e0e7f0;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .055);
}

.work-today-flow-step.is-last .work-today-flow-card {
  margin-bottom: 0;
}

.work-today-flow-heading {
  display: flex;
  margin-bottom: 12px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.work-today-flow-heading > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.work-today-flow-heading small {
  color: var(--wfops-camp-color, #2563eb);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .11em;
}

.work-today-workflow-settlement .work-today-flow-heading small {
  color: #0f9f78;
}

.work-today-flow-heading strong {
  color: var(--work-today-ink);
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -.025em;
}

.work-today-flow-heading > em {
  color: var(--work-today-muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 650;
  text-align: right;
}

.work-today-flow-card .work-today-date-card,
.work-today-flow-card .work-today-subaccounts,
.work-today-flow-card .work-today-stage,
.work-today-flow-card .work-today-metrics > article {
  border-color: #e1e8f0;
  border-radius: 13px;
  background: #f9fbfd;
  box-shadow: none;
}

.work-today-flow-card .work-today-date-card {
  min-height: 0;
  padding: 12px;
}

.work-today-flow-card .work-today-subaccounts {
  padding: 12px;
}

.work-today-flow-card .work-today-stage {
  display: grid;
  grid-template-columns: minmax(100px, .7fr) minmax(180px, 1.3fr) auto;
  min-height: 76px;
  padding: 12px 14px;
  align-items: center;
  gap: 12px;
}

.work-today-flow-card .work-today-stage > h4,
.work-today-flow-card .work-today-stage > div {
  margin: 0;
}

.work-today-flow-card .work-today-stage > div {
  min-width: 0;
}

.work-today-flow-card .work-today-stage-reset {
  align-self: center;
}

.work-today-volume-card {
  display: block;
}

.work-today-volume-card > article {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) minmax(180px, 1fr) minmax(130px, .7fr);
  min-height: 88px;
  padding: 14px;
  align-items: center;
  gap: 14px;
}

.work-today-volume-card .work-today-metric-heading,
.work-today-settlement-metrics .work-today-metric-heading {
  margin: 0;
}

.work-today-volume-card .work-today-metric-heading > span,
.work-today-settlement-metrics .work-today-metric-heading > span {
  font-size: 12px;
}

.work-today-report-board,
.work-today-record-section {
  margin-top: 10px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e1e8f0;
  border-radius: 13px;
  background: #fff;
}

.work-today-report-board > summary,
.work-today-record-section > summary {
  display: flex;
  min-height: 52px;
  padding: 10px 13px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f8fafc;
  cursor: pointer;
  list-style: none;
}

.work-today-report-board > summary::-webkit-details-marker,
.work-today-record-section > summary::-webkit-details-marker {
  display: none;
}

.work-today-report-board > summary > span,
.work-today-record-section > summary > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.work-today-report-board > summary b,
.work-today-record-section > summary b {
  color: #334155;
  font-size: 11px;
  font-weight: 900;
}

.work-today-report-board > summary small,
.work-today-record-section > summary small {
  color: #8491a3;
  font-size: 9px;
  font-weight: 650;
}

.work-today-report-board > summary > i {
  padding: 4px 7px;
  border-radius: 999px;
  background: #eaf1ff;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.work-today-report-board > summary::after,
.work-today-record-section > summary::after {
  content: "⌄";
  color: #64748b;
  font-size: 16px;
  font-weight: 900;
  transition: transform .18s ease;
}

.work-today-report-board[open] > summary::after,
.work-today-record-section[open] > summary::after {
  transform: rotate(180deg);
}

.work-today-report-board .work-today-report-groups,
.work-today-record-section .work-today-record-list {
  padding: 12px;
  border-top: 1px solid #e6ebf2;
}

.work-today-settlement-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.work-today-settlement-metrics > article {
  min-width: 0;
  padding: 13px;
}

.work-today-settlement-metrics .work-today-metric-value {
  margin-top: 8px;
}

.work-today-settlement-metrics .work-today-metric-actions {
  margin-top: 8px;
}

.work-today-flow-card-complete {
  border-color: #bfe5d9;
  background: linear-gradient(145deg, #fff, #f1fcf8);
}

.work-today-flow-card-complete .work-today-completion {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.work-today-flow-card-complete #work-today-complete {
  background: linear-gradient(135deg, #047857, #0f9f78);
  border-color: #047857;
  box-shadow: 0 8px 20px rgba(4, 120, 87, .2);
}

.work-today-actions {
  padding: 4px 0 0 48px;
}

@media (max-width: 640px) {
  .work-today-page {
    padding: 10px 10px 24px;
  }

  .work-today-titlebar {
    min-height: 64px;
  }

  .work-today-titlebar p {
    font-size: 10px;
  }

  .work-today-part-nav {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .work-today-part-nav > a {
    padding: 10px 11px;
  }

  .work-today-part-header {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 82px;
    padding: 16px;
    gap: 10px;
  }

  .work-today-part-header > b {
    display: none;
  }

  .work-today-part-header h3 {
    font-size: 18px;
  }

  .work-today-part-header p {
    font-size: 10px;
  }

  .work-today-flow-list {
    padding: 16px 10px 18px 6px;
  }

  .work-today-flow-step {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .work-today-flow-rail > b {
    width: 29px;
    height: 29px;
    font-size: 9px;
  }

  .work-today-flow-rail > i {
    top: 28px;
  }

  .work-today-flow-card {
    margin-bottom: 11px;
    padding: 12px;
    border-radius: 14px;
  }

  .work-today-flow-heading {
    margin-bottom: 9px;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .work-today-flow-heading strong {
    font-size: 15px;
  }

  .work-today-flow-heading > em {
    font-size: 9px;
    text-align: left;
  }

  .work-today-flow-card .work-today-stage {
    grid-template-columns: 1fr;
    padding: 11px;
    gap: 8px;
  }

  .work-today-flow-card .work-today-stage > div {
    width: 100%;
  }

  .work-today-flow-card .work-today-stage-reset {
    justify-self: end;
  }

  .work-today-volume-card > article {
    grid-template-columns: 1fr;
    padding: 11px;
    gap: 8px;
  }

  .work-today-settlement-metrics {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .work-today-settlement-metrics > article {
    display: grid;
    grid-template-columns: minmax(72px, .6fr) minmax(100px, 1fr);
    align-items: center;
    gap: 8px 10px;
  }

  .work-today-settlement-metrics .work-today-metric-value,
  .work-today-settlement-metrics .work-today-metric-actions {
    margin-top: 0;
  }

  .work-today-settlement-metrics .work-today-metric-actions {
    grid-column: 1 / -1;
  }

  .work-today-report-board > summary,
  .work-today-record-section > summary {
    padding: 9px 10px;
  }

  .work-today-actions {
    padding-left: 38px;
  }
}

/* 완료된 날짜/서브계정은 우측 상단 톱니 버튼으로만 수정 모드에 진입한다. */
.work-today-date-card,
.work-today-subaccounts {
  position: relative;
}

.work-today-card-edit {
  display: none;
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 5px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #16825f;
  cursor: pointer;
}

.work-today-card-edit svg {
  display: block;
  width: 18px;
  height: 18px;
}

.work-today-card-edit:hover,
.work-today-card-edit:focus-visible {
  background: rgba(22, 130, 95, .1);
  outline: none;
}

.work-today-date-card:has(.work-today-date-check input:checked) .work-today-date-edit,
.work-today-subaccounts.is-complete .work-today-subaccount-edit {
  display: flex;
}

.work-today-date-clear {
  display: none;
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 40px;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  margin: 0;
  padding: 5px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #d64545;
  cursor: pointer;
}

.work-today-date-card:has(.work-today-date-check input:checked) .work-today-date-clear {
  display: flex;
}

.work-today-date-clear svg {
  display: block;
  width: 18px;
  height: 18px;
}

.work-today-date-clear:hover,
.work-today-date-clear:focus-visible {
  background: rgba(214, 69, 69, .1);
  outline: none;
}

.work-today-subaccounts.is-complete #work-today-subaccount-count {
  visibility: hidden;
}

.work-today-subaccounts.is-complete .work-today-subaccount-open {
  cursor: default;
  opacity: 1;
}

.work-today-subaccounts.is-complete .work-today-subaccount-open > i {
  display: none;
}

.work-today-date-card:has(.work-today-date-check input:checked) .work-today-date-field,
.work-today-date-field:has(input[readonly]),
.work-today-date-field:has(input:disabled) {
  cursor: default;
}

/* 나머지 완료 카드도 우측 상단 톱니 버튼으로 수정한다. */
.work-today-stage,
.work-today-assignment-card,
.work-today-report-slot,
.work-today-status-grid > article {
  position: relative;
}

.work-today-stage .work-today-stage-reset {
  display: none;
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  margin: 0;
  padding: 5px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #16825f;
}

.work-today-stage.is-complete .work-today-stage-reset,
.work-today-assignment-card.is-complete .work-today-assignment-edit,
.work-today-status-grid > article.is-complete .work-today-metric-edit {
  display: flex;
}

.work-today-stage.is-complete .work-today-stage-reset:hover,
.work-today-stage.is-complete .work-today-stage-reset:focus-visible {
  background: rgba(22, 130, 95, .1);
}

.work-today-assignment-card.is-complete {
  border-color: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 38%, #dfe5ed);
  background: var(--wfops-camp-color-soft, #eff6ff);
}

.work-today-assignment-card.is-complete .work-today-metric-check {
  display: none;
}

.work-today-assignment-card.is-complete .work-today-assignment-value > input {
  cursor: default;
}

.work-today-report-slot-submit > svg {
  display: none;
}

.work-today-report-slot.is-entered {
  grid-template-rows: auto minmax(54px, 1fr);
}

.work-today-report-slot.is-entered .work-today-report-slot-submit {
  display: flex;
  position: absolute;
  z-index: 2;
  top: 6px;
  right: 6px;
  width: 26px;
  min-width: 26px;
  height: 26px;
  min-height: 26px;
  padding: 4px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #16825f;
}

.work-today-report-slot.is-entered .work-today-report-slot-submit > span {
  display: none;
}

.work-today-report-slot.is-entered .work-today-report-slot-submit > svg {
  display: block;
  width: 17px;
  height: 17px;
}

.work-today-report-slot.is-entered .work-today-report-slot-submit:hover,
.work-today-report-slot.is-entered .work-today-report-slot-submit:focus-visible {
  background: rgba(22, 130, 95, .1);
  outline: none;
}

.work-today-status-grid > article.is-complete .work-today-metric-actions {
  display: none;
}

@media (max-width: 640px) {
  .work-today-stage .work-today-stage-reset {
    top: 5px;
    right: 5px;
    width: 26px;
    min-width: 26px;
    height: 26px;
    min-height: 26px;
    padding: 4px;
  }

  .work-today-report-slot.is-entered .work-today-report-slot-submit {
    top: 4px;
    right: 4px;
    width: 24px;
    min-width: 24px;
    height: 24px;
    min-height: 24px;
  }
}

@media (max-width: 640px) {
  .work-today-card-edit {
    top: 5px;
    right: 5px;
    width: 26px;
    height: 26px;
    padding: 4px;
  }
}

@media (max-width: 380px) {
  .work-today-flow-list {
    padding-left: 3px;
    padding-right: 7px;
  }

  .work-today-flow-step {
    grid-template-columns: 33px minmax(0, 1fr);
  }

  .work-today-flow-rail > b {
    width: 26px;
    height: 26px;
    border-width: 2px;
    font-size: 8px;
  }

  .work-today-flow-card {
    padding: 9px;
  }

  .work-today-actions {
    padding-left: 33px;
  }
}

/* 오늘 업무 입력 프로토타입 */
.work-today-page,
.work-today-page * {
  box-sizing: border-box;
}

.work-today-page {
  --work-today-section-border: #c7d2df;
  --work-today-card-border: #bac7d5;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 10px 24px;
  color: #172033;
}

.work-today-titlebar {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 48px;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.work-today-titlebar > a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce3ed;
  border-radius: 9px;
  background: #fff;
  color: var(--wfops-camp-color-strong, #1d4ed8);
}

.work-today-titlebar > a svg {
  width: 19px;
  height: 19px;
}

.work-today-titlebar > span {
  min-width: 0;
}

.work-today-titlebar small {
  display: block;
  margin-bottom: 1px;
  color: var(--wfops-camp-color, #2563eb);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}

.work-today-titlebar h2 {
  margin: 0;
  color: #172033;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.work-today-page.has-edit-dock {
  padding-bottom: 180px;
  padding-bottom: calc(180px + env(safe-area-inset-bottom));
}

.work-today-edit-dock {
  position: fixed;
  z-index: 1100;
  left: 50%;
  bottom: 96px;
  bottom: calc(var(--layout-bottom-nav-height, 70px) + 26px + env(safe-area-inset-bottom));
  width: calc(100% - 20px);
  max-width: 440px;
  padding: 6px;
  border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 38%, #cbd5e1);
  border-radius: 15px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .24);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.work-today-edit-dock[hidden],
.work-today-edit-slider[hidden],
.work-today-edit-active[hidden] {
  display: none;
}

.work-today-edit-slider {
  --work-today-edit-slide-x: 0px;
  position: relative;
  height: 54px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 34%, #cbd5e1);
  border-radius: 11px;
  background: color-mix(in srgb, var(--wfops-camp-color-soft, #eff6ff) 68%, #fff);
  user-select: none;
  -webkit-user-select: none;
}

.work-today-edit-slider-fill {
  position: absolute;
  inset: 5px auto 5px 5px;
  width: calc(44px + var(--work-today-edit-slide-x));
  border-radius: 8px;
  background: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 18%, #fff);
  transition: width .2s ease;
}

.work-today-edit-slider.is-dragging .work-today-edit-slider-fill {
  transition: none;
}

.work-today-edit-slider-label {
  position: absolute;
  inset: 0 10px 0 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  pointer-events: none;
}

.work-today-edit-slider-label b {
  font-size: 13px;
  font-weight: 900;
}

.work-today-edit-slider-label small {
  font-size: 9px;
  font-weight: 800;
  opacity: .68;
}

.work-today-edit-slider > button {
  position: absolute;
  top: 5px;
  left: 5px;
  display: inline-flex;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wfops-camp-color, #2563eb);
  border-radius: 8px;
  background: var(--wfops-camp-color, #2563eb);
  color: #fff;
  transform: translateX(var(--work-today-edit-slide-x));
  transition: transform .2s ease, box-shadow .2s ease;
  touch-action: none;
  cursor: grab;
}

.work-today-edit-slider.is-dragging > button {
  box-shadow: 0 3px 10px color-mix(in srgb, var(--wfops-camp-color, #2563eb) 38%, transparent);
  transform: translateX(var(--work-today-edit-slide-x));
  transition: none;
  cursor: grabbing;
}

.work-today-edit-slider > button svg {
  width: 21px;
  height: 21px;
}

.work-today-edit-active {
  display: flex;
  width: 100%;
  min-height: 54px;
  padding: 6px 14px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--wfops-camp-color, #2563eb);
  border-radius: 11px;
  background: var(--wfops-camp-color, #2563eb);
  color: #fff;
  font: inherit;
}

.work-today-edit-active > svg {
  width: 18px;
  height: 18px;
}

.work-today-edit-active > span {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.work-today-edit-active b {
  font-size: 12px;
  font-weight: 900;
}

.work-today-edit-active small {
  font-size: 9px;
  font-weight: 800;
  opacity: .8;
}

.work-today-edit-guide {
  margin: 0 0 7px;
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 30%, #dce3ed);
  border-radius: 7px;
  background: var(--wfops-camp-color-soft, #eff6ff);
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 9px;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
}

.work-today-edit-guide[hidden] {
  display: none;
}

.work-today-edit-guide.is-locked {
  border-style: dashed;
  background: #f8fafc;
  color: var(--wfops-camp-color-strong, #1d4ed8);
}

.work-today-prototype-note {
  display: flex;
  margin: 0 0 10px;
  padding: 11px 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  border: 1.5px solid #e8ad3f;
  border-radius: 9px;
  background: #fff4d6;
  color: #7a4500;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.work-today-prototype-note > strong {
  color: #9a3f00;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.2;
}

.work-today-prototype-note > span {
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.work-today-prototype-note.is-ready {
  color: #166534;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.work-today-prototype-note.is-ready > strong {
  color: #15803d;
}

.work-today-prototype-note.is-saving {
  color: #1e40af;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.work-today-prototype-note.is-saving > strong {
  color: #2563eb;
}

.work-today-prototype-note.is-error {
  color: #9a3412;
  background: #fff7ed;
  border-color: #fed7aa;
}

.work-today-prototype-note.is-protected {
  color: #7c2d12;
  background: #fff7ed;
  border-color: #fdba74;
}

.work-today-prototype-note.is-protected > strong {
  color: #c2410c;
}

.work-today-protection {
  display: flex;
  margin: 0 0 10px;
  padding: 13px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #fdba74;
  border-radius: 12px;
  background: #fffaf5;
}

.work-today-protection[hidden] {
  display: none;
}

.work-today-protection > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.work-today-protection strong {
  color: #9a3412;
  font-size: 13px;
  font-weight: 950;
}

.work-today-protection small {
  color: #7c2d12;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.work-today-protection > div {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
}

.work-today-protection button,
.work-today-protection a {
  display: inline-flex;
  min-height: 36px;
  padding: 8px 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid #c2410c;
  border-radius: 9px;
  background: #c2410c;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.work-today-protection button[hidden] {
  display: none;
}

.work-today-protection button.is-secondary,
.work-today-protection a {
  border-color: #fed7aa;
  background: #fff;
  color: #9a3412;
}

.work-today-simple-protection {
  padding: 16px;
  align-items: stretch;
  flex-direction: column;
  gap: 13px;
  border-color: #fb923c;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffaf5 0%, #fff 100%);
  box-shadow: 0 8px 22px rgba(194, 65, 12, .08);
}

.work-today-protection > .work-today-simple-protection-copy {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 14px;
}

.work-today-simple-protection-copy > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.work-today-simple-protection-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
  color: #d35400;
  background: #ffedd5;
  border-radius: 50%;
  font-style: normal;
}

.work-today-simple-protection-icon svg {
  width: 28px;
  height: 28px;
}

.work-today-simple-protection-copy strong {
  color: #c2410c;
  font-size: 21px;
  line-height: 1.2;
}

.work-today-simple-protection-copy small {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.work-today-protection > .work-today-simple-protection-actions {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 7px;
}

.work-today-simple-protection-actions #work-today-simple-unlock,
.work-today-simple-protection-actions #work-today-protection-unlock {
  width: 100%;
  min-height: 50px;
  gap: 9px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #c2410c, #ea580c);
  box-shadow: 0 5px 12px rgba(194, 65, 12, .16);
  font-size: 18px;
}

.work-today-simple-protection-actions #work-today-simple-unlock svg,
.work-today-simple-protection-actions #work-today-protection-unlock svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 640px) {
  .work-today-simple-protection {
    padding: 13px;
    gap: 10px;
    border-radius: 14px;
  }

  .work-today-protection > .work-today-simple-protection-copy {
    gap: 11px;
  }

  .work-today-simple-protection-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .work-today-simple-protection-icon svg {
    width: 24px;
    height: 24px;
  }

  .work-today-simple-protection-copy strong {
    font-size: 18px;
  }

  .work-today-simple-protection-copy small {
    font-size: 11px;
    line-height: 1.4;
  }

  .work-today-simple-protection-actions #work-today-simple-unlock,
  .work-today-simple-protection-actions #work-today-protection-unlock {
    min-height: 44px;
    font-size: 16px;
  }
}

.work-today-complete-confirm-body {
  display: grid;
  padding: 18px;
  gap: 14px;
}

.work-today-complete-confirm-body > p,
.work-today-complete-confirm-body > small {
  margin: 0;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.work-today-complete-confirm-body > p strong {
  color: #047857;
}

.work-today-complete-confirm-body dl {
  display: grid;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid #a7d9c7;
  border-radius: 11px;
  background: #f2fbf7;
}

.work-today-complete-confirm-body dl > div {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #d8ece5;
}

.work-today-complete-confirm-body dl > div:last-child {
  min-height: 46px;
  border-bottom: 0;
  color: #065f46;
  font-size: 15px;
  font-weight: 950;
}

.work-today-complete-confirm-body dt,
.work-today-complete-confirm-body dd {
  margin: 0;
  font-size: 12px;
  font-weight: 850;
}

.work-today-complete-confirm-check {
  display: flex;
  min-height: 48px;
  padding: 10px 12px;
  align-items: center;
  gap: 9px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.work-today-complete-confirm-check input {
  width: 18px;
  height: 18px;
  accent-color: #047857;
}

.work-today-complete-confirm-body footer {
  margin: 0 -18px -18px;
}

.work-today-complete-confirm-body footer button:disabled {
  border-color: #cbd5e1;
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
}

.work-today-protected-edit-body {
  display: grid;
  padding: 18px;
  gap: 14px;
}

.work-today-protected-edit-body > p,
.work-today-protected-edit-body > small {
  margin: 0;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.work-today-protected-edit-body > p strong {
  color: #c2410c;
}

.work-today-protected-edit-body dl {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  background: #fff7ed;
}

.work-today-protected-edit-body dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.work-today-protected-edit-body dt,
.work-today-protected-edit-body dd {
  margin: 0;
  color: #7c2d12;
  font-size: 12px;
  font-weight: 900;
}

.work-today-protected-edit-body > label {
  display: grid;
  gap: 7px;
}

.work-today-protected-edit-body > label > span {
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.work-today-protected-edit-body > label b {
  color: #dc2626;
  font-size: 10px;
}

.work-today-protected-edit-body textarea {
  width: 100%;
  min-height: 96px;
  padding: 11px 12px;
  resize: vertical;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
}

.work-today-protected-edit-body textarea:focus {
  border-color: #f97316;
  outline: 3px solid rgba(249, 115, 22, .14);
}

.work-today-protected-edit-body footer {
  margin: 0 -18px -18px;
}

@media (max-width: 640px) {
  .work-today-protection {
    align-items: stretch;
    flex-direction: column;
  }

  .work-today-protection > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-today-protection button,
  .work-today-protection a {
    width: 100%;
  }
}

/* Work status dashboard */
.work-status-page {
  --ws-border: #dfe6f0;
  --ws-muted: #64748b;
  --ws-navy: #172033;
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 110px;
  color: var(--ws-navy);
}

.work-status-page svg {
  width: 22px;
  height: 22px;
}

.work-status-titlebar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.work-status-titlebar > a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  background: var(--wfops-camp-color-soft, #eff6ff);
  border-radius: 14px;
}

.work-status-titlebar span { min-width: 0; }
.work-status-titlebar small {
  display: block;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}
.work-status-titlebar h2 {
  margin: 2px 0 1px;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.15;
}
.work-status-titlebar p {
  margin: 0;
  color: var(--ws-muted);
  font-size: 14px;
}

.work-status-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -58px auto 24px;
}

.work-status-toolbar > a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #475569;
  background: #fff;
  border: 1px solid var(--ws-border);
  border-radius: 10px;
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
}

.work-status-date-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 292px;
  padding: 10px 16px;
  color: #243045;
  background: #fff;
  border: 1px solid #d6dfeb;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .06);
  cursor: pointer;
}
.work-status-date-picker > svg { color: var(--wfops-camp-color-strong, #1d4ed8); }
.work-status-date-picker span { display: flex; flex-direction: column; }
.work-status-date-picker b { font-size: 17px; line-height: 1.25; }
.work-status-date-picker small { color: var(--ws-muted); font-size: 11px; }
.work-status-date-picker input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.work-status-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 16px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 11px;
  font-size: 13px;
}
.work-status-alert.is-error { color: #991b1b; background: #fef2f2; border-color: #fecaca; }

.work-status-summary {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(370px, 1.25fr) minmax(520px, 1.7fr);
  border: 1px solid var(--ws-border);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(15, 23, 42, .045);
  overflow: hidden;
}
.work-status-summary > article { min-height: 116px; }
.work-status-context-card,
.work-status-volume-card,
.work-status-progress-card { display: grid; align-items: center; }
.work-status-context-card { grid-template-columns: 1fr 1fr; }
.work-status-context-card > div,
.work-status-volume-card > div,
.work-status-progress-card > div { padding: 18px 20px; }
.work-status-summary > article + article,
.work-status-context-card > div + div,
.work-status-volume-card > div + div,
.work-status-progress-card > div + div { border-left: 1px solid #edf1f6; }
.work-status-summary small { display: block; color: var(--ws-muted); font-size: 12px; font-weight: 750; }
.work-status-context-card strong { display: flex; align-items: center; gap: 9px; margin-top: 10px; font-size: 18px; }
.work-status-context-card strong svg { color: #475569; }
.work-status-context-card nav { display: flex; gap: 6px; margin-top: 8px; }
.work-status-context-card nav a {
  padding: 8px 15px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}
.work-status-context-card nav a.is-active {
  color: #fff;
  background: var(--wfops-camp-color-strong, #1d4ed8);
  border-color: var(--wfops-camp-color-strong, #1d4ed8);
}
.work-status-volume-card { grid-template-columns: repeat(2, 1fr); }
.work-status-volume-card strong { display: block; margin-top: 8px; color: #1662d4; font-size: 22px; }
.work-status-volume-card strong.is-balanced { color: #169447; }
.work-status-volume-card strong.is-difference { color: #dc2626; }
.work-status-volume-card em,
.work-status-progress-card em { margin-left: 2px; font-size: 12px; font-style: normal; font-weight: 800; }
.work-status-progress-card { grid-template-columns: repeat(5, 1fr); }
.work-status-progress-card > div { display: flex; align-items: center; gap: 9px; }
.work-status-progress-card svg { color: var(--wfops-camp-color-strong, #1d4ed8); flex: 0 0 auto; }
.work-status-progress-card strong { display: block; margin-top: 5px; font-size: 18px; }
.work-status-dot { width: 14px; height: 14px; flex: 0 0 auto; border-radius: 50%; background: #94a3b8; }
.work-status-dot.is-leave { background: #5b8def; }

.work-status-filters {
  display: flex;
  gap: 12px;
  margin: 22px 0 10px;
}
.work-status-search,
.work-status-filters > label:not(.work-status-search) {
  display: flex;
  align-items: center;
  height: 46px;
  background: #fff;
  border: 1px solid var(--ws-border);
  border-radius: 10px;
}
.work-status-search { width: 280px; padding: 0 13px; gap: 8px; }
.work-status-search svg { width: 19px; color: #64748b; }
.work-status-search input { width: 100%; border: 0; outline: 0; font-size: 14px; background: transparent; }
.work-status-filters > label:not(.work-status-search) { padding-left: 14px; }
.work-status-filters > label:not(.work-status-search) > span { color: #475569; font-size: 13px; font-weight: 800; white-space: nowrap; }
.work-status-filters select { height: 100%; min-width: 115px; padding: 0 34px 0 10px; border: 0; outline: 0; background: transparent; font-weight: 750; }
.work-status-filters > button,
.work-status-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 46px;
  margin-left: auto;
  padding: 0 18px;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  background: #fff;
  border: 1px solid #bfd4fa;
  border-radius: 10px;
  font-weight: 850;
  cursor: pointer;
}
.work-status-filters > button svg,
.work-status-footer button svg { width: 18px; }

.work-status-legend { display: flex; justify-content: flex-end; gap: 20px; margin: 0 4px 9px; color: #475569; font-size: 12px; }
.work-status-legend span { display: inline-flex; align-items: center; gap: 6px; }
.work-status-legend i { width: 10px; height: 10px; border-radius: 2px; }
.work-status-legend .is-delivery { background: #f59e0b; }
.work-status-legend .is-leave { background: #5b8def; }
.work-status-legend .is-complete { background: #20a253; }
.work-status-legend .is-missing { background: #ef4444; }

.work-status-table-wrap {
  overflow: auto;
  border: 1px solid var(--ws-border);
  border-radius: 14px;
  background: #fff;
}
.work-status-table { width: 100%; min-width: 1320px; border-collapse: collapse; font-size: 13px; }
.work-status-table th { height: 52px; padding: 0 10px; color: #374151; background: #f8fafc; border-bottom: 1px solid var(--ws-border); font-weight: 850; white-space: nowrap; }
.work-status-table td { height: 61px; padding: 8px 10px; text-align: center; border-bottom: 1px solid #edf1f5; white-space: nowrap; }
.work-status-table tbody tr:last-child td { border-bottom: 0; }
.work-status-table th:nth-child(2), .work-status-table td:nth-child(2) { text-align: left; }
.work-status-table td:nth-child(2) strong,
.work-status-table td:nth-child(2) small { display: block; }
.work-status-table td:nth-child(2) strong { font-size: 14px; }
.work-status-table td:nth-child(2) small { margin-top: 3px; color: #64748b; }
.work-status-badge { display: inline-flex; justify-content: center; min-width: 48px; padding: 5px 8px; border-radius: 6px; font-size: 12px; font-weight: 900; }
.work-status-badge.is-delivery { color: #b45309; background: #fff7ed; border: 1px solid #fed7aa; }
.work-status-badge.is-leave { color: #2563eb; background: #eff6ff; border: 1px solid #cfe0ff; }
.work-status-badge.is-complete { color: #168442; background: #eaf8ef; border: 1px solid #ccebd8; }
.work-status-badge.is-missing { color: #dc2626; background: #fef2f2; border: 1px solid #fecaca; }
.work-status-stage { display: inline-flex; align-items: center; gap: 6px; color: #94a3b8; }
.work-status-stage i { display: grid; place-items: center; width: 18px; height: 18px; color: #fff; background: #d8dee8; border-radius: 50%; font-size: 10px; font-style: normal; }
.work-status-stage.is-complete { color: #1f2937; }
.work-status-stage.is-complete i { background: #20a253; }
.work-status-report-list { display: grid; gap: 4px; }
.work-status-report { display: block; }
.work-status-report b, .work-status-report small { display: block; }
.work-status-report small { margin-top: 2px; color: #64748b; font-size: 11px; }
.work-status-note { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.work-status-detail-toggle { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; color: #475569; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.work-status-detail-toggle svg { width: 18px; transition: transform .18s ease; }
.work-status-detail-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.work-status-detail-row td { height: auto; padding: 0; background: #f8fafc; }
.work-status-detail-row td > div { display: flex; justify-content: flex-end; gap: 42px; padding: 14px 60px; }
.work-status-detail-row span { display: flex; align-items: baseline; gap: 8px; }
.work-status-detail-row small { color: #64748b; }
.work-status-empty-row td { height: 150px; color: #64748b; font-weight: 750; }

.work-status-footer { display: flex; align-items: center; min-height: 68px; gap: 20px; color: #64748b; font-size: 12px; }
.work-status-footer p { margin: 0; }
.work-status-footer > span { margin-left: auto; font-weight: 850; }
.work-status-footer button { margin-left: 0; }

@media (max-width: 1200px) {
  .work-status-toolbar { margin: 0 auto 18px; }
  .work-status-summary { grid-template-columns: 1fr 1.45fr; }
  .work-status-progress-card { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid #edf1f6; }
}

@media (max-width: 720px) {
  .work-status-page { width: min(100% - 20px, 680px); padding-top: 15px; }
  .work-status-titlebar { gap: 11px; margin-bottom: 14px; }
  .work-status-titlebar > a { width: 38px; height: 38px; border-radius: 11px; }
  .work-status-titlebar h2 { font-size: 23px; }
  .work-status-titlebar p { display: none; }
  .work-status-toolbar { gap: 5px; }
  .work-status-toolbar > a { width: 34px; height: 42px; }
  .work-status-date-picker { min-width: 0; flex: 1; padding: 9px 12px; }
  .work-status-date-picker b { font-size: 15px; }
  .work-status-alert { align-items: flex-start; flex-direction: column; gap: 3px; }
  .work-status-summary { display: block; }
  .work-status-summary > article { min-height: auto; }
  .work-status-summary > article + article { border-left: 0; border-top: 1px solid #edf1f6; }
  .work-status-context-card > div, .work-status-volume-card > div, .work-status-progress-card > div { padding: 14px 12px; }
  .work-status-volume-card { grid-template-columns: repeat(2, 1fr); }
  .work-status-volume-card strong { font-size: 18px; }
  .work-status-progress-card { display: grid; grid-template-columns: repeat(3, 1fr); }
  .work-status-progress-card > div:nth-child(4) { border-left: 0; border-top: 1px solid #edf1f6; }
  .work-status-progress-card > div:nth-child(5) { border-top: 1px solid #edf1f6; }
  .work-status-filters { display: grid; grid-template-columns: 1fr 1fr auto; gap: 7px; margin-top: 14px; }
  .work-status-search { grid-column: 1 / -1; width: auto; }
  .work-status-filters > button { width: 46px; padding: 0; }
  .work-status-filters > button span { display: none; }
  .work-status-legend { justify-content: flex-start; gap: 12px; overflow-x: auto; }
  .work-status-table-wrap { overflow: visible; border: 0; background: transparent; }
  .work-status-table { min-width: 0; display: block; }
  .work-status-table thead { display: none; }
  .work-status-table tbody { display: grid; gap: 10px; }
  .work-status-data-row { position: relative; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); padding: 14px 12px 10px; background: #fff; border: 1px solid var(--ws-border); border-radius: 13px; box-shadow: 0 3px 14px rgba(15, 23, 42, .035); }
  .work-status-table td { display: block; height: auto; min-width: 0; padding: 6px; border: 0; text-align: left !important; white-space: normal; }
  .work-status-data-row td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: #94a3b8; font-size: 10px; font-weight: 800; }
  .work-status-data-row td:nth-child(1) { display: none; }
  .work-status-data-row td:nth-child(2) { grid-column: 1 / 3; }
  .work-status-data-row td:nth-child(3) { grid-column: 3 / 5; text-align: right !important; padding-right: 42px; }
  .work-status-data-row td:nth-child(4), .work-status-data-row td:nth-child(8), .work-status-data-row td:nth-child(9), .work-status-data-row td:nth-child(10) { border-top: 1px solid #edf1f5; }
  .work-status-data-row td:nth-child(5), .work-status-data-row td:nth-child(6), .work-status-data-row td:nth-child(7) { display: none; }
  .work-status-data-row td:nth-child(11) { grid-column: 1 / 3; }
  .work-status-data-row td:nth-child(12) { grid-column: 3 / 5; }
  .work-status-data-row td:nth-child(13) { grid-column: 1 / 5; padding-top: 8px; border-top: 1px solid #edf1f5; }
  .work-status-data-row td:nth-child(14) { position: absolute; top: 13px; right: 8px; padding: 0; }
  .work-status-data-row td:nth-child(14)::before { display: none; }
  .work-status-note { max-width: none; }
  .work-status-detail-row { display: block; margin: -12px 0 0; }
  .work-status-detail-row td { padding: 8px 12px 12px; background: #f8fafc; border: 1px solid var(--ws-border); border-top: 0; border-radius: 0 0 13px 13px; }
  .work-status-detail-row td > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 0; }
  .work-status-detail-row span { justify-content: space-between; }
  .work-status-empty-row { display: block; }
  .work-status-empty-row td { display: grid; place-items: center; height: 130px; background: #fff; border: 1px solid var(--ws-border); border-radius: 13px; }
  .work-status-footer { flex-wrap: wrap; padding-top: 10px; }
  .work-status-footer p { width: 100%; }
  .work-status-footer > span { margin-left: 0; }
  .work-status-footer button { margin-left: auto; }
}

.work-today-section {
  border: 1px solid var(--work-today-section-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 11px rgba(15, 23, 42, .065);
}

.work-today-form {
  display: grid;
  gap: 8px;
  transition: opacity .16s ease, filter .16s ease;
}

.work-today-form.is-edit-locked {
  opacity: .72;
  filter: saturate(.72);
  pointer-events: none;
}

.work-today-section {
  min-width: 0;
  padding: 10px;
}

.work-today-section-title {
  display: flex;
  min-height: 22px;
  margin-bottom: 7px;
  align-items: center;
  gap: 5px;
}

.work-today-section-title > b,
.work-today-metric-heading > b {
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 12px;
  font-weight: 900;
}

.work-today-section-title h3 {
  margin: 0;
  color: #192230;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.work-today-help {
  display: inline-flex;
  width: 18px;
  height: 18px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid #98a2b3;
  border-radius: 50%;
  background: #fff;
  color: #667085;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
}

.work-today-primary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
}

.work-today-date-card {
  display: flex;
  min-width: 0;
  min-height: 72px;
  padding: 8px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 7px;
  border: 1px solid var(--work-today-card-border);
  border-radius: 9px;
  background: #fbfcfe;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.work-today-date-card > strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #273242;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.work-today-date-card > strong svg {
  width: 17px;
  height: 17px;
  color: var(--wfops-camp-color, #2563eb);
}

.work-today-date-confirmed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

.work-today-date-card:has(.work-today-date-check input:checked) {
  border-color: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 38%, #dfe5ed);
  background: linear-gradient(110deg, var(--wfops-camp-color-soft, #eff6ff), #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wfops-camp-color, #2563eb) 8%, transparent);
}

.work-today-date-card:has(.work-today-date-check input:checked) > strong,
.work-today-date-card:has(.work-today-date-check input:checked) > strong svg {
  color: var(--wfops-camp-color-strong, #1d4ed8);
}

.work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field {
  border-color: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 38%, #dfe5ed);
  background: var(--wfops-camp-color-soft, #eff6ff);
}

.work-today-date-field {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 5px 9px;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid #d1d8e2;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.work-today-date-field > span {
  min-width: 0;
  flex: 1 1 auto;
  color: #18212f;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.work-today-date-field > svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: #596579;
}

.work-today-date-field input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.work-today-date-field:focus-within {
  outline: 2px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 28%, transparent);
  outline-offset: 1px;
}

.work-today-date-field:has(input[readonly]),
.work-today-date-field:has(input:disabled) {
  border-color: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 38%, #dfe5ed);
  background: var(--wfops-camp-color-soft, #eff6ff);
  cursor: not-allowed;
}

.work-today-date-field input[readonly],
.work-today-date-field input:disabled {
  pointer-events: none;
}

.work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field > span,
.work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field > svg {
  color: var(--wfops-camp-color-strong, #1d4ed8);
}

.work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field {
  min-height: 40px;
  padding: 5px 8px;
  justify-content: center;
  border-color: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 38%, #dfe5ed);
  background: #fff;
  cursor: default;
}

.work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field > span {
  flex: 0 1 auto;
  font-size: 18px;
  text-align: center;
}

.work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field > svg {
  display: none;
}

.work-today-date-check {
  display: flex;
  width: 100%;
  min-height: 34px;
  padding: 0 8px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #d1d8e2;
  border-radius: 7px;
  background: #fff;
  color: #596579;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.work-today-date-check:has(input:checked) {
  min-height: 27px;
  border-color: #d9e0e9;
  background: #fff;
  color: #596579;
  font-size: 9px;
}

.work-today-date-check:has(input:checked)::after {
  content: "수정";
}

.work-today-date-check:has(input:checked) input,
.work-today-date-check:has(input:checked) span {
  display: none;
}

.work-today-date-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--wfops-camp-color, #2563eb);
}

.work-today-subaccounts {
  display: flex;
  min-width: 0;
  min-height: 72px;
  padding: 8px;
  flex-direction: column;
  border: 1px solid var(--work-today-card-border);
  border-radius: 9px;
  background: #fbfcfe;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.work-today-subaccounts.is-complete {
  border-color: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 38%, #dfe5ed);
  background: linear-gradient(110deg, var(--wfops-camp-color-soft, #eff6ff), #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wfops-camp-color, #2563eb) 8%, transparent);
}

.work-today-subaccounts-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.work-today-subaccounts-heading > strong {
  color: #273242;
  font-size: 11px;
  font-weight: 850;
}

.work-today-subaccounts-heading > span {
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 9px;
  font-weight: 850;
}

.work-today-subaccounts-heading > span[hidden] {
  display: none;
}

.work-today-subaccounts.is-complete .work-today-subaccounts-heading > strong {
  color: var(--wfops-camp-color-strong, #1d4ed8);
}

.work-today-subaccount-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  width: 100%;
  margin-top: 6px;
  align-items: center;
  gap: 5px;
}

.work-today-subaccount-actions[hidden] {
  display: none;
}

.work-today-subaccount-actions > button {
  display: inline-flex;
  width: 100%;
  min-height: 29px;
  padding: 0 8px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid var(--wfops-camp-color, #2563eb);
  border-radius: 7px;
  background: #fff;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.work-today-subaccount-actions > button span {
  font-size: 13px;
}

.work-today-subaccount-actions > .work-today-subaccount-confirm {
  border-color: var(--wfops-camp-color, #2563eb);
  background: var(--wfops-camp-color, #2563eb);
  color: #fff;
}

.work-today-subaccount-actions > button:disabled {
  border-color: #d7dee8;
  background: #f4f6f8;
  color: #8a93a0;
  opacity: .72;
  cursor: not-allowed;
}

.work-today-subaccount-rows {
  display: grid;
  gap: 5px;
  margin-top: 6px;
}

.work-today-subaccount-rows[hidden] {
  display: none;
}

.work-today-subaccount-result {
  display: flex;
  min-height: 40px;
  margin: 7px 0 0;
  padding: 5px 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 38%, #dfe5ed);
  border-radius: 7px;
  background: #fff;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.work-today-subaccount-result[hidden] {
  display: none;
}

.work-today-subaccount-cancel {
  width: 100%;
  min-height: 27px;
  margin-top: 6px;
  border: 1px solid #d9e0e9;
  border-radius: 7px;
  background: #fff;
  color: #596579;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
}

.work-today-subaccount-cancel[hidden] {
  display: none;
}

.work-today-subaccount-none {
  display: flex;
  min-height: 32px;
  margin-top: 6px;
  padding: 6px 8px;
  align-items: center;
  gap: 6px;
  border: 1px solid #dfe6ee;
  border-radius: 7px;
  background: #f7f9fc;
  color: #596579;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.work-today-subaccount-none[hidden] {
  display: none;
}

.work-today-subaccounts.is-complete .work-today-subaccount-none,
.work-today-subaccounts.is-complete .work-today-subaccount-rows,
.work-today-subaccounts.is-complete .work-today-subaccount-actions {
  display: none;
}

.work-today-subaccount-none input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--wfops-camp-color, #2563eb);
}

.work-today-subaccount-none:has(input:checked) {
  border-color: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 34%, #dfe5ed);
  background: var(--wfops-camp-color-soft, #eff6ff);
  color: var(--wfops-camp-color-strong, #1d4ed8);
}

.work-today-subaccount-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
}

.work-today-subaccount-row > span {
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 9px;
  font-weight: 900;
  text-align: center;
}

.work-today-subaccount-row button {
  min-height: 32px;
  padding: 0 8px;
  border: 1px solid #fecaca;
  border-radius: 7px;
  background: #fff7f7;
  color: #d52b3a;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
}

.work-today-subaccount-row select,
.work-today-report-slot input,
.work-today-count-entry input,
.work-today-support-camp select,
.work-today-support-user select,
.work-today-support-quantity input {
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid #d1d8e2;
  border-radius: 7px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-size: 11px;
}

.work-today-subaccount-row select {
  width: 100%;
}

.work-today-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.work-today-stage {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--work-today-card-border);
  border-radius: 9px;
  background: #fbfcfe;
}

.work-today-stage h4 {
  display: flex;
  margin: 0 0 7px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #273242;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.work-today-stage h4 svg {
  width: 17px;
  height: 17px;
  color: var(--wfops-camp-color, #2563eb);
}

.work-today-stage > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.work-today-stage-action {
  display: inline-flex;
  min-width: 0;
  min-height: 31px;
  flex: 1 1 auto;
  padding: 0 6px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid #d4dbe5;
  border-radius: 6px;
  background: #fff;
  color: #596579;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.work-today-stage-action i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2e7ee;
}

.work-today-stage-action:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.work-today-stage.is-locked {
  background: #f7f8fa;
}

.work-today-stage time {
  flex: 0 0 auto;
  color: #283444;
  font-size: 10px;
  font-weight: 800;
}

.work-today-stage.is-complete {
  border-color: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 38%, #dfe5ed);
  background: var(--wfops-camp-color-soft, #eff6ff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wfops-camp-color, #2563eb) 8%, transparent);
}

.work-today-stage.is-complete h4,
.work-today-stage.is-complete time {
  color: var(--wfops-camp-color-strong, #1d4ed8);
}

.work-today-stage.is-complete > div {
  min-height: 31px;
  justify-content: center;
}

.work-today-stage.is-complete .work-today-stage-action {
  display: none;
}

.work-today-stage.is-complete time {
  display: flex;
  width: 100%;
  min-height: 31px;
  padding: 3px 6px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 38%, #dfe5ed);
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: .02em;
  text-align: center;
}

.work-today-stage-reset {
  width: 100%;
  min-height: 27px;
  margin-top: 6px;
  border: 1px solid #d9e0e9;
  border-radius: 6px;
  background: #fff;
  color: #596579;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
}

.work-today-stage-reset:disabled {
  opacity: .45;
}

.work-today-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
}

.work-today-metrics > article {
  display: grid;
  grid-template-rows: auto 40px 28px;
  min-width: 0;
  min-height: 96px;
  padding: 8px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--work-today-card-border);
  border-radius: 9px;
  background: #fbfcfe;
}

.work-today-metric-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.work-today-metric-heading > span {
  color: #202a38;
  font-size: 12px;
  font-weight: 850;
}

.work-today-metric-value {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  min-width: 0;
  min-height: 40px;
  align-items: center;
  border: 1px solid #d0d8e2;
  border-radius: 7px;
  background: #fff;
}

.work-today-metric-value > input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 5px 2px 5px 24px;
  border: 0;
  background: transparent;
  color: #172033;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.work-today-metric-value > input:focus {
  outline: 0;
}

.work-today-metric-value:focus-within {
  outline: 2px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 28%, transparent);
  outline-offset: 1px;
}

.work-today-metric-value > em {
  color: #344054;
  font-size: 10px;
  font-style: normal;
}

.work-today-metric-check {
  grid-column: 1 / -1;
  display: flex;
  min-height: 28px;
  padding: 4px 6px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  background: #fff;
  color: #596579;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.work-today-metric-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.work-today-metric-actions > .work-today-metric-check {
  grid-column: auto;
}

.work-today-metric-entry {
  min-width: 0;
  min-height: 28px;
  padding: 4px 5px;
  overflow: hidden;
  border: 1px solid var(--wfops-camp-color, #2563eb);
  border-radius: 6px;
  background: #fff;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font: inherit;
  font-size: 8.5px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-today-metric-entry:disabled {
  border-color: #d9e0e9;
  background: #f4f6f8;
  color: #8a93a0;
  cursor: not-allowed;
}

.work-today-metric-check input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--wfops-camp-color, #2563eb);
}

.work-today-metric-check:has(input:disabled) {
  opacity: .45;
  cursor: not-allowed;
}

.work-today-metrics > article:has(.work-today-metric-check input:checked),
.work-today-metrics > article.has-entries {
  border-color: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 38%, #dfe5ed);
  background: var(--wfops-camp-color-soft, #eff6ff);
}

.work-today-metrics > article:has(.work-today-metric-check input:checked) .work-today-metric-heading > b,
.work-today-metrics > article:has(.work-today-metric-check input:checked) .work-today-metric-heading > span,
.work-today-metrics > article:has(.work-today-metric-check input:checked) .work-today-metric-value > em,
.work-today-metrics > article.has-entries .work-today-metric-heading > b,
.work-today-metrics > article.has-entries .work-today-metric-heading > span,
.work-today-metrics > article.has-entries .work-today-metric-value > em {
  color: var(--wfops-camp-color-strong, #1d4ed8);
}

.work-today-metrics > article:has(.work-today-metric-check input:checked) .work-today-metric-value,
.work-today-metrics > article.has-entries .work-today-metric-value {
  border-color: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 38%, #dfe5ed);
  background: #fff;
}

.work-today-metrics > article:has(.work-today-metric-check input:checked) .work-today-metric-value > input,
.work-today-metrics > article.has-entries .work-today-metric-value > input {
  color: var(--wfops-camp-color-strong, #1d4ed8);
  -webkit-text-fill-color: var(--wfops-camp-color-strong, #1d4ed8);
}

.work-today-metric-check:has(input:checked) {
  min-height: 27px;
  border-color: #d9e0e9;
  background: #fff;
  color: #596579;
  font-size: 9px;
}

.work-today-detail-sheet {
  width: min(calc(100% - 20px), 520px);
  max-width: none;
  max-height: min(78vh, 640px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #172033;
}

.work-today-detail-sheet::backdrop {
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(1px);
}

.work-today-detail-sheet-shell {
  max-height: min(78vh, 640px);
  overflow: auto;
  border: 1px solid var(--work-today-section-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, .24);
}

.work-today-detail-sheet header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  min-height: 56px;
  padding: 11px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--work-today-section-border);
  background: #fff;
}

.work-today-detail-sheet header h3 {
  margin: 0;
  color: #192230;
  font-size: 15px;
  font-weight: 900;
}

.work-today-detail-sheet header button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  background: #fff;
  color: #596579;
  font: inherit;
  font-size: 20px;
  line-height: 1;
}

.work-today-detail-panel[hidden] {
  display: none;
}

.work-today-detail-sheet footer {
  position: sticky;
  bottom: 0;
  padding: 12px 16px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--work-today-section-border);
  background: #fff;
}

.work-today-detail-sheet footer button {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--wfops-camp-color, #2563eb);
  border-radius: 8px;
  background: var(--wfops-camp-color, #2563eb);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.work-today-sheet-entry-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.work-today-sheet-entry-list > p {
  margin: 0;
  padding: 16px 10px;
  border: 1px dashed var(--work-today-card-border);
  border-radius: 8px;
  color: #7a8492;
  font-size: 9px;
  text-align: center;
}

.work-today-sheet-entry-list > div {
  display: flex;
  min-height: 42px;
  padding: 7px 10px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--work-today-card-border);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-size: 9px;
  font-weight: 800;
}

.work-today-sheet-entry-list > div > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-today-sheet-entry-list > div > button {
  min-height: 26px;
  padding: 0 8px;
  flex: 0 0 auto;
  border: 1px solid #fecaca;
  border-radius: 6px;
  background: #fff7f7;
  color: #d52b3a;
  font: inherit;
  font-size: 8px;
  font-weight: 850;
}

.work-today-support-direction {
  display: flex;
  flex-basis: 100%;
  gap: 12px;
}

.work-today-support-direction label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #243247;
  font-size: 10px;
  font-weight: 850;
}

.work-today-support-direction label:has(input:checked) {
  color: var(--wfops-camp-color-strong, #1d4ed8);
}

.work-today-detail-sheet .work-today-detail-inputs {
  gap: 12px;
  padding: 16px;
}

.work-today-detail-sheet .work-today-input-panel {
  padding: 12px;
}

.work-today-detail-sheet .work-today-support-form {
  gap: 14px;
}

.work-today-detail-sheet .work-today-support-assignment {
  gap: 10px;
}

.work-today-detail-toggle {
  padding: 0;
  overflow: hidden;
}

.work-today-detail-toggle > summary {
  display: flex;
  min-height: 42px;
  padding: 8px 11px;
  align-items: center;
  justify-content: space-between;
  color: #1f2937;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.work-today-detail-toggle > summary::-webkit-details-marker {
  display: none;
}

.work-today-detail-toggle > summary::after {
  content: '⌄';
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 18px;
  line-height: 1;
  transition: transform .16s ease;
}

.work-today-detail-toggle[open] > summary {
  border-bottom: 1px solid #e5eaf0;
  background: #fbfcfe;
}

.work-today-detail-toggle[open] > summary::after {
  transform: rotate(180deg);
}

.work-today-detail-inputs,
.work-today-record-list {
  display: grid;
  gap: 6px;
}

.work-today-detail-inputs {
  padding: 8px;
}

.work-today-record-section {
  padding: 8px;
}

.work-today-input-panel {
  border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 24%, #dce3ed);
  border-radius: 8px;
  background: var(--wfops-camp-color-soft, #f5f8ff);
}

.work-today-record-viewer {
  overflow: hidden;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--work-today-card-border);
  border-radius: 8px;
  background: #fff;
}

.work-today-count-entry {
  display: flex;
  padding: 7px 8px;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 7px;
}

.work-today-count-entry label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.work-today-count-entry label span {
  color: #344054;
  font-size: 9px;
  font-weight: 850;
}

.work-today-count-entry input {
  width: 78px;
  text-align: right;
}

.work-today-count-entry button {
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid var(--wfops-camp-color, #2563eb);
  border-radius: 7px;
  background: #fff;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.work-today-count-entry button span {
  font-size: 13px;
}

.work-today-count-head,
.work-today-count-row {
  display: grid;
  grid-template-columns: 1fr 1fr 42px;
  min-height: 29px;
  align-items: center;
  text-align: center;
}

.work-today-count-head > span,
.work-today-count-row > span,
.work-today-support-head > span,
.work-today-support-row > span {
  min-width: 0;
  padding: 0 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-today-count-head {
  background: #f7f9fc;
  color: #344054;
  font-size: 8px;
  font-weight: 900;
}

.work-today-count-row {
  border-top: 1px solid #edf0f4;
  color: #344054;
  font-size: 9px;
}

.work-today-count-row button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #dc3545;
  font: inherit;
  font-size: 8px;
  font-weight: 800;
}

.work-today-count-table p {
  display: flex;
  min-height: 36px;
  margin: 0;
  padding: 8px;
  align-items: center;
  justify-content: center;
  color: #8a93a0;
  font-size: 9px;
  text-align: center;
}

.work-today-count-table p[hidden] {
  display: none;
}

.work-today-support-form {
  display: flex;
  padding: 8px 9px;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.work-today-support-form > label,
.work-today-support-assignment > label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #344054;
  font-size: 9px;
}

.work-today-support-form > .work-today-support-type {
  color: #243247;
  font-size: 10px;
  font-weight: 850;
}

.work-today-support-form > .work-today-support-type:has(input:checked) {
  color: var(--wfops-camp-color-strong, #1d4ed8);
}

.work-today-support-form input {
  margin: 0;
  accent-color: var(--wfops-camp-color, #2563eb);
}

.work-today-support-assignment {
  display: flex;
  flex-basis: 100%;
  min-width: 0;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.work-today-support-user {
  min-width: 0;
  flex: 1 1 auto;
}

.work-today-support-camp[hidden] {
  display: none;
}

.work-today-support-camp {
  min-width: 0;
  flex: 0 1 125px;
}

.work-today-support-camp span {
  min-width: 28px;
  font-weight: 800;
}

.work-today-support-camp select {
  width: 88px;
  min-width: 0;
}

.work-today-support-user span {
  min-width: 62px;
  font-weight: 800;
}

.work-today-metric-value > input:disabled {
  opacity: 1;
  background: transparent;
  color: #344054;
  -webkit-text-fill-color: #344054;
  cursor: default;
}

.work-today-support-user select {
  min-width: 0;
  width: 135px;
  max-width: 100%;
}

.work-today-support-user select:disabled {
  opacity: 1;
  background: #f4f6f8;
  color: #7a8492;
  -webkit-text-fill-color: #7a8492;
}

.work-today-support-quantity[hidden],
#work-today-support-add[hidden] {
  display: none;
}

.work-today-support-quantity {
  flex: 0 0 auto;
}

.work-today-support-quantity span {
  font-weight: 800;
  white-space: nowrap;
}

.work-today-support-quantity input {
  width: 56px;
  min-width: 0;
  text-align: right;
}

.work-today-support-quantity em {
  color: #344054;
  font-style: normal;
  font-weight: 800;
}

#work-today-support-add {
  min-height: 34px;
  padding: 0 7px;
  border: 1px solid var(--wfops-camp-color, #2563eb);
  border-radius: 7px;
  background: #fff;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

#work-today-support-add span {
  font-size: 13px;
}

.work-today-support-table {
  min-width: 0;
}

.work-today-support-head,
.work-today-support-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr .75fr 38px;
  min-height: 29px;
  align-items: center;
  text-align: center;
}

.work-today-support-head {
  background: #f7f9fc;
  color: #344054;
  font-size: 8px;
  font-weight: 900;
}

.work-today-support-row {
  border-top: 1px solid #edf0f4;
  color: #344054;
  font-size: 9px;
}

.work-today-support-row button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #dc3545;
  font: inherit;
  font-size: 8px;
  font-weight: 800;
}

#work-today-support-empty {
  display: flex;
  min-height: 36px;
  margin: 0;
  padding: 8px;
  align-items: center;
  justify-content: center;
  color: #8a93a0;
  font-size: 9px;
  text-align: center;
}

#work-today-support-empty[hidden] {
  display: none;
}

.work-today-report-board {
  grid-column: 1 / -1;
  min-width: 0;
}

.work-today-report-groups {
  display: grid;
  gap: 8px;
}

.work-today-report-group-empty {
  margin: 0;
  padding: 12px 8px;
  border: 1px dashed #d7dee8;
  border-radius: 7px;
  color: #7a8492;
  font-size: 9px;
  text-align: center;
}

.work-today-report-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.work-today-report-slot {
  display: grid;
  min-width: 0;
  padding: 5px;
  align-content: start;
  gap: 3px;
  border: 1px solid var(--work-today-card-border);
  border-radius: 7px;
  background: #fff;
  aspect-ratio: 1 / 1;
}

.work-today-report-slot > strong {
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 10px;
  font-weight: 900;
}

.work-today-report-slot label {
  display: block;
  min-width: 0;
}

.work-today-report-slot label span {
  display: block;
  margin-bottom: 1px;
  color: #596579;
  font-size: 8px;
  font-weight: 800;
}

.work-today-report-slot input {
  width: 100%;
  min-height: 26px;
  padding: 3px 5px;
  font-size: 9px;
}

.work-today-report-slot-result {
  display: flex;
  min-height: 54px;
  padding: 5px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 42%, #dfe5ed);
  border-radius: 6px;
  background: #fff;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.work-today-report-slot-result > small {
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
}

.work-today-report-slot-result > strong {
  color: inherit;
  font-size: 13px;
  font-weight: 950;
}

.work-today-report-slot-result[hidden] {
  display: none;
}

.work-today-report-slot-submit {
  min-height: 25px;
  padding: 2px 5px;
  border: 1px solid var(--wfops-camp-color, #2563eb);
  border-radius: 6px;
  background: #fff;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font: inherit;
  font-size: 8px;
  font-weight: 900;
}

.work-today-report-slot.is-entered {
  grid-template-rows: auto minmax(54px, 1fr) auto;
  align-content: stretch;
  border-color: var(--wfops-camp-color, #2563eb);
  background: var(--wfops-camp-color-soft, #eff6ff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wfops-camp-color, #2563eb) 14%, transparent);
}

.work-today-report-slot.is-entered .work-today-report-slot-result {
  min-height: 0;
  align-self: stretch;
}

.work-today-report-slot.is-entered > strong,
.work-today-report-slot.is-entered label span {
  color: var(--wfops-camp-color-strong, #1d4ed8);
}

.work-today-report-slot.is-entered input {
  border-color: color-mix(in srgb, var(--wfops-camp-color, #2563eb) 42%, #dfe5ed);
  background: #fff;
}

.work-today-report-slot.is-entered label {
  display: none;
}

.work-today-report-slot.is-entered .work-today-report-slot-submit {
  border-color: var(--wfops-camp-color, #2563eb);
  background: #fff;
  color: var(--wfops-camp-color-strong, #1d4ed8);
}

.work-today-completion {
  display: grid;
  grid-template-columns: minmax(112px, .8fr) minmax(125px, 1fr) minmax(145px, 1fr);
  align-items: stretch;
  gap: 8px;
}

#work-today-complete {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 34%, #dfe5ed);
  border-radius: 9px;
  background: var(--wfops-camp-color-soft, #eff6ff);
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

#work-today-complete svg {
  width: 22px;
  height: 22px;
}

#work-today-complete.is-complete {
  border-color: var(--wfops-camp-color, #2563eb);
  background: var(--wfops-camp-color, #2563eb);
  color: #fff;
}

.work-today-result {
  display: flex;
  min-width: 0;
  padding: 9px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 18%, #dfe5ed);
  border-radius: 9px;
  background: color-mix(in srgb, var(--wfops-camp-color-soft, #eff6ff) 55%, #fff);
  text-align: center;
  flex-direction: column;
}

.work-today-result > span {
  color: #344054;
  font-size: 9px;
  font-weight: 700;
}

.work-today-result > strong {
  margin-top: 5px;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 23px;
  line-height: 1;
}

.work-today-result > strong small {
  margin-left: 2px;
  font-size: 10px;
}

.work-today-completion dl {
  margin: 0;
  padding: 7px 9px;
  border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 18%, #dfe5ed);
  border-radius: 9px;
  background: color-mix(in srgb, var(--wfops-camp-color-soft, #eff6ff) 55%, #fff);
}

.work-today-completion dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #344054;
  font-size: 9px;
  line-height: 1.55;
}

.work-today-completion dt,
.work-today-completion dd {
  margin: 0;
}

.work-today-completion dd {
  font-weight: 800;
}

.work-today-completion dl > div:last-child {
  margin-top: 3px;
  padding-top: 3px;
  border-top: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 28%, #dfe5ed);
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-weight: 900;
}

.work-today-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.work-today-actions button {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--wfops-camp-color, #2563eb);
  border-radius: 8px;
  background: #fff;
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.work-today-actions button[type="submit"] {
  background: var(--wfops-camp-color, #2563eb);
  color: #fff;
  box-shadow: 0 4px 11px color-mix(in srgb, var(--wfops-camp-color, #2563eb) 22%, transparent);
}

.work-today-actions svg {
  width: 18px;
  height: 18px;
}

.work-today-toast {
  position: fixed;
  z-index: 1200;
  right: 50%;
  bottom: 82px;
  max-width: calc(100vw - 28px);
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(17, 24, 39, .92);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
}

.work-today-toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

@media (max-width: 520px) {
  .work-today-page {
    padding: 5px 7px 18px;
  }

  .work-today-titlebar {
    min-height: 44px;
  }

  .work-today-section {
    padding: 8px;
  }

  .work-today-date-confirmed {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-today-date-field {
    padding-right: 6px;
    padding-left: 6px;
    justify-content: center;
  }

  .work-today-date-field > span {
    flex: 0 1 auto;
    font-size: 15px;
    text-align: center;
  }

  .work-today-date-field > svg {
    display: none;
  }

  .work-today-subaccount-actions > button {
    padding-right: 4px;
    padding-left: 4px;
  }

  .work-today-stage {
    padding: 7px 5px;
  }

  .work-today-stage > div {
    display: grid;
    justify-items: center;
  }

  .work-today-stage-action {
    width: 100%;
  }

  .work-today-metrics {
    padding: 6px;
  }

  .work-today-metrics > article {
    grid-template-rows: auto 38px 27px;
    padding: 7px;
  }

  .work-today-detail-inputs {
    gap: 5px;
    padding: 6px;
  }

  .work-today-count-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px;
    padding: 6px;
    align-items: end;
    gap: 6px;
  }

  .work-today-count-entry label {
    display: grid;
    grid-template-columns: minmax(58px, auto) 76px;
    justify-content: end;
    gap: 5px;
  }

  .work-today-count-entry input {
    width: 76px;
  }

  .work-today-count-entry button {
    width: 84px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .work-today-support-form {
    padding: 7px;
    gap: 7px;
  }

  .work-today-support-assignment {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px;
    gap: 6px;
  }

  .work-today-support-assignment > .work-today-support-camp,
  .work-today-support-assignment > .work-today-support-user {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 62px minmax(0, 1fr);
    width: 100%;
  }

  .work-today-support-assignment > .work-today-support-camp[hidden],
  .work-today-support-assignment > .work-today-support-quantity[hidden] {
    display: none;
  }

  .work-today-support-camp select,
  .work-today-support-user select {
    width: 100%;
  }

  .work-today-support-assignment > .work-today-support-quantity {
    display: grid;
    grid-template-columns: auto 62px auto;
    justify-content: end;
  }

  .work-today-support-quantity input {
    width: 62px;
  }

  #work-today-support-add {
    width: 84px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .work-today-record-section {
    padding: 7px;
  }

  .work-today-record-section .work-today-section-title {
    margin-bottom: 5px;
  }

  .work-today-record-list {
    gap: 5px;
  }

  .work-today-count-head,
  .work-today-count-row,
  .work-today-support-head,
  .work-today-support-row {
    min-height: 32px;
  }

  .work-today-count-head,
  .work-today-count-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px;
  }

  .work-today-support-head,
  .work-today-support-row {
    grid-template-columns: 70px minmax(0, 1fr) 58px 36px;
  }

  .work-today-count-head,
  .work-today-support-head {
    font-size: 8px;
  }

  .work-today-count-row,
  .work-today-support-row {
    font-size: 8.5px;
  }

  .work-today-completion {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-today-completion dl {
    grid-column: 1 / -1;
  }
}

@media (max-width: 380px) {
  .work-today-date-field {
    gap: 4px;
  }

  .work-today-date-field > span {
    font-size: 14px;
  }

  .work-today-date-check {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 8px;
  }

  .work-today-subaccounts-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
  }

  .work-today-subaccount-actions > button {
    width: 100%;
    justify-content: center;
  }

  .work-today-subaccount-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-today-stage h4 {
    font-size: 10px;
  }

  .work-today-stage h4 svg {
    display: none;
  }

  .work-today-stage-action {
    font-size: 8px;
  }

  .work-today-report-slots {
    gap: 4px;
  }

  .work-today-report-slot {
    min-height: 118px;
    padding: 4px;
    aspect-ratio: auto;
  }

  .work-today-report-slot input {
    padding-right: 3px;
    padding-left: 3px;
    font-size: 8px;
  }

  .work-today-support-head,
  .work-today-support-row {
    grid-template-columns: 64px minmax(0, 1fr) 52px 34px;
  }

  .work-today-support-form {
    gap: 7px;
  }
}

/* 순차 워크플로우 최종 캐스케이드 보정 */
.work-today-page {
  max-width: 860px;
  padding: 14px 14px 32px;
}

.work-today-titlebar {
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 72px;
  margin-bottom: 12px;
  gap: 12px;
}

.work-today-titlebar > a {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}

.work-today-titlebar small {
  margin-bottom: 3px;
  font-size: 9px;
  letter-spacing: .16em;
}

.work-today-titlebar h2 {
  font-size: clamp(24px, 4vw, 30px);
}

.work-today-form {
  gap: 16px;
}

.work-today-flow-card .work-today-stage-reset {
  width: auto;
  min-width: 46px;
  margin-top: 0;
  padding: 0 8px;
}

.work-today-volume-card,
.work-today-settlement-metrics {
  padding: 0;
}

.work-today-volume-card {
  display: block;
}

.work-today-volume-card > article {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) minmax(180px, 1fr) minmax(130px, .7fr);
  grid-template-rows: none;
  min-height: 88px;
  padding: 14px;
  gap: 14px;
}

.work-today-settlement-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.work-today-settlement-metrics > article {
  grid-template-rows: auto 40px auto;
  min-height: 0;
  padding: 13px;
  gap: 6px;
}

.work-today-report-board,
.work-today-record-section {
  margin-top: 10px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e1e8f0;
  border-radius: 13px;
  background: #fff;
}

.work-today-actions {
  padding: 4px 0 0 48px;
}

@media (max-width: 640px) {
  .work-today-page {
    padding: 10px 10px 24px;
  }

  .work-today-titlebar {
    min-height: 64px;
  }

  .work-today-volume-card > article {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
    padding: 11px;
    gap: 8px;
  }

  .work-today-settlement-metrics {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .work-today-settlement-metrics > article {
    grid-template-columns: minmax(72px, .6fr) minmax(100px, 1fr);
    grid-template-rows: auto auto;
    padding: 11px;
    gap: 8px 10px;
  }

  .work-today-settlement-metrics .work-today-metric-actions {
    grid-column: 1 / -1;
  }

  .work-today-actions {
    padding-left: 38px;
  }
}

@media (max-width: 380px) {
  .work-today-actions {
    padding-left: 33px;
  }
}

/* 모바일: 세로 타임라인 대신 2열 큐빅 보드 */
@media (max-width: 640px) {
  .work-today-page {
    padding: 6px 7px 18px;
  }

  .work-today-titlebar {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 48px;
    margin-bottom: 6px;
    gap: 7px;
  }

  .work-today-titlebar > a {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .work-today-titlebar small {
    margin-bottom: 1px;
    font-size: 7px;
  }

  .work-today-titlebar h2 {
    font-size: 20px;
  }

  .work-today-titlebar p {
    display: none;
  }

  .work-today-part-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 6px;
  }

  .work-today-part-nav > a {
    grid-template-columns: 28px minmax(0, 1fr);
    min-height: 48px;
    padding: 6px 7px;
    gap: 6px;
    border-radius: 11px;
  }

  .work-today-part-nav > a > b {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 10px;
  }

  .work-today-part-nav strong {
    font-size: 11px;
  }

  .work-today-part-nav small,
  .work-today-part-nav em {
    display: none;
  }

  .work-today-edit-guide {
    margin-bottom: 5px;
    padding: 4px 7px;
    font-size: 8px;
  }

  .work-today-prototype-note {
    margin-bottom: 8px;
    padding: 10px 8px;
    gap: 3px;
    font-size: 12px;
  }

  .work-today-prototype-note > strong {
    font-size: 18px;
  }

  .work-today-prototype-note > span {
    font-size: 12px;
  }

  .work-today-form {
    gap: 8px;
  }

  .work-today-workflow {
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .07);
  }

  .work-today-part-header {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 58px;
    padding: 9px 10px;
    gap: 8px;
  }

  .work-today-part-header > span {
    padding: 4px 6px;
    font-size: 7px;
  }

  .work-today-part-header h3 {
    font-size: 15px;
  }

  .work-today-part-header p,
  .work-today-part-header > b {
    display: none;
  }

  #work-today-daily .work-today-flow-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 7px;
    gap: 6px;
  }

  #work-today-settlement .work-today-flow-list {
    display: grid;
    padding: 7px;
    gap: 6px;
  }

  .work-today-flow-step {
    display: block;
    min-width: 0;
  }

  .work-today-flow-rail {
    display: none;
  }

  .work-today-flow-card,
  .work-today-flow-step.is-last .work-today-flow-card {
    height: 100%;
    margin: 0;
    padding: 8px;
    border-radius: 11px;
  }

  .work-today-flow-heading {
    margin-bottom: 6px;
    gap: 1px;
  }

  .work-today-flow-heading small {
    font-size: 6px;
  }

  .work-today-flow-heading strong {
    font-size: 12px;
  }

  .work-today-flow-heading > em {
    display: none;
  }

  .work-today-flow-card .work-today-date-card,
  .work-today-flow-card .work-today-subaccounts {
    min-height: 122px;
    padding: 7px;
    border-radius: 9px;
  }

  .work-today-date-card > strong,
  .work-today-subaccounts-heading > strong {
    font-size: 9px;
  }

  .work-today-date-field {
    min-height: 34px;
    padding: 4px 6px;
  }

  .work-today-date-field > span {
    font-size: 12px;
  }

  .work-today-date-check {
    min-height: 28px;
    font-size: 8px;
  }

  .work-today-subaccounts-heading {
    gap: 3px;
  }

  .work-today-subaccounts-heading > span {
    font-size: 7px;
  }

  .work-today-subaccount-none {
    min-height: 29px;
    padding: 4px 5px;
    font-size: 8px;
  }

  .work-today-subaccount-actions {
    gap: 4px;
  }

  .work-today-subaccount-actions > button {
    min-height: 29px;
    padding: 0 5px;
    font-size: 8px;
  }

  .work-today-flow-card .work-today-stage {
    display: flex;
    min-height: 122px;
    padding: 8px;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    border-radius: 9px;
  }

  .work-today-flow-card .work-today-stage h4 {
    justify-content: center;
    font-size: 10px;
  }

  .work-today-flow-card .work-today-stage h4 svg {
    display: block;
    width: 16px;
    height: 16px;
  }

  .work-today-flow-card .work-today-stage-action {
    min-height: 35px;
    font-size: 8px;
  }

  .work-today-flow-card .work-today-stage-reset {
    width: 100%;
    min-height: 24px;
    margin: 0;
    justify-self: stretch;
    font-size: 8px;
  }

  .work-today-volume-card > article {
    min-height: 122px;
    padding: 7px;
    align-content: center;
    gap: 5px;
    border-radius: 9px;
  }

  .work-today-volume-card .work-today-metric-heading > span {
    font-size: 9px;
  }

  .work-today-volume-card .work-today-metric-value {
    min-height: 35px;
  }

  .work-today-volume-card .work-today-metric-check {
    min-height: 28px;
    font-size: 8px;
  }

  .work-today-report-board,
  .work-today-record-section {
    margin-top: 5px;
    border-radius: 9px;
  }

  .work-today-report-board > summary,
  .work-today-record-section > summary {
    min-height: 39px;
    padding: 6px 7px;
  }

  .work-today-report-board > summary b,
  .work-today-record-section > summary b {
    font-size: 9px;
  }

  .work-today-report-board > summary small,
  .work-today-record-section > summary small,
  .work-today-report-board > summary > i {
    display: none;
  }

  .work-today-report-board .work-today-report-groups,
  .work-today-record-section .work-today-record-list {
    padding: 6px;
  }

  .work-today-settlement-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .work-today-settlement-metrics > article {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 35px auto;
    min-height: 111px;
    padding: 7px;
    gap: 4px;
    border-radius: 9px;
  }

  .work-today-settlement-metrics > article:last-child {
    grid-column: 1 / -1;
    grid-template-columns: minmax(70px, .55fr) minmax(100px, 1fr);
    grid-template-rows: auto auto;
    min-height: 76px;
    align-items: center;
  }

  .work-today-settlement-metrics > article:last-child .work-today-metric-actions {
    grid-column: 1 / -1;
  }

  .work-today-settlement-metrics .work-today-metric-value,
  .work-today-settlement-metrics .work-today-metric-actions {
    margin-top: 0;
  }

  .work-today-settlement-metrics .work-today-metric-actions {
    gap: 4px;
  }

  .work-today-settlement-metrics .work-today-metric-check,
  .work-today-settlement-metrics .work-today-metric-entry {
    min-height: 27px;
    padding: 0 5px;
    font-size: 8px;
  }

  .work-today-flow-card-complete .work-today-completion {
    gap: 5px;
  }

  .work-today-flow-card-complete #work-today-complete {
    min-height: 68px;
    font-size: 12px;
  }

  .work-today-flow-card-complete .work-today-result {
    min-height: 68px;
    padding: 6px;
  }

  .work-today-flow-card-complete .work-today-completion dl {
    gap: 3px;
  }

  .work-today-actions {
    padding: 0;
    gap: 5px;
  }

  .work-today-actions button {
    min-height: 40px;
  }
}

@media (max-width: 360px) {
  .work-today-page {
    padding-right: 5px;
    padding-left: 5px;
  }

  #work-today-daily .work-today-flow-list,
  #work-today-settlement .work-today-flow-list {
    padding: 5px;
    gap: 4px;
  }

  .work-today-flow-card,
  .work-today-flow-step.is-last .work-today-flow-card {
    padding: 6px;
  }

  .work-today-date-field > span {
    font-size: 11px;
  }
}

/* 전체 화면: 메인 페이지형 2파트 큐빅 카드 */
.work-today-page {
  max-width: 980px;
}

.work-today-part-nav {
  display: none;
}

.work-today-form {
  gap: 12px;
}

.work-today-workflow {
  padding: 10px;
  overflow: visible;
  border: 1px solid #dbe4ef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(15, 23, 42, .07);
}

.work-today-part-header,
.work-today-workflow-settlement .work-today-part-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 72px;
  padding: 13px 15px;
  align-items: center;
  gap: 11px;
  border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 16%, #e2e8f0);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 0, color-mix(in srgb, var(--wfops-camp-color, #2563eb) 12%, transparent), transparent 34%),
    linear-gradient(135deg, #f8fbff, #fff);
  color: var(--work-today-ink);
}

.work-today-workflow-settlement .work-today-part-header {
  border-color: #cfe9e1;
  background:
    radial-gradient(circle at 92% 0, rgba(15, 159, 120, .12), transparent 34%),
    linear-gradient(135deg, #f3fcf9, #fff);
}

.work-today-part-header > span,
.work-today-part-header > b {
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--wfops-camp-color, #2563eb) 20%, #dbe4ef);
  background: var(--wfops-camp-color-soft, #eff6ff);
  color: var(--wfops-camp-color-strong, #1d4ed8);
  font-size: 8px;
}

.work-today-workflow-settlement .work-today-part-header > span,
.work-today-workflow-settlement .work-today-part-header > b {
  border-color: #bfe5d9;
  background: #eaf9f4;
  color: #047857;
}

.work-today-part-header h3 {
  color: #182233;
  font-size: 18px;
}

.work-today-part-header p {
  margin-top: 2px;
  color: #718096;
  font-size: 10px;
}

#work-today-daily .work-today-flow-list,
#work-today-settlement .work-today-flow-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 10px 0 0;
  gap: 9px;
}

.work-today-flow-step {
  display: block;
  min-width: 0;
}

.work-today-flow-rail {
  display: none;
}

.work-today-flow-card,
.work-today-flow-step.is-last .work-today-flow-card {
  display: flex;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 12px;
  flex-direction: column;
  border-radius: 13px;
}

#work-today-daily .work-today-flow-card {
  min-height: 205px;
}

.work-today-flow-heading {
  min-height: 37px;
  margin-bottom: 8px;
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
}

.work-today-flow-heading > span {
  width: 100%;
  flex-direction: row;
  align-items: center;
  gap: 7px;
}

.work-today-flow-heading small {
  display: inline-flex;
  padding: 3px 5px;
  border-radius: 5px;
  background: var(--wfops-camp-color-soft, #eff6ff);
  font-size: 7px;
  letter-spacing: .05em;
}

.work-today-workflow-settlement .work-today-flow-heading small {
  background: #eaf9f4;
}

.work-today-flow-heading strong {
  font-size: 15px;
}

.work-today-flow-heading > em {
  padding-left: 1px;
  font-size: 9px;
  text-align: left;
}

.work-today-flow-card .work-today-date-card,
.work-today-flow-card .work-today-subaccounts,
.work-today-flow-card .work-today-stage,
.work-today-volume-card > article {
  min-height: 142px;
  flex: 1 1 auto;
  border-radius: 10px;
}

.work-today-flow-card .work-today-stage {
  display: flex;
  padding: 11px;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
}

.work-today-flow-card .work-today-stage h4 {
  justify-content: center;
}

.work-today-flow-card .work-today-stage > div {
  width: 100%;
}

.work-today-flow-card .work-today-stage-reset {
  width: 100%;
  margin: 0;
}

.work-today-volume-card > article {
  display: flex;
  padding: 11px;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.work-today-volume-card .work-today-metric-heading {
  justify-content: center;
}

.work-today-report-board {
  flex: 0 0 auto;
}

.work-today-settlement-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.work-today-settlement-metrics > article {
  grid-template-columns: 1fr;
  grid-template-rows: auto 40px auto;
  min-height: 116px;
  padding: 9px;
}

.work-today-settlement-metrics > article:last-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(90px, .55fr) minmax(120px, 1fr);
  grid-template-rows: auto auto;
  min-height: 84px;
  align-items: center;
}

.work-today-settlement-metrics > article:last-child .work-today-metric-actions {
  grid-column: 1 / -1;
}

.work-today-flow-card-complete .work-today-completion {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-today-flow-card-complete .work-today-completion dl {
  grid-column: 1 / -1;
}

.work-today-actions {
  padding-left: 0;
}

@media (max-width: 640px) {
  .work-today-page {
    padding: 6px 7px 18px;
  }

  .work-today-workflow {
    padding: 6px;
    border-radius: 14px;
  }

  .work-today-part-header,
  .work-today-workflow-settlement .work-today-part-header {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 50px;
    padding: 7px 8px;
    gap: 7px;
    border-radius: 10px;
  }

  .work-today-part-header > b {
    display: none;
  }

  .work-today-part-header > span {
    padding: 4px 6px;
    font-size: 7px;
  }

  .work-today-part-header h3 {
    font-size: 14px;
  }

  .work-today-part-header p {
    display: none;
  }

  #work-today-daily .work-today-flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 6px;
    gap: 5px;
  }

  #work-today-settlement .work-today-flow-list {
    grid-template-columns: 1fr;
    padding-top: 6px;
    gap: 5px;
  }

  .work-today-flow-card,
  .work-today-flow-step.is-last .work-today-flow-card {
    padding: 7px;
    border-radius: 10px;
  }

  #work-today-daily .work-today-flow-card {
    min-height: 0;
  }

  .work-today-flow-heading {
    min-height: 0;
    margin-bottom: 5px;
  }

  .work-today-flow-heading > span {
    gap: 4px;
  }

  .work-today-flow-heading small {
    padding: 2px 4px;
    font-size: 6px;
  }

  .work-today-flow-heading strong {
    font-size: 11px;
  }

  .work-today-flow-heading > em {
    display: none;
  }

  .work-today-flow-card .work-today-date-card,
  .work-today-flow-card .work-today-subaccounts,
  .work-today-flow-card .work-today-stage,
  .work-today-volume-card > article {
    min-height: 118px;
  }

  .work-today-settlement-metrics > article {
    min-height: 108px;
    padding: 7px;
  }

  .work-today-settlement-metrics > article:last-child {
    min-height: 72px;
  }

  .work-today-actions {
    padding: 0;
  }
}

/* 파트별 묶음 패널: 제목 바 + 하나로 연결된 작업 목록 */
.work-today-workflow,
.work-today-workflow-settlement {
  padding: 7px;
  overflow: hidden;
  border: 1px solid #bfcddd;
  border-top: 4px solid #147a4b;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, .06);
}

.work-today-workflow-settlement {
  border-top-color: #315f93;
}

.work-today-part-header,
.work-today-workflow-settlement .work-today-part-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 48px;
  margin: 0 0 7px;
  padding: 7px 10px;
  gap: 8px;
  border: 1px solid #c9ded5;
  border-radius: 7px;
  background: #e7f1ed;
  color: #155f3d;
}

.work-today-workflow-settlement .work-today-part-header {
  border-color: #cbd9e7;
  background: #eaf0f6;
  color: #294f78;
}

.work-today-part-header > span,
.work-today-part-header > b,
.work-today-workflow-settlement .work-today-part-header > span,
.work-today-workflow-settlement .work-today-part-header > b {
  min-width: 27px;
  padding: 4px 6px;
  border: 1px solid rgba(20, 122, 75, .18);
  border-radius: 6px;
  background: rgba(255, 255, 255, .7);
  color: inherit;
  font-size: 8px;
  letter-spacing: .03em;
}

.work-today-workflow-settlement .work-today-part-header > span,
.work-today-workflow-settlement .work-today-part-header > b {
  border-color: rgba(49, 95, 147, .18);
}

.work-today-part-header h3 {
  color: inherit;
  font-size: 15px;
  letter-spacing: -.02em;
}

.work-today-part-header p {
  display: none;
}

#work-today-daily .work-today-flow-list,
#work-today-settlement .work-today-flow-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  overflow: hidden;
  gap: 1px;
  border: 1px solid #d1dce8;
  border-radius: 7px;
  background: #d1dce8;
}

.work-today-flow-card,
.work-today-flow-step.is-last .work-today-flow-card {
  padding: 11px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.work-today-flow-heading {
  min-height: 34px;
  margin-bottom: 7px;
}

.work-today-flow-heading > span {
  gap: 6px;
}

.work-today-flow-heading small {
  border: 1px solid #d4e3ed;
  background: #f3f7fa;
  color: #49657f;
}

.work-today-workflow-settlement .work-today-flow-heading small {
  border-color: #d5e0eb;
  background: #f1f5f9;
  color: #315f93;
}

.work-today-flow-card .work-today-date-card,
.work-today-flow-card .work-today-subaccounts,
.work-today-flow-card .work-today-stage,
.work-today-volume-card > article,
.work-today-settlement-metrics > article {
  border-color: #d7e1eb;
  border-radius: 7px;
  background: #f8fafc;
}

.work-today-flow-card-complete {
  background: #fbfcfe;
}

.work-today-flow-card-complete .work-today-completion {
  padding: 7px;
  border: 1px solid #d7e1eb;
  border-radius: 7px;
  background: #fff;
}

.work-today-actions {
  padding-top: 0;
}

@media (max-width: 640px) {
  .work-today-workflow,
  .work-today-workflow-settlement {
    padding: 5px;
    border-radius: 7px;
  }

  .work-today-part-header,
  .work-today-workflow-settlement .work-today-part-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 40px;
    margin-bottom: 5px;
    padding: 5px 7px;
    border-radius: 6px;
  }

  .work-today-part-header > b {
    display: inline-flex;
  }

  .work-today-part-header h3 {
    font-size: 12px;
  }

  .work-today-part-header > span,
  .work-today-part-header > b,
  .work-today-workflow-settlement .work-today-part-header > span,
  .work-today-workflow-settlement .work-today-part-header > b {
    min-width: 23px;
    padding: 3px 5px;
    font-size: 7px;
  }

  #work-today-daily .work-today-flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #work-today-settlement .work-today-flow-list {
    grid-template-columns: 1fr;
  }

  .work-today-flow-card,
  .work-today-flow-step.is-last .work-today-flow-card {
    padding: 7px;
  }

  .work-today-flow-heading {
    min-height: 0;
    margin-bottom: 5px;
  }

  .work-today-flow-card-complete .work-today-completion {
    padding: 5px;
  }
}

/* 오늘 업무 최종 대시보드 레이아웃 */
.work-today-dashboard-panel,
.work-today-workflow-settlement.work-today-dashboard-panel {
  padding: 14px;
  overflow: hidden;
  border: 2px solid #8fc8ae;
  border-top-width: 4px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 24px rgba(15, 93, 61, .08);
}

.work-today-dashboard-panel .work-today-part-header,
.work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  min-height: 44px;
  margin: 0 0 12px;
  padding: 0 4px;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #123f32;
}

.work-today-dashboard-panel .work-today-part-header > span,
.work-today-dashboard-panel .work-today-part-header > b,
.work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header > span,
.work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header > b {
  min-width: 0;
  border: 0;
}

.work-today-dashboard-panel .work-today-part-header > span,
.work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header > span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #149274, #08725b);
  color: #fff;
  box-shadow: 0 4px 10px rgba(8, 114, 91, .2);
  font-size: 11px;
  font-weight: 950;
}

.work-today-dashboard-panel .work-today-part-header h3,
.work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header h3 {
  color: #123f32;
  font-size: 20px;
  font-weight: 950;
}

.work-today-dashboard-panel .work-today-part-header > b,
.work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header > b {
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef8f4;
  color: #267259;
  font-size: 9px;
}

.work-today-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.work-today-dashboard-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #cfdde2;
  border-radius: 13px;
  background: linear-gradient(160deg, #fff, #f9fcfb);
  box-shadow: 0 2px 7px rgba(15, 23, 42, .045);
}

.work-today-progress-dashboard > .work-today-date-card,
.work-today-progress-dashboard > .work-today-subaccounts {
  grid-column: span 3;
  min-height: 146px;
}

.work-today-progress-dashboard > .work-today-stage {
  grid-column: span 2;
  display: flex;
  min-height: 136px;
  padding: 13px;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
}

.work-today-progress-dashboard > .work-today-stage h4 {
  justify-content: center;
  color: #164e3d;
  font-size: 12px;
}

.work-today-progress-dashboard > .work-today-stage h4 svg {
  display: block;
  color: #0f8b6d;
}

.work-today-progress-dashboard > .work-today-stage > div {
  width: 100%;
}

.work-today-progress-dashboard > .work-today-stage .work-today-stage-action {
  min-height: 42px;
  border-radius: 8px;
  font-size: 10px;
}

.work-today-progress-dashboard > .work-today-stage .work-today-stage-reset {
  width: 100%;
  min-height: 29px;
  margin: 0;
}

.work-today-dashboard-card.work-today-date-card > strong,
.work-today-dashboard-card .work-today-subaccounts-heading > strong {
  justify-content: center;
  color: #164e3d;
  font-size: 12px;
}

.work-today-dashboard-card .work-today-subaccounts-heading > strong {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.work-today-dashboard-card .work-today-subaccounts-heading > strong svg {
  width: 18px;
  height: 18px;
  color: #0f8b6d;
}

.work-today-dashboard-card .work-today-date-field > span {
  color: #116149;
}

.work-today-dashboard-link {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cfdde2;
  border-radius: 13px;
  background: #fff;
}

.work-today-dashboard-link > summary {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  min-height: 70px;
  padding: 10px 14px;
  align-items: center;
  gap: 10px;
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.work-today-dashboard-link > summary::-webkit-details-marker,
.work-today-settlement-summary > summary::-webkit-details-marker {
  display: none;
}

.work-today-dashboard-link > summary::after {
  content: "›";
  color: #1f3e36;
  font-size: 25px;
  line-height: 1;
}

.work-today-dashboard-link > summary > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.work-today-dashboard-link > summary b {
  color: #183e34;
  font-size: 14px;
}

.work-today-dashboard-link > summary small {
  color: #627970;
  font-size: 10px;
  font-weight: 700;
}

.work-today-dashboard-link-icon,
.work-today-shortcut-icon,
.work-today-dashboard-action-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #edf8f4;
  color: #087a60;
  font-size: 21px;
  font-weight: 900;
}

.work-today-dashboard-link .work-today-report-groups {
  padding: 10px;
  border-top: 1px solid #dce6e9;
}

.work-today-delivery-dashboard {
  display: grid;
  gap: 12px;
}

.work-today-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
}

.work-today-status-grid > article {
  display: grid;
  grid-template-rows: auto 54px auto;
  min-width: 0;
  min-height: 156px;
  padding: 13px;
  gap: 8px;
  border: 1px solid #cfdde2;
  border-radius: 13px;
  background: linear-gradient(160deg, #fff, #f7fcfa);
}

.work-today-status-grid > article[data-metric-card="cancel"] {
  background: linear-gradient(160deg, #fff, #fff8f5);
}

.work-today-status-grid .work-today-metric-heading {
  justify-content: center;
}

.work-today-status-grid .work-today-metric-heading > span {
  color: #294a40;
  font-size: 13px;
  font-weight: 900;
}

.work-today-status-grid .work-today-metric-value {
  min-height: 54px;
  border: 0;
  background: transparent;
}

.work-today-status-grid .work-today-metric-value > input {
  font-size: 28px;
}

.work-today-status-grid .work-today-metric-check,
.work-today-status-grid .work-today-metric-entry {
  min-height: 30px;
  font-size: 9px;
}

.work-today-final-settlement {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  min-height: 88px;
  padding: 14px 18px;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #64ad94;
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, .82), transparent 32%),
    linear-gradient(135deg, #edf9f4, #f9fdfb);
  color: #124c3d;
  box-shadow: 0 5px 16px rgba(15, 118, 89, .1);
}

.work-today-final-settlement-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #d9f2e8;
  color: #087a60;
  font-size: 23px;
  font-weight: 950;
}

.work-today-final-settlement > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.work-today-final-settlement > span:nth-child(2) > strong {
  color: #124c3d;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -.02em;
}

.work-today-final-settlement > span:nth-child(2) > small {
  color: #5a766d;
  font-size: 10px;
  font-weight: 750;
}

.work-today-final-settlement > strong {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: #065f46;
  white-space: nowrap;
}

.work-today-final-settlement output {
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: 1;
}

.work-today-final-settlement em {
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 640px) {
  .work-today-final-settlement {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    min-height: 76px;
    padding: 11px 12px;
    gap: 9px;
    border-radius: 11px;
  }

  .work-today-final-settlement-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 19px;
  }

  .work-today-final-settlement > span:nth-child(2) > strong {
    font-size: 13px;
  }

  .work-today-final-settlement > span:nth-child(2) > small {
    font-size: 8px;
  }

  .work-today-final-settlement output {
    font-size: 27px;
  }
}

.work-today-detail-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.work-today-detail-shortcuts > button,
.work-today-dashboard-action,
.work-today-settlement-summary > summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  min-height: 88px;
  padding: 12px 16px;
  align-items: center;
  gap: 10px;
  border: 1px solid #cfdde2;
  border-radius: 13px;
  background: #fff;
  color: #173f34;
  font: inherit;
  text-align: left;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .04);
}

.work-today-detail-shortcuts > button > span:nth-child(2),
.work-today-dashboard-action > span:nth-child(2),
.work-today-settlement-summary > summary > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.work-today-detail-shortcuts b,
.work-today-dashboard-action b,
.work-today-settlement-summary b {
  color: #173f34;
  font-size: 15px;
  font-weight: 950;
}

.work-today-detail-shortcuts small,
.work-today-dashboard-action small,
.work-today-settlement-summary small {
  color: #527066;
  font-size: 10px;
  font-weight: 700;
}

.work-today-detail-shortcuts i,
.work-today-dashboard-action > i,
.work-today-settlement-summary > summary > i {
  color: #264b40;
  font-size: 25px;
  font-style: normal;
}

.work-today-record-section {
  margin: 0;
}

/* 최종 정산 카드와 입력 창에 기능이 통합되어 중복 하단 카드는 숨긴다. */
.work-today-settlement-summary,
.work-today-record-action,
.work-today-record-section {
  display: none !important;
}

.work-today-dashboard-action {
  width: 100%;
  cursor: pointer;
}

#work-today-complete.work-today-dashboard-action {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 88px;
  padding: 12px 16px;
  align-items: center;
  justify-content: initial;
  gap: 10px;
  border: 1px solid #cfdde2;
  border-radius: 13px;
  background: #fff;
  color: #173f34;
  font-size: inherit;
  text-align: left;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .04);
}

.work-today-record-section:not([open]) {
  display: none;
}

#work-today-complete.is-complete {
  border-color: #44a684;
  background: #eaf8f3;
  color: #0b6b51;
}

.work-today-settlement-summary {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.work-today-settlement-summary > summary {
  min-height: 88px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  list-style: none;
}

.work-today-settlement-summary[open] > summary {
  border-bottom: 1px solid #d7e1e5;
}

.work-today-settlement-summary[open] > summary > i {
  transform: rotate(90deg);
}

.work-today-settlement-summary .work-today-completion {
  display: block;
  padding: 10px;
  border: 0;
  border-radius: 0;
  background: #f8fbfa;
}

.work-today-settlement-summary .work-today-completion dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.work-today-support-none {
  width: 100%;
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .work-today-dashboard-panel,
  .work-today-workflow-settlement.work-today-dashboard-panel {
    padding: 9px;
    border-radius: 15px;
  }

  .work-today-dashboard-panel .work-today-part-header,
  .work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    min-height: 36px;
    margin-bottom: 8px;
    gap: 7px;
  }

  .work-today-dashboard-panel .work-today-part-header > span,
  .work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header > span {
    width: 29px;
    height: 29px;
    font-size: 9px;
  }

  .work-today-dashboard-panel .work-today-part-header h3,
  .work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header h3 {
    font-size: 16px;
  }

  .work-today-dashboard-grid {
    gap: 6px;
  }

  .work-today-dashboard-card {
    padding: 8px;
    border-radius: 9px;
  }

  .work-today-progress-dashboard > .work-today-date-card,
  .work-today-progress-dashboard > .work-today-subaccounts {
    min-height: 126px;
  }

  .work-today-progress-dashboard > .work-today-stage {
    min-height: 108px;
    padding: 7px;
    gap: 5px;
  }

  .work-today-progress-dashboard > .work-today-stage h4 {
    font-size: 9px;
  }

  .work-today-progress-dashboard > .work-today-stage h4 svg {
    width: 15px;
    height: 15px;
  }

  .work-today-progress-dashboard > .work-today-stage .work-today-stage-action {
    min-height: 35px;
    padding: 0 3px;
    font-size: 8px;
  }

  .work-today-progress-dashboard > .work-today-stage .work-today-stage-reset {
    min-height: 23px;
    font-size: 7px;
  }

  .work-today-dashboard-card.work-today-date-card > strong,
  .work-today-dashboard-card .work-today-subaccounts-heading > strong {
    font-size: 9px;
  }

  .work-today-dashboard-link > summary {
    min-height: 60px;
    padding: 8px 10px;
  }

  .work-today-status-grid {
    gap: 6px;
  }

  .work-today-status-grid > article {
    min-height: 128px;
    padding: 7px;
    gap: 4px;
    border-radius: 9px;
  }

  .work-today-status-grid .work-today-metric-heading > span {
    font-size: 10px;
  }

  .work-today-status-grid .work-today-metric-value > input {
    font-size: 22px;
  }

  .work-today-status-grid .work-today-metric-actions {
    display: grid;
    gap: 3px;
  }

  .work-today-status-grid .work-today-metric-check,
  .work-today-status-grid .work-today-metric-entry {
    width: 100%;
    min-height: 25px;
    padding: 0 3px;
    justify-content: center;
    font-size: 7px;
  }

  .work-today-detail-shortcuts {
    gap: 6px;
  }

  .work-today-detail-shortcuts > button,
  .work-today-dashboard-action,
  .work-today-settlement-summary > summary {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    min-height: 72px;
    padding: 9px 10px;
    gap: 7px;
    border-radius: 9px;
  }

  #work-today-complete.work-today-dashboard-action {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    min-height: 72px;
    padding: 9px 10px;
    gap: 7px;
    border-radius: 9px;
  }

  .work-today-dashboard-link-icon,
  .work-today-shortcut-icon,
  .work-today-dashboard-action-icon {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .work-today-detail-shortcuts b,
  .work-today-dashboard-action b,
  .work-today-settlement-summary b {
    font-size: 12px;
  }

  .work-today-detail-shortcuts small,
  .work-today-dashboard-action small,
  .work-today-settlement-summary small {
    font-size: 8px;
  }

  .work-today-settlement-summary .work-today-completion dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 370px) {
  .work-today-dashboard-panel,
  .work-today-workflow-settlement.work-today-dashboard-panel {
    padding: 7px;
  }

  .work-today-progress-dashboard > .work-today-date-card,
  .work-today-progress-dashboard > .work-today-subaccounts {
    min-height: 118px;
  }

  .work-today-detail-shortcuts > button {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    padding: 7px;
  }

  .work-today-shortcut-icon {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
}

/* 대시보드 가독성 보정 */
.work-today-dashboard-panel .work-today-part-header h3,
.work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header h3 {
  font-size: 21px;
}

.work-today-dashboard-panel .work-today-part-header > b,
.work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header > b {
  font-size: 10px;
}

.work-today-dashboard-card.work-today-date-card > strong,
.work-today-dashboard-card .work-today-subaccounts-heading > strong,
.work-today-progress-dashboard > .work-today-stage h4 {
  font-size: 13px;
}

.work-today-dashboard-link > summary b {
  font-size: 15px;
}

.work-today-dashboard-link > summary small {
  font-size: 11px;
}

.work-today-detail-shortcuts b,
.work-today-dashboard-action b,
.work-today-settlement-summary b {
  font-size: 16px;
}

.work-today-detail-shortcuts small,
.work-today-dashboard-action small,
.work-today-settlement-summary small {
  font-size: 11px;
}

@media (max-width: 640px) {
  .work-today-dashboard-panel .work-today-part-header h3,
  .work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header h3 {
    font-size: 18px;
  }

  .work-today-dashboard-panel .work-today-part-header > span,
  .work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header > span {
    font-size: 10px;
  }

  .work-today-dashboard-panel .work-today-part-header > b,
  .work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header > b {
    font-size: 9px;
  }

  .work-today-dashboard-card.work-today-date-card > strong,
  .work-today-dashboard-card .work-today-subaccounts-heading > strong,
  .work-today-progress-dashboard > .work-today-stage h4 {
    font-size: 11px;
  }

  .work-today-date-field > span {
    font-size: 14px;
  }

  .work-today-date-check,
  .work-today-subaccount-none,
  .work-today-subaccount-actions > button,
  .work-today-subaccount-cancel {
    font-size: 9px;
  }

  .work-today-subaccounts-heading > span {
    font-size: 9px;
  }

  .work-today-progress-dashboard > .work-today-stage .work-today-stage-action {
    font-size: 9.5px;
  }

  .work-today-progress-dashboard > .work-today-stage .work-today-stage-reset {
    font-size: 8.5px;
  }

  .work-today-dashboard-link > summary b {
    font-size: 13px;
  }

  .work-today-dashboard-link > summary small {
    font-size: 10px;
  }

  .work-today-status-grid .work-today-metric-heading > span {
    font-size: 11px;
  }

  .work-today-status-grid .work-today-metric-value > input {
    font-size: 26px;
  }

  .work-today-status-grid .work-today-metric-value > em {
    font-size: 10px;
  }

  .work-today-status-grid .work-today-metric-check,
  .work-today-status-grid .work-today-metric-entry {
    font-size: 8.5px;
    line-height: 1.2;
  }

  .work-today-detail-shortcuts b,
  .work-today-dashboard-action b,
  .work-today-settlement-summary b {
    font-size: 14px;
  }

  .work-today-detail-shortcuts small,
  .work-today-dashboard-action small,
  .work-today-settlement-summary small {
    font-size: 10px;
  }

  .work-today-actions button,
  .work-today-edit-slider-label b,
  .work-today-edit-active b {
    font-size: 11px;
  }
}

/* 대시보드 카드 테두리 강조 */
.work-today-dashboard-card,
.work-today-dashboard-link,
.work-today-status-grid > article,
.work-today-detail-shortcuts > button,
#work-today-complete.work-today-dashboard-action,
.work-today-settlement-summary,
.work-today-record-section,
.work-today-flow-card-complete .work-today-completion {
  border-color: #8aa9a0;
  border-width: 1.5px;
  box-shadow: 0 2px 8px rgba(18, 83, 64, .09);
}

.work-today-dashboard-card .work-today-date-field,
.work-today-dashboard-card .work-today-date-check,
.work-today-dashboard-card .work-today-subaccount-none,
.work-today-dashboard-card .work-today-subaccount-actions > button,
.work-today-dashboard-card .work-today-stage-action,
.work-today-dashboard-card .work-today-stage-reset,
.work-today-status-grid .work-today-metric-check,
.work-today-status-grid .work-today-metric-entry {
  border-color: #a2b9b2;
}

.work-today-dashboard-card:hover,
.work-today-dashboard-link:hover,
.work-today-status-grid > article:hover,
.work-today-detail-shortcuts > button:hover,
#work-today-complete.work-today-dashboard-action:hover,
.work-today-settlement-summary:hover {
  border-color: #568b7b;
}

/* 업무 진행: 가구수 / 금일 물량 한 줄 */
.work-today-assignment-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.work-today-assignment-card {
  display: grid;
  grid-template-columns: minmax(90px, .55fr) minmax(140px, 1fr);
  min-height: 104px;
  align-items: center;
  gap: 8px 14px;
}

.work-today-assignment-card .work-today-metric-check {
  grid-column: 1 / -1;
  min-height: 29px;
}

.work-today-assignment-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #164e3d;
}

.work-today-assignment-heading > strong {
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

.work-today-assignment-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eaf8f3;
  color: #087a60;
  font-size: 17px;
  font-weight: 900;
}

.work-today-assignment-value {
  display: flex;
  min-height: 50px;
  padding: 5px 11px;
  align-items: center;
  border: 1.5px solid #a2b9b2;
  border-radius: 9px;
  background: #fff;
}

.work-today-assignment-value > input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #164e3d;
  font: inherit;
  font-size: 24px;
  font-weight: 950;
  text-align: right;
}

.work-today-assignment-value > input::placeholder {
  color: #9aa9a4;
}

.work-today-assignment-value > em {
  margin-left: 6px;
  color: #536d65;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.work-today-status-caption {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  color: #6a7f78;
  font-size: 9px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .work-today-assignment-row {
    gap: 6px;
  }

  .work-today-assignment-card {
    display: flex;
    min-height: 112px;
    padding: 8px;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
  }

  .work-today-assignment-heading {
    justify-content: center;
    gap: 5px;
  }

  .work-today-assignment-heading > strong {
    font-size: 11px;
  }

  .work-today-assignment-icon {
    width: 25px;
    height: 25px;
    font-size: 14px;
  }

  .work-today-assignment-value {
    min-height: 42px;
    padding: 4px 7px;
  }

  .work-today-assignment-value > input {
    font-size: 21px;
  }

  .work-today-assignment-value > em {
    font-size: 9px;
  }

  .work-today-assignment-card .work-today-metric-check {
    min-height: 25px;
    font-size: 8.5px;
  }

  .work-today-status-caption {
    min-height: 25px;
    font-size: 8px;
  }
}

/* 날짜·서브계정: 내용은 무테두리, 수정 버튼만 테두리 */
.work-today-dashboard-card.work-today-date-card > strong,
.work-today-dashboard-card .work-today-subaccounts-heading {
  min-height: 38px;
  margin: -2px -2px 8px;
  padding: 0 4px 9px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #dce7e3;
}

.work-today-dashboard-card .work-today-date-field,
.work-today-dashboard-card .work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field {
  min-height: 52px;
  padding: 5px 4px;
  justify-content: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.work-today-dashboard-card .work-today-date-field > span,
.work-today-dashboard-card .work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field > span {
  flex: 0 1 auto;
  font-size: 21px;
  text-align: center;
}

.work-today-dashboard-card .work-today-date-field > svg {
  display: none;
}

.work-today-dashboard-card .work-today-date-check,
.work-today-dashboard-card .work-today-subaccount-cancel {
  min-height: 38px;
  border: 1.5px solid #9fb5ae;
  border-radius: 8px;
  background: #fff;
  color: #294a40;
  box-shadow: 0 1px 3px rgba(15, 65, 50, .04);
  font-size: 11px;
  font-weight: 900;
}

.work-today-dashboard-card .work-today-subaccount-result {
  min-height: 52px;
  margin: 0;
  padding: 8px 4px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #116149;
  font-size: 17px;
  font-weight: 950;
  text-align: center;
}

.work-today-dashboard-card .work-today-subaccount-cancel {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .work-today-dashboard-card.work-today-date-card > strong,
  .work-today-dashboard-card .work-today-subaccounts-heading {
    min-height: 32px;
    margin-bottom: 6px;
    padding-bottom: 6px;
  }

  .work-today-dashboard-card .work-today-date-field,
  .work-today-dashboard-card .work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field,
  .work-today-dashboard-card .work-today-subaccount-result {
    min-height: 43px;
  }

  .work-today-dashboard-card .work-today-date-field > span,
  .work-today-dashboard-card .work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field > span {
    font-size: 16px;
  }

  .work-today-dashboard-card .work-today-date-check,
  .work-today-dashboard-card .work-today-subaccount-cancel {
    min-height: 34px;
    font-size: 10px;
  }

  .work-today-dashboard-card .work-today-subaccount-result {
    font-size: 14px;
  }
}

/* 대시보드 규격 통일 / 그라데이션 제거 */
.work-today-dashboard-panel,
.work-today-workflow-settlement.work-today-dashboard-panel,
.work-today-dashboard-card,
.work-today-dashboard-link,
.work-today-status-grid > article,
.work-today-detail-shortcuts > button,
#work-today-complete.work-today-dashboard-action,
.work-today-settlement-summary,
.work-today-record-section,
.work-today-flow-card-complete .work-today-completion,
.work-today-dashboard-card:has(.work-today-date-check input:checked),
.work-today-subaccounts.is-complete,
.work-today-status-grid > article[data-metric-card="cancel"] {
  background: #fff;
  background-image: none;
}

.work-today-dashboard-panel .work-today-part-header > span,
.work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header > span,
.work-today-flow-card-complete #work-today-complete {
  background: #0d8066;
  background-image: none;
}

.work-today-dashboard-card,
.work-today-dashboard-link,
.work-today-status-grid > article,
.work-today-detail-shortcuts > button,
#work-today-complete.work-today-dashboard-action,
.work-today-settlement-summary,
.work-today-record-section {
  border: 1.5px solid #83a99e;
  border-radius: 10px;
  box-shadow: none;
}

.work-today-progress-dashboard > .work-today-date-card,
.work-today-progress-dashboard > .work-today-subaccounts {
  display: flex;
  min-height: 160px;
  padding: 11px;
  flex-direction: column;
}

.work-today-dashboard-card.work-today-date-card > strong,
.work-today-dashboard-card .work-today-subaccounts-heading {
  width: 100%;
  min-height: 38px;
  margin: 0 0 8px;
  padding: 0 4px 8px;
  flex: 0 0 auto;
}

.work-today-dashboard-card .work-today-date-confirmed {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.work-today-dashboard-card .work-today-date-field,
.work-today-dashboard-card .work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field,
.work-today-dashboard-card .work-today-subaccount-result {
  min-height: 55px;
  flex: 1 1 auto;
}

.work-today-dashboard-card .work-today-date-check,
.work-today-dashboard-card .work-today-subaccount-cancel,
.work-today-dashboard-card .work-today-subaccount-actions > button {
  width: 100%;
  min-height: 36px;
  border: 1.5px solid #9eb5ae;
  border-radius: 7px;
  background: #fff;
  background-image: none;
  box-shadow: none;
}

.work-today-dashboard-card .work-today-subaccount-cancel {
  margin-top: auto;
}

.work-today-assignment-value,
.work-today-dashboard-card .work-today-stage-action,
.work-today-dashboard-card .work-today-stage-reset,
.work-today-status-grid .work-today-metric-value,
.work-today-status-grid .work-today-metric-check,
.work-today-status-grid .work-today-metric-entry {
  background: #fff;
  background-image: none;
  box-shadow: none;
}

@media (max-width: 640px) {
  .work-today-dashboard-card,
  .work-today-dashboard-link,
  .work-today-status-grid > article,
  .work-today-detail-shortcuts > button,
  #work-today-complete.work-today-dashboard-action,
  .work-today-settlement-summary,
  .work-today-record-section {
    border-radius: 9px;
  }

  .work-today-progress-dashboard > .work-today-date-card,
  .work-today-progress-dashboard > .work-today-subaccounts {
    min-height: 145px;
    padding: 8px;
  }

  .work-today-dashboard-card.work-today-date-card > strong,
  .work-today-dashboard-card .work-today-subaccounts-heading {
    min-height: 32px;
    margin-bottom: 6px;
    padding-bottom: 6px;
  }

  .work-today-dashboard-card .work-today-date-field,
  .work-today-dashboard-card .work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field,
  .work-today-dashboard-card .work-today-subaccount-result {
    min-height: 48px;
  }

  .work-today-dashboard-card .work-today-date-check,
  .work-today-dashboard-card .work-today-subaccount-cancel,
  .work-today-dashboard-card .work-today-subaccount-actions > button {
    min-height: 34px;
  }
}

/* 단색 배경 복원 + 날짜/서브계정 3단 정렬 */
.work-today-dashboard-card {
  background: #f4faf7;
}

.work-today-progress-dashboard > .work-today-stage,
.work-today-assignment-card {
  background: #f6faf8;
}

.work-today-dashboard-link,
.work-today-detail-shortcuts > button,
#work-today-complete.work-today-dashboard-action,
.work-today-settlement-summary {
  background: #fbfdfc;
}

.work-today-status-grid > article {
  background: #f5faf8;
}

.work-today-status-grid > article[data-metric-card="cancel"] {
  background: #fff6f2;
}

.work-today-status-grid > article[data-metric-card="missing"] {
  background: #f0faf6;
}

.work-today-progress-dashboard > .work-today-date-card,
.work-today-progress-dashboard > .work-today-subaccounts.is-complete {
  display: grid;
  height: 160px;
  min-height: 160px;
  grid-template-rows: 38px minmax(0, 1fr) 36px;
  padding: 11px;
  align-items: stretch;
  gap: 0;
}

.work-today-dashboard-card.work-today-date-card > strong,
.work-today-dashboard-card .work-today-subaccounts-heading {
  height: 38px;
  min-height: 38px;
  margin: 0;
  padding: 0 4px 8px;
  align-self: stretch;
  box-sizing: border-box;
}

.work-today-dashboard-card .work-today-date-confirmed {
  display: contents;
}

.work-today-dashboard-card .work-today-date-field,
.work-today-dashboard-card .work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field,
.work-today-dashboard-card .work-today-subaccount-result {
  display: flex;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 6px 4px;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  box-sizing: border-box;
}

.work-today-dashboard-card .work-today-date-check,
.work-today-dashboard-card .work-today-subaccount-cancel {
  width: 100%;
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0 10px;
  align-self: end;
  box-sizing: border-box;
}

.work-today-progress-dashboard > .work-today-subaccounts.is-complete .work-today-subaccount-result {
  grid-row: 2;
}

.work-today-progress-dashboard > .work-today-subaccounts.is-complete .work-today-subaccount-cancel {
  grid-row: 3;
}

.work-today-dashboard-card .work-today-date-field > span,
.work-today-dashboard-card .work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field > span {
  font-size: 19px;
  line-height: 1.2;
}

.work-today-dashboard-card .work-today-subaccount-result {
  font-size: 17px;
  line-height: 1.2;
}

.work-today-dashboard-card .work-today-date-check,
.work-today-dashboard-card .work-today-subaccount-cancel {
  font-size: 11px;
  line-height: 1;
}

@media (max-width: 640px) {
  .work-today-progress-dashboard > .work-today-date-card,
  .work-today-progress-dashboard > .work-today-subaccounts.is-complete {
    height: 145px;
    min-height: 145px;
    grid-template-rows: 32px minmax(0, 1fr) 34px;
    padding: 8px;
  }

  .work-today-dashboard-card.work-today-date-card > strong,
  .work-today-dashboard-card .work-today-subaccounts-heading {
    height: 32px;
    min-height: 32px;
    padding-bottom: 6px;
  }

  .work-today-dashboard-card .work-today-date-check,
  .work-today-dashboard-card .work-today-subaccount-cancel {
    height: 34px;
    min-height: 34px;
  }

  .work-today-dashboard-card .work-today-date-field > span,
  .work-today-dashboard-card .work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field > span {
    font-size: 16px;
  }

  .work-today-dashboard-card .work-today-subaccount-result {
    font-size: 14px;
  }

  .work-today-dashboard-card .work-today-date-check,
  .work-today-dashboard-card .work-today-subaccount-cancel {
    font-size: 10px;
  }
}

/* 날짜/서브계정 최종 동일 규격 */
.work-today-progress-dashboard > .work-today-date-card,
.work-today-progress-dashboard > .work-today-subaccounts.is-complete {
  display: flex;
  width: 100%;
  height: 160px;
  min-height: 160px;
  padding: 11px;
  align-items: stretch;
  flex-direction: column;
  box-sizing: border-box;
}

.work-today-dashboard-card.work-today-date-card > strong,
.work-today-dashboard-card .work-today-subaccounts-heading {
  display: flex;
  width: 100%;
  height: 38px;
  min-height: 38px;
  margin: 0;
  padding: 0 4px 8px;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  box-sizing: border-box;
}

.work-today-dashboard-card .work-today-date-confirmed {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  grid-template-rows: minmax(0, 1fr) 36px;
  gap: 0;
}

.work-today-dashboard-card .work-today-date-field,
.work-today-dashboard-card .work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field,
.work-today-dashboard-card .work-today-subaccount-result {
  display: flex;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 6px 4px;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  align-self: stretch;
  text-align: center;
  box-sizing: border-box;
}

.work-today-dashboard-card .work-today-date-field > span,
.work-today-dashboard-card .work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field > span {
  display: block;
  width: 100%;
  flex: 0 0 100%;
  text-align: center;
}

.work-today-dashboard-card .work-today-date-check,
.work-today-dashboard-card .work-today-subaccount-cancel {
  display: flex;
  width: 100%;
  max-width: none;
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  align-self: stretch;
  box-sizing: border-box;
}

.work-today-progress-dashboard > .work-today-subaccounts.is-complete .work-today-subaccount-result {
  min-height: 0;
  flex: 1 1 auto;
}

.work-today-progress-dashboard > .work-today-subaccounts.is-complete .work-today-subaccount-cancel {
  margin-top: 0;
}

@media (max-width: 640px) {
  .work-today-progress-dashboard > .work-today-date-card,
  .work-today-progress-dashboard > .work-today-subaccounts.is-complete {
    height: 145px;
    min-height: 145px;
    padding: 8px;
  }

  .work-today-dashboard-card.work-today-date-card > strong,
  .work-today-dashboard-card .work-today-subaccounts-heading {
    height: 32px;
    min-height: 32px;
    padding-bottom: 6px;
    flex-basis: 32px;
  }

  .work-today-dashboard-card .work-today-date-confirmed {
    grid-template-rows: minmax(0, 1fr) 34px;
  }

  .work-today-dashboard-card .work-today-date-check,
  .work-today-dashboard-card .work-today-subaccount-cancel {
    height: 34px;
    min-height: 34px;
    flex-basis: 34px;
  }
}

/* 입력 상태: 입력 전 흰색 / 입력 후 단색 배경 */
.work-today-dashboard-card,
.work-today-progress-dashboard > .work-today-stage,
.work-today-assignment-card,
.work-today-dashboard-link,
.work-today-status-grid > article,
.work-today-status-grid > article[data-metric-card="cancel"],
.work-today-status-grid > article[data-metric-card="missing"] {
  background: #fff;
  background-image: none;
  transition: background-color .16s ease, border-color .16s ease;
}

.work-today-dashboard-card.work-today-date-card:has(.work-today-date-check input:checked),
.work-today-subaccounts.is-complete,
.work-today-progress-dashboard > .work-today-stage.is-complete,
.work-today-assignment-card.is-complete,
.work-today-dashboard-link:has(.work-today-report-slot.is-entered),
.work-today-status-grid > article.is-volume.has-value,
.work-today-status-grid > article.has-entries,
.work-today-status-grid > article:has(.work-today-metric-check input:checked) {
  border-color: #69a58f;
  background: #edf8f3;
  background-image: none;
}

.work-today-status-grid > article[data-metric-card="cancel"].has-entries,
.work-today-status-grid > article[data-metric-card="cancel"]:has(.work-today-metric-check input:checked) {
  border-color: #d5a18f;
  background: #fff1eb;
}

.work-today-status-grid > article[data-metric-card="missing"].has-entries,
.work-today-status-grid > article[data-metric-card="missing"]:has(.work-today-metric-check input:checked) {
  border-color: #70ae99;
  background: #eaf8f2;
}

.work-today-assignment-card:has(input[type="number"]:placeholder-shown) {
  background: #fff;
}

/* holiday/list.php 방식의 파트 제목 바 */
.work-today-dashboard-panel,
.work-today-workflow-settlement.work-today-dashboard-panel {
  position: relative;
  padding: 10px 8px 8px;
  border: 1.5px solid #5c9b7d;
  border-top: 6px solid #167447;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(15, 73, 48, .07);
}

.work-today-dashboard-panel .work-today-part-header,
.work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  min-height: 42px;
  margin: 0 0 9px;
  padding: 8px 11px;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 4px;
  background: #edf6f1;
  background-image: none;
  color: #185e3b;
}

.work-today-dashboard-panel .work-today-part-header > span.work-today-part-header-icon,
.work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header > span.work-today-part-header-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  min-width: 16px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.work-today-part-header-icon > svg {
  width: 15px;
  height: 15px;
}

.work-today-dashboard-panel .work-today-part-header h3,
.work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header h3 {
  margin: 0;
  color: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}

.work-today-dashboard-panel .work-today-part-header > b,
.work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header > b {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 11px;
  font-weight: 900;
}

.work-today-dashboard-card,
.work-today-dashboard-link,
.work-today-status-grid > article,
.work-today-detail-shortcuts > button,
#work-today-complete.work-today-dashboard-action,
.work-today-settlement-summary,
.work-today-record-section {
  border-color: #6f9f90;
}

@media (max-width: 640px) {
  .work-today-dashboard-panel,
  .work-today-workflow-settlement.work-today-dashboard-panel {
    padding: 7px 5px 5px;
    border-top-width: 5px;
    border-radius: 6px;
  }

  .work-today-dashboard-panel .work-today-part-header,
  .work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header {
    grid-template-columns: 17px minmax(0, 1fr) auto;
    min-height: 38px;
    margin-bottom: 6px;
    padding: 7px 9px;
    gap: 6px;
  }

  .work-today-dashboard-panel .work-today-part-header h3,
  .work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header h3 {
    font-size: 14px;
  }

  .work-today-dashboard-panel .work-today-part-header > b,
  .work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header > b {
    display: block;
    font-size: 10px;
  }
}

/* Subaccount editor actions: keep the active action visible and hidden controls hidden. */
.work-today-dashboard-card .work-today-subaccount-actions[hidden],
.work-today-dashboard-card .work-today-subaccount-cancel[hidden] {
  display: none;
}

.work-today-dashboard-card .work-today-subaccount-actions > #work-today-subaccount-confirm {
  display: inline-flex;
  visibility: visible;
  align-items: center;
  justify-content: center;
  color: #176148;
  -webkit-text-fill-color: #176148;
  font-size: 10px;
  font-weight: 900;
  opacity: 1;
}

.work-today-dashboard-card .work-today-subaccount-actions > #work-today-subaccount-confirm:disabled {
  border-color: #c4d1cc;
  background: #f3f6f5;
  color: #768b84;
  -webkit-text-fill-color: #768b84;
  opacity: 1;
}

.work-today-dashboard-card .work-today-subaccount-actions > #work-today-subaccount-confirm:not(:disabled) {
  border-color: #5d9683;
  background: #edf8f3;
  color: #155e45;
  -webkit-text-fill-color: #155e45;
}

/* 서브계정은 카드에서 결과만 보여주고 모든 입력은 팝업에서 처리합니다. */
.work-today-dashboard-card .work-today-subaccount-open {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 8px 4px 4px;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #66766f;
  font: inherit;
  cursor: pointer;
}

.work-today-dashboard-card .work-today-subaccount-open .work-today-subaccount-result {
  display: flex;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.work-today-dashboard-card .work-today-subaccount-open > i {
  color: #25735a;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
}

.work-today-subaccounts.is-complete .work-today-subaccount-open {
  color: #155e45;
}

.work-today-subaccount-sheet .work-today-detail-sheet-shell {
  width: 100%;
  min-height: min(82vh, 760px);
  max-height: min(90vh, 820px);
  border-color: #5d9683;
}

.work-today-detail-sheet.work-today-subaccount-sheet {
  width: min(calc(100% - 40px), 760px);
  max-height: min(90vh, 820px);
}

.work-today-subaccount-sheet-body {
  display: grid;
  padding: 30px 34px 38px;
  align-content: start;
  gap: 18px;
}

.work-today-subaccount-sheet .work-today-subaccount-none,
.work-today-subaccount-sheet .work-today-subaccount-rows {
  margin-top: 0;
}

.work-today-subaccount-sheet .work-today-subaccount-none {
  min-height: 50px;
  padding: 12px 15px;
  border-width: 1.5px;
  font-size: 13px;
}

.work-today-subaccount-sheet .work-today-subaccount-rows {
  gap: 14px;
  padding: 8px 0;
}

.work-today-subaccount-sheet .work-today-subaccount-entries {
  display: grid;
  gap: 10px;
}

.work-today-subaccount-sheet .work-today-subaccount-entries[hidden] {
  display: none;
}

.work-today-subaccount-sheet .work-today-subaccount-row {
  grid-template-columns: 24px minmax(0, 1fr) auto;
  padding: 14px;
  gap: 12px;
  border: 1.5px solid #a9c2ba;
  border-radius: 10px;
  background: #f8fbfa;
}

.work-today-subaccount-sheet .work-today-subaccount-row select,
.work-today-subaccount-sheet .work-today-subaccount-row button {
  min-height: 48px;
  font-size: 13px;
}

.work-today-subaccount-sheet .work-today-subaccount-row .work-today-subaccount-commit {
  min-width: 54px;
  border-color: #5d9683;
  background: #edf8f3;
  color: #155e45;
}

.work-today-subaccount-sheet .work-today-subaccount-row .work-today-subaccount-commit:disabled {
  border-color: #cbd5d1;
  background: #f2f5f4;
  color: #82918c;
  cursor: not-allowed;
}

.work-today-subaccount-sheet .work-today-subaccount-entry {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  min-height: 58px;
  padding: 10px 14px;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #a9c2ba;
  border-radius: 10px;
  background: #f8fbfa;
}

.work-today-subaccount-sheet .work-today-subaccount-entry-number {
  color: #176148;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.work-today-subaccount-sheet .work-today-subaccount-entry-label {
  min-width: 0;
  color: #344054;
  font-size: 13px;
}

.work-today-subaccount-sheet .work-today-subaccount-entry button {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #fecaca;
  border-radius: 7px;
  background: #fff7f7;
  color: #d52b3a;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.work-today-subaccount-sheet header {
  min-height: 68px;
  padding: 15px 22px;
}

.work-today-subaccount-sheet header h3 {
  font-size: 18px;
}

.work-today-subaccount-sheet footer {
  padding: 18px 34px max(24px, env(safe-area-inset-bottom));
}

.work-today-subaccount-sheet footer button {
  min-height: 52px;
  font-size: 14px;
}

.work-today-subaccount-sheet .work-today-subaccount-confirm:disabled {
  border-color: #c4d1cc;
  background: #f1f4f3;
  color: #82918c;
  opacity: 1;
}

@media (max-width: 640px) {
  .work-today-dashboard-card .work-today-subaccount-open {
    padding-top: 5px;
  }

  .work-today-dashboard-card .work-today-subaccount-open .work-today-subaccount-result {
    font-size: 13px;
  }

  .work-today-detail-sheet.work-today-subaccount-sheet {
    width: calc(100% - 12px);
    max-height: calc(100dvh - 18px);
  }

  .work-today-subaccount-sheet .work-today-detail-sheet-shell {
    min-height: calc(100dvh - 18px);
    max-height: calc(100dvh - 18px);
  }

  .work-today-subaccount-sheet-body {
    padding: 26px 20px 34px;
    gap: 16px;
  }

  .work-today-subaccount-sheet .work-today-subaccount-row {
    padding: 13px 12px;
    gap: 9px;
  }

  .work-today-subaccount-sheet header {
    min-height: 62px;
    padding: 12px 18px;
  }

  .work-today-subaccount-sheet footer {
    padding: 16px 20px max(20px, env(safe-area-inset-bottom));
  }
}

/* 날짜 확정 후에는 별도 버튼 없이 날짜 클릭으로 수정 모드에 진입한다. */
.work-today-dashboard-card .work-today-date-confirmed:has(.work-today-date-check input:checked) {
  grid-template-rows: minmax(0, 1fr);
}

.work-today-dashboard-card .work-today-date-check:has(input:checked) {
  display: none;
}

.work-today-dashboard-card .work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field,
.work-today-date-field:has(input[readonly]),
.work-today-date-field:has(input:disabled) {
  cursor: pointer;
}

/* 서브계정 사용 안함: 입력 날짜 확인과 동일한 카드 하단 체크 스타일 */
.work-today-dashboard-card .work-today-subaccount-inline-none,
.work-today-subaccounts.is-complete .work-today-subaccount-inline-none {
  display: flex;
  width: 100%;
  max-width: none;
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  align-self: stretch;
  gap: 5px;
  border: 1.5px solid #9eb5ae;
  border-radius: 7px;
  background: #fff;
  color: #294a40;
  box-shadow: none;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-sizing: border-box;
}

.work-today-dashboard-card .work-today-subaccount-inline-none:has(input:checked) {
  display: none;
}

@media (max-width: 640px) {
  .work-today-dashboard-card .work-today-subaccount-inline-none,
  .work-today-subaccounts.is-complete .work-today-subaccount-inline-none {
    height: 34px;
    min-height: 34px;
    flex-basis: 34px;
    font-size: 10px;
  }
}

/* 완료 상태의 수정 진입점은 우측 상단 톱니 버튼 하나로 통일한다. */
.work-today-subaccounts.is-complete #work-today-subaccount-count {
  display: none;
}

.work-today-subaccounts.is-complete .work-today-subaccount-open {
  cursor: default;
}

.work-today-date-card:has(.work-today-date-check input:checked) .work-today-date-field,
.work-today-date-field:has(input[readonly]),
.work-today-date-field:has(input:disabled) {
  cursor: default;
}

/* 단계 완료 카드의 기존 전체폭 취소 버튼 규칙보다 톱니 배치를 우선한다. */
.work-today-progress-dashboard > .work-today-stage .work-today-stage-reset {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  margin: 0;
  padding: 5px;
}

@media (max-width: 640px) {
  .work-today-progress-dashboard > .work-today-stage .work-today-stage-reset {
    top: 5px;
    right: 5px;
    width: 26px;
    min-width: 26px;
    height: 26px;
    min-height: 26px;
    padding: 4px;
  }
}

/* 오늘 날짜 제목은 크게, 왼쪽 정렬로 표시한다. */
.work-today-dashboard-card.work-today-date-card > strong {
  justify-content: flex-start;
  padding-right: 68px;
  padding-left: 8px;
  font-size: 18px;
  text-align: left;
}

.work-today-dashboard-card.work-today-date-card > strong svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

@media (max-width: 640px) {
  .work-today-dashboard-card.work-today-date-card > strong {
    padding-right: 58px;
    padding-left: 6px;
    font-size: 16px;
  }

  .work-today-dashboard-card.work-today-date-card > strong svg {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }
}

/* 업무 진행 제목을 크게 표시하고 단계 문구가 빠진 헤더를 왼쪽 정렬한다. */
#work-today-daily .work-today-part-header {
  grid-template-columns: 18px minmax(0, 1fr);
}

#work-today-daily .work-today-part-header h3 {
  font-size: 22px;
}

@media (max-width: 640px) {
  #work-today-daily .work-today-part-header {
    grid-template-columns: 17px minmax(0, 1fr);
  }

  #work-today-daily .work-today-part-header h3 {
    font-size: 19px;
  }
}

/* 모바일 날짜·서브계정 카드는 가운데 상태 여백을 줄여 간결하게 표시한다. */
@media (max-width: 640px) {
  .work-today-progress-dashboard > .work-today-date-card,
  .work-today-progress-dashboard > .work-today-subaccounts,
  .work-today-progress-dashboard > .work-today-subaccounts.is-complete {
    height: 108px;
    min-height: 108px;
    padding: 5px;
  }

  .work-today-dashboard-card.work-today-date-card > strong,
  .work-today-dashboard-card .work-today-subaccounts-heading {
    height: 24px;
    min-height: 24px;
    padding: 0 2px 2px;
    flex-basis: 24px;
  }

  .work-today-dashboard-card .work-today-date-confirmed {
    grid-template-rows: minmax(0, 1fr) 28px;
  }

  .work-today-dashboard-card .work-today-date-field,
  .work-today-dashboard-card .work-today-date-confirmed:has(.work-today-date-check input:checked) .work-today-date-field,
  .work-today-dashboard-card .work-today-subaccount-result,
  .work-today-dashboard-card .work-today-subaccount-open {
    min-height: 0;
    margin: 0;
    padding: 0 2px;
    line-height: 1;
  }

  .work-today-dashboard-card .work-today-date-check,
  .work-today-dashboard-card .work-today-subaccount-inline-none {
    height: 28px;
    min-height: 28px;
    flex-basis: 28px;
  }
}

/* 서브계정 입력 완료 후에는 하단 사용 안함 체크 영역을 표시하지 않는다. */
.work-today-subaccounts.is-complete .work-today-subaccount-inline-none {
  display: none;
}

/* 선택한 서브계정은 한 줄에 한 명씩 표시한다. */
.work-today-subaccounts.is-complete .work-today-subaccount-result {
  flex-direction: column;
  line-height: 1.45;
}

.work-today-subaccount-person {
  display: block;
  font-weight: 400;
  white-space: nowrap;
}

.work-today-subaccount-person > strong {
  font-weight: 900;
}

.work-today-subaccount-person > span {
  font-weight: 500;
}

/* 모든 카드 제목을 오늘 날짜 제목과 같은 크기·굵기·왼쪽 정렬로 통일한다. */
.work-today-dashboard-card.work-today-date-card > strong,
.work-today-dashboard-card .work-today-subaccounts-heading,
.work-today-progress-dashboard > .work-today-stage > h4,
.work-today-assignment-card .work-today-assignment-heading,
.work-today-report-slot > strong,
.work-today-status-grid .work-today-metric-heading {
  display: flex;
  width: 100%;
  height: 38px;
  min-height: 38px;
  margin: 0;
  padding: 0 36px 8px 8px;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 38px;
  gap: 6px;
  border-bottom: 1px solid #dce7e3;
  box-sizing: border-box;
  text-align: left;
}

.work-today-dashboard-card.work-today-date-card > strong,
.work-today-dashboard-card .work-today-subaccounts-heading > strong,
.work-today-progress-dashboard > .work-today-stage > h4,
.work-today-assignment-card .work-today-assignment-heading > strong,
.work-today-report-slot > strong,
.work-today-status-grid .work-today-metric-heading > span {
  color: #164e3d;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.work-today-dashboard-card .work-today-subaccounts-heading > strong,
.work-today-progress-dashboard > .work-today-stage > h4 {
  justify-content: flex-start;
}

.work-today-dashboard-card .work-today-subaccounts-heading > strong svg,
.work-today-progress-dashboard > .work-today-stage > h4 svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

@media (max-width: 640px) {
  .work-today-dashboard-card.work-today-date-card > strong,
  .work-today-dashboard-card .work-today-subaccounts-heading,
  .work-today-progress-dashboard > .work-today-stage > h4,
  .work-today-assignment-card .work-today-assignment-heading,
  .work-today-report-slot > strong,
  .work-today-status-grid .work-today-metric-heading {
    height: 24px;
    min-height: 24px;
    padding: 0 32px 2px 4px;
    flex-basis: 24px;
    gap: 4px;
  }

  .work-today-dashboard-card.work-today-date-card > strong,
  .work-today-dashboard-card .work-today-subaccounts-heading > strong,
  .work-today-progress-dashboard > .work-today-stage > h4,
  .work-today-assignment-card .work-today-assignment-heading > strong,
  .work-today-report-slot > strong,
  .work-today-status-grid .work-today-metric-heading > span {
    font-size: 14px;
  }

  .work-today-dashboard-card .work-today-subaccounts-heading > strong svg,
  .work-today-progress-dashboard > .work-today-stage > h4 svg {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }
}

/* 입차·출차·배송완료 톱니는 카드 제목선에 맞추고 배경을 없앤다. */
.work-today-progress-dashboard > .work-today-stage .work-today-stage-reset {
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
}

.work-today-progress-dashboard > .work-today-stage .work-today-stage-clear {
  display: none;
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 42px;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  margin: 0;
  padding: 5px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #d64545;
  cursor: pointer;
}

.work-today-progress-dashboard > .work-today-stage.is-complete .work-today-stage-clear {
  display: flex;
}

.work-today-progress-dashboard > .work-today-stage .work-today-stage-clear svg {
  display: block;
  width: 18px;
  height: 18px;
}

.work-today-progress-dashboard > .work-today-stage .work-today-stage-clear:hover,
.work-today-progress-dashboard > .work-today-stage .work-today-stage-clear:focus-visible {
  background: rgba(214, 69, 69, .1);
  outline: none;
}

@media (max-width: 640px) {
  .work-today-progress-dashboard > .work-today-stage .work-today-stage-reset {
    top: 7px;
    right: 7px;
    background: transparent;
  }

  .work-today-progress-dashboard > .work-today-stage .work-today-stage-clear {
    top: 7px;
    right: 39px;
  }
}

/* 단계·물량 카드도 날짜 카드처럼 제목은 상단, 값은 가운데에 배치한다. */
.work-today-progress-dashboard > .work-today-stage,
.work-today-assignment-card {
  justify-content: flex-start;
}

.work-today-progress-dashboard > .work-today-stage > h4,
.work-today-assignment-card .work-today-assignment-heading {
  align-self: stretch;
}

.work-today-progress-dashboard > .work-today-stage > div,
.work-today-assignment-card .work-today-assignment-value {
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
}

.work-today-progress-dashboard > .work-today-stage.is-complete time,
.work-today-assignment-card .work-today-assignment-value {
  border: 0;
  border-radius: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
}

.work-today-progress-dashboard > .work-today-stage.is-complete time {
  padding: 0;
}

.work-today-assignment-card .work-today-assignment-value {
  position: relative;
  padding: 0;
}

.work-today-assignment-card .work-today-assignment-value > input {
  padding-right: 30px;
  padding-left: 30px;
  text-align: center;
  transition: transform .16s ease;
}

.work-today-assignment-card .work-today-assignment-value.has-calculation > input {
  transform: translateY(-6px);
}

.work-today-assignment-card .work-today-assignment-calculation {
  position: absolute;
  right: 30px;
  bottom: 1px;
  left: 30px;
  overflow: hidden;
  color: #7b8f88;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.work-today-assignment-card .work-today-assignment-calculation[hidden] {
  display: none;
}

.work-today-assignment-card .work-today-assignment-value > em {
  position: absolute;
  right: 8px;
  margin: 0;
}

.work-today-assignment-card .work-today-assignment-edit {
  top: 11px;
  right: 11px;
}

@media (max-width: 640px) {
  .work-today-progress-dashboard > .work-today-stage > div,
  .work-today-assignment-card .work-today-assignment-value {
    min-height: 0;
  }

  .work-today-assignment-card .work-today-assignment-edit {
    top: 8px;
    right: 8px;
  }
}

/* 모바일 업무 진행 영역: 글자 크기는 유지하고 여백과 높이만 최소화한다. */
@media (max-width: 640px) {
  #work-today-daily.work-today-dashboard-panel {
    padding: 4px 3px 3px;
    border-top-width: 4px;
  }

  #work-today-daily .work-today-part-header {
    min-height: 32px;
    margin-bottom: 4px;
    padding: 4px 6px;
    gap: 4px;
  }

  #work-today-daily .work-today-part-header h3 {
    font-size: 18px;
  }

  #work-today-daily .work-today-dashboard-grid,
  #work-today-daily .work-today-assignment-row {
    gap: 4px;
  }

  #work-today-daily .work-today-dashboard-card {
    border-radius: 8px;
  }

  #work-today-daily .work-today-progress-dashboard > .work-today-date-card,
  #work-today-daily .work-today-progress-dashboard > .work-today-subaccounts,
  #work-today-daily .work-today-progress-dashboard > .work-today-subaccounts.is-complete {
    height: 90px;
    min-height: 90px;
    padding: 4px;
  }

  #work-today-daily .work-today-progress-dashboard > .work-today-subaccounts.is-complete:has(.work-today-subaccount-person:nth-child(3)) {
    height: auto;
  }

  #work-today-daily .work-today-dashboard-card.work-today-date-card > strong,
  #work-today-daily .work-today-dashboard-card .work-today-subaccounts-heading,
  #work-today-daily .work-today-progress-dashboard > .work-today-stage > h4,
  #work-today-daily .work-today-assignment-card .work-today-assignment-heading {
    height: 23px;
    min-height: 23px;
    padding: 0 26px 2px 3px;
    flex-basis: 23px;
  }

  #work-today-daily .work-today-dashboard-card .work-today-date-confirmed {
    grid-template-rows: minmax(0, 1fr) 25px;
  }

  #work-today-daily .work-today-dashboard-card .work-today-date-confirmed:has(.work-today-date-check input:checked) {
    grid-template-rows: minmax(0, 1fr);
  }

  #work-today-daily .work-today-dashboard-card .work-today-date-check,
  #work-today-daily .work-today-dashboard-card .work-today-subaccount-inline-none,
  #work-today-daily .work-today-dashboard-card .work-today-subaccount-actions > button {
    height: 25px;
    min-height: 25px;
    flex-basis: 25px;
  }

  #work-today-daily .work-today-progress-dashboard > .work-today-stage {
    height: 86px;
    min-height: 86px;
    padding: 5px;
    gap: 3px;
  }

  #work-today-daily .work-today-progress-dashboard > .work-today-stage .work-today-stage-action {
    min-height: 28px;
  }

  #work-today-daily .work-today-progress-dashboard > .work-today-stage .work-today-stage-reset {
    top: 5px;
    right: 5px;
    width: 22px;
    min-width: 22px;
    height: 22px;
    min-height: 22px;
    padding: 2px;
  }

  #work-today-daily .work-today-progress-dashboard > .work-today-stage .work-today-stage-clear {
    top: 5px;
    right: 31px;
    width: 22px;
    min-width: 22px;
    height: 22px;
    min-height: 22px;
    padding: 2px;
  }

  #work-today-daily .work-today-assignment-card {
    height: 92px;
    min-height: 92px;
    padding: 5px;
    gap: 3px;
  }

  #work-today-daily .work-today-assignment-card .work-today-metric-check {
    min-height: 23px;
  }

  #work-today-daily .work-today-assignment-card .work-today-assignment-edit {
    top: 5px;
    right: 5px;
    width: 22px;
    min-width: 22px;
    height: 22px;
    min-height: 22px;
    padding: 2px;
  }

  #work-today-daily .work-today-date-edit,
  #work-today-daily .work-today-subaccount-edit {
    top: 4px;
    right: 4px;
    width: 22px;
    min-width: 22px;
    height: 22px;
    min-height: 22px;
    padding: 2px;
  }

  #work-today-daily .work-today-date-clear {
    top: 4px;
    right: 30px;
    width: 22px;
    min-width: 22px;
    height: 22px;
    min-height: 22px;
    padding: 2px;
  }
}

/* 가구수·금일 물량·중간보고 아이콘을 다른 카드의 선형 아이콘과 통일한다. */
#work-today-daily .work-today-assignment-icon,
#work-today-daily .work-today-dashboard-link > summary > .work-today-dashboard-link-icon {
  width: 21px;
  min-width: 21px;
  height: 21px;
  padding: 0;
  flex: 0 0 21px;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
  color: #0f8b6d;
  font-size: 18px;
  line-height: 1;
}

#work-today-daily .work-today-dashboard-link > summary {
  grid-template-columns: 21px minmax(0, 1fr) auto;
  gap: 6px;
}

@media (max-width: 640px) {
  #work-today-daily .work-today-assignment-icon,
  #work-today-daily .work-today-dashboard-link > summary > .work-today-dashboard-link-icon {
    width: 19px;
    min-width: 19px;
    height: 19px;
    flex-basis: 19px;
    font-size: 17px;
  }

  #work-today-daily .work-today-dashboard-link > summary {
    grid-template-columns: 19px minmax(0, 1fr) auto;
    gap: 5px;
  }
}

/* 단계 입력 전에는 시간 자리표시자를 표시하지 않는다. */
#work-today-daily .work-today-stage:not(.is-complete) time {
  display: none;
}

/* 가구수와 금일물량을 한 카드, 두 입력칸, 한 번의 확인으로 구성한다. */
#work-today-daily .work-today-assignment-combined-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 104px;
  gap: 6px;
}

#work-today-daily .work-today-assignment-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 42px;
  align-items: center;
  gap: 8px;
}

#work-today-daily .work-today-assignment-fields .work-today-assignment-value {
  min-width: 0;
}

#work-today-daily .work-today-assignment-fields .work-today-assignment-value > em {
  font-size: 16px;
  font-weight: 400;
}

#work-today-daily .work-today-assignment-divider {
  color: #7b8f88;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

#work-today-daily .work-today-assignment-combined-card .work-today-metric-check {
  grid-column: 1;
}

@media (max-width: 640px) {
  #work-today-daily .work-today-assignment-fields .work-today-assignment-value > em {
    font-size: 14px;
  }
}

/* 업무 진행 내부 카드는 입력을 완료했을 때만 왼쪽 포인트를 표시한다. */
#work-today-daily .work-today-date-card:has(.work-today-date-check input:checked),
#work-today-daily .work-today-subaccounts.is-complete,
#work-today-daily .work-today-stage.is-complete,
#work-today-daily .work-today-assignment-combined-card.is-complete,
#work-today-daily .work-today-dashboard-link:has(.work-today-report-slot.is-entered) {
  border-left: 4px solid #0f8b6d;
}

/* 업무 진행과 배송 현황 외부 카드는 상단 포인트만 남기고 외곽선을 숨긴다. */
#work-today-daily.work-today-dashboard-panel,
#work-today-settlement.work-today-dashboard-panel {
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  box-shadow: none;
}

/* 모바일 완료 카드: 사라진 하단 버튼만큼 높이를 줄여 균형을 맞춘다. */
@media (max-width: 640px) {
  #work-today-daily .work-today-date-card:has(.work-today-date-check input:checked),
  #work-today-daily .work-today-progress-dashboard > .work-today-subaccounts.is-complete {
    height: 76px;
    min-height: 76px;
  }

  #work-today-daily .work-today-progress-dashboard > .work-today-subaccounts.is-complete:has(.work-today-subaccount-person:nth-child(3)) {
    height: auto;
    min-height: 76px;
  }

  #work-today-daily .work-today-progress-dashboard > .work-today-stage.is-complete {
    height: 70px;
    min-height: 70px;
  }

  #work-today-daily .work-today-assignment-card.is-complete {
    height: 72px;
    min-height: 72px;
  }
}

/* 모바일 중간보고: 기본 time 입력 폭이 3열 카드 밖으로 넘치지 않게 한다. */
#work-today-daily .work-today-report-slot,
#work-today-daily .work-today-report-slot label,
#work-today-daily .work-today-report-slot input {
  max-width: 100%;
  box-sizing: border-box;
}

#work-today-daily .work-today-report-slot label,
#work-today-daily .work-today-report-slot input {
  width: 100%;
  min-width: 0;
}

@media (max-width: 640px) {
  #work-today-daily .work-today-report-slot {
    height: auto;
    min-height: 140px;
    padding: 4px;
    overflow: visible;
    aspect-ratio: auto;
  }

  #work-today-daily .work-today-report-slot input[type="time"] {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-right: 2px;
    padding-left: 2px;
    font-size: 11px;
    text-align: center;
    -webkit-appearance: none;
    appearance: none;
  }

  #work-today-daily .work-today-report-slot input[type="time"]::-webkit-date-and-time-value {
    min-width: 0;
    text-align: center;
  }
}

/* 배송 현황: 금일 물량 카드 + 취소·미배송·지원 세로 현황판 */
#work-today-settlement .work-today-status-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 8fr);
  grid-template-rows: repeat(3, minmax(46px, 1fr));
  align-items: stretch;
  gap: 9px 12px;
}

#work-today-settlement .work-today-status-grid > article.is-volume {
  grid-column: 1;
  grid-row: 1 / 4;
  min-height: 158px;
}

#work-today-settlement .work-today-status-grid > article[data-metric-card="cancel"] {
  grid-column: 2;
  grid-row: 1;
}

#work-today-settlement .work-today-status-grid > article[data-metric-card="missing"] {
  grid-column: 2;
  grid-row: 2;
}

#work-today-settlement .work-today-status-grid > article[data-metric-card="support"] {
  grid-column: 2;
  grid-row: 3;
}

#work-today-settlement .work-today-status-grid > article:not(.is-volume) {
  display: grid;
  min-width: 0;
  min-height: 46px;
  padding: 7px 9px;
  grid-template-columns: auto minmax(0, 1fr) 52px;
  grid-template-rows: 1fr;
  align-items: center;
  column-gap: 9px;
  border: 1.5px solid #83a99e;
  border-radius: 8px;
  background: #fff;
}

#work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-heading {
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

#work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-heading > span {
  font-size: 15px;
}

#work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-card-edit,
#work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-entry {
  display: none;
}

#work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-value {
  display: flex;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2px;
  border: 0;
  background: transparent;
  white-space: nowrap;
}

#work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-value > input,
#work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-value > output {
  width: auto;
  min-width: 0;
  padding: 0;
  color: #17324d;
  -webkit-text-fill-color: #17324d;
  font-size: 21px;
  font-weight: 950;
  line-height: 1;
  text-align: right;
  opacity: 1;
}

#work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-value > input {
  width: 1ch;
  max-width: 64px;
  border: 0;
  background: transparent;
  appearance: textfield;
  -moz-appearance: textfield;
}

#work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-value > input::-webkit-inner-spin-button,
#work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-value > input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

#work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-value > em {
  color: #4f665e;
  font-size: 11px;
  font-style: normal;
}

#work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-actions {
  display: block;
  width: 52px;
  min-width: 0;
  justify-self: end;
}

#work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-check {
  width: 52px;
  min-width: 52px;
  height: 30px;
  min-height: 30px;
  margin: 0;
  padding: 5px 8px;
  justify-content: center;
  border: 1px solid #9eb5ae;
  border-radius: 6px;
  background: #fff;
  font-size: 10px;
  white-space: nowrap;
}

#work-today-settlement .work-today-status-grid > article:not(.is-volume).has-entries,
#work-today-settlement .work-today-status-grid > article:not(.is-volume).is-complete {
  border-color: #69a58f;
  background: #edf8f3;
}

#work-today-settlement .work-today-status-grid > article[data-metric-card="cancel"].has-entries,
#work-today-settlement .work-today-status-grid > article[data-metric-card="cancel"].is-complete {
  border-color: #d5a18f;
  background: #fff1eb;
}

@media (max-width: 640px) {
  #work-today-settlement .work-today-status-grid {
    grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr);
    grid-template-rows: repeat(3, minmax(41px, 1fr));
    gap: 6px 7px;
  }

  #work-today-settlement .work-today-status-grid > article.is-volume {
    min-height: 135px;
    padding: 8px;
  }

  #work-today-settlement .work-today-status-grid > article:not(.is-volume) {
    min-height: 41px;
    padding: 5px 6px;
    grid-template-columns: minmax(38px, .62fr) minmax(48px, .9fr) minmax(84px, auto);
    gap: 4px;
  }

  #work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-heading > span {
    font-size: 12px;
  }

  #work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-value > input,
  #work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-value > output {
    font-size: 17px;
  }

  #work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-check {
    min-width: 84px;
    min-height: 28px;
    padding: 3px 5px;
    font-size: 9px;
  }
}

/* 모바일 상세사항 입력창은 브라우저 화면 전체를 사용한다. */
@media (max-width: 640px) {
  #work-today-detail-sheet.work-today-detail-sheet {
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  #work-today-detail-sheet .work-today-detail-sheet-shell {
    display: grid;
    width: 100%;
    height: 100dvh;
    max-height: none;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #work-today-detail-sheet header {
    position: relative;
    min-height: 58px;
    padding: max(10px, env(safe-area-inset-top)) 12px 10px;
  }

  #work-today-detail-sheet .work-today-detail-inputs {
    min-height: 0;
    padding: 12px;
    align-content: start;
    gap: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  #work-today-detail-sheet footer {
    position: relative;
    padding: 10px 12px max(12px, env(safe-area-inset-bottom));
  }
}

/* 모바일 서브계정 입력창도 브라우저 화면 전체를 사용한다. */
@media (max-width: 640px) {
  #work-today-subaccount-sheet.work-today-subaccount-sheet {
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  #work-today-subaccount-sheet .work-today-detail-sheet-shell {
    display: grid;
    width: 100%;
    min-height: 100dvh;
    height: 100dvh;
    max-height: none;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #work-today-subaccount-sheet header {
    position: relative;
    min-height: 58px;
    padding: max(10px, env(safe-area-inset-top)) 12px 10px;
  }

  #work-today-subaccount-sheet .work-today-subaccount-sheet-body {
    min-height: 0;
    padding: 16px 12px;
    align-content: start;
    gap: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  #work-today-subaccount-sheet footer {
    position: relative;
    padding: 10px 12px max(12px, env(safe-area-inset-bottom));
  }
}

/* 모바일 상세사항 입력폼은 여백이 있는 하나의 메인 카드 안에 배치한다. */
@media (max-width: 640px) {
  #work-today-detail-sheet .work-today-detail-inputs {
    display: flex;
    width: auto;
    max-width: calc(100% - 28px);
    margin: 14px 14px max(64px, calc(env(safe-area-inset-bottom) + 48px));
    padding: 14px;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
    border: 1.5px solid #a9c2ba;
    border-radius: 12px;
    background: #fbfdfc;
    box-shadow: 0 2px 8px rgba(15, 73, 48, .07);
  }

  #work-today-detail-sheet .work-today-detail-panel,
  #work-today-detail-sheet .work-today-input-panel,
  #work-today-detail-sheet .work-today-sheet-entry-list {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  #work-today-detail-sheet .work-today-input-panel {
    padding: 12px;
  }

  #work-today-detail-sheet .work-today-count-entry,
  #work-today-detail-sheet .work-today-support-assignment {
    max-width: 100%;
  }

  #work-today-detail-sheet footer {
    position: sticky;
    z-index: 2;
    bottom: 0;
    display: flex;
    width: 100%;
    max-width: none;
    height: 70px;
    min-height: 70px;
    margin: auto 0 0;
    padding: 14px 0;
    align-items: center;
    justify-content: center;
    flex: 0 0 70px;
    box-sizing: border-box;
    border: 0;
    border-top: 1px solid #dce7e3;
    border-radius: 0;
    background: #fbfdfc;
    box-shadow: none;
  }
}

/* 모바일 서브계정 입력창도 상세사항 입력창과 같은 외부 카드 규격을 사용한다. */
@media (max-width: 640px) {
  #work-today-subaccount-sheet .work-today-detail-sheet-shell {
    grid-template-rows: auto minmax(0, 1fr);
  }

  #work-today-subaccount-sheet .work-today-subaccount-sheet-body {
    display: flex;
    width: auto;
    max-width: calc(100% - 28px);
    margin: 14px 14px max(64px, calc(env(safe-area-inset-bottom) + 48px));
    padding: 14px;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
    border: 1.5px solid #a9c2ba;
    border-radius: 12px;
    background: #fbfdfc;
    box-shadow: 0 2px 8px rgba(15, 73, 48, .07);
  }

  #work-today-subaccount-sheet footer {
    position: sticky;
    z-index: 2;
    bottom: 0;
    display: flex;
    width: 100%;
    max-width: none;
    height: 70px;
    min-height: 70px;
    margin: auto 0 0;
    padding: 14px 0;
    align-items: center;
    justify-content: center;
    flex: 0 0 70px;
    box-sizing: border-box;
    border: 0;
    border-top: 1px solid #dce7e3;
    border-radius: 0;
    background: #fbfdfc;
    box-shadow: none;
  }

  #work-today-subaccount-sheet footer .work-today-subaccount-confirm {
    min-height: 42px;
  }
}

/* 입차·출차·배송완료 톱니 버튼은 완료 상태를 유지한 채 날짜와 시간을 수정한다. */
.work-today-progress-dashboard > .work-today-stage .work-today-stage-time-editor {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 31px;
  padding: 3px 6px;
  box-sizing: border-box;
  border: 1.5px solid #69a58f;
  border-radius: 6px;
  background: #fff;
  color: #155e45;
  font: inherit;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.work-today-progress-dashboard > .work-today-stage .work-today-stage-time-editor[hidden],
.work-today-progress-dashboard > .work-today-stage.is-editing-time time {
  display: none;
}

.work-today-progress-dashboard > .work-today-stage .work-today-stage-time-editor {
  flex: 1 1 auto;
}

.work-today-progress-dashboard > .work-today-stage.is-editing-time > div {
  display: flex;
  gap: 0;
}

@media (max-width: 640px) {
  .work-today-progress-dashboard > .work-today-stage .work-today-stage-time-editor {
    min-height: 28px;
    padding: 1px;
    font-size: 13px;
  }

}

/* 날짜 카드의 수정·초기화 아이콘 두 개가 제목과 겹치지 않도록 공간을 확보한다. */
.work-today-dashboard-card.work-today-date-card > strong {
  padding-right: 68px;
}

@media (max-width: 640px) {
  #work-today-daily .work-today-dashboard-card.work-today-date-card > strong {
    padding-right: 58px;
  }
}

/* 단계 초기화는 수정 버튼 바로 왼쪽에 나란히 배치한다. */
.work-today-progress-dashboard > .work-today-stage.is-complete {
  margin-bottom: 0;
}

.work-today-progress-dashboard > .work-today-stage.is-complete > div .work-today-stage-reset {
  position: absolute;
  display: flex;
  top: 10px;
  right: 10px;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  margin: 0;
  padding: 5px;
  border: 0;
  background: transparent;
}

.work-today-progress-dashboard > .work-today-stage.is-editing-time > div .work-today-stage-reset {
  display: none;
}

.work-today-progress-dashboard > .work-today-stage .work-today-stage-clear {
  top: 10px;
  right: 42px;
  bottom: auto;
  left: auto;
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 3px;
  transform: none;
}

.work-today-progress-dashboard > .work-today-stage.is-complete:not(.is-editing-time) > div time {
  width: 100%;
  flex: 1 1 auto;
  white-space: nowrap;
}

/* 화면에는 시각만 표시하고 실제 날짜는 DATETIME 값으로 별도 보존한다. */
.work-today-progress-dashboard > .work-today-stage.is-complete time {
  font-size: clamp(11px, 2.4vw, 15px);
  letter-spacing: -.02em;
}

@media (max-width: 640px) {
  #work-today-daily .work-today-progress-dashboard > .work-today-stage.is-editing-time {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    min-height: 86px;
  }

  #work-today-daily .work-today-progress-dashboard > .work-today-stage.is-editing-time .work-today-stage-time-editor {
    min-height: 38px;
    padding: 5px 8px;
    font-size: 16px;
  }

  #work-today-daily .work-today-progress-dashboard > .work-today-stage.is-complete {
    margin-bottom: 0;
  }

  #work-today-daily .work-today-progress-dashboard > .work-today-stage.is-complete > div .work-today-stage-reset {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 22px;
    min-width: 22px;
    height: 22px;
    min-height: 22px;
    padding: 2px;
  }

  #work-today-daily .work-today-progress-dashboard > .work-today-stage .work-today-stage-clear {
    top: 5px;
    right: 31px;
    bottom: auto;
    left: auto;
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    padding: 2px;
    transform: none;
  }
}

/* 상세사항 입력창: 입력 순서와 상태가 한눈에 보이는 카드형 레이아웃 */
#work-today-detail-sheet {
  --detail-accent: var(--wfops-camp-color, #c44705);
  --detail-accent-strong: var(--wfops-camp-color-strong, #9f3500);
  --detail-accent-soft: color-mix(in srgb, var(--detail-accent) 8%, #fff);
}

#work-today-detail-sheet .work-today-detail-sheet-shell {
  overflow: hidden;
  border-color: #dfe5e8;
  background: #f5f7f8;
}

#work-today-detail-sheet header {
  min-height: 68px;
  padding: 12px 18px;
  border-bottom-color: #e5e9eb;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
}

#work-today-detail-sheet .work-today-detail-sheet-heading {
  display: grid;
  min-width: 0;
  gap: 2px;
}

#work-today-detail-sheet .work-today-detail-sheet-heading small {
  color: var(--detail-accent-strong);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

#work-today-detail-sheet header h3 {
  color: #17212b;
  font-size: 18px;
  letter-spacing: -.03em;
}

#work-today-detail-sheet header button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f5;
  color: #66717c;
  font-size: 22px;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

#work-today-detail-sheet header button:hover {
  background: #e8ecef;
  color: #27313a;
  transform: rotate(3deg);
}

#work-today-detail-sheet .work-today-detail-inputs {
  gap: 12px;
  padding: 16px;
  background: #f5f7f8;
}

#work-today-detail-sheet .work-today-detail-panel {
  padding: 15px;
  border: 1px solid #e1e6e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(28, 39, 49, .04);
}

#work-today-detail-sheet .work-today-detail-panel-heading {
  display: flex;
  margin-bottom: 0;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

#work-today-detail-sheet .work-today-detail-panel-heading::-webkit-details-marker {
  display: none;
}

#work-today-detail-sheet .work-today-detail-panel[open] .work-today-detail-panel-heading {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e4e9eb;
}

#work-today-detail-sheet .work-today-detail-panel-heading > div {
  min-width: 0;
  flex: 1 1 auto;
}

#work-today-detail-sheet .work-today-detail-panel-heading > i {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  border: 1px solid var(--detail-accent-border, color-mix(in srgb, var(--detail-accent-strong) 35%, #dfe5ed));
  border-radius: 8px;
  background: var(--detail-accent-soft);
  color: var(--detail-accent-strong);
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
  transition: transform .16s ease;
}

#work-today-detail-sheet .work-today-detail-panel[open] .work-today-detail-panel-heading > i {
  transform: rotate(180deg);
}

#work-today-detail-sheet .work-today-detail-panel-heading > span {
  display: inline-flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  flex: 0 0 31px;
  border-radius: 10px;
  background: var(--detail-accent-soft);
  color: var(--detail-accent-strong);
  font-size: 9px;
  font-weight: 950;
}

#work-today-detail-sheet .work-today-detail-panel-heading h4,
#work-today-detail-sheet .work-today-detail-panel-heading p {
  margin: 0;
}

#work-today-detail-sheet .work-today-detail-panel-heading h4 {
  color: #202a33;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: -.02em;
}

#work-today-detail-sheet .work-today-detail-panel-heading p {
  margin-top: 2px;
  color: #7a858f;
  font-size: 9px;
  font-weight: 650;
}

#work-today-detail-sheet .work-today-input-panel {
  border: 0;
  border-radius: 10px;
  background: #f6f8f9;
}

#work-today-detail-sheet .work-today-count-entry {
  display: grid;
  padding: 10px;
  grid-template-columns: minmax(0, 1fr) 74px;
  align-items: end;
  gap: 8px;
}

#work-today-detail-sheet .work-today-count-entry label {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(72px, auto) minmax(76px, 1fr);
  align-items: center;
  gap: 8px;
}

#work-today-detail-sheet .work-today-count-entry label span {
  color: #3a4650;
  font-size: 11px;
  font-weight: 900;
}

#work-today-detail-sheet .work-today-count-entry input,
#work-today-detail-sheet .work-today-support-assignment input,
#work-today-detail-sheet .work-today-support-assignment select {
  min-height: 40px;
  border: 1px solid #d6dde1;
  border-radius: 8px;
  background: #fff;
  color: #1f2933;
  font: inherit;
  font-size: 12px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

#work-today-detail-sheet .work-today-count-entry input {
  width: 100%;
  min-width: 0;
  padding: 0 12px;
  box-sizing: border-box;
  text-align: right;
}

#work-today-detail-sheet .work-today-count-entry input:focus,
#work-today-detail-sheet .work-today-support-assignment input:focus,
#work-today-detail-sheet .work-today-support-assignment select:focus {
  border-color: var(--detail-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--detail-accent) 14%, transparent);
}

#work-today-detail-sheet .work-today-count-entry button,
#work-today-detail-sheet #work-today-support-add {
  width: 74px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--detail-accent);
  border-radius: 8px;
  background: #fff;
  color: var(--detail-accent-strong);
  font-size: 10px;
  font-weight: 950;
}

#work-today-detail-sheet .work-today-count-entry button:active,
#work-today-detail-sheet #work-today-support-add:active {
  background: var(--detail-accent-soft);
  transform: translateY(1px);
}

#work-today-detail-sheet .work-today-sheet-entry-list {
  margin-top: 10px;
}

#work-today-detail-sheet .work-today-sheet-entry-list > p {
  display: flex;
  min-height: 42px;
  margin: 0;
  padding: 8px 12px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px dashed #d6dde1;
  border-radius: 9px;
  background: #fbfcfc;
  color: #8a949c;
  font-size: 9px;
}

#work-today-detail-sheet .work-today-sheet-entry-list > div {
  border-color: #e0e5e8;
  background: #fbfcfc;
}

#work-today-detail-sheet .work-today-support-form {
  display: grid;
  padding: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#work-today-detail-sheet .work-today-support-direction {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

#work-today-detail-sheet .work-today-support-direction label {
  display: flex;
  min-height: 38px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid #dbe1e4;
  border-radius: 8px;
  background: #fff;
  color: #56616a;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

#work-today-detail-sheet .work-today-support-direction label:has(input:checked) {
  border-color: color-mix(in srgb, var(--detail-accent) 55%, #fff);
  background: var(--detail-accent-soft);
  color: var(--detail-accent-strong);
}

#work-today-detail-sheet .work-today-support-direction input {
  width: 14px;
  height: 14px;
  accent-color: var(--detail-accent);
}

#work-today-detail-sheet .work-today-support-assignment {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 8px;
}

#work-today-detail-sheet .work-today-support-assignment > .work-today-support-camp,
#work-today-detail-sheet .work-today-support-assignment > .work-today-support-user {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 72px minmax(0, 1fr);
  width: 100%;
  align-items: center;
  gap: 8px;
}

#work-today-detail-sheet .work-today-support-assignment > .work-today-support-camp[hidden],
#work-today-detail-sheet .work-today-support-assignment > .work-today-support-quantity[hidden] {
  display: none;
}

#work-today-detail-sheet .work-today-support-assignment label > span {
  color: #3a4650;
  font-size: 10px;
  font-weight: 900;
}

#work-today-detail-sheet .work-today-support-camp select,
#work-today-detail-sheet .work-today-support-user select {
  width: 100%;
  min-width: 0;
  padding: 0 10px;
}

#work-today-detail-sheet .work-today-support-assignment > .work-today-support-quantity {
  display: grid;
  grid-template-columns: auto 54px auto;
  align-items: center;
  justify-content: end;
  gap: 5px;
}

#work-today-detail-sheet .work-today-support-quantity input {
  width: 54px;
  padding: 0 8px;
  box-sizing: border-box;
  text-align: right;
}

#work-today-detail-sheet footer {
  padding: 12px 0 0;
  border: 0;
  background: transparent;
}

#work-today-detail-sheet footer button {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--detail-accent);
  box-shadow: 0 5px 14px color-mix(in srgb, var(--detail-accent) 22%, transparent);
  font-size: 12px;
}

@media (max-width: 640px) {
  #work-today-detail-sheet .work-today-detail-sheet-shell {
    background: #f5f7f8;
  }

  #work-today-detail-sheet header {
    min-height: 66px;
    padding: max(10px, env(safe-area-inset-top)) 16px 10px;
  }

  #work-today-detail-sheet .work-today-detail-inputs {
    display: flex;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 14px 14px max(14px, env(safe-area-inset-bottom));
    gap: 12px;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    background: #f5f7f8;
    box-shadow: none;
  }

  #work-today-detail-sheet .work-today-detail-panel {
    padding: 13px;
    border-radius: 13px;
  }

  #work-today-detail-sheet .work-today-detail-panel-heading {
    margin-bottom: 10px;
  }

  #work-today-detail-sheet .work-today-input-panel {
    padding: 9px;
  }

  #work-today-detail-sheet footer {
    position: sticky;
    z-index: 3;
    bottom: calc(-1 * max(14px, env(safe-area-inset-bottom)));
    width: calc(100% + 28px);
    height: auto;
    min-height: 72px;
    margin: 4px -14px calc(-1 * max(14px, env(safe-area-inset-bottom)));
    padding: 12px 14px max(12px, env(safe-area-inset-bottom));
    flex: none;
    box-sizing: border-box;
    border-top: 1px solid #e2e7e9;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
  }

  #work-today-detail-sheet footer button {
    min-height: 48px;
  }
}

@media (max-width: 380px) {
  #work-today-detail-sheet .work-today-detail-panel-heading p {
    display: none;
  }

  #work-today-detail-sheet .work-today-count-entry label {
    grid-template-columns: 64px minmax(64px, 1fr);
  }

  #work-today-detail-sheet .work-today-support-direction label {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 9px;
  }
}

/* 상세 기록 버튼은 정산 아래의 독립 메뉴로 표시한다. */
#work-today-record-open.work-today-record-action {
  border: 1.5px solid #83a99e;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

#work-today-record-open.work-today-record-action:hover {
  border-color: #568b7b;
}

/* 배정물량을 입력하기 전에는 후속 업무를 잠근다. */
.work-today-report-board.is-input-locked,
#work-today-settlement [data-metric-card].is-input-locked,
#work-today-detail-all:disabled,
#work-today-complete:disabled {
  filter: saturate(.55);
  opacity: .52;
}

.work-today-report-board.is-input-locked > summary,
#work-today-detail-all:disabled,
#work-today-complete:disabled,
#work-today-settlement [data-metric-card].is-input-locked button,
#work-today-settlement [data-metric-card].is-input-locked input {
  cursor: not-allowed;
}

#work-today-detail-all:disabled:hover,
#work-today-complete:disabled:hover {
  border-color: #83a99e;
  transform: none;
}

/* 수정 기능은 원래의 설정 톱니 아이콘으로 통일한다. */
.work-today-card-edit > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.work-today-card-edit::before {
  content: none;
  display: none;
}

.work-today-report-slot.is-entered .work-today-report-slot-submit > svg {
  display: block;
}

.work-today-report-slot.is-entered .work-today-report-slot-submit::before {
  content: none;
  display: none;
}

.work-today-card-edit,
.work-today-card-edit:hover,
.work-today-card-edit:focus-visible,
.work-today-report-slot.is-entered .work-today-report-slot-submit,
.work-today-report-slot.is-entered .work-today-report-slot-submit:hover,
.work-today-report-slot.is-entered .work-today-report-slot-submit:focus-visible {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* 업무 현황은 공통 헤더/푸터 사이의 main 영역에서 양방향 스크롤한다. */
body.work-status-page-body > main {
  overflow: auto !important;
  padding: 82px 0 var(--layout-main-padding-bottom) !important;
  background: #f7f9fc;
}

body.work-status-page-body .work-status-page {
  width: 1484px;
  min-width: 1484px;
  margin: 0 auto;
  padding: 24px 0 80px;
  box-sizing: border-box;
}

body.work-status-page-body .work-status-titlebar {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  gap: 16px;
}

body.work-status-page-body .work-status-titlebar > a {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

body.work-status-page-body .work-status-titlebar h2 {
  font-size: 30px;
}

body.work-status-page-body .work-status-titlebar p {
  display: block;
}

body.work-status-page-body .work-status-toolbar {
  display: flex;
  margin: -62px auto 24px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body.work-status-page-body .work-status-toolbar > a {
  width: 38px;
  height: 38px;
}

body.work-status-page-body .work-status-date-picker {
  width: auto;
  min-width: 292px;
  height: auto;
  padding: 10px 16px;
}

body.work-status-page-body .work-status-summary {
  display: grid;
  grid-template-columns: 400px 455px 1fr;
  width: 100%;
}

body.work-status-page-body .work-status-summary > article {
  min-height: 116px;
}

body.work-status-page-body .work-status-summary > article + article {
  border-top: 0;
  border-left: 1px solid #edf1f6;
}

body.work-status-page-body .work-status-context-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
}

body.work-status-page-body .work-status-volume-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

body.work-status-page-body .work-status-progress-card {
  display: grid;
  grid-column: auto;
  grid-template-columns: repeat(5, 1fr);
  border-top: 0;
}

body.work-status-page-body .work-status-context-card > div,
body.work-status-page-body .work-status-volume-card > div,
body.work-status-page-body .work-status-progress-card > div {
  padding: 18px 20px;
}

body.work-status-page-body .work-status-progress-card > div:nth-child(4),
body.work-status-page-body .work-status-progress-card > div:nth-child(5) {
  border-top: 0;
}

body.work-status-page-body .work-status-filters {
  display: flex;
  width: 100%;
  margin: 28px 0 12px;
  gap: 12px;
}

body.work-status-page-body .work-status-search {
  width: 260px;
  grid-column: auto;
}

body.work-status-page-body .work-status-filters > label:not(.work-status-search) {
  min-width: 148px;
}

body.work-status-page-body .work-status-filters > label:nth-child(5) {
  min-width: 178px;
}

body.work-status-page-body .work-status-filters > button {
  width: auto;
  margin-left: auto;
  padding: 0 18px;
}

body.work-status-page-body .work-status-filters > button span {
  display: inline;
}

body.work-status-page-body .work-status-legend {
  justify-content: flex-end;
  overflow: visible;
}

body.work-status-page-body .work-status-table-wrap {
  width: 100%;
  overflow: visible;
  background: #fff;
  border: 1px solid var(--ws-border);
}

body.work-status-page-body .work-status-table {
  display: table;
  width: 100%;
  min-width: 1482px;
  border-collapse: collapse;
  table-layout: auto;
}

body.work-status-page-body .work-status-table thead {
  display: table-header-group;
}

body.work-status-page-body .work-status-table tbody {
  display: table-row-group;
}

body.work-status-page-body .work-status-data-row,
body.work-status-page-body .work-status-detail-row,
body.work-status-page-body .work-status-empty-row {
  position: static;
  display: table-row;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.work-status-page-body .work-status-data-row[hidden],
body.work-status-page-body .work-status-detail-row[hidden],
body.work-status-page-body .work-status-empty-row[hidden] {
  display: none !important;
}

body.work-status-page-body .work-status-table td {
  display: table-cell;
  height: 65px;
  min-width: 0;
  padding: 8px 10px;
  position: static !important;
  grid-column: auto !important;
  background: #fff;
  border: 0;
  border-top: 0 !important;
  border-bottom: 1px solid #edf1f5;
  border-radius: 0;
  text-align: center !important;
  white-space: nowrap;
}

body.work-status-page-body .work-status-table th:nth-child(2),
body.work-status-page-body .work-status-table td:nth-child(2) {
  text-align: left !important;
}

body.work-status-page-body .work-status-data-row td::before {
  display: none;
  content: none;
}

body.work-status-page-body .work-status-data-row td:nth-child(1),
body.work-status-page-body .work-status-data-row td:nth-child(5),
body.work-status-page-body .work-status-data-row td:nth-child(6),
body.work-status-page-body .work-status-data-row td:nth-child(7) {
  display: table-cell;
}

body.work-status-page-body .work-status-detail-row {
  margin: 0;
}

body.work-status-page-body .work-status-detail-row td {
  display: table-cell;
  height: auto;
  padding: 0;
  background: #f8fafc;
  border-radius: 0;
}

body.work-status-page-body .work-status-detail-row td > div {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 14px 28px;
  gap: 20px;
}

body.work-status-page-body .work-status-detail-row span {
  min-width: 0;
  justify-content: space-between;
}

body.work-status-page-body .work-status-empty-row td {
  display: table-cell;
  height: 150px;
  text-align: center !important;
}

body.work-status-page-body .work-status-footer {
  display: flex;
  min-height: 68px;
  flex-wrap: nowrap;
}

body.work-status-page-body .work-status-footer p {
  width: auto;
}

body.work-status-page-body .work-status-footer > span {
  margin-left: auto;
}

body.work-status-page-body .work-status-footer button {
  margin-left: 20px;
}

/* 업무 현황: 모바일에서는 여백과 높이를 줄이고 표를 여러 줄 카드로 표시한다. */
@media (max-width: 720px) {
  body.work-status-page-body > main {
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  body.work-status-page-body .work-status-page {
    width: 100%;
    min-width: 0;
    padding: 9px 6px 68px;
  }

  body.work-status-page-body .work-status-titlebar {
    margin-bottom: 8px;
    gap: 8px;
  }

  body.work-status-page-body .work-status-titlebar > a {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  body.work-status-page-body .work-status-titlebar h2 {
    font-size: 21px;
  }

  body.work-status-page-body .work-status-titlebar p {
    display: none;
  }

  body.work-status-page-body .work-status-toolbar {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    width: 100%;
    margin: 0 0 10px;
    gap: 4px;
  }

  body.work-status-page-body .work-status-toolbar > a {
    width: 30px;
    height: 44px;
    border-radius: 8px;
  }

  body.work-status-page-body .work-status-date-picker {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 6px 9px;
    gap: 8px;
    box-sizing: border-box;
  }

  body.work-status-page-body .work-status-date-picker b {
    font-size: 14px;
  }

  body.work-status-page-body .work-status-date-picker small {
    font-size: 9px;
  }

  body.work-status-page-body .work-status-summary {
    display: block;
    width: 100%;
    min-width: 0;
    border-radius: 10px;
  }

  body.work-status-page-body .work-status-summary > article {
    min-height: 0;
  }

  body.work-status-page-body .work-status-summary > article + article {
    border-top: 1px solid #edf1f6;
    border-left: 0;
  }

  body.work-status-page-body .work-status-context-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.work-status-page-body .work-status-volume-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.work-status-page-body .work-status-progress-card {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  body.work-status-page-body .work-status-context-card > div,
  body.work-status-page-body .work-status-volume-card > div,
  body.work-status-page-body .work-status-progress-card > div {
    min-width: 0;
    min-height: 58px;
    padding: 7px 8px;
  }

  body.work-status-page-body .work-status-progress-card > div:nth-child(n + 2) {
    border-left: 1px solid #edf1f6;
  }

  body.work-status-page-body .work-status-progress-card > div:nth-child(n + 3) {
    border-top: 0;
  }

  body.work-status-page-body .work-status-progress-card > div:last-child {
    grid-column: auto;
  }

  body.work-status-page-body .work-status-summary small {
    white-space: normal;
    font-size: 10px;
    line-height: 1.25;
  }

  body.work-status-page-body .work-status-context-card strong {
    margin-top: 4px;
    gap: 5px;
    font-size: 15px;
  }

  body.work-status-page-body .work-status-context-card nav {
    margin-top: 3px;
    gap: 4px;
  }

  body.work-status-page-body .work-status-context-card nav a {
    min-width: 0;
    padding: 5px 8px;
    border-radius: 6px;
  }

  body.work-status-page-body .work-status-volume-card strong,
  body.work-status-page-body .work-status-progress-card strong {
    margin-top: 3px;
    font-size: 16px;
  }

  body.work-status-page-body .work-status-progress-card > div {
    min-height: 54px;
    padding-right: 3px;
    padding-left: 3px;
    gap: 3px;
  }

  body.work-status-page-body .work-status-progress-card svg,
  body.work-status-page-body .work-status-dot {
    width: 14px;
    height: 14px;
  }

  body.work-status-page-body .work-status-progress-card small {
    font-size: 9px;
    white-space: nowrap;
  }

  body.work-status-page-body .work-status-progress-card strong {
    font-size: 14px;
    white-space: nowrap;
  }

  body.work-status-page-body .work-status-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin: 9px 0 6px;
    gap: 5px;
  }

  body.work-status-page-body .work-status-search {
    grid-column: 1 / -1;
    width: 100%;
    height: 38px;
    padding: 0 9px;
  }

  body.work-status-page-body .work-status-filters > label:not(.work-status-search),
  body.work-status-page-body .work-status-filters > label:nth-child(5) {
    min-width: 0;
    height: 38px;
    padding-left: 8px;
  }

  body.work-status-page-body .work-status-filters > label:not(.work-status-search) > span {
    font-size: 11px;
  }

  body.work-status-page-body .work-status-filters select {
    min-width: 0;
    padding: 0 22px 0 5px;
    font-size: 12px;
  }

  body.work-status-page-body .work-status-filters > button {
    grid-column: 1 / -1;
    width: 100%;
    height: 36px;
    margin: 0;
    padding: 0 10px;
  }

  body.work-status-page-body .work-status-filters > button span {
    display: inline;
  }

  body.work-status-page-body .work-status-legend {
    justify-content: flex-start;
    margin: 0 2px 5px;
    gap: 5px 10px;
    flex-wrap: wrap;
    overflow: visible;
    font-size: 10px;
  }

  body.work-status-page-body .work-status-table-wrap {
    width: 100%;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.work-status-page-body .work-status-table {
    display: block;
    width: 100%;
    min-width: 0;
  }

  body.work-status-page-body .work-status-table thead {
    display: none;
  }

  body.work-status-page-body .work-status-table tbody {
    display: grid;
    gap: 6px;
  }

  body.work-status-page-body .work-status-data-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    padding: 7px 5px 5px;
    background: #fff;
    border: 1px solid var(--ws-border);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .03);
  }

  body.work-status-page-body .work-status-table td {
    display: block;
    height: auto;
    min-width: 0;
    padding: 4px 5px;
    position: static !important;
    grid-column: auto !important;
    background: transparent;
    border: 0;
    border-radius: 0;
    text-align: left !important;
    white-space: normal;
  }

  body.work-status-page-body .work-status-data-row td::before {
    display: block;
    margin-bottom: 2px;
    content: attr(data-label);
    color: #94a3b8;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.15;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(1) {
    display: none;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(2) {
    grid-column: 1 / 7 !important;
    grid-row: 1;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(3) {
    grid-column: 7 / 13 !important;
    grid-row: 1;
    padding-right: 34px;
    text-align: right !important;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(3)::before {
    text-align: right;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(4) {
    grid-column: 1 / 3 !important;
    grid-row: 2;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(5) {
    grid-column: 3 / 5 !important;
    grid-row: 2;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(10) {
    grid-column: 5 / 7 !important;
    grid-row: 2;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(6) {
    grid-column: 7 / 9 !important;
    grid-row: 2;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(7) {
    grid-column: 9 / 11 !important;
    grid-row: 2;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(8) {
    grid-column: 11 / 13 !important;
    grid-row: 2;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(9) {
    grid-column: 1 / 13 !important;
    grid-row: 3;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(n + 4):nth-child(-n + 10) {
    padding-right: 2px;
    padding-left: 2px;
    font-size: 10px;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(n + 4):nth-child(-n + 10)::before {
    font-size: 8px;
    letter-spacing: -.03em;
    white-space: nowrap;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(6) .work-status-stage,
  body.work-status-page-body .work-status-data-row td:nth-child(7) .work-status-stage,
  body.work-status-page-body .work-status-data-row td:nth-child(8) .work-status-stage {
    gap: 3px;
    font-size: 10px;
    white-space: nowrap;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(6) .work-status-stage i,
  body.work-status-page-body .work-status-data-row td:nth-child(7) .work-status-stage i,
  body.work-status-page-body .work-status-data-row td:nth-child(8) .work-status-stage i {
    width: 15px;
    height: 15px;
    font-size: 8px;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(9) .work-status-report-list {
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 4px;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(9) .work-status-report {
    padding: 3px 5px;
    border: 1px solid #edf1f5;
    border-radius: 6px;
    background: #f8fafc;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(9) .work-status-report b {
    font-size: 10px;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(9) .work-status-report small {
    margin-top: 1px;
    font-size: 9px;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(4),
  body.work-status-page-body .work-status-data-row td:nth-child(5),
  body.work-status-page-body .work-status-data-row td:nth-child(6),
  body.work-status-page-body .work-status-data-row td:nth-child(7),
  body.work-status-page-body .work-status-data-row td:nth-child(8),
  body.work-status-page-body .work-status-data-row td:nth-child(9),
  body.work-status-page-body .work-status-data-row td:nth-child(10) {
    border-top: 1px solid #edf1f5;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(11) {
    position: absolute !important;
    top: 7px;
    right: 4px;
    padding: 0;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(11)::before {
    display: none;
  }

  body.work-status-page-body .work-status-detail-toggle {
    width: 30px;
    height: 30px;
  }

  body.work-status-page-body .work-status-detail-row {
    display: block;
    margin: -7px 0 0;
  }

  body.work-status-page-body .work-status-detail-row td {
    display: block;
    height: auto;
    padding: 9px 7px 7px;
    background: #f8fafc;
    border: 1px solid var(--ws-border);
    border-top: 0;
    border-radius: 0 0 10px 10px;
  }

  body.work-status-page-body .work-status-detail-row td > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    gap: 6px 12px;
  }

  body.work-status-page-body .work-status-detail-row span {
    gap: 5px;
    font-size: 11px;
  }

  body.work-status-page-body .work-status-empty-row {
    display: block;
  }

  body.work-status-page-body .work-status-empty-row td {
    display: grid;
    height: 84px;
    padding: 8px;
    place-items: center;
    background: #fff;
    border: 1px solid var(--ws-border);
    border-radius: 10px;
  }

  body.work-status-page-body .work-status-footer {
    min-height: 48px;
    padding-top: 5px;
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  body.work-status-page-body .work-status-footer p {
    display: none;
  }

  body.work-status-page-body .work-status-footer > span {
    margin-left: 0;
  }

  body.work-status-page-body .work-status-footer button {
    height: 36px;
    margin-left: auto;
    padding: 0 10px;
  }
}

/* 업무 완료 확인창: 화면 가장자리와 내용 사이에 충분한 여백을 둔다. */
#work-today-complete-confirm-sheet.work-today-detail-sheet {
  width: min(calc(100% - 48px), 560px);
  max-height: calc(100dvh - 48px);
}

#work-today-complete-confirm-sheet .work-today-detail-sheet-shell {
  max-height: calc(100dvh - 48px);
  border-radius: 18px;
}

#work-today-complete-confirm-sheet header {
  min-height: 72px;
  padding: 18px 24px;
}

#work-today-complete-confirm-sheet header h3 {
  font-size: 17px;
}

#work-today-complete-confirm-sheet .work-today-complete-confirm-body {
  padding: 26px 28px 28px;
  gap: 20px;
}

#work-today-complete-confirm-sheet .work-today-complete-confirm-body dl {
  padding: 12px 18px;
}

#work-today-complete-confirm-sheet .work-today-complete-confirm-check {
  min-height: 56px;
  padding: 14px 16px;
}

#work-today-complete-confirm-sheet .work-today-complete-confirm-body footer {
  position: relative;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#work-today-complete-confirm-sheet .work-today-complete-confirm-body footer button {
  min-height: 50px;
  border-radius: 11px;
}

@media (max-width: 640px) {
  #work-today-complete-confirm-sheet.work-today-detail-sheet {
    width: calc(100% - 36px);
    max-height: calc(100dvh - 36px);
  }

  #work-today-complete-confirm-sheet .work-today-detail-sheet-shell {
    max-height: calc(100dvh - 36px);
    border-radius: 16px;
  }

  #work-today-complete-confirm-sheet header {
    min-height: 64px;
    padding: 15px 18px;
  }

  #work-today-complete-confirm-sheet .work-today-complete-confirm-body {
    padding: 20px 18px 22px;
    gap: 16px;
  }

  #work-today-complete-confirm-sheet .work-today-complete-confirm-body dl {
    padding: 10px 14px;
  }
}

/* 상세입력은 배송 현황 오른쪽에 세로로, 최종 정산수량은 다음 줄 전체 폭에 둔다. */
.work-today-status-grid > article.is-volume .work-today-metric-value,
.work-today-status-grid > article.is-volume .work-today-metric-value > input {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.work-today-status-grid > article.is-volume .work-today-metric-value > input:disabled {
  opacity: 1;
  -webkit-text-fill-color: #27364d;
}

.work-today-delivery-dashboard {
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
}

.work-today-delivery-dashboard > .work-today-status-grid {
  grid-column: 1;
  grid-row: 1;
}

.work-today-delivery-dashboard > .work-today-final-settlement {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
}

.work-today-delivery-dashboard > .work-today-final-settlement[hidden] {
  display: none;
}

.work-today-delivery-dashboard > .work-today-detail-shortcuts {
  display: contents;
}

.work-today-delivery-dashboard #work-today-detail-all {
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  padding: 10px 6px;
  align-self: stretch;
  align-content: center;
  text-align: center;
}

.work-today-delivery-dashboard #work-today-detail-all .work-today-shortcut-icon,
.work-today-delivery-dashboard #work-today-detail-all > i {
  display: none;
}

.work-today-delivery-dashboard #work-today-detail-all b {
  font-size: 17px;
  line-height: 1.25;
}

.work-today-delivery-dashboard #work-today-detail-all small {
  white-space: normal;
  overflow-wrap: anywhere;
}

.work-today-delivery-dashboard #work-today-complete {
  grid-column: 1 / -1;
  min-height: 78px;
}

@media (max-width: 640px) {
  .work-today-delivery-dashboard {
    grid-template-columns: minmax(0, 3fr) minmax(76px, 1fr);
    gap: 8px 6px;
  }

  .work-today-delivery-dashboard > .work-today-final-settlement {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    padding: 10px;
    gap: 8px;
  }

  .work-today-delivery-dashboard .work-today-final-settlement > span:nth-child(2) > small {
    display: none;
  }

  .work-today-delivery-dashboard .work-today-final-settlement output {
    font-size: 26px;
  }

  .work-today-delivery-dashboard #work-today-detail-all {
    min-height: 0;
    padding: 8px 4px;
    gap: 4px;
  }

  .work-today-delivery-dashboard #work-today-detail-all .work-today-shortcut-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .work-today-delivery-dashboard #work-today-detail-all b {
    font-size: 15px;
  }

  .work-today-delivery-dashboard #work-today-detail-all small {
    font-size: 8px;
  }
}

@media (max-width: 640px) {
  #work-today-settlement .work-today-status-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 8fr);
    gap: 6px 5px;
  }

  #work-today-settlement .work-today-status-grid > article.is-volume {
    padding: 6px;
  }

  #work-today-settlement .work-today-status-grid > article.is-volume .work-today-metric-heading {
    padding: 0 0 6px;
  }

  #work-today-settlement .work-today-status-grid > article.is-volume .work-today-metric-heading > span {
    font-size: 11px;
    white-space: nowrap;
  }

  #work-today-settlement .work-today-status-grid > article:not(.is-volume) {
    grid-template-columns: auto minmax(0, 1fr) 44px;
    column-gap: 7px;
    padding: 5px 4px;
  }

  #work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-heading > span {
    font-size: 11px;
  }

  #work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-check {
    width: 44px;
    min-width: 44px;
    height: 28px;
    min-height: 28px;
    padding: 3px 2px;
    font-size: 8px;
  }

  #work-today-settlement .work-today-status-grid > article:not(.is-volume) .work-today-metric-actions {
    width: 44px;
  }
}

/* 배송 현황의 수정/없음 버튼 크기를 동일하게 맞춘다. */
#work-today-settlement .work-today-status-grid > article[data-metric-card] .work-today-card-edit,
#work-today-settlement .work-today-status-grid > article[data-metric-card] .work-today-metric-check {
  box-sizing: border-box;
  border-radius: 6px;
}

#work-today-settlement .work-today-status-grid > article[data-metric-card] .work-today-card-edit {
  width: 52px;
  min-width: 52px;
  height: 30px;
  min-height: 30px;
}

@media (max-width: 640px) {
  #work-today-settlement .work-today-status-grid > article[data-metric-card] .work-today-card-edit {
    width: 44px;
    min-width: 44px;
    height: 28px;
    min-height: 28px;
  }
}

/* 등록된 내역의 수정은 오른쪽 내역 입력 메뉴에서만 처리한다. */
#work-today-settlement .work-today-status-grid > article[data-metric-card] .work-today-card-edit,
#work-today-settlement .work-today-status-grid > article[data-metric-card].has-entries .work-today-metric-actions,
#work-today-settlement .work-today-status-grid > article[data-metric-card]:has(.work-today-metric-check input:checked) .work-today-metric-actions {
  display: none !important;
}

#work-today-settlement .work-today-status-grid > article[data-metric-card].has-entries,
#work-today-settlement .work-today-status-grid > article[data-metric-card]:has(.work-today-metric-check input:checked) {
  grid-template-columns: auto minmax(0, 1fr);
}

/* 업무 완료 후에는 각 항목의 이름과 수량만 표시한다. */
#work-today-settlement .work-today-delivery-dashboard.is-work-complete .work-today-status-grid > article[data-metric-card] {
  grid-template-columns: minmax(0, 1fr) auto;
}

#work-today-settlement .work-today-delivery-dashboard.is-work-complete .work-today-status-grid > article[data-metric-card] .work-today-metric-actions,
#work-today-settlement .work-today-delivery-dashboard.is-work-complete .work-today-status-grid > article[data-metric-card] .work-today-card-edit {
  display: none;
}

#work-today-settlement .work-today-delivery-dashboard.is-work-complete .work-today-status-grid > article[data-metric-card] .work-today-metric-value {
  gap: 2px;
}

#work-today-settlement .work-today-delivery-dashboard.is-work-complete .work-today-status-grid > article[data-metric-card] .work-today-metric-value > input {
  appearance: textfield;
  -moz-appearance: textfield;
}

#work-today-settlement .work-today-delivery-dashboard.is-work-complete .work-today-metric-value > input::-webkit-inner-spin-button,
#work-today-settlement .work-today-delivery-dashboard.is-work-complete .work-today-metric-value > input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* 업무 완료는 배송 현황의 최종 실행 버튼으로 강하게 강조한다. */
.work-today-delivery-dashboard #work-today-complete.work-today-dashboard-action {
  min-height: 86px;
  border: 2px solid #047857;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, .18), transparent 28%),
    linear-gradient(135deg, #078561, #046c50);
  color: #fff;
  box-shadow: 0 8px 20px rgba(4, 120, 87, .24);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.work-today-delivery-dashboard #work-today-complete .work-today-dashboard-action-icon {
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.work-today-delivery-dashboard #work-today-complete b,
.work-today-delivery-dashboard #work-today-complete small,
.work-today-delivery-dashboard #work-today-complete > i {
  color: #fff;
}

.work-today-delivery-dashboard #work-today-complete b {
  font-size: 17px;
}

.work-today-delivery-dashboard #work-today-complete small {
  color: rgba(255, 255, 255, .82);
}

.work-today-delivery-dashboard #work-today-complete:hover,
.work-today-delivery-dashboard #work-today-complete:focus-visible {
  filter: brightness(1.05);
  box-shadow: 0 11px 25px rgba(4, 120, 87, .3);
  transform: translateY(-1px);
  outline: none;
}

.work-today-delivery-dashboard #work-today-complete.is-complete {
  border-color: #065f46;
  background: linear-gradient(135deg, #065f46, #064e3b);
  box-shadow: 0 7px 18px rgba(6, 78, 59, .24);
}

@media (max-width: 640px) {
  .work-today-delivery-dashboard #work-today-complete.work-today-dashboard-action {
    min-height: 78px;
  }

  .work-today-delivery-dashboard #work-today-complete b {
    font-size: 15px;
  }
}

/* 오늘 업무 페이지 전체를 현재 캠프 테마 색상으로 통일한다. */
.work-today-page {
  --work-today-theme: var(--wfops-camp-color, #0f8b6d);
  --work-today-theme-strong: var(--wfops-camp-color-strong, #087a60);
  --work-today-theme-deep: var(--wfops-camp-color-deep, #065f46);
  --work-today-theme-soft: var(--wfops-camp-color-soft, #edf8f4);
  --work-today-theme-border: color-mix(in srgb, var(--work-today-theme) 46%, #d9e2e8);
  --work-today-theme-surface: color-mix(in srgb, var(--work-today-theme-soft) 74%, #fff);
  --work-today-theme-shadow: color-mix(in srgb, var(--work-today-theme-deep) 18%, transparent);
}

.work-today-page .work-today-titlebar small,
.work-today-page .work-today-titlebar > a,
.work-today-page .work-today-date-field > span,
.work-today-page .work-today-dashboard-card > strong,
.work-today-page .work-today-subaccounts-heading > strong,
.work-today-page .work-today-progress-dashboard > .work-today-stage h4,
.work-today-page .work-today-status-grid .work-today-metric-heading > span {
  color: var(--work-today-theme-deep);
}

.work-today-page .work-today-titlebar > a {
  border-color: var(--work-today-theme-border);
}

.work-today-page .work-today-prototype-note.is-ready {
  border-color: var(--work-today-theme-border);
  background: var(--work-today-theme-surface);
  color: var(--work-today-theme-deep);
}

.work-today-page .work-today-prototype-note.is-ready > strong {
  color: var(--work-today-theme-strong);
}

.work-today-page .work-today-dashboard-panel,
.work-today-page .work-today-workflow-settlement.work-today-dashboard-panel {
  border-color: var(--work-today-theme-border);
  background: color-mix(in srgb, var(--work-today-theme-soft) 16%, #fff);
  box-shadow: 0 8px 24px var(--work-today-theme-shadow);
}

.work-today-page .work-today-dashboard-panel .work-today-part-header,
.work-today-page .work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header,
.work-today-page .work-today-dashboard-panel .work-today-part-header h3,
.work-today-page .work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header h3 {
  color: var(--work-today-theme-deep);
}

.work-today-page .work-today-dashboard-panel .work-today-part-header > span,
.work-today-page .work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header > span {
  background: linear-gradient(145deg, var(--work-today-theme), var(--work-today-theme-deep));
  box-shadow: 0 4px 10px var(--work-today-theme-shadow);
}

.work-today-page .work-today-dashboard-panel .work-today-part-header > b,
.work-today-page .work-today-workflow-settlement.work-today-dashboard-panel .work-today-part-header > b {
  background: var(--work-today-theme-soft);
  color: var(--work-today-theme-strong);
}

.work-today-page .work-today-dashboard-card,
.work-today-page .work-today-dashboard-link,
.work-today-page .work-today-status-grid > article:not([data-metric-card="cancel"]),
.work-today-page .work-today-detail-shortcuts > button,
.work-today-page .work-today-dashboard-action {
  border-color: color-mix(in srgb, var(--work-today-theme) 34%, #d8e1e7);
  background: linear-gradient(155deg, #fff, var(--work-today-theme-surface));
}

.work-today-page .work-today-progress-dashboard > .work-today-stage h4 svg,
.work-today-page .work-today-subaccounts-heading svg,
.work-today-page .work-today-card-edit,
.work-today-page .work-today-dashboard-link > summary::after,
.work-today-page .work-today-detail-shortcuts i,
.work-today-page .work-today-dashboard-action > i {
  color: var(--work-today-theme-strong);
}

.work-today-page .work-today-dashboard-link-icon,
.work-today-page .work-today-shortcut-icon,
.work-today-page .work-today-dashboard-action-icon,
.work-today-page .work-today-final-settlement-icon {
  background: var(--work-today-theme-soft);
  color: var(--work-today-theme-strong);
}

.work-today-page .work-today-stage-action,
.work-today-page .work-today-metric-check,
.work-today-page .work-today-metric-entry,
.work-today-page .work-today-report-slot-submit {
  border-color: var(--work-today-theme-border);
}

.work-today-page input[type="checkbox"],
.work-today-page input[type="radio"] {
  accent-color: var(--work-today-theme-strong);
}

.work-today-page .work-today-stage.is-complete,
.work-today-page .work-today-subaccounts.is-complete,
.work-today-page .work-today-assignment-card.is-complete,
.work-today-page .work-today-status-grid > article.is-complete {
  border-color: var(--work-today-theme-border);
  background: var(--work-today-theme-surface);
}

.work-today-page .work-today-final-settlement {
  border-color: var(--work-today-theme-border);
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, .84), transparent 32%),
    linear-gradient(135deg, var(--work-today-theme-soft), #fff);
  color: var(--work-today-theme-deep);
  box-shadow: 0 5px 16px var(--work-today-theme-shadow);
}

.work-today-page .work-today-final-settlement > span:nth-child(2) > strong,
.work-today-page .work-today-final-settlement > strong {
  color: var(--work-today-theme-deep);
}

.work-today-page .work-today-final-settlement > span:nth-child(2) > small {
  color: color-mix(in srgb, var(--work-today-theme-deep) 68%, #64748b);
}

.work-today-page #work-today-settlement #work-today-detail-all {
  border: 2px solid var(--work-today-theme-strong);
  border-radius: 10px;
  background: var(--work-today-theme-strong);
  color: #fff;
  box-shadow: 0 3px 0 var(--work-today-theme-deep), 0 4px 8px var(--work-today-theme-shadow);
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease;
}

.work-today-page #work-today-settlement #work-today-detail-all b,
.work-today-page #work-today-settlement #work-today-detail-all small {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.work-today-page #work-today-settlement #work-today-detail-all:not(:disabled):hover,
.work-today-page #work-today-settlement #work-today-detail-all:not(:disabled):focus-visible {
  background: var(--work-today-theme-deep);
}

.work-today-page #work-today-settlement #work-today-detail-all:not(:disabled):active {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .18);
}

.work-today-page #work-today-settlement #work-today-detail-all:disabled {
  cursor: not-allowed;
  box-shadow: none;
}

.work-today-page .work-today-delivery-dashboard #work-today-complete.work-today-dashboard-action {
  border-color: var(--work-today-theme-strong);
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, .18), transparent 28%),
    linear-gradient(135deg, var(--work-today-theme), var(--work-today-theme-deep));
  box-shadow: 0 8px 20px var(--work-today-theme-shadow);
}

.work-today-page .work-today-delivery-dashboard #work-today-complete.is-complete {
  border-color: var(--work-today-theme-deep);
  background: linear-gradient(135deg, var(--work-today-theme-strong), var(--work-today-theme-deep));
}

#work-today-complete-confirm-sheet .work-today-complete-confirm-body > p strong,
#work-today-complete-confirm-sheet .work-today-complete-confirm-body dl > div:last-child {
  color: var(--wfops-camp-color-deep, #065f46);
}

#work-today-complete-confirm-sheet .work-today-complete-confirm-body dl {
  border-color: color-mix(in srgb, var(--wfops-camp-color, #0f8b6d) 44%, #d8e1e7);
  background: color-mix(in srgb, var(--wfops-camp-color-soft, #edf8f4) 78%, #fff);
}

#work-today-complete-confirm-sheet .work-today-complete-confirm-body dl > div {
  border-bottom-color: color-mix(in srgb, var(--wfops-camp-color, #0f8b6d) 20%, #e2e8f0);
}

#work-today-complete-confirm-sheet .work-today-complete-confirm-check input {
  accent-color: var(--wfops-camp-color-strong, #087a60);
}

/* 저장 상태 안내를 한 셀 카드로 표시한다. */
.work-today-page .work-today-status-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 0 10px;
  overflow: hidden;
  border: 1px solid var(--work-today-theme-border);
  border-radius: 12px;
  background: var(--work-today-theme-surface);
  box-shadow: 0 5px 14px var(--work-today-theme-shadow);
}

.work-today-page .work-today-login-member {
  display: flex;
  min-width: 0;
  padding: 12px 14px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border-right: 1px solid var(--work-today-theme-border);
  background: color-mix(in srgb, var(--work-today-theme-soft) 90%, #fff);
  text-align: left;
}

.work-today-page .work-today-login-member > small {
  color: color-mix(in srgb, var(--work-today-theme-deep) 72%, #64748b);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.work-today-page .work-today-login-member > strong {
  overflow: hidden;
  color: var(--work-today-theme-deep);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-today-page .work-today-status-banner .work-today-prototype-note {
  min-width: 0;
  min-height: 72px;
  margin: 0;
  padding: 10px 14px;
  justify-content: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* 주요 영역 제목과 배송 일자 카드를 현재 캠프 테마와 맞춘다. */
.work-today-page #work-today-daily .work-today-part-header,
.work-today-page #work-today-settlement .work-today-part-header {
  border: 1px solid color-mix(in srgb, var(--work-today-theme) 22%, transparent);
  background: linear-gradient(90deg, var(--work-today-theme-soft), var(--work-today-theme-surface));
}

.work-today-page #work-today-daily .work-today-date-card,
.work-today-page #work-today-daily .work-today-date-card:has(.work-today-date-check input:checked) {
  border-color: var(--work-today-theme-border);
  background: linear-gradient(155deg, #fff, var(--work-today-theme-surface));
}

.work-today-page #work-today-daily .work-today-date-card:has(.work-today-date-check input:checked) {
  border-left-color: var(--work-today-theme-strong);
}

@media (max-width: 640px) {
  .work-today-page .work-today-status-banner {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 8px;
    border-radius: 10px;
  }

  .work-today-page .work-today-login-member {
    padding: 9px 10px;
    gap: 3px;
  }

  .work-today-page .work-today-login-member > small {
    font-size: 10px;
  }

  .work-today-page .work-today-login-member > strong {
    font-size: 13px;
  }

  .work-today-page .work-today-status-banner .work-today-prototype-note {
    min-height: 66px;
    padding: 8px 9px;
  }

  .work-today-page .work-today-status-banner .work-today-prototype-note > strong {
    font-size: 17px;
  }

  .work-today-page .work-today-status-banner .work-today-prototype-note > span {
    font-size: 11px;
  }
}

/* 가구수·배정물량과 중간보고의 고정 녹색을 캠프 테마로 통일한다. */
.work-today-page #work-today-daily .work-today-assignment-combined-card {
  border-color: var(--work-today-theme-border);
  background: linear-gradient(155deg, #fff, var(--work-today-theme-surface));
}

.work-today-page #work-today-daily .work-today-assignment-heading,
.work-today-page #work-today-daily .work-today-assignment-heading > strong,
.work-today-page #work-today-daily .work-today-assignment-value > input {
  color: var(--work-today-theme-deep);
}

.work-today-page #work-today-daily .work-today-assignment-icon {
  background: var(--work-today-theme-soft);
  color: var(--work-today-theme-strong);
}

.work-today-page #work-today-daily .work-today-assignment-divider,
.work-today-page #work-today-daily .work-today-assignment-value > em {
  color: color-mix(in srgb, var(--work-today-theme-deep) 68%, #64748b);
}

.work-today-page #work-today-daily .work-today-assignment-value,
.work-today-page #work-today-daily .work-today-assignment-combined-card .work-today-metric-check {
  border-color: var(--work-today-theme-border);
}

.work-today-page #work-today-daily .work-today-assignment-combined-card.is-complete {
  border-color: var(--work-today-theme-border);
  border-left-color: var(--work-today-theme-strong);
  background: var(--work-today-theme-surface);
}

.work-today-page #work-today-daily .work-today-report-board {
  border-color: var(--work-today-theme-border);
  background: linear-gradient(155deg, #fff, var(--work-today-theme-surface));
}

.work-today-page #work-today-daily .work-today-report-board > summary {
  background: color-mix(in srgb, var(--work-today-theme-soft) 62%, #fff);
}

.work-today-page #work-today-daily .work-today-report-board > summary b,
.work-today-page #work-today-daily .work-today-report-board > summary::after {
  color: var(--work-today-theme-deep);
}

.work-today-page #work-today-daily .work-today-report-board > summary > .work-today-dashboard-link-icon {
  background: var(--work-today-theme-soft);
  color: var(--work-today-theme-strong);
}

.work-today-page #work-today-daily .work-today-report-groups {
  border-top-color: var(--work-today-theme-border);
  background: color-mix(in srgb, var(--work-today-theme-soft) 48%, #fff);
}

.work-today-page #work-today-daily .work-today-report-slot {
  border-color: color-mix(in srgb, var(--work-today-theme) 38%, #dfe5ed);
  background: #fff;
}

.work-today-page #work-today-daily .work-today-report-slot > strong,
.work-today-page #work-today-daily .work-today-report-slot-result,
.work-today-page #work-today-daily .work-today-report-slot-submit {
  color: var(--work-today-theme-deep);
}

.work-today-page #work-today-daily .work-today-report-slot input,
.work-today-page #work-today-daily .work-today-report-slot-result,
.work-today-page #work-today-daily .work-today-report-slot-submit {
  border-color: var(--work-today-theme-border);
}

.work-today-page #work-today-daily .work-today-report-slot.is-entered {
  border-color: var(--work-today-theme-strong);
  background: var(--work-today-theme-surface);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--work-today-theme) 14%, transparent);
}

.work-today-page #work-today-daily .work-today-report-slot.is-entered > strong,
.work-today-page #work-today-daily .work-today-report-slot.is-entered label span,
.work-today-page #work-today-daily .work-today-report-slot.is-entered .work-today-report-slot-submit {
  color: var(--work-today-theme-deep);
}

.work-today-page #work-today-daily .work-today-dashboard-link:has(.work-today-report-slot.is-entered) {
  border-color: var(--work-today-theme-border);
  border-left-color: var(--work-today-theme-strong);
  background: var(--work-today-theme-surface);
}

/* 오늘 업무 전체 테마 누락 보정: 의미색(취소·오류·보호)은 유지한다. */
.work-today-page .work-today-titlebar h2,
.work-today-page .work-today-titlebar small {
  color: var(--work-today-theme-deep);
}

.work-today-page .work-today-titlebar > a {
  border-color: var(--work-today-theme-border);
  background: var(--work-today-theme-surface);
  color: var(--work-today-theme-deep);
  box-shadow: 0 5px 16px var(--work-today-theme-shadow);
}

.work-today-page .work-today-part-nav > a {
  border-color: var(--work-today-theme-border);
  background: linear-gradient(145deg, #fff, var(--work-today-theme-surface));
  box-shadow: 0 7px 20px var(--work-today-theme-shadow);
}

.work-today-page .work-today-part-nav > a:hover,
.work-today-page .work-today-part-nav > a:focus-visible {
  border-color: var(--work-today-theme-strong);
}

.work-today-page .work-today-part-nav > a > b,
.work-today-page .work-today-part-nav > a:last-child > b,
.work-today-page .work-today-part-nav em {
  background: var(--work-today-theme-soft);
  color: var(--work-today-theme-deep);
}

.work-today-page .work-today-part-nav strong {
  color: var(--work-today-theme-deep);
}

.work-today-page .work-today-edit-guide {
  border-color: var(--work-today-theme-border);
  background: var(--work-today-theme-surface);
  color: var(--work-today-theme-deep);
  -webkit-text-fill-color: var(--work-today-theme-deep);
}

.work-today-page .work-today-incomplete-alert {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  min-height: 78px;
  margin: 0 0 10px;
  padding: 12px 13px;
  align-items: center;
  gap: 10px;
  border: 1px solid #f2b45e;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff9ed, #fffdf8);
  box-shadow: 0 5px 14px rgba(180, 83, 9, .1);
}

.work-today-page .work-today-incomplete-alert-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f59e0b;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.work-today-page .work-today-incomplete-alert-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.work-today-page .work-today-incomplete-alert-copy > strong {
  color: #92400e;
  font-size: 14px;
  font-weight: 950;
}

.work-today-page .work-today-incomplete-alert-copy > small {
  color: #78350f;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.45;
}

.work-today-page .work-today-incomplete-alert-copy > em {
  color: #a16207;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.work-today-page .work-today-incomplete-alert > a {
  display: inline-flex;
  min-height: 36px;
  padding: 7px 11px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d97706;
  border-radius: 8px;
  background: #fff;
  color: #92400e;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.work-today-page .work-today-incomplete-alert > a:hover,
.work-today-page .work-today-incomplete-alert > a:focus-visible {
  background: #fffbeb;
}

@media (max-width: 640px) {
  .work-today-page .work-today-incomplete-alert {
    grid-template-columns: 32px minmax(0, 1fr);
    min-height: 0;
    padding: 10px;
    gap: 8px;
    border-radius: 10px;
  }

  .work-today-page .work-today-incomplete-alert-icon {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .work-today-page .work-today-incomplete-alert-copy > strong {
    font-size: 13px;
  }

  .work-today-page .work-today-incomplete-alert-copy > small {
    font-size: 10px;
  }

  .work-today-page .work-today-incomplete-alert > a {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 34px;
  }
}

.work-today-page #work-today-daily.work-today-dashboard-panel,
.work-today-page #work-today-settlement.work-today-dashboard-panel {
  border-color: var(--work-today-theme-border);
  border-top-color: var(--work-today-theme-strong);
}

.work-today-page #work-today-daily .work-today-dashboard-card:not([data-metric-card="cancel"]),
.work-today-page #work-today-settlement .work-today-status-grid > article:not([data-metric-card="cancel"]) {
  border-color: var(--work-today-theme-border);
  background: linear-gradient(155deg, #fff, var(--work-today-theme-surface));
}

.work-today-page #work-today-daily .work-today-dashboard-card > strong,
.work-today-page #work-today-daily .work-today-subaccounts-heading,
.work-today-page #work-today-daily .work-today-stage > h4,
.work-today-page #work-today-daily .work-today-assignment-heading {
  border-bottom-color: color-mix(in srgb, var(--work-today-theme) 22%, #e2e8f0);
  color: var(--work-today-theme-deep);
}

.work-today-page #work-today-daily .work-today-dashboard-card > strong svg,
.work-today-page #work-today-daily .work-today-subaccounts-heading svg,
.work-today-page #work-today-daily .work-today-stage > h4 svg,
.work-today-page #work-today-daily .work-today-card-edit,
.work-today-page #work-today-daily .work-today-subaccount-open > i {
  color: var(--work-today-theme-strong);
}

.work-today-page #work-today-daily .work-today-card-edit:hover,
.work-today-page #work-today-daily .work-today-card-edit:focus-visible {
  background: color-mix(in srgb, var(--work-today-theme) 12%, transparent) !important;
}

.work-today-page #work-today-daily .work-today-date-check,
.work-today-page #work-today-daily .work-today-subaccount-none,
.work-today-page #work-today-daily .work-today-subaccount-cancel,
.work-today-page #work-today-daily .work-today-subaccount-actions > button,
.work-today-page #work-today-daily .work-today-stage-action,
.work-today-page #work-today-daily .work-today-stage-time-editor {
  border-color: var(--work-today-theme-border);
}

.work-today-page #work-today-daily .work-today-stage-action:not(:disabled) {
  color: var(--work-today-theme-deep);
}

.work-today-page #work-today-daily .work-today-stage-action:not(:disabled) i {
  background: var(--work-today-theme-soft);
  box-shadow: inset 0 0 0 1px var(--work-today-theme-border);
}

.work-today-page #work-today-daily .work-today-date-field > span,
.work-today-page #work-today-daily .work-today-subaccount-result,
.work-today-page #work-today-daily .work-today-subaccounts.is-complete .work-today-subaccount-open,
.work-today-page #work-today-daily .work-today-stage.is-complete time,
.work-today-page #work-today-daily .work-today-stage-time-editor {
  color: var(--work-today-theme-deep);
  -webkit-text-fill-color: var(--work-today-theme-deep);
}

.work-today-page #work-today-daily .work-today-stage.is-complete,
.work-today-page #work-today-daily .work-today-subaccounts.is-complete {
  border-color: var(--work-today-theme-border);
  border-left-color: var(--work-today-theme-strong);
  background: var(--work-today-theme-surface);
}

.work-today-page #work-today-daily .work-today-stage-action:not(:disabled):hover,
.work-today-page #work-today-daily .work-today-stage-action:not(:disabled):focus-visible,
.work-today-page #work-today-daily .work-today-date-check:has(input:checked),
.work-today-page #work-today-daily .work-today-subaccount-none:has(input:checked),
.work-today-page #work-today-daily .work-today-metric-check:has(input:checked) {
  border-color: var(--work-today-theme-strong);
  background: var(--work-today-theme-soft);
  color: var(--work-today-theme-deep);
}

.work-today-page #work-today-daily .work-today-subaccount-actions > #work-today-subaccount-confirm:not(:disabled) {
  border-color: var(--work-today-theme-border);
  background: var(--work-today-theme-soft);
  color: var(--work-today-theme-deep);
  -webkit-text-fill-color: var(--work-today-theme-deep);
}

.work-today-page #work-today-settlement .work-today-status-grid > article.is-volume,
.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card="cancel"],
.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card="missing"],
.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card="support"] {
  border-color: var(--work-today-theme-border);
  background: linear-gradient(155deg, #fff, var(--work-today-theme-surface));
}

.work-today-page #work-today-settlement .work-today-status-grid > article.is-volume.has-value,
.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card="cancel"].has-entries,
.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card="cancel"]:has(.work-today-metric-check input:checked),
.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card="missing"].has-entries,
.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card="missing"]:has(.work-today-metric-check input:checked),
.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card="support"].has-entries,
.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card="support"]:has(.work-today-metric-check input:checked) {
  border-color: var(--work-today-theme-border);
  background: var(--work-today-theme-surface);
}

.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card] .work-today-metric-check,
.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card] .work-today-metric-entry {
  border-color: var(--work-today-theme-border);
}

.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card] .work-today-metric-check:has(input:checked) {
  border-color: var(--work-today-theme-strong);
  background: var(--work-today-theme-soft);
  color: var(--work-today-theme-deep);
}

.work-today-page #work-today-settlement .work-today-metric-heading > span,
.work-today-page #work-today-settlement .work-today-status-grid > article .work-today-metric-value > input,
.work-today-page #work-today-settlement .work-today-status-grid > article .work-today-metric-value > output {
  color: var(--work-today-theme-deep);
  -webkit-text-fill-color: var(--work-today-theme-deep);
}

.work-today-page #work-today-settlement .work-today-detail-shortcuts > button,
.work-today-page #work-today-settlement .work-today-dashboard-action,
.work-today-page #work-today-settlement .work-today-settlement-summary,
.work-today-page #work-today-settlement .work-today-record-section {
  border-color: var(--work-today-theme-border);
}

.work-today-page #work-today-settlement .work-today-detail-shortcuts b,
.work-today-page #work-today-settlement .work-today-dashboard-action b,
.work-today-page #work-today-settlement .work-today-settlement-summary b,
.work-today-page #work-today-settlement .work-today-detail-shortcuts i,
.work-today-page #work-today-settlement .work-today-dashboard-action > i {
  color: var(--work-today-theme-deep);
}

.work-today-page .work-today-edit-dock,
.work-today-page .work-today-edit-slider {
  border-color: var(--work-today-theme-border);
}

.work-today-page .work-today-edit-slider {
  background: var(--work-today-theme-surface);
}

.work-today-page .work-today-edit-slider-fill {
  background: color-mix(in srgb, var(--work-today-theme) 18%, #fff);
}

.work-today-page .work-today-edit-slider-label {
  color: var(--work-today-theme-deep);
}

.work-today-page .work-today-edit-slider > button,
.work-today-page .work-today-edit-active {
  border-color: var(--work-today-theme-strong);
  background: var(--work-today-theme-strong);
}

.work-today-page .work-today-subaccount-sheet .work-today-detail-sheet-shell,
.work-today-page .work-today-subaccount-sheet .work-today-subaccount-row,
.work-today-page .work-today-subaccount-sheet .work-today-subaccount-entry,
.work-today-page .work-today-subaccount-sheet .work-today-subaccount-none {
  border-color: var(--work-today-theme-border);
}

.work-today-page .work-today-subaccount-sheet .work-today-subaccount-row,
.work-today-page .work-today-subaccount-sheet .work-today-subaccount-entry,
.work-today-page .work-today-subaccount-sheet .work-today-subaccount-sheet-body {
  background: color-mix(in srgb, var(--work-today-theme-soft) 42%, #fff);
}

.work-today-page .work-today-subaccount-sheet .work-today-subaccount-entry-number,
.work-today-page .work-today-subaccount-sheet .work-today-subaccount-row .work-today-subaccount-commit:not(:disabled) {
  color: var(--work-today-theme-deep);
}

.work-today-page .work-today-subaccount-sheet .work-today-subaccount-row .work-today-subaccount-commit:not(:disabled),
.work-today-page .work-today-subaccount-sheet .work-today-subaccount-confirm:not(:disabled) {
  border-color: var(--work-today-theme-border);
  background: var(--work-today-theme-soft);
}

.work-today-page #work-today-detail-sheet {
  --detail-accent: var(--work-today-theme);
  --detail-accent-strong: var(--work-today-theme-deep);
  --detail-accent-soft: var(--work-today-theme-soft);
}

.work-today-page .work-today-detail-sheet .work-today-detail-sheet-shell {
  border-color: var(--work-today-theme-border);
}

.work-today-page .work-today-detail-sheet header {
  border-bottom-color: var(--work-today-theme-border);
  background: color-mix(in srgb, var(--work-today-theme-soft) 48%, #fff);
}

.work-today-page .work-today-detail-sheet header h3 {
  color: var(--work-today-theme-deep);
}

.work-today-page .work-today-detail-sheet header > button {
  border-color: var(--work-today-theme-border);
  background: var(--work-today-theme-soft);
  color: var(--work-today-theme-deep);
}

.work-today-page .work-today-detail-sheet footer > button:not(:disabled) {
  border-color: var(--work-today-theme-strong);
  background: var(--work-today-theme-strong);
  color: #fff;
}

.work-today-page #work-today-complete-confirm-sheet .work-today-complete-confirm-body > p strong,
.work-today-page #work-today-complete-confirm-sheet .work-today-complete-confirm-body dl > div:last-child {
  color: var(--work-today-theme-deep);
}

.work-today-page #work-today-complete-confirm-sheet .work-today-complete-confirm-body dl,
.work-today-page #work-today-complete-confirm-sheet .work-today-complete-confirm-check {
  border-color: var(--work-today-theme-border);
  background: var(--work-today-theme-surface);
}

.work-today-page #work-today-complete-confirm-sheet .work-today-complete-confirm-body dl > div {
  border-bottom-color: color-mix(in srgb, var(--work-today-theme) 20%, #e2e8f0);
}

/* 서브계정 입력 방식: 등록 서브계정 / 타인 계정 */
.work-today-page .work-today-subaccount-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.work-today-page .work-today-subaccount-mode > label {
  display: flex;
  min-width: 0;
  min-height: 66px;
  padding: 11px 12px;
  align-items: center;
  gap: 9px;
  border: 1.5px solid var(--work-today-theme-border);
  border-radius: 10px;
  background: #fff;
  color: #475569;
  cursor: pointer;
}

.work-today-page .work-today-subaccount-mode > label:has(input:checked) {
  border-color: var(--work-today-theme-strong);
  background: var(--work-today-theme-surface);
  color: var(--work-today-theme-deep);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--work-today-theme) 14%, transparent);
}

.work-today-page .work-today-subaccount-mode input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--work-today-theme-strong);
}

.work-today-page .work-today-subaccount-mode span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.work-today-page .work-today-subaccount-mode b {
  color: inherit;
  font-size: 13px;
  font-weight: 950;
}

.work-today-page .work-today-subaccount-mode small {
  color: #738093;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.work-today-page .work-today-subaccount-sheet .work-today-subaccount-row.is-other-account {
  grid-template-columns: 24px minmax(110px, .75fr) minmax(150px, 1.25fr) auto;
}

/* 하단 닫기 버튼은 어떤 캠프 색상에서도 흰 글씨 대비를 유지한다. */
.work-today-page #work-today-subaccount-sheet footer .work-today-subaccount-confirm,
.work-today-page #work-today-subaccount-sheet footer .work-today-subaccount-confirm:not(:disabled) {
  border-color: var(--work-today-theme-deep) !important;
  background: var(--work-today-theme-deep) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--work-today-theme) 26%, transparent);
  opacity: 1;
}

@media (max-width: 640px) {
  .work-today-page .work-today-subaccount-mode {
    gap: 7px;
  }

  .work-today-page .work-today-subaccount-mode > label {
    min-height: 62px;
    padding: 9px;
    gap: 7px;
  }

  .work-today-page .work-today-subaccount-mode b {
    font-size: 12px;
  }

  .work-today-page .work-today-subaccount-mode small {
    font-size: 9px;
  }

  .work-today-page .work-today-subaccount-sheet .work-today-subaccount-row.is-other-account {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .work-today-page .work-today-subaccount-sheet .work-today-subaccount-row.is-other-account > span {
    display: none;
  }

  .work-today-page .work-today-subaccount-sheet .work-today-subaccount-row.is-other-account .work-today-other-account-camp {
    grid-column: 1 / -1;
  }

  .work-today-page .work-today-subaccount-sheet .work-today-subaccount-row.is-other-account .work-today-other-account-person {
    grid-column: 1;
  }
}

.work-today-page #work-today-complete-confirm-sheet .work-today-complete-confirm-check input {
  accent-color: var(--work-today-theme-strong);
}

.work-today-page #work-today-complete-confirm-sheet #work-today-complete-confirm-submit:not(:disabled) {
  border-color: var(--work-today-theme-strong);
  background: var(--work-today-theme-strong);
}

/* 완료된 중간보고는 상태와 두 핵심 값을 한눈에 읽는 요약 카드로 표시한다. */
.work-today-page #work-today-daily .work-today-report-slot.is-entered {
  grid-template-rows: auto minmax(0, 1fr);
  padding: 7px;
  gap: 6px;
  border-color: var(--work-today-theme-strong);
  border-radius: 10px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .9), transparent 34%),
    linear-gradient(150deg, var(--work-today-theme-surface), #fff);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--work-today-theme) 13%, transparent);
}

.work-today-page #work-today-daily .work-today-report-slot.is-entered > strong {
  height: 27px;
  min-height: 27px;
  padding: 0 30px 5px 4px;
  flex-basis: 27px;
  border-bottom-color: color-mix(in srgb, var(--work-today-theme) 22%, #e2e8f0);
  font-size: 13px;
}

.work-today-page #work-today-daily .work-today-report-slot.is-entered .work-today-report-slot-result {
  position: relative;
  display: flex;
  min-height: 104px;
  padding: 5px 7px 4px;
  justify-content: flex-start;
  gap: 2px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--work-today-theme) 24%, #e2e8f0);
  border-radius: 9px;
  background: rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(15, 73, 48, .06);
}

.work-today-page #work-today-daily .work-today-report-slot.is-entered .work-today-report-slot-result::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--work-today-theme-strong), var(--work-today-theme));
}

.work-today-report-result-status {
  display: inline-flex;
  min-height: 14px;
  padding: 2px 7px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--work-today-theme-soft);
  color: var(--work-today-theme-deep);
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
}

.work-today-report-result-metrics {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}

.work-today-report-result-metric {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  padding: 1px 0;
}

.work-today-report-result-metric + .work-today-report-result-metric {
  border-top: 1px solid color-mix(in srgb, var(--work-today-theme) 38%, #e2e8f0);
}

.work-today-report-result-metric > small {
  color: #6b7f78;
  font-size: calc(7px + 2pt);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.work-today-report-result-metric > b {
  max-width: 100%;
  overflow: hidden;
  color: var(--work-today-theme-deep);
  font-size: calc(13px + 2pt);
  font-variant-numeric: tabular-nums;
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-today-report-result-metric:last-child > b {
  font-size: calc(13px + 2pt);
}

@media (max-width: 640px) {
  .work-today-page #work-today-daily .work-today-report-slot.is-entered {
    min-height: 140px;
    padding: 4px;
    gap: 3px;
  }

  .work-today-page #work-today-daily .work-today-report-slot.is-entered > strong {
    height: 24px;
    min-height: 24px;
    padding: 0 27px 4px 3px;
    flex-basis: 24px;
    font-size: 12px;
  }

  .work-today-page #work-today-daily .work-today-report-slot.is-entered .work-today-report-slot-result {
    min-height: 96px;
    padding: 5px 5px 4px;
    gap: 2px;
  }

  .work-today-report-result-status {
    padding: 2px 6px;
    font-size: 7px;
  }

  .work-today-report-result-metric > b,
  .work-today-report-result-metric:last-child > b {
    font-size: calc(12px + 2pt);
  }

}

/* 배송 현황 모바일 가독성 보정 */
#work-today-settlement .work-today-status-grid > article.is-volume {
  grid-template-rows: auto minmax(0, 1fr);
  overflow: visible;
}

#work-today-settlement .work-today-status-grid > article.is-volume .work-today-metric-value {
  display: flex;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-height: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

#work-today-settlement .work-today-status-grid > article.is-volume .work-today-metric-value > input {
  display: block;
  width: 100%;
  height: auto;
  min-height: 44px;
  padding: 4px 0;
  overflow: visible;
  box-sizing: border-box;
  font-size: clamp(24px, 7vw, 30px);
  line-height: 1.2;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

@media (max-width: 640px) {
  .work-today-delivery-dashboard > .work-today-final-settlement {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    padding: 8px;
    gap: 5px;
  }

  .work-today-delivery-dashboard .work-today-final-settlement-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 15px;
  }

  .work-today-delivery-dashboard .work-today-final-settlement > span:nth-child(2) > strong {
    font-size: 11px;
    letter-spacing: -.04em;
    line-height: 1.2;
    white-space: nowrap;
    word-break: keep-all;
  }

  .work-today-delivery-dashboard .work-today-final-settlement > strong {
    gap: 3px;
  }

  .work-today-delivery-dashboard .work-today-final-settlement output {
    font-size: 24px;
  }

  .work-today-delivery-dashboard #work-today-detail-all {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .work-today-delivery-dashboard #work-today-detail-all .work-today-shortcut-icon,
  .work-today-delivery-dashboard #work-today-detail-all > i {
    display: none;
  }

  .work-today-delivery-dashboard #work-today-detail-all b {
    font-size: 15px;
    letter-spacing: -.055em;
    line-height: 1.7;
    white-space: nowrap;
    word-break: keep-all;
  }

  .work-today-page #work-today-settlement .work-today-delivery-dashboard #work-today-complete.work-today-dashboard-action {
    display: grid;
    grid-column: 1 / -1;
    visibility: visible;
    min-height: 78px;
  }

  .work-today-page #work-today-settlement .work-today-delivery-dashboard #work-today-complete b,
  .work-today-page #work-today-settlement .work-today-delivery-dashboard #work-today-complete small,
  .work-today-page #work-today-settlement .work-today-delivery-dashboard #work-today-complete > i {
    color: #fff;
    -webkit-text-fill-color: #fff;
  }
}

.work-today-page input:focus-visible,
.work-today-page select:focus-visible,
.work-today-page textarea:focus-visible,
.work-today-page button:focus-visible,
.work-today-page summary:focus-visible,
.work-today-page a:focus-visible {
  outline-color: var(--work-today-theme-strong);
}

/* 취소·미배송·지원은 같은 카드 배경과 입력 상태 색상을 사용한다. */
.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card] {
  border-color: var(--work-today-theme-border);
  background: linear-gradient(155deg, #fff, var(--work-today-theme-surface));
}

.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card].has-entries,
.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card].is-complete,
.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card].is-alert,
.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card].is-negative,
.work-today-page #work-today-settlement .work-today-status-grid > article[data-metric-card]:has(.work-today-metric-check input:checked) {
  border-color: var(--work-today-theme-border);
  background: var(--work-today-theme-surface);
}

/* 업무 현황 사용자 카드용 보조 요소는 데스크톱 표에서는 숨긴다. */
.work-status-group-badge,
.work-status-avatar,
.work-status-cell-label,
.work-status-mid-title {
  display: none;
}

.work-status-identity-copy {
  display: block;
}

/* 업무 현황 모바일 카드: 상태, 핵심 수치, 진행 시간, 중간보고 순서로 묶는다. */
@media (max-width: 720px) {
  body.work-status-page-body .work-status-table tbody {
    gap: 8px;
  }

  body.work-status-page-body .work-status-data-row {
    padding: 10px 8px 8px 13px;
    overflow: hidden;
    border-radius: 13px;
    border-left-width: 5px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .05);
  }

  body.work-status-page-body .work-status-data-row[data-status="complete"] {
    border-left-color: #20a253;
  }

  body.work-status-page-body .work-status-data-row[data-status="delivery"] {
    border-left-color: #f59e0b;
  }

  body.work-status-page-body .work-status-data-row[data-status="leave"] {
    border-left-color: #5b8def;
  }

  body.work-status-page-body .work-status-data-row[data-status="missing"] {
    border-left-color: #ef4444;
  }

  body.work-status-page-body .work-status-table td {
    padding: 6px 8px;
  }

  body.work-status-page-body .work-status-data-row td::before {
    display: none;
    content: none;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(2) {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-column: 1 / 9 !important;
    grid-row: 1;
    min-height: 64px;
    align-items: center;
    gap: 1px 9px;
  }

  body.work-status-page-body .work-status-group-badge {
    display: inline-flex;
    width: max-content;
    padding: 2px 9px;
    grid-column: 2;
    grid-row: 1;
    color: #2563eb;
    background: #fff;
    border: 1px solid #60a5fa;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.35;
  }

  body.work-status-page-body .work-status-data-row[data-group="B"] .work-status-group-badge {
    color: #ef4444;
    border-color: #fca5a5;
  }

  body.work-status-page-body .work-status-avatar {
    display: grid;
    width: 40px;
    height: 40px;
    grid-column: 1;
    grid-row: 1 / 3;
    place-items: center;
    color: #209655;
    background: #e9f8ef;
    border: 1px solid #b9e4ca;
    border-radius: 50%;
  }

  body.work-status-page-body .work-status-data-row[data-status="missing"] .work-status-avatar {
    color: #ef4444;
    background: #fff0f0;
    border-color: #fecaca;
  }

  body.work-status-page-body .work-status-data-row[data-status="leave"] .work-status-avatar {
    color: #3975db;
    background: #eff6ff;
    border-color: #cfe0ff;
  }

  body.work-status-page-body .work-status-avatar svg {
    width: 24px;
    height: 24px;
  }

  body.work-status-page-body .work-status-identity-copy {
    display: block;
    grid-column: 2;
    grid-row: 2;
  }

  body.work-status-page-body .work-status-identity-copy strong {
    font-size: 17px;
    line-height: 1.15;
  }

  body.work-status-page-body .work-status-identity-copy small {
    margin-top: 2px;
    color: #64748b;
    font-size: 10px;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(3) {
    display: flex;
    grid-column: 9 / 13 !important;
    grid-row: 1;
    min-height: 64px;
    padding: 6px 32px 6px 4px;
    align-items: flex-end;
    flex-direction: column;
    justify-content: center;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(3)::before {
    display: block;
    margin-bottom: 4px;
    content: "근무 상태";
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
  }

  body.work-status-page-body .work-status-badge {
    min-width: 0;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 12px;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(4) {
    grid-column: 1 / 5 !important;
    grid-row: 2;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(5) {
    grid-column: 5 / 9 !important;
    grid-row: 2;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(10) {
    grid-column: 9 / 13 !important;
    grid-row: 2;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(6) {
    grid-column: 1 / 5 !important;
    grid-row: 3;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(7) {
    grid-column: 5 / 9 !important;
    grid-row: 3;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(8) {
    grid-column: 9 / 13 !important;
    grid-row: 3;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(4),
  body.work-status-page-body .work-status-data-row td:nth-child(5),
  body.work-status-page-body .work-status-data-row td:nth-child(6),
  body.work-status-page-body .work-status-data-row td:nth-child(7),
  body.work-status-page-body .work-status-data-row td:nth-child(8),
  body.work-status-page-body .work-status-data-row td:nth-child(10) {
    min-height: 54px;
    padding: 7px 9px;
    border-top: 1px solid #e8edf3;
    font-size: 12px;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(5),
  body.work-status-page-body .work-status-data-row td:nth-child(7),
  body.work-status-page-body .work-status-data-row td:nth-child(10),
  body.work-status-page-body .work-status-data-row td:nth-child(8) {
    border-left: 1px solid #e8edf3;
  }

  body.work-status-page-body .work-status-cell-label {
    display: flex;
    margin-bottom: 4px;
    align-items: center;
    gap: 6px;
    color: #64748b;
  }

  body.work-status-page-body .work-status-cell-label svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: #20a253;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(5) .work-status-cell-label svg {
    color: #f59e0b;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(10) .work-status-cell-label svg {
    color: #1673e6;
  }

  body.work-status-page-body .work-status-cell-label small {
    display: block;
    margin: 0;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.15;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(4) > b,
  body.work-status-page-body .work-status-data-row td:nth-child(5) > b {
    font-size: 16px;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(10) > b {
    display: block;
    overflow-wrap: anywhere;
    font-size: 11px;
    line-height: 1.25;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(6) .work-status-stage,
  body.work-status-page-body .work-status-data-row td:nth-child(7) .work-status-stage,
  body.work-status-page-body .work-status-data-row td:nth-child(8) .work-status-stage {
    gap: 6px;
    color: #172033;
    font-size: 13px;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(6) .work-status-stage i,
  body.work-status-page-body .work-status-data-row td:nth-child(7) .work-status-stage i,
  body.work-status-page-body .work-status-data-row td:nth-child(8) .work-status-stage i {
    width: 19px;
    height: 19px;
    font-size: 9px;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(9) {
    grid-column: 1 / 13 !important;
    grid-row: 4;
    padding: 7px 8px 2px;
    border-top: 1px solid #e8edf3;
  }

  body.work-status-page-body .work-status-mid-title {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(9) .work-status-report-list {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 5px;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(9) .work-status-report,
  body.work-status-page-body .work-status-report-empty {
    position: relative;
    display: block;
    min-height: 45px;
    padding: 7px 24px 6px 9px;
    box-sizing: border-box;
    border: 1px solid #dbe7f8;
    border-radius: 8px;
    background: #f7faff;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(9) .work-status-report::after {
    position: absolute;
    top: 50%;
    right: 8px;
    content: "›";
    color: #94a3b8;
    font-size: 22px;
    line-height: 1;
    transform: translateY(-50%);
  }

  body.work-status-page-body .work-status-data-row td:nth-child(9) .work-status-report b {
    color: #1662d4;
    font-size: 12px;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(9) .work-status-report small {
    margin-top: 2px;
    color: #64748b;
    font-size: 10px;
  }

  body.work-status-page-body .work-status-data-row[data-status="missing"] .work-status-report-empty {
    color: #ef4444;
    background: #fff7f7;
    border-color: #fecaca;
  }

  body.work-status-page-body .work-status-data-row td:nth-child(11) {
    top: 25px;
    right: 4px;
  }

  body.work-status-page-body .work-status-detail-toggle {
    color: #64748b;
  }
}

/* 오늘 업무 모바일 가독성 보정: 물량 안내문 겹침 방지 및 단계 완료 시각 확대 */
@media (max-width: 640px) {
  .work-today-page #work-today-daily .work-today-assignment-fields {
    gap: 4px;
  }

  .work-today-page #work-today-daily .work-today-assignment-fields .work-today-assignment-value {
    min-width: 0;
  }

  .work-today-page #work-today-daily .work-today-assignment-fields .work-today-assignment-value > input {
    min-width: 0;
    padding-right: 24px;
    padding-left: 4px;
  }

  .work-today-page #work-today-daily .work-today-assignment-fields .work-today-assignment-value > input::placeholder {
    font-size: 12px;
    font-weight: 750;
    letter-spacing: -.04em;
  }

  .work-today-page #work-today-daily .work-today-assignment-fields .work-today-assignment-value > em {
    right: 3px;
    font-size: 11px;
  }

  .work-today-page #work-today-daily .work-today-progress-dashboard > .work-today-stage.is-complete time {
    font-size: 16px;
    font-weight: 950;
    line-height: 1.2;
  }
}

/* 업무 현황 상태색: 행은 회색 단계로 정리하고 상태는 선명한 뱃지로 구분한다. */
body.work-status-page-body .work-status-section-table tbody tr.work-status-delivery-row.is-status-delivery > td {
  background: #fff;
}

body.work-status-page-body .work-status-section-table tbody tr.work-status-delivery-row.is-status-leave > td {
  background: #cbd0d7;
}

body.work-status-page-body .work-status-section-table tbody tr.work-status-delivery-row.is-status-complete > td,
body.work-status-page-body .work-status-section-table tbody tr.work-status-delivery-row.is-status-missing > td {
  background: #e5e7eb;
}

body.work-status-page-body .work-status-badge.is-delivery {
  border-color: #15803d;
  background: #15803d;
  color: #fff;
}

body.work-status-page-body .work-status-badge.is-leave {
  border-color: #374151;
  background: #374151;
  color: #fff;
}

body.work-status-page-body .work-status-badge.is-complete {
  border-color: #64748b;
  background: #64748b;
  color: #fff;
}

body.work-status-page-body .work-status-badge.is-missing {
  border-color: #dc2626;
  background: #dc2626;
  color: #fff;
}

body.work-status-page-body .work-status-legend .is-delivery {
  background: #15803d;
}

body.work-status-page-body .work-status-legend .is-leave,
body.work-status-page-body .work-status-dot.is-leave {
  background: #374151;
}

body.work-status-page-body .work-status-legend .is-complete {
  background: #64748b;
}

body.work-status-page-body .work-status-legend .is-missing {
  background: #dc2626;
}

/* 업무 현황 표 구분선: 회색 상태 배경에서도 보이는 캠프 계열 청록색을 사용한다. */
body.work-status-page-body .work-status-delivery-section {
  border-color: #78a594;
}

body.work-status-page-body .work-status-delivery-section .work-status-section-header {
  border-bottom-color: #78a594;
}

body.work-status-page-body .work-status-delivery-table th {
  border-right-color: #9bbcaf;
  border-bottom-color: #78a594;
}

body.work-status-page-body .work-status-delivery-table td {
  border-right-color: #b0c9bf;
  border-bottom-color: #9bbcaf;
}

body.work-status-page-body .work-status-delivery-table tbody tr:last-child > td {
  border-bottom-color: transparent;
}

/* 센터 전체 배송표 안에서 캠프/조별 데이터 시작 위치를 간결하게 구분한다. */
body.work-status-page-body .work-status-delivery-table tr.work-status-camp-divider > td {
  position: static !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 30px;
  padding: 3px 9px;
  color: #174d3b;
  background: #e8f3ee !important;
  border-top: 1px solid #78a594;
  border-right: 0;
  border-bottom: 1px solid #78a594;
  text-align: left !important;
  box-sizing: border-box;
}

body.work-status-page-body .work-status-delivery-table tr.work-status-camp-divider:first-child > td {
  border-top: 0;
}

body.work-status-page-body .work-status-delivery-table .work-status-camp-divider strong {
  position: sticky;
  left: 9px;
  display: inline-flex;
  min-height: 0;
  padding: 0;
  align-items: center;
  color: #174d3b;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
  z-index: 2;
}

@media (max-width: 720px) {
  body.work-status-page-body .work-status-delivery-table tr.work-status-camp-divider > td {
    height: 27px;
    padding: 2px 6px;
  }

  body.work-status-page-body .work-status-delivery-table .work-status-camp-divider strong {
    left: 6px;
    font-size: 10px;
  }
}

/* 업무 현황 중간보고 다음에 표시하는 정산 열 */
body.work-status-page-body .work-status-delivery-table .work-status-settlement-column,
body.work-status-page-body .work-status-delivery-table .work-status-settlement-assigned-column {
  min-width: 62px;
  color: #365f52;
  background: #edf6f2;
}

body.work-status-page-body .work-status-delivery-table .work-status-settlement-column.is-net {
  min-width: 78px;
  color: #fff;
  background: #416f60;
}

body.work-status-page-body .work-status-delivery-table .work-status-settlement-cell,
body.work-status-page-body .work-status-delivery-table .work-status-settlement-assigned-cell {
  min-width: 62px;
}

body.work-status-page-body .work-status-delivery-table .work-status-settlement-cell > b,
body.work-status-page-body .work-status-delivery-table .work-status-settlement-assigned-cell > b {
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

body.work-status-page-body .work-status-delivery-table .work-status-settlement-cell.is-net {
  min-width: 78px;
}

body.work-status-page-body .work-status-delivery-table .work-status-settlement-cell.is-net > b {
  color: #175c46;
  font-size: 13px;
  font-weight: 950;
}

/* 업무 현황 상단 캠프 이동 탭: 분석 페이지와 같은 공용 캠프 목록을 사용한다. */
body.work-status-page-body .work-status-camp-tabs > .wfops-camp-switch {
  display: flex;
  min-width: 0;
  min-height: 38px;
  margin: 0 0 7px;
  padding: 5px 7px;
  border: 1px solid #dfe4eb;
  border-radius: 8px;
  box-sizing: border-box;
  align-items: center;
  gap: 7px;
  background: #fff;
}

body.work-status-page-body .work-status-camp-tabs .wfops-camp-switch-title {
  flex: 0 0 auto;
  margin: 0;
  color: #667085;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

body.work-status-page-body .work-status-camp-tabs .wfops-camp-switch-items {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

body.work-status-page-body .work-status-camp-tabs .wfops-camp-switch-sep {
  display: none;
}

body.work-status-page-body .work-status-camp-tabs .wfops-camp-switch a,
body.work-status-page-body .work-status-camp-tabs .wfops-camp-switch .current-camp {
  display: inline-flex;
  min-height: 26px;
  padding: 4px 7px;
  border: 1px solid #d8dee7;
  border-radius: 999px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  color: #526071;
  background: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

body.work-status-page-body .work-status-camp-tabs .wfops-camp-switch a:hover,
body.work-status-page-body .work-status-camp-tabs .wfops-camp-switch a:focus-visible {
  border-color: var(--wfops-camp-color-strong, #176b4d);
  color: var(--wfops-camp-color-strong, #176b4d);
  outline: none;
  text-decoration: none;
}

body.work-status-page-body .work-status-camp-tabs .wfops-camp-switch .current-camp {
  border-color: var(--wfops-camp-color-strong, #176b4d);
  background: color-mix(in srgb, var(--wfops-camp-color-strong, #176b4d) 9%, #fff);
  color: var(--wfops-camp-color-strong, #176b4d);
}

body.work-status-page-body .work-status-camp-tabs .wfops-camp-switch-all {
  margin-left: auto;
  border-color: color-mix(in srgb, var(--wfops-camp-color-strong, #176b4d) 55%, #d8dee7);
}

body.work-status-page-body .work-status-camp-tabs .current-camp.wfops-camp-switch-all {
  background: var(--wfops-camp-color-strong, #176b4d);
  color: #fff;
}

body.work-status-page-body .work-status-section-identity small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

/* 배송 현황 열 그룹: 물량 / 진행 / 중간보고 / 정산을 선과 제목색으로 구분한다. */
body.work-status-page-body .work-status-delivery-table th.work-status-heading-base {
  color: #475569;
  background: #f3f5f7;
}

body.work-status-page-body .work-status-delivery-table th.work-status-heading-quantity {
  color: #285b86;
  background: #e9f2fb;
}

body.work-status-page-body .work-status-delivery-table th.work-status-heading-stage {
  color: #24634d;
  background: #e8f4ef;
}

body.work-status-page-body .work-status-delivery-table th.work-status-heading-report {
  color: #815511;
  background: #fff2d8;
}

body.work-status-page-body .work-status-delivery-table th.work-status-heading-settlement {
  color: #624a7b;
  background: #f1ecf7;
}

body.work-status-page-body .work-status-delivery-table th.work-status-heading-settlement.is-net {
  color: #fff;
  background: #72598c;
}

body.work-status-page-body .work-status-delivery-table th.work-status-group-start,
body.work-status-page-body .work-status-delivery-table td.work-status-group-start {
  border-left-width: 3px;
  border-left-style: solid;
}

body.work-status-page-body .work-status-delivery-table th.work-status-heading-quantity.work-status-group-start,
body.work-status-page-body .work-status-delivery-table td:nth-child(3).work-status-group-start {
  border-left-color: #6f9fbd;
}

body.work-status-page-body .work-status-delivery-table th.work-status-heading-stage.work-status-group-start,
body.work-status-page-body .work-status-delivery-table td:nth-child(6).work-status-group-start {
  border-left-color: #5b967f;
}

body.work-status-page-body .work-status-delivery-table th.work-status-heading-report.work-status-group-start,
body.work-status-page-body .work-status-delivery-table td.work-status-report-cell.work-status-group-start {
  border-left-color: #d1a550;
}

body.work-status-page-body .work-status-delivery-table th.work-status-heading-settlement.work-status-group-start,
body.work-status-page-body .work-status-delivery-table td.work-status-settlement-cell.work-status-group-start,
body.work-status-page-body .work-status-delivery-table td.work-status-settlement-assigned-cell.work-status-group-start {
  border-left: 3px solid #9a82b5;
}

/* 센터/캠프명과 조 선택은 소제목 없이 한 줄 중심으로 배치한다. */
body.work-status-page-body .work-status-context-card > div > strong:first-child,
body.work-status-page-body .work-status-context-card > div > nav:first-child {
  margin-top: 0;
}

body.work-status-page-body .work-status-context-card nav {
  width: 100%;
}

body.work-status-page-body .work-status-context-card nav a {
  min-width: 0;
  padding-right: 10px;
  padding-left: 10px;
  flex: 1 1 0;
}

body.work-status-page-body .work-status-titlebar .work-status-refresh {
  display: inline-flex;
  width: auto;
  min-width: 0;
  height: 40px;
  margin-left: auto;
  padding: 0 13px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  background: var(--wfops-camp-color-strong, #176b4d);
  border: 1px solid var(--wfops-camp-color-strong, #176b4d);
  border-radius: 9px;
  box-sizing: border-box;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

body.work-status-page-body .work-status-titlebar .work-status-refresh svg {
  width: 15px;
  height: 15px;
}

body.work-status-page-body .work-status-titlebar .work-status-refresh:hover,
body.work-status-page-body .work-status-titlebar .work-status-refresh:focus-visible {
  color: #fff;
  background: var(--wfops-camp-color-deep, #0f5138);
  outline: none;
}

@media (max-width: 720px) {
  body.work-status-page-body .work-status-titlebar .work-status-refresh {
    height: 32px;
    padding: 0 8px;
    gap: 4px;
    border-radius: 8px;
    font-size: 9px;
  }

  body.work-status-page-body .work-status-titlebar .work-status-refresh svg {
    width: 13px;
    height: 13px;
  }
}

/* 업무 현황 모바일 표: 작은 기본 폭에서 내용만큼 열이 늘어나며 한 영역에서 스크롤한다. */
@media (max-width: 720px) {
  body.work-status-page-body .work-status-section-table-wrap {
    --work-status-name-column-width: 64px;
    --work-status-state-column-width: 54px;
    width: 100%;
    max-width: 100%;
    overflow-x: scroll;
    overflow-y: scroll;
    overflow-anchor: none;
    overscroll-behavior: none;
    scrollbar-gutter: auto;
    -webkit-overflow-scrolling: auto;
    touch-action: pan-x pan-y;
    contain: layout paint;
    isolation: isolate;
  }

  body.work-status-page-body .work-status-section-table.work-status-delivery-table {
    width: max-content;
    min-width: 958px;
    max-width: none;
    table-layout: auto;
    font-size: 10px;
  }

  body.work-status-page-body .work-status-delivery-table th,
  body.work-status-page-body .work-status-delivery-table td {
    box-sizing: border-box;
    padding: 1px 2px;
    font-size: 10px;
  }

  body.work-status-page-body .work-status-delivery-table th {
    height: 26px;
    font-size: 9px;
  }

  body.work-status-page-body .work-status-delivery-table td {
    height: 30px;
  }

  body.work-status-page-body .work-status-delivery-table th:first-child,
  body.work-status-page-body .work-status-delivery-table td:first-child {
    width: 64px;
    min-width: 64px;
  }

  body.work-status-page-body .work-status-delivery-table th:nth-child(2),
  body.work-status-page-body .work-status-delivery-table td:nth-child(2) {
    width: 54px;
    min-width: 54px;
  }

  body.work-status-page-body .work-status-delivery-table th:nth-child(3),
  body.work-status-page-body .work-status-delivery-table td:nth-child(3),
  body.work-status-page-body .work-status-delivery-table th:nth-child(4),
  body.work-status-page-body .work-status-delivery-table td:nth-child(4) {
    width: 58px;
    min-width: 58px;
  }

  body.work-status-page-body .work-status-delivery-table th:nth-child(5),
  body.work-status-page-body .work-status-delivery-table td:nth-child(5) {
    width: 70px;
    min-width: 70px;
  }

  body.work-status-page-body .work-status-delivery-table th:nth-child(6),
  body.work-status-page-body .work-status-delivery-table td:nth-child(6),
  body.work-status-page-body .work-status-delivery-table th:nth-child(7),
  body.work-status-page-body .work-status-delivery-table td:nth-child(7),
  body.work-status-page-body .work-status-delivery-table th:nth-child(8),
  body.work-status-page-body .work-status-delivery-table td:nth-child(8) {
    width: 46px;
    min-width: 46px;
  }

  body.work-status-page-body .work-status-delivery-table .work-status-report-column,
  body.work-status-page-body .work-status-delivery-table .work-status-report-cell {
    width: 82px;
    min-width: 82px;
  }

  body.work-status-page-body .work-status-delivery-table .work-status-settlement-column,
  body.work-status-page-body .work-status-delivery-table .work-status-settlement-cell,
  body.work-status-page-body .work-status-delivery-table .work-status-settlement-assigned-column,
  body.work-status-page-body .work-status-delivery-table .work-status-settlement-assigned-cell {
    width: 54px;
    min-width: 54px;
  }

  body.work-status-page-body .work-status-delivery-table .work-status-settlement-column.is-net,
  body.work-status-page-body .work-status-delivery-table .work-status-settlement-cell.is-net {
    width: 54px;
    min-width: 54px;
  }

  body.work-status-page-body .work-status-delivery-table .work-status-report-column {
    font-size: 10px;
  }

  body.work-status-page-body .work-status-delivery-table .work-status-section-identity strong {
    font-size: 11px;
  }

  body.work-status-page-body .work-status-delivery-table .work-status-section-identity small {
    margin-top: 1px;
    font-size: 8px;
  }

  body.work-status-page-body .work-status-delivery-table .work-status-status-cell .work-status-badge {
    min-width: 40px;
    padding: 1px 3px;
    font-size: 8px;
  }

  body.work-status-page-body .work-status-delivery-table .work-status-section-subaccount b {
    font-size: 9px;
  }

  body.work-status-page-body .work-status-delivery-table .work-status-stage {
    gap: 2px;
    font-size: 9px;
  }

  body.work-status-page-body .work-status-delivery-table .work-status-stage i {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    font-size: 6px;
    line-height: 1;
  }

  body.work-status-page-body .work-status-delivery-table .work-status-report {
    min-height: 24px;
    padding: 1px 2px;
  }

  body.work-status-page-body .work-status-delivery-table .work-status-report b,
  body.work-status-page-body .work-status-delivery-table .work-status-settlement-cell > b,
  body.work-status-page-body .work-status-delivery-table .work-status-settlement-assigned-cell > b {
    font-size: 10px;
  }

  body.work-status-page-body .work-status-delivery-table .work-status-report small {
    font-size: 8px;
  }

  body.work-status-page-body .work-status-delivery-table .work-status-settlement-cell.is-net > b {
    font-size: 11px;
  }
}

/* 업무 현황 모바일 요약판: 캠프/물량과 진행 현황을 두 줄로 압축한다. */
@media (max-width: 720px) {
  body.work-status-page-body .work-status-summary {
    display: grid;
    grid-template-columns: minmax(0, 62%) minmax(0, 38%);
    grid-template-rows: repeat(2, 36px);
    height: 74px;
    min-height: 74px;
    align-items: stretch;
    overflow: hidden;
    border-radius: 8px;
  }

  body.work-status-page-body .work-status-summary > article {
    display: grid;
    height: 36px;
    min-height: 0;
    align-items: stretch;
  }

  body.work-status-page-body .work-status-summary > article + article {
    border-top: 0;
    border-left: 1px solid #edf1f6;
  }

  body.work-status-page-body .work-status-context-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.work-status-page-body .work-status-volume-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.work-status-page-body .work-status-progress-card {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid #edf1f6 !important;
    border-left: 0 !important;
  }

  body.work-status-page-body .work-status-context-card > div,
  body.work-status-page-body .work-status-volume-card > div,
  body.work-status-page-body .work-status-progress-card > div {
    height: 36px;
    min-height: 0;
    padding: 2px 7px;
    justify-content: center;
    box-sizing: border-box;
  }

  body.work-status-page-body .work-status-context-card > div:first-child {
    min-width: 0;
  }

  body.work-status-page-body .work-status-context-card strong {
    margin: 0;
    font-size: 12px;
    white-space: nowrap;
  }

  body.work-status-page-body .work-status-context-card strong svg {
    width: 14px;
    height: 14px;
  }

  body.work-status-page-body .work-status-context-card nav {
    margin: 0;
    gap: 3px;
  }

  body.work-status-page-body .work-status-context-card nav a {
    min-width: 0;
    height: 26px;
    padding: 0 5px;
    border-radius: 6px;
    font-size: 10px;
    line-height: 24px;
  }

  body.work-status-page-body .work-status-volume-card > div {
    min-width: 0;
  }

  body.work-status-page-body .work-status-progress-card > div {
    min-width: 0;
    padding-right: 5px;
    padding-left: 5px;
  }

  body.work-status-page-body .work-status-summary small {
    font-size: 8px;
    line-height: 10px;
    white-space: nowrap;
  }

  body.work-status-page-body .work-status-volume-card strong,
  body.work-status-page-body .work-status-progress-card strong {
    margin: 0;
    font-size: 12px;
    line-height: 14px;
  }

  body.work-status-page-body .work-status-volume-card em,
  body.work-status-page-body .work-status-progress-card em {
    font-size: 9px;
  }

  body.work-status-page-body .work-status-progress-card svg,
  body.work-status-page-body .work-status-dot {
    width: 11px;
    height: 11px;
  }
}

/* 업무 현황 날짜 선택: 가로 스크롤 날짜띠와 펼침형 월간 달력 */
body.work-status-page-body .work-status-calendar {
  width: min(620px, 100%);
  margin: 16px auto 24px;
  overflow: hidden;
  color: #243045;
  background: #fff;
  border: 1px solid #dfe4eb;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .05);
  box-sizing: border-box;
}

body.work-status-page-body .work-status-calendar button {
  color: inherit;
  font: inherit;
  border: 0;
  cursor: pointer;
}

body.work-status-page-body .work-status-calendar-header {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 54px;
  min-height: 48px;
  padding: 0 10px;
  align-items: center;
  border-bottom: 1px solid #edf1f5;
}

body.work-status-page-body .work-status-calendar-today {
  justify-self: start;
  padding: 4px 11px;
  color: var(--wfops-camp-color-strong, #176b4d) !important;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--wfops-camp-color-strong, #176b4d) 55%, #d7dee8) !important;
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 850 !important;
}

body.work-status-page-body .work-status-calendar-month-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

body.work-status-page-body .work-status-calendar-month-nav > button {
  width: 32px;
  height: 32px;
  padding: 0;
  color: #64748b;
  background: transparent;
  border-radius: 8px;
  font-size: 26px !important;
  line-height: 30px;
}

body.work-status-page-body .work-status-calendar-month-nav > button:hover,
body.work-status-page-body .work-status-calendar-month-nav > button:focus-visible {
  color: var(--wfops-camp-color-strong, #176b4d);
  background: var(--wfops-camp-color-soft, #eef8f3);
  outline: none;
}

body.work-status-page-body .work-status-calendar-month-nav strong {
  min-width: 94px;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .02em;
}

body.work-status-page-body .work-status-calendar-toggle {
  display: flex;
  width: 48px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--wfops-camp-color-strong, #176b4d) !important;
  background: transparent;
  border-radius: 8px;
}

body.work-status-page-body .work-status-calendar-toggle > svg:first-child {
  width: 25px;
  height: 25px;
}

body.work-status-page-body .work-status-calendar-toggle .work-status-calendar-chevron {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform .18s ease;
}

body.work-status-page-body .work-status-calendar-toggle[aria-expanded="true"] .work-status-calendar-chevron {
  transform: rotate(180deg);
}

body.work-status-page-body .work-status-calendar-strip {
  display: flex;
  width: 100%;
  padding: 5px 6px;
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

body.work-status-page-body .work-status-calendar-strip::-webkit-scrollbar {
  display: none;
}

body.work-status-page-body .work-status-calendar-day {
  display: flex;
  width: 62px;
  height: 54px;
  padding: 3px 0;
  flex: 0 0 62px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border-radius: 10px;
  scroll-snap-align: center;
}

body.work-status-page-body .work-status-calendar-day small {
  color: #8a94a4;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

body.work-status-page-body .work-status-calendar-day b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #344054;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

body.work-status-page-body .work-status-calendar-day.is-sunday small,
body.work-status-page-body .work-status-calendar-day.is-sunday b,
body.work-status-page-body .work-status-calendar-weekday.is-sunday,
body.work-status-page-body .work-status-calendar-grid-day.is-sunday {
  color: #dc2626;
}

body.work-status-page-body .work-status-calendar-day.is-saturday small,
body.work-status-page-body .work-status-calendar-day.is-saturday b,
body.work-status-page-body .work-status-calendar-weekday.is-saturday,
body.work-status-page-body .work-status-calendar-grid-day.is-saturday {
  color: #2563eb;
}

body.work-status-page-body .work-status-calendar-day.is-holiday small,
body.work-status-page-body .work-status-calendar-day.is-holiday b,
body.work-status-page-body .work-status-calendar-grid-day.is-holiday {
  color: #dc2626;
}

body.work-status-page-body .work-status-calendar-day.is-today:not(.is-selected) b {
  color: var(--wfops-camp-color-strong, #176b4d);
  box-shadow: inset 0 0 0 1px var(--wfops-camp-color-strong, #176b4d);
}

body.work-status-page-body .work-status-calendar-day.is-selected b,
body.work-status-page-body .work-status-calendar-grid-day.is-selected {
  color: #fff;
  background: var(--wfops-camp-color-strong, #176b4d);
  box-shadow: 0 3px 8px color-mix(in srgb, var(--wfops-camp-color-strong, #176b4d) 28%, transparent);
}

body.work-status-page-body .work-status-calendar-day.is-selected.is-saturday b,
body.work-status-page-body .work-status-calendar-grid-day.is-selected.is-saturday {
  color: #fff;
  background: #2563eb;
}

body.work-status-page-body .work-status-calendar-day.is-selected.is-sunday b,
body.work-status-page-body .work-status-calendar-day.is-selected.is-holiday b,
body.work-status-page-body .work-status-calendar-grid-day.is-selected.is-sunday,
body.work-status-page-body .work-status-calendar-grid-day.is-selected.is-holiday {
  color: #fff;
  background: #dc2626;
}

body.work-status-page-body .work-status-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding: 8px 10px 12px;
  gap: 3px 2px;
  border-top: 1px solid #edf1f5;
}

body.work-status-page-body .work-status-calendar-grid[hidden] {
  display: none;
}

body.work-status-page-body .work-status-calendar.is-expanded .work-status-calendar-strip {
  display: none;
}

body.work-status-page-body .work-status-calendar-weekday {
  padding: 5px 0 7px;
  color: #8a94a4;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

body.work-status-page-body .work-status-calendar-grid-day,
body.work-status-page-body .work-status-calendar-blank {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border-radius: 10px;
  font-size: 12px !important;
  font-weight: 600 !important;
}

body.work-status-page-body .work-status-calendar-grid-day.is-today:not(.is-selected) {
  color: var(--wfops-camp-color-strong, #176b4d);
  box-shadow: inset 0 0 0 1px var(--wfops-camp-color-strong, #176b4d);
}

body.work-status-page-body .work-status-calendar-day.is-today.is-saturday:not(.is-selected) b,
body.work-status-page-body .work-status-calendar-grid-day.is-today.is-saturday:not(.is-selected) {
  color: #2563eb;
  box-shadow: inset 0 0 0 1px #2563eb;
}

body.work-status-page-body .work-status-calendar-day.is-today.is-sunday:not(.is-selected) b,
body.work-status-page-body .work-status-calendar-day.is-today.is-holiday:not(.is-selected) b,
body.work-status-page-body .work-status-calendar-grid-day.is-today.is-sunday:not(.is-selected),
body.work-status-page-body .work-status-calendar-grid-day.is-today.is-holiday:not(.is-selected) {
  color: #dc2626;
  box-shadow: inset 0 0 0 1px #dc2626;
}

@media (max-width: 720px) {
  body.work-status-page-body .work-status-calendar {
    width: 100%;
    margin: 8px 0 10px;
    border-radius: 10px;
  }

  body.work-status-page-body .work-status-calendar-header {
    grid-template-columns: 60px minmax(0, 1fr) 46px;
    min-height: 42px;
    padding: 0 7px;
  }

  body.work-status-page-body .work-status-calendar-today {
    padding: 3px 9px;
    font-size: 10px !important;
  }

  body.work-status-page-body .work-status-calendar-month-nav {
    gap: 1px;
  }

  body.work-status-page-body .work-status-calendar-month-nav > button {
    width: 28px;
    height: 28px;
    font-size: 23px !important;
    line-height: 26px;
  }

  body.work-status-page-body .work-status-calendar-month-nav strong {
    min-width: 82px;
    font-size: 16px;
  }

  body.work-status-page-body .work-status-calendar-toggle {
    width: 42px;
    height: 34px;
  }

  body.work-status-page-body .work-status-calendar-toggle > svg:first-child {
    width: 22px;
    height: 22px;
  }

  body.work-status-page-body .work-status-calendar-strip {
    padding: 3px 4px;
  }

  body.work-status-page-body .work-status-calendar-day {
    width: 52px;
    height: 48px;
    flex-basis: 52px;
  }

  body.work-status-page-body .work-status-calendar-day b {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  body.work-status-page-body .work-status-calendar-grid {
    padding: 6px 6px 9px;
  }

  body.work-status-page-body .work-status-calendar-grid-day,
  body.work-status-page-body .work-status-calendar-blank {
    width: 34px;
    height: 34px;
  }
}
