@font-face{font-family:Cairo;src:url('fonts/Cairo-400.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Cairo;src:url('fonts/Cairo-600.woff2') format('woff2');font-weight:600;font-display:swap}@font-face{font-family:Cairo;src:url('fonts/Cairo-800.woff2') format('woff2');font-weight:700 900;font-display:swap}
:root{--bg:#f8f9f7;--card:#fff;--ink:#17394d;--muted:#697b83;--line:#e5eae8;--navy:#104e79;--orange:#f19a40;--orange-pale:#fff1df;--green:#3c6956;--green-bg:#dfede3;--yellow:#8a6b27;--yellow-bg:#f5ebce;--red:#945f59;--red-bg:#f2e1dd;--future:#eff2f0;--shadow:0 18px 60px #19384b08;--radius:22px;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:80px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Cairo,Arial,sans-serif;line-height:1.8;font-size:15px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,input,select,textarea,a{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #f19a40}button{border:0}img{max-width:100%;height:auto}svg{width:22px;height:22px;flex-shrink:0;vertical-align:middle}h1,h2,h3,h4,p{margin:0}h1,h2,h3{line-height:1.5;text-wrap:balance}p{color:var(--muted)}.wrap{width:min(1180px,calc(100% - 64px));margin-inline:auto}.skip{position:fixed;top:-100px;right:20px;z-index:100;background:var(--ink);color:white;padding:10px}.skip:focus{top:10px}.brand{display:inline-flex;align-items:center;gap:16px;flex-shrink:0}.brand img{width:82px;display:block}.brand-divider{height:33px;width:1px;background:#dce2e4}.brand-name{font-weight:800;font-size:26px;line-height:1.1;letter-spacing:-1px}.brand-name>span{display:block;font-size:9px;letter-spacing:3px;font-weight:600;margin-top:7px}.marketing-nav{display:flex;align-items:center;justify-content:space-between;min-height:112px;gap:25px}.marketing-nav nav{display:flex;gap:32px;font-size:14px}.marketing-nav nav a:hover,.text-link:hover{color:var(--navy)}.nav-actions{display:flex;align-items:center;gap:24px}.button{display:inline-flex;justify-content:center;align-items:center;gap:12px;background:var(--navy);color:#fff;padding:12px 24px;min-height:48px;border:1px solid transparent;border-radius:12px;font-weight:700;line-height:1.6;transition:transform .16s,background .16s,box-shadow .16s;text-align:center}.button:hover{background:#0c3e62;transform:translateY(-1px)}.button.orange{background:var(--orange);color:#253443}.button.orange:hover{background:#f5ab5d}.button.outline{background:transparent;border-color:var(--line);color:var(--ink)}.button.outline:hover{background:var(--future)}.button.small{padding:9px 17px;font-size:13px;min-height:42px}.button.large{padding:15px 26px;min-height:56px}.button.success{background:var(--green-bg);color:var(--green)}.button.full{width:100%}.text-link{font-weight:600;font-size:14px}.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:700;letter-spacing:.1px;color:var(--navy)}.tiny-grid{display:grid;grid-template-columns:repeat(2,6px);gap:3px;transform:rotate(-7deg)}.tiny-grid i{width:6px;height:6px;border-radius:2px;background:var(--orange)}.hero{display:grid;grid-template-columns:1fr 1.08fr;gap:70px;align-items:center;padding-top:58px;padding-bottom:114px;min-height:700px}.hero h1{font-size:80px;line-height:1.38;font-weight:800;letter-spacing:-3px;margin:20px 0}.orange-word{color:#bf6b24;position:relative}.orange-word:after{content:'';position:absolute;right:0;left:4%;bottom:3px;height:5px;border-radius:100%;background:var(--orange);transform:rotate(-2deg);opacity:.65}.hero-description{font-size:18px;line-height:2.05;margin-bottom:30px}.hero-actions{display:flex;gap:12px}.hero-promises{display:flex;gap:20px;font-size:11px;color:var(--muted);margin-top:21px}.hero-visual{position:relative;padding:35px 0}.preview-card{position:relative;background:var(--card);border:1px solid var(--line);padding:30px;border-radius:24px;box-shadow:0 22px 80px #143c4d0c;transform:rotate(2deg);z-index:2}.preview-header{display:flex;justify-content:space-between;gap:12px;align-items:center}.preview-header h2{font-size:20px;margin-top:4px}.overline{font-size:11px}.icon-tile{display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--line);border-radius:14px;color:var(--navy);background:var(--bg)}.preview-progress{display:flex;justify-content:space-between;align-items:center;margin:23px 0 18px;font-size:12px}.preview-progress strong{font-size:27px;font-weight:800}.soft-chip{display:inline-flex;padding:5px 12px;border:1px solid var(--line);background:var(--bg);border-radius:9px;font-size:11px;color:var(--muted);white-space:nowrap}.sample-grid{display:grid;grid-template-columns:repeat(15,1fr);gap:6px}.sample-grid i{aspect-ratio:1;border-radius:5px;background:var(--future)}.done{background:var(--green-bg)!important;color:var(--green)!important}.partial{background:var(--yellow-bg)!important;color:var(--yellow)!important}.missed{background:var(--red-bg)!important;color:var(--red)!important}.future{background:var(--future)!important;color:var(--muted)!important}.today{outline:2px solid var(--navy);outline-offset:2px}.grid-legend{display:flex;gap:17px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-top:18px}.grid-legend span{display:flex;align-items:center;gap:6px}.grid-legend i{width:9px;height:9px;border-radius:3px}.preview-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:22px;padding-top:20px;font-size:11px;gap:10px}.preview-bottom strong{display:block;font-size:12px}.floating-label{position:absolute;z-index:3;display:flex;align-items:center;gap:12px;padding:14px 19px;border:1px solid var(--line);border-radius:14px;background:var(--card);box-shadow:var(--shadow);font-size:12px;white-space:nowrap}.label-top{top:3px;right:22px;transform:rotate(-4deg)}.mini-sun{color:#d58129;font-size:28px;line-height:1}.label-bottom{bottom:0;left:6px;transform:rotate(-3deg)}.label-bottom strong{font-size:12px}.label-bottom small{display:block;color:var(--muted);font-size:10px}.growth-mark{display:grid;place-items:center;background:var(--green-bg);width:35px;height:35px;border-radius:50%;color:var(--green)}.orbit-line{width:125px;height:125px;border:1px dashed #c7d4d7;border-radius:50%;position:absolute;left:-35px;top:-8px;z-index:1}.quiet-band{border-block:1px solid var(--line);background:#f1f4f1}.band-content{display:flex;justify-content:space-between;align-items:center;gap:30px;min-height:94px;font-size:14px}.band-content>span{font-weight:600}.band-content>div{display:flex;align-items:center;gap:10px;color:var(--muted)}.band-content svg{width:20px}.section{padding-block:94px}.section-heading h2{font-size:40px;font-weight:800;margin:12px 0 16px;letter-spacing:-1px}.section-heading p{font-size:15px}.centered{text-align:center}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;margin-top:46px}.steps article{position:relative;padding:25px 0}.step-number{position:absolute;top:0;right:0;color:#9eaeb3;font-size:13px;font-weight:700}.step-art{height:100px;display:flex;align-items:center;justify-content:flex-start;margin:18px 0 20px}.art-goal{gap:14px}.art-goal>span:first-child{width:57px;height:57px;display:grid;place-items:center;background:var(--orange-pale);color:#b06926;border-radius:16px}.art-pill{border:1px solid var(--line);background:var(--card);border-radius:10px;padding:8px 14px;font-size:12px;transform:rotate(-3deg)}.art-check{gap:10px}.mini-cell{width:54px;height:54px;border-radius:12px;display:grid;place-items:center;font-size:22px}.art-chart{align-items:flex-end;gap:8px;height:80px;padding-bottom:10px}.art-chart i{width:24px;background:#a7c8b8;border-radius:5px 5px 0 0;height:30%}.art-chart i:nth-child(2){height:48%}.art-chart i:nth-child(3){height:40%;background:var(--yellow-bg)}.art-chart i:nth-child(4){height:62%}.art-chart i:nth-child(5){height:57%}.art-chart i:nth-child(6){height:75%}.art-chart i:nth-child(7){height:95%;background:var(--navy)}.steps h3{font-size:22px;margin-bottom:12px}.steps p{font-size:14px;line-height:1.95;max-width:310px}.feature-section{background:#f0f3ef}.feature-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:20px;margin-top:40px}.feature-grid article{border:1px solid var(--line);background:var(--card);border-radius:var(--radius);padding:28px}.feature-grid .feature-large{grid-row:span 2;padding:38px;background:#e4ece7;display:flex;flex-direction:column;justify-content:center}.feature-large h3{font-size:34px;margin:20px 0}.feature-grid p{font-size:13px;line-height:1.95}.feature-grid h3:not(.feature-large h3){margin:16px 0 12px;font-size:19px}.feature-icon{color:var(--navy)}.feature-icon svg{width:27px;height:27px}.mini-journey{display:flex;gap:7px;margin-top:28px;transform:rotate(3deg)}.mini-journey span{width:35px;height:35px;border-radius:7px;display:grid;place-items:center;font-size:11px}.faq-section{display:grid;grid-template-columns:1fr 1.5fr;gap:100px}.faq-list details{border-bottom:1px solid var(--line);padding:19px 0}.faq-list summary{font-size:16px;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px}.faq-list summary:after{content:'+';font-size:20px;font-weight:400}.faq-list details[open] summary:after{content:'−'}.faq-list p{margin-top:15px;font-size:14px}.final-cta{padding:46px 55px;background:var(--ink);border-radius:26px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:40px;position:relative;overflow:hidden}.final-cta h2{font-size:34px;margin-top:10px}.final-cta .eyebrow{color:#abc1cc}.final-cta .button{position:relative;z-index:2;flex-shrink:0}.cta-squares{display:flex;gap:8px;position:absolute;left:50px;bottom:-20px;transform:rotate(-12deg);opacity:.12}.cta-squares i{width:80px;height:80px;border-radius:16px;background:white}.footer{display:flex;align-items:center;gap:35px;flex-wrap:wrap;padding-block:52px}.footer p{font-size:12px;flex:1}.footer>div{display:flex;gap:20px;font-size:12px}.footer>small{width:100%;text-align:center;color:var(--muted);font-size:10px;border-top:1px solid var(--line);padding-top:23px;margin-top:2px}.muted{color:var(--muted)}.loading-state{min-height:45vh;display:flex;align-items:center;justify-content:center;gap:15px;flex-direction:column;color:var(--muted)}.loader{width:30px;height:30px;border:3px solid var(--line);border-top-color:var(--orange);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.auth-header,.admin-nav{display:flex;align-items:center;justify-content:space-between;min-height:110px;gap:20px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:100px;min-height:calc(100vh - 160px);padding-block:35px 70px}.auth-story h1{font-size:46px;margin:20px 0}.auth-story p{font-size:17px;line-height:2}.auth-mosaic{display:grid;grid-template-columns:repeat(6,36px);gap:9px;margin:35px 0}.auth-mosaic i{aspect-ratio:1;border-radius:8px;background:var(--green-bg);transform:rotate(-4deg)}.auth-mosaic i:nth-child(3n){background:var(--yellow-bg)}.auth-mosaic i:nth-child(5n){background:var(--orange)}.auth-mosaic i:last-child{background:var(--navy)}.auth-story>.muted{font-size:12px}.auth-card{border:1px solid var(--line);background:var(--card);padding:40px;border-radius:24px;box-shadow:var(--shadow);width:100%;max-width:470px}.auth-card h2{font-size:28px;margin:12px 0}.auth-card>p{font-size:13px;margin-bottom:22px}.auth-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:14px;background:var(--orange-pale);color:#9f5b1c}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px}.field label,.field>span{font-size:12px;font-weight:700}.field input,.field select,.field textarea,.search-input{width:100%;padding:12px 14px;min-height:48px;border:1px solid #d7e0df;border-radius:10px;background:var(--card);color:var(--ink);font-size:14px}.field input[type=email],.field input[type=password],.field input[type=time],.field input[inputmode=numeric],.field input[type=number]{direction:ltr;text-align:right}.field textarea{resize:vertical;min-height:100px}.field small{font-size:11px;color:var(--muted);line-height:1.7}.form-note{font-size:11px;line-height:1.8;margin:15px 0}.form-note a{text-decoration:underline;color:var(--navy)}.form-error{color:#964c43;font-size:13px;margin:12px 0;min-height:0}.form-error:empty{display:none}.notice{padding:13px 16px;border-radius:12px;background:var(--orange-pale);color:#85551d;font-size:12px;line-height:1.9;margin:16px 0}.notice.neutral{background:var(--future);color:var(--muted)}.auth-divider{display:flex;align-items:center;gap:15px;color:var(--muted);font-size:11px;margin:23px 0}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:var(--line);flex:1}.otp-input{font-size:28px!important;letter-spacing:14px;text-align:center!important}.back-button{background:none;color:var(--muted);padding:10px 0;font-size:13px}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%) translateY(150px);max-width:min(560px,90vw);z-index:150;background:var(--ink);color:white;padding:13px 24px;border-radius:12px;box-shadow:0 8px 30px #0002;transition:transform .2s;font-size:13px;text-align:center}.toast.show{transform:translateX(-50%) translateY(0)}dialog{border:1px solid var(--line);border-radius:24px;padding:0;background:var(--card);color:var(--ink);width:min(540px,calc(100% - 28px));max-height:90dvh;box-shadow:0 30px 120px #0003}dialog::backdrop{background:#112c3c66;backdrop-filter:blur(3px)}#modal-content{padding:30px}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px;gap:20px}.modal-header h2{font-size:23px}.modal-header p{font-size:12px;margin-top:6px}.icon-button{display:inline-grid;place-items:center;min-width:40px;min-height:40px;border-radius:10px;background:transparent;color:var(--muted)}.icon-button:hover{background:var(--future);color:var(--ink)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.choice-row{display:flex;gap:9px;margin-bottom:18px;flex-wrap:wrap}.choice{padding:10px 14px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--ink);min-height:44px}.choice.selected{border-color:var(--navy);background:#e9f0f5}.dialog-actions{display:flex;gap:10px;margin-top:25px}.dialog-actions>.button{flex:1}.checkbox{display:flex;gap:10px;align-items:flex-start;font-size:13px;cursor:pointer;margin:15px 0}.checkbox input{width:18px;height:18px;accent-color:var(--navy);flex-shrink:0;margin-top:5px}
.app-shell{min-height:100vh;padding-right:244px}.sidebar{position:fixed;inset:0 0 0 auto;width:244px;background:var(--card);border-left:1px solid var(--line);padding:32px 22px 20px;display:flex;flex-direction:column;z-index:30}.sidebar .brand{justify-content:center;margin:7px 0 40px}.sidebar .brand img{width:72px}.side-label{font-size:10px;color:#8a999f;margin:0 14px 12px}.side-nav{display:grid;gap:7px}.side-nav button{display:flex;align-items:center;gap:13px;padding:13px 16px;border-radius:11px;color:var(--muted);background:transparent;text-align:right;font-size:13px;min-height:48px}.side-nav button.active{background:#eaf1f5;color:var(--navy);font-weight:700}.side-nav button:hover{background:var(--future)}.side-nav button svg{width:19px;height:19px}.side-nav button .count{margin-right:auto;background:#fff;padding:0 8px;border-radius:6px;font-size:10px}.sidebar-bottom{margin-top:auto}.side-tip{border:1px solid var(--line);border-radius:15px;padding:17px;margin-top:35px;margin-bottom:20px;background:var(--bg)}.side-tip svg{color:#c37c30}.side-tip h4{font-size:12px;margin:10px 0 4px}.side-tip p{font-size:11px;margin-bottom:15px}.side-user{border-top:1px solid var(--line);padding-top:20px;display:flex;gap:11px;align-items:center}.avatar{width:37px;height:37px;border-radius:50%;background:var(--orange-pale);color:#a76e32;display:grid;place-items:center;font-weight:800;flex-shrink:0}.side-user strong{display:block;font-size:12px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-user small{font-size:10px;color:var(--muted)}.app-topbar{height:89px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;gap:15px;background:var(--bg)}.breadcrumb{font-size:12px;color:var(--muted);display:flex;gap:12px;align-items:center}.breadcrumb strong{color:var(--ink);font-weight:600}.topbar-actions{display:flex;align-items:center;gap:15px}.date-label{font-size:11px;color:var(--muted)}.online-dot{width:6px;height:6px;border-radius:50%;background:#6a927c;display:inline-block;margin-left:6px}.app-main{max-width:1340px;margin:auto;padding:32px 42px 55px}.greeting{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.greeting h1{font-size:27px;font-weight:800}.greeting p{font-size:12px;margin-top:5px}.greeting .eyebrow{font-size:11px}.dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:22px;align-items:start}.main-column{min-width:0}.panel{background:var(--card);border:1px solid var(--line);border-radius:19px;padding:25px}.goal-heading{display:flex;align-items:flex-start;gap:15px;justify-content:space-between}.goal-heading h2{font-size:24px;margin:12px 0 7px;line-height:1.55}.goal-heading p{font-size:12px}.goal-badge{display:inline-flex;align-items:center;gap:7px;font-size:10px;background:var(--orange-pale);color:#8d5e28;padding:4px 10px;border-radius:6px}.goal-badge svg{width:12px;height:12px}.goal-actions{display:flex;gap:4px}.goal-meta{display:flex;justify-content:space-between;align-items:center;margin-top:24px;padding-bottom:19px;border-bottom:1px solid var(--line);font-size:11px;gap:10px;flex-wrap:wrap}.goal-meta strong{font-size:21px;font-weight:800;margin:0 4px}.journey-progress{height:4px;width:100%;background:var(--future);border-radius:4px;margin-bottom:24px;overflow:hidden}.journey-progress span{display:block;height:100%;background:var(--orange);border-radius:4px}.day-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;direction:rtl}.day-cell{aspect-ratio:1;border-radius:8px;background:var(--future);color:#82908f;position:relative;display:flex;align-items:center;justify-content:center;font-size:11px;min-width:0;border:1px solid transparent;font-weight:600;transition:transform .14s,box-shadow .14s;padding:0}.day-cell:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 3px 0 #16394b24}.day-cell.current{border-color:var(--navy);box-shadow:0 0 0 2px var(--card),0 0 0 3px #8da9bb;color:var(--navy);background:#edf3f7}.day-cell:disabled{opacity:1}.day-cell i{position:absolute;width:4px;height:4px;background:currentColor;border-radius:50%;bottom:4px}.day-cell small{position:absolute;top:0;right:4px;font-size:8px;opacity:.7}.day-cell.has-note:after{content:'';position:absolute;left:4px;bottom:4px;width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.65}.panel .grid-legend{font-size:10px;margin-top:21px;gap:15px}.daily-checkin{margin-top:25px;border-top:1px solid var(--line);padding-top:20px}.checkin-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}.checkin-heading strong{font-size:13px}.checkin-heading span{font-size:11px;color:var(--muted)}.checkin-buttons{display:grid;grid-template-columns:1fr 1fr 45px;gap:10px}.checkin-buttons button{min-height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:700}.checkin-buttons .check-done{background:var(--green-bg);color:var(--green)}.checkin-buttons .check-partial{background:var(--yellow-bg);color:var(--yellow)}.checkin-buttons button.selected{box-shadow:inset 0 0 0 2px currentColor}.checkin-buttons .note-button{background:var(--future);color:var(--ink)}.helper-line{font-size:10px;color:var(--muted);margin-top:12px}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px}.stat-card{padding:17px;border:1px solid var(--line);border-radius:14px;background:var(--card)}.stat-card .stat-label{display:flex;justify-content:space-between;gap:5px;color:var(--muted);font-size:10px}.stat-card svg{width:15px;height:15px}.stat-card strong{display:block;font-size:27px;line-height:1.3;margin:11px 0 7px;font-weight:800;direction:ltr;text-align:right}.stat-card small{color:var(--muted);font-size:9px}.stats-help{font-size:10px;color:var(--muted);margin-top:10px}.weekly-panel{margin-top:20px;padding:22px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.panel-title h3{font-size:15px}.panel-title>span{font-size:10px;color:var(--muted)}.weekly-chart{display:flex;align-items:flex-end;justify-content:space-around;gap:14px;height:130px;padding-top:10px}.week-bar{height:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px}.week-bar .bar{width:100%;max-width:55px;border-radius:6px 6px 3px 3px;background:#dbe9e1;min-height:4px}.week-bar small{font-size:9px;color:var(--muted);white-space:nowrap}.week-bar b{font-size:10px;font-weight:400}.side-column{display:grid;gap:19px}.today-card{background:#fff6e9;border-color:#f1e4d1}.today-card .eyebrow{color:#98703b;font-size:10px}.today-card h3{font-size:19px;margin:11px 0 9px}.today-card p{font-size:11px;color:#8c795f}.quote-rule{width:32px;height:3px;background:#d4a770;margin:17px 0}.goals-list{display:grid;gap:9px}.goal-list-item{padding:13px 10px;background:transparent;border:1px solid var(--line);border-radius:11px;text-align:right;color:var(--ink);width:100%}.goal-list-item.active{background:#eef3f7;border-color:#c7d9e5}.goal-list-item strong{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px}.goal-list-item small{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-top:5px}.list-add{border:1px dashed #cbd5d7;border-radius:10px;padding:10px;font-size:11px;background:transparent;color:var(--muted);margin-top:12px;width:100%;min-height:44px}.reflection p{font-size:11px;margin:8px 0 14px}.reflection svg{color:#9d7b55}.reflection button{width:100%;font-size:11px;min-height:40px}.money-progress{padding:15px 18px;background:var(--orange-pale);border-radius:12px;margin-top:20px}.money-progress strong{font-size:20px}.money-progress p{font-size:11px;color:#8c6941}.money-progress .journey-progress{margin:10px 0 4px;background:#f3dfc1;height:7px}.end-banner{padding:20px;background:#edf4ed;border:1px solid #cfded2;border-radius:14px;margin-top:20px}.end-banner h3{font-size:19px}.end-banner p{font-size:12px;margin:6px 0 14px}.demo-banner,.offline-banner{background:var(--orange-pale);color:#8e602b;font-size:12px;padding:9px 22px;text-align:center;display:flex;justify-content:center;align-items:center;gap:15px;flex-wrap:wrap}.demo-banner a{font-weight:800;text-decoration:underline}.offline-banner{background:var(--red-bg);color:var(--red)}.mobile-nav{display:none}.empty-state{text-align:center;padding:60px 30px}.empty-state>.icon-tile{margin:0 auto 20px;width:65px;height:65px}.empty-state h2{font-size:26px;margin:10px 0}.empty-state p{max-width:460px;margin:0 auto 25px;font-size:14px}.goal-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.goal-card{display:flex;flex-direction:column;align-items:flex-start;gap:15px}.goal-card h2{font-size:20px}.goal-card .button{margin-top:auto}.goal-card .journey-progress{margin:0}.goals-toolbar{display:flex;gap:10px;margin-bottom:23px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid h2{font-size:20px;margin-bottom:6px}.settings-grid p{font-size:12px;margin-bottom:22px}.settings-grid .panel{align-self:start}.settings-grid .field{margin-bottom:20px}.settings-stack{display:grid;gap:22px}.inline-actions{display:flex;gap:10px;flex-wrap:wrap}.install-guide li{font-size:13px;margin:12px 0}.summary-score{text-align:center;background:var(--bg);padding:23px;border-radius:15px;margin-bottom:20px}.summary-score strong{font-size:48px;display:block;font-weight:800;line-height:1.4}.summary-score p{font-size:12px}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.summary-grid>div{padding:12px;border:1px solid var(--line);border-radius:10px;font-size:11px;color:var(--muted)}.summary-grid strong{display:block;font-size:21px;color:var(--ink)}.summary-notes{margin-top:20px;border-top:1px solid var(--line);padding-top:15px}.summary-notes p{font-size:12px}.lock-screen{min-height:100vh;display:grid;place-items:center;padding:25px}.lock-screen .auth-card{text-align:center}.lock-screen .auth-icon{margin:auto}.lock-screen .field{text-align:right}.prose{max-width:850px;padding-block:60px 100px}.prose h1{font-size:40px;margin:15px 0 25px}.prose h2{font-size:23px;margin:30px 0 12px}.prose p{font-size:15px;margin-bottom:15px}.prose a{color:var(--navy);text-decoration:underline}.admin-main{padding-block:20px 70px}.admin-main h1{font-size:32px}.admin-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:22px;margin-top:25px}.admin-search{display:flex;gap:12px;margin:18px 0}.search-input{flex:1;min-width:0}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}th,td{text-align:right;padding:13px 10px;border-bottom:1px solid var(--line)}th{font-size:10px;color:var(--muted);font-weight:600;background:var(--bg)}td small{display:block;font-size:10px;color:var(--muted)}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:18px;font-size:11px}.status-line{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:14px 0;font-size:12px}.status-good{color:var(--green)}.status-pending{color:#9c6b29}.code-command{direction:ltr;display:block;text-align:left;overflow-wrap:anywhere;font-family:monospace;font-size:11px;padding:13px;background:var(--future);border-radius:9px;margin:15px 0}.admin-login{margin:50px auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
html[data-theme=dark]{--bg:#14242d;--card:#1c303b;--ink:#e0e9e9;--muted:#a0b3bb;--line:#344953;--navy:#a7cce6;--orange:#ecab62;--orange-pale:#3b3326;--green:#b3d7bd;--green-bg:#284b3f;--yellow:#e5ce8a;--yellow-bg:#4b432b;--red:#dfaaa2;--red-bg:#4b3334;--future:#263a43;color-scheme:dark}html[data-theme=dark] .button{background:#174f75;color:#fff}html[data-theme=dark] .button.orange{background:var(--orange);color:#203443}html[data-theme=dark] .button.outline{background:transparent;color:var(--ink)}html[data-theme=dark] .brand img{background:#fff;border-radius:4px;padding:3px}html[data-theme=dark] .side-nav button.active,html[data-theme=dark] .goal-list-item.active,html[data-theme=dark] .day-cell.current{background:#28485b}html[data-theme=dark] .today-card{background:#3b3429;border-color:#534939}html[data-theme=dark] .today-card p,html[data-theme=dark] .today-card .eyebrow{color:#d9bd94}html[data-theme=dark] .end-banner{background:#2a4235;border-color:#446150}html[data-theme=dark] .choice.selected{background:#29495a}html[data-theme=dark] .toast{background:#e0e9e9;color:#17394d}
@media(min-width:1550px){.day-grid{grid-template-columns:repeat(15,minmax(0,1fr))}.dashboard-layout{grid-template-columns:minmax(0,1fr) 270px}}
@media(max-width:1250px){.hero{gap:40px}.hero h1{font-size:68px}.app-shell{padding-right:215px}.sidebar{width:215px;padding-inline:16px}.app-main{padding-inline:28px}.app-topbar{padding-inline:28px}.dashboard-layout{grid-template-columns:minmax(0,1fr) 210px;gap:17px}.panel{padding:20px}.day-grid{gap:6px}.side-column .panel{padding:19px}.stats-row{gap:8px}.stat-card{padding:13px}.stat-card strong{font-size:24px}.auth-layout{gap:60px}}
@media(max-width:1050px){.marketing-nav nav{display:none}.hero{gap:25px;padding-block:35px 80px;min-height:600px}.hero h1{font-size:58px}.hero-description{font-size:16px}.hero-actions .button{padding:13px 17px;font-size:13px}.preview-card{padding:23px}.sample-grid{gap:4px}.preview-header h2{font-size:17px}.preview-progress{margin:20px 0 15px}.hero-promises{gap:12px;font-size:10px}.label-bottom{left:-10px}.label-top{right:0}.section-heading h2{font-size:34px}.feature-grid{grid-template-columns:1fr 1fr}.feature-grid .feature-large{grid-column:span 2;grid-row:auto}.feature-large h3 br{display:none}.feature-large .mini-journey{max-width:340px}.faq-section{gap:50px}.dashboard-layout{grid-template-columns:1fr}.side-column{grid-template-columns:1fr 1fr}.side-column .reflection{display:none}.day-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}.day-cell{font-size:12px}.goal-cards{grid-template-columns:repeat(2,1fr)}.settings-grid,.admin-grid{grid-template-columns:1fr}.side-nav button .count{display:none}.greeting h1{font-size:24px}.date-label{display:none}.auth-story h1{font-size:38px}}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.marketing-nav{min-height:87px;gap:10px}.brand{gap:10px}.brand img{width:65px}.brand-name{font-size:23px}.brand-name>span{font-size:8px;letter-spacing:2px}.brand-divider{height:28px}.nav-actions .text-link{display:none}.nav-actions .button{font-size:12px;min-height:40px;padding:9px 13px}.hero{display:flex;flex-direction:column;gap:40px;padding-top:35px;padding-bottom:65px;align-items:stretch}.hero h1{font-size:65px;line-height:1.3;margin:17px 0 23px}.hero-description{font-size:16px;line-height:1.9;margin-bottom:24px}.hero-actions .button{font-size:13px;padding:14px 20px}.hero-promises{font-size:10px;gap:16px}.hero-visual{width:calc(100% - 18px);margin:10px auto 0;padding:32px 0}.preview-card{transform:rotate(1.5deg);padding:21px}.preview-header h2{font-size:17px}.sample-grid{gap:5px}.label-top{font-size:10px;padding:10px 15px;top:0}.label-bottom{font-size:10px;padding:10px 13px;bottom:-5px}.orbit-line{display:none}.quiet-band .band-content{flex-wrap:wrap;gap:20px;justify-content:center;padding:22px 0;font-size:12px}.band-content>span{width:100%;text-align:center}.band-content svg{width:17px;height:17px}.section{padding-block:60px}.section-heading h2{font-size:32px}.section-heading p{font-size:13px}.steps{grid-template-columns:1fr;gap:10px;margin-top:20px}.steps article{border-bottom:1px solid var(--line);padding:20px 0 26px;display:grid;grid-template-columns:100px 1fr;column-gap:20px}.steps .step-art{grid-column:1;grid-row:1 / span 2;height:auto;min-height:95px;flex-wrap:wrap;gap:5px;margin:0}.step-number{left:0;right:auto;top:12px;font-size:10px}.steps h3{font-size:19px;grid-column:2;margin:7px 0}.steps p{grid-column:2;font-size:12px}.art-pill{font-size:8px;padding:4px 7px}.art-goal>span:first-child{width:42px;height:42px}.mini-cell{width:30px;height:34px;border-radius:6px;font-size:18px}.art-chart i{width:9px}.feature-grid{gap:13px;margin-top:30px}.feature-grid article{padding:21px}.feature-grid h3:not(.feature-large h3){font-size:16px;margin:13px 0 10px}.feature-grid p{font-size:12px}.feature-grid .feature-large{padding:29px}.feature-large h3{font-size:29px}.faq-section{grid-template-columns:1fr;gap:20px}.faq-list summary{font-size:14px}.faq-list p{font-size:12px}.final-cta{padding:29px;display:block}.final-cta h2{font-size:28px;margin-bottom:25px}.footer{gap:22px;padding-block:36px}.footer p{width:50%;font-size:10px}.footer>div{width:100%;justify-content:center}.auth-header{min-height:90px}.auth-header .text-link{font-size:11px}.auth-layout{display:block;padding-block:10px 45px;min-height:auto}.auth-story{display:none}.auth-card{padding:28px;max-width:100%;margin:20px auto}.auth-card h2{font-size:26px}.app-shell{padding:0 0 85px}.sidebar{display:none}.app-topbar{height:68px;padding:0 19px}.breadcrumb{font-size:11px}.app-main{padding:24px 18px 25px}.greeting{gap:15px;align-items:flex-start;margin-bottom:22px}.greeting h1{font-size:24px}.greeting p{font-size:11px;max-width:230px}.greeting .button{font-size:11px;padding:9px 12px;min-height:41px;gap:6px;white-space:nowrap;flex-shrink:0}.greeting .button svg{width:16px;height:16px}.topbar-actions{gap:6px}.topbar-actions .avatar{width:30px;height:30px;font-size:12px}.dashboard-layout{gap:18px}.panel{padding:20px 17px;border-radius:17px}.goal-heading h2{font-size:22px}.goal-heading p{font-size:11px}.goal-badge{font-size:9px}.goal-actions .icon-button{min-width:33px;min-height:33px}.goal-actions svg{width:17px;height:17px}.goal-meta{font-size:10px;margin-top:18px;gap:5px}.goal-meta strong{font-size:20px}.day-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.day-cell{font-size:12px;border-radius:9px;min-height:42px}.panel .grid-legend{gap:12px;font-size:9px;line-height:1.5}.daily-checkin{margin-top:19px;padding-top:18px}.checkin-buttons{gap:8px}.checkin-buttons button{font-size:12px;min-height:48px}.stats-row{grid-template-columns:repeat(2,1fr);gap:12px;margin-top:17px}.stat-card{padding:16px}.stat-card .stat-label{font-size:11px}.stat-card strong{font-size:29px}.stat-card small{font-size:10px}.side-column{grid-template-columns:1fr}.side-column .today-card{display:none}.goals-list{grid-template-columns:1fr 1fr}.goal-list-item strong{max-width:140px}.mobile-nav{position:fixed;display:flex;bottom:0;left:0;right:0;background:var(--card);border-top:1px solid var(--line);padding:7px 10px calc(7px + env(safe-area-inset-bottom));z-index:40;justify-content:space-around}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:3px;background:transparent;color:var(--muted);font-size:9px;min-width:60px;min-height:51px;justify-content:center}.mobile-nav button.active{color:var(--navy)}.mobile-nav button svg{width:21px;height:21px}.mobile-nav button.active:before{content:'';position:absolute;top:0;width:24px;height:3px;background:var(--orange);border-radius:0 0 3px 3px}.toast{bottom:90px;font-size:12px;padding:12px 18px}.goal-cards{grid-template-columns:1fr}.settings-grid{gap:17px}.settings-grid h2{font-size:19px}.settings-grid p{font-size:12px}.settings-stack{gap:17px}.demo-banner{font-size:10px;padding:8px 14px;gap:6px}.demo-banner a{white-space:nowrap}.form-row{gap:12px}.choice{padding:8px 12px;font-size:12px}.dialog-actions{margin-top:20px}#modal-content{padding:23px 20px}.modal-header h2{font-size:21px}.weekly-chart{gap:8px}.week-bar small{font-size:8px}.admin-nav{min-height:90px;gap:10px}.admin-nav .soft-chip{display:none}.admin-main h1{font-size:27px}.admin-search{flex-wrap:wrap}.admin-search .button{padding-inline:18px}.admin-main .stats-row{margin-top:24px}.prose{padding-top:30px}.prose h1{font-size:31px}.prose h2{font-size:21px}.prose p{font-size:14px}.empty-state{padding:40px 15px}.empty-state h2{font-size:23px}.empty-state p{font-size:13px}.lock-screen .auth-card{max-width:400px}.desktop-only{display:none}}
@media(max-width:360px){.hero h1{font-size:57px}.hero-actions{gap:9px}.hero-actions .button{padding-inline:15px}.hero-promises{gap:10px}.preview-card{padding:18px}.preview-header h2{font-size:15px}.day-grid{gap:6px}.day-cell{min-height:38px}.grid-legend{gap:10px}.form-row{grid-template-columns:1fr}.goal-heading h2{font-size:20px}.app-main{padding-inline:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.mobile-nav,.app-topbar,.greeting .button,.daily-checkin,.side-column,.demo-banner,.toast,.goal-actions{display:none!important}.app-shell{padding:0}.app-main{padding:0}.panel,.stat-card{break-inside:avoid;box-shadow:none}.dashboard-layout{display:block}.day-grid{grid-template-columns:repeat(15,1fr)}body{background:white;color:#17394d;-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Date navigation and check-in always share the selected day. */
.today-context{display:grid;gap:4px;margin-top:22px;padding:14px 16px;border-radius:12px;background:var(--bg);border:1px solid var(--line)}
.today-context strong{font-size:13px}.today-context>span{font-size:12px;color:var(--muted)}
.day-view-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px;flex-wrap:wrap}
.day-view-switch{display:flex;gap:4px;background:var(--bg);border:1px solid var(--line);padding:4px;border-radius:11px}
.day-view-switch button{min-height:44px;padding:8px 14px;font-size:12px;color:var(--muted);background:transparent;border-radius:8px}
.day-view-switch button[aria-pressed=true]{background:var(--card);color:var(--ink);box-shadow:0 1px 4px #16394b15;font-weight:700}
.jump-today{min-height:44px;font-size:12px}.calendar-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:12px}
.calendar-heading strong{font-size:17px}.calendar-heading .icon-button{min-width:44px;min-height:44px;font-size:20px}
.calendar-heading button:disabled{opacity:.3;cursor:default}
.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;direction:rtl}
.calendar-weekdays{margin-bottom:10px;color:var(--muted);font-size:11px;text-align:center}
.calendar-cell{min-height:50px;font-size:14px;flex-direction:column;gap:0;aspect-ratio:1.15}
.calendar-cell em{font-style:normal;font-size:9px;line-height:1.2}
.calendar-cell small{font-size:10px;top:2px;right:5px}
.calendar-outside{display:grid;place-items:center;color:var(--muted);opacity:.5;font-size:13px;min-height:44px}
.day-cell.selected-day{outline:2px solid var(--orange);outline-offset:2px;z-index:1}
.day-cell:focus-visible{outline:3px solid var(--navy);outline-offset:3px;z-index:2}
html[data-theme] .day-cell.current.done{background:var(--green-bg);color:var(--green)}
html[data-theme] .day-cell.current.partial{background:var(--yellow-bg);color:var(--yellow)}
html[data-theme] .day-cell.current.missed{background:var(--red-bg);color:var(--red)}
.daily-checkin{border:1px solid var(--line);border-radius:14px;padding:18px;background:var(--bg);scroll-margin-bottom:95px}
.checkin-heading>div{min-width:0}.checkin-heading .eyebrow{font-size:10px;color:var(--muted)}
.checkin-heading h3{font-size:19px;line-height:1.5;scroll-margin-bottom:150px}.checkin-heading h3 span{font-weight:400;font-size:12px}
.checkin-heading p{font-size:12px;margin:4px 0 0}.checkin-heading .entry-state{border-radius:7px;padding:5px 8px;font-size:11px;white-space:nowrap;background:var(--card);border:1px solid var(--line)}
.checkin-heading .entry-state.done{background:var(--green-bg);color:var(--green)}.checkin-heading .entry-state.partial{background:var(--yellow-bg);color:var(--yellow)}.checkin-heading .entry-state.missed{background:var(--red-bg);color:var(--red)}
.selected-note{margin-top:13px;font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;max-height:120px;overflow:auto}.selected-note svg{width:14px;height:14px;vertical-align:middle}
.daily-checkin .helper-line{font-size:11px;line-height:1.8}.day-cell:hover:not(:disabled){transform:none}
@media(max-width:760px){.calendar-cell{min-height:46px;aspect-ratio:1;font-size:13px}.calendar-weekdays,.calendar-grid{gap:7px}.calendar-weekdays{font-size:10px}.daily-checkin{padding:14px 12px}.checkin-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}.checkin-buttons{grid-template-columns:1fr 1fr 44px}.checkin-buttons button{font-size:11px;gap:5px}.day-view-switch button{padding-inline:11px}.today-context{padding:12px}.today-context strong{font-size:12px}.today-context>span{font-size:11px}}
@media(max-width:360px){.calendar-weekdays,.calendar-grid{gap:5px}.calendar-cell{min-height:43px}.day-view-toolbar{gap:8px}.jump-today{padding-inline:10px}.day-view-switch button{padding-inline:9px}}
@media(prefers-reduced-motion:reduce){.day-cell{transition:none}}
@media print{.day-view-toolbar,.calendar-heading button{display:none!important}}

/* Offline and per-account synchronization */
.sync-bar{display:flex;align-items:center;gap:12px;padding:12px 16px;margin-bottom:24px;border:1px solid var(--line,#e2e8e5);background:var(--surface,#fff);border-radius:16px;color:var(--muted,#64766f);font-size:12px}.sync-bar>span:nth-child(2){flex:1}.sync-bar .button{white-space:nowrap}.sync-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#77a98d}.sync-dot.pending{background:#d7ac50}.sync-versions{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sync-versions section{padding:16px;border:1px solid var(--line,#e2e8e5);border-radius:14px;overflow-wrap:anywhere}.sync-versions p{font-size:12px}.sync-versions h3{margin-top:0}@media(max-width:600px){.sync-bar{gap:8px;padding:10px;font-size:11px}.sync-bar .button{font-size:10px;padding:8px}.sync-versions{grid-template-columns:1fr}}

/* Khatwa 1.3: goal-first daily workspace. */
.simple-app .app-main{max-width:1100px;padding-top:24px}.simple-app .greeting{margin-bottom:26px}.simple-app .greeting h1{font-size:30px}.simple-app .greeting p{font-size:15px}.simple-app .icon-button{min-width:44px;min-height:44px}.simple-app .sync-bar{padding:7px 0;background:none;border:0;margin:0 0 15px;font-size:12px}.simple-app .sync-bar .button{margin-inline-start:auto;min-height:32px;padding:3px 10px;font-size:12px}.simple-app .side-tip{background:none;border:0;padding:12px 0}.simple-app .side-tip h4,.simple-app .side-tip p,.simple-app .side-tip>svg{display:none}.simple-app .side-nav button{font-size:15px}.simple-app .app-topbar{border-bottom:1px solid var(--line);background:var(--card)}
.goal-workspace{max-width:900px;margin:auto}.workspace-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.goal-picker{display:flex;align-items:center;gap:12px;max-width:75%;min-width:0}.goal-picker>span{white-space:nowrap;color:var(--muted);font-size:12px}.goal-picker select{min-height:44px;min-width:0;max-width:100%;background:transparent;color:var(--ink);border:0;font-weight:700;font-size:14px;padding:5px}.simple-app .goal-panel{padding:28px;border-radius:24px}.simple-app .goal-heading{margin-bottom:20px}.simple-app .goal-heading h1{font-size:30px;margin:10px 0 6px}.simple-app .goal-heading p{font-size:14px}.simple-app .goal-badge{font-size:12px}.simple-app .today-context{padding:13px 16px;background:var(--future);margin:0 0 20px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-radius:12px}.simple-app .today-context strong{font-size:15px}.simple-app .today-context span{font-size:13px}.simple-app .day-view-toolbar{margin:0 0 20px}.simple-app .day-view-switch{padding:4px;background:var(--future);border:0;border-radius:12px;gap:4px}.simple-app .day-view-switch button{min-height:44px;min-width:100px;padding:8px 14px;display:flex;justify-content:center;align-items:center;gap:7px;font-size:14px;border-radius:9px;color:var(--muted)}.simple-app .day-view-switch button[aria-pressed=true]{background:var(--card);color:var(--navy);box-shadow:0 2px 5px #0000000c}.simple-app .day-view-switch svg{width:18px;height:18px}.simple-app .day-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:9px}.simple-app .day-cell{min-height:44px;border-radius:11px;font-size:15px;position:relative;aspect-ratio:1.15}.simple-app .day-cell small{font-size:11px}.simple-app .day-cell.current{outline:2px solid var(--navy);outline-offset:2px}.simple-app .day-cell.selected-day{box-shadow:inset 0 0 0 2px var(--navy);transform:none}.simple-app .day-cell.current:after{content:'';position:absolute;top:5px;right:5px;background:var(--navy);border-radius:50%;width:5px;height:5px}.simple-app .day-cell.calendar-cell{aspect-ratio:1.6}.simple-app .grid-legend{margin:20px 0;gap:10px 20px;justify-content:center;font-size:12px}.goal-result{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);padding-top:20px;gap:12px;text-align:center}.goal-result>div{display:grid;gap:1px}.goal-result>div+div{border-inline-start:1px solid var(--line)}.goal-result strong{font-size:25px;font-weight:800;line-height:1.5}.goal-result span{font-size:12px;color:var(--muted)}.goal-footnote{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 4px;color:var(--muted);font-size:12px}.goal-footnote svg{width:16px;height:16px;margin-inline-end:4px}.goal-footnote button{background:transparent;min-height:44px;color:var(--navy)}
.simple-app.with-checkin .app-main{padding-bottom:215px}.simple-app .fixed-checkin{position:fixed;z-index:35;bottom:18px;left:calc(50% - 122px);transform:translateX(-50%);width:min(900px,calc(100% - 310px));margin:0;background:var(--card);border:1px solid var(--line);border-radius:20px;padding:14px 18px;box-shadow:0 4px 40px #17394d18}.simple-app .checkin-heading{display:flex;align-items:center;gap:12px;margin:0 0 10px}.simple-app .checkin-heading h3{font-size:14px;flex:1;min-width:0;line-height:1.6}.simple-app .checkin-heading h3 span{font-size:12px;font-weight:400;color:var(--muted)}.simple-app .entry-state{font-size:12px;padding:3px 10px;white-space:nowrap}.simple-app .checkin-heading .text-link{background:none;color:var(--navy);min-height:30px;font-size:12px}.simple-app .checkin-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.simple-app .checkin-buttons button{min-height:54px;display:flex;align-items:center;justify-content:center;gap:9px;padding:8px 6px;border:1px solid transparent;border-radius:12px;font-size:14px;font-weight:700;line-height:1.5;transition:filter .15s,box-shadow .15s}.simple-app .checkin-buttons button:hover{filter:brightness(.97)}.simple-app .checkin-buttons .check-done{background:var(--green-bg);color:var(--green)}.simple-app .checkin-buttons .check-partial{background:var(--yellow-bg);color:var(--yellow)}.simple-app .checkin-buttons .check-missed{background:var(--red-bg);color:var(--red)}.simple-app .checkin-buttons .note-button{background:var(--future);color:var(--ink)}.simple-app .checkin-buttons button.selected{border-color:currentColor;box-shadow:inset 0 0 0 1px currentColor}.simple-app .selected-note{margin:8px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;max-height:24px;padding:0;background:none}.simple-app .note-button.has-note{border-color:var(--navy)}body:has(.with-checkin) .toast{bottom:185px}.simple-app .jump-today{min-height:44px}
.simple-app .goal-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.simple-app .goal-card{padding:0;overflow:hidden;box-shadow:none;border-radius:20px;display:flex;flex-direction:column}.goal-card-open{display:flex;flex-direction:column;align-items:stretch;flex:1;text-align:start;background:none;color:var(--ink);padding:23px;min-height:255px;width:100%;gap:10px}.goal-card-open:hover{background:var(--future)}.goal-card-open:focus-visible{outline-offset:-5px}.card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.simple-app .goal-card .icon-tile{margin:0;width:45px;height:45px;border-radius:13px}.simple-app .goal-card h2{font-size:19px;line-height:1.7;margin:3px 0 0;overflow-wrap:anywhere}.goal-card-open>.muted{font-size:12px}.card-progress-label{display:flex;justify-content:space-between;font-size:12px;margin-top:auto;padding-top:12px}.simple-app .goal-card .journey-progress{display:block;height:7px;margin:0}.card-open-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700;margin-top:5px;color:var(--navy)}.card-open-label svg{width:17px}.card-secondary{border-top:1px solid var(--line);min-height:46px;padding:3px 14px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--muted)}.card-secondary button{background:none;min-height:40px;font-size:12px;color:var(--muted)}.card-secondary svg{width:15px;height:15px}
.stats-simple{max-width:820px;margin:auto}.score-panel{display:flex;gap:30px;align-items:center;margin-bottom:18px;padding:27px}.score-number{font-size:68px;font-weight:800;line-height:1.3;color:var(--navy)}.score-number span{font-size:28px}.score-panel h2{font-size:23px}.score-panel p{font-size:15px}.score-panel .muted{font-size:12px}.status-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.status-card{display:grid;justify-items:center;gap:2px;padding:18px 8px;border-radius:17px}.status-card strong{font-size:32px;line-height:1.6}.status-card span{font-size:13px}.status-card.done{color:var(--green);background:var(--green-bg)}.status-card.partial{color:var(--yellow);background:var(--yellow-bg)}.status-card.missed{color:var(--red);background:var(--red-bg)}.streak-panel{display:grid;grid-template-columns:1fr 1fr;padding:22px;margin-bottom:18px}.streak-panel>div{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;gap:5px 12px}.streak-panel>div+div{border-inline-start:1px solid var(--line)}.streak-panel strong{font-size:27px}.streak-panel span{grid-column:1/-1;font-size:13px;color:var(--muted)}.streak-panel svg{color:var(--orange)}.recent-days{padding:24px}.recent-days h2{font-size:18px}.recent-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;text-align:center}.recent-grid>div{display:grid;gap:7px;justify-items:center;font-size:12px;color:var(--muted)}.recent-grid b{display:grid;place-items:center;min-height:44px;width:100%;border-radius:10px;background:var(--future);font-size:18px}.recent-grid b.done{background:var(--green-bg);color:var(--green)}.recent-grid b.partial{background:var(--yellow-bg);color:var(--yellow)}.recent-grid b.missed{background:var(--red-bg);color:var(--red)}.stats-explainer{font-size:13px;color:var(--muted);margin:16px 0 22px}.stats-explainer summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--ink)}.stats-explainer p{margin-top:6px}
.settings-simple{max-width:820px;margin-inline:auto}.setting-section{padding:26px;margin-bottom:18px}.setting-title{display:flex;gap:14px;align-items:center;margin-bottom:22px}.setting-title>svg{width:25px;height:25px;color:var(--navy)}.setting-title h2{font-size:20px}.setting-title p{font-size:13px;margin-top:3px}.settings-simple .field label{font-size:13px}.settings-simple .field small{font-size:12px}.settings-simple .field input,.settings-simple .field select{font-size:15px}.setting-toggle{justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:16px 0;margin:0}.setting-toggle>span{display:grid;gap:2px}.setting-toggle strong{font-size:14px}.setting-toggle small{font-size:12px;color:var(--muted)}.setting-toggle input{width:24px;height:24px}.notification-row{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid var(--line);padding-top:16px}.notification-row strong{font-size:14px}.notification-row p{font-size:12px}.settings-details{margin-top:15px;border-top:1px solid var(--line);padding-top:4px;font-size:13px}.settings-details summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--muted)}.settings-details p{margin:8px 0 14px}.settings-details .field{margin-top:12px}.account-email{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;border-top:1px solid var(--line);padding-top:15px;font-size:13px}.account-email span{color:var(--muted)}.account-email b{overflow-wrap:anywhere;min-width:0}.settings-save{margin:4px 0 24px;min-height:52px}.device-section .status-line{padding-top:20px;margin-top:20px;border-top:1px solid var(--line);font-size:12px}.simple-app .field:has(select){min-width:0}
@media(max-width:1250px){.simple-app .fixed-checkin{left:calc(50% - 107.5px);width:calc(100% - 270px)}.simple-app .goal-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.simple-app .app-main{padding:18px 16px 28px}.simple-app.with-checkin .app-main{padding-bottom:185px}.simple-app .app-topbar{height:60px;padding-inline:18px}.simple-app .breadcrumb{font-size:13px}.simple-app .greeting{gap:15px}.simple-app .greeting h1{font-size:26px}.simple-app .greeting p{font-size:13px}.simple-app .greeting>.button{padding-inline:12px;min-height:44px;flex-shrink:0}.workspace-tools{gap:10px;margin-bottom:12px}.goal-picker{max-width:68%;gap:4px}.goal-picker>span{display:none}.goal-picker select{font-size:13px}.workspace-tools>.button{padding-inline:10px;white-space:nowrap;font-size:12px}.simple-app .goal-panel{padding:20px 15px;border-radius:20px}.simple-app .goal-heading h1{font-size:25px}.simple-app .goal-heading p{font-size:13px}.simple-app .goal-heading{gap:10px;margin-bottom:16px}.simple-app .goal-badge{font-size:12px}.simple-app .today-context{display:grid;gap:2px;padding:12px;margin-bottom:16px}.simple-app .today-context strong{font-size:15px}.simple-app .today-context span{font-size:12px}.simple-app .day-view-toolbar{margin-bottom:20px;gap:8px}.simple-app .day-view-switch button{min-width:76px;font-size:13px;padding-inline:8px}.simple-app .jump-today{font-size:12px;padding-inline:10px}.simple-app .day-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.simple-app .day-cell{aspect-ratio:1;min-height:44px;border-radius:9px;font-size:14px}.simple-app .calendar-grid{gap:6px}.simple-app .day-cell.calendar-cell{aspect-ratio:1;min-height:44px}.simple-app .grid-legend{gap:10px;font-size:11px;justify-content:space-between;margin:18px 0}.simple-app .grid-legend i{width:8px;height:8px}.goal-result{gap:8px;padding-top:15px}.goal-result strong{font-size:23px}.goal-result span{font-size:11px}.goal-footnote{font-size:12px;line-height:1.8;padding:15px 5px;gap:2px}.simple-app .fixed-checkin{left:0;right:0;transform:none;bottom:calc(66px + env(safe-area-inset-bottom));width:100%;padding:11px 13px 12px;border-radius:17px 17px 0 0;border-bottom:0;box-shadow:0 -6px 28px #17394d12}.simple-app .checkin-heading{gap:7px;margin-bottom:9px}.simple-app .checkin-heading h3{font-size:13px}.simple-app .checkin-heading h3 span{font-size:11px}.simple-app .entry-state{font-size:11px;padding:2px 7px}.simple-app .checkin-buttons{gap:8px}.simple-app .checkin-buttons button{min-height:56px;flex-direction:column;gap:2px;font-size:12px;padding:7px 3px;border-radius:10px}.simple-app .checkin-buttons svg{width:19px;height:19px}.simple-app .selected-note{font-size:11px;margin-top:5px;max-height:20px}.simple-app .mobile-nav{padding:7px 10px calc(7px + env(safe-area-inset-bottom));height:calc(66px + env(safe-area-inset-bottom));z-index:40}.simple-app .mobile-nav button{font-size:12px;min-height:51px;line-height:1.4}.simple-app .mobile-nav button span{font-size:11px}.simple-app .mobile-nav svg{width:21px;height:21px}body:has(.with-checkin) .toast{bottom:calc(215px + env(safe-area-inset-bottom));font-size:12px}.simple-app .goal-cards{gap:12px}.goal-card-open{padding:16px 13px;min-height:235px;gap:8px}.simple-app .goal-card h2{font-size:17px}.simple-app .goal-card .icon-tile{width:37px;height:37px}.simple-app .goal-card .soft-chip{font-size:10px;padding:3px 6px}.card-secondary{font-size:11px;padding-inline:7px}.card-secondary button{font-size:11px}.score-panel{gap:22px;padding:22px 20px}.score-number{font-size:54px}.score-panel h2{font-size:21px}.score-panel p{font-size:13px}.status-cards{gap:10px}.status-card{padding:15px 5px}.status-card strong{font-size:29px}.status-card span{font-size:12px}.status-card svg{width:19px;height:19px}.streak-panel{padding:18px 12px}.streak-panel span{font-size:12px}.recent-days{padding:20px 14px}.recent-grid{gap:6px}.recent-grid>div{font-size:11px}.recent-grid b{min-height:40px}.setting-section{padding:22px 18px;border-radius:20px}.setting-title{gap:10px}.setting-title h2{font-size:20px}.setting-title p{font-size:12px}.settings-simple .form-row{grid-template-columns:1fr;gap:0}.settings-simple .inline-actions{gap:8px}.settings-simple .inline-actions>.button{font-size:12px;padding-inline:12px;min-height:44px}.notification-row>.button{padding-inline:12px;min-height:44px}.simple-app .calendar-heading{margin-bottom:14px}}
@media(max-width:370px){.simple-app .app-main{padding-inline:12px}.simple-app .day-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.simple-app .calendar-grid{gap:3px}.simple-app .calendar-cell{min-height:40px!important}.simple-app .day-view-switch button{min-width:67px}.simple-app .day-view-switch svg{display:none}.simple-app .goal-panel{padding-inline:12px}.simple-app .checkin-heading h3 span{font-size:10px}.simple-app .goal-cards{grid-template-columns:1fr}.goal-card-open{min-height:230px}.simple-app .grid-legend{gap:7px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.simple-app *{scroll-behavior:auto!important;transition:none!important}}
@media print{.simple-app .fixed-checkin,.simple-app .workspace-tools{display:none}.simple-app.with-checkin .app-main{padding-bottom:0}}

.toast{visibility:hidden;opacity:0;pointer-events:none}.toast.show{visibility:visible;opacity:1}
.simple-app .day-cell.current:after{content:none}.simple-app .day-cell.current.has-note:after{content:"";top:auto;right:auto;left:4px;bottom:4px;background:currentColor}
html[data-theme=dark] .simple-app .day-cell.current.done{background:var(--green-bg);color:var(--green)}html[data-theme=dark] .simple-app .day-cell.current.partial{background:var(--yellow-bg);color:var(--yellow)}html[data-theme=dark] .simple-app .day-cell.current.missed{background:var(--red-bg);color:var(--red)}

@media(max-width:370px){.simple-app .checkin-buttons button{font-size:11px}.simple-app .goal-heading h1{font-size:23px}.simple-app .goal-heading{margin-bottom:12px}}

/* Compact goal header: the goal name is shown once in the switcher. */
.simple-app .workspace-tools{align-items:flex-end;gap:12px;margin-bottom:12px}
.simple-app .goal-picker{display:flex;flex-direction:column;align-items:stretch;gap:3px;max-width:none;flex:1;min-width:0}
.simple-app .goal-picker>span{display:block;font-size:12px;font-weight:600;color:var(--muted)}
.simple-app .goal-picker select{display:block;width:100%;max-width:100%;min-height:44px;padding:7px 12px;font-size:18px;line-height:1.5;background:var(--card);border:1px solid var(--line);border-radius:11px;cursor:pointer;text-overflow:ellipsis}
.simple-app .workspace-tools>.button{flex-shrink:0;min-height:44px}
.simple-app .goal-compact-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-6px 0 12px;min-height:44px}
.simple-app .goal-day-summary{display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;min-width:0}
.simple-app .goal-day-summary strong{font-size:15px;line-height:1.6}
.simple-app .goal-kind{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.simple-app .goal-kind svg{width:15px;height:15px}
.simple-app .goal-compact-heading>.icon-button{width:44px;height:44px;min-width:44px;flex-shrink:0}
@media(max-width:700px){.simple-app .goal-panel{padding-top:16px}.simple-app .goal-picker select{font-size:16px;padding-inline:9px}.simple-app .goal-compact-heading{margin:-6px 0 10px}.simple-app .goal-day-summary{gap:2px 10px}.simple-app .goal-day-summary strong{font-size:14px}.simple-app .goal-kind{font-size:11px}.simple-app .day-view-toolbar{margin-bottom:16px}}
@media print{.simple-app .goal-panel>h1.sr-only{position:static;width:auto;height:auto;clip:auto;white-space:normal;font-size:22px;margin-bottom:12px}}

@media(max-width:370px){.simple-app .workspace-add{width:44px;padding:0}.simple-app .workspace-add>span{display:none}}
/* 1.4 — calm surfaces, shared choice controls, and logical bilingual layout. */
:root{--surface:#f0f4f5;--focus:#17638d;--input-line:#cbd7dc;--choice-bg:#eaf2f7;--popover-shadow:0 16px 48px #16394b24;--sidebar-size:244px}
html[data-theme=dark]{--bg:#101c28;--card:#172735;--surface:#1d3040;--ink:#edf3f7;--muted:#b1c2cf;--line:#304555;--input-line:#486171;--navy:#9bd2f3;--focus:#9bd2f3;--orange:#f6b56e;--orange-pale:#342d26;--green:#b4dec4;--green-bg:#254337;--yellow:#f0d394;--yellow-bg:#443c28;--red:#e9b7b2;--red-bg:#453035;--future:#213544;--choice-bg:#253f53;--popover-shadow:0 20px 60px #0006;color-scheme:dark}
.select-control{position:relative;min-width:0;width:100%}
.select-control>select[hidden]{display:none!important}
.select-trigger{width:100%;min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--card);color:var(--ink);border:1px solid var(--input-line);border-radius:14px;padding:10px 14px;font:inherit;font-size:14px;text-align:start;cursor:pointer;transition:border-color .16s,background .16s,box-shadow .16s}
.select-trigger:hover{background:var(--surface);border-color:var(--muted)}
.select-trigger[aria-expanded=true]{border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb,var(--focus) 12%,transparent)}
.select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.select-chevron{display:grid;place-items:center;flex:0 0 24px;color:var(--muted);transition:transform .16s}
.select-chevron svg{width:22px;height:22px}
.select-trigger[aria-expanded=true] .select-chevron{transform:rotate(180deg)}
.select-popover{position:fixed;inset:auto;margin:0;z-index:200;padding:7px;border:1px solid var(--line);border-radius:18px;background:var(--card);color:var(--ink);box-shadow:var(--popover-shadow);overflow:auto;overscroll-behavior:contain;max-width:calc(100vw - 24px);scroll-padding:7px;box-sizing:border-box}
.select-popover[hidden]{display:none!important}
.select-option{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:48px;padding:12px 14px;border:0;border-radius:11px;background:transparent;color:var(--ink);font:inherit;font-size:14px;text-align:start;line-height:1.7;cursor:pointer}
.select-option+.select-option{margin-top:3px}
.select-option:hover,.select-option:focus-visible{background:var(--surface);outline:2px solid var(--focus);outline-offset:-2px}
.select-option[aria-selected=true]{background:var(--choice-bg);color:var(--navy);font-weight:700}
.option-check{flex:0 0 20px;text-align:center;font-weight:800}
.select-option:disabled,.select-trigger:disabled{opacity:.55;cursor:not-allowed}
.simple-app .goal-picker .select-trigger{min-height:54px;font-size:clamp(16px,1.5vw,20px);font-weight:800;border-color:var(--line);padding:10px 15px;border-radius:16px;background:var(--card)}
.simple-app .goal-picker{min-width:0;flex:1}
.language-field{max-width:100%;margin-top:10px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.field input,.field textarea,.search-input{border-color:var(--input-line);border-radius:12px;text-align:start}
.field input[type=email],.field input[type=number],.field input[type=time],.field input[inputmode=numeric]{direction:ltr}
.brand-divider{background:var(--line)}
.day-cell.future{color:var(--muted)}
.simple-app .fixed-checkin{backdrop-filter:blur(16px)}
html[data-theme=dark] .app-topbar,html[data-theme=dark] .sidebar{background:var(--card)}
html[data-theme=dark] .button{background:#26658d;color:#fff}
html[data-theme=dark] .button:hover{background:#3078a2}
html[data-theme=dark] .button.outline{background:transparent;color:var(--ink);border-color:var(--input-line)}
html[data-theme=dark] .button.outline:hover{background:var(--surface)}
html[data-theme=dark] .button.orange{background:var(--orange);color:#172735}
html[data-theme=dark] .demo-banner,html[data-theme=dark] .offline-banner,html[data-theme=dark] .avatar,html[data-theme=dark] .goal-badge,html[data-theme=dark] .auth-icon,html[data-theme=dark] .notice,html[data-theme=dark] .money-progress p,html[data-theme=dark] .side-tip svg{color:var(--orange)}
html[data-theme=dark] .side-label,html[data-theme=dark] .day-cell{color:var(--muted)}
html[data-theme=dark] .day-cell.done{color:var(--green)}
html[data-theme=dark] .day-cell.partial{color:var(--yellow)}
html[data-theme=dark] .day-cell.missed,html[data-theme=dark] .form-error{color:var(--red)}
html[data-theme=dark] .side-nav button.active,html[data-theme=dark] .goal-list-item.active,html[data-theme=dark] .choice.selected{background:var(--choice-bg);color:var(--navy)}
html[data-theme=dark] .money-progress .journey-progress{background:var(--surface)}
html[data-theme=dark] .fixed-checkin{box-shadow:0 -8px 36px #0004}
html[data-theme=dark] dialog::backdrop{background:#050b13b3;backdrop-filter:blur(5px)}
html[data-theme=dark] .brand img{border-radius:8px;padding:5px}
html[dir=ltr] .app-shell{padding-right:0;padding-left:var(--sidebar-size)}
html[dir=ltr] .sidebar{inset:0 auto 0 0;border-left:0;border-right:1px solid var(--line)}
html[dir=ltr] .simple-app .fixed-checkin{left:calc(50% + var(--sidebar-size)/2)}
html[dir=ltr] .brand-name{font-size:24px;letter-spacing:-.8px}
html[dir=ltr] .brand-name span{letter-spacing:3px}
html[dir=ltr] .calendar-heading>button{transform:scaleX(-1)}
html[dir=ltr] .greeting h1{letter-spacing:-.8px}
html[dir=ltr] .settings-simple,html[dir=ltr] .form-note{line-height:1.65}
@media(max-width:1250px){:root{--sidebar-size:215px}}
@media(max-width:760px){html[dir=ltr] .app-shell{padding-left:0;padding-right:0}html[dir=ltr] .simple-app .fixed-checkin{left:0;right:0}.select-option{min-height:50px}.select-popover{border-radius:18px}.simple-app .goal-picker .select-trigger{font-size:16px}html[dir=ltr] .mobile-nav button{font-size:10px}html[dir=ltr] .checkin-buttons button{gap:5px}}
@media(prefers-reduced-motion:reduce){.select-trigger,.select-chevron{transition:none}}

html[dir=ltr] .field{text-align:start}
html[dir=ltr] .field input{text-align:start}

html[dir=ltr] .day-grid,html[dir=ltr] .calendar-grid,html[dir=ltr] .calendar-weekdays{direction:ltr}
html[dir=ltr] .side-nav button,html[dir=ltr] .stat-card strong,html[dir=ltr] .goal-list-item{text-align:start}

.simple-app .goal-picker .select-value{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.45}

/* 1.4.1 — lighter, softer day colors requested after the dark preview. */
html[data-theme=dark]{--green:#183b2d;--green-bg:#a4cdb7;--yellow:#4b3916;--yellow-bg:#e1cd98;--red:#482b32;--red-bg:#d7afb5}
html[data-theme=dark] .simple-app .day-cell:not(.done):not(.partial):not(.missed){background:#203342;color:#b5c6d1}
html[data-theme=dark] .simple-app .day-cell.current{outline:2px solid #a7cfe5;outline-offset:3px;box-shadow:none;border-color:transparent}
html[data-theme=dark] .simple-app .day-cell.selected-day{box-shadow:none;outline:2px solid #d8e6ee;outline-offset:3px;border-color:transparent}
html[data-theme=dark] .simple-app .day-cell.current.selected-day{outline-color:#a7cfe5}
html[data-theme=dark] .simple-app .day-cell small{opacity:.85}
html[data-theme=dark] .simple-app .checkin-buttons button.selected{box-shadow:inset 0 0 0 2px currentColor;border-color:transparent}
html[data-theme=dark] .form-error{color:#edb8bf}
html[data-theme=dark] .status-good{color:#a4cdb7}
html[data-theme=dark] .status-pending{color:#e1cd98}

/* 1.5 — the days are the main workspace; profile and settings stay one tap away. */
.focused-app .day-cell.current,.focused-app .day-cell.selected-day{outline:2px solid var(--focus);outline-offset:2px;border-color:transparent;box-shadow:none}
.focused-app .day-cell.selected-day:not(.current){outline-color:var(--muted)}
.focused-app .field{scroll-margin-bottom:190px}
.focused-app .app-main{scroll-padding-bottom:180px}
.focused-app .app-topbar{height:68px;padding-inline:28px;gap:16px}
.topbar-brand{display:flex;align-items:center;gap:10px;min-width:0;font-size:21px;font-weight:800}
.topbar-brand img{width:32px;height:32px;border-radius:9px}
.topbar-brand small{font-size:12px;font-weight:600;color:var(--muted);border-inline-start:1px solid var(--line);padding-inline-start:14px;margin-inline-start:6px}
.focused-app .topbar-actions{gap:16px}
.focused-app .topbar-add{min-height:44px;padding:9px 17px;gap:8px;background:#125b8a;color:#fff;font-size:13px;border-radius:13px}
.focused-app .topbar-add:hover{background:#0e4b74;transform:none}
.profile-trigger{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0;background:transparent;color:var(--ink);text-align:start;border-radius:24px}
.profile-trigger .avatar{width:38px;height:38px;flex:0 0 38px;background:var(--choice-bg);color:var(--navy);font-size:15px;overflow:hidden;border:1px solid var(--line)}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.topbar-name{font-size:13px;font-weight:700;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.focused-app .sidebar{padding-top:28px}
.focused-app .side-nav{margin-top:36px}
.focused-app .side-user{gap:6px;justify-content:space-between}
.side-profile{flex:1;min-width:0}
.side-profile>span:last-child{min-width:0;display:grid}
.side-profile strong{max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.side-profile small{font-size:11px;color:var(--muted)}
.sidebar-install{display:flex;align-items:center;gap:10px;min-height:44px;margin-bottom:18px;padding:8px 12px;width:100%;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);font-size:13px}
.focused-app .app-main{padding:20px 28px 32px}
.focused-app.with-checkin .app-main{padding-bottom:180px}
.focused-app .demo-banner{font-size:11px;min-height:30px;padding:4px 28px;justify-content:space-between}
.focused-app .demo-banner a{display:flex;align-items:center;gap:8px}
.focused-app .demo-banner svg{width:15px;height:15px}
.focused-app .goal-panel{padding:16px 22px 22px;border-radius:22px}
.goal-title-row{display:flex;align-items:center;gap:10px;margin-bottom:12px;min-height:46px}
.focused-app .goal-picker{max-width:none;min-width:0;flex:1}
.focused-app .goal-picker>span.sr-only{display:block;position:absolute}
.focused-app .goal-picker .select-trigger{min-height:46px;padding:4px 2px;border:0;border-radius:10px;font-size:24px;font-weight:800;background:transparent;box-shadow:none;gap:14px}
.focused-app .goal-picker .select-trigger:hover{background:var(--surface)}
.focused-app .goal-picker .select-value{line-height:1.5}
.focused-app .goal-picker .select-chevron{width:28px;height:28px;flex-basis:28px;border-radius:50%;background:var(--surface);color:var(--navy)}
.goal-title-row>.icon-button{width:44px;height:44px;min-width:44px;border-radius:12px;color:var(--muted)}
.goal-title-row>.icon-button:hover{background:var(--surface);color:var(--ink)}
.focused-app .day-view-toolbar{margin-bottom:18px;flex-wrap:nowrap}
.focused-app .day-view-switch{border:0;background:var(--surface);border-radius:12px;padding:3px;gap:2px}
.focused-app .day-view-switch button{min-height:40px;border-radius:9px;font-size:13px;padding:7px 13px;min-width:90px}
.focused-app .day-view-switch svg{width:18px;height:18px;margin-inline-end:5px}
.focused-app .jump-today{border-color:transparent;background:transparent;padding-inline:6px;color:var(--muted)}
.focused-app .grid-legend{margin:18px 0 14px;font-size:12px}
.focused-app .goal-result{padding-top:14px}
.focused-app .goal-result strong{font-size:25px}
.focused-app .goal-result span{font-size:12px}
.focused-app .goal-footnote{padding-top:10px;font-size:12px}
.focused-app .fixed-checkin{padding:12px 18px 14px;border-radius:20px;max-width:1000px;background:var(--card);bottom:16px;margin-top:0}
.focused-app .checkin-heading{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin-bottom:9px;min-height:24px}
.focused-app .checkin-heading h3{font-size:13px;font-weight:600;line-height:1.6;margin:0}
.checkin-kind,.checkin-date{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--muted)}
.checkin-kind{border-inline-start:1px solid var(--line);padding-inline-start:12px}
.checkin-kind svg{width:14px;height:14px}
.checkin-date{margin-inline-start:auto}
.focused-app .checkin-heading .text-link{font-size:11px;min-height:32px}
.focused-app .checkin-buttons{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.focused-app .checkin-buttons button{min-height:48px;padding:8px 6px;flex-direction:row;gap:8px;font-size:13px;border-radius:12px}
.focused-app .checkin-buttons svg{width:20px;height:20px}
.focused-app .selected-note{margin-top:7px;max-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.focused-app .sync-bar{padding:6px 10px;margin-bottom:10px;font-size:11px;min-height:36px;gap:7px;border:0;background:var(--surface)}
.focused-app .sync-bar .button{font-size:11px;min-height:30px;padding:4px 8px;margin-inline-start:auto}
.compact-page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 22px}
.compact-page-heading h1{font-size:28px;margin:0;line-height:1.5}
.compact-page-heading p{font-size:13px;margin-top:3px}
.goals-total{font-size:27px;line-height:1.2;display:grid;text-align:center;color:var(--navy);font-weight:800}
.goals-total small{font-size:11px;font-weight:600;color:var(--muted);margin-top:6px}
.focused-app .goals-toolbar{margin-bottom:18px;gap:4px;display:inline-flex;background:var(--surface);padding:4px;border-radius:12px}
.focused-app .goals-toolbar .choice{border:0;border-radius:9px;min-height:40px;padding:7px 22px;background:transparent;color:var(--muted)}
.focused-app .goals-toolbar .choice.selected{background:var(--card);color:var(--navy);box-shadow:0 2px 6px #16394b0a}
.focused-app .goal-cards{gap:18px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.focused-app .goal-card{align-items:stretch;border-radius:20px;overflow:hidden;transition:border-color .16s,box-shadow .16s}
.focused-app .goal-card:hover{border-color:var(--input-line);box-shadow:0 8px 24px #17394d0a}
.focused-app .goal-card-open{min-height:230px;padding:20px;gap:8px}
.focused-app .goal-card h2{font-size:19px;line-height:1.6;margin-top:5px}
.card-day{font-size:12px;color:var(--muted)}
.focused-app .card-progress-label{padding-top:14px}
.focused-app .card-secondary{min-height:42px;font-size:11px;border-top:1px solid var(--line)}
.goal-add-card{border:1px dashed var(--input-line);background:transparent;color:var(--muted);border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:220px;transition:background .16s}
.goal-add-card:hover{background:var(--surface)}
.goal-add-card svg{width:34px;height:34px;background:var(--choice-bg);color:var(--navy);border-radius:12px;padding:7px;box-sizing:content-box}
.goal-add-card strong{font-size:16px;color:var(--ink)}
.goal-add-card span{font-size:12px}
.settings-layout{display:grid;grid-template-columns:175px minmax(0,760px);gap:24px;align-items:start;max-width:1000px;margin:auto}
.settings-tabs{display:grid;gap:8px;position:sticky;top:20px}
.settings-tabs button{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 16px;border-radius:13px;font-size:14px;text-align:start;background:transparent;color:var(--muted)}
.settings-tabs button.active{background:var(--choice-bg);color:var(--navy);font-weight:800}
.settings-tabs svg{width:21px;height:21px}
.focused-app .settings-simple{width:100%;max-width:none}
.focused-app .setting-section{padding:26px;border-radius:20px;margin:0 0 16px}
.focused-app .setting-title{margin-bottom:24px}
.focused-app .setting-title h2{font-size:20px}
.setting-subtitle{padding-top:23px;margin:23px 0 18px;border-top:1px solid var(--line)}
.setting-subtitle h3{font-size:16px}
.setting-subtitle p{font-size:12px;margin-top:3px}
.settings-save-row{position:sticky;bottom:16px;z-index:10;background:var(--card);border:1px solid var(--line);border-radius:15px;padding:10px 14px;display:flex;align-items:center;justify-content:flex-end;gap:14px;box-shadow:0 5px 25px #17394d0b}
.focused-app .settings-save{margin:0;min-height:46px;padding:9px 24px;font-size:14px;width:auto}
.settings-save-row .form-error{font-size:12px;flex:1;margin:0}
.profile-photo-editor{display:flex;align-items:center;gap:18px;margin-bottom:24px}
.profile-photo-editor .profile-photo{display:grid;place-items:center;width:80px;height:80px;font-size:30px;border-radius:26px;background:var(--choice-bg);color:var(--navy);overflow:hidden;border:1px solid var(--line)}
.profile-photo-editor>div:last-of-type{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.profile-photo-editor small{display:block;width:100%;font-size:12px;color:var(--muted)}
.photo-upload-label{cursor:pointer;min-height:44px!important;font-size:12px!important;white-space:nowrap}
.photo-remove{font-size:12px;min-height:44px;padding:7px;background:transparent;color:var(--muted)}
.photo-error:empty{display:none}
.profile-photo-editor .photo-error{font-size:12px;margin:0;width:100%}
.profile-photo-editor:focus-within .photo-upload-label{outline:2px solid var(--focus);outline-offset:3px}
dialog.goal-dialog{width:min(560px,calc(100vw - 28px));padding:0;max-height:calc(100dvh - 28px);overflow:hidden;border-radius:24px}
.goal-dialog #modal-content{display:flex;flex-direction:column;padding:0;max-height:min(780px,calc(100dvh - 28px));overflow:hidden}
.goal-dialog .modal-header{padding:22px 24px 16px;margin:0;flex:0 0 auto;border-bottom:1px solid var(--line);align-items:center}
.goal-dialog .modal-header h2{font-size:23px}
.goal-dialog .modal-header .icon-button{width:44px;height:44px;min-width:44px;border-radius:50%;background:var(--surface)}
#goal-form{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.goal-form-body{padding:20px 24px 16px;overflow-y:auto;min-height:0;overscroll-behavior:contain;scroll-padding-block:16px}
.goal-form-body .field{margin-bottom:18px}
.goal-form-body .field label{font-size:13px;margin-bottom:6px}
.goal-name-field input{font-size:17px;min-height:54px;background:var(--bg)}
.duration-label{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin-bottom:9px;font-weight:700}
.duration-label>span{font-size:11px;font-weight:400;color:var(--muted)}
.duration-picks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:20px}
.duration-picks>.choice{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:7px;border-radius:12px;font-size:17px;background:var(--card);border:1px solid var(--input-line);color:var(--ink)}
.duration-picks>.choice span{font-size:10px;color:var(--muted)}
.duration-picks>.choice.selected{background:var(--choice-bg);border-color:var(--focus);color:var(--navy)}
.duration-picks .custom-duration{margin:0}
.duration-picks .custom-duration input{min-height:48px;padding:8px;width:100%;font-size:16px;text-align:center}
.goal-extra{font-size:13px;border-top:1px solid var(--line)}
.goal-extra summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--muted)}
.goal-extra .field{margin-top:6px}
.goal-form-footer{padding:14px 24px max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--card);flex:0 0 auto;display:grid;gap:10px}
.goal-form-footer .button{min-height:50px}
.goal-form-footer .text-link{min-height:32px;background:transparent;color:var(--muted)}
.goal-form-body .form-error:empty{display:none}
.goal-form-body .form-error{font-size:13px}
@media(max-width:1250px){.focused-app .goal-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-layout{grid-template-columns:145px minmax(0,1fr);gap:18px}}
@media(max-width:760px){
 .focused-app .app-topbar{height:60px;padding-inline:14px;gap:10px}
 .focused-app .topbar-actions{gap:10px}
 .topbar-brand{gap:7px;font-size:20px}.topbar-brand img{width:29px;height:29px}.topbar-brand small,.topbar-name,.topbar-lock{display:none}
 .focused-app .topbar-add{font-size:12px;padding:8px 12px;gap:5px;min-height:42px}.focused-app .topbar-add svg{width:18px;height:18px}
 .profile-trigger .avatar{width:36px;height:36px;flex-basis:36px}
 .focused-app .demo-banner{padding:3px 14px;min-height:26px;font-size:10px}
 .focused-app .app-main{padding:12px 12px 24px}.focused-app.with-checkin .app-main{padding-bottom:154px}
 .focused-app .goal-panel{padding:12px 14px 18px;border-radius:18px}
 .goal-title-row{margin-bottom:8px;gap:4px;min-height:44px}
 .focused-app .goal-picker .select-trigger{font-size:20px;min-height:44px;gap:8px;padding-inline:0}
 .focused-app .goal-picker .select-value{-webkit-line-clamp:2}.focused-app .goal-picker .select-chevron{width:25px;height:25px;flex-basis:25px}
 .goal-title-row>.icon-button{width:40px;min-width:40px;height:44px}.goal-title-row>.icon-button svg{width:19px;height:19px}
 .focused-app .day-view-toolbar{margin-bottom:16px;gap:8px}
 .focused-app .day-view-switch button{min-width:79px;min-height:38px;padding:6px 9px;font-size:12px}
 .focused-app .day-view-switch svg{width:16px;height:16px;margin-inline-end:3px}
 .focused-app .jump-today{font-size:11px;padding-inline:2px;min-height:44px}
 .focused-app .day-grid{gap:8px}.focused-app .day-cell{font-size:15px;border-radius:10px;min-height:44px}
 .focused-app .grid-legend{font-size:11px;gap:8px;margin:16px 0 12px}
 .focused-app .goal-result{padding-top:12px;gap:5px}.focused-app .goal-result strong{font-size:23px}.focused-app .goal-result span{font-size:10px}
 .focused-app .goal-footnote{font-size:11px;padding:10px 4px;gap:0}
 .focused-app .fixed-checkin{left:0;right:0;width:100%;max-width:none;bottom:calc(66px + env(safe-area-inset-bottom));padding:9px 12px 11px;border-radius:18px 18px 0 0}
 .focused-app .checkin-heading{margin-bottom:7px;gap:3px 8px;min-height:21px}.focused-app .checkin-heading h3{font-size:12px}.checkin-kind{font-size:10px;padding-inline-start:8px}.checkin-kind svg{width:13px;height:13px}.checkin-date{display:none}
 .focused-app .checkin-buttons{gap:7px}.focused-app .checkin-buttons button{min-height:52px;font-size:11px;flex-direction:column;gap:2px;padding:6px 3px;border-radius:11px}.focused-app .checkin-buttons svg{width:18px;height:18px}
 .focused-app .selected-note{margin-top:5px;font-size:10px;max-height:18px}
 .compact-page-heading{margin:3px 2px 16px}.compact-page-heading h1{font-size:25px}.compact-page-heading p{font-size:12px}
 .goals-total{font-size:24px}.goals-total small{font-size:10px}
 .focused-app .goals-toolbar{margin-bottom:14px}.focused-app .goals-toolbar .choice{font-size:12px;min-height:38px;padding-inline:18px}
 .focused-app .goal-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .focused-app .goal-card-open{padding:15px 13px;min-height:214px;gap:7px}.focused-app .goal-card h2{font-size:16px;line-height:1.6}.focused-app .goal-card .icon-tile{width:34px;height:34px;border-radius:11px}.focused-app .goal-card .icon-tile svg{width:19px;height:19px}.focused-app .goal-card .soft-chip{font-size:9px;padding:3px 5px}.card-day{font-size:10px}.focused-app .card-progress-label{font-size:11px}.focused-app .card-open-label{font-size:10px}.focused-app .card-secondary{font-size:10px;min-height:40px}.focused-app .card-secondary button{font-size:10px}
 .goal-add-card{min-height:190px;gap:8px}.goal-add-card strong{font-size:14px}.goal-add-card span{font-size:11px}
 .settings-layout{display:block}.settings-tabs{display:flex;position:static;gap:4px;background:var(--surface);padding:4px;border-radius:14px;margin-bottom:14px;overflow:auto}
 .settings-tabs button{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;font-size:11px;padding:8px 6px;min-height:58px;border-radius:11px;text-align:center;white-space:nowrap}.settings-tabs svg{width:19px;height:19px}.settings-tabs button.active{background:var(--card);box-shadow:0 1px 6px #17394d0a}
 .focused-app .setting-section{padding:20px 17px;border-radius:18px}.focused-app .setting-title{gap:10px;margin-bottom:20px}.focused-app .setting-title h2{font-size:19px}.focused-app .setting-title p{font-size:12px}
 .settings-save-row{bottom:calc(76px + env(safe-area-inset-bottom));padding:9px 11px;border-radius:14px}.focused-app .settings-save{width:100%;font-size:13px;min-height:46px}.settings-save-row:has(.form-error:not(:empty)){flex-wrap:wrap}.settings-save-row .form-error{flex-basis:100%}
 .profile-photo-editor{gap:14px;margin-bottom:20px}.profile-photo-editor .profile-photo{width:68px;height:68px;border-radius:22px}.profile-photo-editor small{font-size:11px}
 dialog.goal-dialog{width:calc(100vw - 20px);border-radius:22px;max-height:calc(100dvh - 20px)}.goal-dialog #modal-content{max-height:calc(100dvh - 20px)}.goal-dialog .modal-header{padding:15px 18px 12px}.goal-dialog .modal-header h2{font-size:21px}.goal-form-body{padding:17px 18px 10px}.goal-form-body .field{margin-bottom:16px}.goal-form-footer{padding-inline:18px}.duration-picks{gap:7px}.duration-picks>.choice{font-size:15px;gap:4px}.duration-picks>.choice span{font-size:9px}
 body:has(.focused-app.with-checkin) .toast{bottom:calc(196px + env(safe-area-inset-bottom))}
}
@media(max-width:370px){.focused-app .app-main{padding-inline:10px}.focused-app .goal-panel{padding-inline:12px}.focused-app .goal-picker .select-trigger{font-size:18px}.focused-app .goal-cards{grid-template-columns:1fr}.focused-app .goal-card-open{min-height:200px}.focused-app .day-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.focused-app .grid-legend{font-size:10px}.focused-app .day-view-switch button{min-width:72px}.topbar-brand{font-size:18px}.focused-app .topbar-add{padding-inline:10px}.focused-app .topbar-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){.focused-app .goal-card,.goal-add-card{transition:none}}
