/* app/employee-light-blue.css */
:is(.employee-workspace, .staff-checkins, .rp, .reviews-page, .checkin-dialog, .after-service-dialog, .review-composer-dialog, .review-detail-dialog, .review-scene-drawer, .session-time-dialog) {
  color: #183b56 !important;
}
:is(.employee-workspace, .staff-checkins, .rp, .reviews-page, .checkin-dialog, .after-service-dialog, .review-composer-dialog, .review-detail-dialog, .review-scene-drawer, .session-time-dialog) .button.primary,
:is(.employee-workspace, .staff-checkins, .rp, .reviews-page, .checkin-dialog, .after-service-dialog, .review-composer-dialog, .review-detail-dialog, .review-scene-drawer, .session-time-dialog) button.active,
:is(.employee-workspace, .staff-checkins, .rp, .reviews-page, .checkin-dialog, .after-service-dialog, .review-composer-dialog, .review-detail-dialog, .review-scene-drawer, .session-time-dialog) button[aria-pressed=true],
.employee-bottom-nav button.active {
  background: #b7dcff !important;
  color: #164b78 !important;
  border-color: #cddff0 !important;
}
:is(.employee-workspace, .staff-checkins, .rp, .reviews-page, .checkin-dialog, .after-service-dialog, .review-composer-dialog, .review-detail-dialog, .review-scene-drawer, .session-time-dialog) .button:not(.primary):not(.danger) {
  color: #315f85 !important;
  border-color: #cddff0 !important;
  background: white !important;
}
:is(.employee-workspace, .staff-checkins, .rp, .reviews-page, .checkin-dialog, .after-service-dialog, .review-composer-dialog, .review-detail-dialog, .review-scene-drawer, .session-time-dialog) :is(input, select, textarea) {
  border-color: #cddff0 !important;
  accent-color: #2674ad !important;
}
:is(.employee-workspace, .staff-checkins, .rp, .reviews-page, .checkin-dialog, .after-service-dialog, .review-composer-dialog, .review-detail-dialog, .review-scene-drawer, .session-time-dialog) :is(input, select, textarea, button):focus-visible {
  outline-color: #2674ad !important;
}
.employee-workspace .my-stage-card {
  border-color: #dce8f4 !important;
  background: white !important;
  box-shadow: 0 3px 0 #e4f2ff;
}
.employee-workspace .my-stage-card.is-playing {
  border-color: #b7dcff !important;
  background: #f3f8ff !important;
}
.employee-workspace :is(.home-greeting, .my-stage-overview, .my-stage-tabs) {
  background: #dceeff !important;
  border-color: #dce8f4 !important;
  color: #183b56 !important;
}
.employee-workspace :is(.home-greeting h2, .home-greeting p, .home-counts, .my-stage-card p, .my-stage-card-head, .home-role-label, .home-scene-details) {
  color: #183b56 !important;
}
.employee-workspace .my-stage-tabs button.active {
  background: #b7dcff !important;
  color: #164b78 !important;
}
.employee-workspace .home-fold {
  border-color: #dce8f4 !important;
}
.employee-workspace .home-fold > summary {
  color: #315f85 !important;
}
.staff-checkins :is(.checkin-tab.active, .checkin-band),
.staff-checkins button.primary,
.checkin-dialog button.primary {
  background: #b7dcff !important;
  color: #164b78 !important;
}
.rp .rp-header {
  background: #dceeff !important;
  color: #183b56 !important;
}
.rp :is(button.active, button.primary) {
  background: #b7dcff !important;
  color: #164b78 !important;
}
.reviews-page .reviews-register {
  background: #b7dcff !important;
  color: #164b78 !important;
  border-color: #cddff0 !important;
}
:is(.checkin-dialog, .after-service-dialog, .review-composer-dialog, .review-detail-dialog, .review-scene-drawer, .session-time-dialog) {
  background: white !important;
  border-color: #dce8f4 !important;
}

/* app/employee-home.css */
.employee-home-tasks {
  margin: 22px 0;
}
.employee-home-tasks h2 {
  font-size: 18px;
  margin: 0 0 12px;
}
.employee-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.employee-home-grid > button {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  border: 1px solid #55738d;
  border-radius: 14px;
  background: #fff;
  color: #183b56;
  padding: 18px;
  box-shadow: 0 3px 0 #dce8f4;
  min-width: 0;
}
.employee-home-grid > button > span {
  display: flex;
  justify-content: space-between;
  color: #2674ad;
  font-weight: 600;
}
.employee-home-grid strong {
  font-size: 16px;
}
.employee-home-grid small {
  color: #55738d;
  line-height: 1.6;
}
.employee-home-grid progress {
  width: 100%;
  height: 8px;
  accent-color: #2674ad;
}
.employee-home-grid > button:hover {
  background: #f3f8ff;
}
.employee-home-grid > button:focus-visible {
  outline: 3px solid #2674ad;
  outline-offset: 3px;
}
.staff-home .home-greeting {
  background: #f3f8ff;
  border-radius: 14px;
  padding: 18px;
}
.staff-home .my-stage-card {
  border: 1px solid #dce8f4;
  box-shadow: 0 3px 0 #f3f8ff;
}
.staff-home .my-stage-card.is-playing {
  border-color: #2674ad;
  background: #f3f8ff;
}
.staff-home .home-counts {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.staff-home .home-section-title {
  font-size: 18px;
}
.staff-home .button.primary {
  background: #2674ad;
  color: white;
  border-color: #2674ad;
}
.staff-home .home-fold {
  padding: 14px 0;
  border-bottom: 1px solid #dce8f4;
}
@media (max-width: 700px) {
  .employee-home-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .employee-home-grid > button {
    padding: 14px;
    gap: 8px;
  }
  .employee-home-tasks {
    margin-top: 18px;
  }
  .employee-home-grid strong {
    font-size: 15px;
  }
}
.employee-home-grid progress {
  appearance: none;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f3f8ff;
}
.employee-home-grid progress::-webkit-progress-bar {
  background: #f3f8ff;
  border-radius: 6px;
}
.employee-home-grid progress::-webkit-progress-value {
  background: #2674ad;
  border-radius: 6px;
}
.employee-home-grid progress::-moz-progress-bar {
  background: #2674ad;
  border-radius: 6px;
}
.employee-home-grid > button {
  min-height: 44px;
}

/* app/ding-notices.css */
.ding-panel {
  background: #fff;
  border: 1px solid #e0e3ef;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  color: #25314c;
}
.ding-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.ding-heading h2 {
  margin: 0 0 8px;
  font-size: 19px;
}
.ding-heading-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.ding-muted,
.ding-footnote {
  color: #7a859e;
  font-size: 13px;
  line-height: 1.7;
}
.ding-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.ding-stat {
  border: 1px solid #e7e9f2;
  border-radius: 10px;
  padding: 16px;
  text-align: left;
  background: #fafbfe;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}
.ding-stat b {
  font-size: 28px;
  line-height: 1.2;
}
.ding-stat small {
  color: #8590a6;
}
.ding-stat.amber b {
  color: #a66b07;
}
.ding-stat.green b {
  color: #178d78;
}
.ding-stat.red b {
  color: #d44b62;
}
.ding-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #e7e9f2;
  margin-bottom: 18px;
  overflow: auto;
}
.ding-tabs button {
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  padding: 12px 2px;
  color: #6c7892;
  cursor: pointer;
}
.ding-tabs button[aria-pressed=true] {
  border-bottom-color: #7965df;
  color: #7965df;
  font-weight: 600;
}
.ding-filters {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.ding-filters label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #79849b;
  font-size: 13px;
  min-width: 130px;
}
.ding-filters input,
.ding-filters select,
.ding-fields input {
  height: 40px;
  border: 1px solid #dce1ed;
  border-radius: 6px;
  background: #fff;
  padding: 0 10px;
  max-width: 290px;
  color: #34415c;
}
.ding-status {
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  padding: 5px 9px;
  white-space: nowrap;
  font-size: 12px;
  background: #f1effb;
  color: #7161bd;
}
.ding-status.delivered {
  background: #e9f6f1;
  color: #24856b;
}
.ding-status.pending,
.ding-status.submitted,
.ding-status.sending {
  background: #fff4df;
  color: #a37018;
}
.ding-status.failed,
.ding-status.unknown {
  background: #ffedf0;
  color: #c4435e;
}
.ding-status.blocked,
.ding-status.superseded {
  background: #f0f2f6;
  color: #7b8596;
}
.ding-groups {
  display: grid;
  gap: 16px;
}
.ding-group {
  border: 1px solid #e2e6ef;
  border-radius: 10px;
  overflow: hidden;
}
.ding-group header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #fafbfe;
  padding: 16px 20px;
  flex-wrap: wrap;
}
.ding-group header strong {
  font-size: 16px;
}
.ding-group header p {
  color: #7b869d;
  font-size: 13px;
  margin: 7px 0 0;
}
.ding-selected {
  border-color: #7965df;
}
.ding-table-scroll {
  overflow-x: auto;
}
.ding-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.ding-table th {
  background: #fafbfe;
  font-weight: 500;
  color: #8490a6;
  white-space: nowrap;
}
.ding-table td,
.ding-table th {
  padding: 14px 18px;
  border-bottom: 1px solid #edf0f6;
  vertical-align: middle;
}
.ding-table tbody tr:last-child td {
  border-bottom: 0;
}
.ding-table small {
  display: block;
  color: #8690a3;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 5px;
}
.ding-reason {
  min-width: 130px;
  max-width: 260px;
}
.ding-settings {
  border: 1px solid #e0e3ef;
  border-radius: 8px;
  padding: 18px;
  margin: 16px 0;
}
.ding-settings summary {
  cursor: pointer;
  font-weight: 600;
}
.ding-settings form {
  margin-top: 16px;
}
.ding-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 680px;
}
.ding-check {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 16px 0;
}
.ding-check input {
  width: 18px;
  height: 18px;
}
.ding-employee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ding-employee-grid > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid #e5e8f1;
  border-radius: 8px;
}
.ding-empty {
  padding: 40px 15px;
  text-align: center;
  color: #8c97ac;
  background: #fafbfe;
  border-radius: 8px;
}
.ding-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.ding-footnote {
  margin-top: 22px;
  border-top: 1px solid #edf0f5;
  padding-top: 14px;
  font-size: 12px;
}
@media (max-width: 700px) {
  .ding-panel {
    padding: 14px;
  }
  .ding-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .ding-stat {
    padding: 12px;
  }
  .ding-stat b {
    font-size: 24px;
  }
  .ding-fields,
  .ding-employee-grid {
    grid-template-columns: 1fr;
  }
  .ding-filters label {
    flex: 1;
    min-width: 120px;
  }
  .ding-filters input,
  .ding-filters select {
    width: 100%;
    max-width: 100%;
  }
  .ding-table td,
  .ding-table th {
    padding: 12px 10px;
  }
  .ding-group header {
    padding: 14px;
  }
  .ding-tabs {
    gap: 20px;
  }
  .ding-table {
    min-width: 480px;
  }
}

/* app/staff-checkins.css */
.staff-checkins {
  --checkin-ink: #183b56;
  --checkin-purple: #2674ad;
  --checkin-tint: #f3f8ff;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
  background: #f3f8ff;
  border-radius: 20px;
  color: var(--checkin-ink);
  font-family:
    Arial,
    "Microsoft YaHei",
    sans-serif;
}
.staff-checkins * {
  box-sizing: border-box;
}
.staff-checkins p {
  line-height: 1.65;
}
.staff-checkins .note {
  color: #55738d;
}
.checkin-intro {
  margin-bottom: 18px;
}
.checkin-intro p {
  margin: 5px 0 12px;
  font-weight: 600;
}
.checkin-kicker {
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: #55738d;
}
.checkin-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--checkin-tint);
  border: 2px solid var(--checkin-ink);
  border-radius: 12px;
}
.checkin-avatar {
  display: grid;
  place-items: center;
  background: var(--checkin-purple);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-weight: 800;
}
.checkin-identity strong,
.checkin-identity small {
  display: block;
}
.checkin-identity small {
  font-size: 11px;
  color: #55738d;
}
.checkin-identity .checkin-badge {
  margin-left: auto;
}
.checkin-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: end;
  padding: 16px;
  background: white;
  border: 2px solid var(--checkin-ink);
  border-radius: 14px;
  box-shadow: 0 4px 0 #183b5615;
  margin-bottom: 18px;
}
.checkin-toolbar .field {
  flex: 1;
  min-width: 160px;
  margin: 0;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.staff-checkins input:not([type=checkbox]),
.staff-checkins select,
.staff-checkins textarea {
  width: 100%;
  min-width: 0;
  background: white;
  border: 1px solid #dce8f4;
  border-radius: 8px;
  padding: 10px;
  font: inherit;
  color: var(--checkin-ink);
}
.checkin-export {
  display: flex;
  gap: 8px;
}
.staff-checkins .button,
.checkin-dialog .button {
  border: 1.5px solid #55738d;
  border-radius: 9px;
  min-height: 40px;
  padding: 9px 14px;
  background: white;
  color: #183b56;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 2px 0 #183b5612;
}
.staff-checkins .button.primary,
.checkin-dialog .button.primary {
  background: #2674ad;
  color: white;
  border-color: #55738d;
}
.staff-checkins .button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.staff-checkins button:focus-visible {
  outline: 3px solid #cddff0;
  outline-offset: 3px;
}
.checkin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.checkin-tabs .button {
  border-radius: 99px;
  min-height: 38px;
  font-size: 13px;
}
.checkin-config {
  border: 1px solid #dce8f4;
  border-radius: 10px;
  background: #f3f8ff;
  padding: 12px 14px;
  margin: 16px 0;
}
.checkin-config summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}
.checkin-config summary span {
  float: right;
  color: #55738d;
  font-size: 11px;
}
.checkin-config .checkin-tabs {
  margin-bottom: 0;
}
.checkin-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 22px;
  background: var(--checkin-tint);
  border: 2px solid var(--checkin-ink);
  border-radius: 16px;
  box-shadow: 0 5px 0 #183b5620;
  margin: 20px 0;
}
.checkin-rate {
  display: block;
  font-size: 46px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -2px;
  margin: 7px 0;
}
.checkin-rate small {
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 600;
}
.checkin-overview p {
  margin: 0;
  font-size: 13px;
}
.checkin-overview-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #55738d;
}
.checkin-overview-note b {
  font-size: 16px;
  color: #183b56;
}
.staff-checkins progress {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 12px;
  appearance: none;
  border: 0;
  border-radius: 99px;
  overflow: hidden;
  background: #f3f8ff;
  accent-color: #2674ad;
}
.staff-checkins progress::-webkit-progress-bar {
  background: #f3f8ff;
  border-radius: 99px;
}
.staff-checkins progress::-webkit-progress-value {
  background: #2674ad;
  border-radius: 99px;
}
.checkin-overview progress {
  grid-column: 1/-1;
}
.checkin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.checkin-metrics article {
  padding: 16px;
  border: 2px solid var(--checkin-ink);
  border-radius: 14px;
  background: white;
  box-shadow: 0 4px 0 #183b5615;
}
.checkin-metrics article > span {
  font-size: 12px;
  font-weight: 700;
  color: #55738d;
}
.checkin-metrics strong {
  display: block;
  font-size: 28px;
  margin: 8px 0;
  line-height: 1.3;
}
.checkin-metrics small {
  font-size: 11px;
  color: #55738d;
}
.checkin-metrics .checkin-time {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.checkin-warn {
  color: #ad4c65 !important;
}
.checkin-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 22px 0 12px;
  padding: 12px 14px;
  background: #f3f8ff;
  border-left: 4px solid #2674ad;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 800;
}
.checkin-section-title span {
  font-size: 11px;
  font-weight: 500;
  color: #55738d;
}
.checkin-card {
  padding: 20px;
  background: white;
  border: 2px solid var(--checkin-ink);
  border-radius: 16px;
  box-shadow: 0 5px 0 #183b5615;
  margin: 14px 0 20px;
}
.checkin-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}
.checkin-card h4 {
  margin: 0 0 14px;
}
.checkin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.checkin-badge {
  display: inline-flex;
  white-space: nowrap;
  border: 1px solid #dce8f4;
  border-radius: 6px;
  background: #f3f8ff;
  color: #55738d;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
}
.checkin-deadline {
  font-size: 12px;
  color: #55738d;
  margin: 8px 0 14px;
}
.checkin-progress-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 16px;
  font-size: 11px;
  color: #55738d;
}
.checkin-progress-caption b {
  font-size: 13px;
  color: #55738d;
}
.checkin-item-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  border: 1px solid #dce8f4;
  border-radius: 10px;
  overflow: hidden;
}
.checkin-item-list li {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 14px 12px;
  border-bottom: 1px dashed #dce8f4;
}
.checkin-item-list li:last-child {
  border: 0;
}
.checkin-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 28px;
  background: #f3f8ff;
  border-radius: 7px;
  font-weight: 800;
  font-size: 12px;
  color: #55738d;
}
.checkin-item-list li > div {
  flex: 1;
  min-width: 0;
}
.checkin-item-list strong {
  font-size: 14px;
  line-height: 1.6;
  display: block;
}
.checkin-evidence {
  display: inline-block;
  margin-top: 5px;
  font-size: 10px;
  padding: 2px 6px;
  background: #f3f8ff;
  color: #55738d;
  border-radius: 4px;
}
.checkin-item-status {
  font-size: 24px;
  color: #dce8f4;
  line-height: 1.1;
}
.checkin-item-status.is-done {
  color: #399976;
}
.checkin-open {
  width: 100%;
}
.checkin-task-card.is-submitted {
  border-color: #6c9a86;
}
.checkin-person-card p {
  font-size: 12px;
  color: #55738d;
  margin: 10px 0;
}
.checkin-person-card h3 {
  background: #f3f8ff;
  margin: -20px -20px 14px;
  padding: 14px 20px;
  border-bottom: 1px solid #dce8f4;
  border-radius: 14px 14px 0 0;
}
.checkin-followup {
  padding: 2px 12px;
  background: #f3f8ff;
  border-radius: 8px;
  margin: 12px 0;
}
.checkin-followup b {
  display: block;
  color: #55738d;
}
.checkin-trend-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}
.checkin-card > .checkin-section-title {
  margin: -20px -20px 16px;
  border-radius: 14px 14px 0 0;
  border-left: 0;
  border-bottom: 1px solid #cddff0;
  padding: 15px 20px;
}
.checkin-person {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #f3f8ff;
}
.checkin-dialog {
  width: min(680px, 100%);
  max-height: 90dvh;
  overflow: auto;
  background: #f3f8ff;
  padding: 24px;
  border: 2px solid #183b56;
  border-radius: 16px;
  color: #183b56;
}
.checkin-dialog[data-slot=dialog-content] {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 101;
  display: block;
  max-width: calc(100vw - 24px);
}
.checkin-dialog .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
  font-size: 13px;
}
.checkin-dialog input:not([type=checkbox]),
.checkin-dialog textarea,
.checkin-dialog select {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dce8f4;
  padding: 10px;
  border-radius: 8px;
  background: white;
  color: #183b56;
  font: inherit;
}
.checkin-dialog textarea {
  min-height: 80px;
}
.checkin-dialog footer {
  position: sticky;
  bottom: -24px;
  background: #f3f8ff;
  padding: 14px 0 4px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid #dce8f4;
}
.checkin-photos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.checkin-photos img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}
.checkin-dialog .note {
  font-size: 12px;
  color: #55738d;
}
@media (max-width: 640px) {
  .staff-checkins {
    padding: 12px;
    border-radius: 12px;
  }
  .checkin-toolbar {
    padding: 12px;
    gap: 10px;
  }
  .checkin-toolbar .field {
    min-width: 0;
    flex: 1 1 40%;
    font-size: 11px;
  }
  .checkin-toolbar .field:first-child {
    flex-basis: 40%;
  }
  .checkin-toolbar > .button {
    flex: 1;
  }
  .checkin-export {
    flex: 2;
  }
  .checkin-export .button {
    flex: 1;
    padding: 9px;
  }
  .checkin-identity {
    padding: 10px;
  }
  .checkin-identity .checkin-badge {
    font-size: 10px;
  }
  .checkin-overview {
    padding: 16px;
    gap: 10px;
  }
  .checkin-rate {
    font-size: 40px;
  }
  .checkin-overview-note b {
    font-size: 14px;
  }
  .checkin-overview-note {
    font-size: 11px;
  }
  .checkin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .checkin-metrics article {
    padding: 13px;
  }
  .checkin-metrics strong {
    font-size: 25px;
  }
  .checkin-metrics .checkin-time {
    font-size: 14px;
  }
  .checkin-card {
    padding: 15px;
  }
  .checkin-card h3 {
    font-size: 16px;
  }
  .checkin-person-card h3 {
    margin: -15px -15px 12px;
    padding: 12px 15px;
  }
  .checkin-card > .checkin-section-title {
    margin: -15px -15px 14px;
    padding: 12px 15px;
  }
  .checkin-section-title {
    font-size: 16px;
  }
  .checkin-progress-caption {
    align-items: start;
  }
  .checkin-progress-caption span {
    max-width: 50%;
    text-align: right;
  }
  .checkin-dialog {
    padding: 16px;
  }
  .checkin-dialog footer {
    bottom: -16px;
    flex-wrap: wrap;
  }
  .checkin-tabs .button {
    min-height: 40px;
  }
  .checkin-intro p {
    font-size: 13px;
  }
  .checkin-item-list li {
    padding: 12px 10px;
  }
  .checkin-item-list strong {
    font-size: 13px;
  }
}
@media (max-width: 640px) {
  .checkin-intro {
    margin-bottom: 10px;
  }
  .checkin-toolbar {
    margin-bottom: 10px;
  }
  .checkin-config {
    padding: 10px 12px;
    margin: 10px 0;
  }
  .checkin-tabs {
    margin: 10px 0;
  }
  .checkin-overview {
    margin: 12px 0;
    padding: 13px;
  }
  .checkin-metrics {
    margin: 12px 0;
    gap: 8px;
  }
  .checkin-metrics article {
    padding: 10px;
  }
  .checkin-metrics strong {
    margin: 5px 0;
  }
  .checkin-section-title {
    margin: 16px 0 10px;
  }
  .checkin-task-card {
    margin-top: 10px;
  }
}
.checkin-trend-row {
  grid-template-columns: 45px minmax(0, 1fr) 36px;
  gap: 8px;
  margin: 14px 0;
}
.checkin-trend-row b {
  text-align: right;
  font-size: 12px;
}
.checkin-trend-row small {
  grid-column: 2/-1;
  font-size: 10px;
  color: #55738d;
  margin-top: -5px;
}
.checkin-trend-empty {
  grid-column: 2/-1;
  color: #55738d;
}
@media (max-width: 640px) {
  .staff-checkins {
    padding: 10px;
  }
  .checkin-intro {
    margin: 0 0 8px;
  }
  .checkin-identity {
    padding: 0;
    border: 0;
    background: transparent;
    gap: 8px;
    min-height: 28px;
  }
  .checkin-avatar {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 12px;
  }
  .checkin-identity small {
    display: none;
  }
  .checkin-identity strong {
    font-size: 13px;
  }
  .checkin-identity .checkin-badge {
    padding: 3px 6px;
    font-size: 9px;
  }
  .checkin-toolbar {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    gap: 6px;
    margin: 6px 0 10px;
    align-items: end;
  }
  .checkin-toolbar .field,
  .checkin-toolbar .field:first-child {
    flex: 1 1 0;
    min-width: 0;
    font-size: 10px;
    gap: 4px;
  }
  .checkin-toolbar input,
  .checkin-toolbar select {
    padding: 8px 5px;
    height: 36px;
    font-size: 11px;
  }
  .checkin-toolbar > .button {
    flex: 0 0 auto;
    padding: 6px 8px;
    min-height: 36px;
    font-size: 11px;
  }
  .checkin-export {
    flex: 0 0 100%;
    justify-content: flex-end;
  }
  .checkin-export .button {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 5px 12px;
    font-size: 11px;
  }
  .checkin-config {
    padding: 6px 9px;
    margin: 8px 0;
    border-radius: 7px;
  }
  .checkin-config summary {
    font-size: 11px;
  }
  .checkin-config summary span {
    font-size: 10px;
  }
  .checkin-tabs {
    margin: 8px 0;
    gap: 6px;
  }
  .checkin-tabs .button {
    min-height: 32px;
    padding: 5px 12px;
    font-size: 11px;
  }
  .checkin-overview {
    padding: 11px 13px;
    margin: 10px 0;
    gap: 5px 10px;
    border-radius: 12px;
  }
  .checkin-rate {
    font-size: 32px;
    margin: 3px 0;
  }
  .checkin-overview .checkin-kicker {
    font-size: 10px;
  }
  .checkin-overview p {
    font-size: 11px;
  }
  .checkin-overview-note b {
    font-size: 12px;
  }
  .checkin-overview-note {
    font-size: 10px;
    gap: 3px;
  }
  .checkin-overview progress {
    height: 9px;
    margin-top: 4px;
  }
  .checkin-metrics {
    gap: 7px;
    margin: 10px 0;
  }
  .checkin-metrics article {
    padding: 8px 10px;
    border-radius: 11px;
  }
  .checkin-metrics article > span {
    font-size: 10px;
  }
  .checkin-metrics strong {
    font-size: 22px;
    margin: 3px 0;
  }
  .checkin-metrics small {
    font-size: 9px;
  }
  .checkin-metrics .checkin-time {
    font-size: 12px;
  }
  .checkin-section-title {
    margin: 12px 0 8px;
    padding: 9px 11px;
    font-size: 14px;
  }
  .checkin-section-title span {
    font-size: 10px;
  }
  .checkin-card {
    padding: 13px;
  }
  .checkin-deadline {
    margin: 6px 0 10px;
  }
  .checkin-progress-caption {
    margin: 8px 0 12px;
  }
  .checkin-item-list li {
    padding: 10px;
  }
  .checkin-person-card h3 {
    margin: -13px -13px 10px;
    padding: 10px 13px;
  }
  .checkin-card > .checkin-section-title {
    margin: -13px -13px 12px;
    padding: 10px 13px;
  }
}
.checkin-card-head .checkin-open {
  width: auto;
  flex: 0 0 auto;
  font-size: 12px;
  padding: 7px 10px;
  min-height: 36px;
}
.checkin-card-head h3 {
  flex: 1;
  min-width: 0;
}
.checkin-deadline .checkin-badge {
  margin-right: 5px;
}
@media (max-width: 640px) {
  .checkin-metrics article > span {
    font-size: 12px;
  }
  .checkin-metrics small {
    font-size: 11px;
    line-height: 1.5;
  }
  .checkin-overview-note {
    font-size: 12px;
  }
  .checkin-overview-note b {
    font-size: 13px;
  }
  .checkin-section-title span,
  .checkin-progress-caption,
  .checkin-evidence {
    font-size: 11px;
  }
  .checkin-trend-row small {
    font-size: 11px;
  }
  .checkin-config summary {
    font-size: 12px;
  }
  .checkin-config summary span {
    font-size: 11px;
  }
  .checkin-toolbar .field {
    font-size: 11px;
  }
}
.checkin-main-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}
.checkin-main-tabs .button {
  font-size: 15px;
  min-height: 42px;
}
.checkin-settings-nav {
  border-bottom: 1px solid #dce8f4;
  margin-bottom: 12px;
}
.checkin-success {
  padding: 12px 14px;
  border: 1px solid #87b29b;
  border-radius: 10px;
  background: #eef8f1;
  color: #2b6247;
  font-size: 13px;
}
.checkin-exception-action {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  width: 100%;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.checkin-exception-action > span {
  font-size: 12px;
  color: #55738d;
  font-weight: 700;
}
.checkin-person-card:focus {
  outline: 3px solid #cddff0;
  outline-offset: 4px;
}
.checkin-store-context {
  padding: 9px 12px;
  border-radius: 7px;
  background: #f3f8ff;
  font-size: 13px;
  font-weight: 700;
}
.checkin-reference {
  padding: 12px;
  background: #f3f8ff;
  border: 1px solid #dce8f4;
  border-radius: 10px;
  margin: 18px 0;
}
.checkin-reference summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

/* app/review-progress.css */
.rp {
  --rp-purple: #2674ad;
  --rp-ink: #183b56;
  background: #f3f8ff;
  border: 2px solid var(--rp-ink);
  border-radius: 18px;
  box-shadow: 0 5px 0 #183b562b;
  overflow: hidden;
  margin: 0 0 28px;
  color: var(--rp-ink);
  font: 14px/1.5 system-ui, sans-serif;
  min-width: 0;
}
.rp * {
  box-sizing: border-box;
}
.rp h3,
.rp h4,
.rp p {
  margin: 0;
}
.rp-head {
  padding: 20px 24px;
  background: #f3f8ff;
  border-bottom: 2px solid var(--rp-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rp h3 {
  font-size: 25px;
  font-weight: 850;
}
.rp-eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #55738d;
}
.rp-tag {
  border: 1px solid #55738d;
  background: #fff;
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.rp-body {
  padding: 22px;
  display: grid;
  gap: 18px;
}
.rp-cycle {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.rp-cycle span,
.rp-note {
  color: #55738d;
  font-size: 12px;
}
.rp-filters {
  display: grid;
  gap: 12px;
}
.rp-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.rp button,
.rp select,
.rp input {
  font: inherit;
  color: inherit;
}
.rp button {
  cursor: pointer;
  border: 1.5px solid #cddff0;
  background: white;
  border-radius: 99px;
  padding: 8px 14px;
  font-weight: 700;
}
.rp button[aria-pressed=true] {
  background: var(--rp-purple);
  border-color: var(--rp-ink);
  color: white;
  box-shadow: 0 2px 0 var(--rp-ink);
}
.rp button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.rp :focus-visible {
  outline: 3px solid #f3f8ff;
  outline-offset: 3px;
}
.rp-selects,
.rp-dates {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.rp label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 650;
  flex: 1;
  min-width: 120px;
}
.rp select,
.rp input {
  width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid #cddff0;
  border-radius: 10px;
  padding: 10px;
}
.rp-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1.5px solid var(--rp-ink);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 0 #183b561a;
}
.rp-summary > div {
  padding: 16px;
  border-right: 1px solid #dce8f4;
  display: grid;
  gap: 3px;
}
.rp-summary > div:last-child {
  border: 0;
}
.rp-summary span {
  font-size: 12px;
  color: #55738d;
}
.rp-summary strong {
  font-size: 27px;
  line-height: 1.3;
}
.rp small {
  font-size: 12px;
  font-weight: 500;
}
.rp-panel {
  background: #fff;
  border: 1.5px solid var(--rp-ink);
  border-radius: 13px;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 3px 0 #183b561a;
}
.rp-band {
  background: #f3f8ff;
  border-bottom: 1px solid #cddff0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
}
.rp-band h4 {
  font-size: 16px;
  font-weight: 800;
}
.rp-band span {
  font-size: 11px;
  color: #55738d;
}
.rp-soft {
  background: #f3f8ff;
}
.rp-chart {
  padding: 16px;
}
.rp-chart svg {
  display: block;
  width: 100%;
  max-height: 290px;
}
.rp-chart text {
  font-size: 12px;
  fill: #55738d;
}
.rp-chart p {
  font-size: 12px;
  color: #55738d;
}
.rp details {
  margin-top: 12px;
  font-size: 12px;
}
.rp summary {
  cursor: pointer;
}
.rp-day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
  padding-top: 8px;
}
.rp-day-grid span {
  display: flex;
  justify-content: space-between;
  background: #f3f8ff;
  padding: 5px;
}
.rp-scroll {
  overflow-x: auto;
}
.rp table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 13px;
}
.rp th,
.rp td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid #f3f8ff;
}
.rp thead th {
  font-size: 12px;
  color: #55738d;
  background: #f3f8ff;
}
.rp td progress {
  display: block;
  width: 120px;
  height: 12px;
  margin-top: 6px;
}
.rp progress {
  appearance: none;
  border: 0;
  border-radius: 99px;
  overflow: hidden;
  background: #f3f8ff;
  accent-color: var(--rp-purple);
}
.rp progress::-webkit-progress-bar {
  background: #f3f8ff;
}
.rp progress::-webkit-progress-value {
  background: var(--rp-purple);
  border-radius: 99px;
}
.rp progress::-moz-progress-bar {
  background: var(--rp-purple);
}
.rp-target {
  display: flex;
  gap: 6px;
}
.rp-target input {
  width: 76px;
}
.rp-target button {
  border-radius: 9px;
  padding: 6px 10px;
}
.rp-personal {
  padding: 18px;
  background: white;
  border: 1.5px solid var(--rp-ink);
  border-radius: 12px;
  box-shadow: 0 3px 0 #183b561a;
}
.rp-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.rp-big {
  font-size: 42px;
  font-weight: 850;
  color: var(--rp-purple);
  margin: 6px 0;
}
.rp-personal progress {
  width: 100%;
  height: 20px;
}
.rp-personal p {
  margin-top: 8px;
  font-size: 12px;
}
.rp-platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 16px;
  gap: 12px;
}
.rp-platforms > div {
  display: grid;
  gap: 4px;
}
.rp-platforms span {
  font-size: 12px;
  color: #55738d;
}
.rp-platforms strong {
  font-size: 23px;
}
.rp-empty,
.rp-message {
  padding: 16px;
}
.rp-message {
  color: #a52b46;
  background: #fff0f2;
  border-radius: 10px;
}
.rp-message button {
  margin-left: 10px;
}
@media (max-width: 600px) {
  .rp {
    border-radius: 14px;
  }
  .rp-head {
    padding: 14px;
  }
  .rp h3 {
    font-size: 21px;
  }
  .rp-body {
    padding: 12px;
    gap: 14px;
  }
  .rp-cycle {
    display: grid;
    font-size: 12px;
    gap: 4px;
  }
  .rp-pills {
    gap: 6px;
  }
  .rp-pills button {
    font-size: 12px;
    padding: 7px 10px;
  }
  .rp-selects {
    gap: 8px;
  }
  .rp-selects label {
    min-width: 90px;
  }
  .rp select,
  .rp input {
    padding: 9px 7px;
    font-size: 13px;
  }
  .rp-summary > div {
    padding: 11px 8px;
  }
  .rp-summary strong {
    font-size: 23px;
  }
  .rp-summary small {
    display: block;
    font-size: 10px;
  }
  .rp-summary span {
    font-size: 11px;
  }
  .rp-band {
    padding: 10px 12px;
    flex-wrap: wrap;
  }
  .rp-band h4 {
    font-size: 15px;
  }
  .rp-chart {
    padding: 12px 6px;
  }
  .rp-chart svg {
    min-height: 160px;
  }
  .rp-chart p,
  .rp-chart details {
    margin-left: 6px;
  }
  .rp-platforms {
    padding: 12px;
    gap: 6px;
  }
  .rp-platforms strong {
    font-size: 21px;
  }
  .rp-personal {
    padding: 14px;
  }
  .rp th,
  .rp td {
    padding: 11px;
  }
  .rp-note {
    font-size: 11px;
  }
  .rp-tag {
    padding: 4px 8px;
    font-size: 11px;
  }
}
.rp {
  width: 100%;
  max-width: 100%;
}
.rp-body {
  grid-template-columns: minmax(0, 1fr);
}
.rp-body > * {
  min-width: 0;
}
.rp-chart svg {
  max-width: 100%;
}
@media (max-width: 600px) {
  .rp-selects .rp-store-filter {
    flex-basis: 100%;
  }
  .rp-chart text {
    font-size: 20px;
  }
}
.rp-chart-unit {
  font-size: 12px;
  color: #55738d;
  margin-bottom: 4px !important;
}

/* app/service-scenes.css */
.service-scene-list {
  display: grid;
  gap: 16px;
}
.service-scene-card {
  border: 1px solid #dce8f4;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  min-width: 0;
}
.service-scene-card > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.service-scene-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}
.service-scene-card header p {
  font-size: 13px;
  color: #55738d;
  margin: 8px 0 0;
}
.service-scene-card header > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.service-scene-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.service-scene-group {
  padding: 14px;
  border: 1px solid #dce8f4;
  border-radius: 8px;
  background: #f3f8ff;
  min-width: 0;
  overflow-wrap: anywhere;
}
.service-scene-group > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.service-scene-group p {
  font-size: 13px;
  margin: 8px 0 0;
  line-height: 1.6;
}
.service-scene-progress {
  background: #f3f8ff;
  padding: 12px;
  border-radius: 8px;
  line-height: 1.7;
  color: #55738d;
}
.service-group-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-save-notice {
  color: #21856e;
  padding: 10px;
  background: #edf8f2;
  border-radius: 8px;
}
.service-edit-group-title {
  font-size: 16px;
  font-weight: 600;
  margin: 16px 0 0;
}
@media (max-width: 767px) {
  .service-scene-card {
    padding: 14px;
  }
  .service-scene-card > header {
    flex-direction: column;
    gap: 10px;
  }
  .service-scene-groups {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-scene-card > .button {
    width: 100%;
    min-height: 44px;
  }
  .service-group-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-group-switch .button {
    min-width: 0;
    white-space: normal;
    min-height: 44px;
    padding: 8px;
  }
}
.service-filter-fold {
  margin: 12px 0;
  border: 1px solid #dce8f4;
  border-radius: 10px;
  background: #f3f8ff;
}
.service-filter-fold > summary {
  padding: 12px 14px;
  color: #183b56;
  font-size: 13px;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.service-filter-fold .service-filter-panel {
  margin: 0;
  border: 0;
}

/* app/service-layout.css */
.service-task-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.service-task-heading h2 {
  font-size: 18px;
  margin: 0 0 6px;
}
.service-task-heading p {
  margin: 0;
}
.service-task-heading > .button {
  flex-shrink: 0;
}
.service-management .service-metric {
  padding: 14px 18px;
  min-height: 96px;
}
.service-management .service-metric strong {
  font-size: 26px;
  margin-top: 8px;
}
.review-scene-drawer {
  gap: 0 !important;
  overflow: hidden;
}
.review-scene-drawer [data-slot=sheet-header] {
  padding: 24px 48px 18px 24px;
  flex-shrink: 0;
}
.review-scene-filters {
  padding: 0 24px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  flex-shrink: 0;
}
.review-scene-filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #68748d;
  font-size: 13px;
  min-width: 0;
}
.review-scene-filters label:nth-of-type(2),
.review-scene-search {
  grid-column: 1/-1;
}
.review-scene-filters input,
.review-scene-filters select {
  border: 1px solid #dfe3ee;
  background: white;
  border-radius: 7px;
  min-height: 40px;
  padding: 8px 10px;
  width: 100%;
  color: #263653;
  box-sizing: border-box;
}
.review-scene-list {
  overflow: auto;
  min-height: 0;
  flex: 1;
  padding: 0 24px;
}
.review-scene-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #e8ebf3;
}
.review-scene-row > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.review-scene-row strong {
  color: #22304a;
}
.review-scene-row p {
  font-size: 12px;
  color: #78839a;
  margin: 5px 0 0;
}
.review-scene-row > .button {
  flex-shrink: 0;
}
.review-scene-pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid #e8ebf3;
  flex-shrink: 0;
}
.review-scene-pagination span {
  margin-right: auto;
  font-size: 12px;
  color: #78839a;
}
@media (max-width: 600px) {
  .service-task-heading {
    align-items: flex-start;
  }
  .service-task-heading p {
    max-width: 230px;
  }
  .review-scene-filters {
    padding: 0 16px 12px;
  }
  .review-scene-list {
    padding: 0 16px;
  }
  .review-scene-pagination {
    padding: 12px 16px;
  }
  .review-scene-row {
    gap: 8px;
  }
  .service-management .service-metric {
    padding: 12px;
    min-height: 84px;
  }
}
.service-filter-panel {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid #dfe3ee;
  border-radius: 10px;
  background: #fff;
  display: grid;
  gap: 16px;
}
.service-status-tabs,
.service-date-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.service-search-row {
  display: grid;
  grid-template-columns: minmax(200px, 1.4fr) minmax(160px, 1fr) minmax(140px, .8fr);
  gap: 12px;
  align-items: end;
}
.service-search-row .field,
.service-date-range .field {
  min-width: 0;
  margin: 0;
}
.service-search-row input,
.service-search-row select,
.service-date-range input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.service-date-row {
  border-top: 1px solid #e8ebf3;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
}
.service-date-presets {
  align-self: center;
}
.service-date-presets > span {
  font-size: 13px;
  color: #68748d;
  margin-right: 4px;
}
.service-date-range {
  display: flex;
  gap: 10px;
  align-items: end;
}
.service-date-range .field {
  width: 158px;
}
.service-date-range > span {
  padding-bottom: 12px;
  color: #78839a;
}
.service-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.service-pagination > span {
  font-size: 13px;
  color: #68748d;
}
@media (max-width: 600px) {
  .service-filter-panel {
    padding: 12px;
    gap: 12px;
  }
  .service-search-row {
    grid-template-columns: 1fr 1fr;
  }
  .service-search-row > .field:first-child {
    grid-column: 1/-1;
  }
  .service-date-range {
    width: 100%;
  }
  .service-date-range .field {
    flex: 1;
    width: auto;
    min-width: 0;
  }
  .service-pagination {
    align-items: flex-start;
  }
  .service-pagination > .actions {
    margin-left: auto;
  }
}

/* app/reviews-page.css */
.reviews-page {
  --review-accent:#2674ad;
  color: #183b56;
  min-width: 0;
}
.reviews-intro {
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  margin-bottom: 18px;
}
.reviews-intro > .note {
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #55738d;
}
.reviews-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #dce8f4;
  padding-bottom: 12px;
}
.reviews-toolbar .reviews-register {
  order: 2;
  margin-left: auto;
  background: #fff;
  border-color: #f3f8ff;
  color: #2674ad;
  box-shadow: none;
}
.reviews-toolbar .reviews-tab {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: #55738d;
  font-weight: 600;
  padding: 9px 16px;
}
.reviews-toolbar .reviews-tab.primary {
  background: #f3f8ff;
  border-color: #f3f8ff;
  color: #2674ad;
  box-shadow: none;
}
.reviews-filters {
  display: grid;
  grid-template-columns: minmax(160px, 1.6fr) repeat(3, minmax(105px, 1fr)) repeat(2, minmax(145px, 1fr)) auto;
  align-items: end;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid #dce8f4;
  border-radius: 12px;
  margin-bottom: 18px;
}
.reviews-filter,
.reviews-filters .field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  min-width: 0;
  font-size: 12px;
  color: #55738d;
}
.reviews-filter select,
.reviews-filter input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 39px;
  border: 1px solid #dce8f4 !important;
  border-radius: 7px;
  padding: 8px 10px;
  background: #f3f8ff;
  color: #183b56;
  font: 13px/1.4 inherit;
  appearance: auto;
}
.reviews-filter select:focus,
.reviews-filter input:focus {
  outline: 2px solid #f3f8ff;
  outline-offset: 1px;
}
.reviews-filter-shortcuts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.reviews-filter-shortcuts .button {
  padding: 8px 10px;
  white-space: nowrap;
  min-height: 39px;
}
.reviews-status-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}
.reviews-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #dce8f4;
  border-radius: 10px;
  padding: 15px 18px;
  background: #fff;
  color: #55738d;
  text-align: left;
  transition: background .15s, border-color .15s;
}
.reviews-status span {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.reviews-status span:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55738d;
  flex-shrink: 0;
}
.reviews-status.pending span:before {
  background: #dca251;
}
.reviews-status.approved span:before {
  background: #3da58b;
}
.reviews-status.returned span:before {
  background: #d27989;
}
.reviews-status strong {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 650;
  color: #183b56;
  font-variant-numeric: tabular-nums;
}
.reviews-status:hover {
  border-color: #cddff0;
  background: #f3f8ff;
}
.reviews-status.is-active {
  background: #f3f8ff;
  border-color: #2674ad;
  box-shadow: inset 0 0 0 1px #2674ad;
  color: #2674ad;
}
.reviews-status.is-active strong {
  color: #2674ad;
}
.reviews-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 12px;
  color: #55738d;
}
.reviews-results-heading > strong {
  font-size: 14px;
  font-weight: 600;
  color: #183b56;
}
.reviews-results-heading strong span {
  display: inline-block;
  margin-left: 7px;
  background: #f3f8ff;
  color: #2674ad;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 500;
}
.reviews-page .review-list-wrap {
  margin-top: 0;
  border-radius: 10px;
  overflow: auto;
}
.reviews-page .review-list {
  min-width: 850px;
  table-layout: fixed;
}
.reviews-page .review-list th {
  padding: 12px 16px;
  background: #f3f8ff;
  font-size: 12px;
  font-weight: 500;
  color: #55738d;
  white-space: nowrap;
}
.reviews-page .review-list th:nth-child(1) {
  width: 13%;
}
.reviews-page .review-list th:nth-child(2) {
  width: 30%;
}
.reviews-page .review-list th:nth-child(3) {
  width: 16%;
}
.reviews-page .review-list th:nth-child(4) {
  width: 13%;
}
.reviews-page .review-list th:nth-child(5) {
  width: 18%;
}
.reviews-page .review-list th:nth-child(6) {
  width: 10%;
}
.reviews-page .review-list td {
  padding: 12px 16px;
  font-size: 13px;
  border-bottom: 1px solid #f3f8ff;
  overflow-wrap: anywhere;
}
.reviews-page .review-list td strong {
  font-size: 13px;
  font-weight: 600;
  color: #183b56;
}
.reviews-page .review-list small {
  font-size: 11px;
  line-height: 1.55;
  margin-top: 3px;
  color: #55738d;
}
.reviews-page .review-list small.reviews-participated {
  color: #619183;
}
.reviews-page .review-list small.reviews-not-participated {
  color: #a39479;
}
.reviews-page .review-list .badge {
  padding: 4px 8px;
  font-size: 11px;
  white-space: nowrap;
  border-radius: 5px;
}
.reviews-page .review-row-actions .button {
  min-height: 33px;
  padding: 6px 12px;
  font-size: 12px;
  box-shadow: none;
  border-radius: 6px;
}
.reviews-platform {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #55738d;
}
.reviews-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
  color: #55738d;
  font-size: 12px;
}
.reviews-pagination .button {
  font-size: 12px;
  min-height: 34px;
  padding: 7px 12px;
}
.reviews-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 42px 16px;
  background: #fff;
  border: 1px solid #dce8f4;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  color: #cddff0;
  font-size: 12px;
}
.reviews-empty strong {
  font-size: 14px;
  color: #55738d;
  font-weight: 500;
}
@media (max-width: 700px) {
  .reviews-page .review-list {
    min-width: 0;
    display: block;
    table-layout: auto;
  }
  .reviews-page .review-list thead {
    display: none;
  }
  .reviews-page .review-list tbody {
    display: grid;
    gap: 12px;
  }
  .reviews-page .review-list-wrap {
    border: 0;
    background: transparent;
    overflow: visible;
  }
  .reviews-page .review-list tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 4px 2px;
    border: 1px solid #dce8f4;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
  }
  .reviews-page .review-list tbody td {
    display: block;
    min-width: 0;
    border: 0;
    padding: 9px 12px;
  }
  .reviews-page .review-list tbody td:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 2;
    background: #f3f8ff;
    margin: 0 10px;
    border-radius: 6px;
  }
  .reviews-page .review-list tbody td:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  .reviews-page .review-list tbody td:nth-child(5):before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    color: #55738d;
    margin-bottom: 3px;
  }
  .reviews-page .review-list tbody td:nth-child(6) {
    grid-column: 1/-1;
    border-top: 1px solid #f3f8ff;
    margin-top: 3px;
  }
  .reviews-page .review-row-actions {
    justify-content: flex-end;
  }
  .reviews-page .review-row-actions .button {
    min-height: 40px;
    min-width: 88px;
  }
  .reviews-page .review-list tr:hover td {
    background: transparent;
  }
}
@media (max-width: 1250px) {
  .reviews-filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .reviews-filter-shortcuts {
    grid-column: span 2;
  }
}
@media (max-width: 700px) {
  .reviews-intro {
    gap: 10px;
  }
  .reviews-toolbar {
    flex-wrap: wrap;
  }
  .reviews-toolbar .reviews-register {
    order: 0;
    width: 100%;
    margin: 0 0 5px;
  }
  .reviews-toolbar .reviews-tab {
    flex: 1;
  }
  .reviews-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
    gap: 12px;
  }
  .reviews-filter-shortcuts {
    grid-column: 1/-1;
    justify-content: flex-end;
  }
  .reviews-filter select,
  .reviews-filter input {
    height: 42px;
    font-size: 14px;
  }
  .reviews-status-tabs {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reviews-status {
    padding: 12px 14px;
  }
  .reviews-status strong {
    font-size: 23px;
  }
  .reviews-results-heading {
    align-items: flex-start;
  }
  .reviews-results-heading > span {
    max-width: 130px;
    text-align: right;
    font-size: 11px;
  }
  .reviews-pagination {
    justify-content: center;
    gap: 8px;
  }
  .reviews-page .review-list th,
  .reviews-page .review-list td {
    padding: 11px 12px;
  }
}
