.sph-image-editor{padding:14px;border:1px solid #dce4f4;border-radius:14px;background:linear-gradient(135deg,#fff,#f4f7ff);color:#172b4d}.sph-image-intro{max-width:75ch;line-height:1.7}.sph-image-actions{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.sph-image-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;max-height:420px;overflow:auto;overscroll-behavior:auto;margin:0;padding:4px;list-style:none}.sph-image-list li{border:1px solid #dce4f4;background:#fff;border-radius:12px;padding:9px;min-width:0}.sph-image-list li>span{font-size:12px;color:#52647e}.sph-image-list img{display:block;object-fit:contain;width:100%;height:95px;margin:6px 0}.sph-image-list li>div{display:flex;gap:4px;justify-content:center}.sph-image-list .button{min-width:32px;padding:0 7px}.sph-image-status{min-height:1.5em;color:#344b78}.sph-image-open{border:0;border-radius:12px;padding:13px 22px;background:linear-gradient(115deg,#234ee9,#6650ed);color:#fff;font-weight:650;cursor:pointer;box-shadow:0 5px 18px #234ee925;margin:12px 0}.sph-image-open:focus-visible,.sph-image-dialog button:focus-visible,.sph-image-stage:focus-visible{outline:3px solid #4be0d2;outline-offset:3px}.sph-image-dialog{box-sizing:border-box;width:min(920px,94vw);max-width:94vw;height:min(760px,90dvh);max-height:90dvh;padding:0;border:1px solid #dce4f4;border-radius:18px;color:#172b4d;background:#fff;box-shadow:0 24px 100px #0005;overflow:hidden}.sph-image-dialog[open]{display:flex;flex-direction:column}.sph-image-dialog::backdrop{background:#061020bd}.sph-image-dialog header,.sph-image-dialog footer{display:flex;align-items:center;gap:12px;padding:12px 18px;flex-shrink:0;background:#f4f7ff}.sph-image-dialog header strong{flex:1;min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sph-image-dialog button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;height:38px;padding:8px;border:0;border-radius:50%;background:transparent;color:#233c70;cursor:pointer}.sph-image-dialog button:hover,.sph-image-dialog button[aria-pressed=true]{background:#dfe8ff}.sph-image-dialog svg{display:block;width:22px;height:22px}.sph-image-stage{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;min-width:0;overflow:hidden;touch-action:pan-y;cursor:grab;user-select:none}.sph-image-stage:active{cursor:grabbing}.sph-image-stage img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;pointer-events:none}.sph-image-view-status{flex:1;font-size:13px;text-align:center}.sph-image-dialog:fullscreen{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0;margin:0}.sph-image-dialog [hidden]{display:none!important}@media(max-width:480px){.sph-image-dialog header,.sph-image-dialog footer{padding:9px;gap:5px}.sph-image-dialog button{width:34px;height:34px}.sph-image-dialog header strong{font-size:14px}.sph-image-view-status{font-size:12px}.sph-image-list{grid-template-columns:repeat(auto-fill,minmax(115px,1fr))}}

#sphere360-sequence-panel[hidden]{display:none!important}
#wc3d-video-container.sphere360-image-source #wc3d-compression-container,
#wc3d-video-container.sphere360-image-source #wc3d-preview,
#wc3d-video-container.sphere360-image-source #sphere360-video-sizes,
#wc3d-video-container.sphere360-image-source #wc3d_upload_btn,
#wc3d-video-container.sphere360-image-source #wc3d_remove_btn,
#wc3d-video-container.sphere360-image-source #wc3d-reverse-toggle-container{display:none!important}
#wc3d-upload-source .sphere360-sequence-choice{display:flex;align-items:center;gap:5px;margin-top:8px;cursor:pointer}
#sphere360-sequence-panel{margin:14px 0;min-width:0}
#sphere360-sequence-panel .sph-image-editor{padding:12px;border-radius:12px;background:#f7f9ff;color:#172b4d}
#sphere360-sequence-panel .sph-image-editor p,#sphere360-sequence-panel .sph-image-editor .description{color:#344b6c!important;line-height:1.6;text-align:left}
#sphere360-sequence-panel .sph-image-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
#sphere360-sequence-panel .sph-image-actions .button{width:100%;margin:0;min-height:36px;white-space:normal}
#sphere360-sequence-panel .sph-image-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:300px;gap:8px}
#sphere360-sequence-panel .sph-image-list li{padding:6px}
#sphere360-sequence-panel .sph-image-list img{height:70px}
#sphere360-sequence-panel .sph-image-list .button{min-width:23px;padding:0 4px;color:#234ee9;background:#fff}

.sph-sequence-review{margin:14px 0;padding:10px;background:#fff;border:1px solid #dce4f4;border-radius:12px;color:#172b4d}.sph-sequence-review[hidden]{display:none!important}.sph-sequence-preview{display:block;width:100%;height:180px;object-fit:contain}.sph-sequence-review label{display:block;font-size:12px}.sph-sequence-angle{display:block;width:100%;margin:10px 0}.sph-sequence-angle-label{display:block;text-align:center;color:#344b6c}

.sph-image-open.wc3d-designed-button{background:var(--wc3d-button-bg);color:var(--wc3d-button-fg);border:1px solid transparent;display:flex;align-items:center;justify-content:center;min-height:46px;padding:12px 22px;box-sizing:border-box;max-width:100%}.sph-image-open.wc3d-design-outline{background:transparent;color:var(--wc3d-button-bg);border-color:var(--wc3d-button-bg);box-shadow:none}.sph-image-open.wc3d-design-solid{box-shadow:none}.sph-image-open.wc3d-design-pill{border-radius:99px}.sph-image-open.wc3d-design-compact{min-height:36px;padding:8px 14px;font-size:13px}.sph-image-open.wc3d-design-large{min-height:60px;font-size:18px}.sph-image-open.wc3d-design-full{width:100%}.sph-image-open.wc3d-design-center{margin-left:auto;margin-right:auto}.sph-image-open.wc3d-design-right{margin-left:auto}.sph-image-open.wc3d-designed-pulse{animation:sph-image-pulse 2s ease-in-out infinite}@keyframes sph-image-pulse{50%{box-shadow:0 0 20px var(--wc3d-button-glow)}}@media(prefers-reduced-motion:reduce){.sph-image-open.wc3d-designed-pulse,.sph-local-promo{animation:none!important}}.sph-image-watermark{position:absolute;bottom:12px;right:12px;background:#fff9;color:#172b4d;padding:5px 9px;border-radius:6px;pointer-events:none;font:12px system-ui}.sph-image-stage{position:relative;touch-action:none}.sph-image-stage img{transform-origin:var(--sph-origin,50% 50%);transform:scale(var(--sph-scale,1))}

#wc3d-video-container .sphere360-upload-card #sphere360-sequence-panel .sph-image-editor p,#wc3d-video-container .sphere360-upload-card #sphere360-sequence-panel .sph-image-editor label,#wc3d-video-container .sphere360-upload-card #sphere360-sequence-panel .sph-image-editor .description{color:#344b6c!important}.sph-image-dialog.sph-expanded{position:fixed!important;inset:0!important;margin:0!important;width:100vw!important;max-width:100vw!important;height:100vh!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;box-sizing:border-box}.sph-image-dialog header{justify-content:flex-end}.sphere360-history-tool{display:inline-block;margin:4px 0;padding:3px 7px;border-radius:6px;background:#edf3ff;color:#294675;font-size:11px;line-height:1.4}

#wc3d-video-container .sphere360-upload-card #wc3d-ai-progress p,#wc3d-video-container .sphere360-upload-card #wc3d-ai-progress span,#wc3d-video-container .sphere360-upload-card #wc3d-ai-status{color:#594415!important}#wc3d-video-container .sphere360-upload-card .sph-image-editor .sph-image-live,.sph-image-live{color:#344b6c!important;font-weight:600}#wc3d-video-container .sphere360-upload-card .sph-image-editor .sph-publish-notice,.sph-publish-notice{color:#14633b!important;background:#e3f7eb;border:1px solid #a7d9bb;padding:10px;border-radius:8px}.sph-publish-notice[hidden]{display:none!important}.sphere360-creator-status{padding:12px;border:1px solid #dce4f4;background:#f5f8ff;border-radius:10px;margin:12px 0;color:#263e60}.sphere360-creator-status ul{margin:8px 0 0;padding:0;list-style:none}.sphere360-creator-status li{margin:5px 0;color:#263e60!important}

/* Compact publication badges, scoped against WordPress/theme rules. */
.sphere360-creator-status ul{display:flex;flex-wrap:wrap;gap:6px}.sphere360-creator-status li,.sph-image-live{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;padding:5px 9px!important;border-radius:12px;border:1px solid #d2dbe8;background:#edf1f7;font:11px/1.5 system-ui!important;margin:0!important;color:#3b4c66!important}.sphere360-creator-status>strong{display:block;font:600 11px/1.4 system-ui;color:#52647e}.sphere360-creator-status li[data-state="published"],.sph-image-live[data-state="published"]{background:#dcf7e9;border-color:#a1dcbf;color:#11633e!important}.sphere360-creator-status li[data-state="saved"]{background:#fff2d8;color:#815600!important}.sphere360-creator-status li b{font:600 11px/1.5 system-ui;color:inherit}.sph-image-dialog .sph-image-stage img{animation:none!important;transition:none!important}

/* Publication summary: compact reference-style pill rows, safe at sidebar widths. */
#wc3d-video-container .sphere360-creator-status,.sphere360-creator-status,.sph-image-editor .sph-image-live{display:block!important;background:linear-gradient(120deg,#f7fcff,#f3f5fc);border:1px solid #d1deea;border-radius:18px;padding:14px!important;margin:12px 0!important;color:#19344f!important;box-shadow:0 3px 12px #17334c0a}
.sphere360-creator-status>strong,.sph-image-live>strong{display:block;font:650 14px/1.4 system-ui;color:#19344f;margin-bottom:10px}
.sphere360-creator-status ul,.sph-image-live ul{display:grid!important;gap:8px;margin:0!important;padding:0!important;list-style:none}
.sphere360-creator-status li,.sph-image-live li{display:flex!important;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;padding:9px 11px!important;border:1px solid #d5dee9;border-radius:18px;background:linear-gradient(100deg,#eef4f8,#e6ebf3);margin:0!important;min-width:0;font:500 11px/1.4 system-ui!important;color:#18334d!important}
.sph-status-label{display:inline-flex;align-items:center;gap:7px;flex:1;min-width:115px;color:inherit!important}.sph-status-label svg{width:21px;height:21px;flex:0 0 21px;display:block}.sphere360-creator-status li b,.sph-image-live li b{display:inline-block;flex-shrink:0;padding:4px 7px;border-radius:30px;background:#d6dee8;color:#354457;font:600 9px/1.3 system-ui;text-transform:uppercase;white-space:normal;max-width:100%}.sphere360-creator-status li[data-state=published] b,.sph-image-live li[data-state=published] b{background:#c7eedb;color:#11613d}.sphere360-creator-status li[data-state=saved] b,.sph-image-live li[data-state=saved] b{background:#ffebbe;color:#73500a}

.sphere360-creator-status[hidden],.sph-image-editor .sph-image-live[hidden]{display:none!important}.sph-library-dialog{width:min(780px,92vw);max-height:85dvh;box-sizing:border-box;border:1px solid #cad9eb;border-radius:16px;background:#fff;color:#19334e;padding:20px;overflow:auto;z-index:1000000}.sph-library-dialog::backdrop{background:#11243c99}.sph-library-dialog h2{margin:0 0 14px;color:#19334e}.sph-library-dialog input[type=search]{width:100%;box-sizing:border-box;margin-bottom:8px}.sph-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px}.sph-library-grid label{display:flex;flex-direction:column;gap:6px;border:1px solid #ccd9e8;border-radius:8px;padding:8px;overflow-wrap:anywhere;font-size:12px}.sph-library-grid img{width:100%;height:95px;object-fit:contain}.sph-library-grid input{align-self:flex-start}.sph-library-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}

.sph-image-editor button.sphere360-working::before{content:'';display:inline-block;width:14px;height:14px;margin-right:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:middle;animation:sph-clear-spin .7s linear infinite;}@keyframes sph-clear-spin{to{transform:rotate(360deg)}}

.sph-image-dialog{background:transparent;}.sph-image-dialog::backdrop{background:var(--sph-viewer-bg,#061020bd);}
