.opx-three-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 580px;
  overflow: hidden;
  isolation: isolate;
  --opx-laptop-scale: 100;
  --opx-user-scale-min: 85;
  --opx-user-scale-max: 115;
}
.opx-three-stage .opx-three-canvas {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  outline: none;
  touch-action: pan-y;
  cursor: default;
}
.opx-three-stage .opx-three-controls {
  position: absolute;
  z-index: 3;
  left: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(108px, 1fr));
  align-items: center;
  gap: 7px 10px;
  width: min(320px, calc(100% - 24px));
  padding: 9px 10px;
  border: 1px solid var(--opx-panel-border, rgba(255,255,255,.14));
  border-radius: 10px;
  background: color-mix(in srgb, var(--opx-panel-bg, #111827) var(--opx-panel-opacity, 92%), transparent);
  color: var(--opx-panel-text, #fff);
  box-shadow: 0 4px 14px rgba(0,0,0,.16);
  font: inherit;
  font-size: 11px;
  line-height: 1.3;
  direction: rtl;
  backdrop-filter: blur(6px);
  transform: scale(calc(var(--opx-panel-scale, 100) / 100));
  transform-origin: left bottom;
  -webkit-user-select: none;
  user-select: none;
}
.opx-panel-right .opx-three-stage .opx-three-controls { left: auto; right: 12px; transform-origin: right bottom; }
.opx-three-stage .opx-control-project-label { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.opx-three-stage .opx-control-project {
  max-width: 145px;
  min-width: 72px;
  height: 26px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 5px;
  padding: 2px 5px;
  background: rgba(255,255,255,.1);
  color: inherit;
  font: inherit;
}
.opx-three-stage .opx-control-project option { color: #111827; }
.opx-three-stage .opx-control-scroll {
  min-height: 26px;
  border: 0;
  border-radius: 5px;
  padding: 4px 8px;
  background: var(--opx-panel-accent, #7C9CFF);
  color: #111827;
  font: inherit;
  white-space: nowrap;
  cursor: default;
}
.opx-three-stage .opx-control-range {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3px 7px;
  min-width: 0;
  white-space: nowrap;
}
.opx-three-stage .opx-control-range input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  height: 12px;
  margin: 0;
  accent-color: var(--opx-panel-accent, #7C9CFF);
  touch-action: none;
  cursor: default;
}
.opx-three-stage .opx-control-range .opx-control-value { opacity: .78; font-variant-numeric: tabular-nums; }
.opx-three-stage .opx-control-scroll { grid-column: 1 / -1; justify-self: start; }
.opx-three-stage .opx-control-scroll:focus-visible,
.opx-three-stage .opx-control-project:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.opx-three-stage .opx-three-notice {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #8e9aad;
  text-align: center;
  font: inherit;
  font-size: 13px;
  line-height: 1.8;
  pointer-events: none;
}
@media (max-width: 1024px) { .opx-three-stage { height: 450px; } }
@media (max-width: 767px) { .opx-three-stage { height: 340px; } }
@media (max-width: 767px) {
  .opx-three-stage .opx-three-controls { left: 8px; bottom: 8px; width: min(280px, calc(100% - 16px)); gap: 5px 8px; padding: 7px 8px; font-size: 10px; }
  .opx-panel-right .opx-three-stage .opx-three-controls { right: 8px; }
  .opx-three-stage .opx-control-project { max-width: 112px; height: 24px; }
  .opx-three-stage .opx-control-scroll { min-height: 24px; padding: 3px 6px; }
}

/* Match the original gradient when requested; no global html/body overrides. */
.opx-stage-bg-original .opx-three-stage {
  background: linear-gradient(120deg, #f7797d, #FBD786, #C6FFDD);
}
.opx-stage-bg-transparent .opx-three-stage { background: transparent; }

/* Positioning scoped to the panel; responsive Elementor variables take precedence. */
.opx-three-stage .opx-three-controls[data-anchor] {
  box-sizing: border-box;
  left: auto; top: auto;
  right: var(--opx-panel-x, 12px); bottom: var(--opx-panel-y, 12px);
  width: min(var(--opx-panel-width, 320px), 100%);
  transform-origin: right bottom;
}
.opx-three-stage .opx-three-controls[data-anchor="left"],
.opx-three-stage .opx-three-controls[data-anchor="top-left"] {
  right: auto; left: var(--opx-panel-x, 12px); transform-origin: left bottom;
}
.opx-three-stage .opx-three-controls[data-anchor="top-right"],
.opx-three-stage .opx-three-controls[data-anchor="top-left"] {
  bottom: auto; top: var(--opx-panel-y, 12px); transform-origin: right top;
}
.opx-three-stage .opx-three-controls[data-anchor="top-left"] { transform-origin: left top; }
.opx-three-stage .opx-control-scroll { cursor: pointer; }

/* Compact dashboard controls. All colors retain Elementor overrides. */
.opx-three-stage .opx-three-controls {
  grid-template-columns: minmax(0,1fr); gap: 14px; padding: 16px;
  border-radius: 18px; font-size: 12px; line-height: 1.5;
}
.opx-panel-heading { display:flex; align-items:center; gap:8px; min-width:0; }
.opx-panel-heading strong { font-size:13px; font-weight:600; }
.opx-panel-dot { width:7px; height:7px; border-radius:50%; background:var(--opx-panel-accent,#7C9CFF); }
.opx-panel-count { margin-inline-start:auto; font-size:10px; opacity:.6; }
.opx-three-stage .opx-control-project-label { justify-content:space-between; }
.opx-three-stage .opx-control-project { height:34px; max-width:70%; border-radius:8px; padding:4px 8px; }
.opx-project-cards { display:flex; gap:8px; overflow-x:auto; padding:3px 2px 7px; scrollbar-width:thin; }
.opx-three-stage .opx-project-card {
  flex:0 0 88px; min-width:0; padding:4px; border:1px solid transparent;
  border-radius:10px; background:rgba(128,128,128,.09); color:inherit; font:inherit;
  cursor:pointer; text-align:start; transition:border-color .15s,background .15s;
}
.opx-project-card img { width:100%; height:48px; object-fit:cover; object-position:top; display:block; border-radius:6px; }
.opx-project-card span { display:block; padding:5px 3px 1px; font-size:10px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.opx-three-stage .opx-project-card[aria-pressed="true"] { border-color:var(--opx-panel-accent,#7C9CFF); background:color-mix(in srgb,var(--opx-panel-accent,#7C9CFF) 12%,transparent); }
.opx-project-card:focus-visible { outline:2px solid var(--opx-panel-accent,#7C9CFF); outline-offset:1px; }
.opx-project-status { font-size:10px; opacity:.8; }
.opx-project-status:empty { display:none; }
.opx-three-stage .opx-control-range { gap:8px; }
.opx-three-stage .opx-control-value { border-radius:6px; padding:2px 7px; background:rgba(128,128,128,.12); direction:ltr; }
.opx-three-stage .opx-control-range input[type="range"] { height:24px; background:transparent; appearance:none; -webkit-appearance:none; }
.opx-control-range input[type="range"]::-webkit-slider-runnable-track { height:4px; border-radius:4px; background:color-mix(in srgb,var(--opx-panel-text,#fff) 20%,transparent); }
.opx-control-range input[type="range"]::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:14px; height:14px; margin-top:-5px; border:2px solid var(--opx-panel-bg,#111827); border-radius:50%; background:var(--opx-panel-accent,#7C9CFF); }
.opx-control-range input[type="range"]::-moz-range-track { height:4px; border-radius:4px; background:color-mix(in srgb,var(--opx-panel-text,#fff) 20%,transparent); }
.opx-control-range input[type="range"]::-moz-range-thumb { width:12px; height:12px; border:2px solid var(--opx-panel-bg,#111827); border-radius:50%; background:var(--opx-panel-accent,#7C9CFF); }
.opx-three-stage .opx-control-scroll { justify-self:stretch; min-height:34px; border-radius:9px; font-weight:600; }

.opx-laptop-viewport { width:100%; height:100%; min-width:0; }
.opx-three-stage .opx-project-cards { flex-wrap:wrap; overflow-x:visible; }
.opx-three-stage .opx-project-card { flex:1 1 76px; max-width:120px; }
@media (max-width:1024px) {
  .opx-three-stage[data-opx-three-laptop] { height:auto !important; overflow:visible; display:flex; flex-direction:column; gap:16px; }
  .opx-three-stage .opx-laptop-viewport { height:clamp(320px, 58vw, 480px); overflow:hidden; flex:none; }
  .opx-three-stage .opx-three-controls[data-anchor] {
    position:relative !important; inset:auto !important; transform:none !important;
    width:100%; max-width:520px; margin:0 auto;
    min-width:0; box-sizing:border-box; padding:14px;
    grid-template-columns:minmax(0,1fr); gap:12px;
  }
  .opx-panel-heading { flex-wrap:wrap; }
  .opx-three-stage .opx-control-project { min-width:0; max-width:70%; height:38px; }
  .opx-three-stage .opx-control-range input[type="range"] { height:32px; }
  .opx-three-stage .opx-control-scroll { min-height:42px; }
  .opx-three-stage .opx-project-card { min-height:76px; }
}
@media (max-width:480px) {
  .opx-three-stage .opx-laptop-viewport { height:clamp(260px, 85vw, 360px); }
}


/* v1.4.2 — reliable frontend dashboard layout at ALL breakpoints.
   The original overlay could sit below a fixed-height section or be clipped by
   a surrounding Elementor container. Do not anchor desktop controls to the
   bottom of the canvas: reserve a real side column instead. Leave rendering
   styles and WebGL DPR untouched from v1.4.1. */
@media (min-width: 1025px) {
  .opx-three-stage.opx-has-site-controls[data-opx-three-laptop] {
    display: grid;
    /* RTL pages should still show laptop left and dashboard right. */
    direction: ltr;
    grid-template-columns: minmax(0, 1fr) minmax(235px, 34%);
    align-items: center;
    column-gap: clamp(10px, 2.4vw, 32px);
    overflow: visible;
  }
  .opx-three-stage.opx-has-site-controls > .opx-laptop-viewport {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }
  .opx-three-stage.opx-has-site-controls > .opx-three-controls[data-anchor] {
    display: grid;
    position: relative;
    grid-column: 2;
    grid-row: 1;
    z-index: 10;
    justify-self: center;
    align-self: center;
    inset: auto;
    width: min(var(--opx-panel-width, 320px), 100%);
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  /* Preserve the intended top/bottom and left/right placement within the
     dashboard's own column, instead of allowing it to escape the widget. */
  .opx-three-stage.opx-has-site-controls > .opx-three-controls[data-anchor="top-right"],
  .opx-three-stage.opx-has-site-controls > .opx-three-controls[data-anchor="top-left"] {
    align-self: start;
    margin-top: var(--opx-panel-y, 12px);
    margin-bottom: 0;
  }
  .opx-three-stage.opx-has-site-controls > .opx-three-controls[data-anchor="left"],
  .opx-three-stage.opx-has-site-controls > .opx-three-controls[data-anchor="top-left"] {
    justify-self: start;
    margin-left: var(--opx-panel-x, 12px);
    margin-right: 0;
  }
  .opx-three-stage.opx-has-site-controls > .opx-three-controls[data-anchor="right"],
  .opx-three-stage.opx-has-site-controls > .opx-three-controls[data-anchor="top-right"] {
    justify-self: end;
    margin-right: var(--opx-panel-x, 12px);
    margin-left: 0;
  }
}

@media (max-width: 1024px) {
  .opx-three-stage.opx-has-site-controls[data-opx-three-laptop] {
    display: flex;
    flex-direction: column;
    height: auto !important;
    min-height: 0;
    overflow: visible;
    gap: 16px;
  }
  .opx-three-stage.opx-has-site-controls > .opx-laptop-viewport {
    order: 1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: none;
  }
  .opx-three-stage.opx-has-site-controls > .opx-three-controls[data-anchor] {
    display: grid;
    position: relative !important;
    order: 2;
    flex: none;
    inset: auto !important;
    align-self: center;
    z-index: 10;
    width: min(var(--opx-panel-width, 320px), 100%) !important;
    max-width: min(520px, 100%) !important;
    min-width: 0;
    box-sizing: border-box;
    margin: 0 auto !important;
    transform: none !important;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

/* v1.5.0 — responsive control sizes, accessible custom project picker and surprise */
.opx-three-stage .opx-three-controls {
}
.opx-three-stage .opx-panel-heading strong { font-size: 1.15em; }
.opx-three-stage .opx-panel-count,
.opx-three-stage .opx-project-card span,
.opx-three-stage .opx-project-status { font-size: .88em; }
.opx-three-stage .opx-control-value {
  font-size: var(--opx-numeric-font-size, 12px);
  text-align: center;
}
.opx-three-stage .opx-control-range input[type="range"] {
  cursor: pointer;
  accent-color: var(--opx-panel-accent, #7C9CFF);
}
.opx-three-stage .opx-control-range input[type="range"]:focus-visible {
  outline: 2px solid var(--opx-panel-accent, #7C9CFF);
  outline-offset: 4px;
}
.opx-three-stage .opx-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  clip: rect(0,0,0,0) !important;
  clip-path: inset(50%) !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  white-space: nowrap !important;
}
.opx-three-stage .opx-control-project-label {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  min-width: 0;
  white-space: normal;
}
.opx-three-stage .opx-project-picker {
  position: relative;
  width: 100%;
  min-width: 0;
  z-index: 5;
  font-size: var(--opx-picker-font, 13px);
}
.opx-three-stage .opx-picker-trigger {
  width: 100%;
  height: var(--opx-picker-height, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid var(--opx-picker-border,#475569);
  border-radius: var(--opx-picker-radius, 13px);
  background: var(--opx-picker-bg,#1e293b);
  color: var(--opx-picker-text,#f8fafc);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 4px 12px rgba(0,0,0,.10);
  font: inherit;
  text-align: right;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.opx-three-stage .opx-picker-trigger:hover,
.opx-three-stage .opx-picker-trigger:focus-visible {
  outline: 0;
  border-color: var(--opx-panel-accent,#7C9CFF);
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--opx-panel-accent,#7C9CFF) 20%, transparent);
}
.opx-picker-current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width:0; }
.opx-picker-chevron {
  display: inline-flex;
  flex: none;
  font-size: 1.35em;
  line-height: 1;
  color: var(--opx-picker-arrow,#a5b4fc);
  transition: transform .2s;
}
.opx-picker-open .opx-picker-chevron { transform: rotate(180deg); }
.opx-three-stage .opx-picker-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 7px);
  inset-inline: 0;
  padding: 6px;
  border: 1px solid var(--opx-picker-border,#475569);
  border-radius: var(--opx-picker-radius,13px);
  background: var(--opx-picker-menu,#0f172a);
  box-shadow: 0 18px 35px rgba(0,0,0,.36);
  max-height: min(320px, 56vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.opx-project-picker.opx-picker-above .opx-picker-menu {
  top: auto;
  bottom: calc(100% + 7px);
}
.opx-three-stage .opx-picker-menu[hidden],
.opx-three-stage .opx-break-notice[hidden] { display:none !important; }
.opx-three-stage .opx-picker-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--opx-option-height, 52px);
  width: 100%;
  margin: 0;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: max(4px, calc(var(--opx-picker-radius,13px) - 5px));
  background: transparent;
  color: var(--opx-picker-option-text,#e2e8f0);
  font: inherit;
  text-align: right;
  cursor: pointer;
  transition: background .16s, transform .16s;
}
.opx-three-stage .opx-picker-option img {
  width: 46px;
  height: 36px;
  flex: none;
  border-radius: 7px;
  object-fit: cover;
  object-position: top;
  background: rgba(255,255,255,.12);
}
.opx-three-stage .opx-picker-option span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.opx-three-stage .opx-picker-option:hover,
.opx-three-stage .opx-picker-option:focus-visible {
  background: var(--opx-picker-hover,#334155);
  outline: none;
}
.opx-three-stage .opx-picker-option[aria-selected="true"] {
  background: var(--opx-picker-active,#40579a);
  font-weight: 650;
}
.opx-three-stage .opx-break-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(251,146,60,.48);
  border-radius: 12px;
  background: rgba(124,45,18,.26);
  color: var(--opx-panel-text,#fff);
  font-size: 1em;
}
.opx-three-stage .opx-fix-button {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  padding: 6px 12px;
  color: #271408;
  background: #fbbf24;
}
.opx-three-stage .opx-fix-button:hover { background:#fde68a; }
.opx-three-stage .opx-fix-button:focus-visible {outline:2px solid var(--opx-panel-accent,#7c9cff);outline-offset:2px;}
@media (max-width:1024px) {
  /* Keep Elementor's per-device height/typography settings active. */
  .opx-three-stage .opx-laptop-viewport { height:var(--opx-viewport-height, clamp(320px,58vw,480px)); }
  .opx-three-stage .opx-three-controls[data-anchor] {
    font-size:inherit;
    padding:var(--opx-panel-padding,14px);
    gap:var(--opx-panel-gap,12px);
  }
}
@media (max-width:480px) {
  .opx-three-stage .opx-laptop-viewport { height:var(--opx-viewport-height,clamp(260px,85vw,360px)); }
}

/* v1.5.2 — responsive scale limits and fixed-position break notification.
   The break toast MUST NOT become a grid/flex item: doing so changes the
   panel height (desktop vertically centers it; tablet/phone scroll-jump). */
.opx-three-stage .opx-three-controls[data-anchor] { position: relative; }
.opx-three-stage .opx-break-notice:not([hidden]) {
  position: absolute;
  z-index: 50;
  inset: auto 0 calc(100% + 10px) 0;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
  pointer-events: auto;
}
/* Keep the text and repair button usable without expanding the panel. */
.opx-three-stage .opx-break-notice span { min-width: 0; flex: 1 1 140px; }
.opx-three-stage .opx-break-notice .opx-fix-button { flex: 0 0 auto; }
/* Fallbacks also apply before Elementor's responsive stylesheet loads and
   to existing saved widgets that lack the new responsive control rules. */
@media (max-width: 1024px) {
  .opx-three-stage { --opx-user-scale-min: 88; --opx-user-scale-max: 112; }
}
@media (max-width: 767px) {
  .opx-three-stage { --opx-user-scale-min: 90; --opx-user-scale-max: 110; }
}

/* v1.5.4 — panel restyle, built strictly on the tested 1.5.2 layout.
   Do not set positioning on the panel's generic children: the break notice
   must remain out of the grid flow, and the project menu remains absolute. */
.opx-three-stage .opx-three-controls[data-anchor] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: row;
  align-items: stretch;
  align-content: start;
  row-gap: var(--opx-ui-panel-gap, 13px);
  box-sizing: border-box;
  min-width: 0;
  padding: var(--opx-ui-panel-padding, 18px);
  border-radius: var(--opx-ui-panel-radius, 22px);
  border: var(--opx-ui-panel-border-width, 1px) var(--opx-ui-panel-border-style, solid) color-mix(in srgb, var(--opx-panel-border, #cbd5e1) 32%, transparent);
  background: var(--opx-ui-panel-background, linear-gradient(155deg, rgba(255,255,255,.065), transparent 38%, rgba(0,0,0,.085)), color-mix(in srgb, var(--opx-panel-bg,#111827) var(--opx-panel-opacity,92%), transparent));
  color: var(--opx-panel-text,#fff);
  box-shadow: var(--opx-ui-panel-shadow, 0 24px 50px rgba(0,0,0,.25), 0 3px 12px rgba(0,0,0,.09), inset 0 1px rgba(255,255,255,.1));
  backdrop-filter: var(--opx-ui-panel-backdrop, blur(var(--opx-ui-panel-blur, 15px)) saturate(130%));
  -webkit-backdrop-filter: var(--opx-ui-panel-backdrop, blur(var(--opx-ui-panel-blur, 15px)) saturate(130%));
  overflow: visible;
  isolation: isolate;
}
/* With existing Elementor color, font and radius controls, individual values
   keep working; no descendant's position is changed by a universal selector. */
.opx-three-stage .opx-panel-heading,
.opx-three-stage .opx-control-project-label,
.opx-three-stage .opx-project-cards,
.opx-three-stage .opx-control-range,
.opx-three-stage .opx-control-scroll {
  min-width: 0;
  box-sizing: border-box;
}
.opx-three-stage .opx-panel-heading {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  min-height: 34px;
  padding: 0 0 11px;
  border-bottom: 1px solid color-mix(in srgb, var(--opx-panel-text,#fff) 12%, transparent);
}
.opx-three-stage .opx-panel-heading strong {
  flex: none;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.5;
}
.opx-three-stage .opx-panel-dot {
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--opx-panel-accent,#65c2bd);
  box-shadow: 0 0 0 4px color-mix(in srgb,var(--opx-panel-accent,#65c2bd) 16%,transparent);
}
.opx-three-stage .opx-panel-count {
  display: inline-flex;
  margin-inline-start: auto;
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb,var(--opx-panel-text,#fff) 14%,transparent);
  background: color-mix(in srgb,var(--opx-panel-text,#fff) 7%,transparent);
  font-size: .88em;
  line-height: 1.3;
  opacity: .85;
}
.opx-three-stage .opx-control-project-label {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  font-weight: 600;
  white-space: normal;
}
.opx-three-stage .opx-control-project-label > span {
  color: color-mix(in srgb,var(--opx-panel-text,#fff) 70%,transparent);
  font-size: .93em;
}
.opx-three-stage .opx-project-picker {
  position: relative;
  z-index: 8;
  width: 100%;
  min-width: 0;
  font-weight: 500;
}
.opx-three-stage .opx-project-picker.opx-picker-open { z-index: 60; }
.opx-three-stage .opx-picker-trigger {
  width: 100%;
  min-width: 0;
  min-height: var(--opx-picker-height,44px);
  padding: 9px 13px;
  border-radius: max(12px, var(--opx-picker-radius,13px));
  border: 1px solid color-mix(in srgb,var(--opx-picker-border,#475569) 82%,transparent);
  background: linear-gradient(180deg,rgba(255,255,255,.045),rgba(0,0,0,.07)),var(--opx-picker-bg,#1e293b);
  color: var(--opx-picker-text,#f8fafc);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 3px 10px rgba(0,0,0,.10);
  font: inherit;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.opx-three-stage .opx-picker-trigger:hover,
.opx-three-stage .opx-picker-trigger:focus-visible {
  transform: none;
  border-color: var(--opx-panel-accent,#65c2bd);
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--opx-panel-accent,#65c2bd) 15%,transparent);
}
.opx-three-stage .opx-picker-chevron {
  display: inline-flex;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: color-mix(in srgb,var(--opx-picker-text,#fff) 8%,transparent);
  font-size: 1.2em;
}
.opx-three-stage .opx-picker-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline: 0;
  z-index: 100;
  padding: 7px;
  border-radius: max(14px, var(--opx-picker-radius,13px));
  border: 1px solid var(--opx-picker-border,#475569);
  background: var(--opx-picker-menu,#0f172a);
  box-shadow: 0 22px 48px rgba(0,0,0,.36);
  overflow-y: auto;
}
.opx-three-stage .opx-project-picker.opx-picker-above .opx-picker-menu {
  top: auto;
  bottom: calc(100% + 8px);
}
.opx-three-stage .opx-picker-option {
  position: static;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: var(--opx-option-height,52px);
  padding: 7px 9px;
  border-radius: 11px;
  cursor: pointer;
  transition: background .15s;
}
.opx-three-stage .opx-picker-option img { width: 44px; height: 36px; border-radius: 8px; }
.opx-three-stage .opx-picker-option:hover { transform: none; }
.opx-three-stage .opx-picker-option[aria-selected="true"] {
  border-color: color-mix(in srgb,var(--opx-panel-accent,#65c2bd) 48%,transparent);
}
.opx-three-stage .opx-project-cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: stretch;
  gap: 8px;
  padding: 0;
  margin: 0;
  overflow: visible;
}
.opx-three-stage .opx-project-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--opx-surface-border, color-mix(in srgb,var(--opx-panel-text,#fff) 13%,transparent));
  border-radius: 12px;
  background: var(--opx-surface-bg, color-mix(in srgb,var(--opx-panel-text,#fff) 5%,transparent));
  color: inherit;
  box-shadow: none;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.opx-three-stage .opx-project-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb,var(--opx-panel-accent,#65c2bd) 50%,transparent);
  background: color-mix(in srgb,var(--opx-panel-accent,#65c2bd) 11%,transparent);
  box-shadow: 0 6px 13px rgba(0,0,0,.13);
}
.opx-three-stage .opx-project-card[aria-pressed="true"] {
  border-color: var(--opx-panel-accent,#65c2bd);
  background: color-mix(in srgb,var(--opx-panel-accent,#65c2bd) 13%,transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--opx-panel-accent,#65c2bd) 30%,transparent);
}
.opx-three-stage .opx-project-card img {
  display:block;
  width:100%;
  aspect-ratio: 1.55 / 1;
  height: auto;
  object-fit:cover;
  object-position:top;
  border-radius:8px;
  background: rgba(255,255,255,.08);
}
.opx-three-stage .opx-project-card span {
  display:block;
  max-width:100%;
  padding: 6px 2px 2px;
  font-weight: 600;
  line-height: 1.4;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space:nowrap;
}
.opx-three-stage .opx-project-status:empty { display: none; }
.opx-three-stage .opx-control-range {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items:center;
  column-gap: 8px;
  row-gap: 9px;
  width: 100%;
  padding: 10px 12px 8px;
  border-radius: 13px;
  border: 1px solid var(--opx-surface-border, color-mix(in srgb,var(--opx-panel-text,#fff) 10%,transparent));
  background: var(--opx-surface-bg, color-mix(in srgb,var(--opx-panel-text,#fff) 5%,transparent));
  white-space: normal;
  font-weight: 550;
}
.opx-three-stage .opx-control-range > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.opx-three-stage .opx-control-range .opx-control-value {
  direction:ltr;
  text-align:center;
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb,var(--opx-panel-accent,#65c2bd) 18%,transparent);
  border-radius: 999px;
  background:color-mix(in srgb,var(--opx-panel-accent,#65c2bd) 13%,transparent);
  color:var(--opx-panel-text,#fff);
  font-variant-numeric:tabular-nums;
  opacity:1;
  font-weight:700;
}
.opx-three-stage .opx-control-range input[type="range"] {
  display: block;
  grid-column: 1 / -1;
  width:100%;
  min-width:0;
  height:22px;
  margin:0;
  cursor:pointer;
}
.opx-three-stage .opx-control-scroll {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  justify-self: stretch;
  min-height:42px;
  margin: 0;
  padding: 10px 14px;
  border:0;
  border-radius:13px;
  background:var(--opx-panel-accent,#65c2bd);
  color:#0b1720;
  box-shadow: 0 8px 19px color-mix(in srgb,var(--opx-panel-accent,#65c2bd) 19%,transparent);
  font:inherit;
  font-weight:750;
  cursor:pointer;
  transition:filter .18s, transform .18s;
}
.opx-three-stage .opx-control-scroll:hover {
  filter:brightness(1.09);
  transform: translateY(-1px);
}
/* Important: exclude this toast from the grid completely, including when
   a page uses Elementor positioning rules. The panel's height never changes. */
.opx-three-stage .opx-three-controls[data-anchor] .opx-break-notice:not([hidden]) {
  display:flex;
  position:absolute;
  z-index: 110;
  top:auto;
  right:0;
  bottom:calc(100% + 12px);
  left:0;
  width:100%;
  max-width:100%;
  margin:0;
  box-sizing:border-box;
  padding: 11px 12px;
  gap:8px;
  align-items:center;
  justify-content:space-between;
  border-radius: 15px;
  border:1px solid rgba(251,191,36,.56);
  background: #43231b;
  color:#fff;
  box-shadow: 0 12px 26px rgba(0,0,0,.3);
  backdrop-filter:none;
  transform:none;
  pointer-events:auto;
}
.opx-three-stage .opx-break-notice .opx-fix-button {
  flex:0 0 auto;
  border-radius:10px;
  padding:7px 10px;
  font-weight:750;
}
@media (max-width: 1024px) {
  .opx-three-stage .opx-three-controls[data-anchor] {
    width:min(var(--opx-panel-width,320px),100%) !important;
    max-width:min(520px,100%) !important;
    padding: var(--opx-ui-panel-padding, 18px);
  }
}
@media (max-width: 360px) {
  .opx-three-stage .opx-three-controls[data-anchor] { row-gap:var(--opx-ui-panel-gap, 13px); padding:var(--opx-ui-panel-padding, 18px); }
  .opx-three-stage .opx-control-range { padding:9px; }
  .opx-three-stage .opx-three-controls[data-anchor] .opx-break-notice:not([hidden]) {
    flex-wrap:wrap;
  }
}

/* v1.5.4: keep the break toast accessible when the panel is near the top edge. */
.opx-three-stage .opx-three-controls[data-anchor] .opx-break-notice.opx-toast-below:not([hidden]) {
  top: calc(100% + 12px);
  bottom: auto;
}



.opx-three-stage .opx-three-controls[data-anchor] {
  --opx-ui-panel-background: linear-gradient(155deg, rgba(255,255,255,.065), transparent 38%, rgba(0,0,0,.085)), color-mix(in srgb, var(--opx-panel-bg,#111827) var(--opx-panel-opacity,92%), transparent);
  --opx-ui-panel-backdrop: blur(var(--opx-ui-panel-blur, 15px)) saturate(130%);
}

/* v1.5.5 — more design freedom for panel surfaces and a cleaner modern picker. */
.opx-three-stage .opx-three-controls[data-anchor] {
  --opx-surface-bg: rgba(255,255,255,.05);
  --opx-surface-border: rgba(255,255,255,.12);
  --opx-surface-shadow: none;
  --opx-surface-radius: 14px;
  --opx-surface-pad-y: 10px;
  --opx-surface-pad-x: 12px;
  --opx-project-card-gap: 8px;
}
.opx-three-stage .opx-panel-heading {
  padding-inline: max(2px, calc(var(--opx-surface-pad-x) * .1));
}
.opx-three-stage .opx-control-project-label > span,
.opx-three-stage .opx-project-status {
  padding-inline: max(2px, calc(var(--opx-surface-pad-x) * .1));
}
.opx-three-stage .opx-project-cards {
  gap: var(--opx-project-card-gap, 8px);
}
.opx-three-stage .opx-project-card,
.opx-three-stage .opx-control-range {
  border-radius: var(--opx-surface-radius, 14px);
  border-color: var(--opx-surface-border, rgba(255,255,255,.12));
  background: var(--opx-surface-bg, rgba(255,255,255,.05));
  box-shadow: var(--opx-surface-shadow, none);
}
.opx-three-stage .opx-project-card {
  padding: max(2px, calc(var(--opx-surface-pad-y, 10px) * .45));
}
.opx-three-stage .opx-project-card span {
  padding: max(4px, calc(var(--opx-surface-pad-y, 10px) * .55)) max(3px, calc(var(--opx-surface-pad-x, 12px) * .16)) max(2px, calc(var(--opx-surface-pad-y, 10px) * .2));
}
.opx-three-stage .opx-control-range {
  padding: var(--opx-surface-pad-y, 10px) var(--opx-surface-pad-x, 12px) calc(max(6px, var(--opx-surface-pad-y, 10px) - 2px));
}
.opx-three-stage .opx-control-range > span:first-child,
.opx-three-stage .opx-control-range .opx-control-value {
  padding-top: 1px;
  padding-bottom: 1px;
}
.opx-three-stage .opx-picker-trigger {
  min-height: var(--opx-picker-height,44px);
  padding: var(--opx-picker-pad-y, 9px) var(--opx-picker-pad-x, 14px);
  border-radius: max(12px, var(--opx-picker-radius,13px));
  border-color: color-mix(in srgb,var(--opx-picker-border,#475569) 82%,transparent);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)),
    color-mix(in srgb, var(--opx-picker-bg,#1e293b) calc(100% * var(--opx-picker-surface-on, 1)), transparent);
}
.opx-three-stage .opx-picker-chevron {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--opx-picker-arrow-bg, rgba(255,255,255,.08));
  color: var(--opx-picker-arrow,#a5b4fc);
}
.opx-three-stage .opx-picker-chevron svg {
  width: 15px;
  height: 15px;
  display: block;
}
.opx-three-stage .opx-picker-chevron path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.opx-three-stage .opx-picker-menu {
  border-radius: max(16px, var(--opx-picker-radius,13px));
  background: color-mix(in srgb, var(--opx-picker-menu,#0f172a) calc(100% * max(.1, var(--opx-picker-surface-on, 1))), transparent);
}
.opx-three-stage .opx-picker-option {
  gap: max(10px, calc(var(--opx-picker-option-pad, 10px) - 1px));
  padding: max(6px, calc(var(--opx-picker-option-pad, 10px) - 2px)) var(--opx-picker-option-pad, 10px);
  border-radius: max(12px, calc(var(--opx-picker-radius,13px) - 1px));
}
.opx-three-stage .opx-picker-option span {
  padding-inline-end: max(2px, calc(var(--opx-picker-option-pad, 10px) * .18));
}
.opx-three-stage .opx-picker-option[aria-selected="true"] {
  background: color-mix(in srgb, var(--opx-picker-active,#40579A) 70%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--opx-picker-active,#40579A) 35%, white 3%);
}
.opx-three-stage .opx-picker-option:hover,
.opx-three-stage .opx-picker-option:focus-visible {
  background: color-mix(in srgb, var(--opx-picker-hover,#334155) 82%, transparent);
}


/* v1.5.7 — bubble-style broken-screen notice above the laptop itself. */
.opx-three-stage .opx-laptop-viewport {
  position: relative;
}
.opx-three-stage .opx-laptop-viewport .opx-break-notice[hidden] {
  display: none !important;
}
.opx-three-stage .opx-laptop-viewport .opx-break-notice:not([hidden]) {
  position: absolute;
  z-index: 140;
  top: clamp(12px, 5.5%, 28px);
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  width: max-content;
  max-width: min(360px, calc(100% - 24px));
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(251,191,36,.52);
  background: rgba(17, 24, 39, .92);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.32);
  backdrop-filter: blur(8px) saturate(125%);
  -webkit-backdrop-filter: blur(8px) saturate(125%);
  pointer-events: auto;
  text-align: center;
}
.opx-three-stage .opx-laptop-viewport .opx-break-notice:not([hidden])::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-right: 1px solid rgba(251,191,36,.52);
  border-bottom: 1px solid rgba(251,191,36,.52);
  background: rgba(17, 24, 39, .92);
  transform: translateY(-7px) rotate(45deg);
}
.opx-three-stage .opx-laptop-viewport .opx-break-notice span {
  min-width: 0;
  flex: 1 1 auto;
  font-weight: 700;
  white-space: normal;
}
.opx-three-stage .opx-laptop-viewport .opx-break-notice .opx-fix-button {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: #fbbf24;
  color: #28170a;
  font-weight: 800;
  box-shadow: none;
}
.opx-three-stage .opx-laptop-viewport .opx-break-notice.opx-bubble-low:not([hidden]) {
  top: 8px;
}
@media (max-width: 767px) {
  .opx-three-stage .opx-laptop-viewport .opx-break-notice:not([hidden]) {
    max-width: min(300px, calc(100% - 18px));
    padding: 10px 12px;
    gap: 8px;
    border-radius: 16px;
    font-size: .94em;
  }
}
