@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#244b3c;--green2:#315d49;--sage:#dce8d8;--sage2:#edf3e9;--paper:#f7f8f3;--ink:#24372d;--muted:#708075;--line:#e0e7dd;--white:#fff;--danger:#a13f39;--shadow:0 10px 32px rgba(36,75,60,.07)}
*{box-sizing:border-box}body{margin:0;background:#edf1e9;color:var(--ink);font-family:"DM Sans",system-ui,-apple-system,sans-serif;font-size:15px;line-height:1.45}.app-shell{width:min(100%,680px);margin:0 auto;padding:16px 14px 34px}.hero{background:linear-gradient(145deg,#244b3c,#315b48);color:#fff;border-radius:28px;padding:25px 23px 24px;box-shadow:var(--shadow);overflow:hidden;position:relative}.hero:after{content:"";position:absolute;right:-38px;top:-48px;width:170px;height:170px;border:1px solid rgba(255,255,255,.1);border-radius:50%;box-shadow:0 0 0 24px rgba(255,255,255,.025),0 0 0 48px rgba(255,255,255,.025);pointer-events:none}.brand-row{display:flex;gap:14px;align-items:center;position:relative;z-index:1}.brand-icon{width:51px;height:51px;display:grid;place-items:center;border-radius:17px;background:#dce8d8;color:var(--green);font-size:25px;font-weight:800}.eyebrow{margin:0 0 4px;font-size:10px;letter-spacing:1.6px;font-weight:700;color:#cbdacb}.eyebrow.dark{color:#718575}h1,h2,p{margin-top:0}h1{font-family:Manrope,sans-serif;font-size:25px;letter-spacing:-.8px;margin:0 0 3px;font-weight:800}.subtitle{margin:0;color:#d5e0d5;font-size:12px}.progress-block{margin-top:29px;position:relative;z-index:1}.progress-label{display:flex;align-items:center;justify-content:space-between;color:#dce8dc;font-size:12px;margin-bottom:9px}.progress-label strong{color:#fff;font-size:13px}.progress-track{height:11px;background:#486b59;border-radius:30px;overflow:hidden}.progress-fill{height:100%;width:0;background:#d4e5b7;border-radius:30px;transition:width .3s ease}.big-total{display:flex;align-items:baseline;gap:9px;margin-top:15px}.big-total strong{font-family:Manrope,sans-serif;font-size:35px;letter-spacing:-1.5px}.big-total span{font-size:13px;color:#dce8dc}.remaining{margin:0;color:#dce8dc;font-size:12px}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.stat-card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:14px 15px;box-shadow:0 4px 15px rgba(36,75,60,.025)}.stat-card p{font-size:11px;color:var(--muted);margin:5px 0 3px}.stat-card strong{font-family:Manrope,sans-serif;font-size:21px;color:var(--green);letter-spacing:-.4px}.stat-icon{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:9px;background:var(--sage2);color:var(--green);font-weight:700}.stat-wide{grid-column:1/-1;display:flex;align-items:center;gap:10px}.stat-wide p{margin:0;flex:1}.stat-wide strong{font-size:18px}.panel{background:var(--white);border:1px solid var(--line);border-radius:23px;padding:20px 17px;margin-top:12px;box-shadow:0 4px 18px rgba(36,75,60,.025)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.section-heading h2{font-family:Manrope,sans-serif;font-size:20px;letter-spacing:-.5px;margin:0;color:var(--green)}.section-heading .eyebrow{margin-bottom:3px}.heading-leaf{display:grid;place-items:center;width:39px;height:39px;background:var(--sage2);border-radius:13px;color:var(--green);font-size:22px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:15px;min-width:0}.field label,.filter-row label{font-size:12px;font-weight:700;color:#4b5f51}.field input,.filter-row select{font:inherit;color:var(--ink);background:#fcfdfb;border:1px solid #dfe6dc;border-radius:12px;padding:12px 12px;min-height:45px;width:100%;outline:none}.field input:focus,.filter-row select:focus{border-color:#75947b;box-shadow:0 0 0 3px rgba(117,148,123,.13)}.field small{font-size:11px;color:#829084}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.duration-preview{display:flex;align-items:center;justify-content:space-between;padding:14px;background:var(--sage2);border:1px solid #e1ebdc;border-radius:15px;margin:4px 0 15px}.duration-preview div{display:flex;flex-direction:column;gap:2px}.duration-preview span{font-size:12px;font-weight:700;color:#45604b}.duration-preview small{font-size:10px;color:#7a8a7b}.duration-preview strong{font-family:Manrope,sans-serif;color:var(--green);font-size:23px}.primary-button,.secondary-button{font:inherit;font-weight:700;border-radius:13px;min-height:47px;padding:12px 15px;cursor:pointer;transition:transform .12s,opacity .12s}.primary-button{border:0;background:var(--green);color:white;width:100%;box-shadow:0 5px 12px rgba(36,75,60,.12)}.primary-button:active,.secondary-button:active{transform:scale(.99)}.secondary-button{background:#fff;border:1px solid #dce5d9;color:var(--green);font-size:12px}.error{color:var(--danger);font-size:12px;margin:0 0 12px}.count-pill{background:var(--sage2);color:var(--green);font-size:11px;font-weight:700;padding:7px 10px;border-radius:20px;white-space:nowrap}.filter-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.filter-row select{width:auto;max-width:60%;min-height:39px;padding:8px 10px;font-size:12px}.history{display:flex;flex-direction:column;gap:9px}.empty-state{border:1px dashed #d8e2d5;background:#fbfcf9;border-radius:17px;text-align:center;padding:26px 18px;color:var(--muted)}.empty-state>span{display:grid;place-items:center;width:42px;height:42px;background:var(--sage2);border-radius:14px;color:var(--green);font-size:22px;margin:0 auto 10px}.empty-state strong{display:block;color:var(--green);font-size:13px}.empty-state p{font-size:12px;max-width:260px;margin:6px auto 0}.entry-card{border:1px solid var(--line);border-radius:16px;padding:13px 12px;background:#fff}.entry-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.entry-place{font-weight:700;color:var(--green);font-size:14px;overflow-wrap:anywhere}.entry-date{font-size:11px;color:var(--muted);margin-top:3px}.entry-hours{font-family:Manrope,sans-serif;font-size:16px;font-weight:800;color:var(--green);white-space:nowrap}.entry-time{font-size:11px;color:#718075;margin-top:9px}.entry-actions{display:flex;gap:7px;margin-top:10px}.small-button{border:1px solid var(--line);background:#fbfcfa;border-radius:9px;padding:7px 10px;color:#526658;font-size:11px;font-weight:700;cursor:pointer}.small-button.delete{color:#a13f39}.history-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}.file-label{display:flex;align-items:center;justify-content:center;text-align:center;cursor:pointer}.privacy-note{font-size:10px;color:#829084;line-height:1.5;margin:13px 0 0}.settings-panel summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none}.settings-panel summary::-webkit-details-marker{display:none}.settings-panel summary strong{display:block;color:var(--green);font-family:Manrope,sans-serif;font-size:17px}.settings-fields{margin-top:20px}.settings-fields .field{margin-bottom:13px}footer{text-align:center;font-size:11px;color:#7b8a7b;padding:24px 10px 0}dialog{width:min(92vw,500px);border:1px solid var(--line);border-radius:23px;padding:21px;color:var(--ink);box-shadow:0 20px 80px rgba(0,0,0,.2)}dialog::backdrop{background:rgba(19,39,29,.45);backdrop-filter:blur(3px)}.edit-form .section-heading h2{font-size:19px}.icon-button{border:0;border-radius:10px;width:36px;height:36px;background:var(--sage2);color:var(--green);font-size:17px;cursor:pointer}.toast{position:fixed;bottom:18px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#1f4032;color:#fff;border-radius:13px;padding:12px 16px;font-size:12px;box-shadow:var(--shadow);transition:all .2s;z-index:10;max-width:calc(100% - 30px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:560px){.app-shell{padding:28px 18px 40px}.hero{padding:30px}.panel{padding:24px}.stats-grid{grid-template-columns:1fr 1fr 1fr}.stat-wide{grid-column:auto;display:block}.stat-wide p{margin:5px 0 3px}.history-actions{grid-template-columns:repeat(3,1fr)}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
