:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#1d3228;background:#f3f7f4}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{border:0;background:#17643e;color:#fff;padding:10px 16px;border-radius:9px;cursor:pointer;font-weight:650}button:disabled{opacity:.55;cursor:wait}a{color:#17643e}.inner{max-width:1100px;margin:auto;padding:0 20px}.masthead{background:#103d2b;color:#fff;padding:18px 0}.masthead .inner{display:flex;justify-content:space-between;align-items:center}.brand{font-size:24px;font-weight:800;letter-spacing:-.06em}.brand strong{color:#b8ebc8}.top-sub{color:#bad4c2;font-size:14px}.head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:30px}.head h1{margin:0;font-size:30px}.head p{color:#617467}.outline{background:#fff;color:#185c3c;border:1px solid #c5d9c9}.account{display:flex;gap:20px;align-items:center;margin:16px 0;color:#5a6e60}.link{border:0;background:transparent;color:#17643e;padding:4px}.panel,.metrics section{border:1px solid #dbe6dd;background:#fff;border-radius:14px;padding:20px}.panel{margin:18px 0}.login{max-width:530px}.panel-head{display:flex;gap:12px;justify-content:space-between;align-items:center}.panel h2{font-size:20px;margin:4px 0 18px}.panel input{max-width:430px;width:100%;padding:11px;border:1px solid #ccdbcf;border-radius:9px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.metrics section{display:flex;flex-direction:column;gap:8px}.metrics small{color:#64806c}.metrics strong{font-size:28px;color:#16643d}.tabs{display:flex;gap:10px;margin-top:25px}.tabs button{background:#e2ece4;color:#356247}.tabs button.active{background:#17643e;color:#fff}.entry{border-top:1px solid #e6eee7;padding:18px 0;display:flex;justify-content:space-between;gap:24px;align-items:center}.entry h3{margin:9px 0 5px;font-size:17px}.entry p{margin:4px 0 10px;color:#62746a;font-size:14px}.entry button{white-space:nowrap}.chip{font-size:12px;border-radius:20px;padding:5px 10px;font-weight:700}.chip.good{color:#14603a;background:#e2f5e7}.chip.warn{color:#8a520b;background:#fff1d5}.chip.muted{color:#5e6971;background:#e8ecef}.danger{background:#b33131}.success{background:#17643e}.error{background:#fce8e8;color:#a62121;border-radius:9px;padding:12px}footer{margin:40px 0;color:#829588;font-size:13px}@media(max-width:720px){.metrics{grid-template-columns:repeat(2,1fr)}.head,.panel-head,.entry{align-items:stretch;flex-direction:column}.panel input{max-width:none}.masthead .inner{gap:12px;flex-wrap:wrap}}.toolbar{display:flex;gap:10px;margin:14px 0;flex-wrap:wrap}.toolbar select,.edit-grid input,.edit-grid textarea{width:100%;padding:11px;border:1px solid #ccdbcf;border-radius:9px;background:#fff;color:#1d3228;font:inherit}.toolbar select{max-width:220px}.entry-content{flex:1;min-width:0;overflow-wrap:anywhere}.entry-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;max-width:420px}.entry-actions button{white-space:normal}.edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.edit-grid label{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:650}.edit-grid .wide{grid-column:1/-1}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding-top:12px}.tabs{overflow:auto}.tabs button{white-space:nowrap}.audit-row{display:flex;gap:15px;flex-wrap:wrap;align-items:center;border-bottom:1px solid #e7ece8;padding:12px 0;font-size:14px}.audit-row small{color:#63806c}.audit-row span{overflow-wrap:anywhere}.success-msg{padding:12px;background:#dcf3e5;border-radius:9px;color:#17643e}@media(max-width:700px){.edit-grid{grid-template-columns:1fr}.entry-actions{justify-content:flex-start;max-width:none}.toolbar select{max-width:none}.pagination{flex-wrap:wrap}}.detail-photo{display:block;width:100%;max-width:560px;max-height:340px;object-fit:cover;border-radius:12px;margin:12px 0}.panel input[type=file]{max-width:100%;margin:12px 0}.panel input[type=checkbox]{min-width:auto;margin-right:8px}
