.justime-image-search-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;background:#fff;border:1px solid #d2d6dd;color:#444;border-radius:6px;padding:8px 10px;vertical-align:middle;transition:background .15s}
.justime-image-search-trigger:hover,.justime-image-search-trigger:focus{background:#f1f2f5;color:#111;outline-offset:2px}
.justime-image-search-trigger svg{height:21px;width:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.justime-camera-desktop{border-radius:30px;margin-right:5px;padding:8px}
.justime-camera-mobile{flex-shrink:0;min-width:43px;min-height:43px}
.justime-camera-page{margin:0 0 22px;background:#fafafa}
.justime-image-modal[hidden]{display:none!important}
.justime-image-modal{position:fixed;inset:0;background:rgba(10,18,28,.68);z-index:999999;display:flex;align-items:center;justify-content:center;padding:16px;overflow-y:auto}
.justime-image-dialog{background:white;color:#222;width:min(900px,100%);max-height:calc(100vh - 32px);overflow-y:auto;border-radius:14px;box-shadow:0 12px 48px rgba(0,0,0,.22);padding:22px;position:relative}
.justime-image-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:10px}
.justime-image-title{margin:0;font-size:21px;font-weight:600}
.justime-image-close{background:transparent;border:0;font-size:28px;cursor:pointer;line-height:1.2;padding:2px 8px}
.justime-image-desc{color:#666;font-size:14px;line-height:1.65;margin-bottom:17px}
.justime-image-actions{display:flex;gap:10px;flex-wrap:wrap}
.justime-image-actions button{border:1px solid #444;border-radius:6px;background:#333;color:white;padding:11px 16px;cursor:pointer}
.justime-image-actions button:nth-child(2){background:#fff;color:#333}
.justime-image-status{font-size:14px;margin:16px 0;color:#555}
.justime-image-preview{display:none;max-height:180px;max-width:100%;object-fit:contain;margin:12px auto}
.justime-image-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.justime-image-result{min-width:0;border:1px solid #eee;border-radius:8px;padding:8px;text-decoration:none!important;color:#333!important}
.justime-image-result img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#f7f7f7;border-radius:5px}
.justime-image-result strong{display:block;font-size:12px;margin:8px 0 3px}
.justime-image-result span{display:block;font-size:13px;overflow-wrap:anywhere}
@media(max-width:767px){.justime-image-dialog{padding:16px}.justime-image-title{font-size:18px}.justime-image-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.justime-image-actions button{flex:1}}
/* Fix IIS/Bootstrap CSS overriding native hidden file inputs */
.justime-image-dialog input[type="file"]{display:none!important;position:absolute!important;visibility:hidden!important}
