/* Controles privados de búsqueda y QR. */
[data-live-search] .live-search-status{grid-column:1/-1;margin:0;min-height:1.4em;font-size:.82rem;color:#51665e}
[data-live-search][data-live-ready] [data-live-search-fallback]{display:none}
[data-live-search].ab-filters{grid-template-columns:minmax(0,1fr) minmax(110px,155px) minmax(110px,155px)}
[data-live-search] .be-search{grid-template-columns:minmax(0,1fr)}
[data-live-search] .editor-search-field{width:100%}
.be-edit-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0 16px}
.be-edit-heading h2{margin:0;font-size:1.25rem}
.profile-address-actions .client-qr-trigger{flex-basis:100%;justify-content:center}
.profile-address .profile-address-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.profile-address .profile-address-actions>*{min-width:0;margin:0;justify-content:center;font-size:13px;padding:11px 8px;gap:6px}
.profile-address .profile-address-actions>.primary-button{grid-column:1/-1}
.profile-address>label{display:grid;gap:8px;font-size:13px;flex:1 1 100%;min-width:0}
.profile-address>label>input{width:100%;min-width:0;box-sizing:border-box}
.editor-share-panel .profile-address{margin-top:16px}
.editor-share-panel{min-width:0}
#template-gallery-results{min-width:0}
.insight-product-filters[data-live-ready]{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(max-width:480px){.insight-product-filters[data-live-ready]{grid-template-columns:1fr}}
.client-qr-dialog [hidden]{display:none!important}
.client-qr-dialog{box-sizing:border-box;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:32px 24px 24px;border:1px solid #dce5df;border-radius:24px;background:#fff;color:#123c2d;box-shadow:0 24px 90px #001f2470;text-align:center;overflow:auto}
.client-qr-dialog::backdrop{background:#092d27b8;backdrop-filter:blur(4px)}
.client-qr-dialog h2{margin:8px 0;font-size:1.55rem}
.client-qr-dialog p{margin:8px 0 16px}
.client-qr-close{display:flex;justify-content:flex-end;margin:-16px -8px 0 0}
.client-qr-close button{display:grid;place-items:center;width:44px;height:44px;padding:10px;border:1px solid #dce5df;border-radius:50%;background:#f4f8f5;color:inherit;cursor:pointer}
.client-qr-close svg{width:22px;height:22px}
.client-qr-image{display:grid;place-items:center;min-height:200px;margin:16px auto;background:#fff;border-radius:16px}
.client-qr-image img{display:block;width:min(100%,256px);height:auto;aspect-ratio:1}
.client-qr-dialog .primary-button{display:flex;justify-content:center;width:100%;min-height:48px;background:#075b40;color:#fff}
.client-qr-dialog .client-qr-address{margin:16px 0 0;font-size:.83rem;overflow-wrap:anywhere;color:#51665e}
.client-qr-dialog .client-qr-status{font-size:.88rem}
body.client-qr-open{overflow:hidden}
@media(max-width:720px){[data-live-search].ab-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-color-scheme:dark){body.dark-mode .client-qr-dialog{background:#142e25;color:#edf6ee}}

.source-share-links{margin-top:16px}.source-share-links summary{cursor:pointer;font-weight:600;padding:10px 0}.source-share-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}.source-share-grid label{min-width:0;display:grid;gap:6px;font-size:13px}.source-share-grid label>span{display:flex;gap:6px;min-width:0}.source-share-grid input{min-width:0;width:100%;font-size:12px}.source-share-grid button{flex:none;min-width:44px;padding:8px}
.profile-address-url{margin:0 0 16px;overflow-wrap:anywhere;user-select:text;font-size:1rem;line-height:1.6}.source-share-item{min-width:0;display:grid;gap:6px;font-size:13px}.source-share-item>div{display:flex;align-items:center;gap:10px;min-width:0}.source-share-url{min-width:0;flex:1;overflow-wrap:anywhere;user-select:text;font-size:12px;line-height:1.5}.source-share-item>strong{font-weight:500}
