html.cubo-photo-open{overflow:hidden}.cubo-photo-dialog{--photo-paper: #fff;--photo-ink: #252525;--photo-muted: #777;--photo-soft: #f5f5f3;--photo-line: #ededeb;width:min(660px,calc(100vw - 48px));height:min(860px,calc(100dvh - 48px));max-width:none;max-height:none;padding:0;overflow:hidden;border:1px solid #00000008;border-radius:32px;background:var(--photo-paper);color:var(--photo-ink);font:14px/1.5 "Inter",system-ui,sans-serif;box-shadow:0 28px 100px #00000024}.cubo-photo-dialog[open]{display:flex;flex-direction:column;animation:v3-camera-open .28s cubic-bezier(.22,1,.36,1)}.cubo-photo-dialog::backdrop{background:#18181866;backdrop-filter:blur(8px)}.cubo-photo-dialog *,.cubo-photo-dialog *::before,.cubo-photo-dialog *::after{box-sizing:border-box}.cubo-photo-dialog [hidden]{display:none!important}.cubo-photo-dialog button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border:0;border-radius:999px;color:inherit;background:transparent;font:inherit;font-weight:500;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color .16s,opacity .16s,transform .16s}.cubo-photo-dialog button:disabled{opacity:.35;cursor:default}.cubo-photo-dialog button:focus-visible{outline:2px solid #999;outline-offset:4px}.cubo-photo-dialog button:active:not(:disabled){transform:scale(.96)}.cubo-photo-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;padding:25px 28px 20px}.cubo-photo-eyebrow{display:block;margin-bottom:5px;color:var(--photo-muted);font-size:12px;font-weight:400}.cubo-photo-dialog h2{margin:0;font-size:23px;font-weight:550;line-height:1.2;letter-spacing:-.7px}.cubo-photo-dialog [data-photo=close]{flex:none;width:40px;min-height:40px;padding:0;background:var(--photo-soft);color:var(--photo-muted)}.cubo-photo-dialog [data-photo=close]:hover{color:var(--photo-ink)}.cubo-photo-body{display:flex;flex-direction:column;gap:14px;flex:1;min-height:0;padding:0 24px 20px;overflow-y:auto;overscroll-behavior:contain}.cubo-photo-dialog p{font-size:13px;line-height:1.55}.cubo-photo-intro{margin:0 4px;color:var(--photo-muted)}.cubo-photo-viewfinder{position:relative;display:grid;place-items:center;flex:1 0 280px;min-height:280px;overflow:hidden;isolation:isolate;border-radius:24px;background:#161616;color:#fff}.cubo-photo-viewfinder::after{content:"";position:absolute;z-index:1;inset:auto 0 0;height:120px;background:linear-gradient(transparent,#00000075);pointer-events:none}.cubo-photo-dialog video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.cubo-photo-placeholder{display:flex;flex-direction:column;align-items:center;gap:14px;padding:32px;text-align:center;font-size:13px;color:#bdbdbd}.cubo-photo-placeholder svg{width:36px;height:36px;opacity:.6}.cubo-photo-viewfinder[data-camera=loading] .cubo-photo-placeholder svg{animation:v3-camera-breathe 1.6s ease-in-out infinite}.cubo-photo-viewfinder[data-camera=ready] .cubo-photo-placeholder{display:none}.cubo-photo-guide{position:absolute;z-index:1;inset:22px 22px 105px;pointer-events:none;opacity:.4}.cubo-photo-guide span{position:absolute;width:26px;height:26px;border:1.5px solid #fff}.cubo-photo-guide span:nth-child(1){top:0;left:0;border-right:0;border-bottom:0;border-radius:12px 0 0}.cubo-photo-guide span:nth-child(2){top:0;right:0;border-left:0;border-bottom:0;border-radius:0 12px 0 0}.cubo-photo-guide span:nth-child(3){bottom:0;left:0;border-right:0;border-top:0;border-radius:0 0 0 12px}.cubo-photo-guide span:nth-child(4){bottom:0;right:0;border-left:0;border-top:0;border-radius:0 0 12px}.cubo-photo-viewfinder:not([data-camera=ready]) .cubo-photo-guide{visibility:hidden}.cubo-photo-page-badge{position:absolute;z-index:2;top:16px;left:50%;transform:translateX(-50%);padding:5px 12px;border-radius:999px;background:#00000055;backdrop-filter:blur(12px);font-size:11px;color:#fff;white-space:nowrap}.cubo-photo-actions{position:absolute;z-index:2;left:16px;right:16px;bottom:18px;display:flex;justify-content:center;gap:8px}.cubo-photo-dialog [data-photo=capture]{width:66px;height:66px;min-height:66px;padding:5px;border:2px solid #ffffffd9;border-radius:50%;background:transparent}.cubo-photo-shutter{width:100%;height:100%;border-radius:50%;background:#fff;box-shadow:0 2px 8px #00000015}.cubo-photo-dialog [data-photo=capture]:disabled{opacity:.25}.cubo-photo-dialog [data-photo=capture]:hover:not(:disabled){background:#ffffff20}.cubo-photo-dialog [data-photo=resume],.cubo-photo-dialog [data-photo=camera]{min-height:44px;padding:10px 15px;background:#fff;color:#252525;font-size:12px}.cubo-photo-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.cubo-photo-status{flex:none;min-height:20px;margin:0 4px;color:var(--photo-muted);font-size:12px!important}.cubo-photo-collection{flex:none}.cubo-photo-collection-title{display:flex;justify-content:space-between;align-items:center;margin:0 4px 9px;gap:12px}.cubo-photo-collection h3{margin:0;font-size:12px;font-weight:500}.cubo-photo-collection-title>span{font-size:11px;color:var(--photo-muted)}.cubo-photo-pages{display:flex;gap:10px;padding:2px 4px 4px;margin:0;overflow-x:auto;list-style:none;overscroll-behavior-x:contain}.cubo-photo-pages li{position:relative;display:flex;flex:0 0 82px;flex-direction:column;align-items:center;gap:4px;font-size:10px;color:var(--photo-muted)}.cubo-photo-dialog .cubo-photo-thumbnail{width:82px;height:88px;min-height:0;padding:6px;background:var(--photo-soft);border-radius:14px}.cubo-photo-thumbnail img{width:100%;height:100%;object-fit:contain;border-radius:4px}.cubo-photo-pages li>button:last-child{position:absolute;right:-3px;top:-2px;width:28px;height:28px;min-height:28px;padding:6px;background:var(--photo-paper);color:var(--photo-muted);box-shadow:0 1px 6px #00000015}.cubo-photo-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:none;padding:16px 28px 22px;border-top:1px solid var(--photo-line)}.cubo-photo-count{color:var(--photo-muted);font-size:12px}.cubo-photo-dialog [data-photo=send]{padding:12px 20px;background:var(--photo-ink);color:var(--photo-paper);white-space:nowrap}.cubo-photo-dialog [data-photo=send]:disabled{background:var(--photo-soft);color:var(--photo-muted);opacity:.65}.cubo-photo-review{flex:1;min-height:0;overflow-y:auto;padding:0 24px 24px}.cubo-photo-dialog [data-photo=back]{padding-left:0;color:var(--photo-muted)}.cubo-photo-review-title{margin:10px 0;font-weight:500}.cubo-photo-review img{display:block;max-width:100%;height:auto;margin:0 auto;border-radius:16px}.cubo-photo-review>p:last-child{text-align:center;color:var(--photo-muted)}html.higen-theme-dark .cubo-photo-dialog{--photo-paper: #212121;--photo-ink: #f3f3f3;--photo-muted: #aaa;--photo-soft: #2b2b2b;--photo-line: #333}@keyframes v3-camera-open{from{transform:translateY(12px) scale(.985);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}@keyframes v3-camera-breathe{50%{opacity:.3}}@media(max-width:600px){.cubo-photo-dialog{width:calc(100vw - 24px);height:calc(100dvh - 24px);border-radius:28px}.cubo-photo-header{padding:21px 20px 17px}.cubo-photo-dialog h2{font-size:21px}.cubo-photo-body{padding:0 14px 14px;gap:12px}.cubo-photo-viewfinder{flex-basis:230px;min-height:230px;border-radius:22px}.cubo-photo-intro{font-size:12px!important}.cubo-photo-footer{padding:14px 18px 18px;gap:8px}.cubo-photo-dialog [data-photo=send]{font-size:12px;padding:11px 15px}.cubo-photo-count{font-size:11px}}@media(max-height:520px)and (min-width:600px){.cubo-photo-dialog{width:min(850px,calc(100vw - 32px));height:calc(100dvh - 24px);border-radius:24px}.cubo-photo-header{padding:12px 20px}.cubo-photo-eyebrow{display:none}.cubo-photo-dialog h2{font-size:19px}.cubo-photo-body{display:grid;grid-template-columns:1.3fr 1fr;grid-template-rows:auto auto 1fr;gap:8px 18px;padding:0 18px 12px}.cubo-photo-viewfinder{grid-column:1;grid-row:1 / 4;min-height:180px;height:100%}.cubo-photo-intro,.cubo-photo-status,.cubo-photo-collection{grid-column:2}.cubo-photo-guide{inset:12px 12px 86px}.cubo-photo-actions{bottom:10px}.cubo-photo-dialog [data-photo=capture]{width:54px;height:54px;min-height:54px}.cubo-photo-footer{padding:10px 20px 12px}.cubo-photo-dialog [data-photo=send]{min-height:40px;padding:8px 16px}}@media(prefers-reduced-motion:reduce){.cubo-photo-dialog[open],.cubo-photo-placeholder svg{animation:none!important}.cubo-photo-dialog button{transition:none}}
