#jq-viewer-ar{position:fixed;z-index:30;min-width:64px;min-height:32px;padding:6px 9px;border:1px solid rgba(255,255,255,.2);border-radius:7px;background:rgba(255,253,249,.2);color:#292d29;box-shadow:none;font:600 11px/1.2 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}
#jq-viewer-ar:hover{background:rgba(255,253,249,.2)}
#jq-viewer-ar:focus-visible,.jq-ar-dialog button:focus-visible{outline:3px solid #385d4d;outline-offset:3px}
#jq-viewer-ar[hidden]{display:none!important}
.jq-ar-dialog{box-sizing:border-box;width:min(560px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid #dedbd2;border-radius:18px;background:#faf8f3;color:#292d29;box-shadow:0 20px 80px #0004;overflow:auto;font:14px/1.5 system-ui,sans-serif;text-align:left}
.jq-ar-dialog::backdrop{background:#17251ecc;backdrop-filter:blur(4px)}
.jq-ar-panel{padding:22px}
.jq-ar-header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.jq-ar-eyebrow{margin:0 0 5px;font-size:10px;font-weight:600;letter-spacing:.16em;color:#657168}
.jq-ar-dialog h2{margin:0;font-size:24px;line-height:1.2;font-weight:500;letter-spacing:-.03em}
.jq-ar-close{flex:none;display:grid;place-items:center;width:44px;height:44px;border:1px solid #dedbd2;border-radius:50%;background:transparent;color:inherit;font:28px/1 system-ui,sans-serif;cursor:pointer}
#jq-ar-description{margin:14px 0;color:#62685f}
.jq-ar-preview{position:relative;min-height:190px;height:min(40dvh,330px);border:1px solid #e5e2da;border-radius:12px;background:linear-gradient(160deg,#f0eee7,#e3e7de);overflow:hidden}
.jq-ar-preview[aria-busy=true]:empty::after{content:"Preparing your design…";position:absolute;inset:0;display:grid;place-items:center;color:#62685f}
.jq-ar-preview model-viewer{display:block;width:100%;height:100%;--poster-color:transparent}
.jq-ar-dimensions{margin:10px 0 0;text-align:center;font-size:12px;color:#62685f}
.jq-ar-status{min-height:42px;margin:15px 0;font-size:13px}
.jq-ar-launch,.jq-ar-retry{display:block;width:100%;min-height:48px;padding:12px 18px;border:1px solid #355645;border-radius:9px;background:#355645;color:white;font:600 14px/1.4 system-ui,sans-serif;cursor:pointer}
.jq-ar-launch:disabled{background:#dfE2da;color:#747c70;border-color:#d7dcd1;cursor:default}
.jq-ar-retry{margin-top:9px;background:transparent;color:#355645}
.jq-ar-note{margin:14px 0 0;color:#6a7067;font-size:11px;line-height:1.5}
.jq-ar-dialog [hidden]{display:none!important}
@media(max-width:400px){.jq-ar-panel{padding:17px}.jq-ar-dialog h2{font-size:21px}.jq-ar-preview{height:31dvh;min-height:150px}}
@media(prefers-reduced-motion:reduce){.jq-ar-dialog *{scroll-behavior:auto!important}}

/* Keep only the backgrounds translucent; text and icons remain opaque. */
body #jq-studio-dimensions{background:rgba(255,254,250,.2)}
#jq-viewer-fullscreen,#jq-viewer-fullscreen:hover{background:rgba(255,253,249,.2);border:1px solid rgba(255,255,255,.2);border-radius:7px;box-shadow:none;backdrop-filter:none;font-size:22.5px;min-width:44px;min-height:44px;padding:7px 10px}
