/* One athlete's records, three complementary professional perspectives. */
.care-team { padding-block: 72px; background: #f3f5ed; border-bottom: 1px solid #e4e8dc; }
.care-heading { display: grid; grid-template-columns: 1fr .85fr; align-items: end; gap: 60px; margin-bottom: 36px; }
.care-heading h2 { margin: 16px 0 0; font-size: clamp(34px, 3.7vw, 48px); font-weight: 500; line-height: 1.12; letter-spacing: -.05em; }
.care-heading h2 em { font-style: normal; color: #6a7e51; }
.care-heading > p { max-width: 480px; color: #69715f; font-size: 14px; line-height: 1.9; margin: 0 0 4px; }
.care-network { border: 1px solid #dce3d2; background: #fbfcf9; border-radius: 22px; padding: 18px 28px 0; }
.care-network-caption { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.care-network-caption > span { display: inline-flex; align-items: center; gap: 8px; color: #79846c; font-size: 9px; letter-spacing: .08em; font-weight: 600; }
.care-network-caption > span > i { font-size: 15px; }
.care-network-caption .fx-preview-replay { margin: 0; padding: 7px 0; color: #667457; font-size: 11px; }
.care-graph { min-width: 0; }
.care-history { position: relative; width: 430px; max-width: 100%; margin: 0 auto; padding: 14px 20px 10px; border: 1px solid #3e4e32; border-radius: 15px; background: #263222; color: #f6f9f1; box-shadow: 0 9px 24px #26322210; }
.care-history-heading { display: flex; align-items: center; gap: 12px; }
.care-athlete-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 44px; border: 1px solid #637a40; border-radius: 13px; background: #37472a; color: #d8f786; font-size: 28px; }
.care-history-heading > div { min-width: 0; }
.care-history-heading > div > span { display: block; color: #bcccad; font-size: 8px; font-weight: 500; letter-spacing: .09em; }
.care-history-heading strong { display: block; font-size: 17px; font-weight: 500; margin-block: 3px; letter-spacing: -.025em; }
.care-history-heading small { display: block; font-size: 10px; line-height: 1.6; color: #bec9b6; }
.care-history-heading > i { color: #b2ca91; font-size: 17px; margin-left: auto; }
.care-sources { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 10px; padding-top: 8px; border-top: 1px solid #ffffff13; }
.care-sources > span { display: inline-flex; align-items: center; gap: 6px; color: #d1dbc7; font-size: 10px; }
.care-sources i { color: #a6be85; font-size: 13px; }
.care-paths { display: block; width: 100%; height: 60px; overflow: visible; pointer-events: none; }
.care-paths path { vector-effect: non-scaling-stroke; stroke-linecap: round; }
.care-track { stroke: #cdd7bf; stroke-width: 1.4; }
.care-packet { stroke-width: 3; stroke-dasharray: 7 100; stroke-dashoffset: 107; opacity: 0; }
.care-packet--training { stroke: #829d52; --care-path-delay: .35s; }
.care-packet--nutrition { stroke: #b49459; --care-path-delay: .8s; }
.care-packet--health { stroke: #8a76a4; --care-path-delay: 1.25s; }
.care-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.care-role { --care-accent: #789544; --care-soft: #edf3e3; --care-receive: 1.7s; position: relative; min-width: 0; display: flex; flex-direction: column; padding: 18px; border: 1px solid #dfe5d8; border-radius: 13px; background: #fff; }
.care-role--nutrition { --care-accent: #b08c4b; --care-soft: #f7f1e5; --care-receive: 2.15s; }
.care-role--health { --care-accent: #89749f; --care-soft: #f1edf6; --care-receive: 2.6s; }
.care-role::before { content: ''; position: absolute; left: calc(50% - 3px); top: -4px; width: 7px; height: 7px; background: var(--care-accent); border: 2px solid #fbfcf9; border-radius: 50%; }
.care-role-heading { display: flex; align-items: center; gap: 10px; }
.care-role-heading > div { min-width: 0; }
.care-role-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 40px; border-radius: 11px; background: var(--care-soft); color: var(--care-accent); font-size: 21px; }
.care-role-heading > div > span { display: block; font-size: 8px; line-height: 1.5; letter-spacing: .05em; color: #8a917f; }
.care-role h3 { margin: 4px 0 0; font-size: 18px; font-weight: 500; letter-spacing: -.025em; }
.care-arrival { flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--care-accent); opacity: .35; margin-left: auto; }
.care-role > p { font-size: 12px; line-height: 1.8; color: #727b66; margin: 12px 0; min-height: 44px; }
.care-preview { min-width: 0; min-height: 128px; padding: 12px; border: 1px solid #e8ece3; border-radius: 9px; background: #fafbf8; margin-top: auto; }
.care-preview-heading { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 10px; }
.care-preview-heading strong { font-size: 10px; font-weight: 500; line-height: 1.5; color: #647255; }
.care-preview-heading > i { flex-shrink: 0; font-size: 13px; color: var(--care-accent); }
.care-training-bars { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 11px 9px; padding-block: 7px 9px; }
.care-training-bars > span { font-size: 9px; color: #7d876f; }
.care-training-bars > div { height: 8px; border-radius: 4px; background: #e9eee1; overflow: hidden; }
.care-training-bars i { display: block; width: 100%; height: 100%; background: #b8c9a0; border-radius: inherit; transform-origin: left; }
.care-training-bars > div:last-child i { width: 82%; background: var(--care-accent); }
.care-preview-tags { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 10px; font-size: 8px; line-height: 1.5; color: #7f8972; }
.care-food-record { display: flex; align-items: center; gap: 10px; }
.care-food-record img { display: block; width: 49px; height: 49px; flex-shrink: 0; object-fit: cover; border-radius: 8px; }
.care-food-record > div { min-width: 0; flex: 1; }
.care-food-record span { display: block; font-size: 10px; color: #5f6b52; }
.care-food-record small { display: block; color: #929783; font-size: 8px; margin-top: 3px; }
.care-nutrients { display: flex; gap: 3px; margin-top: 10px; }
.care-nutrients i { height: 5px; width: 40%; border-radius: 3px; background: #b8c88b; transform-origin: left; }
.care-nutrients i:nth-child(2) { background: #d8bc7d; width: 35%; }
.care-nutrients i:nth-child(3) { background: #ccbd9a; width: 20%; }
.care-health-row { display: flex; gap: 15px; align-items: center; justify-content: space-between; }
.care-health-row + .care-health-row { margin-top: 5px; }
.care-health-row > span { display: inline-flex; gap: 6px; align-items: center; font-size: 10px; color: #7b846f; }
.care-health-row > span > i { color: var(--care-accent); font-size: 12px; }
.care-health-row svg { flex-shrink: 0; width: 100px; height: 22px; }
.care-chart-guide { stroke: #e6e5e9; stroke-width: 1; }
.care-chart-line { stroke: var(--care-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.care-role-outcome { display: flex; align-items: baseline; gap: 7px; font-size: 10px; line-height: 1.6; color: #68745c; margin-top: 12px; }
.care-role-outcome i { color: var(--care-accent); }
.care-network-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; margin-top: 18px; border-top: 1px solid #e4e9dc; }
.care-network-footer > span { display: inline-flex; gap: 8px; align-items: center; color: #7b8570; font-size: 10px; line-height: 1.7; }
.care-network-footer > span > i { flex-shrink: 0; color: #748561; font-size: 16px; }
.care-network-footer .mt-text-link { font-size: 11px; flex-shrink: 0; }
.is-preview-playing .care-history { animation: care-history-pulse 1.3s ease both; }
.is-preview-playing .care-packet { animation: care-transfer 1.6s ease-in-out var(--care-path-delay) both; }
.is-preview-playing .care-role { animation: care-receive 1.1s ease var(--care-receive) both; }
.is-preview-playing .care-arrival { animation: care-arrival 1.1s ease var(--care-receive) both; }
.is-preview-playing .care-training-bars i, .is-preview-playing .care-nutrients i { animation: care-bars .9s ease var(--care-receive) both; }
.is-preview-playing .care-chart-line { stroke-dasharray: 100; animation: care-chart 1s ease var(--care-receive) both; }
@keyframes care-history-pulse { 50% { box-shadow: 0 0 0 7px #dce9c680, 0 9px 30px #7c9c3322; border-color: #94ae6b; } }
@keyframes care-transfer { 0% { stroke-dashoffset: 107; opacity: 0; } 15%, 85% { opacity: 1; } 100% { stroke-dashoffset: 7; opacity: 0; } }
@keyframes care-receive { 45% { border-color: var(--care-accent); box-shadow: 0 0 0 4px var(--care-soft); } }
@keyframes care-arrival { 45% { opacity: 1; box-shadow: 0 0 0 4px var(--care-soft); } }
@keyframes care-bars { from { transform: scaleX(.08); } to { transform: scaleX(1); } }
@keyframes care-chart { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@media (max-width: 1100px) {
  .care-heading { gap: 32px; }
  .care-network { padding-inline: 20px; }
  .care-roles { gap: 14px; }
  .care-role { padding: 17px 14px; }
  .care-role h3 { font-size: 16px; }
  .care-role-icon { width: 32px; height: 35px; flex-basis: 32px; font-size: 19px; }
  .care-role-heading > div > span { font-size: 7px; }
  .care-preview { padding: 11px; }
  .care-health-row svg { width: 76px; }
  .care-role-outcome { font-size: 9px; }
}
@media (max-width: 800px) {
  .care-team { padding-block: 60px; }
  .care-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 28px; }
  .care-heading > p { max-width: 620px; font-size: 13px; }
  .care-paths { display: none; }
  .care-history { width: 100%; }
  .care-history::after { content: ''; position: absolute; left: 11px; bottom: -25px; width: 1px; height: 24px; background: #cdd7bf; }
  .care-roles { position: relative; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 24px 0 0 12px; padding: 0 0 0 23px; border-left: 1px solid #cdd7bf; }
  .care-roles::after { content: ''; position: absolute; top: 0; left: -2px; width: 3px; height: 20px; border-radius: 4px; background: #8eaa60; opacity: 0; }
  .is-preview-playing .care-roles::after { animation: care-mobile-transfer 3s ease .3s both; }
  .care-role { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; padding: 20px; }
  .care-role::before { top: 35px; left: -24px; width: 23px; height: 1px; border: 0; border-radius: 0; }
  .care-role-heading { grid-column: 1; }
  .care-role h3 { font-size: 18px; }
  .care-role-heading > div > span { font-size: 8px; }
  .care-role > p { grid-column: 1; margin: 0; min-height: 0; }
  .care-preview { grid-column: 2; grid-row: 1 / 4; margin: 0; align-self: stretch; padding: 15px; }
  .care-role-outcome { grid-column: 1; margin: 0; font-size: 10px; }
  .care-network-footer { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@keyframes care-mobile-transfer { 0% { top: 0; opacity: 0; } 10%, 90% { opacity: 1; } 100% { top: calc(100% - 20px); opacity: 0; } }
@media (max-width: 600px) {
  .care-network { padding: 18px 14px 0; border-radius: 16px; }
  .care-network-caption { flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
  .care-network-caption > span { font-size: 8px; letter-spacing: .03em; }
  .care-network-caption .fx-preview-replay { font-size: 10px; }
  .care-history { padding: 16px 13px 12px; }
  .care-history-heading { gap: 9px; }
  .care-athlete-icon { width: 33px; height: 39px; flex-basis: 33px; font-size: 24px; }
  .care-history-heading strong { font-size: 16px; }
  .care-history-heading small { font-size: 9px; }
  .care-history-heading > i { display: none; }
  .care-sources { gap: 12px; }
  .care-sources > span { font-size: 9px; gap: 4px; }
  .care-roles { padding-left: 17px; margin-left: 12px; }
  .care-role { display: flex; padding: 18px 14px; gap: 0; }
  .care-role::before { width: 17px; left: -18px; }
  .care-role > p { margin: 14px 0; }
  .care-role-heading > div > span { font-size: 7px; }
  .care-preview { width: 100%; padding: 12px; }
  .care-role-outcome { margin-top: 14px; }
  .care-arrival { display: none; }
  .care-network-footer { margin-top: 20px; padding-block: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .care-team *, .care-team *::after { animation: none !important; }
  .care-packet, .care-roles::after { display: none; }
}
