.text-balance {
  text-wrap: balance;
}
body {
  background: #efefef;

  font-family: "Inter", sans-serif;
}

.hero-wrapper {
  margin: auto;

  background: white;
}

.hero {
  position: relative;

  overflow: visible;
}

.hero-image {
  width: 100%;

  height: 595px;

  object-fit: cover;
}

/*.hero-overlay{
    position:absolute;
    top:0;
    left:0;
    width:26%;
    height:100%;
    background:rgba(0,0,0,.65);
}*/

.hero-overlay {
  position: absolute;
  inset: 0 auto 0 0;
  width: 25%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

/*.hero-content{

    position:absolute;

    left:55px;

    top:55px;

    color:#fff;

}*/
.hero-content {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  color: #fff;
}
@media (max-width: 768px) {
  .hero-content {
    top: 50%;

    left: 25px;

    transform: translateY(-50%);
  }
}

.hero-title {
  margin: 0;

  line-height: 0.82;
}

.race {
  display: block;

  font-size: 82px;

  letter-spacing: 2px;
}

.to-wrapper {
  display: flex;

  align-items: center;

  gap: 14px;

  margin: 10px 20px;
}

.line {
  width: 54px;

  height: 2px;

  background: #d8c52d;
}

.to {
  font-size: 34px;

  font-weight: 700;
}

.hero-card {
  position: absolute;

  left: 50%;

  transform: translateX(-50%);

  bottom: -36px;

  width: 86%;

  background: #0b2241;

  border-radius: 18px;

  padding: 30px 15px;

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.hero-card .col {
  border-right: 1px solid white;
}

.hero-card .col:last-child {
  border-right: none;
}

.info-box {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 16px;
}

.info-box img {
  width: 42px;

  height: 42px;

  object-fit: contain;
}

.info-box h6 {
  margin: 0;

  font-size: 12px;

  font-weight: 700;
}

.info-box small {
  display: block;

  color: #d7d7d7;

  font-size: 11px;
}

@media (max-width: 992px) {
  .hero-overlay {
    width: 40%;
  }

  .hero-card {
    position: relative;

    bottom: 0;

    margin-top: 20px;

    width: 100%;

    transform: none;
    left: 0;
  }

  .hero-image {
    height: auto;
  }

  .hero-content {
    left: 25px;

    top: 30px;
  }

  .race {
    font-size: 60px;
  }
  .nine {
    font-size: 5rem;
  }
  .ninety sup {
    font-size: 30px;

    top: -45px;

    position: relative;
  }

  .hero-subtitle {
    font-size: 18px;

    margin-top: 30px;
  }

  .info-box {
    flex-direction: column;

    text-align: center;
  }

  .hero-card .col {
    border-right: none;

    border-bottom: 1px solid rgba(255, 255, 255, 0.2);

    padding: 15px 0;
  }

  .hero-card .col:last-child {
    border: none;
  }
}
/*3 section*/
.pillar-line {
  width: 130px;
  height: 3px;
  background: #d8c52d;
}

.pillar-card {
  background: #081f3f;
  border-radius: 18px;
}

.pillar-card .badge {
  font-size: 12px;
  border-radius: 4px;
}

.pillar-card h1 {
  font-size: 52px;
}

.pillar-card img {
  object-fit: contain;
}
.navy-bg {
  background: #0b2241;
}
@media (max-width: 991.98px) {
  .hero-overlay {
    width: 40%;
  }

  .hero-content {
    left: 25px;
    top: 30px;
  }

  .hero-card {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-overlay {
    width: 55%;
  }

  .hero-content {
    left: 15px;
    top: 20px;
  }

  .hero-image {
    min-height: 420px;
    object-fit: cover;
  }

  .info-box {
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 991.98px) {
  .hero-image {
    height: 500px;
  }

  .hero-overlay {
    width: 34%;
  }

  .hero-content {
    left: 23px;
    top: 230px;
  }

  .race {
    font-size: 58px;
  }

  .to {
    font-size: 28px;
  }

  .line {
    width: 35px;
  }

  .nine {
    font-size: 5rem;
  }

  .hero-subtitle {
    font-size: 18px;
    margin-top: 20px !important;
  }

  .hero-card {
    position: relative;

    width: 100%;

    left: 0;

    bottom: 0;

    transform: none;

    margin-top: 0;

    border-radius: 0 0 18px 18px;

    padding: 20px;
  }

  .hero-card .col {
    border: none;
  }

  .info-box {
    flex-direction: row;

    justify-content: flex-start;

    text-align: left;

    gap: 12px;
  }
}

@media (max-width: 767.98px) {
  .hero {
    overflow: hidden;
  }

  .hero-image {
    height: 360px;

    object-fit: cover;
  }

  .hero-overlay {
    width: 52%;
  }

  .race {
    font-size: 44px;

    letter-spacing: 1px;
  }

  .to {
    font-size: 22px;
  }

  .line {
    width: 25px;
  }

  .nine {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 13px;

    margin-top: 15px !important;
  }

  .hero-card {
    position: relative;

    width: 100%;

    left: 0;

    bottom: 0;

    transform: none;

    border-radius: 0;

    padding: 15px;
  }

  .hero-card .row {
    row-gap: 15px;
  }

  .hero-card .col {
    border: none;
  }

  .info-box {
    flex-direction: row;

    justify-content: flex-start;

    align-items: center;

    text-align: left;

    gap: 12px;
  }

  .info-box img {
    width: 32px;
  }

  .info-box h6 {
    font-size: 11px;
  }

  .info-box small {
    font-size: 10px;
  }
}

/* New CSS */

.monthly-update {
  margin-top: 5rem;
  width: 100%;
  background: #fff;
  overflow: hidden;
}
.monthly-update-header {
  position: relative;
  background: linear-gradient(180deg, #15549a 0%, #0b2241 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}
.monthly-update-logo {
  position: absolute;
  object-fit: contain;
}
.monthly-update-logo-left {
  left: 4%;
  width: 15%;
}
.monthly-update-logo-right {
  right: 4%;
  width: 15%;
}
.monthly-update-title {
  line-height: 1;
}
.monthly-update-title h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.monthly-update-title h3 {
  margin: 0.8rem 0 0;
  color: #ffd800;
  font-size: 1.5rem;
  font-weight: 700;
}
.monthly-update-profile {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #fff;
  padding: 18px 20px;
}
.monthly-update-avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 4px solid #0b3d73;
  border-radius: 50%;
  flex-shrink: 0;
}
.monthly-update-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.monthly-update-info h2 {
  margin: 0;
  color: #081f3f;
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
}
.monthly-update-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.monthly-update-age {
  border: 1px solid #9da4ad;
  border-radius: 4px;
  padding: 5px 8px;
  color: #081f3f;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
}
.monthly-update-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #081f3f;
  font-size: 1rem;
  font-weight: 700;
}
.monthly-update-location img {
  width: 18px;
  height: 13px;
  object-fit: cover;
}

.dashboard {
  width: 100%;
  padding: 1rem 4rem 3rem;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  color: #10233d;
  background: #fff;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}
.dashboard-card {
  background: #fff;
  border: 1px solid #b8b8b8;
  border-radius: 1rem;
  overflow: hidden;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.inputs-header {
  background: #279900;
}
.outputs-header {
  background: #ce4b0e;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 0.75rem;
}
.training-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.1rem 0 0.8rem;
  color: #349b42;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.training-title img {
  width: 2rem;
  object-fit: contain;
}
.training-stats {
  display: grid;
  gap: 0.8rem;
  align-items: start;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 2rem;
}
.training-stat {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.35rem;
  text-align: center;
  border-radius: 10px;
  background-color: #f0f0f0;
}
.training-stat:last-child {
  border-right: 0;
}
.training-stat strong {
  color: #349b42;
  font-size: 2rem;
  line-height: 1;
}
.training-stat span {
  margin-top: 0.5rem;
  color: #111;
  font-size: 0.8rem;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
}
.section-divider {
  height: 1px;
  margin: 1.5rem 0.8rem;
  background: #e8e8e8;
}

.chart-title {
  margin-bottom: 1rem;
  color: #153d25;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bar-chart {
  display: flex;
  width: 100%;
  height: 10rem;
  margin-bottom: 1rem;
}

.y-axis {
  width: 1.7rem;
  height: 7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 0;
  margin-right: 0.8rem;
  color: #333;
  font-size: 0.7rem;
  line-height: 1;
  text-align: right;
}

.chart-area {
  position: relative;
  flex: 1;
  height: 7rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  gap: 0.25rem;
  padding: 0 0.15rem 0 0.45rem;
  border-bottom: 0.1rem solid #222;
}

.bar-column {
  width: 100%;
  max-width: 4rem;
  height: 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.bar-plot {
  width: 100%;
  height: 7rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  padding-bottom: 1.7px;
}

.bar {
  width: 1.05rem;
  height: var(--bar-height);
  flex-shrink: 0;
  background: #43a852;
}

.bar-value {
  margin-bottom: 0.5rem;
  color: #263d2a;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.bar-column strong {
  display: block;
  margin-top: 0.45rem;
  color: #24332b;
  font-size: 0.8rem;
  line-height: 1;
  text-align: center;
}

.bar-column small {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.3rem;
  color: #333;
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.bar-column strong,
.bar-column small {
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}

.bar-column strong,
.bar-column small,
.bar-value {
  text-align: center;
}

.y-axis {
  position: relative;
  width: 4rem;
  height: 7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  padding-right: 0.8rem;
  margin: 0;
  color: #333;
  font-size: 0.7rem;
  line-height: 1;
  text-align: right;
  border-right: 0.1rem solid #222;
}

.y-axis span {
  position: relative;
  display: block;
}

.y-axis span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.8rem;
  width: 3px;
  height: 1px;
  background: #222;
  transform: translateY(-50%);
}

.breakdown-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: #173957;
}
.breakdown-title img {
  width: 2.5rem;
  object-fit: contain;
}
.breakdown-title strong {
  font-size: 1.5rem;
}
.breakdown-title small {
  font-size: 1rem;
}
.breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 2rem;
}

.breakdown-row {
  display: grid;
  grid-template-columns: 2.2rem 4rem 1fr 1.2rem;
  align-items: center;
  gap: 1.5rem;
  min-height: 2.5rem;
}

.breakdown-icon {
  width: 2.2rem;
  object-fit: contain;
}
.breakdown-label {
  color: #1d3326;
  font-size: 0.8rem;
  font-weight: 700;
}
.breakdown-bar {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  height: 16px;
  background: transparent;
}
.breakdown-bar span {
  display: block;
  height: 100%;
}
.mobility-bar span {
  background: #7136be;
}
.walk-bar span {
  background: #ff5c00;
}
.core-bar span {
  background: #0068c9;
}
.upper-bar span {
  background: #e01d22;
}
.legs-bar span {
  background: #008d72;
}
.run-bar span {
  background: #f0bd00;
}
.breakdown-row strong {
  color: #1d3326;
  font-size: 1rem;
}
.sleep-card {
  margin-top: 0.65rem;
  padding: 1rem;
  border: 1px solid #8c61dd;
  border-radius: 0.55rem;
  background: #fbf9fc;
}
.sleep-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  color: #274b31;
}
.sleep-title img {
  width: 2.5em;
  object-fit: contain;
}
.sleep-title strong {
  font-size: 1.5rem;
}
.sleep-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.sleep-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.25rem;
  border-right: 1px solid #e3e3e3;
  text-align: center;
}
.sleep-stat:last-child {
  border-right: 0;
}
.sleep-stat strong {
  color: #6736b5;
  font-size: 2rem;
  line-height: 1;
}
.sleep-stat span {
  margin-top: 0.35rem;
  color: #17251c;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
.dashboard-right {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.highs-card {
  min-height: 17.8rem;
}
.output-section {
  padding: 2rem 0.75rem;
}
.output-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  color: #d24c15;
}
.output-title img {
  width: 2.5rem;
  object-fit: contain;
}
.output-title strong {
  font-size: 1.5rem;
}
.output-title small {
  font-size: 0.8rem;
  font-weight: 700;
}
.performance-table,
.new-tests-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.performance-table th {
  background: #fff0e9;
  color: #ad4318;
}
.performance-table th,
.performance-table td {
  padding: 2rem 0.25rem;
  border-right: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  vertical-align: middle;
  font-weight: 600;
}
.performance-table th {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}
.performance-table th:last-child,
.performance-table td:last-child {
  border-right: 0;
}
.performance-table td:first-child {
  font-weight: 700;
  text-align: left;
  font-size: 0.8rem;
}

.performance-table tbody tr:last-child td {
  border-bottom: none;
}

.performance-table tr:last-child {
  border: none !important;
}

.performance-table .positive {
  color: #13853c;
  font-weight: 700;
}
.performance-table sup {
  font-size: 0.8rem;
}
.tests-card {
  flex: 1;
  min-height: 14.8rem;
}
.tests-content {
  padding: 2rem 0.75rem;
}
.tests-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: #12579c;
}
.tests-title img {
  width: 2.5rem;
  object-fit: contain;
}
.tests-title strong {
  font-size: 1.5rem;
}

.new-tests-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.new-tests-table th,
.new-tests-table td {
  width: 33.333%;
  padding: 1.2rem 0.75rem;
  border-bottom: 1px solid #dedede;
  border-right: 1px solid #dedede;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  vertical-align: middle;
}

.new-tests-table td:first-child {
  font-size: 0.8rem;
  text-align: left;
}

.new-tests-table th {
  background: #eef5fa;
  color: #111;
  font-weight: 700;
  font-size: 0.8rem;
}

.new-tests-table td {
  color: #111;
  font-weight: 600;
}

.new-tests-table th:last-child,
.new-tests-table td:last-child {
  border-right: 0;
}

.new-tests-table tbody tr:last-child td {
  border-bottom: 0;
}

.performance-summary {
  width: 100%;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  color: #17233a;
}
.performance-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.performance-card {
  width: 100%;
  min-height: 10rem;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #c9c9c9;
  border-radius: 0.8rem;
  overflow: hidden;
}
.body-composition-card {
  padding: 1rem;
}
.performance-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.performance-card-header img {
  width: 3rem;
  object-fit: contain;
  flex-shrink: 0;
}

.performance-card-header h3 {
  margin: 0;
  color: #00859a;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}
.performance-card-header h3 small {
  font-size: 1rem;
  font-weight: 700;
}
.composition-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-bottom: 0.7rem;
}
.composition-table th,
.composition-table td {
  width: 33.333%;
  padding: 0.55rem 0.4rem;
  border: 1px solid #bdbdbd;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
}
.composition-table thead th {
  background: #edf5f8;
  color: #00809a;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}
.composition-table thead th:first-child {
  background: #fff;
  border-top: 0;
  border-left: 0;
}
.composition-table tbody th {
  color: #222;
  font-weight: 700;
  text-align: left;
}
.composition-table tbody td {
  color: #222;
  font-weight: 400;
}
.composition-note {
  margin: 0;
  color: #222;
  font-size: 1rem;
  line-height: 1.25;
}
.athletic-day-card {
  padding: 1rem 1rem;
}
.athletic-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.athletic-header .performance-card-header {
  margin-bottom: 1rem;
}
.athletic-header .performance-card-header img {
  width: 2.5rem;
}
.athletic-header .performance-card-header h3 {
  color: #d50050;
  font-size: 1.5rem;
}
.athletic-date {
  flex-shrink: 0;
  padding: 0.4rem 0.65rem;
  background: #d50050;
  border-radius: 0.2rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}
.athletic-tests {
  width: 100%;
  display: flex;
  gap: 0.8rem;
}
.athletic-test {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 0.8rem;
  background-color: #f0f0f0;
  box-sizing: border-box;
  border-radius: 10px;
  text-align: center;
}
.athletic-test:last-child {
  border-right: 0;
}
.test-name {
  width: 100%;
  min-height: 2rem;
  color: #d50050;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}
.athletic-test img {
  width: 3rem;
  margin: 0.45rem 0;
  object-fit: contain;
}
.athletic-test strong {
  color: #d50050;
  font-size: 1.4rem;
  line-height: 1;
}
.test-unit {
  margin-top: 0.35rem;
  color: #d50050;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.breakdown-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 1rem;
}
.breakdown-bar > span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.breakdown-row strong {
  min-width: 1.5rem;
  opacity: 0;
  transform: translateY(0.3rem);
  transition:
    opacity 0.4s ease 0.2s,
    transform 0.4s ease 0.2s;
}

.breakdown-list.is-visible .breakdown-bar > span {
  transform: scaleX(1);
}

.breakdown-list.is-visible .breakdown-row strong {
  opacity: 1;
  transform: translateY(0);
}

.bar-column .bar {
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.bar-column .bar-value {
  opacity: 0;
  transform: translateY(0.5rem);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.bar-column strong,
.bar-column small {
  opacity: 0;
  transform: translateY(0.4rem);
  transition:
    opacity 0.4s ease 0.2s,
    transform 0.4s ease 0.2s;
}

.bar-chart.is-visible .bar-column .bar {
  transform: scaleY(1);
}

.bar-chart.is-visible .bar-column .bar-value,
.bar-chart.is-visible .bar-column strong,
.bar-chart.is-visible .bar-column small {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .monthly-update {
    margin-top: 3rem;
  }
  .monthly-update-header {
    height: auto;
    min-height: 7rem;
    padding: 2.5rem 2rem;
  }
  .monthly-update-logo-left {
    left: 3%;
    width: 18%;
  }
  .monthly-update-logo-right {
    right: 3%;
    width: 18%;
  }
  .monthly-update-title h1 {
    font-size: 2rem;
  }
  .monthly-update-title h3 {
    margin-top: 0.6rem;
    font-size: 1.25rem;
  }
  .monthly-update-profile {
    min-height: 10rem;
    padding: 1.5rem;
    gap: 1rem;
  }
  .monthly-update-avatar {
    width: 6rem;
    height: 6rem;
  }
  .monthly-update-info {
    gap: 0.7rem;
  }
  .monthly-update-info h2 {
    font-size: 1.6rem;
  }
  .monthly-update-meta {
    gap: 0.7rem;
  }
  .monthly-update-age,
  .monthly-update-location {
    font-size: 1rem;
  }

  .dashboard {
    padding: 1rem 2rem;
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
  .card-header {
    padding: 0.8rem;
    font-size: 1.15rem;
  }
  .card-content {
    padding: 0.8rem;
  }
  .training-title {
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
  }
  .training-title img {
    width: 1.75rem;
  }
  .training-stats {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .training-stat {
    padding: 0.8rem 0.3rem;
  }
  .training-stat strong {
    font-size: 1.7rem;
  }
  .training-stat span {
    font-size: 0.8rem;
  }
  .section-divider {
    margin: 1.25rem 0.5rem;
  }
  .chart-title {
    margin-bottom: 0.8rem;
    font-size: 1rem;
  }
  .bar-chart {
    height: 8rem;
  }
  .bar-value {
    font-size: 0.8rem;
  }
  .bar-column strong {
    font-size: 0.7rem;
  }
  .bar-column small {
    font-size: 0.5rem;
  }
  .breakdown-title {
    gap: 0.4rem;
    margin-bottom: 1rem;
  }
  .breakdown-title img {
    width: 2rem;
  }
  .breakdown-title strong {
    font-size: 1.2rem;
  }
  .breakdown-title small {
    font-size: 1rem;
  }
  .breakdown-list {
    margin-bottom: 1.5rem;
  }
  .breakdown-row {
    grid-template-columns: 1.8rem 4rem 1fr 1.5rem;
    gap: 0.8rem;
    min-height: 2.5rem;
  }
  .breakdown-icon {
    width: 1.8rem;
  }
  .breakdown-label {
    font-size: 0.8rem;
  }
  .breakdown-row strong {
    font-size: 1rem;
  }
  .sleep-card {
    padding: 0.8rem;
  }
  .sleep-title {
    gap: 0.6rem;
    margin-bottom: 1rem;
  }
  .sleep-title img {
    width: 2rem;
  }
  .sleep-title strong {
    font-size: 1.2rem;
  }
  .sleep-stat strong {
    font-size: 1.7rem;
  }
  .sleep-stat span {
    font-size: 0.7rem;
  }

  .dashboard-right {
    gap: 0.7rem;
  }
  .output-section {
    padding: 0.8rem;
    overflow-x: auto;
  }
  .output-title {
    gap: 0.6rem;
    margin-bottom: 1rem;
  }
  .output-title img {
    width: 2rem;
  }
  .output-title strong {
    font-size: 1.2rem;
  }
  .output-title small {
    font-size: 0.8rem;
  }
  .performance-table {
    min-width: 100%;
  }
  .performance-table th,
  .performance-table td {
    padding: 1rem 0.3rem;
    font-size: 1rem;
  }
  .performance-table th {
    font-size: 0.8rem;
  }
  .performance-table sup {
    font-size: 0.8rem;
  }
  .tests-content {
    padding: 1rem 0.8rem;
    overflow-x: auto;
  }
  .tests-title {
    gap: 0.6rem;
    margin-bottom: 1rem;
  }
  .tests-title img {
    width: 2rem;
  }
  .tests-title strong {
    font-size: 1.2rem;
  }
  .new-tests-table th,
  .new-tests-table td {
    padding: 0.8rem 0.3rem;
    font-size: 1rem;
  }
  .new-tests-table th {
    font-size: 0.8rem;
  }

  .performance-summary {
    padding: 1rem 2rem;
  }
  .performance-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
  .body-composition-card,
  .athletic-day-card {
    padding: 0.8rem;
  }
  .performance-card-header {
    gap: 0.6rem;
    margin-bottom: 0.8rem;
  }
  .performance-card-header img {
    width: 2.5rem;
  }
  .performance-card-header h3 {
    font-size: 1.25rem;
  }
  .performance-card-header h3 small {
    font-size: 1rem;
  }
  .composition-table th,
  .composition-table td {
    padding: 0.5rem 0.3rem;
    font-size: 1rem;
  }
  .composition-table thead th {
    font-size: 1rem;
  }
  .composition-note {
    font-size: 1rem;
  }
  .athletic-header {
    gap: 0.7rem;
    margin-bottom: 1rem;
  }
  .athletic-header .performance-card-header img {
    width: 2rem;
  }
  .athletic-header .performance-card-header h3 {
    font-size: 1.25rem;
  }
  .athletic-date {
    padding: 0.35rem 0.5rem;
    font-size: 1rem;
  }
  .athletic-tests {
    gap: 0.4rem;
  }
  .athletic-test {
    padding: 0.7rem 0.4rem;
  }
  .test-name {
    font-size: 1rem;
  }
  .athletic-test img {
    width: 2.5rem;
    margin: 0.4rem 0;
  }
  .athletic-test strong {
    font-size: 1.25rem;
  }
  .test-unit {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .monthly-update {
    margin-top: 2rem;
  }
  .monthly-update-header {
    height: auto;
    min-height: 8rem;
    padding: 2rem 1rem;
  }
  .monthly-update-logo-left {
    left: 3%;
    width: 25%;
  }
  .monthly-update-logo-right {
    right: 3%;
    width: 25%;
  }
  .monthly-update-title {
    width: 50%;
  }
  .monthly-update-title h1 {
    font-size: 1.5rem;
  }
  .monthly-update-title h3 {
    margin-top: 0.5rem;
    font-size: 1.1rem;
  }
  .monthly-update-profile {
    min-height: auto;
    padding: 1.5rem 1rem;
    gap: 1rem;
  }
  .monthly-update-avatar {
    width: 5rem;
    height: 5rem;
    border-width: 0.2rem;
  }
  .monthly-update-info {
    gap: 0.7rem;
  }
  .monthly-update-info h2 {
    font-size: 1.3rem;
  }
  .monthly-update-meta {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .monthly-update-age,
  .monthly-update-location {
    font-size: 1rem;
  }
  .monthly-update-location {
    gap: 0.3rem;
  }
  .monthly-update-location img {
    width: 1.2rem;
    height: auto;
  }

  .dashboard {
    padding: 1rem;
  }
  .dashboard-grid {
    grid-template-columns: 100%;
    gap: 1rem;
  }
  .dashboard-card {
    border-radius: 0.8rem;
  }
  .card-header {
    padding: 0.8rem;
    font-size: 1.15rem;
  }
  .card-content {
    padding: 0.8rem;
  }
  .training-title {
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
  }
  .training-title img {
    width: 1.75rem;
  }
  .training-stats {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }
  .training-stat {
    width: 100%;
    padding: 1rem 0.25rem;
  }
  .training-stat strong {
    font-size: 1.5rem;
  }
  .training-stat span {
    font-size: 0.8rem;
  }
  .section-divider {
    margin: 1.25rem 0.3rem;
  }
  .chart-title {
    margin-bottom: 0.8rem;
    font-size: 1rem;
  }
  .bar-chart {
    height: 9rem;
  }
  .y-axis {
    width: 1.5rem;
    font-size: 0.7rem;
  }
  .chart-area {
    gap: 0.15rem;
    padding-left: 0.3rem;
  }
  .bar-column {
    min-width: 1.4rem;
  }
  .bar {
    width: 0.9rem;
  }
  .bar-value {
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
  }
  .bar-column strong {
    margin-top: 0.2rem;
    font-size: 0.7rem;
  }
  .bar-column small {
    margin-top: 0.15rem;
    font-size: 0.5rem;
  }

  .breakdown-title {
    gap: 0.4rem;
    margin-bottom: 1rem;
  }
  .breakdown-title img {
    width: 2rem;
  }
  .breakdown-title strong {
    font-size: 1.1rem;
  }
  .breakdown-title small {
    font-size: 1rem;
  }
  .breakdown-list {
    gap: 0.4rem;
    margin-bottom: 1.5rem;
  }
  .breakdown-row {
    grid-template-columns: 2rem 5rem 1fr auto;
    gap: 0.5rem;
    min-height: 2.5rem;
  }
  .breakdown-icon {
    width: 2rem;
  }
  .breakdown-label {
    font-size: 0.8rem;
  }
  .breakdown-bar {
    height: 1rem;
  }
  .breakdown-row strong {
    margin-left: 0.5rem;
    font-size: 1rem;
  }

  .sleep-card {
    margin-top: 0.5rem;
    padding: 0.8rem;
  }
  .sleep-title {
    gap: 0.6rem;
    margin-bottom: 1rem;
  }
  .sleep-title img {
    width: 2rem;
  }
  .sleep-title strong {
    font-size: 1.1rem;
  }
  .sleep-stat strong {
    font-size: 1.5rem;
  }
  .sleep-stat span {
    margin-top: 0.3rem;
    font-size: 0.7rem;
  }

  .dashboard-right {
    gap: 1rem;
  }
  .highs-card {
    min-height: auto;
    overflow: hidden;
  }
  .output-section {
    padding: 1rem 0.8rem;
    overflow-x: auto;
  }
  .output-title {
    gap: 0.6rem;
    margin-bottom: 1rem;
    white-space: nowrap;
  }
  .output-title img {
    width: 2rem;
  }
  .output-title strong {
    font-size: 1.1rem;
  }
  .output-title small {
    font-size: 0.8rem;
  }
  .performance-table {
    min-width: 45rem;
  }
  .performance-table th,
  .performance-table td {
    padding: 1rem 0.4rem;
    font-size: 1rem;
  }
  .performance-table th {
    font-size: 0.8rem;
  }
  .performance-table sup {
    font-size: 0.8rem;
  }

  .tests-card {
    min-height: auto;
  }
  .tests-content {
    padding: 1rem 0.8rem;
    overflow-x: auto;
  }
  .tests-title {
    gap: 0.6rem;
    margin-bottom: 1rem;
  }
  .tests-title img {
    width: 2rem;
  }
  .tests-title strong {
    font-size: 1.1rem;
  }
  .new-tests-table {
    min-width: 30rem;
  }
  .new-tests-table th,
  .new-tests-table td {
    padding: 1rem 0.4rem;
    font-size: 1rem;
  }
  .new-tests-table th {
    font-size: 0.8rem;
  }

  .performance-summary {
    padding: 1rem;
  }
  .performance-grid {
    grid-template-columns: 100%;
    gap: 1rem;
  }
  .performance-card {
    min-height: auto;
  }
  .body-composition-card,
  .athletic-day-card {
    padding: 1rem;
  }
  .performance-card-header {
    gap: 0.6rem;
    margin-bottom: 1rem;
  }
  .performance-card-header img {
    width: 2.5rem;
  }
  .performance-card-header h3 {
    font-size: 1.25rem;
  }
  .performance-card-header h3 small {
    font-size: 1rem;
  }
  .composition-table th,
  .composition-table td {
    padding: 0.7rem 0.4rem;
    font-size: 1rem;
  }
  .composition-table thead th {
    font-size: 1rem;
  }
  .composition-note {
    font-size: 1rem;
  }

  .athletic-header {
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  .athletic-header .performance-card-header {
    flex: 1;
    min-width: 0;
  }
  .athletic-header .performance-card-header img {
    width: 2rem;
  }
  .athletic-header .performance-card-header h3 {
    font-size: 1.2rem;
  }
  .athletic-date {
    padding: 0.4rem 0.5rem;
    font-size: 1rem;
  }
  .athletic-tests {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 0.5rem;
  }
  .athletic-test {
    width: 100%;
    padding: 1rem 0.5rem;
    border-radius: 0.5rem;
  }
  .test-name {
    min-height: 2.2rem;
    font-size: 1rem;
  }
  .athletic-test img {
    width: 3rem;
    margin: 0.5rem 0;
  }
  .athletic-test strong {
    font-size: 1.4rem;
  }
  .test-unit {
    margin-top: 0.4rem;
    font-size: 1rem;
  }
}
