.sp-photo-button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:64px;min-height:56px;padding:3px;margin-right:8px;border:1px solid var(--line,#d8dfe7);border-radius:7px;background:var(--card,#fff);color:inherit;cursor:pointer;vertical-align:middle;flex-shrink:0}
.sp-photo-button img{width:54px;height:42px;object-fit:contain}.sp-photo-button span{font-size:24px;line-height:28px}.sp-photo-button small{font-size:10px;line-height:14px;white-space:nowrap}.sp-photo-button:hover{border-color:var(--accent,#3973df)}
.sp-photo-dialog{max-width:680px}.sp-photo-dialog .dlg-body{padding:0 20px 16px}.sp-photo-dialog h2{padding:18px 20px 12px;margin:0}.sp-photo-dialog .act{padding:14px 20px;display:flex;flex-wrap:wrap;gap:8px}.sp-photo-dialog label{display:block;margin:12px 0}.sp-photo-dialog input[type=url]{display:block;width:100%;box-sizing:border-box;margin-top:6px}.sp-photo-check{display:flex;gap:9px;align-items:flex-start}.sp-photo-check input{margin-top:14px;flex-shrink:0}.sp-photo-preview{display:block;max-height:240px;max-width:100%;margin:12px auto;object-fit:contain}
.pv-dlg.sp-photo-gallery{max-height:95dvh}.sp-photo-gallery .sp-photo-summary{padding:4px 20px 10px;flex-shrink:0;overflow:auto;max-height:30vh}.sp-photo-gallery .pv-main{min-height:100px}.sp-photo-gallery .pv-main>img{min-height:0;object-fit:contain}.sp-photo-gallery .sp-photo-foot{padding:10px 20px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;flex-shrink:0}.sp-photo-gallery .dlg-summary{width:100%;table-layout:fixed}.sp-photo-gallery .dlg-summary th{width:85px}.sp-photo-gallery .dlg-summary td{overflow-wrap:anywhere;white-space:normal}.sp-photo-gallery .pv-head{padding:14px 20px}.sp-photo-gallery .sp-photo-foot a{overflow-wrap:anywhere}
@media(max-width:600px){.sp-photo-dialog h2{padding:16px 14px 10px}.sp-photo-dialog .dlg-body{padding:0 14px 14px}.sp-photo-dialog .act,.sp-photo-gallery .pv-head,.sp-photo-gallery .sp-photo-summary,.sp-photo-gallery .sp-photo-foot{padding-left:14px;padding-right:14px}.sp-photo-gallery .pv-head{flex-wrap:wrap}.sp-photo-gallery .pv-head>.out{overflow-wrap:anywhere;max-width:65%}.sp-photo-gallery .sp-photo-summary{max-height:25vh}.sp-photo-button{width:56px;margin-right:6px}.sp-photo-button img{width:46px}}
