.registry-export { width: min(1080px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); box-sizing: border-box; overflow: auto; border: 1px solid #79858b; border-radius: 8px; padding: 24px; color: #202b2b; background: #fff; }
.registry-export::backdrop { background: rgb(0 0 0 / 45%); }
.registry-export h2 { font-size: 22px; margin: 0 0 16px; }
.registry-export-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.registry-export-header h2 { margin: 4px 0 8px; }
.registry-export-header .btn { flex: none; }
.registry-export p { max-width: 90ch; line-height: 1.5; }
.registry-export-warning { font-weight: 600; }
.registry-export-privacy { font-size: 13px; color: #52635f; }
.registry-export-method { margin: 12px 0; font-size: 13px; }
.registry-export-method summary { cursor: pointer; padding: 8px 0; }
.registry-export-control { display: block; margin: 12px 0; font-weight: 600; }
.registry-export-control select { font-weight: 400; }
.registry-export select { display: block; width: 100%; margin: 12px 0; }
.registry-export fieldset { display: flex; flex-wrap: wrap; gap: 16px; border: 1px solid #aab4b4; }
.registry-export fieldset[hidden] { display: none; }
.registry-export fieldset label { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.registry-export-results { margin: 16px 0; }
.registry-export-visual { padding: 16px; margin-bottom: 20px; border: 1px solid #c8d9d5; border-radius: 10px; background: #f6faf8; }
.registry-export-visual h3 { margin: 0 0 4px; }
.registry-export-visual h4 { margin: 18px 0 10px; }
.registry-export-caption { margin: 6px 0 14px; color: #405a55; font-size: 13px; }
.registry-export-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.registry-export-overall { margin-top: 18px; }
.registry-export-overall h4 { margin: 0 0 8px; }
.registry-export-modality-labels { margin: 6px 0; font-size: 12px; color: #405a55; }
.registry-export-card { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid #d3e1dd; border-radius: 8px; background: #fff; }
.registry-export-card strong { font-size: 28px; line-height: 1.1; color: #165e50; }
.registry-export-card small, .registry-export-unit small { color: #52635f; }
.registry-export-units { display: grid; gap: 12px; }
.registry-export-unit-title { margin-bottom: 5px; font-weight: 600; }
.registry-export-unit-title { overflow-wrap: anywhere; }
.registry-export-unit-metrics { margin-bottom: 7px; font-size: 13px; color: #304b45; }
.registry-export-unit small { display: block; margin-top: 4px; line-height: 1.4; }
.registry-export-unit-review { color: #69512b; }
.registry-export-bar { display: flex; height: 14px; overflow: hidden; border-radius: 7px; background: #dce8e4; }
.registry-export-bar-overall { height: 18px; }
.registry-export-bar svg, .registry-export-profile-track svg { display: block; width: 100%; height: 100%; }
.registry-export-HD { fill: #126c80; } .registry-export-PD { fill: #38a087; }
.registry-export-transplant { fill: #8069a5; } .registry-export-other { fill: #ba8542; }
.registry-export-unknown { fill: #87918e; }
.registry-export-profile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.registry-export-profile h4 { grid-column: 1 / -1; margin: 0; }
.registry-export-profile-headline { grid-column: 1 / -1; margin: 0; font-size: 13px; }
.registry-export-profile h5 { margin: 0 0 8px; font-size: 14px; }
.registry-export-profile-line { display: grid; grid-template-columns: minmax(85px, 1fr) minmax(40px, 1fr) 24px; align-items: center; gap: 8px; margin: 5px 0; font-size: 12px; }
.registry-export-profile-line > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.registry-export-profile-track { height: 9px; overflow: hidden; border-radius: 6px; background: #dce8e4; }
.registry-export-profile-fill { fill: #357c70; }
.registry-export-profile-line strong { text-align: right; }
.registry-export-quality { margin-top: 18px; padding: 12px; border-left: 4px solid #b78843; background: #fffaf0; font-size: 13px; }
.registry-export-quality p { margin: 5px 0 0; }
.registry-export table { border-collapse: collapse; width: 100%; font-size: 14px; }
.registry-export-table-details { margin: 10px 0; }
.registry-export-table-details summary { cursor: pointer; padding: 12px; border-radius: 6px; background: #e8f2ef; font-weight: 600; }
.registry-export-table-details table { margin-top: 8px; }
.registry-export-table-scroll { max-width: 100%; overflow-x: auto; }
.registry-export-table-scroll table { min-width: 900px; }
.registry-export th, .registry-export td { padding: 10px; border-bottom: 1px solid #d4dddd; text-align: left; }
.registry-export th { background: #e8f2ef; }
.registry-export .btn { min-height: 44px; white-space: normal; }
.registry-export-nav { min-height: 60px; width: 100%; font-weight: 700; white-space: normal; border-left: 4px solid #25725f; }
.shell .sidebar .study-registry-export { display: block; width: 100%; margin: 6px 0 0; min-height: 44px; text-align: left; color: #154c47; background: #e1f1ef; border: 1px solid #59837f; }
@media (max-width: 600px) { .registry-export { padding: 16px; } .registry-export h2 { font-size: 20px; } .registry-export-cards, .registry-export-profile { grid-template-columns: 1fr; } }
@media print {
  @page { size: A4 portrait; margin: 14mm; }
  body.registry-export-print > #app { display: none !important; }
  body.registry-export-print .registry-export::backdrop { background: transparent !important; }
  body.registry-export-print .registry-export { position: static !important; display: block !important; width: auto !important; max-height: none !important; overflow: visible !important; margin: 0; padding: 0; border: 0; box-shadow: none; font-size: 10pt; }
  body.registry-export-print .registry-export h2 { font-size: 17pt; }
  body.registry-export-print .registry-export-visual h4 { margin: 10px 0 6px; }
  body.registry-export-print .registry-export-card { padding: 8px; }
  body.registry-export-print .registry-export-card strong { font-size: 22px; }
  body.registry-export-print .registry-export-profile { gap: 8px; margin-top: 12px; break-inside: avoid; }
  body.registry-export-print .registry-export-profile-line { margin: 2px 0; }
  body.registry-export-print .registry-export-quality { margin-top: 10px; padding: 8px; break-inside: avoid; }
  body.registry-export-print .registry-export-header .btn,
  body.registry-export-print .registry-export-control,
  body.registry-export-print .registry-export fieldset,
  body.registry-export-print .registry-export details,
  body.registry-export-print .registry-export > .btn,
  body.registry-export-print .registry-export > h3 { display: none !important; }
  body.registry-export-print .registry-export-results { overflow: visible; margin: 0; }
  body.registry-export-print .registry-export-results > :not(.registry-export-visual) { display: none !important; }
  body.registry-export-print .registry-export-visual { border: 0; padding: 0; background: #fff; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  body.registry-export-print .registry-export-card,
  body.registry-export-print .registry-export-unit,
  body.registry-export-print .registry-export-profile-group { break-inside: avoid; }
}
.research-export-controls textarea,.research-export-controls .select,.institutional-governance .select,.institutional-governance .input { width:100%; max-width:42rem; display:block; }
.registry-export [hidden],.top-actions [hidden] { display:none!important; }
.institutional-governance { display:grid; gap:1rem; min-width:0; }
.governance-tools,.institutional-governance .top-actions { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; }
.governance-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap:.75rem; }
.governance-metric { display:grid; align-content:start; gap:.5rem; }
.governance-metric h4,.governance-log p { margin:0; }
.governance-metric strong { font-size:1.55rem; }
.governance-metric small,.governance-log span { color:#52635f; }
.institutional-governance fieldset { border:1px solid var(--line); border-radius:6px; padding:.5rem .8rem; }
.governance-log { display:grid; gap:.75rem; list-style:none; padding:0; }
.governance-log li { overflow-wrap:anywhere; border-bottom:1px solid var(--line); padding:.35rem 0 .6rem; }
.governance-log li span { display:block; }
.institutional-governance summary { cursor:pointer; font-weight:600; }
.institutional-governance form { display:grid; gap:.8rem; margin:.75rem 0; justify-items:start; }
.governance-section > summary { padding:.6rem 0; font-size:1.1rem; }
