@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');
:root{font-family:"IBM Plex Sans Arabic","Noto Sans Arabic",system-ui,sans-serif;color:#293b32;background:#f3f1e8;font-synthesis:none;text-rendering:optimizeLegibility;--green:#58745b;--deep:#314a39;--mint:#e4ebe1;--paper:#fffefa;--sand:#e8e2d5;--muted:#829087;--line:#e9ebe4;--orange:#ad6f50;--shadow:0 14px 38px rgba(44,59,48,.055);scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 86% 4%,rgba(213,222,202,.38),transparent 27%),#f3f1e8;color:#293b32;min-height:100vh}button,input{font:inherit}button{cursor:pointer}.page-shell{width:min(1120px,calc(100% - 48px));margin:0 auto}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(88,116,91,.12)}.brand{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none}.brand-mark{width:43px;height:43px;background:#58745b;color:#f7f4ea;border-radius:15px;display:grid;place-items:center;box-shadow:0 6px 14px rgba(68,96,70,.16)}.brand-mark svg{width:30px;height:30px}.brand-copy{display:flex;flex-direction:column;gap:1px}.brand-copy strong{font-size:21px;font-weight:700;letter-spacing:-.05em}.brand-copy small{font-size:11px;color:#8b968c}.topbar-actions{display:flex;gap:9px}.icon-button,.date-nav{display:grid;place-items:center;width:41px;height:41px;border:1px solid #e1e5db;color:#64756a;background:rgba(255,255,255,.55);border-radius:14px;transition:background .2s,transform .2s}.icon-button:hover,.date-nav:hover{background:#e7eee3;transform:translateY(-1px)}.icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}main{padding:29px 0 52px}.journey-card{position:relative;overflow:hidden;border-radius:27px;background:#dfe8db;min-height:253px;padding:28px 34px 24px;margin-bottom:27px;box-shadow:0 14px 32px rgba(56,85,62,.07)}.journey-card:before{content:"";position:absolute;inset:0;background:linear-gradient(109deg,rgba(241,241,228,.78),rgba(225,234,219,.95) 47%,rgba(207,222,204,.76));pointer-events:none}.journey-content{position:relative;z-index:2;width:min(740px,82%)}.eyebrow,.section-kicker{color:#748578;font-size:11px;font-weight:600;letter-spacing:.02em}.eyebrow{display:flex;align-items:center;gap:7px}.tiny-leaf{color:#8c9f74;font-size:17px}.journey-heading-row{display:flex;justify-content:space-between;align-items:flex-start;margin-top:9px}.journey-heading-row h1{margin:0;color:#2e4736;font-size:30px;line-height:1.45;letter-spacing:-.04em}.journey-heading-row p{margin:3px 0 0;color:#728176;font-size:13px}.week-badge{width:63px;height:63px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(255,255,255,.56);border:1px solid rgba(88,116,91,.16);color:#46634b;flex:none}.week-badge span{font-size:21px;font-weight:700;line-height:1}.week-badge small{font-size:9px;margin-top:4px;color:#819087}.journey-track{display:flex;align-items:center;gap:7px;margin-top:22px;direction:rtl}.journey-segment{height:5px;flex:1;border-radius:9px;background:rgba(93,117,94,.16);position:relative}.journey-segment.done{background:#6b8668}.journey-segment.current{background:linear-gradient(90deg,#8fa184 42%,rgba(93,117,94,.16) 42%)}.journey-segment:after{content:"";position:absolute;inset-inline-start:-2px;top:50%;transform:translateY(-50%);width:11px;height:11px;border:2px solid #dfe8db;background:#dfe8db;border-radius:50%}.journey-segment.done:after,.journey-segment.current:after{background:#58745b;border-color:#dfe8db}.journey-bottom{display:flex;justify-content:space-between;margin-top:10px;font-size:10px;color:#738076}.journey-progress{height:3px;background:rgba(90,111,91,.13);border-radius:5px;margin-top:5px;overflow:hidden}.journey-progress span{display:block;height:100%;width:0;background:#58745b;border-radius:5px;transition:width .45s ease}.journey-stamp{position:absolute;z-index:1;inset-inline-end:36px;top:69px;width:107px;height:107px;border:1px solid rgba(91,121,91,.24);border-radius:50%;display:grid;place-items:center;text-align:center;color:rgba(81,112,82,.69);font-size:16px;line-height:1.6;transform:rotate(-13deg)}.journey-stamp:before,.journey-stamp:after{content:"";position:absolute;border:1px solid rgba(91,121,91,.17);border-radius:50%;inset:6px}.journey-stamp:after{inset:-5px;border-style:dashed}.date-row{display:flex;align-items:center;justify-content:space-between;margin:0 2px 15px}.date-row>div:first-child{display:flex;flex-direction:column;gap:2px}.date-overline{font-size:10px;color:#8a968c}.date-row strong{font-size:15px;font-weight:600;color:#405343}.date-controls{display:flex;align-items:center;gap:6px}.date-nav{width:31px;height:31px;border-radius:10px;font-size:20px;line-height:1;padding-bottom:4px}.today-button{border:0;background:transparent;color:#718376;font-size:11px;padding:7px 9px;border-radius:9px}.today-button:hover{background:#e6eade}.metrics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:22px}.metric-card{background:rgba(255,254,250,.86);border:1px solid rgba(222,226,216,.7);border-radius:19px;padding:17px 19px 14px;min-height:115px;box-shadow:0 8px 23px rgba(44,59,48,.025)}.metric-top{display:flex;align-items:center;gap:9px}.metric-icon{width:29px;height:29px;border-radius:10px;display:grid;place-items:center;font-size:16px;font-weight:600}.icon-weight{background:#f0e9de;color:#a27755}.icon-water{background:#e5edf0;color:#668b99}.icon-move{background:#e7eee1;color:#718d69}.metric-label{font-size:11px;color:#879188}.metric-value{display:flex;align-items:baseline;gap:5px;margin-top:8px}.metric-value strong{font-size:24px;line-height:1;color:#354a3b;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.metric-value span{font-size:10px;color:#879188}.metric-note{margin:6px 0 0;font-size:10px;color:#a0a79f}.content-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.85fr);gap:18px;align-items:start}.main-column,.side-column{display:flex;flex-direction:column;gap:18px}.panel{background:#fffefa;border:1px solid rgba(225,228,219,.86);border-radius:21px;padding:23px 24px;box-shadow:0 11px 27px rgba(44,59,48,.03)}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start}.panel-heading h2,.note-card h2{margin:3px 0 0;color:#344a39;font-size:19px;font-weight:600;letter-spacing:-.03em}.leaf-spark{color:#a4b38b;font-size:24px;margin-top:1px}.panel-intro{margin:7px 0 17px;font-size:11px;color:#949d94}.tracker-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #eff0eb;min-height:66px}.tracker-symbol{width:37px;height:37px;border-radius:13px;display:grid;place-items:center;flex:none}.tracker-symbol svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.water-symbol{background:#e8f0f2;color:#6b94a3}.movement-symbol{background:#e9f0e3;color:#7d926f}.sleep-symbol{background:#f0eaf2;color:#91799a}.tracker-info{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.tracker-info strong{font-size:12px;font-weight:600;color:#405143}.tracker-info span{font-size:10px;color:#9aa199;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stepper{display:flex;align-items:center;gap:10px;background:#f5f6f0;border:1px solid #eaede5;border-radius:12px;padding:3px 4px}.stepper button{border:0;background:#fffefa;color:#658067;width:28px;height:28px;border-radius:9px;font-size:18px;line-height:1;box-shadow:0 1px 3px rgba(31,45,33,.07)}.stepper span{min-width:16px;text-align:center;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.inline-input{display:flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid #e7eae2;border-radius:10px;color:#9aa199;font-size:9px}.inline-input input{width:38px;min-width:0;border:0;outline:0;background:transparent;text-align:center;color:#415345;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.inline-input input::-webkit-inner-spin-button,.goal-inputs input::-webkit-inner-spin-button{appearance:none}.habit-divider{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eff0eb;padding-top:16px;margin-top:3px}.habit-divider>span:first-child{font-size:12px;font-weight:600;color:#405143}.habit-caption{font-size:10px;color:#a1a79e}.habits-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.habit-item{display:flex;align-items:center;gap:8px;border:1px solid #ebeee7;border-radius:12px;padding:9px 10px;color:#6f7d71;font-size:10px;cursor:pointer;transition:.2s;background:#fffefa}.habit-item:hover{border-color:#cbd8c8;background:#fafbf7}.habit-item input{position:absolute;opacity:0;width:1px;height:1px}.habit-check{width:17px;height:17px;border-radius:6px;border:1.4px solid #c8d1c8;background:#fff;display:grid;place-items:center;flex:none}.habit-check:after{content:"✓";color:white;font-size:10px;font-weight:700;transform:scale(0);transition:transform .15s}.habit-item:has(input:checked){background:#f0f4ed;border-color:#d9e3d5;color:#4d6750}.habit-item input:checked+.habit-check{background:#678369;border-color:#678369}.habit-item input:checked+.habit-check:after{transform:scale(1)}.habit-item:focus-within{outline:2px solid #789779;outline-offset:2px}.save-status{margin-top:15px;display:flex;align-items:center;gap:7px;font-size:9px;color:#9aa199}.status-dot{width:6px;height:6px;border-radius:50%;background:#8ca48a}.status-error .status-dot{background:#b76a59}.status-error{color:#a85748}.large-icon{width:38px;height:38px;border-radius:13px;font-size:19px}.weight-form{padding:14px 15px;border-radius:15px;background:#f7f6f0}.field-label{display:block;margin-bottom:7px;font-size:10px;font-weight:600;color:#68776b}.field-label span{font-weight:400;color:#a2a79f}.weight-entry{display:flex;align-items:center;gap:8px}.weight-entry input{min-width:0;flex:1;border:1px solid #e6e9e1;border-radius:10px;background:#fffefa;padding:9px 11px;outline:0;font-size:13px;color:#354a3b}.weight-entry input:focus,.settings-form input:focus{border-color:#9eb19b;box-shadow:0 0 0 3px rgba(95,132,96,.1)}.weight-entry>span{font-size:10px;color:#8f998f}.primary-button,.secondary-button,.danger-button{border:0;border-radius:10px;padding:9px 14px;font-size:10px;font-weight:600;transition:transform .18s,background .18s}.primary-button{background:#58745b;color:white;white-space:nowrap}.primary-button:hover{background:#456248;transform:translateY(-1px)}.secondary-button{background:#edf1e9;color:#516c54}.secondary-button:hover{background:#e2e9dd}.form-message{min-height:0;color:#668167;font-size:10px;margin-top:0}.form-message:not(:empty){margin-top:7px}.chart-wrap{margin-top:19px}.chart-title-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.chart-title-row strong{font-size:11px;font-weight:600;color:#5a695d}.chart-title-row span{font-size:9px;color:#a2a8a0}.weight-chart{margin-top:8px;min-height:92px}.weight-chart svg{display:block;width:100%;height:135px;overflow:visible}.chart-gridline{stroke:#eef0e9;stroke-width:1;stroke-dasharray:3 5}.chart-line{fill:none;stroke:#789174;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.chart-area{fill:url(#chartFill)}.chart-point{fill:#fffefa;stroke:#6d8769;stroke-width:2}.chart-label{fill:#9aa398;font-size:9px;font-family:inherit}.chart-empty{padding:19px 0 6px;text-align:center;font-size:10px;color:#a2aaa1}.weight-history{display:flex;flex-direction:column;gap:7px;margin-top:6px}.weight-record{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border:1px solid #eff0eb;border-radius:10px;font-size:10px;color:#849086}.weight-record strong{font-size:11px;color:#526354;font-variant-numeric:tabular-nums}.record-actions{display:flex;align-items:center;gap:10px}.remove-record{border:0;background:transparent;color:#a7afa7;font-size:14px;padding:2px 5px}.remove-record:hover{color:#a8584a}.compact-heading h2{font-size:17px}.week-flower{font-size:24px;color:#9aad82}.week-date{font-size:10px;color:#a0a69e;margin:4px 0 17px}.weekly-count{display:flex;align-items:baseline;gap:8px;padding:13px 14px;border-radius:14px;background:#f5f6ef}.weekly-count strong{font-size:28px;line-height:1;color:#527052;font-weight:600;font-variant-numeric:tabular-nums}.weekly-count span{font-size:10px;color:#849084}.week-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-top:15px;direction:rtl}.week-day{display:flex;flex-direction:column;align-items:center;gap:7px;color:#a0a69d;font-size:8px}.week-day-dot{width:21px;height:21px;border:1px solid #e3e8df;border-radius:8px;display:grid;place-items:center;background:#fafbf8;color:#9aa498;font-size:10px}.week-day.done .week-day-dot{background:#758e70;border-color:#758e70;color:#fff}.week-day.today{color:#506a53;font-weight:700}.week-day.today .week-day-dot{box-shadow:0 0 0 2px #d7e1d2;border-color:#647e64}.week-encouragement{font-size:10px;line-height:1.8;color:#96a095;margin:16px 0 0;padding-top:12px;border-top:1px solid #eff0eb}.note-card{position:relative;overflow:hidden;min-height:191px;border-radius:21px;background:#e9ede1;padding:22px 23px 20px}.note-card:after{content:"";position:absolute;width:142px;height:142px;left:-45px;bottom:-70px;border:1px solid rgba(102,131,98,.12);border-radius:50%;box-shadow:0 0 0 12px rgba(255,255,255,.09),0 0 0 25px rgba(255,255,255,.07)}.note-leaf{position:absolute;left:18px;top:17px;color:rgba(104,135,98,.26)}.note-leaf svg{width:39px;height:39px}.note-card h2{font-size:16px;margin-top:8px}.note-card p{position:relative;z-index:1;max-width:280px;font-size:10px;line-height:1.9;color:#7c897c;margin:8px 0 0}.settings-panel{padding-bottom:18px}.settings-intro{margin:7px 0 17px;font-size:10px;line-height:1.8;color:#929b92}.settings-form>input{width:100%;height:38px;border:1px solid #e6e9e1;border-radius:10px;padding:7px 10px;background:#fffefa;color:#516354;font-size:11px;outline:0}.settings-form .field-label:not(:first-child){margin-top:15px}.goal-inputs{display:flex;flex-direction:column;gap:7px}.goal-inputs>label{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border:1px solid #edf0e9;border-radius:10px;color:#728074;font-size:10px}.goal-inputs>label span{display:flex;align-items:center;gap:5px;color:#a0a69d}.goal-inputs input{width:51px;height:25px;border:1px solid #e8ebe4;border-radius:7px;padding:2px 5px;text-align:center;color:#4b614e;background:#fffefa;outline:0;font-size:10px}.settings-footnote{font-size:9px;line-height:1.8;color:#a0a79e;margin:11px 0 13px}.settings-form .secondary-button{width:100%}.data-actions{display:flex;justify-content:space-between;margin-top:13px;padding-top:12px;border-top:1px solid #eff0eb}.text-button{border:0;padding:4px 0;background:none;color:#78877a;font-size:9px}.text-button:hover{text-decoration:underline}.danger-text{color:#a96a5a}.footer{border-top:1px solid rgba(88,116,91,.13);padding:20px 0 28px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:17px}.footer-brand{display:flex;align-items:center;gap:7px;color:#617864;font-size:12px;font-weight:700}.footer-mark{font-size:19px;color:#91a47b}.footer p{font-size:9px;color:#99a198;line-height:1.8;margin:0}.footer-bottom{font-size:9px;color:#a8ada5;white-space:nowrap}.confirm-dialog{border:1px solid #e5e8e0;border-radius:21px;padding:0;max-width:min(420px,calc(100% - 30px));width:100%;box-shadow:0 30px 90px rgba(34,49,37,.24);color:#354a3b}.confirm-dialog::backdrop{background:rgba(35,49,38,.35);backdrop-filter:blur(3px)}.dialog-content{padding:27px}.dialog-symbol{width:42px;height:42px;background:#f4eee3;border-radius:14px;display:grid;place-items:center;color:#9b7953;font-size:20px}.dialog-content h2{font-size:17px;margin:14px 0 5px}.dialog-content p{font-size:11px;color:#8d978e;line-height:1.9;margin:0 0 20px}.dialog-actions{display:flex;gap:8px}.dialog-actions button{flex:1}.danger-button{background:#a95f50;color:white}.danger-button:hover{background:#914b3e}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;border:1px solid #dae4d5;background:#fffefa;color:#526b54;border-radius:12px;padding:10px 16px;font-size:11px;box-shadow:0 9px 25px rgba(32,48,35,.12);transition:all .25s;z-index:10}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:820px){.page-shell{width:min(680px,calc(100% - 34px))}.content-grid{grid-template-columns:minmax(0,1fr) minmax(220px,.75fr);gap:13px}.main-column,.side-column{gap:13px}.panel{padding:20px}.journey-stamp{inset-inline-end:24px}.journey-content{width:85%}.journey-stamp{width:87px;height:87px;font-size:13px;top:79px}.footer{grid-template-columns:auto 1fr}.footer-bottom{grid-column:2}.metric-card{padding:15px}.metric-note{font-size:9px}}
@media(max-width:620px){.page-shell{width:calc(100% - 28px)}.topbar{height:72px}.brand-mark{width:39px;height:39px;border-radius:13px}.brand-copy strong{font-size:19px}.brand-copy small{font-size:10px}main{padding-top:18px;padding-bottom:35px}.journey-card{padding:21px 20px 18px;border-radius:22px;min-height:216px;margin-bottom:20px}.journey-content{width:100%}.journey-heading-row{align-items:center}.journey-heading-row h1{font-size:22px}.journey-heading-row p{max-width:245px;font-size:11px}.week-badge{width:53px;height:53px}.week-badge span{font-size:18px}.journey-stamp{display:none}.journey-track{gap:4px;margin-top:18px}.journey-segment{height:4px}.journey-segment:after{width:9px;height:9px}.date-row{margin-bottom:12px}.date-row strong{font-size:13px}.metrics-grid{gap:7px;margin-bottom:14px}.metric-card{padding:12px 10px 11px;min-height:102px;border-radius:15px}.metric-top{gap:6px}.metric-icon{width:25px;height:25px;border-radius:8px;font-size:14px}.metric-label{font-size:9px}.metric-value{margin-top:9px;gap:3px}.metric-value strong{font-size:21px}.metric-value span{font-size:9px}.metric-note{font-size:8px;margin-top:5px}.content-grid{display:flex;flex-direction:column;gap:13px}.main-column,.side-column{width:100%;gap:13px}.side-column{display:contents}.today-panel{order:0}.week-panel{order:1}.weight-panel{order:2}.note-card{order:3}.settings-panel{order:4}.panel{padding:19px 17px;border-radius:18px}.panel-heading h2{font-size:18px}.panel-intro{font-size:10px}.tracker-row{gap:9px;min-height:62px}.tracker-info strong{font-size:11px}.tracker-info span{font-size:9px}.tracker-symbol{width:34px;height:34px;border-radius:11px}.stepper{gap:7px}.stepper button{width:27px;height:27px}.inline-input{padding:5px 6px;gap:3px}.habits-list{gap:6px}.habit-item{padding:9px 7px;gap:6px;font-size:9px}.habit-check{width:16px;height:16px}.week-panel{order:1}.note-card{min-height:170px}.footer{grid-template-columns:1fr;gap:6px;padding:17px 0 24px}.footer p{font-size:9px}.footer-bottom{grid-column:auto}.weight-entry{flex-wrap:wrap}.weight-entry input{flex-basis:45%}.weight-entry>span{margin-inline-end:auto}.weight-entry .primary-button{width:100%;margin-top:2px}.chart-title-row{align-items:flex-start;flex-direction:column;gap:3px}.chart-title-row span{font-size:8px}.date-nav{width:29px;height:29px}.topbar-actions{gap:6px}.icon-button{width:37px;height:37px;border-radius:12px}}
@media(max-width:360px){.journey-heading-row h1{font-size:20px}.metric-card{padding-inline:8px}.metric-label{font-size:8px}.habit-item{font-size:8px}.tracker-info span{max-width:155px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
