:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17241d;background:#f8faf8;font-size:16px;line-height:1.5}*{box-sizing:border-box}body{margin:0}a{color:#176b4d;text-underline-offset:3px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8a4500;outline-offset:3px}.shell{max-width:1060px;margin:auto;min-height:100vh;display:flex;flex-direction:column}header{background:#fff;border-bottom:1px solid #d9e6dc;padding:8px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.brand img{width:172px;height:80px;object-fit:contain;object-position:left center}.brand{display:flex;align-items:center}nav{display:flex;gap:4px;overflow-x:auto;width:100%;justify-content:space-around}nav a{padding:12px 10px;min-height:48px;font-weight:650;text-decoration:none;color:#274235;border-bottom:3px solid transparent;white-space:nowrap}nav a[aria-current]{border-color:#176b4d;color:#0c4b34}main{width:100%;padding:18px;flex:1}h1{font-size:1.8rem;line-height:1.2;margin:8px 0 20px}h2{font-size:1.3rem;line-height:1.25;margin:0 0 14px}p{margin:0 0 16px}.card{background:#fff;border:1px solid #d9e6dc;border-radius:16px;padding:22px;margin-bottom:18px;box-shadow:0 3px 14px rgba(20,60,40,.04)}.narrow{max-width:560px;margin:24px auto}.card.active{border:2px solid #176b4d;background:#eaf5ef}.eyebrow{font-size:.8rem;letter-spacing:.07em;font-weight:750;color:#0f573d;margin-bottom:8px}.notice{background:#eaf5ef;border-left:5px solid #176b4d;border-radius:8px;padding:14px 18px;margin-bottom:16px;font-weight:600}label{display:block;font-weight:650;margin:0 0 17px}label .muted{font-weight:400}input:not([type=checkbox]):not([type=file]),select{display:block;width:100%;margin-top:7px;background:#fff;border:1.5px solid #688577;border-radius:9px;color:#17241d;font:inherit;min-height:52px;padding:11px 13px}input[type=file]{display:block;margin-top:7px;max-width:100%;font:inherit}input[type=checkbox]{width:22px;height:22px;accent-color:#176b4d;flex:none}.check{display:flex;align-items:center;gap:10px;font-weight:500;min-height:42px}fieldset{border:1px solid #a8beae;border-radius:10px;margin:0 0 16px;padding:12px 16px}legend{font-weight:650}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:12px 21px;border:2px solid #176b4d;border-radius:10px;background:#176b4d;color:white;font:inherit;font-weight:750;cursor:pointer;text-decoration:none;text-align:center}button:hover,.button:hover{background:#0e533a;color:white}.secondary{background:white;color:#176b4d}.secondary:hover{background:#eaf5ef;color:#0e533a}.action-card button,.active button{width:100%;margin-top:5px}.active button.secondary{margin-top:12px}.divider{height:1px;background:#bdd6c6;margin:24px 0}.quick{display:grid;gap:10px;grid-template-columns:1fr;margin:10px 0 22px}.tile{display:flex;align-items:center;background:#fff;border:1px solid #adccba;border-radius:12px;padding:16px 18px;min-height:62px;color:#0e533a;text-decoration:none;font-size:1.05rem;font-weight:700}.tile:hover{background:#eaf5ef}.summary,.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.summary>div{background:#eaf5ef;border-radius:12px;padding:15px}.summary strong,.stats strong{display:block;font-size:1.45rem;color:#0b4d34}.summary span,.stats span{display:block;color:#274235}.grid{display:grid;gap:0}.scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:530px;text-align:left}th,td{padding:11px 10px;border-bottom:1px solid #e0e9e2;vertical-align:top}th{color:#2c4b39;font-size:.9rem}footer{display:flex;gap:18px;justify-content:center;align-items:center;padding:24px;color:#46614e}footer a{color:#315a41}.year{display:flex;align-items:end;gap:10px;margin-bottom:16px}.year label{margin:0;max-width:150px}.stats{grid-template-columns:1fr}.stats .card{margin:0}.export{display:flex;flex-wrap:wrap;gap:10px}.prose{max-width:740px}.muted{color:#536b58}@media(min-width:640px){main{padding:26px}header{padding:8px 26px}nav{width:auto;gap:14px}.quick{grid-template-columns:repeat(3,1fr)}.grid{grid-template-columns:repeat(2,1fr);gap:0 16px}.stats{grid-template-columns:repeat(3,1fr)}}@media(max-width:380px){nav a{padding:12px 5px;font-size:.88rem}.summary{grid-template-columns:1fr}}@media(prefers-reduced-motion:no-preference){button,.tile{transition:background-color .16s ease}}
.page-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}.page-actions .button{min-height:48px}.after-form{margin:18px 0 0}.review-callout{display:flex;flex-direction:column;gap:3px;background:#fff4de;border:2px solid #8a4500;border-radius:12px;padding:16px 18px;color:#542b00;text-decoration:none;margin-top:18px}.review-callout span{color:#583b16}.review-day .summary{margin:15px 0}.review-day .page-actions{margin:18px 0 0}.review-heading h2{margin:0 0 6px}.status{display:inline-block;font-weight:700;font-size:.9rem;border-radius:7px;padding:3px 9px}.status.needs-review{background:#fff4de;color:#663600}.status.matched{background:#eaf5ef;color:#0e533a}
.history-tabs{display:flex;gap:7px;overflow-x:auto;margin:0 0 18px;border-bottom:1px solid #c4dacb}.history-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:10px 16px;border-bottom:4px solid transparent;color:#274235;text-decoration:none;font-weight:750;white-space:nowrap}.history-tabs a[aria-current]{border-color:#176b4d;color:#0c4b34}.pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:18px 0 28px;flex-wrap:wrap}.pagination span{font-weight:700}.pagination .button{min-height:48px}
