/* ACAPRS Research Manager 2.5.0 — academy-style cards. */
:root { --acaprs-purple: #4B2C5F; --acaprs-gold: #EFD9A4; }
.acaprs-rm25-dashboard { max-width: 1100px; margin: 0 auto; }
.acaprs-rm25-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.acaprs-rm25-stat { background: #fff; border: 1px solid #e5e0ea; border-top: 4px solid var(--acaprs-purple); border-radius: 16px; padding: 16px; text-align: center; }
.acaprs-rm25-stat strong { display: block; font-size: 28px; color: var(--acaprs-purple); }
.acaprs-rm25-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.acaprs-rm-tab-btn { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--acaprs-purple); color: var(--acaprs-purple); text-decoration: none; }
.acaprs-rm-tab-btn.active { background: var(--acaprs-purple); color: #fff; }
.acaprs-rm25-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.acaprs-rm25-card { background: #fff; border: 1px solid #e5e0ea; border-top: 4px solid var(--acaprs-purple); border-radius: 16px; padding: 18px; box-shadow: 0 2px 8px rgba(75,44,95,.08); }
.acaprs-rm25-card h3 { margin-top: 0; }
.acaprs-rm25-form label { display: block; margin-bottom: 12px; font-weight: 600; }
.acaprs-rm25-form input[type="text"], .acaprs-rm25-form input[type="email"], .acaprs-rm25-form input[type="tel"], .acaprs-rm25-form input[type="password"], .acaprs-rm25-form select, .acaprs-rm25-form textarea { display: block; width: 100%; margin-top: 6px; padding: 10px; border: 1px solid #ccc; border-radius: 8px; box-sizing: border-box; }
.acaprs-rm25-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acaprs-rm25-btn { background: var(--acaprs-purple); color: #fff; border: 0; border-radius: 999px; padding: 12px 26px; cursor: pointer; }
.acaprs-rm25-error { background: #fdecea; border: 1px solid #e57373; border-radius: 12px; padding: 12px 16px; }
.acaprs-rm25-success { background: #e8f5e9; border: 1px solid #81c784; border-radius: 12px; padding: 12px 16px; }
.acaprs-rm25-progress { height: 10px; background: #eee; border-radius: 999px; overflow: hidden; }
.acaprs-rm25-progress div { height: 100%; background: var(--acaprs-purple); }
.acaprs-rm25-stages { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.acaprs-rm25-stages li { padding: 4px 10px; border-radius: 999px; background: #f0edf3; font-size: 13px; }
.acaprs-rm25-stages li.done { background: var(--acaprs-gold); }
.acaprs-rm25-badge-red { background: #c62828; color: #fff; padding: 4px 12px; border-radius: 999px; }
.acaprs-rm25-certificate { border: 3px double var(--acaprs-purple); border-radius: 16px; padding: 32px; text-align: center; background: #fff; }
.acaprs-rm25-cert-sign { display: flex; justify-content: space-around; margin-top: 24px; }
.acaprs-rm25-hint { color: #666; font-size: 13px; }
/* RTL in Arabic, LTR in English — driven by html[dir]. */
html[dir="rtl"] .acaprs-rm25-dashboard { direction: rtl; text-align: right; }
html[dir="ltr"] .acaprs-rm25-dashboard { direction: ltr; text-align: left; }
@media (max-width: 600px) {
  .acaprs-rm25-stats { grid-template-columns: 1fr; }
  .acaprs-rm25-row { grid-template-columns: 1fr; }
  .acaprs-rm25-cards { grid-template-columns: 1fr; }
}

/* 2.5.1 — author repeater + distinguished bilingual certificate (print to PDF). */
.acaprs-rm25-authors { border: 1px solid #EFD9A4; border-radius: 16px; padding: 16px; margin: 16px 0; background: #fff; }
.acaprs-rm25-author-row { border-top: 1px solid #eee; padding-top: 12px; margin-top: 12px; }
.acaprs-rm25-author-row:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.acaprs-rm25-author-title { font-weight: 700; color: #4B2C5F; }
.acaprs-rm25-remove-author { background: transparent; border: none; color: #8a2b2b; cursor: pointer; text-decoration: underline; }
/* Certificate print view — A4 LANDSCAPE (owner's binding rule: scientific
   certificates are landscape, عرضي). On-screen preview uses the same
   landscape proportions (wide container, generous side margins) so the
   preview matches the printed page. */
.acaprs-rm25-certificate-print { max-width: 1020px; margin: 0 auto; font-family: Cairo, "Segoe UI", Tahoma, sans-serif; }
.acaprs-rm25-cert-frame { border: 3px double #4B2C5F; outline: 1px solid #EFD9A4; outline-offset: 6px; padding: 36px 64px; background: #fff; text-align: center; line-height: 1.9; box-sizing: border-box; }
.acaprs-rm25-cert-journal-en { color: #4B2C5F; font-weight: 800; letter-spacing: 2px; margin: 0; }
.acaprs-rm25-cert-journal-ar { color: #4B2C5F; font-weight: 800; font-size: 1.3em; margin: 0; }
.acaprs-rm25-cert-sub { color: #666; margin: 0 0 4px; }
.acaprs-rm25-cert-title { color: #4B2C5F; border-top: 2px solid #EFD9A4; border-bottom: 2px solid #EFD9A4; padding: 8px 0; margin: 20px 0 4px; }
.acaprs-rm25-cert-title-en { color: #4B2C5F; margin: 0 0 16px; }
.acaprs-rm25-cert-ref { font-weight: 700; }
.acaprs-rm25-cert-paper { font-size: 1.1em; margin: 16px 0; }
.acaprs-rm25-cert-coauthors-list { text-align: right; display: inline-block; }
.acaprs-rm25-cert-sign { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 28px; border-top: 1px solid #EFD9A4; padding-top: 16px; }
.acaprs-rm25-cert-sign-block, .acaprs-rm25-cert-stamp-block { flex: 1 1 0; text-align: center; }
.acaprs-rm25-cert-sign img { max-height: 90px; }
.acaprs-rm25-cert-download { font-size: 17px; font-weight: 800; padding: 14px 34px; margin-top: 22px; }
@media print {
  .acaprs-rm25-no-print, .acaprs-rm25-btn { display: none !important; }
  .acaprs-rm25-certificate-print { max-width: none; width: 100%; }
  .acaprs-rm25-cert-frame { border: 3px double #4B2C5F; padding: 10mm 18mm; page-break-inside: avoid; }
  @page { size: A4 landscape; margin: 12mm; }
}

/* 2.5.1 visual fixes (live audit of 2.5.0) — no functional change. Statistics cards untouched. */
/* (a) Tab bar: own background/separator, wider gaps, larger buttons, so six tabs stop floating on plain background. */
.acaprs-rm25-tabs { gap: 14px; background: #f0edf3; border-bottom: 3px solid #EFD9A4; border-radius: 12px 12px 0 0; padding: 12px 14px; }
.acaprs-rm-tab-btn { padding: 14px 24px; font-weight: 700; background: #fff; }
.acaprs-rm-tab-btn.active { background: #4B2C5F; color: #fff; border-color: #4B2C5F; }
/* (b) File-upload rows: label ABOVE the file control (required * stays with the label text), generous row spacing. */
.acaprs-rm25-form input[type="file"] { display: block; margin-top: 8px; }
.acaprs-rm25-uploads label { margin-bottom: 22px; }
/* (c) Profile photo row: same label-above treatment (covered by the file-input rule above). */
.acaprs-rm25-form label input[type="file"] { margin-top: 8px; }
/* (d) Support form: constrained width instead of full-page stretch; related-submission select gap normalised. */
.acaprs-rm25-form-narrow { max-width: 640px; }
.acaprs-rm25-form-narrow label { margin-bottom: 16px; }
.acaprs-rm25-form-narrow select { display: block; width: 100%; margin-top: 6px; }
/* Dated journal stamp: relative container, certificate date overlaid centred on the stamp's lower DATE zone. */
.acaprs-rm25-cert-stamp { position: relative; display: inline-block; line-height: 0; }
.acaprs-rm25-cert-stamp img { width: 150px; max-width: 150px; max-height: none; height: auto; }
.acaprs-rm25-cert-stamp-date { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); color: #4B2C5F; font-weight: 800; font-size: 13px; line-height: 1; white-space: nowrap; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

/* 2.5.4 — status chips, compact cards, rows, pagination, chat, profiles, print. */
.acaprs-rm25-chip { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.acaprs-rm25-chip.chip-type { background: #EFD9A4; color: #4B2C5F; }
.acaprs-rm25-chip.chip-open { background: #e3f2fd; color: #1565c0; }
.acaprs-rm25-chip.chip-answered { background: #e8f5e9; color: #2e7d32; }
.acaprs-rm25-chip.chip-closed { background: #f0edf3; color: #555; }
.acaprs-rm25-chip.chip-rejected { background: #c62828; color: #fff; }
.acaprs-rm25-stages li.current { background: #4B2C5F; color: #fff; font-weight: 700; }
.acaprs-rm25-stages li.upcoming { background: #f0edf3; color: #888; }
.acaprs-rm25-card-compact { font-size: 14px; padding: 14px 16px; }
.acaprs-rm25-card-compact h3 { font-size: 15px; margin-bottom: 6px; }
.acaprs-rm25-view-toggle { display: flex; gap: 8px; margin: 12px 0; }
.acaprs-rm25-view-toggle a { padding: 8px 18px; border-radius: 999px; border: 1px solid #4B2C5F; color: #4B2C5F; text-decoration: none; font-weight: 700; }
.acaprs-rm25-view-toggle a.active { background: #4B2C5F; color: #fff; }
.acaprs-rm25-row-item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 4px; border-bottom: 1px solid #e5e0ea; font-size: 14px; }
.acaprs-rm25-row-item h3 { font-size: 15px; margin: 0 0 4px; }
.acaprs-rm25-row-meta { color: #555; margin: 0; }
.acaprs-rm25-row-actions { margin: 0; white-space: nowrap; }
.acaprs-rm25-perpage { margin: 14px 0 6px; font-size: 14px; }
.acaprs-rm25-perpage select { padding: 6px 10px; border-radius: 8px; }
.acaprs-rm25-pager { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; font-size: 14px; }
.acaprs-rm25-pager a { padding: 6px 12px; border: 1px solid #4B2C5F; border-radius: 999px; color: #4B2C5F; text-decoration: none; }
.acaprs-rm25-pager strong { padding: 6px 12px; background: #4B2C5F; color: #fff; border-radius: 999px; }
.acaprs-rm25-photo-center { text-align: center; margin: 12px 0 18px; }
.acaprs-rm25-photo-center img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; border: 3px solid #EFD9A4; }
.acaprs-rm25-member-box { background: #f8f5fb; border: 1px solid #EFD9A4; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.acaprs-rm25-copy-btn { padding: 6px 16px; font-size: 13px; }
.acaprs-rm25-chat { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.acaprs-rm25-bubble { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14px; }
.acaprs-rm25-bubble p { margin: 0; }
.acaprs-rm25-bubble-meta { font-size: 12px; color: #666; margin-bottom: 4px !important; }
.acaprs-rm25-bubble.bubble-sender { background: #f0edf3; align-self: flex-start; border-bottom-right-radius: 4px; }
.acaprs-rm25-bubble.bubble-reply { background: #4B2C5F; color: #fff; align-self: flex-end; border-bottom-left-radius: 4px; }
.acaprs-rm25-bubble.bubble-reply .acaprs-rm25-bubble-meta { color: #EFD9A4; }
.acaprs-rm25-public-profile { max-width: 760px; margin: 0 auto; padding: 24px 16px; text-align: center; font-family: Cairo, "Segoe UI", Tahoma, sans-serif; }
.acaprs-rm25-public-profile h1 { color: #4B2C5F; margin-bottom: 4px; }
.acaprs-rm25-public-no { color: #888; letter-spacing: 1px; }
.acaprs-rm25-public-profile .acaprs-rm25-cards { text-align: right; }
.acaprs-rm25-cert-logo { max-height: 80px; max-width: 260px; height: auto; margin-bottom: 8px; }
/* Clean print: dashboard pages print content only; certificate pages print
   ONLY the certificate frame at A4 landscape. */
@media print {
  body.acaprs-rm25-dashboard-page header, body.acaprs-rm25-dashboard-page footer, body.acaprs-rm25-dashboard-page nav,
  body.acaprs-rm25-dashboard-page .site-header, body.acaprs-rm25-dashboard-page .site-footer, body.acaprs-rm25-dashboard-page .main-navigation,
  body.acaprs-rm25-dashboard-page .acaprs-rm25-tabs, body.acaprs-rm25-dashboard-page .acaprs-rm25-stats,
  body.acaprs-rm25-dashboard-page .acaprs-rm25-no-print, body.acaprs-rm25-dashboard-page .acaprs-rm25-view-toggle,
  body.acaprs-rm25-dashboard-page .acaprs-rm25-perpage, body.acaprs-rm25-dashboard-page .acaprs-rm25-pager { display: none !important; }
  body.acaprs-rm25-cert-page .acaprs-rm25-dashboard > *:not(.acaprs-rm25-panel-content) { display: none !important; }
  body.acaprs-rm25-cert-page .acaprs-rm25-panel-content > *:not(.acaprs-rm25-certificate-print) { display: none !important; }
  .acaprs-rm25-certificate-print { max-width: none; width: 100%; }
  .acaprs-rm25-cert-frame { page-break-inside: avoid; }
  @page { size: A4 landscape; margin: 12mm; }
}

/* 2.5.5 — publication grade, no-reload tabs, tracking cards, certificate
   landscape polish, ORCID-style public profile, support full width. */
/* Submit / profile save buttons never touch the frame above them. */
.acaprs-rm25-form .acaprs-rm25-submit-btn { margin-top: 32px; }
.acaprs-rm25-uploads { margin-bottom: 32px; }
/* No-reload tab panels: only the active panel is visible (JS toggles). */
.acaprs-rm25-tab-panel { animation: none; }
/* Tracking vertical cards (no rows view on tracking by design). */
.acaprs-rm25-track-cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
.acaprs-rm25-track-card { background: #fff; border: 1px solid #e5e0ea; border-top: 4px solid #4B2C5F; border-radius: 16px; padding: 20px 22px; box-shadow: 0 2px 8px rgba(75,44,95,.08); }
.acaprs-rm25-track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.acaprs-rm25-track-head h3 { margin: 0; color: #4B2C5F; font-size: 17px; line-height: 1.6; }
.acaprs-rm25-track-head .acaprs-rm25-chip { flex-shrink: 0; }
.acaprs-rm25-track-meta { color: #666; font-size: 13px; margin: 8px 0 12px; }
.acaprs-rm25-track-card .acaprs-rm25-panel { background: #f8f5fb; border: 1px solid #eee6f3; border-radius: 12px; padding: 12px 16px; margin-top: 14px; }
.acaprs-rm25-track-card .acaprs-rm25-panel h4 { margin: 0 0 6px; color: #4B2C5F; }
.acaprs-rm25-track-card .acaprs-rm25-form { margin-top: 16px; }
/* Certificate landscape polish: balanced header, breathing room, one baseline for sign + stamp. */
.acaprs-rm25-cert-frame { padding: 40px 72px; line-height: 2.0; }
.acaprs-rm25-cert-logo { max-height: 76px; max-width: 280px; height: auto; margin: 0 auto 10px; display: block; }
.acaprs-rm25-cert-sign { align-items: flex-end; border-top: 2px solid #EFD9A4; padding-top: 20px; margin-top: 32px; }
.acaprs-rm25-cert-paper { font-size: 1.15em; margin: 18px 0; }
/* Support: full-width form (narrow constraint removed for support only). */
.acaprs-rm25-form.acaprs-rm25-support-form { max-width: none; width: 100%; }
/* My tickets: own separated section inside the Support tab. */
.acaprs-rm25-my-tickets { margin-top: 32px; padding-top: 22px; border-top: 2px solid #EFD9A4; }
.acaprs-rm25-my-tickets-title { margin: 0 0 16px; color: #4B2C5F; }
/* Public profile (ORCID-style): full site width, small equal side margins, RTL. */
.acaprs-rm25-public-profile { max-width: 1100px; margin: 0 auto; padding: 24px 16px; text-align: right; box-sizing: border-box; }
.acaprs-rm25-pp-identity { display: flex; gap: 24px; align-items: flex-start; background: #fff; border: 1px solid #e5e0ea; border-top: 4px solid #4B2C5F; border-radius: 16px; padding: 24px; box-shadow: 0 2px 8px rgba(75,44,95,.08); }
.acaprs-rm25-pp-photo img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; border: 3px solid #EFD9A4; }
.acaprs-rm25-pp-initial { width: 140px; height: 140px; border-radius: 50%; border: 3px solid #EFD9A4; background: #4B2C5F; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 56px; font-weight: 800; flex-shrink: 0; }
.acaprs-rm25-pp-details h1 { margin: 0 0 4px; color: #4B2C5F; }
.acaprs-rm25-pp-details p { margin: 6px 0; }
.acaprs-rm25-pp-bio { background: #fff; border: 1px solid #e5e0ea; border-radius: 16px; padding: 18px 22px; margin-top: 18px; }
.acaprs-rm25-pp-bio h2, .acaprs-rm25-public-profile > h2 { color: #4B2C5F; }
@media (max-width: 600px) {
  .acaprs-rm25-pp-identity { flex-direction: column; align-items: center; text-align: center; }
  .acaprs-rm25-cert-frame { padding: 24px 20px; }
  .acaprs-rm25-track-head { flex-direction: column; }
}

/* 2.5.6 — screenshot-matched tracking, 3-per-row cards, cert page 2, profile. */
/* (A) Stats: colored numbers — total blue, pending gold, accepted green, published blue. */
.acaprs-rm25-stat:nth-child(1) strong { color: #1D6FA5; }
.acaprs-rm25-stat:nth-child(2) strong { color: #C9A24B; }
.acaprs-rm25-stat:nth-child(3) strong { color: #16A34A; }
.acaprs-rm25-stat:nth-child(4) strong { color: #1D6FA5; }
/* (A) Tracking card: 3 info boxes + green/grey stage pills + RTL timeline. */
.acaprs-rm25-track-card { background: #fff; border: 1px solid #e5e0ea; border-top: 4px solid #4B2C5F; border-radius: 16px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(75,44,95,.08); }
.acaprs-rm25-track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.acaprs-rm25-track-head h3 { margin: 0; }
.acaprs-rm25-chip.chip-pending { background: #EFD9A4; color: #4B2C5F; }
.acaprs-rm25-track-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.acaprs-rm25-track-box { background: #f7f5f9; border-radius: 10px; padding: 10px 14px; text-align: center; }
.acaprs-rm25-track-box span { display: block; font-size: 12px; color: #888; }
.acaprs-rm25-track-box strong { display: block; margin-top: 2px; }
.acaprs-rm25-stage-pills li.reached { background: #16A34A; color: #fff; font-weight: 700; }
.acaprs-rm25-stage-pills li.upcoming { background: #eee; color: #888; }
.acaprs-rm25-timeline2 { list-style: none; margin: 0; padding: 0; position: relative; }
.acaprs-rm25-timeline2::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 9px; width: 2px; background: #ddd; }
.acaprs-rm25-tl-item { position: relative; padding-inline-start: 32px; margin-bottom: 16px; }
.acaprs-rm25-tl-dot { position: absolute; inset-inline-start: 2px; top: 6px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px #ddd; }
.acaprs-rm25-tl-item.newest .acaprs-rm25-tl-dot { background: #C9A24B; }
.acaprs-rm25-tl-item.older .acaprs-rm25-tl-dot { background: #999; }
.acaprs-rm25-tl-card { background: #f7f5f9; border-radius: 12px; padding: 12px 16px; }
.acaprs-rm25-tl-head { margin: 0 0 6px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acaprs-rm25-tl-note { background: #fff; border: 1px solid #EFD9A4; border-inline-start: 4px solid #C9A24B; border-radius: 8px; padding: 8px 12px; margin: 0; }
/* (B) 3-per-row card grid (desktop 3, tablet 2, mobile 1); centered gold titles. */
.acaprs-rm25-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.acaprs-rm25-grid3.acaprs-rm25-view-rows { grid-template-columns: 1fr; }
.acaprs-rm25-card3 { text-align: center; }
.acaprs-rm25-card3 h3 { color: #C9A24B; font-size: 16px; line-height: 1.5; }
.acaprs-rm25-card3 h3 a { color: #C9A24B; text-decoration: none; }
.acaprs-rm25-card3 .acaprs-rm25-card-date, .acaprs-rm25-card3 .acaprs-rm25-card-doi { text-align: center; }
.acaprs-rm25-view-rows .acaprs-rm25-card3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; text-align: start; }
.acaprs-rm25-view-rows .acaprs-rm25-card3 h3 { flex: 1 1 280px; text-align: start; }
.acaprs-rm25-view-toggle button { padding: 8px 18px; border-radius: 999px; border: 1px solid #4B2C5F; color: #4B2C5F; background: #fff; font-weight: 700; cursor: pointer; }
.acaprs-rm25-view-toggle button.active { background: #4B2C5F; color: #fff; }
@media (max-width: 1024px) { .acaprs-rm25-grid3 { grid-template-columns: repeat(2, 1fr); } .acaprs-rm25-track-info { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .acaprs-rm25-grid3 { grid-template-columns: 1fr; } .acaprs-rm25-track-info { grid-template-columns: 1fr; } .acaprs-rm25-track-head { flex-direction: column; } }
/* (C) Certificate: stamp centered, signature beneath, page 2 on its own page. */
.acaprs-rm25-cert-stamp-center { text-align: center; margin-top: 24px; }
.acaprs-rm25-cert-stamp-center img { width: 170px; max-width: 170px; height: auto; }
.acaprs-rm25-cert-sign-below { text-align: center; margin-top: 8px; border-top: 1px solid #EFD9A4; padding-top: 12px; }
.acaprs-rm25-cert-sign-below img { max-height: 90px; }
.acaprs-rm25-cert-verify { font-size: 13px; text-align: center; }
.acaprs-rm25-cert-page2 { max-width: 1020px; margin: 32px auto 0; background: #fff; border: 3px double #4B2C5F; outline: 1px solid #EFD9A4; outline-offset: 6px; padding: 32px 48px; line-height: 1.9; box-sizing: border-box; }
.acaprs-rm25-cert-verify-page { max-width: 900px; margin: 0 auto; padding: 16px; line-height: 1.9; }
/* (D) Profile form sections + public profile width. */
.acaprs-rm25-profile-form .acaprs-rm25-form-section { border: 1px solid #e5e0ea; border-radius: 16px; padding: 18px; margin-bottom: 20px; background: #fff; }
.acaprs-rm25-profile-form .acaprs-rm25-form-section legend { font-weight: 800; color: #4B2C5F; padding: 0 8px; }
.acaprs-rm25-profile-form .acaprs-rm25-row { gap: 18px; }
.acaprs-rm25-public-profile { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.acaprs-rm25-pp-identity { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid #e5e0ea; border-top: 4px solid #4B2C5F; border-radius: 16px; padding: 20px; margin-bottom: 20px; }
@media print {
  .acaprs-rm25-cert-page2 { page-break-before: always; border: none; outline: none; padding: 0; margin: 0; max-width: none; }
}
