/* Loaded after account/theme CSS; keep native mobile controls compact. */
.dcc-app .dcc-photo-editor{min-width:0;padding:12px;overflow-wrap:anywhere}
.dcc-app .dcc-photo-editor .dcc-existing-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px;margin:16px 0}
.dcc-app .dcc-photo-editor .dcc-existing-photo{box-sizing:border-box;min-width:0;width:100%;max-width:100%;padding:10px;border:1px solid #c8dace;border-radius:12px}
.dcc-app .dcc-photo-editor .dcc-existing-photo>img{display:block;width:100%;max-width:100%;height:120px;object-fit:cover;border-radius:8px;margin:0}
.dcc-app .dcc-photo-editor .dcc-existing-photo label,.dcc-app .dcc-photo-editor .dcc-new-cover{display:flex!important;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;margin:0!important;padding:4px 0;font-size:13px!important;line-height:1.4;text-align:left;cursor:pointer}
.dcc-app .dcc-photo-editor input[type=checkbox],.dcc-app .dcc-photo-editor input[type=radio]{box-sizing:border-box!important;display:inline-block!important;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;flex:0 0 18px!important;padding:0!important;margin:0!important;line-height:normal!important;-webkit-appearance:auto!important;appearance:auto!important;accent-color:#168447;vertical-align:middle;float:none!important;transform:none!important}
.dcc-app .dcc-photo-editor input:focus-visible{outline:2px solid #168447;outline-offset:3px}
.dcc-app .dcc-photo-editor input[type=file]{width:100%;max-width:100%}
@media(max-width:600px){
 .dcc-app .dcc-photo-editor .dcc-existing-photos{grid-template-columns:minmax(0,1fr)}
 .dcc-app .dcc-photo-editor .dcc-existing-photo{display:grid;grid-template-columns:80px minmax(0,1fr);column-gap:10px;align-items:center}
 .dcc-app .dcc-photo-editor .dcc-existing-photo>img{grid-column:1;grid-row:1/3;width:80px;height:88px}
 .dcc-app .dcc-photo-editor .dcc-existing-photo label{grid-column:2}
}
html[data-dcc-theme=dark] .dcc-app .dcc-photo-editor .dcc-existing-photo{background:var(--dcc-night-panel);border-color:var(--dcc-night-line)}
