/* Local image arrangement studio: publishing requires review */
.studio-intro{max-width:920px}
.studio-banner{border-left:3px solid #b9985f;background:#132c2c;padding:18px 20px;font:13px/1.7 Arial,sans-serif;color:#cdd7c8;margin:25px 0}
.studio-layout{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.6fr);gap:22px}
.studio-panel{background:#0e2121;border:1px solid #9c8b634e;padding:19px}
.studio-panel h2{font:400 24px Georgia,serif;color:#f1dbaa;margin:0 0 12px}
.studio-panel p{font-size:13px;color:#b5c4ba;line-height:1.7}
.studio-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.studio-photo{border:1px solid #a5a07654;background:#0b1b1b;cursor:grab;padding:0;color:#e7dbbc;text-align:left}
.studio-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.studio-photo span{display:block;padding:8px;font:11px Arial,sans-serif}
.studio-targets{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.studio-target{display:block;border:1px dashed #a89a70;background:#0b1b1b;text-align:left;padding:0;color:#e7d8ad;cursor:pointer}
.studio-target img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}
.studio-target strong{display:block;padding:9px 10px;font:700 12px Arial,sans-serif}
.studio-target.is-over,.studio-target:hover,.studio-photo:hover,.studio-photo:focus-visible{border-color:#e6cb89;background:#243d35}
.studio-action-bar{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.studio-action-bar button{border:1px solid #b29a64;padding:12px 17px;background:#1e3b32;color:#f6e6c5;font:700 11px Arial,sans-serif;cursor:pointer}
.studio-action-bar button:hover{background:#325d4b}
.studio-help{font:12px/1.65 Arial,sans-serif;color:#bbc9c0}
@media(max-width:850px){.studio-layout{grid-template-columns:1fr}.studio-targets{grid-template-columns:repeat(2,1fr)}}

/* Scrollable library and pinned destination grid */
.studio-layout { align-items:start; }
.studio-gallery { max-height:72vh; overflow-y:auto; overscroll-behavior:contain; padding-right:8px; align-content:start; scrollbar-width:thin; }
.studio-panel--targets { position:sticky; top:12px; max-height:calc(100vh - 24px); overflow-y:auto; }
.studio-photo-wrapper { min-width:0; background:#0b1b1b; border:1px solid #a5a07654; }
.studio-photo-wrapper .studio-photo {width:100%; display:block;}
.studio-picker {width:calc(100% - 12px); display:block; padding:9px 6px; margin:7px 6px; color:#eadbc0; background:#1e3933; border:1px solid #ae9563; font:12px Arial,sans-serif; cursor:pointer;}
.studio-picker:focus-visible {outline:2px solid #f5d68d;outline-offset:2px;}
@media(max-width:850px){.studio-panel--targets{position:static;max-height:none;overflow:visible}.studio-gallery{max-height:none;overflow:visible}}
