:root{font-family:"Malgun Gothic",system-ui,sans-serif;color:#252c29;background:#f4f6f5;font-size:16px;--green:#214e40;--line:#dde4df;--muted:#66736a}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;padding:11px 17px;color:inherit;background:white;font-weight:600;font-size:.9rem}button:hover{background:#edf2ef}button:disabled{opacity:.55;cursor:wait}a{color:inherit}header{padding:22px 4%;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--line);gap:20px}header>div{display:flex;align-items:center;gap:22px;font-size:.9rem}.brand{text-decoration:none;font-weight:800;letter-spacing:.09em}.brand span{font-weight:400;letter-spacing:0;color:var(--muted);font-size:.85rem;margin-left:12px}main{max-width:1320px;margin:auto;padding:45px 32px}h1{font-size:2rem;letter-spacing:-.04em;margin:6px 0 12px}h2{margin:4px 0 12px;font-size:1.5rem}p{line-height:1.7}.muted{color:var(--muted)}.eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.14em;color:var(--green);margin:0}.primary{background:var(--green);border-color:var(--green);color:white}.primary:hover{background:#173e32}.card{background:white;border:1px solid var(--line);border-radius:16px;padding:38px}.login{max-width:450px;margin:55px auto}.login form{margin-top:26px}.login button{width:100%;margin-top:18px}.login [role=status]{font-size:.9rem;min-height:24px}label{display:block;font-weight:600;font-size:.9rem;margin-bottom:9px}input,select{width:100%;padding:12px 14px;background:white;border:1px solid #bfcac3;border-radius:8px;min-height:46px}input:focus,select:focus{outline:2px solid #4f806d}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:20px}.heading p{margin-bottom:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:28px 0}.stat{background:white;border:1px solid var(--line);padding:23px;border-radius:12px;display:flex;justify-content:space-between;align-items:center}.stat strong{font-size:1.8rem}.stat span{color:var(--muted);font-size:.9rem}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tabs{display:flex;gap:4px}.tabs button{border:none;background:transparent}.tabs .selected{background:var(--green);color:white}.search{margin:0 0 0 auto;max-width:300px;flex:1;min-width:170px}.status{min-height:26px;font-size:.9rem;color:var(--green)}.status.error{color:#a12929}.projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.project{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;display:flex;flex-direction:column}.project img{width:100%;aspect-ratio:16/10;object-fit:cover;background:#e8eeea}.project-body{padding:20px;display:flex;flex-direction:column;flex:1}.project-body h2{font-size:1.08rem;line-height:1.5;margin:12px 0 16px;overflow-wrap:anywhere}.project-top{display:flex;justify-content:space-between;gap:8px;font-size:.8rem;color:var(--muted)}.badge{color:var(--green);background:#edf3ef;padding:4px 9px;border-radius:5px}.project-body button{margin-top:auto;width:100%}.footnote{font-size:.85rem;margin-top:28px}.empty{padding:50px 20px;color:var(--muted);grid-column:1/-1;text-align:center}dialog{border:0;border-radius:16px;box-shadow:0 20px 90px #0003;max-width:960px;width:calc(100% - 40px);max-height:90vh;padding:28px}dialog::backdrop{background:#14271c99}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.fields{display:grid;grid-template-columns:2fr 1fr;gap:18px}.upload-box{padding:25px;border:1.5px dashed #afc3b6;background:#f7faf8;border-radius:12px;text-align:center;margin:24px 0}.upload-box p{margin:10px 0;font-size:.88rem}.file-button{display:inline-block;background:white;border:1px solid #bfcac3;padding:11px 24px;border-radius:8px;cursor:pointer;margin:6px}.photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.photo{border:1px solid var(--line);border-radius:9px;padding:8px}.photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:5px}.photo p{margin:6px 0;font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photo-controls{display:flex;gap:4px;flex-wrap:wrap}.photo button{padding:6px 8px;font-size:.75rem}.dialog-actions{display:flex;gap:10px;align-items:center;margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}.dialog-actions span{flex:1}.danger{color:#a12929;border-color:#e4c2c2}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#confirmDialog{max-width:440px}#confirmDialog .dialog-actions{justify-content:flex-end}[hidden]{display:none!important}@media(max-width:850px){.projects{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,1fr)}.photos{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:560px){header{padding:16px}.brand{font-size:.85rem}.brand span{display:none}header>div{gap:10px;font-size:.8rem}main{padding:26px 16px}.heading{align-items:flex-start}h1{font-size:1.65rem}.heading .primary{white-space:nowrap;font-size:.8rem}.projects{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:16px}.toolbar{gap:8px}.search{order:2;max-width:none;flex-basis:100%}.tabs{width:100%}.fields{grid-template-columns:1fr}.photos{grid-template-columns:repeat(2,minmax(0,1fr))}dialog{padding:20px;width:calc(100% - 20px)}.dialog-actions{flex-wrap:wrap}.login{padding:28px;margin:20px auto}}
#passwordDialog{max-width:520px}#passwordDialog label{margin-top:20px}#passwordDialog .dialog-head{margin-bottom:12px}#passwordDialog .dialog-actions{justify-content:flex-end}#passwordHint{margin:7px 0;font-size:.8rem}@media(max-width:700px){header{flex-wrap:wrap}header>div{flex-wrap:wrap;gap:10px}header>div button{padding:9px 12px}}
