/* Keep a closed Elementor basket out of the way even while its assets load. */
body.wc-ofu-public-order-page .elementor-menu-cart__container[aria-hidden="true"] {
  display: none !important;
}

.wc-ofu-admin-item-proof input:disabled {
  color: #646970;
  background: #f0f0f1;
  border-color: #dcdcde;
}

.wc-ofu-amendment-editor {
  margin-top: 12px;
}

.wc-ofu-amendment-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
  flex-wrap: wrap;
}

.wc-ofu-amendment-row input {
  flex: 1 1 240px;
  min-width: 0;
}

.wc-ofu-amendment-feedback.is-error {
  color: #b32d2e;
}

.wc-ofu-wrap {
  margin: 2em 0;
  padding: 1.75em;
  border: 1px solid #d9e2ec;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.wc-ofu-header h2 {
  margin: 0 0 0.35em;
}

.wc-ofu-header p,
.wc-ofu-help,
.wc-ofu-file-preview-meta small,
.wc-ofu-file-feedback {
  color: #52606d;
}

.wc-ofu-form,
.wc-ofu-proof-form,
.wc-ofu-approved-designs,
.wc-ofu-upload-sections,
.wc-ofu-order-items {
  display: grid;
  gap: 1em;
}

.wc-ofu-choice {
  display: grid;
  gap: 0.85em;
}

.wc-ofu-choice h3 {
  margin: 0;
}

.wc-ofu-submission-form [hidden],
.wc-ofu-proof-form[hidden] {
  display: none !important;
}

.wc-ofu-mode-panel {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.wc-ofu-mode-panel > legend {
  margin-bottom: 0.75em;
  padding: 0;
  font-weight: 600;
}

.wc-ofu-submission-form .wc-ofu-choice-card {
  cursor: pointer;
}

.wc-ofu-submission-form .wc-ofu-choice-card:has(input:checked),
.wc-ofu-submission-form .wc-ofu-prev-design-card:has(input:checked) {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 1px #2563eb;
}

.wc-ofu-submission-form label:has(input:focus-visible) {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.wc-ofu-choice-card,
.wc-ofu-checkbox-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85em;
  align-items: start;
  padding: 1em 1.1em;
  border: 1px solid #d9e2ec;
  border-radius: 16px;
  background: #ffffff;
}

.wc-ofu-choice-card input,
.wc-ofu-checkbox-card input {
  margin-top: 0.25em;
}

.wc-ofu-choice-card span,
.wc-ofu-checkbox-card span {
  display: grid;
  gap: 0.15em;
}

.wc-ofu-choice-card small,
.wc-ofu-checkbox-card small {
  color: #52606d;
}

.wc-ofu-card {
  padding: 1.2em;
  border: 1px solid #d9e2ec;
  border-radius: 18px;
  background: #ffffff;
}

.wc-ofu-item-card {
  display: grid;
  gap: 1em;
}

.wc-ofu-item-card h3,
.wc-ofu-proof-card h3,
.wc-ofu-approved-card h3,
.wc-ofu-order-item h4 {
  margin: 0;
}

.wc-ofu-field {
  display: grid;
  gap: 0.5em;
}

.wc-ofu-field input[type="url"],
.wc-ofu-field textarea,
.wc-ofu-admin input[type="url"],
.wc-ofu-admin textarea,
.wc-ofu-admin select {
  width: 100%;
  max-width: 100%;
}

.wc-ofu-file-upload-area {
  display: grid;
  gap: 0.75em;
}

.wc-ofu-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.wc-ofu-file-upload-dropzone {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1em;
  align-items: center;
  padding: 1.25em;
  border: 1px dashed #94a3b8;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.wc-ofu-file-upload-dropzone:hover,
.wc-ofu-file-upload-dropzone.is-dragover {
  border-color: #2563eb;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  transform: translateY(-1px);
}

.wc-ofu-file-input:focus + .wc-ofu-file-upload-dropzone,
.wc-ofu-file-upload-dropzone:focus-visible {
  outline: 3px solid #111111;
  outline-offset: 3px;
}

.wc-ofu-file-upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #2563eb;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
}

.wc-ofu-file-upload-copy {
  display: grid;
  gap: 0.2em;
}

.wc-ofu-file-upload-copy strong {
  color: #102a43;
}

.wc-ofu-file-upload-copy small {
  color: #52606d;
}

.wc-ofu-file-feedback {
  min-height: 1.2em;
  font-size: 0.95em;
}

.wc-ofu-file-feedback.is-error {
  color: #b42318;
}

.wc-ofu-file-feedback.is-notice {
  color: #8a5a00;
}

.wc-ofu-file-feedback.is-success {
  color: #147a3d;
}

.wc-ofu-artwork-requirement {
  padding: 0.75em 0.9em;
  border-left: 4px solid #147a3d;
  background: #f0f8f3;
}

.wc-ofu-file-previews {
  display: grid;
  gap: 0.75em;
}

.wc-ofu-file-preview {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.85em;
  align-items: center;
  padding: 0.8em 0.9em;
  border: 1px solid #d9e2ec;
  border-radius: 16px;
  background: #ffffff;
}

.wc-ofu-file-preview--saved {
  background: #f8fafc;
}

.wc-ofu-file-preview-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #e2e8f0;
  color: #102a43;
  font-size: 0.85em;
  font-weight: 700;
  overflow: hidden;
  text-transform: uppercase;
}

.wc-ofu-file-preview-thumb--image {
  background: #dbeafe;
}

.wc-ofu-file-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wc-ofu-file-preview-meta {
  display: grid;
  gap: 0.2em;
  min-width: 0;
}

.wc-ofu-file-preview-meta strong,
.wc-ofu-file-preview-meta a {
  color: #102a43;
  text-decoration: none;
  word-break: break-word;
}

.wc-ofu-file-preview-meta a:hover {
  text-decoration: underline;
}

.wc-ofu-remove-file {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #fee2e2;
  color: #b42318;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.wc-ofu-remove-file:hover {
  background: #dc2626;
  color: #ffffff;
}

.wc-ofu-link-list {
  display: grid;
  gap: 0.6em;
}

.wc-ofu-link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6em;
  align-items: center;
}

.wc-ofu-actions {
  margin-top: 0.5em;
}

.wc-ofu-proof-head {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  align-items: start;
}

.wc-ofu-proof-card {
  overflow: hidden;
}

.wc-ofu-proof-card.is-actioned {
  padding: 0;
}

.wc-ofu-proof-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 1.1em 1.2em;
  cursor: pointer;
  list-style: none;
}

.wc-ofu-proof-summary::-webkit-details-marker {
  display: none;
}

.wc-ofu-proof-summary-title {
  color: #102a43;
  font-weight: 700;
}

.wc-ofu-proof-summary-status {
  color: #52606d;
  font-size: 0.95em;
}

.wc-ofu-proof-card.is-actioned .wc-ofu-proof-summary-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.35em 0.75em;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.wc-ofu-proof-card.is-actioned .wc-ofu-proof-summary-status--approved {
  background: #dcfce7;
  color: #15803d;
}

.wc-ofu-proof-card.is-actioned .wc-ofu-proof-summary-status--changes {
  background: #fef3c7;
  color: #b45309;
}

.wc-ofu-proof-body {
  display: grid;
  gap: 1em;
  padding: 0 1.2em 1.2em;
  border-top: 1px solid #d9e2ec;
}

.wc-ofu-proof-preview {
  margin: 0.5em 0 0;
}

.wc-ofu-proof-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d9e2ec;
  border-radius: 16px;
}

.wc-ofu-pdf-preview {
  display: block;
  width: 100%;
  min-height: 680px;
  border: 1px solid #d9e2ec;
  border-radius: 16px;
  background: #f8fafc;
}

.wc-ofu-prev-design-body .wc-ofu-pdf-preview,
.wc-ofu-prev-proof-choice .wc-ofu-pdf-preview {
  min-height: 220px;
  pointer-events: none;
}

.wc-ofu-admin-proof-upload {
  padding: 10px;
  border: 1px solid #dcdcde;
  border-radius: 4px;
  background: #f6f7f7;
}

.wc-ofu-admin-proof-upload-status {
  margin-top: 6px;
  font-weight: 600;
}

.wc-ofu-admin-proof-upload-status.is-error {
  color: #b32d2e;
}

.wc-ofu-admin-proof-upload-status.is-success {
  color: #008a20;
}

.wc-ofu-proof-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  align-items: center;
  margin-top: 0.4em;
}

.wc-ofu-wrap .button.wc-ofu-proof-action,
.wc-ofu-wrap button.wc-ofu-proof-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.85em 1.25em;
  border: 2px solid #111111;
  border-radius: 8px;
  box-shadow: none;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  text-transform: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.wc-ofu-wrap .button.wc-ofu-proof-action:hover,
.wc-ofu-wrap .button.wc-ofu-proof-action:focus,
.wc-ofu-wrap button.wc-ofu-proof-action:hover,
.wc-ofu-wrap button.wc-ofu-proof-action:focus {
  transform: translateY(-1px);
}

.wc-ofu-wrap .button.wc-ofu-proof-action--primary,
.wc-ofu-wrap button.wc-ofu-proof-action--primary {
  background: #ffd400;
  border-color: #111111;
  color: #111111;
}

.wc-ofu-wrap .button.wc-ofu-proof-action--primary:hover,
.wc-ofu-wrap .button.wc-ofu-proof-action--primary:focus,
.wc-ofu-wrap button.wc-ofu-proof-action--primary:hover,
.wc-ofu-wrap button.wc-ofu-proof-action--primary:focus {
  background: #111111;
  border-color: #111111;
  color: #ffd400;
}

.wc-ofu-wrap .button.wc-ofu-proof-action--secondary {
  background: #ffffff;
  border-color: #111111;
  color: #111111;
}

.wc-ofu-wrap .button.wc-ofu-proof-action--secondary:hover,
.wc-ofu-wrap .button.wc-ofu-proof-action--secondary:focus {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.wc-ofu-history {
  margin-top: 1.25em;
  border: 1px solid #d9e2ec;
  border-radius: 12px;
  background: #ffffff;
}

.wc-ofu-history-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75em;
  padding: 0.85em 1em;
  color: #111111;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.wc-ofu-history-summary::-webkit-details-marker {
  display: none;
}

.wc-ofu-history-summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffd400;
  color: #111111;
  font-weight: 900;
  flex: 0 0 auto;
}

.wc-ofu-history[open] .wc-ofu-history-summary::after {
  content: "-";
  background: #111111;
  color: #ffd400;
}

.wc-ofu-history-summary small {
  margin-left: auto;
  color: #52606d;
  font-size: 0.9em;
  font-weight: 700;
}

.wc-ofu-history-chat {
  display: grid;
  gap: 0.9em;
  padding: 0 1em 1em;
}

.wc-ofu-history-entry {
  display: flex;
}

.wc-ofu-history-entry--designer,
.wc-ofu-history-entry--system {
  justify-content: flex-start;
}

.wc-ofu-history-entry--customer {
  justify-content: flex-end;
}

.wc-ofu-history-bubble {
  width: min(100%, 720px);
  padding: 1em;
  border: 1px solid #d9e2ec;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.wc-ofu-history-entry--designer .wc-ofu-history-bubble {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.wc-ofu-history-entry--customer .wc-ofu-history-bubble {
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #93c5fd;
}

.wc-ofu-history-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  margin-bottom: 0.75em;
}

.wc-ofu-history-meta span {
  color: #52606d;
  font-size: 0.92em;
}

.wc-ofu-history-files {
  display: grid;
  gap: 0.75em;
}

.wc-ofu-history-file {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 0.75em;
  align-items: center;
  padding: 0.75em;
  border: 1px solid #d9e2ec;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.wc-ofu-history-file-thumb img {
  display: block;
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #d9e2ec;
}

.wc-ofu-history-file-meta {
  display: grid;
  gap: 0.2em;
  min-width: 0;
}

.wc-ofu-history-file-meta a,
.wc-ofu-history-file-meta small {
  word-break: break-word;
}

.wc-ofu-history-revert-form {
  margin-top: 0.9em;
}

.wc-ofu-prev-design-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wc-ofu-saved-design-card {
  min-width: 0;
}

.wc-ofu-saved-design-preview {
  position: relative;
  height: 260px;
  max-height: 400px;
  overflow: hidden;
  border-radius: 10px;
  background: #f4f6f8;
}

.wc-ofu-prev-designs .wc-ofu-saved-design-preview img,
.wc-ofu-prev-designs .wc-ofu-saved-design-preview iframe,
.wc-ofu-prev-designs .wc-ofu-saved-design-preview .wc-ofu-pdf-preview {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 400px;
  margin: 0;
  object-fit: contain;
  border: 0;
}

.wc-ofu-saved-design-choice,
.wc-ofu-design-on-file {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.wc-ofu-saved-design-choice {
  margin-top: 10px;
  cursor: pointer;
}

.wc-ofu-prev-design-card.wc-ofu-design-on-file {
  display: flex;
  grid-column: 1 / -1;
}

.wc-ofu-design-on-file small {
  display: block;
  margin-top: 4px;
  color: #52606d;
}

.wc-ofu-saved-design-preview .wc-ofu-enlarge-design {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
  color: #102a43;
  box-shadow: 0 2px 8px #0002;
  cursor: zoom-in;
}

.wc-ofu-design-viewer {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 20px;
  border: 0;
  background: #101827;
  color: #fff;
}

.wc-ofu-design-viewer[open] {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

html:has(.wc-ofu-design-viewer[open]) {
  overflow: hidden;
}

.wc-ofu-design-viewer::backdrop {
  background: #101827;
}

.wc-ofu-design-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wc-ofu-design-viewer-header button {
  flex-shrink: 0;
  padding: 10px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: white;
  color: #102a43;
  cursor: pointer;
}

.wc-ofu-design-viewer-content {
  flex: 1;
  min-height: 0;
}

.wc-ofu-admin-history-preview {
  position: relative;
  height: 500px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #d6dce5;
  border-radius: 10px;
  background: #f5f6f8;
}
.wc-ofu-admin-history-preview > .wc-ofu-watermarked,
.wc-ofu-admin-history-preview > .wc-ofu-watermarked > img,
.wc-ofu-admin-history-preview > iframe {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
  margin: 0;
  border: 0;
}
.wc-ofu-admin-history-preview .wc-ofu-history-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  cursor: zoom-in;
}
.wc-ofu-history-navigation { display: flex; justify-content: space-between; gap: 16px; }
.wc-ofu-history-navigation button { padding: 12px 20px; cursor: pointer; }
.wc-ofu-history-navigation button:disabled { opacity: .4; cursor: default; }
.wc-ofu-admin-history-viewer .wc-ofu-design-viewer-header strong { overflow-wrap: anywhere; }

.wc-ofu-watermarked {
  position: relative;
  display: block;
  max-width: 100%;
}
.wc-ofu-watermarked > img { display: block; max-width: 100%; }
.wc-ofu-watermark {
  position: absolute;
  inset: 0;
  background: url('watermark.svg') center / 72% auto no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.wc-ofu-saved-design-preview > .wc-ofu-watermarked { height: 100%; }
.wc-ofu-saved-design-preview > .wc-ofu-watermarked > img { height: 100%; width: 100%; object-fit: contain; }
.wc-ofu-enlarge-design { cursor: zoom-in; z-index: 2; }
.wc-ofu-approval-disclaimer { padding: 16px; margin: 16px 0; border: 1px solid #d6dce5; border-radius: 8px; background: #fff8e6; color: #202938; }

.wc-ofu-design-viewer-content img,
.wc-ofu-design-viewer-content iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
}

@media (max-width: 800px) {
  .wc-ofu-prev-design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .wc-ofu-prev-design-grid { grid-template-columns: minmax(0, 1fr); }
}

.wc-ofu-prev-design-card {
  display: block;
  border: 1px solid #d9e2ec;
  border-radius: 16px;
  background: #ffffff;
  padding: 0.75em;
  cursor: pointer;
}

.wc-ofu-prev-design-card input {
  margin-bottom: 0.4em;
}

.wc-ofu-prev-design-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #d9e2ec;
  display: block;
  margin-bottom: 0.4em;
}

.wc-ofu-prev-design-body {
  display: grid;
  gap: 0.35em;
}

.wc-ofu-prev-design-body strong {
  color: #102a43;
}

.wc-ofu-prev-proof-choice {
  display: grid;
  gap: 0.5em;
}

.wc-ofu-prev-proof-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5em;
  align-items: start;
  font-size: 0.95em;
}

.wc-ofu-prev-proof-option input {
  margin-top: 0.25em;
}

.wc-ofu-saved-files ul,
.wc-ofu-admin ul {
  margin: 0 0 0 1.1em;
}

.wc-ofu-approved-card .button {
  margin-right: 0.5em;
  margin-top: 0.5em;
}

.wc-ofu-design-filter,
.wc-ofu-design-name-form {
  display: grid;
  gap: 0.75em;
}

.wc-ofu-design-filter-controls,
.wc-ofu-design-name-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75em;
  align-items: center;
}

.wc-ofu-design-filter select,
.wc-ofu-design-name-form input[type="text"] {
  width: 100%;
  max-width: 100%;
}

.wc-ofu-admin code {
  font-size: 12px;
}

.wc-ofu-inline-actions {
  display: flex;
  gap: 0.75em;
  align-items: center;
  flex-wrap: wrap;
}

.wc-ofu-live-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
  vertical-align: middle;
  margin-right: 8px;
}

.wc-ofu-order-items {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wc-ofu-order-item {
  display: grid;
  gap: 1em;
  align-content: start;
  height: 100%;
}

.wc-ofu-public-page {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 2em 1em;
}

.wc-ofu-message {
  margin-bottom: 1em;
}

.wc-ofu-admin-section {
  padding: 1em 0;
  border-top: 1px solid #ececec;
}

.wc-ofu-admin-section:first-child {
  border-top: 0;
}

@media (max-width: 700px) {
  .wc-ofu-wrap {
    padding: 1.2em;
  }

  .wc-ofu-proof-head,
  .wc-ofu-link-row,
  .wc-ofu-file-preview,
  .wc-ofu-file-upload-dropzone,
  .wc-ofu-design-filter-controls,
  .wc-ofu-design-name-controls,
  .wc-ofu-history-file {
    grid-template-columns: 1fr;
    display: grid;
  }

  .wc-ofu-proof-head {
    gap: 0.8em;
  }

  .wc-ofu-pdf-preview {
    min-height: 480px;
  }

  .wc-ofu-proof-summary {
    align-items: start;
  }

  .wc-ofu-file-preview-thumb {
    width: 100%;
    height: 140px;
  }

  .wc-ofu-remove-file {
    justify-self: start;
  }
}

.wc-ofu-protected-image {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.wc-ofu-protected-image img { -webkit-user-drag: none; }
@media print {
  .wc-ofu-protected-image { display: none !important; }
}
.wc-ofu-payment-controls { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; vertical-align: middle; }
.wc-ofu-design-stage { display: inline-block; font-size: 11px; line-height: 1.5; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.wc-ofu-design-stage--new { background: #fff1b8; color: #694d00; }
.wc-ofu-design-stage--amendment { background: #fbe2e2; color: #9a2020; }
.wc-ofu-design-stage--approved { background: #d9f0df; color: #1b6531; }
.wc-ofu-stage-field select { display: block; margin-top: 5px; }
.wc-ofu-design-team-message { padding: 12px 16px; background: #fff4e5; border-left: 3px solid #b86700; }

.wc-ofu-design-previews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; align-items: start; }
.wc-ofu-design-previews > div { min-width: 0; }
.wc-ofu-design-previews > div:empty { display: none; }
.wc-ofu-saved-design-preview.wc-ofu-saved-design-images { height: auto; max-height: none; overflow: visible; padding: 10px; }
.wc-ofu-saved-design-images .wc-ofu-design-previews { grid-template-columns: minmax(0, 1fr); }
.wc-ofu-prev-designs .wc-ofu-saved-design-images img,
.wc-ofu-prev-designs .wc-ofu-saved-design-images iframe,
.wc-ofu-prev-designs .wc-ofu-saved-design-images .wc-ofu-pdf-preview { height: 220px; max-height: 220px; }
.wc-ofu-saved-design-images .wc-ofu-enlarge-design { position: static; display: inline-block; width: auto; height: auto; padding: 8px 12px; border-radius: 6px; margin-top: 8px; }
