:root {
  --forest: #356859;
  --forest-deep: #234d43;
  --forest-soft: #e6f0eb;
  --sage: #b7d2c6;
  --cream: #fbfaf5;
  --sand: #f4efdf;
  --gold: #e8b86d;
  --ink: #24333a;
  --muted: #718078;
  --line: #dfe6df;
  --white: #ffffff;
  --danger: #b34d45;
  --shadow: 0 18px 45px rgba(43, 77, 67, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: 'Manrope', system-ui, sans-serif; font-size: 14px; line-height: 1.5; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 246px; background: var(--forest); color: rgba(255,255,255,.83); padding: 28px 18px 22px; display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 10px; }
.brand-mark { background: var(--gold); color: var(--forest-deep); border-radius: 11px 11px 11px 2px; width: 36px; height: 36px; display: grid; place-items: center; font-weight: 800; font-size: 17px; transform: rotate(-5deg); }
.brand strong { display: block; color: var(--white); letter-spacing: -.02em; font-size: 14px; }
.brand small { display: block; color: rgba(255,255,255,.58); font-size: 10px; margin-top: 1px; }
.nav-list { display: grid; gap: 6px; margin-top: 72px; }
.nav-link { display: flex; align-items: center; gap: 12px; border-radius: 10px; color: rgba(255,255,255,.62); padding: 11px 12px; font-size: 13px; transition: .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.11); }
.nav-link.active { box-shadow: inset 3px 0 0 var(--gold); }
.nav-icon { width: 18px; text-align: center; font-size: 16px; color: var(--gold); }
.sidebar-note { margin: auto 10px 22px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.sidebar-note p { color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.6; margin: 8px 0 0; }
.sidebar-footer { color: rgba(255,255,255,.42); font-size: 10px; padding: 0 10px; }
.main-content { margin-left: 246px; width: calc(100% - 246px); }
.content-wrap { max-width: 1190px; margin: 0 auto; padding: 62px 58px 35px; }
.mobile-header { display: none; }
.eyebrow { color: var(--forest); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.light { color: rgba(255,255,255,.7); }
.hero { min-height: 260px; display: flex; justify-content: space-between; gap: 40px; align-items: center; margin-bottom: 46px; }
.hero h1 { color: var(--forest-deep); font-size: clamp(34px, 4vw, 53px); letter-spacing: -.055em; line-height: 1.02; margin: 10px 0 17px; font-weight: 700; }
.hero h1 em { font-family: Georgia, serif; font-weight: 400; color: var(--forest); }
.hero-copy { color: var(--muted); max-width: 500px; font-size: 14px; line-height: 1.75; margin: 0 0 25px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button { border: 0; cursor: pointer; border-radius: 8px; min-height: 40px; padding: 0 17px; font-size: 12px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { display: inline-flex; gap: 19px; align-items: center; color: var(--white); background: var(--forest); box-shadow: 0 7px 17px rgba(53,104,89,.2); }
.button-primary span { font-size: 17px; font-weight: 400; }
.button-quiet { background: transparent; border: 1px solid var(--line); color: var(--forest-deep); }
.button-danger { color: var(--white); background: var(--danger); }
.button-small { min-height: 34px; padding: 0 13px; background: var(--forest); color: #fff; font-size: 11px; }
.hero-stamp { width: 148px; flex: 0 0 148px; text-align: center; transform: rotate(5deg); }
.stamp-ring { width: 116px; height: 116px; margin: 0 auto 15px; border: 1px dashed rgba(53,104,89,.38); border-radius: 50%; display: grid; place-content: center; color: var(--forest); position: relative; }
.stamp-ring::after { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(53,104,89,.15); border-radius: 50%; }
.stamp-ring span { font-size: 32px; line-height: 1; font-weight: 700; letter-spacing: -.06em; }
.stamp-ring small { font-size: 8px; letter-spacing: .22em; font-weight: 800; margin-top: 6px; }
.hero-stamp p { color: var(--forest); font-family: Georgia, serif; font-size: 14px; line-height: 1.2; margin: 0; }
.stats-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 13px; margin-bottom: 74px; }
.stat-card { min-height: 160px; background: var(--white); border: 1px solid rgba(223,230,223,.8); border-radius: 12px; padding: 21px 22px; position: relative; box-shadow: var(--shadow); overflow: hidden; }
.stat-primary { background: var(--forest); color: white; border-color: var(--forest); }
.stat-top, .stat-foot { display: flex; justify-content: space-between; align-items: center; }
.stat-badge { color: var(--gold); font-size: 10px; font-weight: 800; }
.stat-value { color: var(--white); font-size: 42px; font-weight: 700; letter-spacing: -.08em; line-height: 1; margin: 20px 0 17px; }
.stat-value.dark { color: var(--forest-deep); }
.stat-caption { color: var(--muted); font-size: 11px; max-width: 170px; line-height: 1.5; margin: 12px 0 0; }
.stat-foot { color: rgba(255,255,255,.66); font-size: 10px; margin-top: 9px; }
.progress-track { background: rgba(53,104,89,.13); height: 7px; border-radius: 20px; overflow: hidden; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: 20px; background: var(--forest); transition: width .4s ease; }
.light-track { background: rgba(255,255,255,.18); }
.light-track span { background: var(--gold); }
.mini-bars { position: absolute; bottom: 22px; right: 22px; display: flex; gap: 4px; height: 27px; align-items: end; }
.mini-bars i { display: block; width: 4px; background: var(--sage); border-radius: 4px; opacity: .7; }
.mini-bars i:nth-child(1) { height: 10px; }.mini-bars i:nth-child(2) { height: 17px; }.mini-bars i:nth-child(3) { height: 13px; }.mini-bars i:nth-child(4) { height: 23px; }.mini-bars i:nth-child(5) { height: 19px; }.mini-bars i:nth-child(6) { height: 27px; }.mini-bars i:nth-child(7) { height: 16px; }
.focus-value { color: var(--forest-deep); font-size: 20px; font-weight: 700; letter-spacing: -.04em; margin-top: 21px; }
.focus-arrow { position: absolute; right: 21px; top: 20px; font-size: 18px; color: var(--gold); }
.section-block { margin-bottom: 82px; scroll-margin-top: 25px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 27px; }
.section-heading h2 { color: var(--forest-deep); font-size: 26px; line-height: 1.1; letter-spacing: -.05em; margin: 8px 0 0; }
.section-description { color: var(--muted); max-width: 280px; font-size: 12px; line-height: 1.6; margin: 0; }
.date-chip { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 20px; padding: 8px 12px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.date-dot { background: var(--gold); width: 7px; height: 7px; border-radius: 50%; }
.routine-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.routine-column { border-top: 2px solid var(--forest); background: rgba(255,255,255,.6); padding: 20px 18px 12px; border-radius: 10px; }
.routine-header { display: flex; gap: 12px; margin-bottom: 16px; }
.routine-number { color: var(--gold); font-size: 11px; font-weight: 800; padding-top: 3px; }
.routine-header h3 { color: var(--forest-deep); font-size: 16px; margin: 0; letter-spacing: -.03em; }.routine-header p { color: var(--muted); margin: 3px 0 0; font-size: 11px; }
.task-list { display: grid; gap: 2px; }
.task-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 7px; border-bottom: 1px solid rgba(223,230,223,.72); cursor: pointer; }
.task-item:last-child { border-bottom: 0; }
.task-item input, .goal-item input, .score-item input { position: absolute; opacity: 0; pointer-events: none; }
.checkmark { flex: 0 0 17px; height: 17px; border: 1.5px solid var(--sage); border-radius: 5px; display: inline-grid; place-items: center; color: white; font-size: 11px; transition: .2s ease; }
.task-item:hover .checkmark, .goal-item:hover .checkmark, .score-item:hover .checkmark { border-color: var(--forest); }
.task-item.checked .checkmark, .goal-item.checked .checkmark, .score-item.checked .checkmark { border-color: var(--forest); background: var(--forest); }
.task-item.checked .checkmark::after, .goal-item.checked .checkmark::after, .score-item.checked .checkmark::after { content: '✓'; }
.task-text { font-size: 12px; line-height: 1.45; transition: .2s ease; }.task-item.checked .task-text, .goal-item.checked .task-text, .score-item.checked .task-text { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--gold); }
.section-kicker { color: var(--muted); font-size: 10px; letter-spacing: .14em; font-weight: 800; }
.week-block { padding-top: 5px; }.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 19px; }
.day-card { padding: 16px 9px 14px; border-right: 1px solid var(--line); min-height: 99px; cursor: pointer; transition: .2s ease; }.day-card:last-child { border: 0; }.day-card:hover, .day-card.today { background: var(--sand); }.day-card.today { box-shadow: inset 0 -3px 0 var(--gold); }
.day-name { color: var(--muted); text-transform: uppercase; font-size: 9px; letter-spacing: .13em; font-weight: 800; }.day-date { color: var(--forest-deep); font-size: 20px; font-weight: 700; margin: 9px 0 7px; letter-spacing: -.05em; }.day-focus { color: var(--muted); font-size: 9px; line-height: 1.3; }
.weekly-goals-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 35px; padding: 25px 27px; border-radius: 12px; background: var(--sand); }.weekly-goals-card h3 { color: var(--forest-deep); margin: 7px 0; font-size: 20px; letter-spacing: -.04em; }.muted { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 0; }.goal-list { display: grid; gap: 2px; }.goal-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; border-bottom: 1px solid rgba(206,190,153,.4); }.goal-item:last-child { border: 0; }
.phase-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }.phase-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 18px 16px 13px; min-height: 240px; }.phase-card.active { border-color: var(--gold); box-shadow: 0 8px 25px rgba(232,184,109,.15); }.phase-top { display:flex; justify-content: space-between; align-items:center; margin-bottom: 20px; }.phase-num { color: var(--gold); font-size: 11px; font-weight: 800; }.phase-days { color: var(--muted); font-size: 9px; }.phase-card h3 { margin: 0 0 5px; color: var(--forest-deep); font-size: 15px; }.phase-card > p { color: var(--muted); font-size: 10px; min-height: 35px; margin: 0 0 13px; line-height: 1.45; }.phase-tasks { display: grid; gap: 1px; }.phase-tasks .task-item { padding: 8px 0; }.phase-tasks .task-text { font-size: 10px; }
.validate-block { background: var(--forest-deep); color: white; margin-left: -58px; margin-right: -58px; padding: 63px 58px 68px; }.validate-block .section-heading h2 { color: white; }.validate-block .eyebrow { color: var(--gold); }.validate-block .section-description { color: rgba(255,255,255,.66); }.validation-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 55px; }.validation-intro { padding-right: 15px; }.validation-symbol { color: var(--gold); font-size: 29px; margin-bottom: 16px; }.validation-intro h3 { font-family: Georgia, serif; font-size: 28px; font-weight: 400; line-height: 1.1; margin: 0 0 13px; }.validation-intro p { color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.75; max-width: 340px; }.validation-meter { margin-top: 36px; max-width: 340px; }.validation-meter > div:first-child { display: flex; justify-content: space-between; color: rgba(255,255,255,.62); font-size: 10px; margin-bottom: 8px; }.validation-meter strong { color: var(--gold); }.validation-meter .progress-track { background: rgba(255,255,255,.16); }.validation-meter .progress-track span { background: var(--gold); }.validation-list { display: grid; }.validation-list .task-item { border-color: rgba(255,255,255,.12); padding: 13px 0; }.validation-list .task-text { color: rgba(255,255,255,.87); font-size: 12px; }.validation-list .task-item.checked .task-text { color: rgba(255,255,255,.43); }.validation-list .checkmark { border-color: rgba(255,255,255,.38); }.validation-list .task-item.checked .checkmark { background: var(--gold); border-color: var(--gold); color: var(--forest-deep); }
.review-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.scorecard, .reflection-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }.scorecard { display: grid; gap: 1px; }.score-item { display: flex; align-items: flex-start; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line); cursor: pointer; }.score-item:last-child { border: 0; }.score-item .task-text { font-size: 12px; }.reflection-card { background: var(--sand); }.reflection-card h3 { color: var(--forest-deep); font-family: Georgia, serif; font-size: 22px; font-weight: 400; margin: 9px 0 15px; }.reflection-card textarea { resize: vertical; min-height: 135px; width: 100%; border: 1px solid #e6dac1; outline: none; border-radius: 8px; background: rgba(255,255,255,.65); padding: 13px; color: var(--ink); font-size: 12px; line-height: 1.6; }.reflection-card textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,184,109,.18); }.reflection-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; }.reflection-footer span { color: var(--muted); font-size: 10px; }.app-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 23px 0; color: var(--muted); font-size: 10px; }.text-button { border: 0; background: transparent; padding: 4px 0 4px 16px; color: var(--forest); cursor: pointer; font-size: 10px; font-weight: 800; }.text-button.danger { color: var(--danger); }
.toast { position: fixed; bottom: 24px; right: 24px; z-index: 40; color: white; background: var(--forest-deep); padding: 11px 16px; border-radius: 8px; font-size: 11px; box-shadow: var(--shadow); transform: translateY(20px); opacity: 0; pointer-events: none; transition: .25s ease; }.toast.show { transform: translateY(0); opacity: 1; }.modal-backdrop { position: fixed; inset: 0; background: rgba(30,53,45,.4); backdrop-filter: blur(4px); z-index: 50; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: .2s ease; }.modal-backdrop.open { opacity: 1; pointer-events: auto; }.modal { max-width: 390px; margin: 20px; background: var(--cream); border-radius: 14px; padding: 28px; box-shadow: 0 20px 70px rgba(20,50,40,.23); }.modal-icon { width: 34px; height: 34px; display:grid; place-items:center; background: var(--sand); border-radius: 50%; color: var(--forest); font-size: 19px; }.modal h2 { color: var(--forest-deep); letter-spacing: -.04em; margin: 17px 0 8px; }.modal p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0 0 22px; }.modal-actions { display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 1030px) { .content-wrap { padding-left: 34px; padding-right: 34px; }.validate-block { margin-left: -34px; margin-right: -34px; padding-left: 34px; padding-right: 34px; }.phase-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .sidebar { transform: translateX(-100%); transition: transform .25s ease; box-shadow: 15px 0 35px rgba(30,70,55,.14); }.sidebar.open { transform: translateX(0); }.main-content { margin-left: 0; width: 100%; }.mobile-header { height: 65px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line); background: rgba(251,250,245,.95); position: sticky; top: 0; z-index: 8; backdrop-filter: blur(10px); }.mobile-header .brand { padding: 0; }.mobile-header .brand-mark { width: 30px; height: 30px; font-size: 14px; }.mobile-header .brand strong { color: var(--forest-deep); }.icon-button { background: transparent; border: 0; color: var(--forest); font-size: 20px; cursor: pointer; }.content-wrap { padding: 40px 18px 20px; }.hero { min-height: auto; margin-bottom: 38px; }.hero-stamp { display: none; }.hero h1 { font-size: 38px; }.stats-grid { grid-template-columns: 1fr; margin-bottom: 57px; gap: 9px; }.stat-card { min-height: 136px; }.stat-value { font-size: 36px; margin: 15px 0 13px; }.routine-layout, .review-layout, .validation-layout, .weekly-goals-card { grid-template-columns: 1fr; }.routine-layout { gap: 10px; }.routine-column { padding: 17px 15px 9px; }.section-block { margin-bottom: 62px; }.section-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 19px; }.section-heading h2 { font-size: 23px; }.section-description { max-width: none; }.date-chip { align-self: flex-start; }.week-strip { overflow-x: auto; grid-template-columns: repeat(7, minmax(68px, 1fr)); }.day-card { min-height: 91px; }.weekly-goals-card { padding: 21px 18px; gap: 22px; }.phase-list { grid-template-columns: 1fr; }.phase-card { min-height: auto; }.validate-block { margin-left: -18px; margin-right: -18px; padding: 45px 18px 49px; }.validation-layout { gap: 32px; }.validation-intro { padding: 0; }.review-layout { gap: 10px; }.scorecard, .reflection-card { padding: 18px; }.app-footer { align-items: flex-start; gap: 15px; flex-direction: column; }.app-footer > div { display: flex; gap: 12px; }.text-button { padding-left: 0; padding-right: 10px; }.toast { right: 18px; left: 18px; bottom: 18px; text-align: center; } }
