:root{--green:#355c53;--ink:#293b35;--sand:#b58b62;--paper:#f5f4ef;--line:#dfe4dc;--white:#fff;--muted:#63756c}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:var(--green)}.topbar{background:var(--green);color:white;padding:16px max(24px,calc((100vw - 1200px)/2));display:flex;align-items:center;gap:24px;justify-content:space-between;flex-wrap:wrap}.brand{font-family:Georgia,serif;font-size:24px;font-weight:bold;color:white;text-decoration:none;white-space:nowrap}.brand span{font:12px system-ui;color:#d1ded5}.topbar nav{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.topbar nav a,.quiet{color:white;text-decoration:none;padding:8px 11px;border-radius:7px;font-size:14px;white-space:nowrap}.topbar nav a:hover,.topbar nav a[aria-current],.quiet:hover{background:#ffffff25}.topbar form{margin:0}.quiet{background:transparent;border:1px solid #ffffff50}.content{max-width:1140px;margin:auto;padding:32px 24px;min-height:calc(100vh - 130px)}.site-footer{text-align:center;color:var(--muted);font-size:13px;padding:20px}.heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.11em;color:var(--muted);text-transform:uppercase}h1,h2{font-family:Georgia,serif;line-height:1.2}h1{font-size:clamp(28px,5vw,42px);margin:4px 0}h2{font-size:23px;margin:0 0 10px}p{margin:8px 0}.muted{color:var(--muted)}.card{background:white;border:1px solid var(--line);border-radius:15px;padding:24px;box-shadow:0 3px 10px #293b3506;margin-bottom:18px}.button,button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:8px;background:var(--green);color:white;padding:10px 15px;cursor:pointer;font:600 14px/1.4 system-ui;text-decoration:none;white-space:nowrap}button:hover,.button:hover{filter:brightness(.92)}.secondary{background:#eef1eb;color:var(--green);border-color:var(--line)}.small{padding:7px 12px}label{font-size:14px;font-weight:650;display:grid;gap:5px}input,textarea{width:100%;padding:11px 12px;border:1px solid #cbd5ca;border-radius:8px;font:inherit;color:var(--ink);background:#fdfefc}textarea{resize:vertical;line-height:1.7}input:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #b58b6280;outline-offset:2px}.controls{display:flex;gap:20px;flex-wrap:wrap;align-items:flex-end;justify-content:space-between}.inline{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.inline label{flex:1;min-width:145px}.inline input[type=search]{min-width:220px}.entries{display:grid;gap:4px}.entry-header{display:flex;justify-content:space-between;align-items:center;gap:15px}.entry-header h2{margin:3px 0}.chips{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.chips span{font-size:13px;padding:3px 10px;border-radius:20px;background:#edf2eb}.chips .warm{background:#f4e6d9}.description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.pagination{display:flex;justify-content:center;align-items:center;gap:15px;margin:22px 0}.stack{display:grid;gap:18px}.entry-form{max-width:820px;margin:auto}.entry-form h2{border-top:1px solid var(--line);padding-top:15px;margin:2px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.check{display:flex;align-items:center;gap:8px}.check input{width:auto;accent-color:var(--green)}.login-card{max-width:440px;margin:clamp(30px,12vh,130px) auto;padding:36px}.login-card h1{font-size:33px}.login-card form{margin-top:24px}.error,.notice{padding:12px;border-radius:8px;background:#fce8e3;color:#842d24}.notice{background:#e0efe2;color:var(--green)}.empty{text-align:center;padding:35px}.periods{display:flex;flex-wrap:wrap;gap:7px}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:14px}.metric{display:grid;gap:8px}.metric strong{font-size:27px;line-height:1.2;color:var(--green)}.chart svg{width:100%;height:auto;display:block}.axis{font:12px system-ui;fill:var(--muted)}.legend{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;font-size:13px;margin:0 0 14px}.legend span::before{content:"";display:inline-block;width:10px;height:10px;margin-right:6px;border-radius:2px;background:var(--green)}.legend .legend-1::before{background:var(--sand)}.table-wrap{max-width:100%;overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px;white-space:nowrap}th,td{text-align:right;padding:10px 13px;border-bottom:1px solid var(--line)}th:first-child,td:first-child{text-align:left}thead th{background:#edf2eb}.total{font-weight:bold}details summary{cursor:pointer;font-weight:600;margin:12px 0}
:root{--green:#394a51;--ink:#394a51;--sand:#fdc57b;--paper:#fbf2d5;--line:#dce1d7;--muted:#53665e;--sage:#7fa99b}
.button,button{background:var(--sage);color:#172e29}.secondary{background:#f4f3eb;color:var(--ink)}.quiet{background:transparent;color:white}.brand{display:flex;align-items:center;gap:8px}.brand img{width:40px;height:40px}.brand span{color:#fbf2d5}.login-logo{width:90px;display:block;margin:0 auto 20px}.stat-heading{justify-content:flex-start;flex-wrap:nowrap}.heading-icon{width:64px;height:64px;flex:none}.chips span{display:inline-flex;align-items:center;gap:5px;background:#e9f0e9}.chips img{width:23px;height:23px}.chips .warm{background:#fbf2d5}.button img,.icon-button img{width:23px;height:23px;margin-right:5px}.metric strong{color:var(--ink)}.metrics{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.chart{width:100%;min-width:0}.chart svg{max-width:100%;min-width:0}.chart .donut{max-width:255px;margin:auto}.donut-value{font:bold 32px system-ui;fill:var(--ink)}.donut-caption{text-align:center;font-weight:600}.legend span::before{background:var(--sage);border:1px solid #394a51}.legend .legend-1::before{background:var(--sand)}.weather-mobile{display:none}.weather-mobile select{font:inherit;border:1px solid var(--line);background:white;border-radius:8px;padding:9px;width:100%;margin-bottom:12px}.compact-table table{table-layout:fixed;white-space:normal}.compact-table th,.compact-table td{overflow-wrap:normal}
@media(max-width:850px){.weather-desktop{display:none}.weather-mobile{display:block}}
@media(max-width:700px){.topbar{padding:14px 16px;gap:10px}.content{padding:20px 12px}.card{padding:14px;min-width:0}.heading{align-items:flex-start;flex-wrap:wrap}.stat-heading{flex-wrap:nowrap;align-items:center}.heading-icon{width:52px;height:52px}.controls,.inline{display:flex;width:100%}.inline label{min-width:0;flex-basis:125px}.inline input[type=search]{min-width:0}.inline input[type=date]{min-width:0}.form-grid{grid-template-columns:1fr}.topbar nav a,.quiet{padding:6px 8px}.login-card{padding:24px}.chart{overflow:visible}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric{padding:12px}.metric strong{font-size:23px}.metric .muted{font-size:13px}.metric{margin-bottom:8px}.pagination{flex-wrap:wrap}.periods .button{padding:8px 10px;font-size:13px}.table-wrap{overflow:visible}table{white-space:normal;table-layout:fixed;font-size:12px}th,td{padding:7px 3px;overflow-wrap:anywhere}.compact-table th:first-child{width:27%}.compact-table th,.compact-table td{font-size:clamp(10px,3vw,13px);overflow-wrap:anywhere}.compact-table th:first-child{overflow-wrap:normal}.legend{gap:10px;font-size:12px}.brand span{display:none}}
