.sophie-photo-dialog{position:fixed;inset:0;width:min(740px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;border:1px solid #ced7c9;border-radius:16px;padding:24px;background:#fffefa;color:#24211e;font:15px/1.5 system-ui;z-index:100100}.sophie-photo-dialog::backdrop{background:rgba(20,35,27,.6)}.sophie-photo-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.sophie-photo-heading h2{font:normal 32px/1.2 Georgia,serif;color:#315641;margin:0}.sophie-photo-dialog button,.sophie-photo-trigger{font:inherit;min-height:44px;padding:9px 13px;border:1px solid #315641;border-radius:9px;background:transparent;color:#315641;cursor:pointer}.sophie-photo-dialog button.is-active{background:#315641;color:white}.sophie-photo-dialog button:disabled{opacity:.55;cursor:default}.sophie-photo-dialog :focus-visible{outline:3px solid #a57524;outline-offset:2px}.sophie-photo-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.sophie-label-preview{display:block;max-width:100%;max-height:240px;margin:12px auto;object-fit:contain;border-radius:8px}.sophie-photo-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sophie-photo-dialog label{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.sophie-photo-dialog input,.sophie-photo-dialog select{font:inherit;box-sizing:border-box;min-width:0;width:100%;min-height:44px;padding:8px;border:1px solid #b6c3b1;border-radius:6px;background:white;color:#24211e}.sophie-photo-dialog input[hidden]{display:none}.sophie-photo-dialog fieldset{border:1px solid #d6dfd1;border-radius:10px;margin-top:20px;padding:16px}.sophie-photo-dialog .sophie-photo-check{flex-direction:row;align-items:center;gap:10px}.sophie-photo-check input{width:20px;min-height:20px}.sophie-photo-dialog a{color:#315641;display:inline-block;margin:12px 0}.sophie-cellar-label-photo{display:block;max-width:120px;max-height:180px;object-fit:contain;margin:10px 0}.sk-section-title{flex-wrap:wrap;gap:12px}@media(max-width:520px){.sophie-photo-dialog{padding:16px}.sophie-photo-fields{grid-template-columns:1fr}.sophie-photo-heading h2{font-size:26px}}

.sophie-photo-dialog .is-enriched input,.sophie-photo-dialog .is-enriched select{background:#fce8ef;border-color:#b56783;color:#602a40}.sophie-photo-dialog .is-enriched small{color:#702e49}.sophie-enrichment-notice{padding:12px 14px;background:#fce8ef;border-radius:8px;color:#602a40}.sophie-photo-dialog small a{margin:0}.sophie-photo-candidates{display:grid;gap:8px}.sophie-photo-candidates button{text-align:left}.sophie-photo-product{margin:16px 0;padding:16px;background:#f4f6ef;border-radius:10px}.sophie-photo-product img{display:block;max-width:100%;height:180px;margin:0 auto 10px;object-fit:contain}.sophie-photo-product[hidden],.sophie-photo-dialog button[hidden],.sophie-cellar-toolbar button[hidden]{display:none}.sophie-cellar-toolbar{margin:0 0 24px}.sophie-cellar-toolbar p{margin:10px 0}.sophie-cellar-offer{padding:14px 0;margin:12px 0;border-top:1px solid #d6dfd1;border-bottom:1px solid #d6dfd1}.sophie-cellar-offer p{margin:4px 0 10px}.sophie-cellar-offer .sk-small{font-size:12px}.card-extra{min-width:0}.sophie-photo-dialog fieldset button{max-width:100%;white-space:normal}
