.nav-item--performance { margin-top: 3px; color: #315fae; }
.nav-item--performance .nav-icon { color: #5a69e9; }
.nav-item--performance:hover { color: #1257cc; background: linear-gradient(105deg, rgb(225 239 255 / 90%), rgb(242 237 255 / 76%)); }
.performance-summary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 22px;
  padding: 22px;
  border: 1px solid rgb(190 210 245 / 88%);
  border-radius: 19px;
  background:
    radial-gradient(circle at 88% 0%, rgb(127 91 255 / 17%), transparent 20rem),
    linear-gradient(120deg, rgb(255 255 255 / 94%), rgb(237 246 255 / 90%) 52%, rgb(246 241 255 / 86%));
  box-shadow: 0 18px 46px rgb(49 88 177 / 10%);
}
.performance-summary::after {
  position: absolute;
  z-index: -1;
  right: -75px;
  bottom: -105px;
  width: 240px;
  height: 240px;
  border: 1px solid rgb(19 102 236 / 10%);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgb(8 168 245 / 3%), 0 0 0 70px rgb(127 91 255 / 2%);
  content: "";
}
.performance-summary > header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.performance-summary > header > div > span { color: #5d76a7; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.performance-summary h2 { margin: 5px 0 4px; color: #1b2840; font-size: 20px; }
.performance-summary p { margin: 0; color: #63738d; font-size: 12px; line-height: 1.55; }
.performance-summary .button { flex: 0 0 auto; min-height: 44px; }
.performance-summary .button b { margin-left: 5px; font-size: 12px; }
.performance-summary-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(180px, .55fr); gap: 11px 24px; margin-top: 22px; align-items: end; }
.performance-progress-copy { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; align-items: end; }
.performance-progress-copy > span { grid-column: 1 / -1; color: #697995; font-size: 11px; font-weight: 760; }
.performance-progress-copy strong { color: #1e2c48; font-size: clamp(23px, 3vw, 32px); letter-spacing: -.04em; }
.performance-progress-copy strong small { color: #7d89a0; font-size: 13px; font-weight: 650; }
.performance-progress-copy em { color: #1257cc; font-size: 14px; font-style: normal; font-weight: 850; }
.performance-progress { position: relative; grid-column: 1; height: 12px; overflow: hidden; border: 1px solid rgb(193 209 238 / 78%); border-radius: 999px; background: rgb(221 231 248 / 76%); }
.performance-progress i { display: block; width: var(--performance-progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #08a8f5, #1366ec 58%, #7f5bff); box-shadow: 0 0 18px rgb(74 98 239 / 28%); transition: width .25s ease; }
.performance-progress b { position: absolute; top: -3px; bottom: -3px; left: clamp(0%, var(--performance-marker), calc(100% - 2px)); width: 2px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 1px rgb(23 55 116 / 18%); }
.performance-reward-copy { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 3px; min-height: 74px; padding: 13px 15px; border: 1px solid rgb(202 215 241 / 82%); border-radius: 14px; background: rgb(255 255 255 / 68%); }
.performance-reward-copy span, .performance-reward-copy small { color: #72809a; font-size: 10px; }
.performance-reward-copy strong { color: #234fa6; font-size: 21px; }
.performance-summary-overview { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 18px; margin-top: 18px; padding: 11px 13px; color: #687792; border: 1px solid rgb(202 215 241 / 82%); border-radius: 12px; background: rgb(255 255 255 / 64%); font-size: 11px; }
.performance-summary-overview > span { display: inline-flex; align-items: baseline; gap: 6px; }
.performance-summary-overview strong { color: #27466f; font-size: 15px; }
.performance-summary-overview small { margin-left: auto; color: #77859a; }
.performance-goal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; margin-top: 12px; }
.performance-goal-card { min-width: 0; overflow: hidden; border: 1px solid rgb(202 215 241 / 82%); border-radius: 14px; background: rgb(255 255 255 / 72%); }
.performance-goal-card > header { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 9px; align-items: center; padding: 12px; border-bottom: 1px solid rgb(218 227 242 / 78%); }
.performance-goal-card > header > div { display: grid; min-width: 0; gap: 2px; }
.performance-goal-card > header h3 { color: #31415b; font-size: 12px; }
.performance-goal-card > header p { overflow: hidden; color: #7c899e; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.performance-goal-card > header > strong { grid-column: 2; color: #29599e; font-size: 10px; }
.performance-goal-card--special_task { border-color: rgb(207 204 238 / 86%); background: rgb(252 250 255 / 76%); }
.performance-goal-card--special_task .performance-summary-icon { color: #6755bf; }
.performance-goal-rules { display: grid; gap: 8px; padding: 10px; }
.performance-goal-rules > section { display: grid; gap: 6px; padding: 10px; border: 1px solid #e1e8f3; border-radius: 10px; background: rgb(249 251 255 / 88%); }
.performance-goal-rules h4 { overflow: hidden; color: #44536c; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.performance-goal-rules > section > p { color: #7b899c; font-size: 9px; line-height: 1.5; }
.performance-goal-empty { display: grid; min-height: 106px; place-items: center; padding: 15px; color: #8793a5; font-size: 9px; text-align: center; }
.performance-goal-progress { display: grid; gap: 5px; }
.performance-goal-progress > div { display: flex; min-height: 10px; gap: 3px; }
.performance-goal-progress > div > i { --performance-stage-start: #18a880; --performance-stage-end: #087a61; --performance-stage-rail: #e5f4ef; position: relative; overflow: hidden; flex: 1 1 0; min-width: 18px; border: 1px solid #d7e1f0; border-radius: 4px; background: linear-gradient(90deg,var(--performance-stage-start),var(--performance-stage-end) var(--performance-stage),var(--performance-stage-rail) var(--performance-stage)); }
.performance-goal-progress > div > i:nth-child(2) { --performance-stage-start: #08a8f5; --performance-stage-end: #1366ec; --performance-stage-rail: #e7f1ff; }
.performance-goal-progress > div > i:nth-child(3) { --performance-stage-start: #8b72f6; --performance-stage-end: #6655c2; --performance-stage-rail: #f0edff; }
.performance-goal-progress > div > i.is-achieved { background: linear-gradient(90deg,var(--performance-stage-start),var(--performance-stage-end)); }
.performance-goal-progress > div > i > b { display: grid; min-height: 8px; place-items: center; color: rgb(38 54 81 / 70%); font-size: 7px; font-style: normal; line-height: 8px; }
.performance-goal-progress > div > i.is-achieved > b { color: #fff; }
.performance-goal-progress > p { display: flex; justify-content: space-between; gap: 8px; color: #718098; font-size: 8px; }
.performance-goal-progress > p strong { color: #28599e; }
.performance-goal-progress > footer { display: grid; grid-template-columns: repeat(auto-fit,minmax(88px,1fr)); gap: 4px; }
.performance-goal-progress > footer > span { display: grid; gap: 1px; padding: 5px 6px; color: #77859a; border-radius: 6px; background: #eef3fa; }
.performance-goal-progress > footer > span.is-achieved { color: #17684f; background: #e9f7f1; }
.performance-goal-progress > footer b { font-size: 7px; }
.performance-goal-progress > footer small { font-size: 7px; }
.performance-summary-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin-top: 20px; }
.performance-summary-metric { display: grid; grid-template-columns: 37px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; padding: 12px; border: 1px solid rgb(202 215 241 / 78%); border-radius: 13px; background: rgb(255 255 255 / 66%); }
.performance-summary-icon { display: grid; width: 37px; height: 37px; place-items: center; color: #1366ec; border-radius: 11px; background: linear-gradient(145deg, #e4f4ff, #eee8ff); }
.performance-summary-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.performance-summary-metric div { display: grid; min-width: 0; }
.performance-summary-metric small, .performance-summary-metric span { overflow: hidden; color: #74829b; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.performance-summary-metric strong { color: #263650; font-size: 21px; }
.performance-summary--offline { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-block: 18px; }
.performance-summary--offline h2 { font-size: 16px; }
@media (max-width: 980px) {
  .performance-goal-grid { grid-template-columns: 1fr; }
  .performance-summary-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .performance-summary > header, .performance-summary--offline { display: grid; }
  .performance-summary .button { width: 100%; justify-content: center; }
  .performance-summary-body { grid-template-columns: 1fr; }
  .performance-reward-copy { grid-column: 1; grid-row: auto; }
  .performance-summary-overview { display: grid; }
  .performance-summary-overview small { margin-left: 0; }
  .performance-summary-metrics { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .performance-progress i { transition: none; }
}
