/* Only the shared viewer and the agreed help/continuation content. */
.mye-image-viewer-v660 {
  box-sizing: border-box; padding: 0; margin: auto; border: 1px solid #334155;
  border-radius: 16px; background: #101a2b; color: #e5edf8;
  width: min(1100px, calc(100vw - 24px)); max-width: calc(100vw - 24px);
  height: min(850px, calc(100vh - 24px)); height: min(850px, calc(100dvh - 24px));
  max-height: calc(100dvh - 24px); overflow: hidden; box-shadow: 0 20px 70px #0009;
}
.mye-image-viewer-v660:not([open]) { display: none; }
.mye-image-viewer-v660[open] { display: flex; flex-direction: column; }
.mye-image-viewer-v660::backdrop { background: #020617c9; }
.mye-image-viewer-v660.is-fallback { position: fixed; inset: 12px; z-index: 2147483000; }
.mye-image-toolbar-v660 { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px; border-bottom: 1px solid #334155; background: #101a2b; }
.mye-image-pages-v660, .mye-image-tools-v660 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.mye-image-tools-v660 { margin-left: auto; flex-wrap: wrap; }
.mye-image-viewer-v660 button { box-sizing: border-box; margin: 0; min-width: 42px; min-height: 42px; padding: 8px 12px; border: 1px solid #475569; border-radius: 9px; background: #1e293b; color: #f1f5f9; font: inherit; line-height: 1.2; cursor: pointer; }
.mye-image-viewer-v660 button:disabled { opacity: .4; cursor: default; }
.mye-image-viewer-v660 button:focus-visible, .mye-image-stage-v660:focus-visible { outline: 2px solid #7dd3fc; outline-offset: -2px; }
.mye-image-pages-v660 b { font-size: 14px; white-space: nowrap; }
.mye-image-tools-v660 output { min-width: 46px; text-align: center; font-variant-numeric: tabular-nums; }
.mye-image-stage-v660 { flex: 1 1 auto; min-height: 0; width: 100%; position: relative; overflow: hidden; touch-action: none; background: #080f1b; user-select: none; }
.mye-image-stage-v660.is-movable { cursor: grab; }
.mye-image-stage-v660.is-movable:active { cursor: grabbing; }
.mye-image-stage-v660 img { position: absolute; left: 50%; top: 50%; max-width: none; max-height: none; margin: 0; padding: 0; object-fit: contain; transform-origin: center; pointer-events: none; }
.mye-image-stage-v660 img[hidden], .mye-image-stage-v660 p[hidden] { display: none; }
.mye-image-stage-v660 p { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: #cbd5e1; }
.mye-image-hint-v660 { flex: 0 0 auto; margin: 0; padding: 6px 12px; font-size: 12px; text-align: center; color: #94a3b8; }
.myeclass-help-card-v660 { border: 1px solid var(--mye-border, #334155); border-radius: 12px; background: var(--mye-surface, #121e31); color: inherit; padding: 16px; }
.myeclass-help-card-v660 p { margin: 8px 0 0; overflow-wrap: anywhere; }
.myeclass-help-actions-v660, .myeclass-saved-continue-v660 { display: flex; justify-content: flex-end; margin-top: 16px; }
.myeclass-help-retry-v660 { margin-top: 14px; padding: 12px; border: 1px solid var(--mye-border, #334155); border-radius: 12px; }
.myeclass-help-retry-v660 > summary { cursor: pointer; color: inherit; font-weight: 600; }
.myeclass-help-retry-v660[open] > summary { margin-bottom: 14px; }
.myeclass-cp2b-solution-actions > .myeclass-continue-v660 { margin-left: auto; }
[data-cp2b-qr-continue][hidden] { display: none !important; }
@media (max-width: 600px) {
  .mye-image-viewer-v660 { width: calc(100vw - 12px); max-width: calc(100vw - 12px); height: calc(100dvh - 12px); max-height: calc(100dvh - 12px); border-radius: 12px; }
  .mye-image-toolbar-v660 { gap: 6px; padding: 6px; }
  .mye-image-pages-v660 { flex: 1; }
  .mye-image-tools-v660 { order: 3; width: 100%; margin: 0; justify-content: center; }
  .mye-image-toolbar-v660 > [data-image-action="close"] { order: 2; }
  .mye-image-hint-v660 { font-size: 11px; }
  .myeclass-cp2b-solution-actions > .myeclass-continue-v660 { width: 100%; margin-left: 0; text-align: center; }
}

.myeclass-saved-continue-v660 { justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.myeclass-saved-methods-v660 > summary { padding: 10px 14px; border: 1px solid var(--mye-border, #334155); border-radius: 10px; cursor: pointer; font-weight: 600; }
.myeclass-saved-methods-v660[open] { width: 100%; }
.myeclass-saved-methods-v660[open] > summary { margin-bottom: 16px; }

@media (max-width: 600px) {
  .mye-image-tools-v660 [data-image-action="fit"] { font-size: 13px; padding: 8px; }
}
