@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#f5f4ef;--paper:#fff;--ink:#26382f;--muted:#7c837b;--green:#315e46;--lime:#dcebc6;--line:#e6e8e1;--soft:#f4f6f0}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif;font-size:14px}button,input{font:inherit}button{cursor:pointer}button,a,input{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #86a871;outline-offset:4px}button{color:inherit}a{color:inherit}.app{max-width:1160px;margin:auto;padding:0 40px}header{height:104px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dedfd6}.brand{text-decoration:none;display:flex;align-items:center;gap:12px;font-family:Manrope,system-ui,sans-serif;font-weight:800;font-size:23px;letter-spacing:-1px}.brand-icon{display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:#fff;width:37px;height:37px;border-radius:12px;font-size:28px}.brand-icon span{color:#d8e9b9}.local{color:#798274;font-size:12px;display:flex;gap:8px;align-items:center}.local i,.chart-key i{width:6px;height:6px;background:#7f9e6e;border-radius:50%;display:inline-block}main{padding-top:48px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#7a8878}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,system-ui,sans-serif}h1{font-size:42px;letter-spacing:-1.8px;font-weight:650;line-height:1.25;margin:12px 0}p{color:var(--muted);line-height:1.65}.intro>p{font-size:15px}.card{background:var(--paper);border:1px solid var(--line);border-radius:20px}.capture{margin:30px 0 42px;padding:32px 38px;display:flex;justify-content:space-between;align-items:center;background:#edf1e7;border-color:#e1e7d8;gap:30px}.capture-copy{min-width:0;flex:1}.capture input{display:block;border:none;border-bottom:1px dashed #bbc9b3;background:none;font-family:Manrope,system-ui,sans-serif;font-size:25px;font-weight:650;color:var(--ink);width:min(100%,360px);padding:9px 0 7px;letter-spacing:-.6px}.capture-copy p{margin-top:12px;font-size:12px}.today{display:inline-block;margin-top:20px;color:#5c7055;font-size:12px}.today b{font-size:19px;margin-right:4px}.log-button{border:none;border-radius:50%;background:var(--green);color:#fff;width:178px;height:178px;display:flex;align-items:center;justify-content:center;flex-direction:column;flex-shrink:0;box-shadow:0 8px 0 #d8e0cf,0 15px 25px #284c2a17;transition:transform .12s,box-shadow .12s}.log-button:hover{background:#264f39;transform:translateY(-2px)}.log-button:active{transform:translateY(5px);box-shadow:0 2px 0 #d8e0cf}.plus{font-size:44px;line-height:1;font-weight:400;margin-bottom:6px}.log-button strong{font-size:15px;font-weight:600}.log-button>span:last-child{font-size:10px;color:#c9d9c4;margin-top:7px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}h2{font-size:20px;font-weight:650;letter-spacing:-.6px}.period{display:flex;background:#eaece4;padding:4px;border-radius:10px;gap:3px}.period button{border:0;border-radius:7px;background:none;font-size:11px;padding:8px 13px;color:#7c8376}.period .selected{background:white;color:var(--green);box-shadow:0 1px 3px #0000000b;font-weight:700}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stat{padding:23px 26px}.stat>span{display:block;color:#778070;font-size:12px}.stat strong{display:block;font-family:Manrope,system-ui,sans-serif;font-size:36px;letter-spacing:-1.5px;line-height:1.4;margin:8px 0 6px;font-weight:600}.stat small{font-size:10px;color:#909487}.charts{display:grid;grid-template-columns:1.65fr 1fr;gap:16px;margin:16px 0 36px}.chart-card{padding:24px 26px;min-width:0}.chart-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}h3{font-size:14px;font-weight:700}.chart-heading p{font-size:10px;margin-top:5px}.chart-key{font-size:9px;color:var(--muted);white-space:nowrap}.chart-key i{background:var(--green);margin-right:5px}.daily-chart svg{width:100%;height:170px;display:block}.hour-bars{height:126px;display:flex;align-items:end;gap:4px;border-bottom:1px solid var(--line);padding:0 0 2px}.hour-bar{background:#b7cc9f;flex:1;min-width:0;border-radius:3px 3px 0 0;min-height:3px}.hour-bar.peak{background:var(--green)}.axis{display:flex;justify-content:space-between;font-size:9px;color:#92998b;padding-top:8px}.chart-note{font-size:10px;margin-top:15px}.history{padding:25px 28px}.history .section-heading p{font-size:11px;margin-top:5px}.secondary{border:1px solid #dfe4d8;background:white;border-radius:8px;padding:10px 14px;font-size:11px;font-weight:500}.secondary:hover{background:var(--soft)}.history-group{border-top:1px solid var(--line)}.day-heading{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:600;color:#818b79;padding:18px 0 9px;text-transform:uppercase;letter-spacing:1px}.day-heading span:last-child{font-size:9px;letter-spacing:0;font-weight:400;text-transform:none}.entry{display:flex;align-items:center;gap:12px;padding:11px 0}.entry-dot{height:30px;width:30px;border-radius:50%;background:#eef3e8;display:flex;align-items:center;justify-content:center;color:#759063;font-size:18px}.entry-info{flex:1;min-width:0}.entry-name{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entry-sub{font-size:10px;color:#91968a;margin-top:3px}.entry-time{font-variant-numeric:tabular-nums;font-size:12px;margin-right:8px}.entry-actions{display:flex;gap:3px}.entry-actions button{font-size:10px;border:0;background:none;padding:7px;color:#818a7a;border-radius:5px}.entry-actions button:hover{background:var(--soft)}.empty{padding:32px 20px 40px;text-align:center}.empty-icon{width:44px;height:44px;background:var(--soft);border-radius:50%;margin:0 auto 12px;display:grid;place-items:center;font-size:25px;color:#86a170}.empty strong{font-size:13px;font-weight:500}.empty p{font-size:11px;margin-top:5px}.more{display:block;margin:15px auto 0}footer{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:24px 0 36px}footer p{font-size:10px;max-width:620px}footer button{border:0;background:none;text-decoration:underline;text-underline-offset:3px;color:#7c8675;font-size:11px;padding:8px}footer>div{display:flex}.lock{margin-right:5px}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#263e2f;color:white;box-shadow:0 5px 25px #0002;border-radius:12px;padding:15px 22px;display:flex;align-items:center;gap:24px;font-size:13px;max-width:calc(100% - 24px);width:max-content;z-index:10}.toast button{border:0;background:none;color:#dcecba;text-decoration:underline;padding:5px}dialog{border:1px solid var(--line);border-radius:20px;padding:30px;width:420px;max-width:calc(100% - 28px);color:var(--ink);box-shadow:0 15px 90px #0002}dialog::backdrop{background:#172a1d66;backdrop-filter:blur(3px)}dialog h2{margin:12px 0 24px}dialog label{display:block;font-size:12px;margin-bottom:8px}dialog input{padding:12px;border:1px solid #d9dfd1;border-radius:8px;width:100%;color:var(--ink);background:white}.form-note{font-size:11px;margin-top:9px}.dialog-actions{display:flex;justify-content:end;gap:10px;margin-top:25px}.primary,.danger{background:var(--green);color:white;border:0;border-radius:8px;padding:11px 15px;font-size:12px}.danger{background:#9a4d40}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}@media(min-width:1400px){main{padding-top:58px}.capture{margin-top:36px}}@media(max-width:700px){.app{padding:0 20px}header{height:79px}.brand{font-size:20px}.local{font-size:0;gap:0}.local i{width:8px;height:8px}main{padding-top:32px}h1{font-size:32px;letter-spacing:-1.3px}.intro>p{font-size:13px}.capture{padding:25px 22px;gap:15px;margin-bottom:30px}.capture input{font-size:20px}.log-button{width:135px;height:135px}.log-button strong{font-size:13px}.log-button>span:last-child{font-size:8px}.plus{font-size:36px}.capture-copy .eyebrow{font-size:8px;letter-spacing:1.3px}.capture-copy p{font-size:10px}.today{margin-top:12px}.section-heading h2{font-size:18px}.period button{padding:7px 9px;font-size:10px}.stats{gap:8px}.stat{padding:16px 12px;border-radius:13px}.stat>span{font-size:10px;min-height:26px;line-height:1.4}.stat strong{font-size:27px;margin:7px 0}.stat small{font-size:9px;line-height:1.5;display:block}.charts{grid-template-columns:1fr;gap:12px;margin-bottom:26px}.chart-card{padding:22px}.hour-bars{height:90px}.history{padding:22px 18px}.history>.section-heading{align-items:flex-start}.history .secondary{font-size:10px;padding:9px;max-width:135px}.entry{gap:8px}.entry-actions button{padding:7px 4px}.entry-time{margin-right:0;font-size:11px}footer{align-items:flex-start;flex-direction:column;gap:9px;padding-bottom:28px}footer button:first-child{padding-left:0}}@media(max-width:390px){.capture{padding:20px 15px}.log-button{width:117px;height:117px}.capture input{font-size:17px}.app{padding:0 14px}.period button{padding:7px}.entry-actions{gap:0}}

/* Compact logging view. */
main{padding-top:24px}.capture{flex-direction:column;justify-content:center;gap:22px;padding:30px;margin:0 0 30px}.capture-copy{text-align:center;flex:initial}.capture-copy .today{margin-top:0}.capture-copy p{margin-top:8px}.log-button strong{font-size:16px}.history .empty{padding:26px 10px}.history .empty p:empty{display:none}@media(min-width:1400px){main{padding-top:32px}}@media(max-width:700px){main{padding-top:18px}.capture{padding:25px 18px;gap:18px;margin-bottom:25px}.capture-copy p{font-size:11px}}
