/* ═══════════════════════════════════════════════════════
   OWFR Primary Care Resources – Stylesheet
   Plugin: owfr-primary-care-resources
   ═══════════════════════════════════════════════════════ */

/* ── Reset Divi defaults ── */
.owfr-pcr *,
.owfr-pcr *::before,
.owfr-pcr *::after { box-sizing: border-box; }
.owfr-pcr h1,.owfr-pcr h2,.owfr-pcr h3,.owfr-pcr h4,.owfr-pcr h5,.owfr-pcr h6 {
  font-size: inherit !important; font-weight: inherit !important;
  line-height: inherit !important; margin: 0 !important; padding: 0 !important;
  letter-spacing: normal !important; text-transform: none !important; color: inherit !important;
}
.owfr-pcr { font-family: inherit; margin: 0 auto; max-width: 100%; padding: 0; }
.owfr-pcr a { text-decoration: none; }
.owfr-pcr-inner { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* ── Hero Banner ── (removed) */
.owfr-pcr-hero { display: none; }

/* ── Instructions ── */
.owfr-pcr-intro {
  background: #f8faf9; border-bottom: 1px solid rgba(0,107,63,0.12);
  padding: 1.5rem 0; margin-bottom: 0;
}
.owfr-pcr-intro-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: flex-start; gap: 1rem;
}
.owfr-pcr-intro-icon {
  flex-shrink: 0; width: 40px; height: 40px; background: rgba(0,107,63,0.1);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.owfr-pcr-intro-icon svg { width: 22px; height: 22px; color: #006B3F; }
.owfr-pcr-intro h3 { font-size: 1rem !important; font-weight: 700 !important; color: #006B3F !important; margin: 0 0 0.35rem 0 !important; }
.owfr-pcr-intro p { font-size: 0.9rem !important; line-height: 1.55 !important; color: #444 !important; margin: 0 !important; }

/* ── Tab Navigation ── */
.owfr-pcr-tabs-wrap {
  background: #fff; border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 100;
  margin-bottom: 2rem;
}
.owfr-pcr-tabs {
  display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto; padding: 0; list-style: none;
  max-width: 1200px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.owfr-pcr-tabs li { list-style: none; margin: 0; padding: 0; }
.owfr-pcr-tabs::-webkit-scrollbar { display: none; }
.owfr-pcr-tab {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  padding: 1rem 1.4rem; flex: 1; min-width: 0;
  font-size: 0.88rem; font-weight: 600; color: #555; white-space: nowrap;
  border: none; border-bottom: 3px solid transparent; background: none;
  font-family: inherit; cursor: pointer; transition: all 0.15s ease;
  text-align: center;
}
.owfr-pcr-tab:hover { color: #006B3F; background: rgba(0,107,63,0.04); }
.owfr-pcr-tab.active { color: #006B3F; border-bottom-color: #006B3F; background: rgba(0,107,63,0.05); }
.owfr-pcr-tab svg { width: 22px; height: 22px; flex-shrink: 0; opacity: 0.6; }
.owfr-pcr-tab.active svg { opacity: 1; }

/* ── Tab Panels ── */
.owfr-pcr-panel { display: none; animation: owfrFadeIn 0.25s ease; }
.owfr-pcr-panel.active { display: block; }
@keyframes owfrFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ── Section Header ── */
.owfr-pcr-section-header {
  display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap;
  margin-bottom: 1.25rem; padding-bottom: 0.85rem;
  border-bottom: 3px solid; border-image: linear-gradient(90deg, #006B3F 0%, rgba(0,107,63,0.08) 100%) 1;
}
.owfr-pcr-section-header svg { width: 26px; height: 26px; flex-shrink: 0; color: #006B3F; }
.owfr-pcr-section-title {
  font-size: 1.35rem !important; font-weight: 800 !important; color: #006B3F !important;
  line-height: 1.25 !important; letter-spacing: -0.01em !important;
}
.owfr-pcr-section-sub { font-size: 0.88rem; color: #555; font-weight: 400; margin-left: 0.15rem; }

/* ── Card Grid ── */
.owfr-pcr-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem;
}

/* ── Cards ── */
.owfr-pcr-card {
  grid-column: span 12; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px;
  overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; transition: box-shadow 0.2s ease;
}
.owfr-pcr-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.owfr-pcr-card-content {
  padding: 1.25rem; display: flex; flex-direction: column; flex: 1;
}
.owfr-pcr-card-logo {
  width: 100%; height: 80px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.85rem; padding-bottom: 0.85rem; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.owfr-pcr-card-logo img { max-width: 160px; max-height: 80px; width: auto; height: auto; object-fit: contain; }
.owfr-pcr-card-header { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.5rem; }
.owfr-pcr-card h3 { font-size: 0.95rem !important; font-weight: 700 !important; line-height: 1.3 !important; color: #006B3F !important; }
.owfr-pcr-tagline { margin: 0.2rem 0 0 0; font-size: 0.85rem; line-height: 1.4; color: #444; }
.owfr-pcr-card-body { flex: 1; margin-bottom: 0.75rem; }
.owfr-pcr-small { font-size: 0.85rem; line-height: 1.5; margin: 0.35rem 0 0 0; color: #333; }
.owfr-pcr-meta {
  margin: 0.5rem 0 0 0; padding: 0.65rem 0.75rem; border-radius: 8px;
  background: rgba(0,107,63,0.04); border-left: 3px solid #006B3F;
}
.owfr-pcr-meta strong { display: inline-block; margin-right: 0.25rem; }
.owfr-pcr-instructions {
  margin: 0.5rem 0 0 0; padding: 0.75rem 0.85rem; border-radius: 8px;
  background: rgba(0,107,63,0.03); border-left: 3px solid rgba(0,107,63,0.25);
  font-size: 0.85rem; line-height: 1.5;
}
.owfr-pcr-instructions h4 { font-size: 0.85rem !important; color: #006B3F !important; font-weight: 700 !important; line-height: 1.3 !important; margin: 0 0 0.25rem 0 !important; }
.owfr-pcr-instructions ol, .owfr-pcr-instructions ul { margin: 0.2rem 0 0.4rem 1.1rem; padding: 0; }
.owfr-pcr-instructions li { margin-bottom: 0.15rem; font-size: 0.85rem; }

/* ── Buttons ── */
.owfr-pcr-actions {
  display: flex; flex-direction: column; gap: 0.5rem; margin-top: auto; align-items: stretch; width: 100%;
}
.owfr-pcr-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1.25rem; border-radius: 6px; border: 1px solid rgba(0,0,0,0.18);
  text-decoration: none !important; font-weight: 600; font-family: inherit;
  font-size: 0.85rem; line-height: 1; text-align: center; cursor: pointer; transition: all 0.15s ease;
}
.owfr-pcr-btn:hover { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.owfr-pcr-btn-primary { background: #006B3F; color: #fff !important; border-color: #006B3F; }
.owfr-pcr-btn-primary:hover { background: #005a34; }
.owfr-pcr-btn-secondary { background: #fff; color: #006B3F !important; border-color: #006B3F; }
.owfr-pcr-btn-secondary:hover { background: #f0f8f4; }

.owfr-pcr-link-green { color: #006B3F; font-weight: 600; text-decoration: underline; }
.owfr-pcr-email-link { color: #006B3F; font-weight: 600; }
.owfr-pcr-divider { height: 1px; background: rgba(0,0,0,0.08); margin: 1rem 0; }

/* ── Responsive YouTube Embed ── */
.owfr-pcr-video-wrap {
  position: relative; width: 100%; padding-bottom: 56.25%; /* 16:9 */
  border-radius: 10px; overflow: hidden; background: #000; margin-bottom: 0.75rem;
}
.owfr-pcr-video-wrap iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: 0; border-radius: 10px;
}
/* Click-to-play facade */
.owfr-pcr-yt-facade img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 10px; cursor: pointer;
}
.owfr-pcr-yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: none; border: none; padding: 0; cursor: pointer;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  transition: transform 0.15s ease, filter 0.15s ease;
}
.owfr-pcr-yt-facade:hover .owfr-pcr-yt-play {
  transform: translate(-50%, -50%) scale(1.12);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.65));
}

/* ── Town Hall Video Hero ── */
.owfr-pcr-townhall-hero {
  grid-column: span 12; border-radius: 14px; overflow: hidden;
  background: #00261a; margin-bottom: 0.25rem;
}
.owfr-pcr-townhall-hero video { width: 100%; display: block; border-radius: 14px; }
.owfr-pcr-townhall-hero-caption {
  padding: 1rem 1.5rem; background: linear-gradient(135deg, #004d2d 0%, #006B3F 100%); color: #fff;
}
.owfr-pcr-townhall-hero-caption h3 {
  font-size: 1.05rem !important; font-weight: 700 !important; color: #fff !important; margin: 0 0 0.25rem 0 !important;
}
.owfr-pcr-townhall-hero-caption p { font-size: 0.85rem; color: rgba(255,255,255,0.88); margin: 0; line-height: 1.45; }

/* ── Town Hall Sub-header ── */
.owfr-pcr-townhall-subheader {
  grid-column: span 12; margin-top: 1rem; padding: 0.75rem 0 0.35rem 0;
  border-bottom: 2px solid rgba(0,107,63,0.15);
}
.owfr-pcr-townhall-subheader h3 {
  margin: 0 !important; font-size: 1rem !important; font-weight: 700 !important;
  color: #006B3F !important; line-height: 1.3 !important;
}
.owfr-pcr-townhall-subheader p { margin: 0.15rem 0 0 0; font-size: 0.82rem; color: #666; }

/* ── Watch / Slides / Download button variants ── */
.owfr-pcr-btn-watch { background: #006B3F; color: #fff !important; border-color: #006B3F; }
.owfr-pcr-btn-watch:hover { background: #005a34; }
.owfr-pcr-btn-slides { background: #fff; color: #006B3F !important; border-color: #006B3F; }
.owfr-pcr-btn-slides:hover { background: #f0f8f4; }
.owfr-pcr-btn-download { background: #fff; color: #006B3F !important; border-color: #006B3F; }
.owfr-pcr-btn-download:hover { background: #f0f8f4; }

/* ── Layout variants (3 sizes: standard · half · full) ── */
.owfr-pcr-card-wide { grid-column: span 12; }
.owfr-pcr-card-half { grid-column: span 12; }

/* ── Responsive ── */
@media (min-width: 640px) {
  .owfr-pcr-card-half { grid-column: span 6; }
}
@media (min-width: 860px) {
  .owfr-pcr-card { grid-column: span 4; }
  .owfr-pcr-card-wide { grid-column: span 12; }
  .owfr-pcr-card-half { grid-column: span 6; }
}
@media (max-width: 639px) {
  .owfr-pcr-hero-inner { padding: 1.75rem 1.5rem; min-height: 200px; }
  .owfr-pcr-hero h2 { font-size: 1.5rem !important; }
  .owfr-pcr-tab { padding: 0.7rem 0.6rem; font-size: 0.72rem; }
  .owfr-pcr-tab svg { width: 18px; height: 18px; }
  .owfr-pcr-section-title { font-size: 1.15rem !important; }
  .owfr-pcr-intro-inner { flex-direction: column; gap: 0.6rem; }
}

/* ── Admin edit button ── */
.owfr-pcr-admin-edit-btn {
  position: absolute; top: 10px; right: 10px; z-index: 10;
  display: flex; align-items: center; gap: 5px;
  padding: 6px 14px; background: #006B3F; color: #fff;
  border: 2px solid #fff; border-radius: 6px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  opacity: 0; transition: opacity 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25); font-family: inherit; line-height: 1.3;
}
.owfr-pcr-card:hover .owfr-pcr-admin-edit-btn,
.owfr-pcr-admin-edit-btn:focus { opacity: 1; }
.owfr-pcr-admin-delete-btn {
  position: absolute; top: 10px; right: 80px; z-index: 10;
  display: flex; align-items: center; gap: 5px;
  padding: 6px 14px; background: #c00; color: #fff;
  border: 2px solid #fff; border-radius: 6px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  opacity: 0; transition: opacity 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25); font-family: inherit; line-height: 1.3;
}
.owfr-pcr-card:hover .owfr-pcr-admin-delete-btn,
.owfr-pcr-admin-delete-btn:focus { opacity: 1; }

/* ── Add Card Button ── */
.owfr-pcr-admin-add-card {
  grid-column: span 12; border: 2px dashed rgba(0,107,63,0.3); border-radius: 12px;
  background: rgba(0,107,63,0.03); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem;
  padding: 2rem 1rem; cursor: pointer; transition: all 0.2s ease;
  min-height: 140px; font-family: inherit;
}
.owfr-pcr-admin-add-card:hover {
  border-color: #006B3F; background: rgba(0,107,63,0.07);
  box-shadow: 0 2px 12px rgba(0,107,63,0.12);
}
.owfr-pcr-admin-add-card svg { width: 32px; height: 32px; color: #006B3F; opacity: 0.6; }
.owfr-pcr-admin-add-card:hover svg { opacity: 1; }
.owfr-pcr-admin-add-card span {
  font-size: 0.9rem; font-weight: 600; color: #006B3F; opacity: 0.7;
}
.owfr-pcr-admin-add-card:hover span { opacity: 1; }

/* ── Layout selector in modal ── */
.owfr-pcr-layout-picker { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.3rem; }
.owfr-pcr-layout-opt {
  padding: 0.4rem 0.8rem; border: 2px solid #ddd; border-radius: 6px;
  font-size: 0.82rem; font-weight: 600; cursor: pointer; background: #fff;
  font-family: inherit; transition: all 0.15s; color: #555;
}
.owfr-pcr-layout-opt:hover { border-color: #006B3F; color: #006B3F; }
.owfr-pcr-layout-opt.selected { border-color: #006B3F; background: rgba(0,107,63,0.08); color: #006B3F; }

/* ── Tab Management (admin add/delete tabs) ── */
.owfr-pcr-add-tab-li { display: flex; align-items: center; }
.owfr-pcr-admin-add-tab {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; border: 2px dashed rgba(0,107,63,0.4);
  background: transparent; color: #006B3F; cursor: pointer;
  transition: all 0.2s; margin: 0 0.5rem; flex-shrink: 0;
}
.owfr-pcr-admin-add-tab:hover { border-color: #006B3F; background: rgba(0,107,63,0.08); }
.owfr-pcr-admin-add-tab svg { width: 18px; height: 18px; }
.owfr-pcr-tab-custom { position: relative; padding-right: 22px !important; }
.owfr-pcr-tab-custom img { width: 18px; height: 18px; object-fit: contain; vertical-align: middle; margin-right: 2px; }
.owfr-pcr-admin-delete-tab {
  position: absolute; top: 4px; right: 4px; width: 18px; height: 18px;
  display: none; align-items: center; justify-content: center;
  background: #c00; color: #fff; border-radius: 50%; font-size: 13px; line-height: 1;
  cursor: pointer; z-index: 5;
}
.owfr-pcr-tab-custom:hover .owfr-pcr-admin-delete-tab { display: flex; }
.owfr-pcr-icon-grid { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.owfr-pcr-icon-opt {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border: 2px solid #ddd; border-radius: 8px; background: #fff; cursor: pointer;
  transition: all 0.15s; padding: 6px;
}
.owfr-pcr-icon-opt svg { width: 22px; height: 22px; color: #555; }
.owfr-pcr-icon-opt:hover { border-color: #006B3F; }
.owfr-pcr-icon-opt:hover svg { color: #006B3F; }
.owfr-pcr-icon-opt.selected { border-color: #006B3F; background: rgba(0,107,63,0.08); }
.owfr-pcr-icon-opt.selected svg { color: #006B3F; }

/* ── Drag-and-Drop Reorder (admin only) ── */
.owfr-pcr-drag-handle {
  position: absolute; top: 10px; left: 10px; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 6px;
  background: rgba(0,107,63,0.9); color: #fff;
  border: 2px solid #fff; cursor: grab;
  opacity: 0; transition: opacity 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.owfr-pcr-drag-handle:active { cursor: grabbing; }
.owfr-pcr-card:hover .owfr-pcr-drag-handle,
.owfr-pcr-drag-handle:focus { opacity: 1; }
.owfr-pcr-drag-handle svg { width: 18px; height: 18px; pointer-events: none; }

/* Card being dragged */
.owfr-pcr-card.owfr-pcr-dragging {
  opacity: 0.35; transform: scale(0.97);
  box-shadow: 0 0 0 2px #006B3F; border-style: dashed;
}
/* Drop placeholder */
.owfr-pcr-drop-indicator {
  grid-column: span 12; min-height: 80px; border: 2px dashed #006B3F;
  border-radius: 12px; background: rgba(0,107,63,0.06);
  transition: all 0.15s ease; pointer-events: none;
}
.owfr-pcr-card-wide.owfr-pcr-drop-indicator { grid-column: span 12; }
.owfr-pcr-card-half.owfr-pcr-drop-indicator { grid-column: span 6; }
@media (max-width: 859px) {
  .owfr-pcr-drop-indicator { grid-column: span 12 !important; }
}
/* Drag-over highlight for the grid */
.owfr-pcr-grid.owfr-pcr-drag-active {
  outline: 2px dashed rgba(0,107,63,0.3); outline-offset: 6px;
  border-radius: 12px;
}
/* "Save Order" floating button */
.owfr-pcr-save-order-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 99999;
  display: none; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: 10px; border: none;
  background: #006B3F; color: #fff; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 20px rgba(0,107,63,0.4);
  transition: all 0.2s ease;
}
.owfr-pcr-save-order-btn:hover { background: #005a34; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,107,63,0.5); }
.owfr-pcr-save-order-btn.visible { display: flex; }
.owfr-pcr-save-order-btn svg { width: 18px; height: 18px; }

/* ── Add / Remove button controls in modal ── */
.owfr-pcr-add-btn-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: none; border: 1px dashed rgba(0,107,63,0.4); border-radius: 6px;
  padding: 0.45rem 0.8rem; font-size: 0.82rem; font-weight: 600; color: #006B3F;
  cursor: pointer; font-family: inherit; transition: all 0.15s; margin-top: 0.25rem;
}
.owfr-pcr-add-btn-link:hover { border-color: #006B3F; background: rgba(0,107,63,0.06); }
.owfr-pcr-remove-btn-link {
  background: none; border: none; color: #c00; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; font-family: inherit; padding: 0.2rem 0; margin-top: 0.1rem;
  text-decoration: underline;
}
.owfr-pcr-remove-btn-link:hover { color: #900; }

.owfr-pcr-edit-bullet-row { margin-bottom: 0.4rem; }
.owfr-pcr-edit-bullet-row input {
  padding: 0.5rem 0.7rem; border: 1px solid #ccc; border-radius: 6px;
  font-size: 0.92rem; font-family: inherit; box-sizing: border-box;
}
.owfr-pcr-edit-bullet-row input:focus { border-color: #006B3F; outline: none; box-shadow: 0 0 0 2px rgba(0,107,63,0.15); }
.owfr-pcr-edit-logo-row { margin-bottom: 0.5rem; }
.owfr-pcr-edit-logo-row input {
  padding: 0.5rem 0.7rem; border: 1px solid #ccc; border-radius: 6px;
  font-size: 0.92rem; font-family: inherit; box-sizing: border-box;
}
.owfr-pcr-edit-logo-row input:focus { border-color: #006B3F; outline: none; box-shadow: 0 0 0 2px rgba(0,107,63,0.15); }
.owfr-pcr-bullets { list-style: disc; }

/* ── Edit Modal ── */
#owfr-pcr-edit-modal {
  position: fixed; inset: 0; z-index: 999999;
  display: flex; align-items: center; justify-content: center;
}
.owfr-pcr-edit-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.owfr-pcr-edit-panel {
  position: relative; background: #fff; border-radius: 12px;
  width: 92%; max-width: 620px; max-height: 88vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.owfr-pcr-edit-panel-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.5rem; border-bottom: 1px solid #e0e0e0;
  position: sticky; top: 0; background: #fff; border-radius: 12px 12px 0 0; z-index: 1;
}
.owfr-pcr-edit-panel-header h3 { margin: 0 !important; font-size: 1.05rem !important; color: #333 !important; font-weight: 700 !important; }
.owfr-pcr-edit-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; padding: 0 4px; line-height: 1; color: #666; }
.owfr-pcr-edit-form { padding: 1.25rem 1.5rem; }
.owfr-pcr-edit-field { margin-bottom: 0.9rem; }
.owfr-pcr-edit-field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.3rem; color: #333; }
.owfr-pcr-edit-field input, .owfr-pcr-edit-field textarea {
  width: 100%; padding: 0.55rem 0.7rem; border: 1px solid #ccc; border-radius: 6px;
  font-size: 0.92rem; font-family: inherit; box-sizing: border-box;
}
.owfr-pcr-edit-field input:focus, .owfr-pcr-edit-field textarea:focus {
  border-color: #006B3F; outline: none; box-shadow: 0 0 0 2px rgba(0,107,63,0.15);
}
.owfr-pcr-edit-btn-group {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 0.6rem;
  padding: 0.65rem; background: #f7f7f7; border-radius: 8px;
}
.owfr-pcr-edit-btn-group .owfr-pcr-edit-field { margin-bottom: 0; }
.owfr-pcr-edit-actions {
  display: flex; gap: 0.65rem; flex-wrap: wrap; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #e0e0e0;
}
.owfr-pcr-edit-status { width: 100%; margin-top: 0.65rem; font-size: 0.88rem; min-height: 1.2em; }
.media-modal { z-index: 9999999 !important; }
.media-modal-backdrop { z-index: 9999998 !important; }
