/* Plugin settings only; native WordPress buttons, keyboard and RTL behavior. */
.vwpg-setup{background:#fff;border:1px solid #c3c4c7;border-radius:4px;padding:16px 20px;max-width:1080px;margin:16px 0}.vwpg-setup-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.vwpg-setup-paths h3{margin-top:4px}.vwpg-setup-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.vwpg-layout-choices{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.vwpg-layout-choices legend{font-weight:600;margin-bottom:10px}.vwpg-layout-choice{display:grid;grid-template-columns:24px 1fr;align-content:start;gap:8px;box-sizing:border-box;background:#fff;border:1px solid #949494;border-radius:4px;padding:12px;width:270px;cursor:pointer}.vwpg-layout-choice:has(input:checked){outline:2px solid var(--wp-admin-theme-color,#2271b1);outline-offset:1px}.vwpg-layout-choice:focus-within{box-shadow:0 0 0 3px #c5d9ed}.vwpg-layout-choice>strong,.vwpg-layout-choice>span:last-child{grid-column:1/-1}.vwpg-layout-preview{height:74px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.vwpg-layout-preview>span{background:linear-gradient(145deg,#dcdcde 50%,#a7aaad 51%);border-radius:4px;position:relative}.vwpg-preview-legacy>span:after{content:"";position:absolute;inset:70% 0 0;background:#50575e;border-radius:0 0 4px 4px}.vwpg-preview-grid{gap:3px;grid-template-columns:repeat(3,1fr)}.vwpg-preview-cards{grid-template-columns:repeat(2,1fr);gap:5px}.vwpg-preview-cards>span{background:linear-gradient(90deg,#a7aaad 45%,#f0f0f1 45%);border:1px solid #dcdcde}@media(max-width:600px){.vwpg-setup-paths{grid-template-columns:1fr}.vwpg-layout-choice{width:100%}}
.vwpg-compatibility{margin:16px 0;max-width:1080px;border:1px solid #c3c4c7;border-radius:4px;padding:12px}.vwpg-compatibility summary{cursor:pointer;font-weight:600}.vwpg-compatibility textarea{max-width:100%;box-sizing:border-box}.vwpg-setup p,.vwpg-layout-choice span{overflow-wrap:anywhere}
body.toplevel_page_picture-gallery .wrap input[type=text],body.toplevel_page_picture-gallery .wrap textarea,body.toplevel_page_picture-gallery .wrap select{max-width:100%;box-sizing:border-box}body.toplevel_page_picture-gallery .wrap{overflow-wrap:anywhere}.vwpg-compatibility summary:focus-visible{outline:2px solid var(--wp-admin-theme-color,#2271b1);outline-offset:4px}

.vwpg-preview-justified{grid-template-columns:2fr 1fr 1.5fr;gap:3px}.vwpg-preview-justified span:nth-child(4){grid-column:span 2}
.vwpg-setup-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;max-width:760px}.vwpg-setup-fields select{width:100%;max-width:340px}.vwpg-setup>details{margin-top:20px}.vwpg-setup>details>summary{cursor:pointer;font-weight:600}.vwpg-setup .widefat{max-width:900px}.vwpg-setup>details .vwpg-setup{border:0;padding:0;margin-block:12px}@media(max-width:600px){.vwpg-setup-fields{grid-template-columns:1fr}}
