@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Nunito:wght@400;500;600;700;800;900&family=ZCOOL+KuaiLe&display=swap');

:root {
  --ink: #3b3b46;
  --muted: #92909c;
  --soft-muted: #b2afba;
  --paper: #fffdf9;
  --paper-deep: #f8f3ec;
  --line: #eee9e2;
  --coral: #f59d87;
  --coral-deep: #ed876f;
  --peach: #ffe0d6;
  --yellow: #f9d77d;
  --mint: #c5dfd6;
  --mint-deep: #8fc5b1;
  --lavender: #d8d2ed;
  --shadow: 0 14px 35px rgba(66, 56, 48, .06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 1080px;
  color: var(--ink);
  background: #f5f1eb;
  font-family: 'Nunito', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button { border: 0; cursor: pointer; }

.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: 242px;
  display: flex;
  flex-direction: column;
  padding: 34px 20px 25px;
  overflow: hidden;
  background: #dbece5;
}

.sidebar::before, .sidebar::after {
  position: absolute;
  content: '';
  pointer-events: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
}
.sidebar::before { width: 250px; height: 250px; right: -145px; top: 150px; }
.sidebar::after { width: 140px; height: 140px; left: -90px; bottom: 110px; }

.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; padding: 0 10px; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; color: white; font-size: 21px; transform: rotate(-7deg); background: var(--coral); border-radius: 12px 16px 11px 15px; box-shadow: 4px 4px 0 rgba(237, 135, 111, .15); }
.brand-mark span { transform: rotate(7deg); }
.brand strong { display: block; color: #4c655f; font-size: 16px; letter-spacing: .04em; }
.brand small { display: block; margin-top: 1px; color: #8aa79e; font-family: 'DM Mono', monospace; font-size: 7px; letter-spacing: .02em; white-space: nowrap; }

.primary-nav { position: relative; z-index: 1; display: grid; gap: 7px; margin-top: 57px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 13px; color: #7e9891; text-align: left; background: transparent; border-radius: 14px; transition: .2s ease; }
.nav-item:hover { color: #536f68; background: rgba(255,255,255,.36); }
.nav-item.active { color: #4d665f; font-weight: 800; background: rgba(255,255,255,.74); box-shadow: 0 5px 12px rgba(61, 113, 98, .05); }
.nav-item b { margin-left: auto; color: #b8cbc4; font-family: 'DM Mono', monospace; font-size: 9px; font-weight: 400; }
.nav-icon { width: 21px; color: #8bb8aa; font-size: 22px; line-height: 1; text-align: center; }
.nav-item.active .nav-icon { color: var(--coral-deep); }

.sidebar-note { position: relative; z-index: 1; margin: auto 8px 27px; padding: 25px 18px 22px; color: #6f8d83; background: #f7e7ba; border-radius: 4px 4px 17px 4px; transform: rotate(-1.8deg); box-shadow: 3px 4px 0 rgba(190, 164, 94, .09); }
.tape { position: absolute; top: -10px; width: 51px; height: 19px; background: rgba(250, 204, 125, .58); }
.tape-left { left: 14px; transform: rotate(-12deg); }.tape-right { right: 12px; transform: rotate(14deg); }
.sun-doodle { position: absolute; top: 12px; right: 16px; color: #f3b95c; font-size: 20px; }
.sidebar-note strong { display: block; color: #607e74; font-size: 14px; font-weight: 800; line-height: 1.6; }
.sidebar-note p { margin: 11px 0 0; color: #a1926d; font-size: 11px; line-height: 1.7; }
.note-line { width: 87%; height: 1px; margin-top: 15px; background: rgba(177, 155, 99, .24); }.tiny-flower { position: absolute; right: 17px; bottom: 15px; color: #eb9a79; font-size: 16px; }

.sidebar-footer { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; padding: 0 8px; color: #55716a; }.sidebar-footer strong, .sidebar-footer small { display: block; }.sidebar-footer strong { font-size: 12px; }.sidebar-footer small { margin-top: 2px; color: #90aaa1; font-size: 10px; }.mini-avatar, .top-avatar { display: grid; place-items: center; color: white; font-weight: 800; background: #e99582; border-radius: 50%; }.mini-avatar { width: 31px; height: 31px; font-size: 12px; }.more-button { margin-left: auto; color: #8aa49c; letter-spacing: 2px; background: transparent; }

.main-content { width: calc(100% - 242px); max-width: 1580px; min-height: 100vh; margin-left: 242px; padding: 0 46px 26px; }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 84px; border-bottom: 1px solid rgba(222,216,207,.72); }.breadcrumb { color: #b0adb6; font-size: 11px; letter-spacing: .04em; }.breadcrumb i { margin: 0 11px; color: #d1cdd0; font-style: normal; }.breadcrumb strong { color: #6b6973; font-weight: 700; }.top-actions { display: flex; align-items: center; gap: 11px; }.icon-button { position: relative; display: grid; place-items: center; width: 34px; height: 34px; color: #9b98a1; font-size: 24px; background: transparent; border-radius: 10px; }.icon-button:hover { color: var(--coral-deep); background: #fff8f3; }.notification { font-size: 19px; }.notification em { position: absolute; top: 7px; right: 8px; width: 5px; height: 5px; background: var(--coral); border: 2px solid #f5f1eb; border-radius: 50%; }.top-avatar { width: 34px; height: 34px; margin-left: 6px; font-size: 13px; box-shadow: 0 0 0 4px rgba(246,164,142,.14); }

.welcome-section { position: relative; display: flex; align-items: center; min-height: 198px; margin-top: 28px; padding: 29px 35px; overflow: hidden; background: var(--paper); border-radius: 21px; box-shadow: var(--shadow); }.eyebrow, .section-kicker { color: #bab3ad; font-family: 'DM Mono', monospace; font-size: 9px; font-weight: 500; letter-spacing: .12em; }.eyebrow-dot { display: inline-block; width: 6px; height: 6px; margin: 0 5px 1px 0; background: var(--coral); border-radius: 50%; }.welcome-section h1 { margin: 12px 0 5px; color: #42414b; font-size: clamp(25px, 3vw, 33px); letter-spacing: -.035em; }.welcome-section p { margin: 0; color: #aaa6ae; font-size: 12px; }.wave { color: var(--coral); font-family: Georgia, serif; font-size: 35px; font-weight: 400; vertical-align: -5px; }.week-streak { width: 205px; margin-left: auto; margin-right: 191px; }.streak-copy { display: flex; align-items: center; gap: 7px; color: #83818b; font-size: 10px; }.streak-copy .flame { color: var(--coral); font-size: 18px; }.streak-copy b { margin-left: auto; color: #ee9079; font-size: 16px; }.progress-track { height: 7px; margin-top: 10px; overflow: hidden; background: #f2eeea; border-radius: 10px; }.progress-track span { display: block; height: 100%; background: var(--coral); border-radius: inherit; }.week-streak small { display: block; margin-top: 9px; color: #b8b0aa; font-size: 9px; line-height: 1.4; }
.welcome-art { position: absolute; top: 0; right: 22px; width: 190px; height: 100%; }.welcome-art::before { position: absolute; top: 45px; left: 39px; width: 118px; height: 118px; content: ''; background: #fff2ce; border-radius: 49% 51% 48% 52%; transform: rotate(13deg); }.art-sun { position: absolute; z-index: 2; top: 29px; right: 24px; color: #f4bc5a; font-size: 21px; }.art-spark { position: absolute; z-index: 3; color: #df9d91; font-size: 17px; }.spark-one { top: 47px; left: 30px; }.spark-two { right: 0; bottom: 55px; color: #b4d6ca; }.art-flower { position: absolute; z-index: 3; color: #e99a82; font-size: 16px; }.flower-one { left: 24px; bottom: 41px; }.flower-two { right: 26px; bottom: 29px; color: #b3cfc4; font-size: 14px; }.art-person { position: absolute; z-index: 4; bottom: 24px; left: 87px; width: 42px; height: 102px; transform: rotate(-7deg); }.person-head { position: absolute; top: 0; left: 13px; width: 21px; height: 22px; background: #f4b093; border-radius: 50%; }.person-head::before { position: absolute; top: -5px; left: 1px; width: 21px; height: 14px; content: ''; background: #5b605e; border-radius: 50% 50% 35% 35%; transform: rotate(-15deg); }.person-body { position: absolute; top: 20px; left: 10px; width: 25px; height: 42px; background: #f18e77; border-radius: 14px 13px 6px 6px; }.person-body::after { position: absolute; content: ''; width: 8px; height: 9px; top: 11px; left: 8px; background: #fff1df; border-radius: 50%; }.person-leg { position: absolute; top: 57px; width: 9px; height: 43px; background: #5e776e; border-radius: 5px; transform-origin: top; }.leg-left { left: 12px; transform: rotate(23deg); }.leg-right { left: 23px; transform: rotate(-28deg); }.person-arm { position: absolute; top: 25px; width: 8px; height: 37px; background: #f4b093; border-radius: 5px; transform-origin: top; }.arm-left { left: 8px; transform: rotate(37deg); }.arm-right { right: 5px; transform: rotate(-48deg); }.art-ground { position: absolute; left: 57px; bottom: 19px; width: 98px; height: 8px; border-bottom: 2px solid #d5b987; border-radius: 50%; transform: rotate(-4deg); }

.quick-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 16px; }.stat-card { display: flex; align-items: center; min-height: 92px; padding: 17px 18px; border-radius: 16px; }.stat-coral { background: #fae2d9; }.stat-yellow { background: #fbefc9; }.stat-mint { background: #deeee8; }.stat-icon { display: grid; place-items: center; flex: 0 0 auto; width: 37px; height: 37px; margin-right: 12px; color: #eb927b; font-size: 20px; background: rgba(255,255,255,.6); border-radius: 12px; }.stat-yellow .stat-icon { color: #e5b65e; }.stat-mint .stat-icon { color: #72ad98; }.stat-card span, .stat-card strong { display: block; }.stat-card span { color: #a79591; font-size: 10px; }.stat-card strong { margin-top: 4px; color: #6f6a70; font-family: 'DM Mono', monospace; font-size: 19px; font-weight: 500; }.stat-card strong span { display: inline; margin-left: 1px; color: #a59792; font-family: 'Nunito', sans-serif; font-size: 10px; }.stat-card > small { margin-left: auto; color: #b39991; font-size: 9px; line-height: 1.5; text-align: right; }.stat-mint > small { color: #8ba99e; }.stat-mint > small b { color: #75a997; }

.content-grid { display: grid; grid-template-columns: minmax(500px, 1.45fr) minmax(290px, .83fr); gap: 16px; margin-top: 16px; }.panel { background: var(--paper); border-radius: 17px; box-shadow: var(--shadow); }.calendar-card { padding: 25px 27px 18px; }.panel-heading, .body-heading, .selected-top, .advice-heading { display: flex; align-items: flex-start; justify-content: space-between; }.section-kicker { display: block; color: #bab4ad; }.panel h2 { margin: 7px 0 0; color: #4a4852; font-size: 19px; letter-spacing: -.025em; }.heading-squiggle { margin-left: 4px; color: var(--coral); font-family: Georgia, serif; font-size: 20px; font-weight: 400; }.month-controls { display: flex; align-items: center; gap: 13px; margin-top: 5px; }.month-controls strong { color: #82808a; font-size: 11px; font-weight: 700; }.month-arrow { display: grid; place-items: center; width: 24px; height: 24px; color: #b6b3b5; font-family: Georgia, serif; font-size: 21px; line-height: 1; background: #faf6f1; border-radius: 8px; }.month-arrow:hover { color: var(--coral-deep); background: var(--peach); }.calendar-legend { display: flex; gap: 17px; margin: 22px 0 13px; color: #aaa5a7; font-size: 9px; }.legend-dot { display: inline-block; width: 7px; height: 7px; margin: 0 4px 1px 0; border-radius: 50%; }.legend-dot.done { background: var(--coral); }.legend-dot.today { background: var(--yellow); }.legend-dot.rest { background: var(--mint-deep); }.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }.calendar-weekdays { margin-bottom: 7px; color: #bcb7b6; font-family: 'DM Mono', monospace; font-size: 9px; text-align: center; }.calendar-grid { row-gap: 4px; }.calendar-day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 53px; padding: 4px; color: #74717a; font-family: 'DM Mono', monospace; font-size: 11px; cursor: pointer; border: 1px solid transparent; border-radius: 11px; transition: .2s ease; }.calendar-day:hover { background: #fff6f0; border-color: #f4dfd5; }.calendar-day.empty { cursor: default; }.calendar-day.empty:hover { background: transparent; border-color: transparent; }.calendar-day .day-number { position: relative; z-index: 1; }.calendar-day.today .day-number { display: grid; place-items: center; width: 27px; height: 27px; color: white; background: var(--coral); border-radius: 50%; box-shadow: 0 4px 8px rgba(239, 139, 115, .24); }.calendar-day.selected:not(.today) { background: #fff4ec; border-color: #f6d8ca; }.calendar-day .day-label { max-width: 100%; margin-top: 5px; overflow: hidden; color: #c2a39a; font-family: 'Nunito', sans-serif; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.calendar-day.completed::after { position: absolute; right: 6px; top: 6px; width: 5px; height: 5px; content: ''; background: var(--coral); border: 1.5px solid white; border-radius: 50%; }.calendar-day.rest-day::after { position: absolute; right: 6px; top: 6px; width: 5px; height: 5px; content: ''; background: var(--mint-deep); border: 1.5px solid white; border-radius: 50%; }.calendar-day.today.completed::after { background: white; }.calendar-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; padding-top: 13px; color: #aaa4a3; font-size: 9px; border-top: 1px dashed #ece4dc; }.calendar-flower { margin-right: 3px; color: var(--coral); font-size: 13px; }.calendar-footer strong { color: #ee927d; }.text-button { padding: 0; color: var(--coral-deep); font-size: 10px; background: transparent; }.text-button span { margin-left: 4px; font-size: 14px; }.text-button:hover { color: #dc6e59; }

.selected-day-card { position: relative; min-height: 394px; padding: 25px 25px 21px; background: #fff9e9; overflow: hidden; }.selected-day-card::after { position: absolute; right: -34px; bottom: -67px; width: 145px; height: 145px; content: ''; background: #fae8b9; border-radius: 50%; opacity: .55; }.selected-top { position: relative; z-index: 1; }.selected-day-card h2 { font-size: 18px; }.date-sticker { padding: 5px 8px; color: #cb9b56; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .1em; background: #f8e3a6; border-radius: 4px; transform: rotate(4deg); }.day-state { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin-top: 24px; padding: 12px 13px; background: rgba(255,255,255,.65); border-radius: 12px; }.state-icon { display: grid; place-items: center; width: 30px; height: 30px; color: #e9a166; font-size: 17px; background: #ffedc9; border-radius: 50%; }.state-copy strong { display: block; color: #77716b; font-size: 11px; }.state-copy small { display: block; margin-top: 3px; color: #b3a99e; font-size: 9px; }.day-state.done .state-icon { color: white; background: var(--coral); }.day-state.done { background: rgba(255,255,255,.75); }.day-state.done .state-copy strong { color: #e98872; }.day-record { position: relative; z-index: 1; margin-top: 18px; }.record-metrics { display: flex; gap: 9px; }.record-metrics div { flex: 1; padding: 10px 9px; background: rgba(255,255,255,.7); border-radius: 10px; }.record-metrics span { display: block; color: #b4a99e; font-size: 9px; }.record-metrics strong { display: block; margin-top: 3px; color: #6f6b67; font-family: 'DM Mono', monospace; font-size: 14px; font-weight: 500; }.record-project { margin-top: 14px; color: #9e9285; font-size: 10px; }.record-project strong { color: #776d66; font-size: 12px; }.record-note { display: -webkit-box; margin: 12px 0 0; overflow: hidden; color: #a99b8f; font-size: 10px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.exercise-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }.exercise-pills span { padding: 4px 7px; color: #b88e7d; font-size: 9px; background: #ffebdf; border-radius: 6px; }.checkin-button { position: relative; z-index: 1; width: 100%; margin-top: 19px; padding: 11px 13px; color: white; font-size: 11px; font-weight: 800; background: var(--coral); border-radius: 10px; box-shadow: 0 5px 11px rgba(236, 134, 109, .2); transition: .2s ease; }.checkin-button:hover { background: var(--coral-deep); transform: translateY(-1px); }.checkin-button b { float: right; font-size: 16px; font-weight: 400; line-height: 12px; }.rest-message { position: relative; z-index: 1; margin-top: 24px; padding: 17px; color: #a8966f; font-size: 10px; line-height: 1.7; background: rgba(255,255,255,.6); border-radius: 12px; }.rest-message strong { display: block; margin-bottom: 2px; color: #8c7d60; font-size: 12px; }

.lower-grid { display: grid; grid-template-columns: 1.45fr .83fr; gap: 16px; margin-top: 16px; }.logs-card, .advice-card { padding: 24px 27px 21px; }.compact-heading { align-items: center; }.log-list { margin-top: 16px; }.log-item { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px dashed #eee8e2; }.log-item:last-child { border-bottom: 0; }.log-date { color: #c4aaa0; font-family: 'DM Mono', monospace; font-size: 10px; text-align: center; }.log-date strong { display: block; margin-bottom: 2px; color: #7c7779; font-size: 16px; font-weight: 500; }.log-color { position: relative; width: 34px; height: 34px; border-radius: 11px; }.log-color::after { position: absolute; inset: 7px; display: grid; place-items: center; color: #fff; content: '✦'; font-size: 12px; }.log-color.coral { background: #f9c0b1; }.log-color.coral::after { content: '♥'; }.log-color.yellow { background: #f8da8d; }.log-color.mint { background: #a8d6c4; }.log-copy { display: flex; align-items: center; gap: 8px; }.log-copy strong { color: #6d6971; font-size: 12px; }.log-copy span { padding: 3px 6px; color: #b39c91; font-size: 8px; background: #f8f0eb; border-radius: 4px; }.log-copy small { display: block; margin-top: 4px; color: #b7b2b2; font-size: 9px; }.log-item > time { color: #aba5a5; font-family: 'DM Mono', monospace; font-size: 10px; }
.advice-card { background: #ece9f7; }.advice-heading h2 { color: #5c5871; }.coach-spark { color: #a79ccf; font-size: 24px; }.advice-intro { margin: 13px 0 11px; color: #9993aa; font-size: 10px; line-height: 1.5; }.topic-chips { display: flex; flex-wrap: wrap; gap: 6px; }.topic-chips button { padding: 6px 10px; color: #827a9d; font-size: 10px; background: rgba(255,255,255,.66); border-radius: 7px; }.topic-chips button:hover, .topic-chips button.active { color: #fff; background: #a79bc9; }.coach-answer { min-height: 72px; margin-top: 12px; padding: 11px 12px; color: #7d7890; font-size: 10px; line-height: 1.65; background: rgba(255,255,255,.52); border-radius: 10px; }.coach-answer strong { display: block; margin-bottom: 3px; color: #68617f; font-size: 11px; }.coach-answer .coach-tag { display: inline-block; margin: 7px 4px 0 0; padding: 3px 5px; color: #9286b8; font-size: 8px; background: #dfdaf0; border-radius: 4px; }.ask-line { display: flex; gap: 5px; margin-top: 11px; padding: 4px 5px 4px 11px; background: rgba(255,255,255,.62); border-radius: 9px; }.ask-line input { width: 100%; min-width: 0; color: #6f6a7e; font-size: 10px; background: transparent; border: 0; outline: none; }.ask-line input::placeholder { color: #b4aec1; }.ask-line button { display: grid; place-items: center; width: 25px; height: 25px; color: white; font-size: 15px; background: #a69bc8; border-radius: 7px; }

.body-card { position: relative; margin-top: 16px; padding: 25px 27px 21px; overflow: hidden; }.body-card::before { position: absolute; right: 24%; top: 17px; width: 26px; height: 11px; content: ''; border-top: 1px solid #eed1c3; border-radius: 50%; transform: rotate(-13deg); }.outline-button { padding: 7px 11px; color: #ed927d; font-size: 10px; background: #fff4ef; border: 1px solid #f7ddd4; border-radius: 7px; }.outline-button:hover { background: var(--peach); }.body-content { display: grid; grid-template-columns: 1.55fr 1.2fr .72fr; align-items: center; gap: 28px; margin-top: 19px; }.body-intro { display: flex; align-items: center; gap: 17px; }.body-illustration { position: relative; display: grid; place-items: center; flex: 0 0 auto; width: 66px; height: 73px; color: #f1a18b; background: #fff4ec; border-radius: 50% 44% 49% 54%; transform: rotate(-6deg); }.body-illustration > span { position: absolute; top: 5px; right: 2px; color: #d7b16c; font-size: 15px; }.body-outline { position: relative; width: 18px; height: 39px; margin-top: 11px; background: #f2b09a; border-radius: 10px 10px 7px 7px; }.body-outline::before { position: absolute; top: -13px; left: 3px; width: 12px; height: 13px; content: ''; background: #f2b09a; border-radius: 50%; }.body-outline::after { position: absolute; bottom: -16px; left: 3px; width: 5px; height: 20px; content: ''; background: #e99581; border-radius: 4px; box-shadow: 7px 0 #e99581; }.body-intro strong { color: #706c73; font-size: 13px; line-height: 1.7; }.body-intro p { margin: 8px 0 0; color: #b6afb0; font-size: 9px; line-height: 1.6; }.body-fields { display: flex; gap: 10px; }.body-fields label, .form-row label { display: block; color: #a8a1a1; font-size: 9px; }.body-fields label > div { display: flex; align-items: center; margin-top: 8px; padding-bottom: 4px; border-bottom: 1px solid #e8e2dc; }.body-fields input { width: 41px; color: #69666d; font-family: 'DM Mono', monospace; font-size: 15px; background: transparent; border: 0; outline: none; }.body-fields input:disabled { color: #69666d; }.body-fields span { color: #b6ada9; font-size: 9px; }.bmi-box { padding-left: 24px; border-left: 1px dashed #eee3dd; }.bmi-box > span, .bmi-box small { display: block; color: #aaa3a2; font-size: 9px; }.bmi-box strong { display: inline-block; margin-top: 6px; color: #e9927b; font-family: 'DM Mono', monospace; font-size: 24px; font-weight: 500; }.bmi-bar { width: 100%; height: 5px; margin-top: 8px; overflow: hidden; background: #f3ede7; border-radius: 5px; }.bmi-bar span { display: block; width: 37%; height: 100%; background: #8cc6ae; border-radius: inherit; }.bmi-box small { margin-top: 5px; color: #86b49f; }.body-edit-actions { display: none; justify-content: flex-end; gap: 14px; margin-top: 10px; }.body-card.editing .body-edit-actions { display: flex; }.body-card.editing .body-fields input { padding: 3px 1px; background: #fff7f0; border-radius: 4px; }.primary-small { padding: 7px 13px; color: #fff; font-size: 10px; background: var(--coral); border-radius: 7px; }.page-footer { display: flex; justify-content: space-between; padding: 24px 4px 0; color: #bcb5b0; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .05em; }

.modal-backdrop { position: fixed; z-index: 20; inset: 0; display: none; align-items: center; justify-content: center; padding: 25px; background: rgba(57, 52, 53, .28); backdrop-filter: blur(4px); }.modal-backdrop.open { display: flex; }.modal-card { position: relative; width: min(490px, 100%); max-height: calc(100vh - 40px); padding: 29px 31px 25px; overflow: auto; background: #fffdf9; border-radius: 20px; box-shadow: 0 22px 80px rgba(52,45,42,.18); animation: modal-in .24s ease; }.modal-close { position: absolute; top: 16px; right: 18px; width: 27px; height: 27px; color: #b5aaab; font-size: 22px; background: #faf4ef; border-radius: 50%; }.modal-close:hover { color: var(--coral-deep); background: var(--peach); }.modal-header { padding-bottom: 15px; border-bottom: 1px dashed #ece4dc; }.modal-header h2 { margin: 8px 0 3px; color: #4c4a52; font-size: 22px; }.modal-header p { margin: 0; color: #aea6a2; font-size: 10px; }.form-row { display: grid; gap: 15px; }.two-col { grid-template-columns: 1fr 1fr; margin-top: 17px; }.input-with-unit { display: flex; align-items: center; margin-top: 7px; padding: 0 9px; background: #faf6f2; border: 1px solid #f0e9e3; border-radius: 8px; }.input-with-unit input { width: 100%; padding: 9px 0; color: #66626a; font-family: 'DM Mono', monospace; font-size: 13px; background: transparent; border: 0; outline: none; }.input-with-unit span { color: #b5aaa5; font-size: 9px; white-space: nowrap; }fieldset { padding: 0; margin: 17px 0 0; border: 0; }legend { color: #a8a1a1; font-size: 9px; }.type-options { display: flex; gap: 9px; margin-top: 7px; }.type-options label { display: flex; align-items: center; flex: 1; gap: 7px; padding: 9px 10px; color: #8e8789; font-size: 10px; background: #faf6f2; border: 1px solid #f0e9e3; border-radius: 8px; cursor: pointer; }.type-options label:has(input:checked) { color: #e78f79; background: #fff1ea; border-color: #f6cfc2; }.type-options input { accent-color: var(--coral); }.type-options label span { color: var(--coral); font-size: 13px; }.full-label { display: block; margin-top: 17px; color: #a8a1a1; font-size: 9px; }.full-label select, .full-label textarea { display: block; width: 100%; margin-top: 7px; padding: 9px 10px; color: #716d73; font-size: 10px; background: #faf6f2; border: 1px solid #f0e9e3; border-radius: 8px; outline: none; }.full-label textarea { resize: vertical; }.full-label select:focus, .full-label textarea:focus, .input-with-unit:focus-within { border-color: #f6b7a5; }.exercise-title { display: flex; align-items: center; gap: 8px; margin-top: 17px; color: #777174; font-size: 10px; font-weight: 800; }.exercise-title small { color: #b9afb0; font-size: 8px; font-weight: 400; }.exercise-title button { margin-left: auto; padding: 4px 0; color: var(--coral-deep); font-size: 9px; background: transparent; }.exercise-rows { display: grid; gap: 6px; margin-top: 7px; }.exercise-row { display: flex; align-items: center; gap: 5px; }.exercise-row input { padding: 8px; color: #797177; font-size: 10px; background: #faf6f2; border: 1px solid #f0e9e3; border-radius: 7px; outline: none; }.exercise-row .exercise-name { min-width: 0; flex: 1; }.exercise-row .exercise-sets { width: 55px; }.exercise-row > span { color: #aaa09f; font-size: 9px; }.remove-exercise { width: 23px; height: 23px; color: #c3a9a4; font-size: 15px; background: transparent; }.submit-checkin { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 19px; padding: 11px 14px; color: white; font-size: 11px; font-weight: 800; background: var(--coral); border-radius: 9px; }.submit-checkin:hover { background: var(--coral-deep); }.submit-checkin b { font-size: 17px; font-weight: 400; }

@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 1180px) { .main-content { padding-right: 25px; padding-left: 25px; }.week-streak { margin-right: 160px; }.welcome-art { right: 5px; }.body-content { gap: 15px; }.body-intro { gap: 10px; }.body-intro p { display: none; } }
@media (max-width: 900px) { body { min-width: 0; }.sidebar { position: static; width: 76px; padding: 25px 12px; }.brand { justify-content: center; padding: 0; }.brand > div:last-child, .nav-item span:not(.nav-icon), .nav-item b, .sidebar-note, .sidebar-footer > div:not(.mini-avatar), .more-button { display: none; }.primary-nav { margin-top: 55px; }.nav-item { justify-content: center; padding: 13px 5px; }.main-content { width: calc(100% - 76px); margin-left: 0; padding: 0 15px 25px; }.welcome-section { padding: 25px; }.week-streak { margin-right: 150px; }.content-grid, .lower-grid { grid-template-columns: 1fr; }.body-content { grid-template-columns: 1fr; }.bmi-box { padding: 14px 0 0; border-top: 1px dashed #eee3dd; border-left: 0; }.page-footer { gap: 10px; } }

[hidden] { display: none !important; }
.auth-screen { display: grid; place-items: center; min-height: 100vh; padding: 24px; background: radial-gradient(circle at 15% 15%, #ffe9df 0, transparent 34%), radial-gradient(circle at 88% 80%, #e5f1e9 0, transparent 32%), #f7f2ec; }
.auth-card { width: min(420px, 100%); padding: 37px 39px 31px; background: rgba(255,253,249,.94); border: 1px solid rgba(255,255,255,.8); border-radius: 24px; box-shadow: 0 24px 70px rgba(79, 65, 56, .11); }
.auth-brand { display: flex; align-items: center; gap: 11px; }.auth-brand strong { display: block; color: #4c655f; font-size: 17px; letter-spacing: .04em; }.auth-brand small { display: block; margin-top: 2px; color: #8aa79e; font-family: 'DM Mono', monospace; font-size: 7px; letter-spacing: .02em; }
.auth-heading { margin-top: 40px; }.auth-heading h1 { margin: 9px 0 5px; color: #46434d; font-size: 29px; letter-spacing: -.04em; }.auth-heading p { margin: 0; color: #aaa3a0; font-size: 11px; }.auth-form { display: grid; gap: 15px; margin-top: 23px; }.auth-form label { display: grid; gap: 7px; color: #9b9290; font-size: 10px; }.auth-form label small { margin-left: 4px; color: #bbb0aa; font-size: 9px; font-weight: 400; }.auth-form input { width: 100%; padding: 11px 12px; color: #625d64; font-size: 12px; background: #faf6f2; border: 1px solid #f0e7e0; border-radius: 9px; outline: none; }.auth-form input:focus { border-color: #f3b09d; box-shadow: 0 0 0 3px rgba(245,157,135,.12); }.auth-submit { display: flex; align-items: center; justify-content: space-between; margin-top: 3px; padding: 12px 14px; color: white; font-size: 11px; font-weight: 800; background: var(--coral); border-radius: 9px; }.auth-submit:hover { background: var(--coral-deep); }.auth-submit span { font-size: 17px; font-weight: 400; }.auth-switch { display: block; margin: 21px auto 0; padding: 0; color: var(--coral-deep); font-size: 10px; background: transparent; }.auth-switch:hover { color: #d96d59; }.auth-hint { margin: 18px 0 0; color: #b6aca7; font-size: 9px; line-height: 1.6; text-align: center; }.auth-hint strong { color: #e28d77; font-family: 'DM Mono', monospace; font-weight: 500; }.auth-message { min-height: 0; margin-top: 15px; color: #d66f5d; font-size: 10px; line-height: 1.5; }.auth-message:empty { display: none; }
.admin-card { margin-top: 16px; padding: 25px 27px 23px; }.admin-intro { margin: 9px 0 0; color: #aaa4a2; font-size: 10px; }.admin-summary { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }.admin-summary span { padding: 7px 10px; color: #7b777a; font-size: 10px; background: #faf3ee; border-radius: 7px; }.admin-summary strong { margin-right: 3px; color: var(--coral-deep); font-family: 'DM Mono', monospace; font-weight: 500; }.admin-table-wrap { margin-top: 15px; overflow-x: auto; }.admin-table { width: 100%; min-width: 760px; border-collapse: collapse; color: #837d7e; font-size: 9px; }.admin-table th { padding: 9px 8px; color: #aaa09c; font-size: 8px; font-weight: 500; text-align: left; background: #faf6f1; }.admin-table th:first-child { border-radius: 7px 0 0 7px; }.admin-table th:last-child { border-radius: 0 7px 7px 0; }.admin-table td { padding: 11px 8px; border-bottom: 1px dashed #eee7e1; white-space: nowrap; }.admin-table tr:last-child td { border-bottom: 0; }.admin-user { color: #625e66; font-weight: 800; }.admin-role, .admin-status { display: inline-block; padding: 3px 6px; border-radius: 4px; }.admin-role { color: #a486bc; background: #f0e9f5; }.admin-role.user { color: #7da291; background: #eaf4ee; }.admin-status { color: #76a486; background: #edf7ee; }.admin-status.disabled { color: #c18c82; background: #fff0eb; }.admin-action { padding: 5px 8px; color: #de856f; font-size: 9px; background: #fff1eb; border-radius: 5px; }.admin-action:hover { background: #ffe0d6; }.admin-action:disabled { color: #bbb0ad; background: #f5f0ec; }
@media (max-width: 560px) { .auth-card { padding: 29px 23px 25px; }.auth-heading { margin-top: 30px; }.admin-card { padding: 20px 15px; } }
