/* NI_GALLERY_CSS_V42 - admin only */
.admin-shell .ni-gallery-v42{display:grid;gap:18px}
.admin-shell .ni-gallery-v42 .ni-gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.admin-shell .ni-gallery-toolbar h2{font-family:'Plus Jakarta Sans','Segoe UI',sans-serif;font-size:20px;letter-spacing:-.035em;margin:0;color:#10392e}
.admin-shell .ni-gallery-toolbar p{font-size:11px;color:#728577;margin:6px 0 0}
.admin-shell .ni-gallery-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.admin-shell .ni-gallery-batch{display:inline-flex;align-items:center;justify-content:center;min-height:41px;padding:10px 14px;border-radius:9px;background:#07573e;color:#fff;font-size:12px;font-weight:800;cursor:pointer}
.admin-shell .ni-gallery-batch:hover{background:#087551}
.admin-shell .ni-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:start}
.admin-shell .ni-gallery-card{min-width:0;background:linear-gradient(150deg,#fffefb,#f7faf6);border:1px solid #dfe9df;border-radius:13px;overflow:hidden;box-shadow:0 8px 23px #0a40270b}
.admin-shell .ni-gallery-card.is-hidden{border-color:#eadfc8;background:#fffdf8}
.admin-shell .ni-gallery-photo{position:relative;aspect-ratio:16/10;overflow:hidden;background:#eef3ed}
.admin-shell .ni-gallery-photo img{width:100%;height:100%;object-fit:cover;display:block}
.admin-shell .ni-gallery-badge{position:absolute;top:11px;left:11px;background:#e1f5e7;color:#14623f;font-size:10px;font-weight:800;border-radius:100px;padding:7px 11px}
.admin-shell .ni-gallery-card.is-hidden .ni-gallery-badge{background:#fff0d8;color:#865d21}
.admin-shell .ni-gallery-info{padding:15px}
.admin-shell .ni-gallery-title{display:block;font-size:13px;color:#163c2e;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-shell .ni-gallery-category{display:block;font-size:11px;color:#7b897a;margin:7px 0 14px}
.admin-shell .ni-gallery-toolbar-row{display:flex;justify-content:space-between;gap:8px;align-items:center}
.admin-shell .ni-gallery-control-group{display:flex;gap:5px;align-items:center}
.admin-shell .ni-gallery-control-group button{min-width:34px;min-height:34px;display:grid;place-items:center;border:1px solid #dae7dc;border-radius:8px;background:#fff;color:#176342;cursor:pointer}
.admin-shell .ni-gallery-control-group button:disabled{opacity:.3;cursor:not-allowed}
.admin-shell .ni-gallery-control-group button.danger{color:#b74c46}
.admin-shell .ni-gallery-edit-btn{padding:9px 12px!important;border:1px solid #cddfce!important;border-radius:8px!important;background:#ecf5ed!important;color:#145438!important;font-weight:800!important;font-size:11px!important;cursor:pointer}
.admin-shell .ni-gallery-edit{padding:18px;background:#fbfdfb;border-top:1px solid #e4ece4}
.admin-shell .ni-gallery-edit .form-field{margin:0 0 15px}
.admin-shell .ni-gallery-edit .form-field label{display:block;font-size:11px;font-weight:800;margin-bottom:9px;color:#315344}
.admin-shell .ni-gallery-edit .form-field input,.admin-shell .ni-gallery-edit .form-field select{width:100%;max-width:100%;border:1px solid #dce8dd;border-radius:9px;padding:11px;background:#fff;color:#224939;font:inherit;font-size:12px}
.admin-shell .ni-gallery-photo-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.admin-shell .ni-gallery-photo-row .form-field{flex:1;min-width:160px}
.admin-shell .ni-gallery-photo-row .upload-action{margin-bottom:0}
.admin-shell .ni-gallery-switch{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #deeadf;border-radius:10px;padding:13px;background:#f2f7f1;font-size:11px;font-weight:700;color:#234936}
.admin-shell .ni-gallery-switch input{width:20px;height:20px;accent-color:#087450}
.admin-shell .ni-gallery-tip{font-size:11px;line-height:1.6;color:#768a7d;margin:0}
.admin-shell:has(.ni-gallery-v42) .page-subrow,.admin-shell:has(.ni-gallery-v42) .section-intro{display:none}
@media(max-width:1230px){.admin-shell .ni-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.admin-shell .ni-gallery-grid{grid-template-columns:1fr}.admin-shell .ni-gallery-toolbar h2{font-size:18px}.admin-shell .ni-gallery-batch{flex:1}.admin-shell .ni-gallery-photo{aspect-ratio:16/9}}
