:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#243b31;background:#f7f8f2;font-synthesis:none;font-size:16px;line-height:1.5;--ink: #243b31;--muted: #637066;--green: #284c3d;--lime: #d6f08a;--line: #dce2d7;--surface: #fff;--radius: 16px}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,a,input{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:3px solid #527921;outline-offset:4px}main:focus{outline:none}button{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:clamp(2.2rem,4.5vw,3.7rem);line-height:1.08;letter-spacing:-.055em;font-weight:650}h2{font-size:1.5rem;letter-spacing:-.035em}h3{font-size:1.15rem;letter-spacing:-.025em}.app-shell{max-width:1160px;margin:auto;padding:0 40px}.header{min-height:104px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}.brand{border:0;background:none;display:flex;align-items:center;gap:12px;font-size:1.35rem;font-weight:750;letter-spacing:-.05em;padding:8px 0}.brand-light{font-weight:400}.brand-icon{width:36px;height:36px;display:grid;place-items:center;background:var(--green);color:var(--lime);border-radius:10px;font-size:1.6rem}.header-note{font-size:.85rem;color:var(--muted)}.edition{font-size:.65rem;font-weight:700;letter-spacing:.14em;border:1px solid var(--line);padding:6px 12px;border-radius:30px}main{padding:24px 0 64px;min-height:75vh}.dev-label{font-size:.7rem;color:var(--muted);margin-bottom:24px}.eyebrow{font-size:.65rem;font-weight:750;letter-spacing:.16em;margin-bottom:16px;color:var(--green)}.welcome{display:grid;grid-template-columns:1.25fr 1fr;gap:64px;align-items:center;padding:24px 0 56px}.welcome h1 span{color:#63785c}.intro{color:var(--muted);margin:24px 0;line-height:1.65}.primary,.secondary,.text-button,.back{border:0;min-height:48px;border-radius:9px;padding:12px 20px;font-weight:600;display:inline-flex;justify-content:center;align-items:center;gap:16px}.primary{background:var(--green);color:#fff}.primary:hover{background:#1d392d}.secondary{background:#edf1e6;color:var(--green)}.secondary:hover{background:#e0e8d4}.full{width:100%;justify-content:center}.text-button,.back{background:none;padding:12px 0;text-align:left}.text-button:hover,.back:hover{text-decoration:underline}.back{margin-bottom:20px}.rhythm-art{position:relative;min-height:280px;padding:28px;border-radius:var(--radius);background:#e8eeda;overflow:hidden;transform:rotate(2deg)}.art-caption{font-size:.6rem;letter-spacing:.2em;font-weight:700}.art-path{display:flex;gap:8px;flex-wrap:wrap;width:230px;margin:24px 0}.art-path i{width:44px;height:44px;border:1px solid #acb99d;border-radius:12px;display:grid;place-items:center;font-style:normal;font-size:.9rem;color:#66745d}.art-path i:nth-child(-n+2){background:var(--green);color:var(--lime);border-color:var(--green)}.art-path i:nth-child(3){background:var(--lime);font-size:1.4rem;color:var(--green)}.rhythm-art p{font-size:1.4rem;line-height:1.2;letter-spacing:-.04em}.art-spark{position:absolute;right:24px;bottom:16px;font-size:6rem;line-height:1;color:#4c6950;transform:rotate(-12deg)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:24px}.section-heading .eyebrow{margin-bottom:8px}.count{font-size:.8rem;vertical-align:middle;margin-left:8px;display:inline-grid;place-items:center;min-width:28px;height:28px;border:1px solid var(--line);border-radius:50%}.muted{color:var(--muted);font-size:.85rem}.empty-state{border:1px dashed #bdc9b5;border-radius:var(--radius);padding:32px;display:flex;align-items:center;gap:24px;background:#f1f4ea}.empty-state p{color:var(--muted);font-size:.85rem;margin-top:8px}.empty-state .text-button{margin-left:auto;font-size:.85rem}.empty-mark{background:#e1e9d4;border-radius:50%;width:56px;height:56px;display:grid;place-items:center;font-size:1.8rem;flex-shrink:0}.challenge-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.challenge-card{width:100%;height:100%;border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);padding:24px;text-align:left;transition:border-color .15s,transform .15s}.challenge-card:hover{border-color:#849a70;transform:translateY(-2px)}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.status{font-size:.65rem;padding:5px 8px;border-radius:5px;background:#f1f3ec;color:#52604b}.status-done{background:#e8f2d6;color:#365125}.challenge-card h3{font-size:1.2rem;line-height:1.3;overflow-wrap:anywhere;margin-bottom:8px}.progress{display:block;appearance:none;border:0;background:#e9eee3;width:100%;height:7px;border-radius:8px;overflow:hidden;margin:24px 0 12px}.progress::-webkit-progress-bar{background:#e9eee3;border-radius:8px}.progress::-webkit-progress-value{background:#6b893c;border-radius:8px}.progress::-moz-progress-bar{background:#6b893c}.progress-caption{display:flex;justify-content:space-between;font-size:.75rem;color:var(--muted)}footer{border-top:1px solid var(--line);padding:24px 0;display:flex;justify-content:space-between;font-size:.7rem;color:var(--muted)}footer span:first-child{font-weight:700}.form-section{max-width:620px;margin:16px auto}.form-section h1{font-size:clamp(2.1rem,4vw,3rem)}.form-card{padding:28px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}fieldset{margin:0;padding:0;border:0;min-width:0}label,.field-label{display:block;font-size:.8rem;font-weight:600;margin-bottom:8px}input{background:#fbfcf9;border:1px solid #bfcaba;border-radius:8px;color:var(--ink);padding:12px;width:100%;min-height:48px;min-width:0}.suggestions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 28px}.suggestions button{border:1px solid var(--line);background:none;border-radius:6px;font-size:.7rem;padding:8px;min-height:40px}.duration-options{display:flex;gap:12px;margin:12px 0 20px}.duration-options button{flex:1;min-height:48px;border:1px solid var(--line);background:#fff;border-radius:8px}.duration-options button[aria-pressed=true]{background:var(--green);color:#fff;border-color:var(--green)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hint{font-size:.7rem;color:var(--muted);margin:16px 0 24px;line-height:1.6;overflow-wrap:anywhere}.footnote{font-size:.75rem;max-width:420px;text-align:center;margin:24px auto;color:var(--muted)}.detail-title{overflow-wrap:anywhere;max-width:850px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:32px;margin-top:32px}.today-card{display:flex;align-items:start;flex-wrap:wrap;gap:20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px}.today-card.checked{background:#eef4e3}.today-card .eyebrow{margin-bottom:8px}.today-card h2{font-size:1.3rem;margin-bottom:8px}.today-card p:not(.eyebrow){font-size:.85rem;color:var(--muted)}.today-card>div:nth-child(2){flex:1;min-width:160px}.today-icon{width:48px;height:48px;background:var(--lime);display:grid;place-items:center;font-size:1.6rem;border-radius:50%}.calendar-section{margin-top:32px}.calendar-section h2{margin-bottom:8px;font-size:1.2rem}.calendar{padding:0;list-style:none;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:24px 0}.calendar li{border:1px solid var(--line);border-radius:9px;text-align:center;background:#fff;padding:12px 0}.day-number{font-size:1.05rem;font-weight:600;display:block}.calendar small{font-size:.55rem;color:var(--muted)}.calendar .marked{background:var(--green);color:var(--lime);border-color:var(--green)}.calendar .marked small{color:#e2ead8}.calendar .is-today{outline:2px solid #849f51;outline-offset:2px}.legend{display:flex;gap:24px;font-size:.7rem;color:var(--muted)}.progress-panel{align-self:start;padding:24px;border-radius:var(--radius);background:#e8eeda}.big-number{font-size:4rem;letter-spacing:-.06em;line-height:1.1}.big-number span{font-size:1.5rem}.progress-panel>p:not(.eyebrow,.big-number,.hint){font-size:.85rem}.progress-panel hr{border:0;border-top:1px solid #cbd7bc;margin:24px 0}.progress-panel .hint{margin-bottom:0}.error-box{padding:16px;border:1px solid #e4b8a7;background:#fff2eb;border-radius:8px;margin-bottom:20px;color:#813a25}.error-box .secondary{margin-top:12px}.error-text{color:#813a25;margin-bottom:16px}.notice{background:#e4efd3;color:#304a26;padding:12px 16px;border-radius:8px;margin-bottom:24px;font-size:.85rem}.skeleton{height:180px;border-radius:var(--radius);background:#e9eee3}.pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:24px;font-size:.8rem}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(min-width:1440px){.app-shell{max-width:1240px}.welcome{gap:100px}}@media(max-width:900px){.app-shell{padding:0 28px}.header-note{display:none}.welcome{gap:32px}.challenge-list{grid-template-columns:repeat(2,minmax(0,1fr))}.empty-state{flex-wrap:wrap}.empty-state .text-button{margin-left:80px}.detail-grid{grid-template-columns:minmax(0,1fr) 220px;gap:20px}.calendar{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:760px){.app-shell{padding:0 20px;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.header{min-height:80px;gap:8px}.brand{font-size:1.1rem;gap:8px}.edition{font-size:.55rem;padding:5px 8px}.brand-icon{width:32px;height:32px}main{padding-top:16px}.dev-label{margin-bottom:20px}.welcome{grid-template-columns:1fr;padding:8px 0 36px;gap:28px}.welcome h1{font-size:2.5rem}.welcome .primary{width:100%}.intro{font-size:.9rem;margin:20px 0}.rhythm-art{min-height:170px;transform:none;padding:20px}.art-path{width:auto;gap:6px;margin:16px 0}.art-path i{width:32px;height:32px;border-radius:8px}.rhythm-art p{font-size:1.1rem}.art-spark{font-size:4rem;bottom:12px;right:20px}.section-heading{align-items:start}.section-heading>.muted{max-width:105px;text-align:right;font-size:.7rem}.section-heading h2{font-size:1.3rem}.empty-state{padding:24px;gap:16px}.empty-mark{width:44px;height:44px}.empty-state>div{flex:1;min-width:160px}.empty-state .text-button{margin-left:0}.empty-state p br{display:none}.challenge-list{grid-template-columns:1fr}.challenge-card{padding:24px}.card-top{margin-bottom:20px}.form-card{padding:20px}.form-row{grid-template-columns:1fr}.form-section{margin-top:0}.form-section h1{font-size:2.1rem}.detail-grid{grid-template-columns:1fr}.today-card{padding:20px;gap:16px}.calendar{grid-template-columns:repeat(5,minmax(0,1fr))}.progress-panel{order:-1;padding:20px}.progress-panel .big-number{font-size:2.5rem}.progress-panel hr,.progress-panel hr+p{display:none}.progress-panel .eyebrow{margin-bottom:8px}.progress-panel .hint,.progress-panel .progress{margin-top:12px}footer{gap:12px;font-size:.6rem}.detail-title{font-size:2.2rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
