[data-photo-frame]{position:relative;isolation:isolate}
.byte-photo-state{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:20px;background:transparent;color:var(--color-primary,#252b39);text-align:center;font-family:var(--font-primary,Arial,sans-serif);z-index:1}
.byte-photo-state[hidden],.byte-photo-retry[hidden]{display:none!important}
.byte-photo-state__camera{width:clamp(52px,24%,110px);height:auto;max-height:100px;flex:none}
.byte-photo-state strong{font-size:clamp(14px,1.2vw,20px);line-height:1.35;font-weight:700}
.byte-photo-state span{font-size:13px;line-height:1.5;max-width:28ch}
.byte-photo-retry{border:1px solid currentColor;border-radius:4px;padding:9px 15px;background:transparent;color:inherit;font:inherit;cursor:pointer;min-height:44px}
.byte-photo-retry:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.byte-photo-retry:disabled{cursor:default;opacity:.65}
.byte-photo-frame{aspect-ratio:3/2;width:100%;position:relative}
.byte-photo-frame>img{width:100%!important;height:100%!important;object-fit:contain}
[data-photo-frame][data-photo-error] > img{visibility:hidden}
@media(max-width:768px){.byte-photo-state{padding:14px;gap:8px}.byte-photo-state strong{font-size:16px}}
