/* Faregrounds Hub Recipe Photo Import */
.rs-photo-overlay{position:fixed;inset:0;z-index:20000;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(12,35,22,.62);box-sizing:border-box}
.rs-photo-dialog{width:min(560px,100%);max-height:calc(100dvh - 30px);overflow-y:auto;background:#fff;border-radius:19px;box-shadow:0 25px 85px rgba(13,39,24,.27);color:#294333;font-family:inherit}
.rs-photo-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:25px 25px 18px;border-bottom:1px solid #e5eee4}
.rs-photo-header h2{margin:7px 0 9px;color:#214a33;font-size:24px;line-height:1.2;letter-spacing:-.5px}
.rs-photo-header p{font-size:13px;line-height:1.6;color:#63786b;margin:0}
.rs-photo-eyebrow{color:#6f8b75;font-size:10px;letter-spacing:.1em;font-weight:850}
.rs-photo-close{display:grid;place-items:center;width:40px;height:40px;min-width:40px;border:1px solid #d9e5d9;background:#f6f9f5;border-radius:11px;color:#476b52;font-size:26px;line-height:1;cursor:pointer}
.rs-photo-body{padding:22px 25px}
.rs-photo-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;position:relative;padding:35px 18px;border:2px dashed #b7d1bb;background:#f6faf6;border-radius:15px;text-align:center;cursor:pointer}
.rs-photo-drop strong{font-size:16px;font-weight:850;color:#2b583b}
.rs-photo-drop span{font-size:12px;color:#6c8572}
.rs-photo-drop input[type=file]{display:block;max-width:100%;margin-top:5px;font-size:12px;color:#4e6a57}
.rs-photo-preview:not([hidden]){display:flex;align-items:center;gap:13px;padding:14px;border-radius:12px;background:#f3f7f1;border:1px solid #e1ebe0;margin-top:13px}
.rs-photo-preview[hidden]{display:none!important}
.rs-photo-preview img{width:78px;height:82px;object-fit:contain;background:#fff;border-radius:8px;border:1px solid #dce8da}
.rs-photo-preview span{font-size:12px;color:#47614c;overflow-wrap:anywhere;min-width:0}
.rs-photo-message{margin-top:15px;color:#597561;font-size:12px;line-height:1.6}
.rs-photo-message.is-error{color:#a03f2f;background:#fff2ef;border:1px solid #efc7bc;padding:11px;border-radius:9px;font-weight:700}
.rs-photo-actions{padding:15px 25px 24px;display:flex;align-items:center;justify-content:flex-end;gap:10px}
.rs-photo-actions button{min-height:44px;border:1px solid #d0dfd1;background:#fff;color:#3d624a;border-radius:10px;padding:11px 17px;font-weight:750;font-size:13px;line-height:1.3;font-family:inherit;cursor:pointer}
.rs-photo-actions .rs-photo-process{background:#316b4c;color:white;border-color:#316b4c;min-width:159px}
.rs-photo-process:disabled{opacity:.48;cursor:wait}
.rs-import-advice{padding:16px 19px;border-radius:14px;border:1px solid #bcd5c0;background:#eef7ee;color:#2f5b3d;margin:4px 0 20px}
.rs-import-advice strong{font-size:14px}
.rs-import-advice p{font-size:12px;line-height:1.6;margin:7px 0 0;color:#536e57}
.rs-import-category-warning{padding:9px 11px;border-radius:8px;background:#fff3df;color:#8b601d!important;font-weight:800}
.rs-import-uncertainties{margin-top:12px;color:#775b2d;font-size:12px;line-height:1.55}
.rs-import-uncertainties ul{margin:7px 0 0;padding-left:20px}
.rs-import-uncertainties li{padding:2px 0}
@media(max-width:600px){
 .rs-photo-overlay{padding:8px;align-items:center}
 .rs-photo-dialog{max-height:calc(100dvh - 16px);border-radius:16px}
 .rs-photo-header{padding:19px 17px 15px}
 .rs-photo-header h2{font-size:21px}
 .rs-photo-body{padding:17px}
 .rs-photo-drop{padding:26px 12px}
 .rs-photo-actions{padding:12px 17px 19px;gap:8px}
 .rs-photo-actions button{flex:1;padding:11px 9px}
 .rs-import-advice{margin:3px 0 14px;padding:14px}
}
