/* Full-bleed iframe dialog, shared across pages.
 *
 * Two things wanted an app-inside-the-app overlay -- the portal's protocol detail pages and the
 * RootPath plasmid viewer -- and both want the same thing from it: keep the reader where they
 * are. Losing a half-configured construct, or a project you were reading, to a new tab is the
 * reason someone does not look. An iframe rather than rendered markup because each of those is
 * its own app with its own CSS, and a page that borrows the host's styling breaks in ways nobody
 * notices until a customer sees it.
 *
 * z-index is above .overlay (1000) and above the tag menu (2000): this is opened FROM inside
 * those, so it has to land on top rather than behind.
 */
.fdlg-overlay { position: fixed; inset: 0; z-index: 12000; display: none;
  background: rgba(30, 28, 45, .55); backdrop-filter: blur(2px); }
.fdlg-overlay.open { display: block; }
.fdlg-panel { position: absolute; inset: 3vh 3vw; background: #fff; border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,.32); display: flex; flex-direction: column; overflow: hidden; }
.fdlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--border-light, #e5e7eb); }
.fdlg-title { font-size: 15px; font-weight: 700; color: var(--dark-navy, #2B3445); }
.fdlg-actions { display: flex; align-items: center; gap: 10px; }
.fdlg-open { font-size: 13px; font-weight: 700; color: var(--pink, #ec3a94); text-decoration: none; }
.fdlg-close { background: none; border: none; cursor: pointer; padding: 4px; line-height: 0; }
.fdlg-frame { flex: 1; width: 100%; border: 0; }
@media (max-width: 700px) { .fdlg-panel { inset: 0; border-radius: 0; } }
