﻿.tf-lifetime-memory-panel {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 1.25rem;
}
.tf-life-shell {
  border: 1px solid rgba(188, 84, 73, 0.18);
  border-radius: 1.4rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: linear-gradient(135deg, rgba(255, 252, 245, 0.96), rgba(252, 246, 238, 0.98));
  box-shadow: 0 18px 45px rgba(74, 53, 32, 0.08);
}
.tf-life-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.tf-life-title-row h2,
.tf-life-title-row h3,
.tf-life-zone-card h4 {
  margin: 0;
}
.tf-life-title-row h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.05;
}
.tf-life-title-row h3 {
  margin-top: 0.45rem;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
}
.tf-life-title-row p {
  margin: 0.35rem 0 0;
  color: #6d6257;
  max-width: 22rem;
}
.tf-life-eyebrow,
.tf-life-summary-card span,
.tf-life-latest span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #5f6264;
  font-size: 0.78rem;
}
.tf-life-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1rem 0;
}
.tf-life-summary-card {
  border: 1px solid rgba(74, 53, 32, 0.13);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.68);
  min-height: 9rem;
}
.tf-life-soft-green { background: linear-gradient(135deg, rgba(240, 250, 244, 0.9), rgba(255,255,255,0.72)); }
.tf-life-soft-red { background: linear-gradient(135deg, rgba(255, 241, 241, 0.88), rgba(255,255,255,0.72)); }
.tf-life-summary-card strong {
  display: block;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 0.95;
  margin: 0.35rem 0 0.55rem;
  color: #34312f;
}
.tf-life-summary-card p,
.tf-life-counts,
.tf-life-latest p,
.tf-life-status {
  margin: 0;
  color: #655d57;
}
.tf-life-segment-bar {
  display: flex;
  overflow: hidden;
  border: 0.45rem solid rgba(255,255,255,0.9);
  border-radius: 999px;
  background: #efe7dc;
  margin: 1.1rem 0 0.9rem;
}
.tf-life-segment {
  min-height: 4.5rem;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  font-weight: 900;
  line-height: 1.05;
}
.tf-life-segment span { display: block; font-size: 0.88rem; }
.tf-life-zone-sf { background: linear-gradient(90deg, #579b73, #228160); }
.tf-life-zone-growth { background: #477f9a; }
.tf-life-zone-fresh { background: #d9a158; }
.tf-life-zone-new { background: #cb8233; }
.tf-life-zone-newest { background: #d8943f; }
.tf-life-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #655d57;
  margin: 0.25rem 0 1rem;
}
.tf-life-zone-list {
  display: grid;
  gap: 0.9rem;
}
.tf-life-zone-card {
  border: 1px solid rgba(74, 53, 32, 0.12);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.72);
}
.tf-life-zone-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}
.tf-life-zone-head p { margin: 0.05rem 0 0; color: #655d57; }
.tf-life-badge {
  min-width: 3rem;
  min-height: 3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0.25rem;
  font-weight: 900;
  color: #0b6a56;
  background: #dfeee6;
}
.tf-life-badge-growth { color: #155f83; background: #d9edf6; }
.tf-life-badge-fresh,
.tf-life-badge-new,
.tf-life-badge-newest { color: #a96313; background: #f5e7d2; }
.tf-life-percent {
  color: #c1262c;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.tf-life-meter {
  height: 0.8rem;
  border-radius: 999px;
  overflow: hidden;
  margin: 0.85rem 0;
  background: linear-gradient(90deg, rgba(40,128,91,0.22), rgba(199,41,44,0.28));
}
.tf-life-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5ca071, #187e61);
}
.tf-life-latest {
  border: 1px solid rgba(74, 53, 32, 0.12);
  border-radius: 0.85rem;
  padding: 0.85rem;
  margin: 0.8rem 0;
  background: rgba(255,255,255,0.72);
}
.tf-life-latest strong {
  display: block;
  margin-top: 0.25rem;
  color: #262525;
}
.tf-life-work-button {
  width: 100%;
  border: 1px solid rgba(210, 47, 51, 0.32);
  border-radius: 999px;
  background: #fae3df;
  color: #d22f33;
  padding: 0.7rem 1rem;
  font-weight: 800;
  cursor: pointer;
}
.tf-life-status {
  margin-top: 0.8rem;
  font-size: 0.92rem;
}
@media (max-width: 900px) {
  .tf-life-title-row,
  .tf-life-meta { flex-direction: column; }
  .tf-life-summary-grid { grid-template-columns: 1fr; }
  .tf-life-segment { min-height: 3.4rem; font-size: 0.85rem; }
}
