body{margin:0;background:#f5f6f8;color:#302d2b;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:16px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a,button,input,select{outline-offset:4px}h1,h2,p{margin:0}h1{font-size:clamp(1.6rem,3.1vw,2.25rem);letter-spacing:-.04em;line-height:1.25}h1,h2{font-weight:650}h2{font-size:1.15rem}button svg{flex-shrink:0}.topbar{height:88px;background:white;border-bottom:1px solid #e5e5e5;padding:0 max(24px,calc((100vw - 1240px)/2));justify-content:space-between;gap:20px}.brand,.topbar{display:flex;align-items:center}.brand{font-weight:700;font-size:18px;gap:13px;letter-spacing:-.02em}.brand small{display:block;color:#807b76;font-weight:400;font-size:13px;letter-spacing:0;margin-top:3px}.brand-icon{background:#30231e;color:#f7b077;width:45px;height:45px;border-radius:13px;display:grid;place-items:center}.team-label{font-size:14px;color:#77716d}main{max-width:1240px;margin:auto;padding:36px 24px 60px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.eyebrow{font-size:12px;letter-spacing:.14em;color:#a74827;font-weight:750;margin-bottom:10px}.muted{color:#77716d;line-height:1.65;font-size:14px}.page-heading .muted{margin-top:10px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;min-height:43px;padding:10px 17px;font-size:14px;font-weight:600;border:1px solid transparent;white-space:nowrap}.primary{background:#a74827;color:white}.primary:hover{background:#8f3d20}.secondary{background:white;border-color:#dfdeda;color:#4c4540}.tabs-preview{display:flex;gap:30px;border-bottom:1px solid #e1e1e1;padding-bottom:16px;margin-bottom:24px;font-size:14px;color:#77716d}.tabs-preview b{color:#a74827}.metrics{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:16px;margin:24px 0}.metric{border:1px solid #e7e4e1;background:white;border-radius:14px;padding:23px;min-width:0}.metric>span{display:flex;align-items:center;gap:9px;font-size:14px;color:#746e69}.metric strong{display:block;font-size:clamp(24px,2.25vw,32px);font-weight:650;letter-spacing:-.045em;margin:22px 0 11px;font-variant-numeric:tabular-nums;white-space:nowrap}.metric strong small{font-size:18px;font-weight:450;letter-spacing:0}.metric p{font-size:12px;color:#7e7975}.metric.featured{background:#30231e;border-color:#30231e;color:#fff}.featured>span{color:#dec6b9}.featured p{color:#d8bcb0}.featured strong{color:#fff}.panel{background:#fff;border:1px solid #e7e4e1;border-radius:14px;padding:25px;min-width:0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.tag{background:#f6ede6;color:#925a35;padding:5px 10px;border-radius:7px}.pill,.tag{font-size:12px}.pill{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:6px;background:#f0f3f1;color:#477461}.footer{font-size:12px;color:#928b85;display:flex;justify-content:space-between;gap:16px;margin-top:30px}.positive{color:#25785b}.negative{color:#ba4c36}.money{font-variant-numeric:tabular-nums;white-space:nowrap}.empty{padding:40px 12px;text-align:center;color:#817972}.page-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:20px}.avatar{height:35px;width:35px;display:grid;place-items:center;border-radius:50%;background:#e9edf1;color:#465d70;font-weight:600;font-size:13px;flex-shrink:0}.member-name{display:flex;gap:10px;align-items:center}.member-name strong{font-size:14px;font-weight:550}.subtext{font-size:12px;color:#8a817b;margin-top:2px}.icon-button{border:0;background:transparent;padding:8px;border-radius:7px;color:#827367}.icon-button:hover{background:#f5efea;color:#913d20}.flow{gap:10px;flex-wrap:wrap}.flow,.notice{display:flex;align-items:center}.notice{padding:15px 18px;border-radius:10px;border:1px solid #eadcb4;background:#fffbef;color:#866622;font-size:14px;gap:12px;line-height:1.5;margin:20px 0}.notice svg{flex-shrink:0}.notice button{margin-left:auto;flex-shrink:0;font-size:13px;text-decoration:underline}.field{display:grid;gap:8px;margin-bottom:18px}.field label{font-size:14px;font-weight:550}.control,.field input,.field select{border:1px solid #d9d5d2;background:white;border-radius:8px;min-height:40px;padding:8px 11px;color:#4d4540}.control:focus,.field input:focus{border-color:#a74827}.fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-error{color:#b33625;background:#fff0ed;padding:12px;border-radius:8px;margin-bottom:16px;font-size:14px}.chart{display:flex;gap:12px;align-items:end;height:148px;margin:24px 0 14px}.chart-col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;height:100%;gap:10px;font-size:12px;color:#83756a;min-width:0}.chart-bars{height:115px;display:flex;gap:3px;align-items:end;width:100%;max-width:42px}.chart-bar{width:50%;background:#a74827;border-radius:4px 4px 0 0;min-height:2px}.chart-bar.milk{background:#dcc6b7}.legend{display:flex;gap:18px;color:#86786d;font-size:12px}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:8px;height:8px;border-radius:2px;background:#a74827}.legend i.milk{background:#dcc6b7}.number-label{font-size:30px;font-weight:600;letter-spacing:-.03em}.latest{border-top:1px solid #eee8e3;margin-top:24px;padding-top:20px}.latest-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;gap:14px}.latest-icon{height:36px;width:36px;display:grid;place-items:center;border-radius:10px;background:#f7f0eb;color:#9c6037}.archive-sheet{margin-top:18px;overflow:auto;max-height:460px}.check-row{display:flex;align-items:center;gap:10px}.sync-error{background:#fff0ed;color:#9f3425;padding:10px 18px;border-radius:8px;font-size:14px;margin:14px 0}.menu-tabs{width:100%!important;justify-content:flex-start!important;gap:24px!important;border-bottom:1px solid #ddd!important;padding:0!important}.menu-tab,.menu-tabs{border-radius:0!important;height:50px!important}.menu-tab{flex:0!important;padding:0 3px!important;font-size:14px!important;color:#766d68!important}.menu-tab[data-state=active]{color:#a74827!important;background:transparent!important;border-bottom:2px solid #a74827!important;box-shadow:none!important}.data-table th{color:#8c8179;font-weight:500;font-size:12px;height:38px}.data-table td{padding:14px 8px;font-size:14px}.data-table tr{border-color:#f0ebe7}.toolbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:20px}.toolbar .control{font-size:14px}.right{text-align:right}.audit-line{padding:15px 0;border-top:1px solid #ece5df}.audit-line p{font-size:14px;line-height:1.6}.audit-line small{display:block;font-size:12px;color:#8c8178;margin:5px 0}.skeleton{padding:40px;color:#8a7667}.status-small{font-size:12px;color:#82776e}.header-actions{display:flex;gap:12px;align-items:center}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1050px){.metrics{grid-template-columns:repeat(2,1fr)}.page-heading{align-items:flex-start}.page-grid{grid-template-columns:1fr}.metric strong{font-size:30px}}@media(max-width:640px){.topbar{height:75px;padding:0 18px}.team-label{display:none}main{padding:25px 15px}.page-heading{display:block}.page-heading .primary{margin-top:20px}.metrics{gap:10px}.metric{padding:16px}.metric strong{font-size:24px}.metric>span{font-size:12px}.metric strong small{font-size:14px}.metric p{line-height:1.5}.panel{padding:18px 14px}.menu-tabs{gap:18px!important;overflow-x:auto!important}.menu-tab{font-size:13px!important}.footer{display:block;line-height:1.8}.notice{align-items:flex-start;flex-wrap:wrap}.fields{grid-template-columns:1fr}.section-heading{align-items:flex-start}.header-actions .secondary span{display:none}.page-heading h1{font-size:28px}.brand{font-size:16px}.data-table td{padding:12px 6px}.toolbar{display:grid}.toolbar .control{max-width:100%;flex:1}.status-small{display:none}}.menu-tabs{overflow-y:hidden!important;flex-shrink:0}.metric strong{line-height:1.25}.department-picker{display:flex;align-items:center;gap:10px;min-width:210px;margin-left:auto}.department-label{font-size:12px;color:#82776e}.department-picker .control{font-weight:600;border-color:#cfb9a9;background:#fffcf9}.header-actions{margin-left:8px}@media(max-width:960px){.header-actions .status-small{display:none}}@media(max-width:640px){.topbar{height:auto;min-height:75px;flex-wrap:wrap;padding:16px 18px;gap:14px}.department-picker{order:3;width:100%;margin:0}.department-picker .control{flex:1}.header-actions{margin-left:auto}.department-label{min-width:45px}}.department-options{display:flex;gap:4px;background:#f4f0ec;padding:4px;border:1px solid #e7ddd5;border-radius:10px}.department-options button{border:1px solid transparent;padding:8px 14px;border-radius:7px;font-size:13px;font-weight:600;white-space:nowrap;color:#817064}.department-options button[aria-pressed=true]{background:#fff;color:#963e21;border-color:#dbc4b3;box-shadow:0 1px 3px #30231e0a}.department-options button:hover{color:#963e21;background:#fff8f2}.department-picker{min-width:280px}@media(max-width:640px){.department-options,.department-options button{flex:1}}.access-gate{max-width:640px;padding-top:70px}.personal-metrics{grid-template-columns:1.2fr 1fr 1fr}.role-badge{background:#f6ede6;color:#925a35;padding:7px 12px;border-radius:8px;font-size:14px}.role-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.role-cards h2{margin:12px 0 10px}.role-cards svg{color:#a74827}@media(max-width:800px){.personal-metrics,.role-cards{grid-template-columns:1fr}.topbar{height:auto;min-height:88px;padding-top:16px;padding-bottom:16px}.header-actions,.topbar{flex-wrap:wrap}.header-actions .status-small{display:none}}.auth-gate{max-width:520px}.auth-brand{margin-bottom:28px}.auth-intro{margin:16px 0 24px}.auth-help{margin-top:22px}.auth-submit{width:100%}.logout-control{display:flex;flex-direction:column;gap:5px;align-items:flex-start}.activation-link{font-size:13px;word-break:break-all}.auth-gate .panel{padding:30px}.password-link-actions{margin-top:20px}@media(max-width:640px){.auth-gate{padding-top:35px}.auth-gate .panel{padding:24px 18px}}