/* ── Reviewer dashboard (v2.2.0) ─────────────────────────────────────── */
.ihec-rd { max-width: 920px; margin: 0 auto; font-size: 15px; color: #1d2129; }
.ihec-rd * { box-sizing: border-box; }

.ihec-rd-head { display:flex; flex-wrap:wrap; gap:14px; align-items:flex-end;
  justify-content:space-between; padding-bottom:16px; margin-bottom:20px;
  border-bottom:2px solid #0b1524; }
.ihec-rd-h { margin:0; font-size:24px; line-height:1.2; color:#0b1524;
  font-family:'Libre Baskerville',Georgia,serif; }
.ihec-rd-sub { margin:4px 0 0; color:#5c6470; font-size:14px; }
.ihec-rd-logout { font-size:13px; color:#5c6470; text-decoration:underline; }
.ihec-rd-logout:hover { color:#b01e2a; }

.ihec-rd-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:10px; margin-bottom:14px; }
.ihec-rd-stat { background:#fff; border:1px solid #e3e7ef; border-radius:8px;
  padding:14px; text-align:center; }
.ihec-rd-stat.is-overdue { border-color:#e3c9c9; background:#fdf6f6; }
.ihec-rd-n { display:block; font-size:26px; font-weight:700; color:#0b1524;
  font-family:'Libre Baskerville',Georgia,serif; }
.ihec-rd-stat.is-overdue .ihec-rd-n { color:#b01e2a; }
.ihec-rd-l { display:block; margin-top:4px; font-size:11px; letter-spacing:.05em;
  text-transform:uppercase; color:#5c6470; }

.ihec-rd-progress { height:6px; background:#e9ecf2; border-radius:99px; overflow:hidden; }
.ihec-rd-progress span { display:block; height:100%; background:#c9a227; transition:width .3s; }
.ihec-rd-progress-l { margin:6px 0 16px; font-size:12px; color:#5c6470; }

.ihec-rd-blind { background:#f4f6fb; border-left:3px solid #0b1524;
  padding:12px 14px; font-size:13.5px; line-height:1.6; margin-bottom:22px; }
.ihec-rd-note { background:#f4f6fb; padding:14px 16px; border-radius:8px; }
.ihec-rd-notice { padding:11px 14px; border-radius:6px; margin-bottom:16px; font-size:14px; }
.ihec-rd-notice--ok { background:#e6f4ea; border-left:3px solid #14663a; color:#14663a; }
.ihec-rd-notice--err { background:#fdeaea; border-left:3px solid #b01e2a; color:#7a1a1a; }

.ihec-rd-card { background:#fff; border:1px solid #e3e7ef; border-left:3px solid #c9a227;
  border-radius:0 8px 8px 0; padding:18px 20px; margin-bottom:14px; }
.ihec-rd-card.is-done { border-left-color:#14663a; }
.ihec-rd-card.is-overdue { border-left-color:#b01e2a; }
.ihec-rd-card-h { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:8px; }
.ihec-rd-ref { font-family:ui-monospace,'Space Mono',monospace; font-size:12px; color:#5c6470; }
.ihec-rd-badge { font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  background:#fdf3d8; color:#7a5a05; padding:3px 9px; border-radius:99px; }
.ihec-rd-badge.is-done { background:#e6f4ea; color:#14663a; }
.ihec-rd-due { font-size:12px; color:#5c6470; margin-left:auto; }
.ihec-rd-due.is-overdue { color:#b01e2a; font-weight:700; }
.ihec-rd-title { margin:0 0 4px; font-size:17px; line-height:1.4; color:#0b1524;
  overflow-wrap:break-word; }
.ihec-rd-meta { margin:0; font-size:12.5px; letter-spacing:.02em; color:#5c6470;
  text-transform:uppercase; }

.ihec-rd-band { font-size:11px; font-weight:700; text-transform:uppercase;
  padding:3px 9px; border-radius:99px; }
.ihec-rd-band--top { background:#0b1524; color:#c9a227; }
.ihec-rd-band--accept { background:#e6f4ea; color:#14663a; }
.ihec-rd-band--revise { background:#fdf3d8; color:#7a5a05; }
.ihec-rd-band--reject { background:#fdeaea; color:#b01e2a; }

.ihec-rd-body { margin-top:16px; padding-top:16px; border-top:1px solid #e9ecf2; }
.ihec-rd-sec { margin:14px 0 4px; font-size:11px; font-weight:700; letter-spacing:.07em;
  text-transform:uppercase; color:#0b1524; }
.ihec-rd-sec:first-child { margin-top:0; }
.ihec-rd-sec-p { margin:0 0 8px; font-size:14.5px; line-height:1.7; }
.ihec-rd-kw { margin-top:12px; padding-top:10px; border-top:1px dashed #e9ecf2;
  font-size:13px; color:#5c6470; }
.ihec-rd-kw span { font-weight:700; text-transform:uppercase; font-size:11px; margin-right:6px; }

.ihec-rd-rubric { margin-top:18px; padding-top:18px; border-top:2px solid #e3e7ef; }
.ihec-rd-rubric-h { margin:0 0 4px; font-size:13px; font-weight:700; letter-spacing:.05em;
  text-transform:uppercase; color:#0b1524; }
.ihec-rd-hint { margin:4px 0 14px; font-size:12.5px; line-height:1.6; color:#5c6470; }

.ihec-rd-crit { padding:14px 0; border-bottom:1px dashed #e9ecf2; }
.ihec-rd-crit-h { display:flex; flex-wrap:wrap; gap:8px; align-items:baseline;
  justify-content:space-between; }
.ihec-rd-crit-label { font-weight:700; font-size:14.5px; }
.ihec-rd-crit-w { font-size:11px; letter-spacing:.05em; text-transform:uppercase;
  color:#c9a227; font-weight:700; }
.ihec-rd-crit-sub { margin:2px 0 0; font-size:12.5px; color:#5c6470; }
.ihec-rd-crit-opt { margin:6px 0 0; font-size:12.5px; color:#7a5a05;
  background:#fdf9ec; padding:7px 10px; border-radius:5px; }

.ihec-rd-scale { display:grid; grid-template-columns:repeat(5,1fr); gap:6px; margin-top:10px; }
.ihec-rd-opt { display:flex; flex-direction:column; gap:4px; cursor:pointer;
  border:1px solid #d5d9e0; border-radius:7px; padding:9px 8px; background:#fff;
  transition:.12s ease; }
.ihec-rd-opt:hover { border-color:#c9a227; }
.ihec-rd-opt.is-on { border-color:#0b1524; background:#f4f6fb; box-shadow:0 0 0 2px rgba(11,21,36,.08); }
.ihec-rd-opt input { position:absolute; opacity:0; width:0; height:0; }
.ihec-rd-opt-n { font-weight:700; font-size:15px; color:#0b1524; }
.ihec-rd-opt-d { font-size:11.5px; line-height:1.45; color:#5c6470; }
.ihec-rd-na { display:inline-flex; align-items:center; gap:7px; margin-top:9px; font-size:13px; }

.ihec-rd-total { display:flex; flex-wrap:wrap; gap:20px; justify-content:space-between;
  background:#0b1524; color:#fff; border-radius:8px; padding:16px 18px; margin:18px 0 6px; }
.ihec-rd-total-l { display:block; font-size:11px; letter-spacing:.06em;
  text-transform:uppercase; color:#9aa6b8; margin-bottom:4px; }
.ihec-rd-total-n { font-size:26px; font-weight:700; font-family:'Libre Baskerville',Georgia,serif; }
.ihec-rd-total-band { display:inline-block; font-size:13px; font-weight:700;
  padding:4px 12px; border-radius:99px; background:#16263c; color:#fff; }

.ihec-rd-l { display:block; margin:16px 0 5px; font-size:11px; font-weight:700;
  letter-spacing:.05em; text-transform:uppercase; color:#5c6470; }
.ihec-rd select, .ihec-rd textarea, .ihec-rd input[type=text] {
  width:100%; padding:9px 11px; border:1px solid #d5d9e0; border-radius:6px;
  font-size:14px; font-family:inherit; color:#1d2129; background:#fff; }
.ihec-rd select:focus, .ihec-rd textarea:focus, .ihec-rd input[type=text]:focus {
  outline:none; border-color:#c9a227; box-shadow:0 0 0 3px rgba(201,162,39,.18); }

.ihec-rd-actions { margin:16px 0 0; }
.ihec-rd-btn { display:inline-block; padding:10px 20px; border:0; border-radius:6px;
  background:#0b1524; color:#fff; font-size:14px; font-weight:600; cursor:pointer;
  text-decoration:none; }
.ihec-rd-btn:hover { background:#16263c; color:#c9a227; }
.ihec-rd-btn--quiet { background:#fff; color:#b01e2a; border:1px solid #e3c9c9;
  margin-top:10px; font-size:13px; padding:8px 16px; }
.ihec-rd-link { font-size:13px; color:#5c6470; text-decoration:underline; }
.ihec-rd-coi { margin-top:20px; padding-top:16px; border-top:1px dashed #e3e7ef; }

@media (max-width:640px) {
  .ihec-rd-scale { grid-template-columns:1fr; }
  .ihec-rd-opt { flex-direction:row; align-items:center; gap:10px; }
  .ihec-rd-opt-d { flex:1; }
}

/* Administrator-only diagnostic when review access is missing */
.ihec-rd-diag { margin-top:14px; padding:13px 15px; border-left:3px solid #b01e2a;
  background:#fdeaea; border-radius:0 6px 6px 0; font-size:13.5px; line-height:1.65; color:#7a1a1a; }
.ihec-rd-diag code { background:rgba(0,0,0,.06); padding:1px 5px; border-radius:3px; }
.ihec-rd-diag a { color:#7a1a1a; }

/* Author's stated presentation preference, at the point of decision */
.ihec-rd-pref { display:flex; flex-wrap:wrap; align-items:baseline; gap:10px;
  background:#f4f6fb; border-left:3px solid #c9a227; border-radius:0 6px 6px 0;
  padding:12px 14px; margin:18px 0 4px; }
.ihec-rd-pref-l { font-size:11px; font-weight:700; letter-spacing:.05em;
  text-transform:uppercase; color:#5c6470; }
.ihec-rd-pref-v { font-size:16px; font-weight:700; color:#0b1524; }
.ihec-rd-pref-n { flex:1 1 100%; font-size:12.5px; line-height:1.55; color:#5c6470; }
