/*
============================================================
FILE: assets/css/public-risk-library.css
LINKS TO: pages/public-risk/assessment.php
PURPOSE: Library side-panel styling for the public-risk wizard.
NOTES:   Added 2026-10-14 (Phase 3.4). Standalone — not in the aggregator.
         Carries its own [hidden] rule.
============================================================*/
[hidden] { display: none !important; }

.ra-library-panel {
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid #c7d5e5;
  border-radius: 6px;
  background: #f7fbff;
  font-size: 13px;
}
.ra-library-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: #33475b;
}
.ra-library-tier {
  font-size: 11px;
  background: #e5edf7;
  color: #4a6b8a;
  padding: 2px 8px;
  border-radius: 10px;
}
.ra-library-search {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid #c7d5e5;
  border-radius: 4px;
  margin-bottom: 8px;
  font-size: 13px;
  box-sizing: border-box;
}
.ra-library-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
}
.ra-library-item {
  padding: 6px 10px;
  cursor: pointer;
  border-bottom: 1px solid #e5edf7;
  line-height: 1.4;
}
.ra-library-item:hover { background: #eaf2ff; }
.ra-library-item:last-child { border-bottom: 0; }
.ra-library-type {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  background: #e5edf7;
  color: #4a6b8a;
  padding: 1px 6px;
  border-radius: 3px;
  margin-right: 6px;
}
.ra-library-upsell {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #c7d5e5;
  font-size: 12px;
  color: #5a6875;
}
.ra-library-upsell a { color: #0050d0; font-weight: 600; }
/* PHASE_3_4B_SUGGESTED */
.ra-suggested {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid #b8e0c2;
  border-radius: 6px;
  background: #f2fbf5;
  font-size: 13px;
}
.ra-suggested-head {
  font-weight: 600;
  color: #1a5a2e;
  margin-bottom: 8px;
}
.ra-suggested-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 240px;
  overflow-y: auto;
}
.ra-suggested-item {
  padding: 6px 10px;
  cursor: pointer;
  border-bottom: 1px solid #d6ebdc;
  line-height: 1.4;
}
.ra-suggested-item:hover { background: #e5f6eb; }
.ra-suggested-item:last-child { border-bottom: 0; }
.ra-suggested-type {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  background: #c7e5d0;
  color: #1a5a2e;
  padding: 1px 6px;
  border-radius: 3px;
  margin-right: 6px;
}