/* p-admin.css — admin intake review and partner network (Task 2).
   Shared components (.scorecard, .badge-band) live in platform.css; this file
   only lays out the review page around them. Tokens only, so both themes work. */

.rv-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
@media (max-width: 1080px) { .rv-grid { grid-template-columns: minmax(0, 1fr); } }

.rv-panel { padding: 22px; }

/* read-only form echo */
.rv-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 0; }
.rv-dl dt,
.rv-text dt {
  font-family: var(--f-mono); font-size: 9.8px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint);
}
.rv-dl dd { margin: 4px 0 0; font-size: 13.2px; color: var(--ivory); overflow-wrap: anywhere; }
.rv-text { margin-bottom: 0; }
.rv-match-add > .field:first-child { grid-column: 1 / -1; }
.rv-text dd { margin: 6px 0 0; font-size: 13.2px; line-height: 1.7; color: var(--dim); white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 520px) { .rv-dl { grid-template-columns: minmax(0, 1fr); } }

/* scorecard: band note beside the badge */
.rv-band { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 11.4px; text-align: right; }

/* one dimension = shared bar row + a meta row with note, system score and override */
.rv-dim { padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.rv-dim:last-child { border-bottom: 0; padding-bottom: 0; }
.rv-dim__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 5.2em;
  align-items: center; gap: 12px;
  margin-top: 8px;
  font-size: 11.6px;
}
.rv-dim__note { color: var(--dim); line-height: 1.5; }
.rv-dim__sys { font-family: var(--f-mono); font-size: 10.5px; color: var(--faint); white-space: nowrap; }
.rv-dim__ov .inp { padding: 6px 8px; font-size: 12.5px; font-family: var(--f-mono); text-align: right; }
.rv-dim__ov .inp::placeholder { color: var(--faint); opacity: 0.8; }

.rv-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.rv-released { border-color: rgba(86, 192, 140, 0.34); }

/* matches */
.rv-tbl { min-width: 0; }
.rv-tbl thead th, .rv-tbl tbody td { padding: 12px 10px; }
.rv-inp-sm { padding: 6px 10px; font-size: 12.5px; width: auto; }
.rv-match-add {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px; align-items: end;
}
@media (max-width: 720px) { .rv-match-add { grid-template-columns: minmax(0, 1fr); } }

/* partner type dot, same palette as the world-map pins */
.rv-type { display: inline-flex; align-items: center; gap: 8px; }
.rv-type::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--faint)); }
.rv-type[data-type="law-firm"]      { --c: var(--pin-law); }
.rv-type[data-type="asset-tracing"] { --c: var(--pin-trace); }
.rv-type[data-type="enforcement"]   { --c: var(--pin-enforce); }
.rv-type[data-type="funder"]        { --c: var(--pin-funder); }
