/* Demo-only presentation: badges and pricing-link substitutions. Shared geometry is owned by Live stylesheets. */
/* LABS PROTOTYPE | Approved Cloud-style DEMO stamp.
   Independent static SVG; editor canvas and docks are deliberately untouched.
   Reference: 72 x 28 px at 1280, scaling with viewport width both ways. */
.labs-demo-stamp{
  --labs-demo-unit:.078125vw;
  display:inline-block;vertical-align:middle;flex:0 0 auto;
  width:calc(72 * var(--labs-demo-unit));height:calc(28 * var(--labs-demo-unit));
  overflow:visible;transform:rotate(-6deg);transform-origin:center;
  filter:drop-shadow(0 0 calc(3 * var(--labs-demo-unit)) rgba(255,115,0,.28));
  pointer-events:none;
}
/* Project/Social landing and board/calendar headings only, never their editors. */
.project-lab .project-index-workspace-head>.labs-demo-stamp{margin-right:auto;margin-left:calc(-8 * var(--pu))}
.project-lab .project-index-workspace-head>.labs-demo-stamp{width:calc(56 * var(--pu));height:calc(22 * var(--pu))}
.project-create-overlay .labs-demo-modal-kicker{display:inline-flex;align-items:center;gap:calc(12 * var(--pu));min-width:0}
.project-create-overlay .labs-demo-modal-kicker>small{margin-bottom:0}
.project-create-overlay .labs-demo-modal-kicker>.labs-demo-stamp{width:calc(56 * var(--pu));height:calc(22 * var(--pu))}
.project-create-overlay .project-create-head .labs-demo-modal-kicker{margin-bottom:calc(8 * var(--pu))}
/* Index DEMO stamp sits beside "tools" in the active heading layout. */
.mighty-content #closing-title .labs-demo-index-stamp{margin-left:calc(10 * .078125vw)}
@media (max-width:819px){
  .labs-demo-stamp{width:45px;height:17.5px}
  .project-lab .project-index-workspace-head>.labs-demo-stamp{width:42px;height:17px;margin-left:-6px}
  .project-create-overlay .labs-demo-modal-kicker>.labs-demo-stamp{width:42px;height:17px}
}

/* ============================================================
   M!GHTY LABS DEMO | Presentation-only policy, 22 Nov 2026
   Only loaded by DEMO entry points. LIVE files are unaffected.
   Preserves the existing responsive editor, keyboard and touch systems.
   ============================================================ */

/* Portrait DEMO badges: match the reference landscape badge geometry
   on iPad while allowing slightly smaller badges on narrow phones. */
@media (orientation:portrait), (max-width:819px) {
  .labs-demo-stamp,
  .project-lab .project-index-workspace-head > .labs-demo-stamp,
  .project-create-overlay .labs-demo-modal-kicker > .labs-demo-stamp {
    --labs-demo-portrait-width: clamp(62px, 7.03125vw, 72px);
    width: var(--labs-demo-portrait-width);
    height: clamp(24.5px, 2.776vw, 28.4px);
    flex-shrink: 0;
    filter: drop-shadow(0 0 2px rgba(255, 115, 0, .23));
  }
}

/* Suno DEMO: two pricing links, no Cloud button or active WAV form. */
.suno-downloader .suno-downloader-input-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 15.625vw);
}
.suno-downloader .suno-downloader-pricing-field {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #aaa;
  cursor: pointer;
}
.suno-downloader .suno-downloader-pricing-field:hover,
.suno-downloader .suno-downloader-pricing-field:focus-visible {
  color: #fff;
  border-color: rgba(255, 115, 0, .62);
}
.suno-downloader .suno-downloader-input-row > a.pub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
@media (orientation:portrait), (max-width:819px) {
  .suno-downloader .suno-downloader-input-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Media Lab DEMO: links visually match the original export buttons.
   Both links navigate directly to PRICING; no exporter hook is attached. */
.media-editor-top-actions .media-editor-export-top[href] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: calc(31 * var(--media-u));
  padding: 0 calc(11 * var(--media-u));
  border: 0;
  border-radius: calc(7 * var(--media-u));
  background: var(--media-orange);
  color: #fff;
  font: 500 calc(10.08 * var(--media-u))/1 'Poppins',system-ui,sans-serif;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.media-inspector-action[href] { text-decoration: none; }
