/* List-only presentation. The opportunity detail workspace shares phd.html. */
#phd-list-mode { width: min(1180px, 100%); margin: 0 auto; padding: 40px 32px 48px; box-sizing: border-box; }
#phd-list-mode .phd-workspace-panel { width: 100%; max-width: none; }
#phd-list-mode .phd-list-head { align-items: center; gap: 32px; margin: 0 0 40px; padding: 0; }
.direction-library-back { display: inline-block; margin-bottom: 28px; color: #62718a; font-size: 13px; text-decoration: none; }
.direction-library-back:hover { text-decoration: underline; }
.direction-library-kicker { margin: 0 0 12px; color: #6b7a90; font-size: 11px; letter-spacing: .16em; font-weight: 600; }
#phd-list-mode .phd-workspace-title { margin: 0 0 14px; color: #173865; font-size: clamp(28px,3vw,36px); font-weight: 650; line-height: 1.2; }
#phd-list-mode .phd-workspace-desc { color: #687a94; font-size: 15px; line-height: 1.8; }
#phd-list-mode .phd-list-head-actions { gap: 12px; }
#phd-list-mode .phd-list-head-actions .btn { padding: 12px 18px; border-radius: 10px; font-size: 14px; }
#phd-list-mode .btn-save { background: #0039c9; color: #fff; border: 1px solid #0039c9; }
#phd-list-mode .btn-draft { background: transparent; color: #173865; border: 1px solid #cdd5e2; text-decoration: none; }
.direction-library-section { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #d9dddF; padding: 22px 0; }
#phd-list-mode .phd-section-label { margin: 0; font-size: 15px; color: #173865; font-weight: 600; }
#direction-library-count { color: #718097; font-size: 13px; }
#phd-list-mode .phd-doc-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
#phd-list-mode .phd-doc-card { display: flex; flex-direction: column; min-width: 0; min-height: 244px; padding: 22px 24px; border: 1px solid #d7deea; border-radius: 14px; background: #fffdf8; box-shadow: none; transition: border-color .15s ease, background .15s ease; }
#phd-list-mode .phd-doc-card:hover { border-color: #9eb4dd; background: #fffefa; transform: none; box-shadow: none; }
#phd-list-mode .phd-doc-card-top { min-height: 28px; margin-bottom: 8px; }
#phd-list-mode .card-btns { position: static; display: flex; justify-content: flex-end; gap: 6px; opacity: 1; }
#phd-list-mode .card-btns button { width: 30px; height: 30px; color: #6a7890; opacity: 1; border-radius: 6px; }
#phd-list-mode .card-btns button:hover { background: #eaf0fc; color: #0039c9; }
#phd-list-mode .card-btns .btn-delete:hover { color: #a23535; background: #faeded; }
#phd-list-mode .phd-doc-card-body { padding: 0; flex: 1; }
#phd-list-mode .phd-doc-card-title { margin: 0 0 12px; color: #173865; font-size: 19px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
#phd-list-mode .phd-doc-card-meta,#phd-list-mode .phd-doc-card-school { margin: 6px 0; color: #6a7890; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
#phd-list-mode .phd-doc-card-footer { margin-top: 22px; padding-top: 16px; border-top: 1px solid #e8e9ec; }
#phd-list-mode .phd-doc-card-footer-row { gap: 12px; }
#phd-list-mode .phd-doc-card-meta-row { color: #79869b; font-size: 12px; }
#phd-list-mode .phd-doc-card-open { color: #0039c9; font-size: 13px; white-space: nowrap; }
#phd-list-mode .phd-doc-card-runs { gap: 6px; margin-top: 12px; flex-wrap: wrap; }
#phd-list-mode .phd-run-pill { max-width: 100%; border-color: #d9e1f3; background: #f0f4fc; color: #34588c; font-size: 11px; }
#phd-list-mode .phd-run-pill-text { white-space: normal; overflow-wrap: anywhere; }
#phd-list-mode .phd-empty-state { grid-column: 1/-1; padding: 64px 24px; text-align: center; }
#phd-list-mode a:focus-visible,#phd-list-mode button:focus-visible,#phd-list-mode article:focus-visible { outline: 2px solid #0039c9; outline-offset: 4px; }
@media(max-width:740px) {
  #phd-list-mode { padding: 26px 20px 36px; }
  #phd-list-mode .phd-list-head { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 28px; }
  #phd-list-mode .phd-doc-grid { grid-template-columns: minmax(0,1fr); }
  #phd-list-mode .phd-doc-card { min-height: 0; padding: 18px; }
  #phd-list-mode .phd-list-head-actions { flex-wrap: wrap; }
}
@media(prefers-reduced-motion:reduce) { #phd-list-mode .phd-doc-card { transition: none; } }
