* { box-sizing: border-box; }
:root { color: #182b2a; background: #f3f6f3; font-family: system-ui,sans-serif; }
body { margin: 0; }
header { display:flex; justify-content:space-between; align-items:center; padding: 16px max(20px,calc((100% - 1120px)/2)); color:white; background:#173e35; min-height:70px; }
.brand { font-weight:800; letter-spacing:.08em; white-space:nowrap; }
.brand span { margin-left:6px; font-weight:400; letter-spacing:0; color:#b8d7c8; }
main { max-width:1160px; margin:auto; padding:20px; }
h1 { font-size:clamp(28px,5vw,44px); margin:4px 0 18px; letter-spacing:-.035em; }
h2 { font-size:20px; margin:0 0 14px; }
p { margin:8px 0 12px; }
section { background:white; border:1px solid #dce6de; border-radius:15px; padding:20px; margin-bottom:16px; min-width:0; }
.intro { padding-top:10px; }
.eyebrow,small { color:#536762; }
.grid,.form-grid,.stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:14px; }
.form-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr)); }
label { display:block; font-size:14px; font-weight:600; margin-bottom:10px; }
input,select,button { font:inherit; }
input:not([type=checkbox]),select { display:block; width:100%; border:1px solid #a9bcb1; border-radius:8px; padding:9px; margin-top:4px; background:#fff; color:inherit; min-width:0; }
button { background:#176147; color:white; border:1px solid transparent; border-radius:8px; padding:9px 15px; font-weight:650; cursor:pointer; }
button:disabled { opacity:.6; }
.secondary,.logout button { background:white; border-color:#a9bcb1; color:#174a39; }
.actions,.week { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.actions label { margin-bottom:0; }
fieldset { border:1px solid #dce6de; border-radius:8px; margin:0 0 10px; }
.week label { margin:0; }
details { border-top:1px solid #dce6de; margin-top:12px; padding-top:12px; }
summary { cursor:pointer; font-weight:650; margin-bottom:12px; }
.stats div { background:#edf5ef; border-radius:10px; padding:12px; font-size:13px; }
.stats strong { font-size:20px; display:block; margin-top:3px; }
.table { overflow-x:auto; }
table { border-collapse:collapse; width:100%; font-size:14px; }
th,td { text-align:left; padding:9px; border-bottom:1px solid #dce6de; white-space:nowrap; }
.request { border-top:1px solid #dce6de; padding:12px 0; }
.request .actions { margin-top:10px; align-items:end; }
.pill { display:inline-block; padding:3px 8px; border-radius:6px; background:#edf5ef; font-size:13px; }
.error,.success { padding:12px; border-radius:8px; background:#fce3dc; }
.success { background:#e1f4e6; }
.login { max-width:440px; margin:8vh auto; }
a { color:#176147; }
