.cac-published-photo{display:block;width:100%;height:100%;min-height:0;object-fit:contain;background:#fff}
#cac-published-photo{width:min(760px,calc(100vw - 24px));max-height:92dvh;margin:auto;padding:0;border:1px solid #111;border-radius:0;box-shadow:7px 7px 0 #0022ff;background:#fff;color:#111;font:14px/1.5 system-ui,sans-serif}
#cac-published-photo::backdrop{background:#0009}
#cac-published-photo[open]{display:block}
#cac-published-photo [hidden]{display:none!important}
#cac-published-photo>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px;border-bottom:1px solid #111}
#cac-published-photo h2{margin:0;font:600 20px/1.3 monospace;overflow-wrap:anywhere}
#cac-published-photo button{min-height:44px;padding:10px 14px;border:1px solid #111;border-radius:0;background:#eeeef0;color:#111;font:600 12px/1.4 monospace;cursor:pointer}
#cac-published-photo button:hover{background:#0022ff;color:white}
#cac-published-photo button:focus-visible{outline:3px solid #0022ff;outline-offset:3px}
#cac-published-photo button:disabled{opacity:.5;cursor:default}
.cac-published-body{padding:18px}
#cac-published-photo [data-published-preview]{display:block;width:auto;height:auto;max-width:100%;max-height:55dvh;margin:0 auto 16px;object-fit:contain}
.cac-published-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#cac-published-photo [data-published-share]{background:#0022ff;color:white}
#cac-published-photo [data-published-share]:hover{background:#111;color:white}
#cac-published-photo [data-published-status]{min-height:3em;font:12px/1.5 monospace}
#cac-published-photo [data-published-status][data-error=true]{color:#8c1f1f}
.cac-published-note{font-size:12px;line-height:1.6;color:#555}
@media(max-width:480px){.cac-published-actions{grid-template-columns:1fr}#cac-published-photo>header,.cac-published-body{padding:14px}#cac-published-photo h2{font-size:18px}}
