:root{color:#1f2340;font-synthesis:none;text-rendering:optimizelegibility;--color-primary:#5544c8;--color-primary-light:#eeeaff;--color-muted:#5c627e;--color-border:#e8e7f3;--color-surface:#fff;--shadow-card:0 4px 18px #3c327814;--radius-card:18px;background:#f4f3fb;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:0;min-height:100vh;margin:0}a{color:inherit}button,input,select,textarea{font:inherit}:focus-visible{outline-offset:3px;outline:3px solid #5544c8}.skip-link{z-index:20;color:#281a81;background:#fff;padding:.75rem;position:fixed;top:-5rem;left:1rem}.skip-link:focus{top:1rem}.app-shell{min-height:100vh;display:flex}.sidebar{background:var(--color-surface);border-right:1px solid var(--color-border);flex-direction:column;flex:0 0 236px;gap:20px;width:236px;padding:28px 16px;display:flex}.brand{align-items:center;gap:10px;padding:0 8px;font-size:1.25rem;font-weight:800;text-decoration:none;display:flex}.brand-mark{color:#fff;background:linear-gradient(135deg,#6c5ce7,#4a88e9);border-radius:11px;place-items:center;width:36px;height:36px;display:grid}.nav-label,.eyebrow{color:#666b88;letter-spacing:.1em;font-size:.7rem;font-weight:800}.nav-label{margin:14px 12px -10px}.sidebar nav{gap:5px;display:grid}.sidebar nav a{color:var(--color-muted);border-radius:12px;align-items:center;gap:12px;padding:12px;font-size:.9rem;font-weight:650;text-decoration:none;display:flex}.sidebar nav a:hover{color:var(--color-primary);background:#f3f1ff}.sidebar nav a.active{color:#fff;background:#5544c8;box-shadow:0 6px 16px #6c5ce738}.nav-icon{opacity:.8;font-size:.7rem;font-weight:800}.sidebar-note{background:linear-gradient(135deg,#eeeaff,#e3f1ff);border-radius:14px;margin-top:auto;padding:16px;font-size:.8rem;line-height:1.5}.sidebar-note p{color:var(--color-muted);margin:5px 0 0}main{flex:1;min-width:0;max-width:1250px;padding:40px clamp(24px,4vw,56px) 72px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.eyebrow{margin:0 0 10px}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.035em;margin-bottom:7px;font-size:clamp(1.8rem,3vw,2.4rem)}h2{letter-spacing:-.02em}.subtitle{color:var(--color-muted);margin-bottom:0;line-height:1.5}.status-badge{color:#4936b4;background:var(--color-primary-light);border-radius:999px;flex:none;padding:8px 12px;font-size:.75rem;font-weight:700}.hero{border-radius:var(--radius-card);color:#fff;background:linear-gradient(115deg,#5847c8,#3e80c4);justify-content:space-between;align-items:center;gap:20px;min-height:220px;padding:clamp(26px,4vw,42px);display:flex;position:relative;overflow:hidden}.hero>div:first-child{z-index:1;max-width:550px;position:relative}.hero-kicker{letter-spacing:.1em;opacity:.9;font-size:.7rem;font-weight:800}.hero h2{margin-bottom:10px;font-size:clamp(1.5rem,3vw,2rem)}.hero p:last-child{margin-bottom:0;line-height:1.6}.hero-art{align-items:end;gap:10px;padding-right:25px;display:flex;transform:rotate(-8deg)}.hero-art span{background:#ffffff45;border-radius:12px;width:35px;display:block}.hero-art span:first-child{height:55px}.hero-art span:nth-child(2){height:85px}.hero-art span:nth-child(3){height:115px}.overview{margin-top:36px}.section-heading{justify-content:space-between;align-items:end;gap:12px;margin-bottom:18px;display:flex}.section-heading h2{margin-bottom:0;font-size:1.2rem}.section-heading>p{color:var(--color-muted);margin:0;font-size:.85rem}.feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.feature-card{border-radius:var(--radius-card);background:var(--color-surface);min-height:210px;box-shadow:var(--shadow-card);border:1px solid #0000;flex-direction:column;align-items:start;padding:21px;text-decoration:none;display:flex}.feature-card:hover{border-color:#b6aef4}.feature-number{color:#4936b4;background:#eeeaff;border-radius:12px;place-items:center;width:40px;height:40px;margin-bottom:19px;font-size:.8rem;font-weight:800;display:grid}.feature-card:nth-child(2) .feature-number{color:#176f59;background:#e1f7ed}.feature-card:nth-child(3) .feature-number{color:#235d9c;background:#e4f2ff}.feature-card:nth-child(4) .feature-number{color:#8a5700;background:#fff2d6}.feature-card h3{margin-bottom:8px;font-size:1rem}.feature-card p{color:var(--color-muted);margin-bottom:18px;font-size:.85rem;line-height:1.5}.card-link{color:var(--color-primary);margin-top:auto;font-size:.8rem;font-weight:750}.notice{border-radius:var(--radius-card);background:#f9f8ff;border:1px solid #dedaf7;gap:15px;margin-top:22px;padding:20px;display:flex}.notice-icon,.empty-icon{width:36px;height:36px;color:var(--color-primary);background:#eeeaff;border-radius:12px;flex:none;place-items:center;font-weight:800;display:grid}.notice h2{margin:0 0 4px;font-size:.95rem}.notice p{color:var(--color-muted);margin:0;font-size:.85rem;line-height:1.5}.empty-card{border-radius:var(--radius-card);background:var(--color-surface);box-shadow:var(--shadow-card);padding:clamp(28px,5vw,48px)}.empty-icon{margin-bottom:20px;font-size:1.3rem}.empty-card h1,.empty-card h2{margin-bottom:8px}.empty-card p{color:var(--color-muted);line-height:1.6}.button{border-radius:12px;padding:11px 16px;font-size:.9rem;font-weight:700;text-decoration:none;display:inline-block}.button-primary{background:var(--color-primary);color:#fff}.button-primary:hover{background:#4331b3}.activity-grid,.activity-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.activity-card,.activity-form-card{border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);min-width:0;box-shadow:var(--shadow-card);overflow-wrap:anywhere;padding:24px}.activity-form-card{max-width:700px}.activity-card h2{margin:14px 0;font-size:1.15rem}.activity-card p{color:var(--color-muted);font-size:.9rem;line-height:1.5}.card-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.activity-category,.activity-status{color:#4936b4;background:#eeeaff;border-radius:999px;padding:5px 10px;font-size:.75rem;font-weight:700}.activity-status{color:#176f59;background:#edf7f3}.activity-meta{font-size:.8rem}.activity-section{margin-top:20px}.activity-details{gap:14px;margin:0;display:grid}.activity-details dt{color:var(--color-muted);font-size:.8rem}.activity-details dd{margin:4px 0 0;font-size:.9rem;font-weight:650}.filter-form{flex-wrap:wrap;align-items:end;gap:12px;margin:20px 0;display:flex}.filter-form button,.activity-card button{cursor:pointer;border-width:1px}.pagination{color:var(--color-muted);align-items:center;gap:18px;margin-top:20px;font-size:.9rem;display:flex}.pagination a{color:var(--color-primary);font-weight:700}.log-list{margin:20px 0;padding:0;list-style:none}.log-list li{border-top:1px solid var(--color-border);padding:14px 0}.log-list p{white-space:pre-wrap;margin:5px 0 0}.activity-success{color:#176f59;background:#e1f7ed;border-radius:12px;margin:20px 0;padding:14px}.challenge-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),min(100%,404px)));align-items:start;gap:18px;display:grid}habit-challenge-card{border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);min-width:0;box-shadow:var(--shadow-card);display:block}habit-challenge-card>article{overflow-wrap:anywhere;padding:16px}habit-challenge-card h2{margin:10px 0 4px;font-size:1.15rem}habit-challenge-card p{color:var(--color-muted);margin:6px 0;font-size:.9rem;line-height:1.5}.challenge-details{gap:6px;margin:12px 0;display:grid}.challenge-details>div{grid-template-columns:72px minmax(0,1fr);align-items:baseline;gap:8px;display:grid}.challenge-details dt{color:var(--color-muted);font-size:.8rem}.challenge-details dd{margin:0;font-size:.9rem;font-weight:650}.challenge-actions{flex-wrap:wrap;gap:10px;display:flex}.challenge-card-progress{margin:12px 0}.challenge-progress-heading{justify-content:space-between;gap:12px;display:flex}.challenge-card-progress progress{width:100%;height:10px;accent-color:var(--color-primary)}.challenge-card-progress p{margin:4px 0 0}.challenge-actions button,.challenge-invite button{cursor:pointer}.recommendation-card{overflow-wrap:anywhere}.recommendation-actions{margin-top:20px}.challenge-invite{gap:10px;margin-top:12px;display:grid}.challenge-progress{background:#f3f1ff;border-radius:12px;margin:16px 0;padding:14px}.dashboard-section{margin-top:32px}.dashboard-section h2{font-size:1.2rem}.insight-highlights{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;display:grid}.insight-highlight{border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);box-shadow:var(--shadow-card);overflow-wrap:anywhere;padding:20px}.insight-highlight h3{margin:0 0 12px;font-size:1rem}.insight-highlight p{color:var(--color-muted);font-size:.85rem;line-height:1.5}.highlight-value{font-size:1.8rem}.today-progress{align-items:center;gap:16px;display:flex}.progress-ring{background:conic-gradient(#2ebd94 var(--progress), #eae8f3 0);border-radius:50%;flex:0 0 92px;place-items:center;height:92px;display:grid}.progress-ring strong{background:var(--color-surface);border-radius:50%;place-items:center;width:74px;height:74px;font-size:1rem;display:grid}.insight-highlight progress{accent-color:#2ebd94;width:100%}.dashboard-caption,.projection-note{color:var(--color-muted);font-size:.85rem;line-height:1.6}.projection-note{margin:14px 0 0}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;display:grid}.summary-card,.data-message,.dashboard-activity{border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);box-shadow:var(--shadow-card);padding:18px}.summary-card span,.summary-card small{color:var(--color-muted);font-size:.8rem;line-height:1.4;display:block}.summary-card strong{overflow-wrap:anywhere;margin:8px 0;font-size:1.35rem;display:block}.data-message{color:var(--color-muted);overflow-wrap:anywhere;line-height:1.5}.dashboard-activities{gap:12px;display:grid}.dashboard-activity{overflow-wrap:anywhere;justify-content:space-between;align-items:start;gap:16px;display:flex}.dashboard-activity h3{margin:0 0 6px;font-size:1rem}.dashboard-activity p{color:var(--color-muted);margin:5px 0;font-size:.85rem}.dashboard-activity .dashboard-error{color:#842626}.today-chart{border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);max-width:550px;padding:20px}.today-chart-y-label{color:var(--color-muted);margin-bottom:12px;font-size:.85rem}.today-chart-plot{border-left:1px solid var(--color-border);justify-content:space-evenly;gap:4px;margin-left:32px;display:flex;position:relative}.today-chart-plot:after{border-bottom:1px solid var(--color-border);content:"";position:absolute;top:160px;left:0;right:0}.today-chart-max,.today-chart-zero{color:var(--color-muted);font-size:.8rem;position:absolute;right:calc(100% + 8px)}.today-chart-max{top:22px}.today-chart-zero{top:152px}.today-chart-group{text-align:center;flex:1;min-width:0}.today-chart-group strong{margin:8px 0;font-size:.85rem;display:block}.today-chart-bars{box-sizing:border-box;justify-content:center;align-items:end;gap:8px;height:160px;padding-top:22px;display:flex}.today-chart-column{flex-direction:column;justify-content:end;align-items:center;width:36px;height:100%;font-size:.8rem;display:flex}.today-chart-bar{flex-shrink:0;width:100%}.today-chart-bar.total{background:#aaa1e8}.today-chart-bar.completed{background:#5544c8}.today-chart-bar.due{background:#d89036}.weekly-chart-scroll{border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);overflow-x:auto}.weekly-chart{min-width:720px;padding:20px}.weekly-chart-y-label{color:var(--color-muted);margin-bottom:12px;font-size:.85rem}.weekly-chart-plot{border-left:1px solid var(--color-border);gap:8px;margin-left:40px;display:flex;position:relative}.weekly-chart-max,.weekly-chart-zero{color:var(--color-muted);font-size:.75rem;position:absolute;right:calc(100% + 6px)}.weekly-chart-max{top:24px}.weekly-chart-zero{top:166px}.weekly-chart-group{text-align:center;flex:1;min-width:0;font-size:.75rem}.weekly-chart-column{flex-direction:column;align-items:center;height:180px;display:flex}.weekly-chart-value{height:24px;font-size:.8rem}.weekly-chart-track{background:#f3f1ff;align-items:end;width:32px;height:156px;display:flex}.weekly-chart-bar{background:#5544c8;width:100%}.weekly-chart-group strong,.weekly-chart-group small{white-space:nowrap;margin-top:6px;display:block}.weekly-chart-group small{color:var(--color-muted)}.weekly-chart-group .weekly-chart-coverage{white-space:normal;overflow-wrap:anywhere;line-height:1.4}.trend-table-scroll{border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);overflow-x:auto}.trend-table{border-collapse:collapse;text-align:left;width:100%;font-size:.9rem}.trend-table caption{color:var(--color-muted);text-align:left;padding:16px}.trend-table th,.trend-table td{border-top:1px solid var(--color-border);padding:12px 16px}.trend-table th small{color:var(--color-muted);white-space:nowrap;margin-top:4px;font-weight:400;display:block}.trend-coverage{color:var(--color-muted);margin-top:6px;line-height:1.4;display:block}.trend-track{background:#eeeaff;border-radius:999px;width:120px;height:10px;overflow:hidden}.trend-bar{border-radius:inherit;background:#5544c8;height:100%}.button:disabled{opacity:.65;cursor:wait}.auth-card{border-radius:var(--radius-card);background:var(--color-surface);max-width:560px;box-shadow:var(--shadow-card);padding:clamp(24px,5vw,42px)}.auth-form{gap:18px;margin-top:24px;display:grid}.auth-form .button{cursor:pointer;border:0}.auth-footer{color:var(--color-muted);margin:24px 0 0;font-size:.9rem}.auth-footer a,.account-links a{color:var(--color-primary);font-weight:700}.field-hint{color:var(--color-muted);font-size:.8rem;font-weight:400;line-height:1.5}.form-error{color:#842626;overflow-wrap:anywhere;background:#fff3f3;border:1px solid #e8a9a9;border-radius:12px;margin-top:20px;padding:14px}.account-links{overflow-wrap:anywhere;gap:10px;padding:8px 12px;font-size:.85rem;display:grid}.logout-button{color:var(--color-primary);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.button-secondary{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-primary)}.field{color:#1f2340;gap:8px;font-size:.9rem;font-weight:650;display:grid}.input{background:var(--color-surface);color:#1f2340;border:1px solid #c8c9d9;border-radius:12px;width:100%;padding:11px 12px}.input:disabled{color:var(--color-muted);background:#f4f3fb}@media (width<=1050px){.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.activity-grid,.activity-detail-grid{grid-template-columns:1fr}.app-shell{flex-direction:column}.sidebar{border-right:0;border-bottom:1px solid var(--color-border);flex-basis:auto;gap:14px;width:100%;padding:16px}.nav-label,.sidebar-note{display:none}.sidebar nav{padding-bottom:4px;display:flex;overflow-x:auto}.sidebar nav a{flex:none;padding:10px}main{padding:28px 20px 48px}.page-heading,.section-heading{flex-direction:column;align-items:start}.hero-art{display:none}}@media (width<=420px){.feature-grid{grid-template-columns:1fr}}
