/* The one upload card (.xslot, studio.css): label on top, the drop area, the file or the address box below it. These are the cards whose frame is the field itself
   (a picture inside a list form or an object, a picture address of the e-mail builder), and the address box every card can show (js/picture-card.js). */
:is(.sm-field,.pfw-f,.pf-field):is(:has(> .pc-body), :has(> .iu-tool), :has(> * > .iu-tool)){border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:10px;box-sizing:border-box;min-width:0;}
:is(.sm-field,.pfw-f,.pf-field):is(:has(> .pc-body), :has(> .iu-tool), :has(> * > .iu-tool)) > :is(.sm-label,.pfw-ll,.pf-label){margin:0 0 8px;min-height:22px;}
:is(.sm-field,.pfw-f,.pf-field):is(:has(> .pc-body), :has(> .iu-tool), :has(> * > .iu-tool)) > :is(.sm-label,.pfw-ll,.pf-label) :is(label,.pfw-l),
:is(.sm-field,.pfw-f):is(:has(> .pc-body), :has(> .iu-tool), :has(> * > .iu-tool)) > .sm-label{font-size:12px;font-weight:700;}
.pfw-grid > .pfw-f:is(:has(> .pc-body), :has(> .iu-tool), :has(> * > .iu-tool)){grid-column:1 / -1;}
.iu-tool .xslot.iu-slot{border:0;padding:0;background:none;}
.pc-body .xslot-drop{width:100%;font:inherit;cursor:pointer;}
.pc-body .xslot-drop.pc-over{border-color:var(--accent);background:var(--accent-soft);}
.pc-thumb img{width:100%;height:100%;object-fit:contain;display:block;}
/* the address box stands where the drop area stands */
.pc-switch{display:none;}
.pc-switch:not(.lt-src){display:inline-block;}
.pc-url{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch;}
.xslot-files + .pc-url{margin-top:8px;}
.pc-url .pc-in{flex:1 1 180px;min-width:0;box-sizing:border-box;height:40px;padding:0 12px;border:1px solid var(--border-strong,var(--border));border-radius:10px;background:var(--surface-2);color:var(--text);font:inherit;font-size:13px;}
.pc-url .pc-in:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);}
.pc-url .pc-add{flex:0 0 auto;min-height:40px;justify-content:center;}
.pc-note{margin:6px 0 0;font-size:11.5px;line-height:1.4;color:var(--danger,#ff5252);overflow-wrap:anywhere;}
@media (pointer:coarse){.pc-url .pc-in,.pc-url .pc-add{min-height:44px;}}
