.results-page {
  min-width: 0;
  width: 100%;
}
.results-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 32px 38px;
}
.results-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.results-heading h1 {
  margin: 0;
  color: #191c1d;
  font-size: var(--app-page-title-size);
  font-weight: var(--app-page-title-weight);
  line-height: var(--app-page-title-line-height);
}
.results-heading p {
  margin: 4px 0 0;
  max-width: 800px;
  color: #41484c;
  font-size: 16px;
  line-height: 24px;
}
.results-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.results-stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px;
  border: 1px solid #c0c7cc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(12, 174, 242, 0.05);
}
.results-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #c7e7ff;
}
.results-stat-icon img {
  width: 20px;
  height: 20px;
}
.results-stat-icon--green {
  background: #dcfce7;
}
.results-stat-icon--purple {
  background: #dfe0ff;
}
.results-stat-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.results-stat h2 {
  margin: 0;
  color: #41484c;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.35px;
  line-height: 20px;
}
.results-stat strong {
  display: block;
  color: #191c1d;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
}
.results-list {
  overflow: hidden;
  border: 1px solid #c0c7cc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(12, 174, 242, 0.05);
}
.results-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
}
.results-list-heading h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #191c1d;
}
.results-list-heading p {
  margin: 6px 0 0;
  color: #71787d;
  font-size: 14px;
  line-height: 20px;
}
.results-count {
  color: #71787d;
  font-size: 13px;
  white-space: nowrap;
}
.results-filters {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 0 24px 24px;
}
.results-search {
  flex: 1;
  min-width: 0;
}
.results-field-label {
  display: block;
  margin-bottom: 6px;
  color: #41484c;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}
.results-search input {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  border: 1px solid #c0c7cc;
  border-radius: 8px;
  padding: 10px 12px;
  color: #191c1d;
  background: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 20px;
}
.results-search input::placeholder {
  color: #94a3b8;
}
.results-status-filter {
  width: 200px;
  flex: 0 0 200px;
}
.results-reset {
  height: 44px;
  padding: 0 14px;
  border: 1px solid #c0c7cc;
  border-radius: 8px;
  background: #fff;
  color: #41484c;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.results-reset:hover {
  border-color: #00658f;
  color: #00658f;
  background: #f4f9fc;
}
.results-table-wrap {
  overflow-x: auto;
}
.results-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 900px;
  text-align: left;
  font-size: 16px;
  line-height: 24px;
}
.results-table th {
  padding: 16px 24px;
  border-block: 1px solid #c0c7cc;
  background: #edeeef;
  color: #41484c;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.7px;
  line-height: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}
.results-table td {
  padding: 16px 24px;
  border-bottom: 1px solid #c0c7cc;
  color: #41484c;
  vertical-align: middle;
}
.results-table tbody tr:last-child td {
  border-bottom: 0;
}
.results-table tbody tr:hover {
  background: #fafcff;
}
.results-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}
.results-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid #c0c7cc;
  border-radius: 8px;
  color: #00658f;
  background: #eaf6fc;
  font-size: 14px;
  font-weight: 600;
}
.results-identity strong {
  display: block;
  color: #191c1d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.35px;
  line-height: 20px;
  white-space: nowrap;
}
.results-email {
  display: block;
  margin-top: 4px;
  color: #41484c;
  font-size: 14px;
  line-height: 20px;
}
.results-date {
  color: #41484c;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.results-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.results-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.results-badge--completed {
  background: #ecfdf5;
  color: #047857;
}
.results-badge--inprogress {
  background: #fffbeb;
  color: #a16207;
}
.results-badge--notstarted {
  background: #f1f5f9;
  color: #71787d;
}
.results-action-cell {
  text-align: right;
}
.results-view-button, .results-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid #00658f;
  border-radius: 8px;
  padding: 8px 14px;
  background: #00658f;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
}
.results-view-button:hover {
  background: #004d6d;
  border-color: #004d6d;
}
.results-view-button:disabled {
  background: #f8fafc;
  border-color: #c0c7cc;
  color: #94a3b8;
  cursor: not-allowed;
}
.results-secondary {
  background: #fff;
  color: #41484c;
  border-color: #c0c7cc;
}
.results-secondary:hover {
  background: #f8fafc;
}
.results-empty {
  padding: 48px 24px;
  text-align: center;
}
.results-empty > img {
  width: 36px;
  height: 36px;
  opacity: .55;
  margin-bottom: 12px;
}
.results-empty h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.results-empty p {
  color: #71787d;
  font-size: 14px;
  margin: 0 0 20px;
}
.results-page :is(button, input, select, [tabindex]):focus-visible {
  outline: 3px solid #00658f;
  outline-offset: 3px;
}
.results-page [hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .results-shell {
    padding: 24px;
  }
  .results-stat {
    padding: 18px;
    gap: 12px;
  }
  .results-stat h2 {
    font-size: 14px;
  }
  .results-filters {
    flex-wrap: wrap;
  }
  .results-search {
    flex-basis: 55%;
  }
}
@media (max-width: 768px) {
  .results-shell {
    padding: 20px 16px;
    gap: 20px;
  }
  .results-heading {
    flex-direction: column;
    gap: 12px;
  }
  .results-heading h1 {
    font-size: var(--app-page-title-size-mobile);
    line-height: var(--app-page-title-line-height-mobile);
  }
  .results-heading p {
    font-size: 14px;
  }
  .results-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .results-stat {
    padding: 14px 16px;
  }
  .results-stat strong {
    font-size: 28px;
  }
  .results-stat-icon {
    width: 38px;
    height: 38px;
  }
  .results-stat-icon img {
    width: 20px;
    height: 20px;
  }
  .results-list-heading {
    padding: 20px 16px;
  }
  .results-list-heading h2 {
    font-size: 16px;
  }
  .results-filters {
    padding: 0 16px 20px;
    gap: 12px;
  }
  .results-search {
    flex-basis: 100%;
  }
  .results-status-filter {
    flex: 1 1 180px;
    min-width: 0;
    width: auto;
  }
}

.results-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 24px 24px;
  padding: 18px;
  border: 1px solid #c7e7ff;
  border-radius: 10px;
  background: #eaf6fc;
  color: #00658f;
  font-size: 14px;
  line-height: 1.6;
}
.results-notice.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}
@media (max-width: 768px) {
  .results-notice {
    margin: 0 16px 20px;
    align-items: flex-start;
    flex-direction: column;
  }
}

.results-search input:focus {
  outline: none;
  border-color: #00658f;
  background: #fff;
}
.results-reset:focus-visible {
  outline: 2px solid #00658f;
  outline-offset: 2px;
}
.results-page .custom-select__button {
  font-weight: 500;
}
.results-page .custom-select__button:focus-visible {
  box-shadow: none;
  outline: 2px solid #00658f;
  outline-offset: 2px;
}
.results-pagination .table-pagination__btn:hover:not(:disabled) {
  border-color: #00658f;
  color: #00658f;
}
