:root{font-family:system-ui,'Noto Sans Bengali',sans-serif;color:#173259;background:#f3f7fc}*{box-sizing:border-box}body{margin:0}header{background:white;border-bottom:1px solid #e0e8f4}.head{width:min(1100px,94%);margin:auto;display:flex;align-items:center;gap:14px;padding:11px 0}.head img{height:55px;width:60px;object-fit:contain}.head strong{display:block;font-size:21px}.head span{display:block;color:#5c718f;font-size:13px}.go{margin-left:auto;text-decoration:none;color:#1764d8;font-weight:700}main{max-width:1100px;width:94%;margin:30px auto}.loginBox{max-width:430px;margin:9vh auto;background:#fff;padding:30px;border-radius:17px;box-shadow:0 12px 40px #1d3a6212}.loginBox h1{margin:0}.loginBox p{color:#66788f}h1{font-size:27px}h2{font-size:23px}.heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.heading h1{margin-bottom:0}.heading p{margin-top:4px;color:#66788f}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.tabs button{background:white;color:#16345b;border:1px solid #d9e4f2;padding:11px 15px}.tabs button.selected{background:#1864dd;color:white}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px}.records{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:15px;margin:18px 0}.record,.editor{border:1px solid #dce6f4;background:white;border-radius:14px;padding:18px}.record h3{margin:0 0 6px}.record p{color:#60718b;margin:8px 0;overflow-wrap:anywhere}.record img{width:100%;height:125px;object-fit:contain;background:#f1f4f9;border-radius:10px}.small{font-size:12px;color:#657b9d}.record .actions{margin-top:10px}.editor{margin-top:18px;max-width:920px;box-shadow:0 10px 25px #17325910}label{font-weight:700;font-size:14px;display:block;margin:13px 0}input:not([type=checkbox]),textarea{display:block;width:100%;margin-top:6px;border:1px solid #bfcede;border-radius:9px;padding:12px;font:inherit;font-size:15px}input:focus,textarea:focus{outline:2px solid #8ab3fa}.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}.check{display:flex;gap:8px;align-items:center}button{border:0;border-radius:10px;background:#1564de;color:#fff;padding:11px 17px;font:inherit;font-weight:700;cursor:pointer}button:hover{opacity:.91}.secondary{background:#e9eef6;color:#244066}.danger{background:#ba283a}.actions{display:flex;gap:9px;flex-wrap:wrap}.muted{font-size:14px;color:#6b7f97}.warning{margin-top:24px;border-left:4px solid #d1a33b;background:#fff9e9;padding:14px;border-radius:7px;color:#775e18}#message,#loginMessage{margin-top:12px;font-weight:700}.ok{color:#146b33}.bad{color:#bd283c}[hidden]{display:none!important}@media(max-width:620px){.two{grid-template-columns:1fr}.head strong{font-size:17px}.heading h1{font-size:22px}.loginBox{margin:6vh auto}.records{grid-template-columns:1fr}}

.photo-area{background:#f0f7ff;border:2px dashed #9fc4ed;border-radius:14px;padding:16px;margin:18px 0}
.photo-area .photo-title{color:#1554a5;font-size:17px;margin:0 0 8px}
.photo-area input[type=file]{background:#fff;max-width:100%;font-size:14px}
.photo-preview{display:block;width:min(100%,430px);max-height:280px;object-fit:contain;margin:12px 0;border:1px solid #d5e3f2;background:#fff;border-radius:10px}
.url-fallback{margin-top:12px}.url-fallback summary{cursor:pointer;color:#365c89}
.record .actions button{min-width:88px}
#uploadMessage.bad{color:#b52633}#uploadMessage.ok{color:#137035}

.id-admin-group{background:#f6faff;border:1px solid #d5e4f5;border-radius:12px;padding:12px 18px;margin:16px 0}.id-admin-group h3{color:#1c4680}.editor input[type=url]{overflow-wrap:anywhere}
