.hogi-reference-chip{display:inline-flex;overflow:visible;position:relative;justify-content:center;align-items:center;gap:3px;box-sizing:border-box;padding:2px 6px 2px 2px;border:.5px solid var(--neutral-border-emphasis);border-radius:6px;width:fit-content;max-width:100%;height:22px;background:var(--neutral-content-a8);vertical-align:middle;color:var(--green-contrast)}:root[data-theme=light] .hogi-reference-chip{background:var(--neutral-content-inverse)}.hogi-reference-chip-media{display:flex;overflow:hidden;position:relative;justify-content:center;align-items:center;flex:0 0 18px;border-radius:4px;width:18px;height:18px;background:var(--neutral-content-a5)}:root[data-theme=light] .hogi-reference-chip-media{border-radius:5.667px}.hogi-reference-chip-media>:is(img,video){display:block;width:100%;height:100%;object-fit:cover}.hogi-reference-chip-media>svg{width:10px;height:10px}.hogi-reference-chip-media:after{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--neutral-overlay-strong);opacity:0;pointer-events:none;content:"";transition:opacity var(--motion-fast) ease}.hogi-reference-chip-label{display:block;overflow:hidden;min-width:0;text-overflow:ellipsis;text-align:right;color:var(--reference-chip-label-on-dark);white-space:nowrap}:root[data-theme=light] .hogi-reference-chip-label{color:var(--green-contrast)}.hogi-reference-chip-action{display:flex;position:absolute;left:11px;top:50%;z-index:10;justify-content:center;align-items:center;border-radius:50%;width:16px;height:16px;background:transparent;opacity:0;pointer-events:none;color:var(--neutral-content);transform:translate(-50%,-50%);transition:opacity var(--motion-fast) ease}:root[data-theme=light] .hogi-reference-chip-action{color:var(--neutral-content-inverse)}.hogi-reference-chip-actionable:not(.hogi-reference-chip-media-action):hover .hogi-reference-chip-media:after,.hogi-reference-chip-actionable:not(.hogi-reference-chip-media-action):focus-within .hogi-reference-chip-media:after{opacity:1}.hogi-reference-chip:not(.hogi-reference-chip-media-action):hover .hogi-reference-chip-action,.hogi-reference-chip:not(.hogi-reference-chip-media-action):focus-within .hogi-reference-chip-action{opacity:1;pointer-events:auto}.hogi-reference-chip-action>button:not(.hogi-reference-remove-button){display:flex;justify-content:center;align-items:center;padding:0;border:0;border-radius:50%;width:100%;height:100%;outline:none;background:transparent;cursor:pointer;color:inherit}.hogi-reference-chip-action>button:disabled{opacity:1;cursor:default;color:inherit}.hogi-reference-chip-action>button:focus-visible{outline:2px solid var(--neutral-content-a80);outline-offset:2px}.hogi-reference-chip-action svg{width:12px;height:12px}.hogi-reference-chip-action img{display:block;width:12px;height:12px}.hogi-reference-chip-media-action:hover .hogi-reference-chip-media:after,.hogi-reference-chip-media-action:focus-within .hogi-reference-chip-media:after{opacity:1}.hogi-reference-chip-media>.hogi-reference-chip-action{left:50%}.hogi-reference-chip-media-action:hover .hogi-reference-chip-media>.hogi-reference-chip-action,.hogi-reference-chip-media-action:focus-within .hogi-reference-chip-media>.hogi-reference-chip-action{opacity:1;pointer-events:auto}.hogi-reference-chip-copy{min-width:0}.hogi-reference-chip-trailing-action{display:inline-flex;overflow:hidden;align-items:center;flex:0 0 auto;margin-left:-3px;width:0;opacity:0;pointer-events:none}.hogi-reference-chip:hover>.hogi-reference-chip-trailing-action,.hogi-reference-chip:focus-within>.hogi-reference-chip-trailing-action{margin-left:0;width:16px;opacity:1;pointer-events:auto}.hogi-reference-chip:has(>.hogi-reference-chip-trailing-action):is(:hover,:focus-within){padding-right:2px}.hogi-reference-chip[data-variant=file]{gap:4px;box-sizing:border-box;padding:8px;border:1px solid var(--neutral-border);border-radius:10px;width:160px;height:48px;background:var(--neutral-surface-medium)}.hogi-reference-chip[data-variant=file] .hogi-reference-chip-media{flex:0 0 30px;border:1px solid var(--neutral-border-emphasis);border-radius:6px;width:30px;height:30px;background:var(--neutral-content-a5);color:var(--neutral-content)}.hogi-reference-chip[data-variant=file] .hogi-reference-chip-media:has(>img){background:var(--neutral-surface-normal)}.hogi-reference-chip[data-variant=file] .hogi-reference-chip-media>svg{width:16px;height:16px}.hogi-reference-chip[data-variant=file] .hogi-reference-chip-copy{display:flex;flex-direction:column;flex:1;gap:1px}.hogi-reference-chip[data-variant=file]>.hogi-reference-chip-action{left:auto;right:-8px;top:-8px;z-index:999;width:20px;height:20px;transform:none}.hogi-reference-chip[data-variant=file]:not(.hogi-reference-chip-media-action) .hogi-reference-chip-media:after{display:none}.hogi-reference-chip[data-variant=file] .hogi-reference-chip-label{display:block;overflow:hidden;padding:0;max-width:100%;text-overflow:ellipsis;text-align:left;color:var(--neutral-content-a80);white-space:nowrap}.hogi-reference-chip-description{color:var(--hogi-reference-description-color, var(--neutral-content-a34))}.hogi-reference-remove-button{display:flex;justify-content:center;align-items:center;padding:0;border:0;border-radius:50%;width:20px;height:20px;background:var(--neutral-overlay-stronger);cursor:pointer;color:var(--neutral-content);transition:background .2s ease}.hogi-reference-remove-button:hover{background:var(--neutral-overlay-stronger);color:var(--neutral-content)}:root[data-theme=light] .hogi-reference-remove-button:hover{color:var(--neutral-content-inverse)}.hogi-reference-remove-button:focus-visible{outline:2px solid var(--neutral-content-a80);outline-offset:2px}.hogi-reference-chip[data-variant=image]{padding:0;border:0;border-radius:12px;width:48px;height:48px}.hogi-reference-chip[data-variant=image] .hogi-reference-chip-media{flex:1;border-radius:inherit;width:100%;height:100%}.hogi-reference-chip[data-variant=image] .hogi-reference-chip-label{overflow:hidden;position:absolute;width:1px;height:1px;clip-path:inset(50%)}.hogi-reference-chip[data-variant=image] .hogi-reference-chip-action{left:auto;right:-4px;top:-4px;transform:none}.hogi-reference-remove-button.hogi-reference-remove-button-inline{flex:0 0 16px;border-radius:4px;width:16px;height:16px;background:transparent;color:var(--neutral-content-a58)}.hogi-reference-remove-button.hogi-reference-remove-button-inline:hover,:root[data-theme=light] .hogi-reference-remove-button.hogi-reference-remove-button-inline:hover{background:var(--neutral-content-a5);color:var(--neutral-content-a58)}
