.onr-project-gallery-editor {min-width:0; grid-column:1/-1}
.onr-project-gallery-editor h4 {margin:0;font-size:20px}
.onr-project-gallery-editor p {line-height:1.6;color:#76716a}
.onr-project-gallery-group {margin:18px 0;padding:16px;border:1px solid #d8d1c4}
.onr-project-gallery-group h5 {margin:0 0 14px;font-size:17px;color:#343436}
.onr-project-gallery-group{border-top:3px solid #bf944f;background:#fff}
.onr-gallery-section-heading{display:flex;align-items:center;gap:14px;background:#343436;color:#fff;margin:-16px -16px 18px;padding:18px 16px}
.onr-gallery-section-heading h5{color:#fff;margin:0;font-size:20px}
.onr-gallery-section-heading small{color:#d8d1c4;display:block;margin-top:5px;font-size:12px}
.onr-gallery-section-heading b{margin-left:auto;white-space:nowrap;font-size:12px;color:#e7c58d}
.onr-gallery-number{color:#bf944f;font-size:24px;font-weight:700}
.onr-project-gallery-thumbs .onr-gallery-remove{background:#fff;color:#8a3e34;border:1px solid #d8bfb9}
.onr-gallery-removed{padding:16px;border:1px solid #d8d1c4}.onr-gallery-removed summary{cursor:pointer;min-height:44px}.onr-gallery-removed>div{display:flex;justify-content:space-between;gap:12px;margin:8px 0}
.onr-gallery-removed>div{flex-wrap:wrap;align-items:center}.onr-gallery-removed img{object-fit:cover}.onr-gallery-removed button,.onr-gallery-delete-confirm button{min-height:44px;padding:10px 14px}.onr-gallery-delete-confirm{padding:20px;border:1px solid #9a3a32;background:#fff7f5;display:grid;gap:14px}.onr-gallery-delete-confirm h5{margin:0;color:#9a3a32}.onr-gallery-delete-confirm label{display:grid;gap:8px}.onr-gallery-delete-confirm input{min-height:44px;width:100%;box-sizing:border-box}.onr-gallery-delete-confirm button:last-child{background:#9a3a32;color:#fff}.onr-gallery-delete-confirm button:disabled{opacity:.45;cursor:not-allowed}
.project-gallery-stage{margin:38px 0;padding-top:4px;border-top:3px solid #bf944f}
.project-gallery-stage>h3{display:flex;align-items:center;gap:16px;padding:20px 24px;background:#343436;color:#fff!important;margin:0 0 24px!important;font-size:clamp(22px,3vw,32px)}
.project-gallery-stage>h3::before{content:attr(data-number);color:#bf944f;font-size:18px}
.project-gallery-stage>h3 small{margin-left:auto;font-size:12px;color:#d8d1c4;font-weight:400}
.onr-project-gallery-thumbs {display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin-top:14px}
.onr-project-gallery-thumbs figure {margin:0;min-width:0;border:1px solid #d8d1c4;background:#fff}
.onr-project-gallery-thumbs img {width:100%;height:120px;object-fit:cover;display:block}
.onr-project-gallery-thumbs figcaption {padding:10px;overflow-wrap:anywhere;display:grid;gap:8px}
.onr-project-gallery-thumbs select,.onr-project-gallery-thumbs button {min-height:44px;width:100%;box-sizing:border-box}
.onr-project-gallery-thumbs small {color:#76716a}
.onr-project-gallery-group .panel-project-file {position:relative;display:grid;gap:10px}
.onr-project-gallery-group .panel-project-file input[type=file] {position:static!important;inset:auto!important;opacity:1!important;width:100%!important;height:auto!important;max-width:100%;min-height:44px;box-sizing:border-box;cursor:pointer;z-index:auto!important}
.project-gallery-stage h3 {margin-top:32px}
@media(max-width:600px){.onr-project-gallery-group{padding:12px}.onr-project-gallery-thumbs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.onr-gallery-section-heading{margin:-12px -12px 16px;padding:14px 12px;gap:10px}.onr-gallery-section-heading b{font-size:11px}.project-gallery-stage>h3{padding:16px;gap:12px}}
