@import url("/assets/personnel-admin-20260812-v1.css");

.personnel-message--error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.personnel-message--error button {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid currentColor;
  border-radius: 10px;
  color: inherit;
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.personnel-store-login {
  color: #1c6a50 !important;
  font-weight: 800;
}

/* Keep the assigned-store cards visible on the manager My Stores page. */
.rm-own-portfolio-view .store-checklist-progress {
  margin-top: 26px;
}

.rm-own-portfolio-view .rm-store-portfolio {
  display: block;
  margin-top: 24px;
}

.store-progress-card[href] {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.store-progress-card[href]:hover {
  transform: translateY(-2px);
  border-color: #9fcab5;
  box-shadow: 0 14px 30px rgba(21, 62, 48, .12);
}

.store-progress-card[href]:focus-visible {
  outline: 3px solid rgba(39, 168, 117, .32);
  outline-offset: 3px;
}

.store-progress-card-title {
  display: block;
  color: #163f32;
  font-size: 18px;
  font-weight: 850;
}

.manager20-progress-card {
  grid-column: 1 / -1;
  padding: 0;
  background: #eef6f1;
  border: 1px solid #b9d8c8;
  border-radius: 18px;
  overflow: hidden;
}

.manager20-progress-card > summary {
  display: block;
  padding: 20px;
  cursor: pointer;
  list-style: none;
}

.manager20-progress-card > summary::-webkit-details-marker {
  display: none;
}

.manager20-progress-card > summary:hover {
  background: #e5f1ea;
}

.manager20-progress-card > summary:focus-visible {
  outline: 3px solid rgba(39, 168, 117, .32);
  outline-offset: -3px;
}

.manager20-progress-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.manager20-progress-heading strong,
.manager20-progress-heading span {
  display: block;
}

.manager20-progress-heading strong {
  color: #143f31;
  font-size: 22px;
  font-weight: 900;
}

.manager20-progress-heading span {
  margin-top: 4px;
  color: #667a70;
  font-size: 12px;
}

.manager20-progress-heading b {
  color: #1e8f65;
  font-size: 26px;
}

.manager20-expand-label {
  display: block;
  margin-top: 14px;
  color: #1f684e;
  font-size: 12px;
  font-weight: 800;
}

.manager20-expand-label::after {
  content: " ↓";
}

.manager20-progress-card[open] .manager20-expand-label::after {
  content: " ↑";
}

.manager20-store-grid {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
  border-top: 1px solid #cbded3;
}

.manager20-store-grid .store-progress-card {
  margin-top: 14px;
  background: #fff;
}

.direct-report-summary-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 15px 0;
}

.direct-report-summary-metrics article {
  padding: 12px 13px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid #d4e4db;
  border-radius: 12px;
}

.direct-report-summary-metrics span,
.direct-report-summary-metrics strong {
  display: block;
}

.direct-report-summary-metrics span {
  color: #6b7b73;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.direct-report-summary-metrics strong {
  margin-top: 5px;
  color: #173f32;
  font-size: 17px;
}

.direct-report-summary-metrics .is-pending strong {
  color: #a04c31;
}

.direct-report-summary-metrics .is-on-track strong {
  color: #16855e;
}

.direct-report-profile-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 20px 18px;
  background: #fff;
  border-top: 1px solid #cbded3;
}

.direct-report-profile-intro .eyebrow {
  margin: 0 0 4px;
  color: #22956a;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.direct-report-profile-intro h3 {
  margin: 0;
  color: #153f32;
  font-size: 24px;
}

.direct-report-profile-intro span {
  display: block;
  margin-top: 5px;
  color: #687970;
}

.direct-report-profile-intro dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(115px, 1fr));
  gap: 9px;
  margin: 0;
}

.direct-report-profile-intro dl div {
  padding: 11px 13px;
  background: #f1f6f3;
  border-radius: 11px;
}

.direct-report-profile-intro dt {
  color: #718078;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.direct-report-profile-intro dd {
  margin: 4px 0 0;
  color: #153f32;
  font-weight: 850;
}

.store-number-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 12px;
  padding: 10px 12px;
  border-radius: 11px;
}

.store-number-status strong,
.store-number-status span {
  display: block;
}

.store-number-status span {
  font-size: 11px;
}

.store-number-status.is-on-track {
  color: #176b4d;
  background: #e6f4ec;
}

.store-number-status.is-needs-attention {
  color: #93462f;
  background: #fff0e9;
}

.store-performance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 13px;
}

.store-performance-grid article {
  position: relative;
  min-width: 0;
  padding: 11px;
  background: #f5f8f6;
  border: 1px solid #e0e8e3;
  border-radius: 11px;
}

.store-performance-grid span,
.store-performance-grid strong,
.store-performance-grid small,
.store-performance-grid em {
  display: block;
}

.store-performance-grid span,
.store-performance-grid small {
  color: #74837b;
  font-size: 10px;
}

.store-performance-grid strong {
  margin: 4px 0;
  color: #183f32;
  font-size: 15px;
}

.store-performance-grid em {
  margin-top: 7px;
  color: #1a7e59;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.store-performance-grid .is-missed em {
  color: #a14d34;
}

@media (max-width: 900px) {
  .direct-report-summary-metrics,
  .store-performance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .direct-report-profile-intro {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .direct-report-summary-metrics,
  .store-performance-grid,
  .direct-report-profile-intro dl {
    grid-template-columns: 1fr;
  }

  .manager20-progress-heading,
  .store-number-status {
    align-items: flex-start;
    flex-direction: column;
  }
}

.personnel-login-note {
  margin: 0;
  padding: 14px 16px;
  color: #285445;
  background: #eaf3ee;
  border: 1px solid #c8ddd2;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.stats-center {
  min-height: calc(100vh - 84px);
  padding: 44px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 88% 2%, rgba(71, 174, 130, 0.14), transparent 27%),
    #f4f7f4;
}

.stats-center-container {
  width: min(1480px, 100%);
  margin: 0 auto;
}

.stats-center-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
  padding: 34px 38px;
  color: #fff;
  background: #123f32;
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(24, 62, 49, 0.16);
}

.stats-center-hero .eyebrow,
.stats-card-panel .eyebrow {
  margin: 0 0 8px;
  color: #65d2a1;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.stats-center-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.045em;
}

.stats-center-hero p:last-child {
  max-width: 780px;
  margin: 12px 0 0;
  color: #d9e9e2;
  font-size: 17px;
  line-height: 1.55;
}

.stats-center-summary {
  min-width: 150px;
  padding: 18px 22px;
  color: #123f32;
  text-align: center;
  background: #e7f5ed;
  border-radius: 18px;
}

.stats-center-summary strong,
.stats-center-summary span {
  display: block;
}

.stats-center-summary strong {
  font-size: 34px;
}

.stats-center-summary span {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.stats-center-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.stats-directory,
.stats-card-panel {
  background: #fff;
  border: 1px solid #dbe5df;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(25, 58, 47, 0.08);
}

.stats-directory {
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 130px);
  padding: 20px;
  overflow: hidden;
}

.stats-directory > label span {
  display: block;
  margin-bottom: 8px;
  color: #66756f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-directory input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d5dfd9;
  border-radius: 12px;
  font: inherit;
}

.stats-directory-list {
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 230px);
  margin-top: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.stats-directory-list button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  width: 100%;
  padding: 12px;
  color: #1b2b25;
  text-align: left;
  background: #f5f7f5;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
}

.stats-directory-list button:hover,
.stats-directory-list button.is-active {
  background: #eaf5ef;
  border-color: #9dcbb5;
}

.stats-directory-list button > i,
.stats-card-profile > i {
  display: grid;
  place-items: center;
  color: #fff;
  font-style: normal;
  font-weight: 900;
  background: #164737;
  border-radius: 12px;
}

.stats-directory-list button > i {
  width: 42px;
  height: 42px;
}

.stats-directory-list button span,
.stats-directory-list button strong,
.stats-directory-list button small,
.stats-directory-list button em {
  display: block;
  min-width: 0;
}

.stats-directory-list button strong {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-directory-list button small {
  margin-top: 2px;
  color: #6d7a75;
}

.stats-directory-list button .stats-supervisor-label {
  margin-top: 4px;
  color: #356451;
  font-size: 11px;
  font-weight: 750;
}

.stats-directory-list button em {
  width: fit-content;
  margin-top: 5px;
  padding: 3px 7px;
  color: #176b4e;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  background: #dff2e8;
  border-radius: 999px;
  text-transform: uppercase;
}

.stats-directory-list button > b {
  min-width: 36px;
  color: #164737;
  font-size: 18px;
  text-align: right;
}

.stats-card-panel {
  padding: 30px;
}

.stats-card-profile {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid #e0e7e3;
}

.stats-card-profile > i {
  width: 72px;
  height: 72px;
  font-size: 24px;
  border-radius: 20px;
}

.stats-card-profile h2 {
  margin: 0;
  color: #16251f;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.04em;
}

.stats-card-profile span {
  display: block;
  margin-top: 5px;
  color: #67756f;
}

.stats-card-profile .stats-profile-supervisor {
  display: block;
  margin-top: 8px;
  color: #356451;
  font-size: 13px;
  font-weight: 800;
}

.store-daily-standalone-shell {
  padding: 42px clamp(20px, 5vw, 72px) 0;
}

.daily-performance {
  overflow: hidden;
}

.daily-performance--standalone {
  max-width: 1540px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  border: 1px solid #dbe5df;
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(23, 68, 52, 0.08);
}

.daily-performance-heading p:last-child,
.daily-goals-heading span,
.daily-entry-form > div:first-child span,
.daily-history > div:first-child span {
  display: block;
  max-width: 820px;
  margin-top: 7px;
  color: #68766f;
  line-height: 1.5;
}

.daily-performance-message {
  margin: 18px 0 0;
  padding: 14px 16px;
  color: #53635c;
  background: #f1f5f2;
  border-radius: 12px;
}

.daily-performance-message--error {
  color: #9d2925;
  background: #fff0ef;
}

.daily-latest-grid,
.daily-progress-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.daily-latest-grid article {
  min-width: 0;
  padding: 18px;
  background: #f1f5f2;
  border-radius: 15px;
}

.daily-latest-grid span,
.daily-latest-grid strong,
.daily-latest-grid small {
  display: block;
}

.daily-latest-grid span {
  color: #708078;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.daily-latest-grid strong {
  margin-top: 11px;
  color: #164737;
  font-size: clamp(21px, 2.4vw, 30px);
}

.daily-latest-grid small {
  margin-top: 8px;
  overflow: hidden;
  color: #75827d;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-progress-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.daily-goal-progress {
  padding: 20px;
  background: #f8faf8;
  border: 1px solid #dde7e1;
  border-radius: 18px;
}

.daily-goal-progress h3 {
  margin: 0 0 15px;
  color: #193d31;
  font-size: 20px;
}

.daily-goal-progress > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.daily-goal-progress article {
  padding: 13px;
  background: #fff;
  border: 1px solid #e0e8e3;
  border-radius: 12px;
}

.daily-goal-progress article > span,
.daily-goal-progress article > strong,
.daily-goal-progress article > small,
.daily-goal-progress article > em {
  display: block;
}

.daily-goal-progress article > span {
  color: #66756e;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.daily-goal-progress article > strong {
  margin-top: 7px;
  color: #173f31;
  font-size: 19px;
}

.daily-goal-progress article > small {
  margin-top: 3px;
  color: #78847f;
}

.daily-goal-progress article > div {
  height: 7px;
  margin-top: 10px;
  overflow: hidden;
  background: #e2ebe6;
  border-radius: 99px;
}

.daily-goal-progress article > div i {
  display: block;
  height: 100%;
  background: #249d6d;
  border-radius: inherit;
}

.daily-goal-progress article > em {
  margin-top: 6px;
  color: #217a58;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.daily-goal-progress article.is-attention > div i {
  background: #d44e47;
}

.daily-goal-progress article.is-attention > em {
  color: #b52f2a;
}

.daily-entry-form,
.daily-goals-form,
.daily-history {
  margin-top: 24px;
  padding: 22px;
  background: #f7f9f7;
  border: 1px solid #dde6e1;
  border-radius: 18px;
}

.daily-entry-form h3,
.daily-goals-form h3,
.daily-history h3 {
  margin: 0;
  color: #17372c;
  font-size: 23px;
}

.daily-entry-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.daily-entry-fields label,
.daily-goals-heading label {
  display: grid;
  gap: 7px;
}

.daily-entry-fields label span,
.daily-goals-heading label span {
  color: #68766f;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.daily-entry-fields input,
.daily-goals-heading input,
.daily-goals-row input {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  color: #17372c;
  font: inherit;
  background: #fff;
  border: 1px solid #cedbd4;
  border-radius: 10px;
}

.daily-entry-fields button,
.daily-goals-form > button {
  min-height: 45px;
  padding: 0 18px;
  color: #fff;
  font: inherit;
  font-weight: 850;
  background: #164737;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
}

.daily-entry-fields button:disabled,
.daily-goals-form > button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.daily-goals-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}

.daily-goals-heading label {
  width: min(220px, 100%);
  flex: none;
}

.daily-goals-table,
.daily-history-table {
  min-width: 760px;
  margin-top: 18px;
}

.daily-goals-form,
.daily-history {
  overflow-x: auto;
}

.daily-goals-row,
.daily-history-row {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e0e7e3;
}

.daily-goals-row {
  grid-template-columns: 120px repeat(4, minmax(130px, 1fr));
}

.daily-history-row {
  grid-template-columns: 140px repeat(4, minmax(110px, 1fr)) minmax(150px, 1.2fr);
}

.daily-goals-row--header,
.daily-history-row--header {
  color: #6a7872;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.daily-goals-row > strong:first-child,
.daily-history-row > span:first-child {
  color: #1d4536;
  font-weight: 850;
}

.daily-goals-form > button {
  float: right;
  margin-top: 18px;
}

.daily-goals-form::after {
  display: block;
  clear: both;
  content: "";
}

.daily-history > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

@media (max-width: 980px) {
  .daily-latest-grid,
  .daily-entry-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .daily-entry-fields button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .store-daily-standalone-shell {
    padding: 18px 12px 0;
  }

  .daily-performance--standalone {
    padding: 20px 15px;
    border-radius: 18px;
  }

  .daily-latest-grid,
  .daily-progress-grid,
  .daily-goal-progress > div,
  .daily-entry-fields {
    grid-template-columns: 1fr;
  }

  .daily-goals-heading,
  .daily-history > div:first-child {
    align-items: stretch;
    flex-direction: column;
  }
}

.stats-card-overall {
  min-width: 150px;
  padding: 14px 18px;
  text-align: center;
  background: #eef4f0;
  border-radius: 16px;
}

.stats-card-overall span,
.stats-card-overall small,
.stats-card-overall strong {
  display: block;
}

.stats-card-overall span,
.stats-card-overall small {
  color: #66756f;
  font-size: 12px;
  font-weight: 750;
}

.stats-card-overall strong {
  margin: 2px 0;
  color: #164737;
  font-size: 34px;
}

.stats-card-scorecard,
.stats-history {
  margin-top: 28px;
  padding: 24px;
  background: #f7f9f7;
  border: 1px solid #e1e8e4;
  border-radius: 20px;
}

.stats-card-heading,
.stats-history-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.stats-card-heading h3,
.stats-history-heading h3 {
  margin: 0;
  font-size: 25px;
}

.stats-card-heading div > span {
  display: block;
  max-width: 760px;
  margin-top: 7px;
  color: #67756f;
  line-height: 1.5;
}

.stats-card-heading > small,
.stats-history-heading > span {
  flex: none;
  padding: 7px 10px;
  color: #53615c;
  font-size: 11px;
  font-weight: 900;
  background: #e6ede9;
  border-radius: 999px;
  text-transform: uppercase;
}

.stats-score-grid,
.stats-readonly-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.stats-score-grid label,
.stats-readonly-grid article {
  padding: 15px;
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 14px;
}

.stats-score-grid label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px 42px;
  gap: 10px;
  align-items: center;
}

.stats-score-grid label > span,
.stats-readonly-grid article span {
  color: #263c33;
  font-weight: 800;
}

.stats-score-grid em,
.stats-readonly-grid em,
.stats-history-list em {
  display: inline-block;
  margin-left: 7px;
  color: #21845f;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.stats-score-grid em.is-down,
.stats-readonly-grid em.is-down,
.stats-history-list em.is-down {
  color: #bd4238;
}

.stats-score-grid select {
  width: 100%;
  padding: 10px;
  background: #fff;
  border: 1px solid #cbd8d1;
  border-radius: 10px;
  font: inherit;
}

.stats-score-grid label > strong {
  color: #6c7974;
  font-size: 13px;
}

.stats-card-scorecard form footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
}

.stats-card-scorecard form footer p {
  margin: 0;
  color: #67756f;
}

.stats-card-scorecard button {
  padding: 12px 18px;
  color: #fff;
  font-weight: 850;
  background: #164737;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.stats-card-scorecard button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.stats-readonly-grid article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.stats-readonly-grid article > strong {
  color: #164737;
  font-size: 24px;
}

.stats-readonly-grid article > div:first-child {
  min-width: 0;
}

.stats-readonly-grid article > div:last-child {
  grid-column: 1 / -1;
  height: 7px;
  overflow: hidden;
  background: #e7ece9;
  border-radius: 999px;
}

.stats-readonly-grid article > div:last-child i {
  display: block;
  height: 100%;
  background: #2ba375;
  border-radius: inherit;
}

.stats-history-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.stats-history-list > article {
  padding: 17px;
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 14px;
}

.stats-history-list article > header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6ece8;
}

.stats-history-list header strong,
.stats-history-list header span {
  display: block;
}

.stats-history-list header span {
  margin-top: 2px;
  color: #6b7873;
  font-size: 13px;
}

.stats-history-list header b {
  color: #164737;
  font-size: 25px;
}

.stats-history-list article > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.stats-history-list article > div:last-child > span {
  padding: 9px;
  background: #f3f6f4;
  border-radius: 9px;
}

.stats-history-list small,
.stats-history-list strong {
  display: block;
}

.stats-history-list small {
  color: #697670;
}

.stats-card-message {
  margin: 18px 0;
  padding: 16px 18px;
  color: #53615c;
  background: #edf2ef;
  border-radius: 14px;
}

.stats-card-message--error {
  color: #8c2f29;
  background: #fdeceb;
}

@media (max-width: 960px) {
  .stats-center {
    padding: 24px;
  }

  .stats-center-layout {
    grid-template-columns: 1fr;
  }

  .stats-directory {
    position: static;
    max-height: none;
  }

  .stats-directory-list {
    max-height: 320px;
  }
}

@media (max-width: 680px) {
  .stats-center {
    padding: 14px;
  }

  .stats-center-hero,
  .stats-card-profile,
  .stats-card-heading,
  .stats-history-heading,
  .stats-card-scorecard form footer {
    align-items: stretch;
    flex-direction: column;
  }

  .stats-center-hero {
    display: flex;
    padding: 25px;
  }

  .stats-center-summary {
    min-width: 0;
  }

  .stats-card-panel {
    padding: 18px;
  }

  .stats-card-profile {
    display: flex;
  }

  .stats-card-overall {
    width: 100%;
  }

  .stats-score-grid,
  .stats-readonly-grid,
  .stats-history-list article > div:last-child {
    grid-template-columns: 1fr;
  }

  .stats-score-grid label {
    grid-template-columns: minmax(0, 1fr) 86px 40px;
  }
}
