* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #f5f7fb;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #3c4043;
}

button,
a {
  border: 0;
  background: transparent;
  font: inherit;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.phone {
  position: relative;
  width: 375px;
  min-height: 2234px;
  margin: 0 auto;
  overflow: hidden;
  background: #e4efff;
}

.life-page {
  min-height: 1050px;
}

.status-bar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 21px 0 30px;
  font-weight: 700;
  font-size: 15px;
  line-height: 21px;
  color: #000;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.signal {
  width: 15px;
  height: 12px;
  background: linear-gradient(to top, #000 0 38%, transparent 38%) 0 8px / 3px 12px no-repeat,
    linear-gradient(to top, #000 0 55%, transparent 55%) 4px 5px / 3px 12px no-repeat,
    linear-gradient(to top, #000 0 74%, transparent 74%) 8px 2px / 3px 12px no-repeat,
    linear-gradient(to top, #000 0 100%, transparent 100%) 12px 0 / 3px 12px no-repeat;
}

.wifi {
  width: 14px;
  height: 10px;
  border: 3px solid #000;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-right-color: transparent;
  border-radius: 14px 14px 0 0;
  position: relative;
}

.wifi::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 4px;
  height: 4px;
  background: #000;
  border-radius: 50%;
}

.battery {
  position: relative;
  width: 25px;
  height: 12px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 3px;
}

.battery::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 7px;
  border-radius: 1px;
  background: #000;
}

.battery::after {
  content: "";
  position: absolute;
  top: 3px;
  right: -3px;
  width: 2px;
  height: 5px;
  border-radius: 0 2px 2px 0;
  background: rgba(0, 0, 0, 0.5);
}

.nav-bar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.nav-bar h1 {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: #000;
}

.icon-btn {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.printer-icon {
  width: 24px;
  height: 24px;
  display: block;
  overflow: visible;
  color: #3c4043;
  fill: currentColor;
}

.printer-icon g {
  transform-box: fill-box;
  transform-origin: center;
}

.printer-input {
  transform-origin: bottom center;
}

.printer-output {
  transform-origin: top center;
}

.icon-btn:hover .printer-input,
.icon-btn:focus-visible .printer-input {
  animation: printer-input-feed 650ms cubic-bezier(0.215, 0.61, 0.355, 1) both;
}

.icon-btn:hover .printer-output,
.icon-btn:focus-visible .printer-output {
  animation: printer-output-feed 760ms cubic-bezier(0.215, 0.61, 0.355, 1) 70ms both;
}

.icon-btn:hover .printer-status,
.icon-btn:focus-visible .printer-status {
  animation: printer-status-blink 300ms cubic-bezier(0.645, 0.045, 0.355, 1) 90ms 2 both;
}

@keyframes printer-input-feed {
  0% {
    transform: translateY(-10%) scaleY(0.92);
  }
  45% {
    transform: translateY(10%) scaleY(1);
  }
  100% {
    transform: translateY(0) scaleY(1);
  }
}

@keyframes printer-output-feed {
  0% {
    transform: translateY(-100%) scaleY(0.8);
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  100% {
    transform: translateY(0) scaleY(1);
    opacity: 1;
  }
}

@keyframes printer-status-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.chevron {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-top: 1.8px solid #3c4043;
  border-right: 1.8px solid #3c4043;
}

.chevron.left {
  transform: rotate(-135deg);
}

.chevron.right {
  transform: rotate(45deg);
  width: 7px;
  height: 7px;
}

.chevron.blue {
  border-color: #09f;
}

.share-icon {
  width: 17px;
  height: 16px;
  border: 2px solid #3c4043;
  border-top: 0;
  border-radius: 4px;
  position: relative;
}

.share-icon::before {
  content: "";
  position: absolute;
  right: -2px;
  top: -7px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #3c4043;
  border-right: 2px solid #3c4043;
  transform: rotate(-45deg);
}

.share-icon::after {
  content: "";
  position: absolute;
  right: 4px;
  top: -6px;
  width: 2px;
  height: 12px;
  border-radius: 1px;
  background: #3c4043;
}

.tabs {
  height: 60px;
  display: flex;
  align-items: flex-start;
  padding: 8px 21px 0;
}

.tabs::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 96px;
  width: 333px;
  height: 34px;
  border: 1px solid #cfe1fb;
  border-radius: 100px;
}

.tab {
  position: relative;
  z-index: 1;
  height: 34px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #80868b;
  font-size: 14px;
  line-height: 20px;
}

.tab.active {
  color: #3c4043;
  font-weight: 600;
  background: #cfe1fb;
  border-radius: 100px 8px 8px 100px;
}

.life-tabs .tab.active {
  border-radius: 8px 100px 100px 8px;
}

.card {
  width: 327px;
  margin-left: 24px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 18px rgba(61, 109, 173, 0.08);
}

.pressure-card {
  min-height: 307px;
  padding: 20px 16px;
}

.month-title {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 22px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: #3c4043;
}

.small-down {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #80868b;
  border-bottom: 1.5px solid #80868b;
  transform: rotate(45deg) translateY(-2px);
}

.bp-chart {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.y-axis {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 17px;
  padding-bottom: 22px;
  color: #c7cbcd;
  font-size: 8px;
  line-height: 12px;
}

.plot {
  position: relative;
  width: 265px;
  height: 145px;
}

.grid-lines {
  position: absolute;
  inset: 0 0 24px;
  background: repeating-linear-gradient(to bottom, #f3f6fb 0 1px, transparent 1px 10px);
}

.month-labels {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 1px;
  display: flex;
  justify-content: space-between;
  color: #c7cbcd;
  font-size: 8px;
  line-height: 12px;
}

.month-labels span:last-child {
  color: #80868b;
}

.bp-range {
  position: absolute;
  width: 1px;
  opacity: 0.65;
}

.bp-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid currentColor;
}

.bp-range.red,
.bp-dot.red,
.legend-dot.red {
  color: #ff4d4f;
  background-color: #ff4d4f;
}

.bp-dot.red,
.bp-dot.amber,
.bp-dot.mint {
  background: #fff;
}

.bp-range.amber,
.bp-dot.amber {
  color: #f8ba45;
  background-color: #f8ba45;
}

.bp-range.mint,
.bp-dot.mint {
  color: #61d0a4;
  background-color: #61d0a4;
}

.bp-range.green,
.bp-dot.green,
.legend-dot.green {
  color: #18b66a;
  background-color: #18b66a;
}

.metrics {
  display: flex;
  justify-content: space-between;
  margin-top: 17px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.metric:last-child {
  align-items: flex-end;
}

.metric-label {
  display: flex;
  gap: 8px;
  color: #80868b;
  font-size: 12px;
  line-height: 17px;
}

.metric strong {
  font-family: "DIN Alternate", "Arial Narrow", Arial, sans-serif;
  color: #000;
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
  letter-spacing: 0;
}

.metric p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.info {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 1px solid #aeb4b9;
  border-radius: 50%;
  color: #aeb4b9;
  font-size: 10px;
  line-height: 1;
  font-style: normal;
}

.goal-card {
  margin-top: 16px;
  padding: 20px 16px;
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
}

.card-heading h2 {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
}

.edit-btn {
  position: relative;
  width: 24px;
  height: 24px;
}

.edit-btn::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 12px;
  height: 12px;
  border: 1.8px solid #9aa4ab;
  border-radius: 2px;
}

.edit-btn::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 3px;
  width: 11px;
  height: 4px;
  border: 1.8px solid #9aa4ab;
  background: #fff;
  transform: rotate(-45deg);
  border-radius: 1px;
}

.goal-graph {
  position: relative;
  height: 116px;
  margin-top: 12px;
}

.goal-area {
  position: absolute;
  left: 0;
  top: 0;
  width: 295px;
  height: 100px;
  background: linear-gradient(16deg, transparent 49.5%, #f7fbff 50%), linear-gradient(16deg, #eff6ff 49%, #0a99f5 50%);
  clip-path: polygon(0 0, 100% 72%, 100% 100%, 0 100%);
}

.goal-current {
  position: absolute;
  left: 146px;
  top: 2px;
  width: 80px;
  text-align: center;
  color: #3c4043;
}

.goal-current strong {
  display: block;
  font-size: 14px;
  line-height: 17px;
}

.goal-current span,
.goal-mark span {
  font-size: 8px;
  color: #80868b;
}

.goal-current small {
  display: block;
  color: #80868b;
  font-size: 8px;
  line-height: 12px;
}

.goal-mark {
  position: absolute;
  bottom: 4px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 700;
  color: #80868b;
}

.goal-mark small {
  display: block;
  font-size: 8px;
  line-height: 12px;
  text-align: center;
  color: #aeb4b9;
  font-weight: 400;
}

.goal-mark.start {
  left: 0;
}

.goal-mark.end {
  right: 0;
  text-align: right;
}

.date-row {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid #edf1f6;
  border-radius: 12px;
  color: #9aa4ab;
  font-size: 14px;
  line-height: 20px;
}

.date-row strong {
  margin-left: auto;
  color: #a2a9af;
  font-weight: 400;
}

.calendar-icon {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1.5px solid #b4bbc2;
  border-radius: 3px;
}

.calendar-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 5px;
  border-top: 1.5px solid #b4bbc2;
}

.report-card {
  margin-top: 16px;
  padding: 20px 16px;
}

.collapse-btn {
  width: 24px;
  height: 24px;
  position: relative;
}

.collapse-btn::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-left: 1.8px solid #3c4043;
  border-top: 1.8px solid #3c4043;
  transform: rotate(45deg);
}

.report-block {
  margin-top: 24px;
}

.report-block h3 {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.classification {
  position: relative;
  width: 276px;
  height: 236px;
  margin-left: 0;
  padding-left: 36px;
}

.axis-title {
  position: absolute;
  color: #80868b;
  font-size: 12px;
  line-height: 17px;
}

.axis-title.high {
  left: 0;
  top: 0;
}

.axis-title.low {
  right: 0;
  bottom: 20px;
}

.class-zone {
  position: absolute;
  left: 36px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  line-height: 14px;
  padding: 9px 12px;
}

.danger3 {
  top: 24px;
  width: 207px;
  height: 39px;
  background: #ff6664;
}

.danger2 {
  top: 63px;
  width: 160px;
  height: 39px;
  background: #ff8d76;
}

.danger1 {
  top: 102px;
  width: 120px;
  height: 39px;
  background: #ffb177;
}

.normal-high {
  top: 141px;
  width: 80px;
  height: 39px;
  background: #ffd99e;
}

.normal {
  top: 180px;
  width: 80px;
  height: 36px;
  background: #d5e8ff;
}

.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.08));
}

.pin::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: #fff;
  border-radius: 50%;
}

.classification .pin,
.matrix .pin {
  background: #ff9c55;
}

.class-y {
  position: absolute;
  left: 0;
  top: 22px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #aeb4b9;
  font-size: 10px;
  line-height: 14px;
}

.class-x {
  position: absolute;
  left: 72px;
  bottom: 0;
  width: 207px;
  display: flex;
  justify-content: space-between;
  color: #aeb4b9;
  font-size: 10px;
  line-height: 14px;
}

.compare-row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 55px;
}

.compare-row.second {
  margin-top: 8px;
}

.compare-label {
  width: 20px;
  color: #3c4043;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.compare-track {
  position: relative;
  width: 224px;
  height: 14px;
  border-radius: 20px;
  background: #eef6ff;
}

.compare-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 20px;
  background: #dcecff;
}

.compare-point {
  position: absolute;
  top: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #09f;
}

.compare-track strong {
  position: absolute;
  bottom: 18px;
  min-width: 58px;
  text-align: center;
  font-size: 12px;
  line-height: 15px;
  color: #3c4043;
}

.compare-track small {
  color: #80868b;
  font-weight: 400;
  font-size: 8px;
}

.compare-track em {
  display: block;
  color: #80868b;
  font-size: 8px;
  line-height: 12px;
  font-style: normal;
  font-weight: 400;
}

.scale-line {
  margin-left: 36px;
  width: 224px;
  display: flex;
  justify-content: space-between;
  color: #c7cbcd;
  font-size: 8px;
  line-height: 12px;
}

.matrix {
  position: relative;
  height: 262px;
}

.matrix-y {
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 227px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #aeb4b9;
  font-size: 10px;
  line-height: 14px;
}

.matrix-grid {
  position: absolute;
  left: 36px;
  top: 18px;
  width: 207px;
  height: 207px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}

.matrix-grid div {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  line-height: 14px;
}

.matrix-grid div:nth-child(1) {
  background: #2e64ba;
}

.matrix-grid div:nth-child(2) {
  background: #ff6664;
}

.matrix-grid div:nth-child(3) {
  background: #cfe0f6;
}

.matrix-grid div:nth-child(4) {
  background: #ffb36d;
}

.matrix-x {
  position: absolute;
  left: 36px;
  bottom: 0;
  width: 258px;
  display: flex;
  justify-content: space-between;
  color: #aeb4b9;
  font-size: 10px;
  line-height: 14px;
}

.stats-block h3 {
  margin-bottom: 18px;
}

.stat-list {
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  text-align: center;
}

.stat-list strong {
  font-family: "DIN Alternate", "Arial Narrow", Arial, sans-serif;
  color: #000;
  font-size: 24px;
  line-height: 30px;
}

.stat-list span {
  color: #80868b;
  font-size: 8px;
  margin-left: 2px;
}

.stat-list p {
  margin: 4px 0 0;
  color: #80868b;
  font-size: 12px;
  line-height: 17px;
}

.warning {
  display: flex;
  gap: 8px;
  margin: 24px 0 0;
  color: #ff6664;
  font-size: 12px;
  line-height: 17px;
}

.warning span {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1.5px solid #ff6664;
  border-radius: 50%;
  line-height: 1;
}

.doctors-card {
  margin-top: 16px;
  padding: 20px 16px;
}

.card-heading a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #80868b;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
}

.doctor {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.avatar {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, #1d0024 0%, #120017 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.avatar::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffb36d;
  box-shadow: -8px -6px 0 -3px #ff8d76, 8px -5px 0 -5px #ff8d76;
}

.avatar::after {
  content: "";
  position: absolute;
  left: 9px;
  bottom: -3px;
  width: 31px;
  height: 22px;
  border-radius: 16px 16px 10px 10px;
  background: #ee7f61;
}

.doctor-body {
  min-width: 0;
  flex: 1;
}

.doctor-title {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.doctor-title strong {
  flex: 0 0 auto;
  color: #000;
  font-size: 16px;
  line-height: 22px;
}

.doctor-title span {
  color: #3c4043;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.doctor-title em {
  flex: 0 0 auto;
  padding: 2px 4px;
  border-radius: 4px;
  background: rgba(228, 239, 255, 0.5);
  color: #09f;
  font-size: 10px;
  line-height: 12px;
  font-style: normal;
}

.doctor p {
  margin: 2px 0 0;
  color: #80868b;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.doctor .ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  line-height: 17px;
}

.doctor-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  color: #3c4043;
  font-size: 12px;
  line-height: 17px;
}

.doctor-footer button {
  margin-left: auto;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid #09f;
  border-radius: 100px;
  color: #09f;
  font-size: 12px;
  line-height: 17px;
}

.divider {
  height: 1px;
  margin: 16px 0 0 56px;
  background: #edf1f6;
}

.home-indicator {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 134px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 100px;
  background: #000;
}

.life-habits-card {
  margin-top: 22px;
  padding: 0 16px 20px;
  overflow: hidden;
}

.life-month {
  height: 56px;
  border-bottom: 1px solid rgba(199, 203, 205, 0.2);
}

.habit-section {
  padding-top: 20px;
}

.habit-section h2 {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
  color: #3c4043;
}

.bad-section {
  padding-top: 16px;
}

.habit-item + .habit-item {
  margin-top: 14px;
}

.habit-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 295px;
  font-size: 14px;
  line-height: 14px;
  color: #3c4043;
}

.habit-title em {
  color: #80868b;
  font-size: 12px;
  line-height: 12px;
  font-style: normal;
  opacity: 0.7;
}

.habit-progress-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  opacity: 0.68;
}

.habit-icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  color: #80868b;
}

.habit-icon.water::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 17px;
  height: 22px;
  border: 2px solid currentColor;
  border-top-width: 3px;
  border-radius: 2px 2px 8px 8px;
  transform: skewX(-4deg);
}

.habit-icon.water::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 10px;
  height: 2px;
  background: currentColor;
  opacity: 0.5;
}

.habit-icon.run::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -4px 9px 0 -1px currentColor;
}

.habit-icon.run::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  width: 17px;
  height: 16px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skewX(-22deg);
  box-shadow: 8px -6px 0 -6px currentColor;
}

.habit-icon.smoke::before {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 8px;
  width: 18px;
  height: 5px;
  border: 2px solid currentColor;
  border-left: 0;
}

.habit-icon.smoke::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 6px;
  width: 9px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 0 8px 0 0;
}

.habit-icon.beer::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 14px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 4px 4px 7px 7px;
}

.habit-icon.beer::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 11px;
  width: 8px;
  height: 10px;
  border: 2px solid currentColor;
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.habit-icon.moon::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  transform: rotate(-25deg);
}

.habit-icon.moon::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 9px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 5px 4px 0 currentColor, -2px 8px 0 -1px currentColor;
}

.habit-progress {
  position: relative;
  flex: 1;
  height: 36px;
  border: 1px solid #c7cbcd;
  border-radius: 16px;
  background: #fff;
}

.habit-bar {
  position: absolute;
  left: 4px;
  top: 4px;
  height: 28px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
}

.habit-bar.blue {
  background: #57bdf4;
}

.habit-bar.pink {
  background: #fac0bf;
}

.habit-bar.full {
  width: 239px;
}

.habit-bar.medium {
  width: 162px;
}

.habit-bar.short {
  width: 111px;
}

.habit-bar.tiny {
  width: 71px;
}

.habit-bar b {
  font-weight: 400;
}

.habit-state {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
}

.habit-state.check::before,
.habit-state.cross::before,
.habit-state.cross::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 1px;
}

.habit-state.check::before {
  left: 2px;
  top: 8px;
  width: 13px;
  height: 2px;
  transform: rotate(-42deg);
  box-shadow: -5px -2px 0 -0.5px #fff;
}

.habit-state.cross::before,
.habit-state.cross::after {
  left: 1px;
  top: 7px;
  width: 15px;
  height: 2px;
}

.habit-state.cross::before {
  transform: rotate(45deg);
}

.habit-state.cross::after {
  transform: rotate(-45deg);
}

.habit-state.neutral,
.habit-state.smile {
  border: 1.5px solid #80868b;
  border-radius: 50%;
}

.habit-state.neutral::before,
.habit-state.smile::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #80868b;
  box-shadow: 5px 0 0 #80868b;
}

.habit-state.neutral::after,
.habit-state.smile::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 3px;
  border-bottom: 1.5px solid #80868b;
}

.habit-state.smile::after {
  border-radius: 0 0 8px 8px;
}

.plan-card {
  margin-top: 16px;
  padding: 20px 16px;
}

.plan-desc {
  margin: 16px 0 20px;
  color: #80868b;
  font-size: 12px;
  line-height: 18px;
}

.plan-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-item {
  width: 295px;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(199, 203, 205, 0.2);
  border-radius: 16px;
  color: #80868b;
  font-size: 14px;
  line-height: 20px;
}

.plan-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.plan-icon.measure::before {
  content: "";
  position: absolute;
  inset: 2px 1px;
  border: 1.5px solid #80868b;
  border-radius: 3px;
}

.plan-icon.measure::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 6px;
  height: 1.5px;
  background: #80868b;
  box-shadow: 0 4px 0 #80868b;
}

.plan-icon.walk::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #80868b;
  box-shadow: -3px 6px 0 -1px #80868b;
}

.plan-icon.walk::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 10px;
  height: 8px;
  border-left: 1.5px solid #80868b;
  border-bottom: 1.5px solid #80868b;
  transform: skewX(-15deg);
}

.plus-icon {
  position: relative;
  width: 16px;
  height: 16px;
  margin-left: auto;
}

.plus-icon::before,
.plus-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 12px;
  height: 1.5px;
  background: #b4bbc2;
}

.plus-icon::after {
  transform: rotate(90deg);
}

.explore-link {
  display: block;
  margin-top: 18px;
  color: #09f;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.habit-icon::before,
.habit-icon::after,
.plan-icon::before,
.plan-icon::after {
  content: none;
}

.habit-icon.water::before,
.habit-icon.water::after,
.habit-icon.run::before,
.habit-icon.run::after,
.habit-icon.smoke::before,
.habit-icon.smoke::after,
.habit-icon.beer::before,
.habit-icon.beer::after,
.habit-icon.moon::before,
.habit-icon.moon::after,
.plan-icon.measure::before,
.plan-icon.measure::after,
.plan-icon.walk::before,
.plan-icon.walk::after {
  content: none;
}

.habit-icon,
.plan-icon {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.habit-icon.water {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 7H23L21 25H12L10 7Z' stroke='%2380868B' stroke-width='2.2' stroke-linejoin='round'/%3E%3Cpath d='M11.5 13H21.5' stroke='%2380868B' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.habit-icon.run {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='18' cy='6' r='3' fill='%2380868B'/%3E%3Cpath d='M15.5 11L12 18H18L15 27' stroke='%2380868B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16 13L23 16M12 18L7 24' stroke='%2380868B' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.habit-icon.smoke {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 22H21V26H6V22Z' stroke='%2380868B' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M23 22H26V26H23V22Z' fill='%2380868B'/%3E%3Cpath d='M20 15C24 15 24 10 21 10M25 16C29 14 28 9 25 8' stroke='%2380868B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.habit-icon.beer {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 8H21V26H11C9.9 26 9 25.1 9 24V8Z' stroke='%2380868B' stroke-width='2.2' stroke-linejoin='round'/%3E%3Cpath d='M21 12H25C26.1 12 27 12.9 27 14V19C27 20.1 26.1 21 25 21H21' stroke='%2380868B' stroke-width='2.2'/%3E%3Cpath d='M12 11H18' stroke='%2380868B' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.habit-icon.moon {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22.5 23.5C14.8 24.4 8.8 18.2 10 10.6C10.3 8.8 11.1 7.2 12.2 5.9C10.2 6.4 8.5 7.5 7.2 9.1C3.6 13.5 4.3 20 8.7 23.6C12.8 27 18.8 26.7 22.5 23.5Z' stroke='%2380868B' stroke-width='2.2' stroke-linejoin='round'/%3E%3Cpath d='M24 9L25 11L27 12L25 13L24 15L23 13L21 12L23 11L24 9Z' fill='%2380868B'/%3E%3C/svg%3E");
}

.plan-icon.measure {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='3' width='12' height='10' rx='2' stroke='%2380868B' stroke-width='1.4'/%3E%3Cpath d='M5 7H11M5 10H9' stroke='%2380868B' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.plan-icon.walk {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9.5' cy='3' r='1.5' fill='%2380868B'/%3E%3Cpath d='M8.5 5.5L6.5 9H9.5L8 14' stroke='%2380868B' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.8 6.5L12 8M6.5 9L4 13' stroke='%2380868B' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.habit-state.check::before {
  left: 2px;
  top: 4px;
  width: 12px;
  height: 7px;
  background: transparent;
  border-left: 0;
  border-top: 0;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  transform: rotate(42deg);
  box-shadow: none;
}

@media (max-width: 374px) {
  .phone {
    width: 100vw;
  }
}
