:root{color:#19231f;background:#f7f2ea;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 0 0,#8dc6aa47,#0000 34rem),linear-gradient(135deg,#f8f3eb 0%,#edf6ef 52%,#f7f2ea 100%);min-height:100vh;margin:0}button,input,textarea{font:inherit}button{cursor:pointer}input,textarea{color:#19231f;background:#ffffffc7;border:1px solid #2b403629;border-radius:18px;outline:none;width:100%;padding:13px 15px}textarea{resize:vertical}label{color:#506158;gap:7px;font-size:.94rem;display:grid}h1,h2,h3,p{margin-top:0}.app-shell{grid-template-columns:minmax(240px,280px) minmax(0,1fr);gap:18px;width:min(1180px,100vw - 32px);min-height:calc(100vh - 32px);margin:16px auto;display:grid}.centered,.auth-page{place-items:center;min-height:100vh;display:grid}.breathing-card,.sidebar,.content-panel,.auth-card,.auth-hero,.hero-card,.stat-card,.soft-card,.settings-card,.journal-editor,.entry-card{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffcf6d1;border:1px solid #2b40361f;box-shadow:0 24px 70px #52402a1f}.sidebar{border-radius:30px;flex-direction:column;justify-content:space-between;padding:28px;display:flex}.sidebar h1,.auth-hero h1{letter-spacing:0;line-height:1}.sidebar h1{overflow-wrap:anywhere;max-width:100%;font-size:clamp(2.35rem,3.1vw,3.75rem)}.auth-hero h1{font-size:clamp(2.4rem,5vw,4.8rem)}.content-panel{border-radius:34px;padding:clamp(18px,4vw,42px);overflow:hidden}.eyebrow{color:#668371;text-transform:uppercase;letter-spacing:.12em;font-size:.76rem;font-weight:800}.nav-tabs{gap:10px;display:grid}.nav-tabs button,.segmented button,.card-heading button,.entry-actions button,.text-btn{color:#2a3c33;background:#2b403614;border:0;border-radius:999px;padding:11px 14px}.nav-tabs button{text-align:left}.nav-tabs button.active,.segmented button.active{color:#fffaf1;background:#264538}.sidebar-note,.sidebar-date,.muted,.soft-card p,.stat-card p,.auth-hero p{color:#66756d;line-height:1.6}.sidebar-date{margin-top:16px;font-weight:700}.auth-page{grid-template-columns:1.1fr 420px;gap:20px;width:min(1080px,100vw - 32px);margin:0 auto}.auth-hero,.auth-card,.settings-card{border-radius:34px;padding:clamp(24px,4vw,44px)}.auth-card,.journal-editor,.stack{gap:16px;display:grid}.segmented{background:#2b403614;border-radius:999px;grid-template-columns:1fr 1fr;gap:4px;padding:5px;display:grid}.primary-btn,.secondary-btn{border:0;border-radius:18px;padding:13px 16px;font-weight:800}.primary-btn{color:#fffaf1;background:#264538}.primary-btn:disabled{opacity:.5;cursor:not-allowed}.secondary-btn{color:#264538;background:#dfeee4}.screen-grid{grid-template-columns:1.2fr .8fr;gap:18px;display:grid}.hero-card,.stat-card,.soft-card{border-radius:30px;padding:clamp(20px,4vw,34px)}.hero-card{grid-row:span 2}.hero-card h2,.stack h2,.journal-editor h2,.settings-card h2{margin-bottom:18px;font-size:clamp(2rem,5vw,4rem);line-height:1}.mood-form{gap:16px;display:grid}.mood-score{color:#342712;background:#f4c66d;border-radius:34px;place-items:center;width:112px;height:112px;font-size:4rem;font-weight:900;display:grid}.mood-range{--range-progress:44.444%;appearance:none;cursor:pointer;background:0 0;border:0;border-radius:0;width:100%;height:26px;padding:0}.mood-range::-webkit-slider-runnable-track{background:linear-gradient(to right, #264538 0%, #264538 var(--range-progress), #2b40361f var(--range-progress), #2b40361f 100%);border-radius:999px;height:10px}.mood-range::-webkit-slider-thumb{appearance:none;background:#fffdf8;border:2px solid #2b403614;border-radius:50%;width:28px;height:28px;margin-top:-9px;box-shadow:0 2px 8px #2b403633}.mood-range::-moz-range-track{background:#2b40361f;border-radius:999px;height:10px}.mood-range::-moz-range-progress{background:#264538;border-radius:999px;height:10px}.mood-range::-moz-range-thumb{background:#fffdf8;border:2px solid #2b403614;border-radius:50%;width:24px;height:24px;box-shadow:0 2px 8px #2b403633}.stat-card h3{margin-bottom:10px;font-size:5rem;line-height:1}.card-heading,.mini-list li,.entry-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.mini-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.mini-list li{border-bottom:1px solid #2b40361a;padding:0}.todo-item{color:#19231f;text-align:left;background:0 0;border:0;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;width:100%;padding:12px 0;display:grid}.todo-bullet{background:#ffffffbd;border:2px solid #2b403652;border-radius:999px;width:18px;height:18px;display:inline-block}.todo-item.completed .todo-bullet{background:radial-gradient(circle,#264538 0 45%,#0000 48%);border-color:#264538}.todo-item.completed span:not(.todo-bullet){color:#66756d;text-decoration:line-through}.todo-item strong{font-size:.95rem}.empty-action{color:#4c5f55;text-align:left;background:#ffffff6b;border:1px dashed #2b40363d;border-radius:20px;width:100%;padding:18px;line-height:1.5}.inline-form{grid-template-columns:1fr auto;gap:10px;display:grid}.habit-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;display:grid}.habit-card{background:#ffffff9e;border:1px solid #2b40361f;border-radius:24px;gap:12px;padding:16px;display:grid}.habit-card.completed{background:#8dc6aa40}.habit-card>button:first-child{text-align:left;background:0 0;border:0;gap:12px;padding:0;display:grid}.habit-card strong{font-size:1.25rem}.journal-layout{grid-template-columns:390px 1fr;gap:18px;display:grid}.journal-editor,.entry-card{border-radius:28px;padding:22px}.entry-list{align-content:start;gap:14px;max-height:calc(100vh - 120px);padding-right:4px;display:grid;overflow:auto}.entry-card p{color:#668371;margin-bottom:6px;font-weight:700}.entry-card span{color:#4c5f55;-webkit-line-clamp:4;-webkit-box-orient:vertical;line-height:1.55;display:-webkit-box;overflow:hidden}.status{color:#66756d;margin:0}.status.error{color:#b42318}@media (width<=860px){.app-shell,.auth-page,.screen-grid,.journal-layout{grid-template-columns:1fr}.app-shell{width:min(100vw - 20px,680px);margin:10px auto}.sidebar{gap:20px}.nav-tabs{grid-template-columns:repeat(4,1fr)}.nav-tabs button{text-align:center;padding-inline:8px}.hero-card{grid-row:auto}.inline-form{grid-template-columns:1fr}}
