:root{--green:#1f4d38;--green-2:#2f6b4d;--green-soft:#eaf2ed;--cream:#f6f4ed;--white:#fff;--ink:#1b2821;--muted:#657168;--line:#dce2dd;--orange:#d96f32;--red:#b84040;--shadow:0 12px 30px rgba(29,63,45,.10);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#eff4ef 0,#f6f4ed 340px);font-size:16px}.app-header{height:70px;background:rgba(255,255,255,.9);border-bottom:1px solid rgba(31,77,56,.09);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}.header-inner{max-width:1080px;height:100%;margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none}.brand-icon{display:grid;place-items:center;width:38px;height:38px;background:var(--green);color:white;border-radius:11px;font:800 20px Georgia;box-shadow:inset 0 0 0 2px rgba(255,255,255,.15)}.brand strong,.brand small{display:block}.brand strong{font-size:17px;line-height:1.1}.brand small{font-size:12px;color:var(--muted);margin-top:3px}.icon-button,.close-button{border:0;background:transparent;color:var(--green);cursor:pointer}.icon-button{width:42px;height:42px;border-radius:12px}.icon-button:hover{background:var(--green-soft)}.icon-button svg,.filter-toggle svg{width:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}main{max-width:1080px;margin:auto;padding:0 24px 70px}.hero{min-height:250px;display:flex;align-items:center;justify-content:space-between;gap:40px}.hero h1{font-family:Georgia,serif;font-size:clamp(34px,5vw,52px);line-height:1.02;margin:9px 0 13px;letter-spacing:-1.2px}.hero p:not(.eyebrow){color:var(--muted);margin:0;font-size:18px}.eyebrow{text-transform:uppercase;letter-spacing:1.6px;font-size:11px;font-weight:800;color:var(--green-2);margin:0}.eyebrow.live{color:var(--orange);display:flex;align-items:center;gap:7px}.eyebrow.live span{width:8px;height:8px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 4px rgba(217,111,50,.14)}button,.file-button,select,input,textarea{font:inherit}.primary-button,.secondary-button,.danger-button{border:0;border-radius:13px;padding:14px 20px;font-weight:750;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:8px;transition:transform .15s,background .15s}.primary-button{background:var(--green);color:white;box-shadow:0 7px 18px rgba(31,77,56,.18)}.primary-button:hover{background:#173e2d;transform:translateY(-1px)}.primary-button span{font-size:24px;line-height:15px}.secondary-button{background:var(--green-soft);color:var(--green)}.secondary-button:hover{background:#dcebe1}.danger-button{background:#f9e9e9;color:var(--red)}.section{margin-bottom:28px;background:var(--white);border:1px solid rgba(31,77,56,.08);border-radius:22px;padding:27px;box-shadow:0 5px 20px rgba(29,63,45,.05)}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.section-heading h2{font-family:Georgia,serif;margin:5px 0 0;font-size:27px}.active-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.active-card{border:1px solid #efd6c8;background:#fffaf7;border-radius:16px;padding:18px;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center}.active-card h3{margin:0 0 7px;font-size:18px}.active-card p{margin:3px 0;color:var(--muted);font-size:14px}.active-card button{padding:11px 15px}.range-label{font-size:13px;color:var(--muted);background:var(--cream);border-radius:999px;padding:8px 12px}.stats-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:13px}.stat-card{min-height:110px;border:1px solid var(--line);border-radius:16px;padding:20px;display:flex;flex-direction:column;justify-content:center}.stat-card.featured{background:var(--green);color:white;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:17px;border-color:var(--green)}.stat-icon{width:42px;height:42px;display:grid;place-items:center;background:rgba(255,255,255,.13);border-radius:12px;font:700 23px Georgia}.stat-card strong{display:block;font-family:Georgia,serif;font-size:31px;line-height:1}.stat-card span{font-size:13px;opacity:.75;margin-top:8px}.company-bars{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}.bar-header{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin-bottom:8px}.bar-header strong{font-size:14px}.bar-track{height:7px;background:#edf0ed;border-radius:9px;overflow:hidden}.bar-fill{height:100%;border-radius:9px;min-width:0;background:var(--green-2)}.history-heading{align-items:center}.filter-toggle{border:1px solid var(--line);background:white;color:var(--green);border-radius:11px;padding:10px 13px;font-weight:700;display:flex;align-items:center;gap:7px;cursor:pointer}.filter-toggle svg{width:19px}.filter-toggle span{background:var(--green);color:white;border-radius:99px;font-size:11px;min-width:19px;height:19px;display:grid;place-items:center}.filters{background:#f8faf8;border:1px solid var(--line);border-radius:15px;padding:16px;margin-bottom:14px;display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}.filters label,.field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700}.filters select,.filters input,.field input,.field textarea{width:100%;border:1px solid #cfd8d1;background:white;border-radius:10px;padding:11px;color:var(--ink);outline:none}.filters select:focus,.filters input:focus,.field input:focus,.field textarea:focus{border-color:var(--green-2);box-shadow:0 0 0 3px rgba(47,107,77,.12)}.custom-dates{display:contents}.text-button{border:0;background:transparent;color:var(--green-2);font-weight:750;cursor:pointer;padding:10px}.session-list{display:flex;flex-direction:column}.session-row{display:grid;grid-template-columns:44px minmax(130px,1.3fr) 1.2fr .8fr 44px;align-items:center;gap:13px;padding:17px 4px;border-top:1px solid #edf0ed;cursor:pointer}.session-row:first-child{border-top:0}.session-row:hover{background:#fafbf9}.company-avatar{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--green-soft);color:var(--green);font-weight:850}.session-row h3{font-size:15px;margin:0}.session-row p{font-size:13px;color:var(--muted);margin:4px 0 0}.hours{font-family:Georgia,serif;font-size:20px;font-weight:700;text-align:right}.chevron{font-size:25px;color:#a4ada6;text-align:center}.status-badge{font-size:11px;font-weight:800;text-transform:uppercase;color:var(--orange)}.empty-state{text-align:center;padding:50px 20px;color:var(--muted)}.empty-state div{font-size:42px}.empty-state h3{color:var(--ink);margin:10px 0 7px}.empty-state p{margin:0}.sheet-dialog{border:0;padding:27px;width:min(560px,calc(100% - 28px));max-height:calc(100vh - 40px);border-radius:22px;box-shadow:0 30px 80px rgba(10,34,20,.3);color:var(--ink);overflow:auto}.sheet-dialog::backdrop{background:rgba(15,34,24,.55);backdrop-filter:blur(3px)}.sheet-dialog[open]{animation:dialog-in .2s ease-out}@keyframes dialog-in{from{opacity:0;transform:translateY(12px) scale(.98)}}.sheet-handle{display:none}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:24px}.dialog-header h2{font-family:Georgia,serif;font-size:28px;margin:5px 0 0}.close-button{font-size:30px;line-height:1;width:40px;height:40px;color:var(--muted)}fieldset{border:0;margin:0 0 22px;padding:0}legend{font-size:14px;font-weight:800;margin-bottom:10px}.company-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.company-choice input{position:absolute;opacity:0}.company-choice span{border:1px solid var(--line);border-radius:12px;padding:13px 6px;display:block;text-align:center;font-size:13px;font-weight:750;cursor:pointer}.company-choice input:checked+span{border-color:var(--green);background:var(--green-soft);color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.photo-capture{background:#f6f8f6;border:1px dashed #bccbc0;border-radius:15px;padding:14px;text-align:center;margin-bottom:20px}.photo-preview{min-height:115px;display:grid;place-content:center;color:var(--muted);overflow:hidden;border-radius:10px}.photo-preview span{font-size:28px}.photo-preview p{font-size:13px;margin:5px}.photo-preview img{display:block;width:100%;height:190px;object-fit:cover;border-radius:10px}.file-button{margin:8px auto 0}.file-button input{position:absolute;width:1px;height:1px;opacity:0}.photo-capture .text-button{display:block;margin:3px auto 0}.photo-capture .text-button:disabled{color:#9da59f;cursor:not-allowed}.helper-text{font-size:12px;color:var(--muted);margin:4px 0}.field{margin-bottom:17px;font-size:14px}.field small{font-weight:400;color:var(--muted)}.field textarea{resize:vertical}.input-with-unit{position:relative}.input-with-unit input{font-size:24px;font-weight:750;padding-right:40px}.input-with-unit span{position:absolute;right:15px;top:50%;transform:translateY(-50%);color:var(--muted)}.difference-preview{background:var(--green-soft);color:var(--green);padding:13px;border-radius:11px;text-align:center;font-weight:800;margin-bottom:15px}.form-error{color:var(--red);background:#fceded;padding:11px;border-radius:9px;font-size:13px}.submit-button{width:100%;margin-top:5px}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.detail-item{background:#f7f8f6;border-radius:12px;padding:13px}.detail-item span{font-size:11px;text-transform:uppercase;letter-spacing:.7px;color:var(--muted)}.detail-item strong{display:block;margin-top:5px}.details-note{margin:16px 0;padding:14px;border-left:3px solid var(--green);background:var(--green-soft)}.details-photos{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.details-photos img{width:100%;height:145px;object-fit:cover;border-radius:12px}.details-photos span{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.dialog-actions{display:flex;gap:10px;margin-top:22px}.dialog-actions button{flex:1}.dialog-copy{color:var(--muted);margin-top:-10px}.data-actions{display:grid;gap:10px;margin:20px 0}.data-actions .secondary-button{width:100%}.toast{position:fixed;z-index:100;left:50%;bottom:24px;transform:translate(-50%,20px);background:#16271d;color:white;padding:13px 18px;border-radius:12px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:700px){main{padding:0 15px 50px}.header-inner{padding:0 16px}.hero{min-height:235px;display:block;padding:38px 5px 28px}.hero h1{font-size:38px}.hero p:not(.eyebrow){font-size:16px}.hero .primary-button{width:100%;margin-top:25px}.section{padding:20px 16px;border-radius:18px}.stats-grid{grid-template-columns:1fr 1fr}.stat-card.featured{grid-column:1/-1}.company-bars{grid-template-columns:1fr;gap:14px}.filters{grid-template-columns:1fr}.custom-dates{display:grid;grid-template-columns:1fr 1fr;gap:10px}.session-row{grid-template-columns:40px 1fr auto 20px}.session-row .meter-range{display:none}.session-row{gap:10px}.hours{font-size:18px}.range-label{display:none}.sheet-dialog{width:100%;max-width:none;max-height:92vh;margin:auto 0 0;border-radius:22px 22px 0 0;padding:20px 18px;padding-bottom:max(24px,env(safe-area-inset-bottom))}.sheet-handle{display:block;width:42px;height:5px;border-radius:5px;background:#d7ddd8;margin:-9px auto 17px}.company-choices{grid-template-columns:1fr}.details-photos img{height:115px}}@media(max-width:380px){.stats-grid{grid-template-columns:1fr}.stat-card.featured{grid-column:auto}.details-grid{grid-template-columns:1fr}.company-choices{grid-template-columns:1fr}}
.login-view{min-height:100vh;max-width:none;padding:28px 18px;display:grid;place-items:center}.login-card{width:min(460px,100%);background:white;border:1px solid var(--line);border-radius:24px;padding:32px;box-shadow:0 24px 70px rgba(29,63,45,.14)}.login-brand{display:flex;align-items:center;gap:12px;margin-bottom:34px}.login-brand strong,.login-brand small{display:block}.login-brand strong{font-size:19px}.login-brand small{color:var(--muted);font-size:12px;margin-top:3px}.login-card h1{font-family:Georgia,serif;font-size:34px;line-height:1.08;margin:8px 0 12px}.login-copy{color:var(--muted);line-height:1.5;margin:0 0 25px}.login-form select{width:100%;border:1px solid #cfd8d1;background:white;border-radius:10px;padding:12px;color:var(--ink)}.login-form .primary-button{width:100%;margin-top:4px}.header-actions{display:flex;align-items:center;gap:5px}.current-user{font-size:13px;font-weight:750;color:var(--muted);padding:7px 9px;background:var(--green-soft);border-radius:999px}.logout-button{font-size:13px}.primary-button:disabled,.secondary-button:disabled,.danger-button:disabled{opacity:.55;cursor:wait;transform:none}@media(max-width:700px){.login-view{padding:20px 14px}.login-card{padding:25px 20px;border-radius:20px}.login-card h1{font-size:30px}.current-user{display:none}.logout-button{padding:8px}.header-actions{gap:0}}
.filters{grid-template-columns:repeat(3,minmax(0,1fr)) auto}.hour-type-choices{grid-template-columns:repeat(2,1fr)}.hour-type-badge{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:999px;background:var(--green-soft);color:var(--green);font-size:10px;font-weight:800;text-transform:uppercase;vertical-align:1px}@media(max-width:700px){.filters{grid-template-columns:1fr}.hour-type-choices{grid-template-columns:repeat(2,1fr)}}
