/* Advisory Board workspace: dashboard, My Board Profile and the Board Members directory.
   Profile cards and the page preview reuse the content feature's classes (content.css). */

/* dashboard: circle-dials summary */
.board-arcs { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 12px; }
.board-arcs .kpi { box-shadow: none; border: 1px solid var(--g1); }
.board-arcs .kpi .label { min-height: 2.6em; }
.board-arcs .bar { margin-top: 8px; }
.kpi.board-slowest { border-color: var(--warn); background: #fffaf0; }
.board-note { font-size: 13.5px; margin: 0 0 8px; }

/* dashboard: board documents */
.tech-points { margin: 0; padding-left: 22px; }
.tech-points li { margin-bottom: 8px; }
.tech-points li:last-child { margin-bottom: 0; }
.board-list { list-style: none; margin: 0; padding: 0; }
.board-list li { padding: 8px 0; border-top: 1px solid var(--g1); }
.board-list li:first-child { border-top: 0; padding-top: 0; }
.board-list a { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.board-list small { display: block; margin-left: 26px; font-size: 12.5px; }

/* My Board Profile */
.board-quote { margin: 8px 0; padding: 8px 12px; background: #fff; border-left: 3px solid var(--bad); border-radius: 4px; color: var(--navy); }
.board-quote p { margin: 0 0 .4em; }
.board-preview-name { font-size: 28px; line-height: 1.2; margin: 0; color: var(--navy); }

/* Board Members directory */
.board-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.board-facts { margin: 0; font-size: 13.5px; }
.board-facts dd { overflow-wrap: anywhere; }
.board-card-foot { margin-top: auto; flex-wrap: wrap; }
.board-on { margin-top: 6px; }   /* the board, or boards, a member is on (Board Members) */

@media (max-width: 1100px) {
  .board-arcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .board-arcs, .board-directory { grid-template-columns: minmax(0, 1fr); }
  .board-preview-name { font-size: 24px; }
}

/* The evaluation page of a Technical Board member (DR-748): the attested answers and, beside them, the member's
   evaluation of the section; under them on a small screen. */
.eval-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.eval-judgment { position: sticky; top: 12px; }
.eval-mark, .eval-asked { margin-top: 6px; padding: 8px 10px; border: 1px solid var(--g1); border-radius: 8px; font-size: 14px; }
@media (max-width: 900px) {
  .eval-grid { grid-template-columns: minmax(0, 1fr); }
  .eval-judgment { position: static; }
}
