/* Olertis AI Jewelry Studio v2.4.1 */
#olertis-ai-jewelry-studio{--ajs-font-step:2px;--ajs-paper:#fffefa;--ajs-soft:#f5f5ef;--ajs-ink:#213b30;--ajs-muted:#66756c;--ajs-line:#e1e5dc;--ajs-green:#214e3c;--ajs-on-green:#fffef8;--ajs-selected:#eaf0e8;--ajs-gold:#8c7142;--ajs-error:#a14537;color:var(--ajs-ink);background:var(--ajs-paper);font:400 calc(13px + var(--ajs-font-step))/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;border:1px solid var(--ajs-line);border-radius:16px;overflow:visible;box-shadow:0 14px 44px #173b2710;isolation:isolate;max-width:100%;color-scheme:light}
    #olertis-ai-jewelry-studio *{box-sizing:border-box;min-width:0}
    #olertis-ai-jewelry-studio [hidden]{display:none!important}
    #olertis-ai-jewelry-studio button,#olertis-ai-jewelry-studio input,#olertis-ai-jewelry-studio select,#olertis-ai-jewelry-studio textarea{font:inherit}
    #olertis-ai-jewelry-studio button{color:inherit}
    #olertis-ai-jewelry-studio button:disabled{opacity:.6;cursor:wait}
    #olertis-ai-jewelry-studio .ajs-topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 23px;border-bottom:1px solid var(--ajs-line)}
    #olertis-ai-jewelry-studio .ajs-brand{font:400 calc(21px + var(--ajs-font-step))/1.1 Georgia,"Times New Roman",serif;letter-spacing:4px;color:var(--ajs-green)}
    #olertis-ai-jewelry-studio .ajs-brand-caption{letter-spacing:1.1px;font-size:calc(11px + var(--ajs-font-step));color:var(--ajs-muted);display:block;margin-top:5px}
    #olertis-ai-jewelry-studio .ajs-appname{display:flex;align-items:center;gap:9px;font-weight:500;font-size:calc(14px + var(--ajs-font-step))}
    #olertis-ai-jewelry-studio .ajs-appname i,#olertis-ai-jewelry-studio .ajs-appname svg{width:17px;height:17px;color:var(--ajs-gold)}
    #olertis-ai-jewelry-studio .ajs-body{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(0,1fr)}
    #olertis-ai-jewelry-studio .ajs-editor{padding:21px 23px 18px}
    #olertis-ai-jewelry-studio .ajs-labelrow{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}
    #olertis-ai-jewelry-studio .ajs-label{font-weight:500;font-size:calc(12px + var(--ajs-font-step));display:block}
    #olertis-ai-jewelry-studio .ajs-optional{color:var(--ajs-muted);font-size:calc(11px + var(--ajs-font-step));font-weight:400}
    #olertis-ai-jewelry-studio .ajs-prompt-wrap{position:relative}
    #olertis-ai-jewelry-studio textarea{display:block;width:100%;padding:13px 13px 29px;min-height:120px;resize:vertical;border:1px solid var(--ajs-line);border-radius:10px;background:var(--ajs-soft);color:var(--ajs-ink);line-height:1.65}
    #olertis-ai-jewelry-studio textarea::placeholder{color:var(--ajs-muted)}
    #olertis-ai-jewelry-studio .ajs-prompt-caption{position:absolute;bottom:9px;left:13px;right:12px;display:flex;justify-content:space-between;gap:8px;font-size:calc(11px + var(--ajs-font-step));color:var(--ajs-muted);pointer-events:none}
    #olertis-ai-jewelry-studio .ajs-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}
    #olertis-ai-jewelry-studio .ajs-field label{display:block;margin-bottom:6px;font-size:calc(12px + var(--ajs-font-step));font-weight:500}
    #olertis-ai-jewelry-studio .ajs-select-wrap{position:relative}
    #olertis-ai-jewelry-studio select{appearance:none;width:100%;min-height:41px;height:auto;padding:9px 29px 9px 10px;border:1px solid var(--ajs-line);border-radius:7px;color:var(--ajs-ink);background:var(--ajs-paper)}
    #olertis-ai-jewelry-studio .ajs-select-wrap>i,#olertis-ai-jewelry-studio .ajs-select-wrap>svg{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:12px;height:12px;pointer-events:none;color:var(--ajs-muted)}
    #olertis-ai-jewelry-studio .ajs-group{margin-top:15px}
    #olertis-ai-jewelry-studio .ajs-metal-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
    #olertis-ai-jewelry-studio .ajs-metal{padding:3px;width:38px;height:38px;display:grid;place-items:center;background:transparent;border:1px solid var(--ajs-line);border-radius:50%;position:relative}
    #olertis-ai-jewelry-studio .ajs-metal[aria-pressed="true"]{border:2px solid var(--ajs-green);padding:2px;box-shadow:0 0 0 2px var(--ajs-selected)}
    #olertis-ai-jewelry-studio .ajs-swatch{display:block;width:27px;height:27px;border-radius:50%}
    #olertis-ai-jewelry-studio .ajs-auto{background:var(--ajs-soft);color:var(--ajs-muted);font-size:calc(11px + var(--ajs-font-step));letter-spacing:0}
    #olertis-ai-jewelry-studio .ajs-yellow{background:linear-gradient(130deg,#b28c45 5%,#f3dfae 35%,#c69d50 70%,#f0d89b)}
    #olertis-ai-jewelry-studio .ajs-white{background:linear-gradient(130deg,#9d9e9e,#f4f4f0 40%,#b9bdb9 72%,#e6e9e4)}
    #olertis-ai-jewelry-studio .ajs-rose{background:linear-gradient(130deg,#af786c,#f0c9b8 38%,#c38d7e 72%,#f1d5c9)}
    #olertis-ai-jewelry-studio .ajs-platinum{background:linear-gradient(130deg,#747e82,#e2e7e8 40%,#969fa4 72%,#e0e7e8)}
    #olertis-ai-jewelry-studio .ajs-mixed{background:linear-gradient(130deg,#e5d09e 0 46%,#b8b6a9 47% 52%,#e2e6e7 53%)}
    #olertis-ai-jewelry-studio .ajs-chipset{display:flex;gap:6px;flex-wrap:wrap}
    #olertis-ai-jewelry-studio .ajs-chip{border:1px solid var(--ajs-line);background:var(--ajs-paper);padding:5px 10px;border-radius:6px;font-size:calc(11px + var(--ajs-font-step));line-height:1.5;white-space:normal;display:inline-flex;gap:5px;align-items:center}
    #olertis-ai-jewelry-studio .ajs-chip[aria-pressed="true"]{background:var(--ajs-selected);color:var(--ajs-green);border-color:var(--ajs-green)}
    #olertis-ai-jewelry-studio .ajs-upload{margin-top:15px;border:1px dashed var(--ajs-line);border-radius:8px;display:flex;align-items:center;gap:10px;padding:11px;background:var(--ajs-paper);width:100%;text-align:left}
    #olertis-ai-jewelry-studio .ajs-upload>i,#olertis-ai-jewelry-studio .ajs-upload>svg{width:19px;height:19px;color:var(--ajs-green);flex-shrink:0}
    #olertis-ai-jewelry-studio .ajs-upload-copy{flex:1;display:block}
    #olertis-ai-jewelry-studio .ajs-upload-copy>span{display:block;font-weight:500;font-size:calc(12px + var(--ajs-font-step))}
    #olertis-ai-jewelry-studio .ajs-upload-copy>small{display:block;font-size:calc(11px + var(--ajs-font-step));color:var(--ajs-muted);margin-top:1px}
    #olertis-ai-jewelry-studio .ajs-upload-plus{font-size:calc(20px + var(--ajs-font-step));font-weight:400;color:var(--ajs-muted)}
    #olertis-ai-jewelry-studio .ajs-reference-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}
    #olertis-ai-jewelry-studio .ajs-reference{position:relative;width:62px}
    #olertis-ai-jewelry-studio .ajs-reference img{display:block;width:62px;height:54px;object-fit:cover;border-radius:6px;border:1px solid var(--ajs-line)}
    #olertis-ai-jewelry-studio .ajs-reference button{position:absolute;top:-5px;right:-5px;border:1px solid var(--ajs-line);border-radius:50%;width:21px;height:21px;background:var(--ajs-paper);padding:0;font-size:calc(14px + var(--ajs-font-step));line-height:1}
    #olertis-ai-jewelry-studio .ajs-reference-name{display:block;max-width:62px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:calc(11px + var(--ajs-font-step));color:var(--ajs-muted);margin-top:3px}
    #olertis-ai-jewelry-studio .ajs-reference-options{margin-top:10px}
    #olertis-ai-jewelry-studio .ajs-reference-options .ajs-label{margin-bottom:7px}
    #olertis-ai-jewelry-studio .ajs-advanced{margin-top:15px;border-top:1px solid var(--ajs-line)}
    #olertis-ai-jewelry-studio .ajs-advanced>summary{list-style:none;display:flex;align-items:center;gap:8px;padding:13px 0 0;font-weight:500;font-size:calc(12px + var(--ajs-font-step))}
    #olertis-ai-jewelry-studio .ajs-advanced>summary::-webkit-details-marker{display:none}
    #olertis-ai-jewelry-studio .ajs-advanced>summary>i,#olertis-ai-jewelry-studio .ajs-advanced>summary>svg{width:14px;height:14px}
    #olertis-ai-jewelry-studio .ajs-advanced .ajs-chevron{margin-left:auto;transition:transform .18s}
    #olertis-ai-jewelry-studio .ajs-advanced[open] .ajs-chevron{transform:rotate(180deg)}
    #olertis-ai-jewelry-studio .ajs-advanced-grid{margin-top:13px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
    #olertis-ai-jewelry-studio .ajs-context-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
    #olertis-ai-jewelry-studio .ajs-central{display:flex;align-items:center;gap:7px;font-size:calc(12px + var(--ajs-font-step));margin-top:13px}
    #olertis-ai-jewelry-studio .ajs-central input{accent-color:var(--ajs-green);width:15px;height:15px;margin:0}
    #olertis-ai-jewelry-studio .ajs-alert{border-left:2px solid var(--ajs-error);color:var(--ajs-error);font-size:calc(12px + var(--ajs-font-step));padding:7px 9px;background:var(--ajs-soft);margin-top:13px}
    #olertis-ai-jewelry-studio .ajs-textbutton{border:0;border-bottom:1px solid currentColor;border-radius:0;padding:0;background:transparent;color:inherit;font:inherit;margin-top:5px}
    #olertis-ai-jewelry-studio .ajs-result{border-left:1px solid var(--ajs-line);background:var(--ajs-soft);padding:22px 20px;display:flex;flex-direction:column;gap:16px}
    #olertis-ai-jewelry-studio .ajs-result-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
    #olertis-ai-jewelry-studio .ajs-eyebrow{font-size:calc(11px + var(--ajs-font-step));letter-spacing:1.2px;font-weight:500;color:var(--ajs-muted)}
    #olertis-ai-jewelry-studio .ajs-preview-tag{font-size:calc(11px + var(--ajs-font-step));display:inline-flex;align-items:center;gap:4px;color:var(--ajs-muted)}
    #olertis-ai-jewelry-studio .ajs-preview-tag:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--ajs-gold)}
    #olertis-ai-jewelry-studio .ajs-canvas{border-radius:10px;background:#183e31;color:#e5e9db;min-height:254px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:22px 14px;text-align:center;position:relative;overflow:hidden}
    #olertis-ai-jewelry-studio .ajs-canvas:before{content:"";position:absolute;width:190px;height:190px;border:1px solid #a3bc9e26;border-radius:50%;top:26px;left:50%;transform:translateX(-50%)}
    #olertis-ai-jewelry-studio .ajs-canvas:after{content:"";position:absolute;width:222px;height:222px;border:1px solid #a3bc9e13;border-radius:50%;top:10px;left:50%;transform:translateX(-50%);pointer-events:none}
    #olertis-ai-jewelry-studio .ajs-canvas>*{position:relative;z-index:1}
    #olertis-ai-jewelry-studio .ajs-canvas-gem{margin:6px 0 21px;color:#cebb8f;display:grid;place-items:center;width:68px;height:68px;border-radius:20px;border:1px solid #cebb8f5c;background:#214a3b}
    #olertis-ai-jewelry-studio .ajs-canvas-gem>i,#olertis-ai-jewelry-studio .ajs-canvas-gem>svg{width:33px;height:33px;stroke-width:1.1}
    #olertis-ai-jewelry-studio .ajs-canvas-title{font:400 calc(24px + var(--ajs-font-step))/1.15 Georgia,"Times New Roman",serif;max-width:180px;margin:0;color:#f2eee1}
    #olertis-ai-jewelry-studio .ajs-canvas-subtitle{color:#b8c7b8;font-size:calc(11px + var(--ajs-font-step));margin-top:10px;max-width:190px}
    #olertis-ai-jewelry-studio .ajs-direction h3{font-size:calc(12px + var(--ajs-font-step));font-weight:500;margin:0 0 10px}
    #olertis-ai-jewelry-studio .ajs-direction-line{display:flex;gap:9px;padding:7px 0;align-items:flex-start;font-size:calc(12px + var(--ajs-font-step))}
    #olertis-ai-jewelry-studio .ajs-direction-line>i,#olertis-ai-jewelry-studio .ajs-direction-line>svg{width:14px;height:14px;flex-shrink:0;margin-top:2px;color:var(--ajs-muted)}
    #olertis-ai-jewelry-studio .ajs-direction-line span{overflow-wrap:anywhere}
    #olertis-ai-jewelry-studio .ajs-direction-line .ajs-mini-swatch{flex-shrink:0;width:13px;height:13px;margin-top:3px;border-radius:50%}
    #olertis-ai-jewelry-studio .ajs-direction-footer{border-top:1px solid var(--ajs-line);margin-top:8px;padding-top:10px;font-size:calc(11px + var(--ajs-font-step));color:var(--ajs-muted)}
    #olertis-ai-jewelry-studio .ajs-brief{border-top:1px solid var(--ajs-line);padding-top:11px;margin-top:0}
    #olertis-ai-jewelry-studio .ajs-brief summary{font-size:calc(11px + var(--ajs-font-step));font-weight:500}
    #olertis-ai-jewelry-studio .ajs-brief-text{font-size:calc(12px + var(--ajs-font-step));color:var(--ajs-muted);white-space:pre-line;overflow-wrap:anywhere;margin:10px 0 0}
    #olertis-ai-jewelry-studio .ajs-result-note{font-size:calc(11px + var(--ajs-font-step));color:var(--ajs-muted);display:flex;align-items:flex-start;gap:7px;margin-top:auto;padding-top:12px}
    #olertis-ai-jewelry-studio .ajs-result-note>i,#olertis-ai-jewelry-studio .ajs-result-note>svg{width:14px;height:14px;flex-shrink:0;margin-top:2px}
    #olertis-ai-jewelry-studio .ajs-footer{border-top:1px solid var(--ajs-line);display:flex;gap:15px;align-items:center;justify-content:space-between;padding:16px 23px;background:var(--ajs-paper)}
    #olertis-ai-jewelry-studio .ajs-footer-copy{font-size:calc(11px + var(--ajs-font-step));color:var(--ajs-muted);overflow-wrap:anywhere}
    #olertis-ai-jewelry-studio .ajs-footer-copy strong{display:block;color:var(--ajs-ink);font-size:calc(12px + var(--ajs-font-step));font-weight:500;margin-bottom:2px}
    #olertis-ai-jewelry-studio .ajs-generate{border:1px solid var(--ajs-green);background:var(--ajs-green);color:var(--ajs-on-green);border-radius:8px;padding:11px 17px;display:flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;font-size:calc(12px + var(--ajs-font-step));font-weight:500;flex-shrink:0}
    #olertis-ai-jewelry-studio .ajs-generate>i,#olertis-ai-jewelry-studio .ajs-generate>svg{width:15px;height:15px}
    #olertis-ai-jewelry-studio .ajs-inline-note{font-size:calc(11px + var(--ajs-font-step));color:var(--ajs-muted);margin-top:8px}
    #olertis-ai-jewelry-studio .ajs-status{font-size:calc(11px + var(--ajs-font-step));color:var(--ajs-green);margin-top:8px;min-height:0}
    @media(max-width:650px){#olertis-ai-jewelry-studio .ajs-body{grid-template-columns:1fr}#olertis-ai-jewelry-studio .ajs-result{border-left:0;border-top:1px solid var(--ajs-line);display:grid;grid-template-columns:1fr 1fr;gap:13px}#olertis-ai-jewelry-studio .ajs-result-heading{grid-column:1/-1}#olertis-ai-jewelry-studio .ajs-canvas{min-height:229px;grid-row:2/4}#olertis-ai-jewelry-studio .ajs-result-note{grid-column:1/-1;margin-top:0}#olertis-ai-jewelry-studio .ajs-brief{grid-column:2}#olertis-ai-jewelry-studio .ajs-canvas-title{font-size:calc(22px + var(--ajs-font-step))}#olertis-ai-jewelry-studio .ajs-editor{padding:20px}#olertis-ai-jewelry-studio .ajs-footer{padding:15px 20px}}
    @media(max-width:400px){#olertis-ai-jewelry-studio .ajs-topbar{padding:16px;align-items:flex-start}#olertis-ai-jewelry-studio .ajs-brand{font-size:calc(18px + var(--ajs-font-step));letter-spacing:3px}#olertis-ai-jewelry-studio .ajs-appname{font-size:calc(12px + var(--ajs-font-step));gap:6px}#olertis-ai-jewelry-studio .ajs-brand-caption{font-size:calc(11px + var(--ajs-font-step));letter-spacing:.5px}#olertis-ai-jewelry-studio .ajs-editor{padding:17px 16px}#olertis-ai-jewelry-studio .ajs-result{padding:17px 16px;grid-template-columns:1fr}#olertis-ai-jewelry-studio .ajs-canvas{grid-row:auto;min-height:218px}#olertis-ai-jewelry-studio .ajs-brief{grid-column:auto}#olertis-ai-jewelry-studio .ajs-result-note{grid-column:auto}#olertis-ai-jewelry-studio .ajs-footer{flex-direction:column;align-items:stretch;padding:15px 16px;gap:12px}#olertis-ai-jewelry-studio .ajs-generate{width:100%}#olertis-ai-jewelry-studio .ajs-fields,#olertis-ai-jewelry-studio .ajs-advanced-grid,#olertis-ai-jewelry-studio .ajs-context-grid{gap:10px}#olertis-ai-jewelry-studio .ajs-chip{padding:5px 8px}#olertis-ai-jewelry-studio .ajs-metal-options{gap:7px}#olertis-ai-jewelry-studio .ajs-prompt-caption{font-size:calc(11px + var(--ajs-font-step))}}
    @media(pointer:coarse){#olertis-ai-jewelry-studio select{height:44px;font-size:calc(16px + var(--ajs-font-step))}#olertis-ai-jewelry-studio textarea{font-size:calc(16px + var(--ajs-font-step))}#olertis-ai-jewelry-studio .ajs-chip{min-height:44px}#olertis-ai-jewelry-studio .ajs-metal{width:44px;height:44px}#olertis-ai-jewelry-studio .ajs-metal-options{gap:4px}#olertis-ai-jewelry-studio .ajs-advanced>summary{min-height:44px}#olertis-ai-jewelry-studio .ajs-select-wrap>i,#olertis-ai-jewelry-studio .ajs-select-wrap>svg{top:50%}#olertis-ai-jewelry-studio .ajs-reference{width:80px}#olertis-ai-jewelry-studio .ajs-reference img{width:80px;height:67px}#olertis-ai-jewelry-studio .ajs-reference button{width:44px;height:44px;right:-5px;top:-4px}#olertis-ai-jewelry-studio .ajs-reference-list{gap:12px}#olertis-ai-jewelry-studio .ajs-central{min-height:44px}#olertis-ai-jewelry-studio .ajs-textbutton{min-height:44px}}
    @media(prefers-reduced-motion:reduce){#olertis-ai-jewelry-studio *{transition:none!important}}
    @media(max-width:650px){#olertis-ai-jewelry-studio{display:flex;flex-direction:column}#olertis-ai-jewelry-studio .ajs-body{display:contents}#olertis-ai-jewelry-studio .ajs-editor{order:1}#olertis-ai-jewelry-studio .ajs-footer{order:2}#olertis-ai-jewelry-studio .ajs-result{order:3}}
    @media(max-width:400px){#olertis-ai-jewelry-studio .ajs-fields,#olertis-ai-jewelry-studio .ajs-advanced-grid,#olertis-ai-jewelry-studio .ajs-context-grid{grid-template-columns:1fr}}
#olertis-ai-jewelry-studio{text-align:left;letter-spacing:normal;width:100%}
#olertis-ai-jewelry-studio button{margin:0;text-transform:none;letter-spacing:normal;box-shadow:none}
#olertis-ai-jewelry-studio .ajs-interactive{cursor:pointer}
#olertis-ai-jewelry-studio svg{display:inline-block;vertical-align:middle;flex-shrink:0}
#olertis-ai-jewelry-studio .ajs-reference-name{line-height:1.5}

.olertis-ajs-host{container-type:inline-size;container-name:olertis-ajs;width:100%;min-width:0}
@container olertis-ajs (max-width:650px){#olertis-ai-jewelry-studio .ajs-body{grid-template-columns:1fr}#olertis-ai-jewelry-studio .ajs-result{border-left:0;border-top:1px solid var(--ajs-line);display:grid;grid-template-columns:1fr 1fr;gap:13px}#olertis-ai-jewelry-studio .ajs-result-heading{grid-column:1/-1}#olertis-ai-jewelry-studio .ajs-canvas{min-height:229px;grid-row:2/4}#olertis-ai-jewelry-studio .ajs-result-note{grid-column:1/-1;margin-top:0}#olertis-ai-jewelry-studio .ajs-brief{grid-column:2}#olertis-ai-jewelry-studio .ajs-canvas-title{font-size:calc(22px + var(--ajs-font-step))}#olertis-ai-jewelry-studio .ajs-editor{padding:20px}#olertis-ai-jewelry-studio .ajs-footer{padding:15px 20px}}
@container olertis-ajs (max-width:400px){#olertis-ai-jewelry-studio .ajs-topbar{padding:16px;align-items:flex-start}#olertis-ai-jewelry-studio .ajs-brand{font-size:calc(18px + var(--ajs-font-step));letter-spacing:3px}#olertis-ai-jewelry-studio .ajs-appname{font-size:calc(12px + var(--ajs-font-step));gap:6px}#olertis-ai-jewelry-studio .ajs-brand-caption{font-size:calc(11px + var(--ajs-font-step));letter-spacing:.5px}#olertis-ai-jewelry-studio .ajs-editor{padding:17px 16px}#olertis-ai-jewelry-studio .ajs-result{padding:17px 16px;grid-template-columns:1fr}#olertis-ai-jewelry-studio .ajs-canvas{grid-row:auto;min-height:218px}#olertis-ai-jewelry-studio .ajs-brief{grid-column:auto}#olertis-ai-jewelry-studio .ajs-result-note{grid-column:auto}#olertis-ai-jewelry-studio .ajs-footer{flex-direction:column;align-items:stretch;padding:15px 16px;gap:12px}#olertis-ai-jewelry-studio .ajs-generate{width:100%}#olertis-ai-jewelry-studio .ajs-fields,#olertis-ai-jewelry-studio .ajs-advanced-grid,#olertis-ai-jewelry-studio .ajs-context-grid{gap:10px}#olertis-ai-jewelry-studio .ajs-chip{padding:5px 8px}#olertis-ai-jewelry-studio .ajs-metal-options{gap:7px}#olertis-ai-jewelry-studio .ajs-prompt-caption{font-size:calc(11px + var(--ajs-font-step))}}
@container olertis-ajs (max-width:650px){#olertis-ai-jewelry-studio{display:flex;flex-direction:column}#olertis-ai-jewelry-studio .ajs-body{display:contents}#olertis-ai-jewelry-studio .ajs-editor{order:1}#olertis-ai-jewelry-studio .ajs-footer{order:2}#olertis-ai-jewelry-studio .ajs-result{order:3}}
@container olertis-ajs (max-width:400px){#olertis-ai-jewelry-studio .ajs-fields,#olertis-ai-jewelry-studio .ajs-advanced-grid,#olertis-ai-jewelry-studio .ajs-context-grid{grid-template-columns:1fr}}


/* Shared responsive type scale; every original font size includes this increment. */
@media(max-width:1024px){#olertis-ai-jewelry-studio{--ajs-font-step:1px}}
#olertis-ai-jewelry-studio .ajs-topbar{border-radius:16px 16px 0 0}
#olertis-ai-jewelry-studio .ajs-footer{border-radius:0 0 16px 16px}
#olertis-ai-jewelry-studio .ajs-result{border-radius:0 0 16px 0}
#olertis-ai-jewelry-studio .ajs-field .ajs-label{margin-bottom:6px}
#olertis-ai-jewelry-studio .ajs-direction h3{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:calc(14px + var(--ajs-font-step));font-weight:600;line-height:1.45;letter-spacing:normal;text-transform:none;color:var(--ajs-ink)}
#olertis-ai-jewelry-studio .ajs-canvas-title{max-width:210px}
/* Fixed box geometry prevents theme button styles and border changes shifting swatches. */
#olertis-ai-jewelry-studio .ajs-metal{appearance:none;width:42px;height:42px;min-width:42px;min-height:42px;max-width:42px;max-height:42px;flex:0 0 42px;display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1;border:2px solid var(--ajs-line);border-radius:50%;text-indent:0}
#olertis-ai-jewelry-studio .ajs-metal[aria-pressed="true"]{border-width:2px;padding:0;box-shadow:0 0 0 2px var(--ajs-selected)}
#olertis-ai-jewelry-studio .ajs-metal .ajs-swatch{display:flex;align-items:center;justify-content:center;width:29px;height:29px;flex:0 0 29px;margin:0;padding:0;line-height:1;text-align:center;position:static;transform:none;text-indent:0}
#olertis-ai-jewelry-studio .ajs-metal .ajs-auto{width:34px;height:29px;flex-basis:34px;background:transparent;white-space:nowrap}
#olertis-ai-jewelry-studio .ajs-prompt-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:7px}
#olertis-ai-jewelry-studio .ajs-prompt-actions .ajs-status{margin:0;flex:1}
#olertis-ai-jewelry-studio .ajs-prompt-actions .ajs-textbutton{font-size:calc(11px + var(--ajs-font-step));flex-shrink:0;min-height:24px;margin:0}
#olertis-ai-jewelry-studio .ajs-main-field{margin-top:12px;max-width:100%}
#olertis-ai-jewelry-studio .ajs-multiselect{position:relative}
#olertis-ai-jewelry-studio .ajs-multiselect>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:41px;padding:9px 10px;border:1px solid var(--ajs-line);border-radius:7px;background:var(--ajs-paper);font-weight:400}
#olertis-ai-jewelry-studio .ajs-multiselect>summary::-webkit-details-marker{display:none}
#olertis-ai-jewelry-studio .ajs-multiselect>summary>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#olertis-ai-jewelry-studio .ajs-multiselect>summary>svg{width:12px;height:12px;color:var(--ajs-muted)}
#olertis-ai-jewelry-studio .ajs-multi-panel{position:absolute;z-index:20;top:calc(100% + 5px);left:0;right:0;min-width:220px;max-height:320px;overflow:auto;overscroll-behavior:contain;background:var(--ajs-paper);border:1px solid var(--ajs-line);border-radius:9px;padding:9px;box-shadow:0 10px 28px #173b2720}
#olertis-ai-jewelry-studio .ajs-open-up .ajs-multi-panel{top:auto;bottom:calc(100% + 5px)}
#olertis-ai-jewelry-studio .ajs-multi-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px 8px}
#olertis-ai-jewelry-studio .ajs-multi-actions button{font-size:calc(11px + var(--ajs-font-step));margin:0}
#olertis-ai-jewelry-studio .ajs-option-heading{font-size:calc(11px + var(--ajs-font-step));font-weight:600;color:var(--ajs-muted);padding:7px 4px 5px}
#olertis-ai-jewelry-studio .ajs-field .ajs-check-option{display:flex;align-items:center;gap:9px;margin:0;padding:7px 4px;border-radius:5px;cursor:pointer;font-size:inherit;font-weight:400;line-height:1.45}
#olertis-ai-jewelry-studio .ajs-check-option:hover{background:var(--ajs-selected)}
#olertis-ai-jewelry-studio .ajs-check-option input{appearance:auto;accent-color:var(--ajs-green);width:16px;height:16px;min-width:16px;min-height:16px;margin:0;flex:0 0 16px;padding:0}
#olertis-ai-jewelry-studio .ajs-generated-image{display:block;position:relative;width:100%;height:auto;max-height:650px;object-fit:contain;border-radius:10px}
#olertis-ai-jewelry-studio .ajs-canvas.ajs-has-image{padding:0;background:var(--ajs-paper);min-height:0}
#olertis-ai-jewelry-studio .ajs-canvas.ajs-has-image:before,#olertis-ai-jewelry-studio .ajs-canvas.ajs-has-image:after,#olertis-ai-jewelry-studio .ajs-has-image .ajs-canvas-gem,#olertis-ai-jewelry-studio .ajs-has-image .ajs-canvas-title,#olertis-ai-jewelry-studio .ajs-has-image .ajs-canvas-subtitle{display:none}
#olertis-ai-jewelry-studio .ajs-result-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#olertis-ai-jewelry-studio .ajs-interactive:focus-visible,#olertis-ai-jewelry-studio input:focus-visible,#olertis-ai-jewelry-studio select:focus-visible,#olertis-ai-jewelry-studio textarea:focus-visible{outline:2px solid var(--ajs-green);outline-offset:3px}
#olertis-ai-jewelry-studio .ajs-prompt-caption>span:first-child{max-width:70%}
#olertis-ai-jewelry-studio .ajs-prompt-caption>span:last-child{white-space:nowrap}
#olertis-ai-jewelry-studio textarea{padding-bottom:45px}
@media(pointer:coarse){#olertis-ai-jewelry-studio .ajs-metal{width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;max-height:44px;flex-basis:44px}#olertis-ai-jewelry-studio .ajs-multiselect>summary,#olertis-ai-jewelry-studio .ajs-check-option{min-height:44px}}
@media(max-width:650px){#olertis-ai-jewelry-studio .ajs-result{border-radius:0 0 16px 16px}#olertis-ai-jewelry-studio .ajs-footer{border-radius:0}#olertis-ai-jewelry-studio .ajs-result-actions{grid-column:1/-1}#olertis-ai-jewelry-studio .ajs-multi-panel{position:static;min-width:0;margin-top:5px;max-height:290px;box-shadow:none}#olertis-ai-jewelry-studio .ajs-prompt-caption{bottom:9px}}
@container olertis-ajs (max-width:650px){#olertis-ai-jewelry-studio .ajs-result{border-radius:0 0 16px 16px}#olertis-ai-jewelry-studio .ajs-footer{border-radius:0}#olertis-ai-jewelry-studio .ajs-result-actions{grid-column:1/-1}#olertis-ai-jewelry-studio .ajs-multi-panel{position:static;min-width:0;margin-top:5px;max-height:290px;box-shadow:none}}

/* Error feedback and details supplied only to signed-in site administrators. */
#olertis-ai-jewelry-studio .ajs-footer-copy{flex:1;min-width:0}
#olertis-ai-jewelry-studio .ajs-generate{flex-shrink:0}
#olertis-ai-jewelry-studio .ajs-footer-error #ajs-footer-status{display:block;color:#8c3429;font-weight:600;margin-top:6px}

/* Input validation is scoped to the studio and never changes the /2,000 suffix. */
#olertis-ai-jewelry-studio .ajs-counter-invalid,
#olertis-ai-jewelry-studio #ajs-prompt-error,
#olertis-ai-jewelry-studio #ajs-file-status.ajs-file-error{color:var(--ajs-error);font-weight:500}
#olertis-ai-jewelry-studio .ajs-prompt-invalid textarea{border-color:var(--ajs-error);outline-color:var(--ajs-error);box-shadow:0 0 0 1px var(--ajs-error);padding-bottom:88px}
#olertis-ai-jewelry-studio .ajs-prompt-message{flex:1;max-width:70%;overflow-wrap:anywhere}
#olertis-ai-jewelry-studio #ajs-file-status.ajs-file-error{padding:8px 10px;border-left:2px solid var(--ajs-error);background:#a145370a;overflow-wrap:anywhere}
#olertis-ai-jewelry-studio .ajs-reference-format{display:grid;place-items:center;width:62px;height:52px;border:1px solid var(--ajs-line);border-radius:6px;background:var(--ajs-soft);font-size:calc(10px + var(--ajs-font-step));color:var(--ajs-muted)}
@media(pointer:coarse){#olertis-ai-jewelry-studio .ajs-reference-format{width:80px;height:67px}}
#olertis-ai-jewelry-studio .ajs-admin-diagnostic{display:block;margin-top:10px;padding:10px 12px;border:1px solid #e8d4c9;border-radius:8px;background:#fff8f3;color:#674436;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:calc(11px + var(--ajs-font-step));line-height:1.6;overflow-wrap:anywhere}

/* Persistent concepts and limit feedback; scoped to the studio only. */
#olertis-ai-jewelry-studio .ajs-generate-wrap{display:flex;flex-direction:column;align-items:stretch;gap:8px;max-width:360px;flex:0 1 auto}
#olertis-ai-jewelry-studio .ajs-limit-message{margin:0;color:var(--ajs-error);font-size:calc(11px + var(--ajs-font-step));line-height:1.5}
#olertis-ai-jewelry-studio .ajs-generate:disabled{cursor:not-allowed}
#olertis-ai-jewelry-studio[aria-busy="true"] .ajs-generate{cursor:wait}
/* The history rail overlays the preview; the closed state exposes its handle. */
#olertis-ai-jewelry-studio .ajs-canvas .ajs-history{--ajs-history-handle:28px;position:absolute;inset:0 0 0 auto;z-index:4;width:clamp(124px,32%,150px);margin:0;padding:0;border:0;text-align:left;transform:translateX(calc(100% - var(--ajs-history-handle)));transition:transform .28s cubic-bezier(.2,.75,.25,1);pointer-events:none}
#olertis-ai-jewelry-studio .ajs-history.ajs-history-open{transform:translateX(0)}
#olertis-ai-jewelry-studio .ajs-history.ajs-history-dragging{transition:none}
#olertis-ai-jewelry-studio .ajs-history-handle{position:absolute;left:0;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:var(--ajs-history-handle);min-height:124px;padding:5px 2px;border:1px solid #d6ddcf;border-right:0;border-radius:10px 0 0 10px;background:var(--ajs-paper);color:var(--ajs-green);box-shadow:-3px 0 15px #12342818;pointer-events:auto;touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:ew-resize}
#olertis-ai-jewelry-studio .ajs-history-label{writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;font-size:calc(11px + var(--ajs-font-step));font-weight:500;letter-spacing:.2px;line-height:1.2}
#olertis-ai-jewelry-studio .ajs-history-count{display:grid;place-items:center;min-width:16px;min-height:16px;padding:0 1px;border-radius:50%;background:#edf1e8;font-size:calc(8px + var(--ajs-font-step));line-height:1.3}
#olertis-ai-jewelry-studio .ajs-history-handle>svg{width:12px;height:12px;transition:transform .24s}
#olertis-ai-jewelry-studio .ajs-history-open .ajs-history-handle>svg{transform:rotate(180deg)}
#olertis-ai-jewelry-studio .ajs-history-panel{position:absolute;inset:0 0 0 var(--ajs-history-handle);display:flex;flex-direction:column;min-height:0;background:var(--ajs-paper);border-left:1px solid #d6ddcf;box-shadow:-5px 0 24px #12342812;pointer-events:auto}
#olertis-ai-jewelry-studio .ajs-history-panel[aria-hidden="true"]{visibility:hidden;pointer-events:none}
#olertis-ai-jewelry-studio .ajs-history-heading{flex:0 0 auto;padding:13px 10px 9px;border-bottom:1px solid var(--ajs-line);touch-action:pan-y;user-select:none;cursor:ew-resize}
#olertis-ai-jewelry-studio .ajs-history h3{font:600 calc(11px + var(--ajs-font-step))/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;margin:0;color:var(--ajs-ink)}
#olertis-ai-jewelry-studio .ajs-history-scroll{min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y;padding:10px;scrollbar-width:thin;scrollbar-color:#a8b5a4 var(--ajs-paper);-webkit-overflow-scrolling:touch}
#olertis-ai-jewelry-studio .ajs-history-list{display:flex;flex-direction:column;gap:10px;max-width:100%}
#olertis-ai-jewelry-studio .ajs-history-item{display:block;padding:0;border:1px solid #d8dfd2;border-radius:8px;background:white;flex:0 0 auto;width:100%;height:auto;aspect-ratio:1;overflow:hidden;cursor:pointer;transition:border-color .16s,box-shadow .16s}
#olertis-ai-jewelry-studio .ajs-history-item:hover{border-color:#7c987e;box-shadow:0 2px 8px #173b271a}
#olertis-ai-jewelry-studio .ajs-history-item:disabled{cursor:wait;opacity:.75}
#olertis-ai-jewelry-studio .ajs-history-item img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
#olertis-ai-jewelry-studio #ajs-history-more{display:block;white-space:normal;margin:10px auto 2px;font-size:calc(10px + var(--ajs-font-step));text-align:center}
#olertis-ai-jewelry-studio .ajs-history-wait,#olertis-ai-jewelry-studio #ajs-history-status{font-size:calc(10px + var(--ajs-font-step));line-height:1.45;margin:0 0 10px;color:var(--ajs-muted);overflow-wrap:anywhere}
#olertis-ai-jewelry-studio #ajs-history-status{margin:10px 0 0;color:var(--ajs-error)}
#olertis-ai-jewelry-studio .ajs-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Clockwise white trail follows the rounded gem tile shown in the reference. */
#olertis-ai-jewelry-studio .ajs-canvas-gem{position:relative;flex-shrink:0}
#olertis-ai-jewelry-studio .ajs-canvas-gem>.ajs-creation-orbit{display:none;position:absolute;inset:-4px;width:calc(100% + 8px);height:calc(100% + 8px);overflow:visible;pointer-events:none}
#olertis-ai-jewelry-studio .ajs-is-generating .ajs-creation-orbit{display:block}
#olertis-ai-jewelry-studio .ajs-orbit-segment{stroke:#fffefa;stroke-width:3.6;stroke-linecap:round;stroke-dasharray:3.5 96.5;animation:ajs-concept-orbit 2.8s linear infinite}
#olertis-ai-jewelry-studio .ajs-is-generating .ajs-canvas-title{max-width:250px;font-size:calc(23px + var(--ajs-font-step));line-height:1.22}
#olertis-ai-jewelry-studio .ajs-is-generating .ajs-canvas-subtitle{max-width:235px;line-height:1.65}
@keyframes ajs-concept-orbit{from{stroke-dashoffset:calc((0 - var(--ajs-orbit-start)) * 1px)}to{stroke-dashoffset:calc((-100 - var(--ajs-orbit-start)) * 1px)}}
@media(prefers-reduced-motion:reduce){#olertis-ai-jewelry-studio .ajs-orbit-segment{animation:none;stroke-dashoffset:calc((0 - var(--ajs-orbit-start)) * 1px)}}
@media(pointer:coarse){#olertis-ai-jewelry-studio .ajs-canvas .ajs-history{--ajs-history-handle:28px}#olertis-ai-jewelry-studio .ajs-history-heading{padding-top:15px;padding-bottom:12px}}
@media(max-width:700px){#olertis-ai-jewelry-studio .ajs-generate-wrap{max-width:none;width:100%}}

@media(max-width:650px){#olertis-ai-jewelry-studio .ajs-history{grid-column:1/-1}#olertis-ai-jewelry-studio .ajs-footer{flex-direction:column;align-items:stretch}}
@container olertis-ajs (max-width:650px){#olertis-ai-jewelry-studio .ajs-history{grid-column:1/-1}#olertis-ai-jewelry-studio .ajs-footer{flex-direction:column;align-items:stretch}#olertis-ai-jewelry-studio .ajs-generate-wrap{max-width:none;width:100%}}

@media(min-width:401px) and (max-width:650px){#olertis-ai-jewelry-studio .ajs-direction{grid-column:2;grid-row:2}#olertis-ai-jewelry-studio .ajs-brief{grid-column:2;grid-row:3}#olertis-ai-jewelry-studio .ajs-result-actions{grid-row:4}#olertis-ai-jewelry-studio .ajs-history{grid-row:5}#olertis-ai-jewelry-studio .ajs-result-note{grid-row:6}}
@container olertis-ajs (min-width:401px) and (max-width:650px){#olertis-ai-jewelry-studio .ajs-direction{grid-column:2;grid-row:2}#olertis-ai-jewelry-studio .ajs-brief{grid-column:2;grid-row:3}#olertis-ai-jewelry-studio .ajs-result-actions{grid-row:4}#olertis-ai-jewelry-studio .ajs-history{grid-row:5}#olertis-ai-jewelry-studio .ajs-result-note{grid-row:6}}
@container olertis-ajs (max-width:400px){#olertis-ai-jewelry-studio .ajs-direction,#olertis-ai-jewelry-studio .ajs-brief{grid-column:auto;grid-row:auto}#olertis-ai-jewelry-studio .ajs-result-actions,#olertis-ai-jewelry-studio .ajs-history,#olertis-ai-jewelry-studio .ajs-result-note{grid-row:auto}}
@media(max-width:400px){#olertis-ai-jewelry-studio .ajs-direction,#olertis-ai-jewelry-studio .ajs-brief{grid-column:auto;grid-row:auto}#olertis-ai-jewelry-studio .ajs-result-actions,#olertis-ai-jewelry-studio .ajs-history,#olertis-ai-jewelry-studio .ajs-result-note{grid-row:auto}}

/* Give the preview and its overlaid rail the full available width on phones. */
@media(max-width:650px){#olertis-ai-jewelry-studio .ajs-result{display:flex;flex-direction:column;gap:16px}#olertis-ai-jewelry-studio .ajs-result-note{margin-top:0}}
@container olertis-ajs (max-width:650px){#olertis-ai-jewelry-studio .ajs-result{display:flex;flex-direction:column;gap:16px}#olertis-ai-jewelry-studio .ajs-result-note{margin-top:0}}


#olertis-ai-jewelry-studio .ajs-orbit-segment:nth-child(1){--ajs-orbit-start:0;opacity:0.07}
#olertis-ai-jewelry-studio .ajs-orbit-segment:nth-child(2){--ajs-orbit-start:3;opacity:0.203}
#olertis-ai-jewelry-studio .ajs-orbit-segment:nth-child(3){--ajs-orbit-start:6;opacity:0.336}
#olertis-ai-jewelry-studio .ajs-orbit-segment:nth-child(4){--ajs-orbit-start:9;opacity:0.469}
#olertis-ai-jewelry-studio .ajs-orbit-segment:nth-child(5){--ajs-orbit-start:12;opacity:0.602}
#olertis-ai-jewelry-studio .ajs-orbit-segment:nth-child(6){--ajs-orbit-start:15;opacity:0.735}
#olertis-ai-jewelry-studio .ajs-orbit-segment:nth-child(7){--ajs-orbit-start:18;opacity:0.868}
#olertis-ai-jewelry-studio .ajs-orbit-segment:nth-child(8){--ajs-orbit-start:21;opacity:1.001}

/* Mouse dragging scrolls the thumbnail column; touch keeps native scrolling. */
@media(any-hover:hover) and (any-pointer:fine){#olertis-ai-jewelry-studio .ajs-history-scroll,#olertis-ai-jewelry-studio .ajs-history-scroll .ajs-history-item{cursor:grab;user-select:none;-webkit-user-select:none}}
#olertis-ai-jewelry-studio .ajs-history-scroll.ajs-history-scrolling,#olertis-ai-jewelry-studio .ajs-history-scroll.ajs-history-scrolling *{cursor:grabbing;user-select:none;-webkit-user-select:none}

/* The enlarged view and both sets of actions follow the selected main image. */
#olertis-ai-jewelry-studio .ajs-generated-image{cursor:zoom-in}
#olertis-ai-jewelry-studio .ajs-image-dialog{color:var(--ajs-ink);background:var(--ajs-paper);border:1px solid var(--ajs-line);border-radius:16px;padding:0;width:min(1080px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;overflow:hidden;box-shadow:0 24px 90px #10271d40;font:inherit}
#olertis-ai-jewelry-studio .ajs-image-dialog::backdrop{background:rgba(16,32,25,.38);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
#olertis-ai-jewelry-studio .ajs-dialog-content{display:flex;flex-direction:column;max-height:calc(100vh - 34px);max-height:calc(100dvh - 34px);background:var(--ajs-paper);border-radius:inherit;overflow:auto}
#olertis-ai-jewelry-studio .ajs-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;padding:10px 16px;border-bottom:1px solid var(--ajs-line)}
#olertis-ai-jewelry-studio .ajs-dialog-heading h2{margin:0;color:var(--ajs-ink);font:500 calc(15px + var(--ajs-font-step))/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;letter-spacing:0}
#olertis-ai-jewelry-studio .ajs-dialog-close{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;padding:0;border:1px solid var(--ajs-line);border-radius:50%;background:var(--ajs-paper);color:var(--ajs-ink);font-size:calc(25px + var(--ajs-font-step));line-height:1;cursor:pointer}
#olertis-ai-jewelry-studio .ajs-dialog-picture{display:flex;align-items:center;justify-content:center;min-height:0;flex:1;background:var(--ajs-soft);overflow:hidden}
#olertis-ai-jewelry-studio .ajs-dialog-picture img{display:block;width:100%;height:auto;max-width:100%;max-height:calc(100vh - 180px);max-height:calc(100dvh - 180px);object-fit:contain}
#olertis-ai-jewelry-studio .ajs-dialog-actions{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 16px;flex-shrink:0;border-top:1px solid var(--ajs-line)}
#olertis-ai-jewelry-studio .ajs-dialog-actions .ajs-chip{min-height:44px;justify-content:center;padding:8px 15px;cursor:pointer}
#olertis-ai-jewelry-studio .ajs-result-actions .ajs-chip{cursor:pointer}
#olertis-ai-jewelry-studio .ajs-dialog-status{margin:0;padding:0 16px 14px;color:var(--ajs-error);font-size:calc(12px + var(--ajs-font-step));line-height:1.5;text-align:center}
#olertis-ai-jewelry-studio .ajs-image-dialog .ajs-chip:disabled,#olertis-ai-jewelry-studio .ajs-result-actions .ajs-chip:disabled{cursor:default}
#olertis-ai-jewelry-studio .ajs-dialog-fallback[open]{position:fixed;inset:0;z-index:2147483647;display:grid;place-items:center;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:16px;border:0;border-radius:0;background:rgba(16,32,25,.38);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
#olertis-ai-jewelry-studio .ajs-dialog-fallback .ajs-dialog-content{width:min(1080px,100%);border-radius:16px}
@media(max-width:650px){
  #olertis-ai-jewelry-studio .ajs-image-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);border-radius:12px}
  #olertis-ai-jewelry-studio .ajs-dialog-heading{padding:8px 12px;gap:8px}
  #olertis-ai-jewelry-studio .ajs-dialog-actions{gap:8px;padding:12px}
  #olertis-ai-jewelry-studio .ajs-dialog-actions .ajs-chip{flex:1;padding:8px 10px}
  #olertis-ai-jewelry-studio .ajs-dialog-picture img{max-height:calc(100vh - 180px);max-height:calc(100dvh - 180px)}
  #olertis-ai-jewelry-studio .ajs-dialog-fallback[open]{width:100vw;max-width:none;padding:10px}
}

/* Inquiries use the same private, selected main image and modal shell. */
#olertis-ai-jewelry-studio .ajs-dialog-close{border:0;border-radius:0;background:transparent;box-shadow:none}
#olertis-ai-jewelry-studio .ajs-dialog-actions .ajs-chip{background:var(--ajs-soft)}
#olertis-ai-jewelry-studio .ajs-footer-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-shrink:0}
#olertis-ai-jewelry-studio .ajs-review-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:12px 16px;border:1px solid var(--ajs-green);border-radius:9px;background:var(--ajs-green);color:var(--ajs-on-green);font-size:calc(12px + var(--ajs-font-step));font-weight:600;line-height:1.45;text-align:center;cursor:pointer;box-shadow:inset 0 1px 0 #ffffff18;animation:ajs-review-glow 6s ease-in-out infinite}
#olertis-ai-jewelry-studio .ajs-review-button svg{color:var(--ajs-on-green);flex-shrink:0}
#olertis-ai-jewelry-studio .ajs-review-button:hover{border-color:#183e31;background:#183e31}
#olertis-ai-jewelry-studio .ajs-review-mobile{width:100%}
#olertis-ai-jewelry-studio .ajs-review-mobile .ajs-review-button{width:100%}
@keyframes ajs-review-glow{0%,100%{box-shadow:inset 0 1px 0 #ffffff18,0 0 0 0 #214e3c00}50%{box-shadow:inset 0 1px 0 #ffffff18,0 0 0 3px #214e3c1a}}
#olertis-ai-jewelry-studio .ajs-inquiry-dialog{width:min(970px,calc(100vw - 32px))}
#olertis-ai-jewelry-studio .ajs-inquiry-form{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);gap:26px;margin:0;padding:24px}
#olertis-ai-jewelry-studio .ajs-inquiry-design{align-self:start}
#olertis-ai-jewelry-studio .ajs-inquiry-design img{display:block;width:100%;height:auto;object-fit:contain;border:1px solid var(--ajs-line);border-radius:10px;background:var(--ajs-soft)}
#olertis-ai-jewelry-studio .ajs-inquiry-design p{margin:10px 0 0;text-align:center;color:var(--ajs-muted);font-size:calc(11px + var(--ajs-font-step))}
#olertis-ai-jewelry-studio #ajs-inquiry-intro{margin:0 0 18px;color:var(--ajs-muted);font-size:calc(12px + var(--ajs-font-step));line-height:1.65}
#olertis-ai-jewelry-studio .ajs-inquiry-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#olertis-ai-jewelry-studio .ajs-inquiry-field{margin-bottom:15px}
#olertis-ai-jewelry-studio .ajs-inquiry-field label{display:block;margin-bottom:6px;font-size:calc(12px + var(--ajs-font-step));font-weight:500}
#olertis-ai-jewelry-studio .ajs-inquiry-field input,#olertis-ai-jewelry-studio .ajs-inquiry-field textarea{display:block;width:100%;border:1px solid var(--ajs-line);border-radius:7px;background:var(--ajs-soft);padding:10px 12px;min-height:44px;line-height:1.5;color:var(--ajs-ink)}
#olertis-ai-jewelry-studio .ajs-inquiry-field textarea{min-height:126px;padding-bottom:12px}
#olertis-ai-jewelry-studio .ajs-inquiry-field [aria-invalid=true]{border-color:var(--ajs-error);box-shadow:0 0 0 1px var(--ajs-error)}
#olertis-ai-jewelry-studio .ajs-inquiry-count{text-align:right;margin-top:5px;font-size:calc(11px + var(--ajs-font-step));color:var(--ajs-muted)}
#olertis-ai-jewelry-studio .ajs-field-error{color:var(--ajs-error);font-size:calc(11px + var(--ajs-font-step));line-height:1.5;margin:7px 0 0}
#olertis-ai-jewelry-studio #ajs-inquiry-status{margin:0 0 12px}
#olertis-ai-jewelry-studio #ajs-inquiry-submit{width:100%;white-space:normal}
#olertis-ai-jewelry-studio .ajs-thanks-dialog{width:min(520px,calc(100vw - 32px))}
#olertis-ai-jewelry-studio .ajs-thanks-content{padding:26px 30px 30px;text-align:center}
#olertis-ai-jewelry-studio .ajs-thanks-content p{margin:18px 0 22px;font-size:calc(14px + var(--ajs-font-step));line-height:1.8;color:var(--ajs-ink)}
#olertis-ai-jewelry-studio .ajs-thanks-mark{display:grid;place-items:center;margin:auto;width:56px;height:56px;border-radius:50%;background:var(--ajs-selected);color:var(--ajs-green);font-size:calc(28px + var(--ajs-font-step))}
#olertis-ai-jewelry-studio #ajs-thanks-done{background:var(--ajs-green);color:var(--ajs-on-green);min-height:44px;min-width:130px;justify-content:center;cursor:pointer}
@media(min-width:651px) and (max-width:1024px){#olertis-ai-jewelry-studio .ajs-footer{flex-wrap:wrap}#olertis-ai-jewelry-studio .ajs-footer-copy{flex-basis:100%}#olertis-ai-jewelry-studio .ajs-footer-actions{width:100%}}
@media(max-width:650px){#olertis-ai-jewelry-studio .ajs-footer-actions{width:100%;justify-content:center}#olertis-ai-jewelry-studio .ajs-footer-actions .ajs-generate-wrap{width:100%}#olertis-ai-jewelry-studio .ajs-footer-actions .ajs-generate{width:100%}#olertis-ai-jewelry-studio .ajs-inquiry-form{grid-template-columns:1fr;padding:16px;gap:16px}#olertis-ai-jewelry-studio .ajs-inquiry-design img{max-height:190px}#olertis-ai-jewelry-studio .ajs-inquiry-row{grid-template-columns:1fr}#olertis-ai-jewelry-studio .ajs-inquiry-field input{font-size:calc(15px + var(--ajs-font-step))}#olertis-ai-jewelry-studio .ajs-thanks-content{padding:20px}}
@container olertis-ajs (max-width:650px){#olertis-ai-jewelry-studio .ajs-footer-actions{width:100%;justify-content:center}#olertis-ai-jewelry-studio .ajs-footer-actions .ajs-generate-wrap{width:100%}#olertis-ai-jewelry-studio .ajs-footer-actions .ajs-generate{width:100%}}
@media(prefers-reduced-motion:reduce){#olertis-ai-jewelry-studio .ajs-review-button{animation:none}}
#olertis-ai-jewelry-studio .ajs-inquiry-dialog .ajs-dialog-heading{position:sticky;top:0;z-index:2;background:var(--ajs-paper)}

/* The existing design makes the company inquiry the primary action. */
#olertis-ai-jewelry-studio.ajs-has-design #ajs-generate{border-color:#b5c3a9;background:linear-gradient(115deg,#e8eee4,#f6efdd);color:#254b38;box-shadow:inset 0 1px 0 #ffffffb0}
#olertis-ai-jewelry-studio.ajs-has-design #ajs-generate:hover{border-color:#7e9973;background:linear-gradient(115deg,#e2ebde,#f0e6cd)}
#olertis-ai-jewelry-studio.ajs-has-design #ajs-generate svg{color:var(--ajs-gold)}
/* Mouse desktops share one block beginning at the preview-column boundary.
   Touch tablets retain the roomier footer. Labels may wrap without shrinking. */
#olertis-ai-jewelry-studio.ajs-desktop-actions .ajs-footer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px;align-items:stretch;width:var(--ajs-actions-width);max-width:100%;flex:0 0 var(--ajs-actions-width)}
#olertis-ai-jewelry-studio.ajs-desktop-actions #ajs-review-slot,#olertis-ai-jewelry-studio.ajs-desktop-actions .ajs-generate-wrap{display:contents}
#olertis-ai-jewelry-studio.ajs-desktop-actions #ajs-review{grid-column:1;grid-row:1}
#olertis-ai-jewelry-studio.ajs-desktop-actions #ajs-generate{grid-column:2;grid-row:1}
#olertis-ai-jewelry-studio.ajs-desktop-actions #ajs-review,#olertis-ai-jewelry-studio.ajs-desktop-actions #ajs-generate{width:100%;min-height:46px;padding:11px 8px;gap:6px;white-space:normal;line-height:1.5}
#olertis-ai-jewelry-studio.ajs-desktop-actions #ajs-limit-message{grid-column:2;grid-row:2}
/* Normalize only the phone widget inside this form, including old/new intl-tel-input markup.
   Preserve its selected dial code, input padding and dropdown behavior. */
#olertis-ai-jewelry-studio #ajs-inquiry-form .ajs-phone-field .iti{position:relative;display:block;width:100%;max-width:100%;margin:0;vertical-align:top}
#olertis-ai-jewelry-studio #ajs-inquiry-form .ajs-phone-field .iti input[type=tel]{display:block;margin:0!important;vertical-align:top}
#olertis-ai-jewelry-studio #ajs-inquiry-form .ajs-phone-field .iti__country-container,#olertis-ai-jewelry-studio #ajs-inquiry-form .ajs-phone-field .iti__flag-container{position:absolute;top:0!important;bottom:0!important;height:100%!important;display:flex;align-items:stretch;margin:0!important;padding-top:0!important;padding-bottom:0!important}
#olertis-ai-jewelry-studio #ajs-inquiry-form .ajs-phone-field .iti__selected-country,#olertis-ai-jewelry-studio #ajs-inquiry-form .ajs-phone-field .iti__selected-flag{display:flex;align-items:center;align-self:stretch;top:0!important;bottom:auto!important;height:100%!important;min-height:0!important;margin:0!important;padding-top:0!important;padding-bottom:0!important;transform:none!important;border:0;box-shadow:none;line-height:1}
#olertis-ai-jewelry-studio #ajs-inquiry-form .ajs-phone-field .iti__selected-country-primary{display:flex;align-items:center;height:100%;margin-block:0}
#olertis-ai-jewelry-studio.ajs-desktop-actions #ajs-review span,#olertis-ai-jewelry-studio.ajs-desktop-actions #ajs-generate-text{text-wrap:balance}
