/* Tools → Provider library (feos:views/provider-library; docs/modules/provider-library.md 9) */
.feos-pl { max-width: 1180px; margin: 0 auto; padding: 8px 4px 40px; color: #1d2b39; }
.feos-pl-head h2 { margin: 4px 0 4px; font-size: 24px; font-weight: 700; color: #0f1e33; }
.feos-pl-head p { margin: 0 0 14px; color: #5b6b7b; max-width: 780px; }
.feos-pl-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #cfd8e2; border-radius: 10px; padding: 6px 6px 6px 14px; box-shadow: 0 1px 2px rgba(15,30,51,.05); }
.feos-pl-search:focus-within { border-color: #2090d0; box-shadow: 0 0 0 3px rgba(32,144,208,.15); }
.feos-pl-search .fas { color: #7b8794; }
.feos-pl-search input { flex: 1; border: 0; outline: 0; font-size: 16px; padding: 6px 0; background: transparent; min-width: 0; }
.feos-pl-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 6px; }
.feos-pl-filters select.form-control { width: auto; max-width: 230px; height: 32px; padding: 4px 8px; font-size: 13px; }
.feos-pl-chip { border: 1px solid #cfd8e2; background: #fff; border-radius: 16px; padding: 5px 12px; font-size: 13px; color: #2c3a47; cursor: pointer; }
.feos-pl-chip b { margin-left: 4px; color: #7b8794; font-weight: 600; }
.feos-pl-chip.on { background: #0f1e33; border-color: #0f1e33; color: #fff; }
.feos-pl-chip.on b { color: #9fd2f0; }
.feos-pl-count { font-size: 12px; color: #7b8794; margin: 8px 0 8px; }
.feos-pl-results.feos-pl-busy { opacity: .5; }
.feos-pl-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 14px; align-items: start; background: #fff; border: 1px solid #e3e8ee; border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }
.feos-pl-row:hover { border-color: #b9c8d6; }
.feos-pl-prov { font-size: 12px; font-weight: 700; letter-spacing: .3px; color: #185FA5; text-transform: uppercase; padding-top: 2px; }
.feos-pl-main h3 { margin: 0 0 3px; font-size: 15px; font-weight: 600; line-height: 1.35; color: #0f1e33; }
.feos-pl-meta { font-size: 12px; color: #6b7a89; }
.feos-pl-snip { margin-top: 6px; font-size: 13px; color: #3a4856; background: #f6f9fc; border-left: 3px solid #2090d0; padding: 5px 9px; border-radius: 0 6px 6px 0; }
.feos-pl-snip b { color: #185FA5; margin-right: 4px; }
.feos-pl-note { margin-top: 5px; font-size: 12px; color: #5b6b7b; }
.feos-pl-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 10px; background: #fdf0e4; color: #9a5a17; vertical-align: 1px; }
.feos-pl-for { display: inline-block; font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 10px; background: #eef2f6; color: #5b6b7b; vertical-align: 1px; margin-left: 4px; }
.feos-pl-for-client, .feos-pl-for-both { background: #e7f5ec; color: #23704a; }
.feos-pl-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 330px; }
.feos-pl-empty { padding: 40px 10px; text-align: center; color: #7b8794; background: #fff; border: 1px dashed #cfd8e2; border-radius: 10px; }
@media (max-width: 760px) {
    .feos-pl-row { grid-template-columns: 1fr; gap: 6px; }
    .feos-pl-acts { justify-content: flex-start; max-width: none; }
}
/* the light window: preview and Send to a client */
.feos-pl-view { position: fixed; inset: 0; z-index: 1070; background: rgba(15,30,51,.45); display: flex; align-items: center; justify-content: center; }
.feos-pl-view .box { width: min(920px, 96vw); height: min(88vh, 1100px); background: #fff; border-radius: 10px; display: flex; flex-direction: column; overflow: hidden; }
.feos-pl-view .top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #e3e8ee; font-size: 13px; }
.feos-pl-view .top b { margin-right: auto; }
.feos-pl-view .top .x { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: #5b6b7b; }
.feos-pl-view iframe { flex: 1; border: 0; width: 100%; }
.feos-pl-view .box.feos-pl-send { height: auto; max-height: 90vh; width: min(560px, 96vw); }
.feos-pl-send-body { padding: 14px 18px 16px; overflow-y: auto; }
.feos-pl-send-body label { display: block; margin: 12px 0 4px; font-weight: 600; font-size: 13px; }
.feos-pl-send-doc { display: flex; gap: 10px; align-items: flex-start; background: #f6f9fc; border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.feos-pl-send-doc .fas { font-size: 22px; color: #c0392b; margin-top: 2px; }
.feos-pl-picks { margin-top: 4px; }
.feos-pl-pick { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #eef2f6; background: #fff; padding: 7px 8px; font-size: 13px; cursor: pointer; }
.feos-pl-pick:hover { background: #f1f7fc; }
.feos-pl-pick span { color: #7b8794; margin-left: 6px; }
.feos-pl-chosen { padding: 7px 10px; border: 1px solid #b9dcc6; background: #f0f9f3; border-radius: 6px; font-size: 13px; }
.feos-pl-how { margin: 12px 0 0; font-size: 12px; color: #5b6b7b; line-height: 1.5; }
.feos-pl-msg { margin-top: 8px; font-size: 13px; color: #5b6b7b; min-height: 1em; }
.feos-pl-msg.err { color: #b42318; }
.feos-pl-send-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.feos-pl-done { text-align: center; padding: 18px 6px 6px; }
.feos-pl-done .fas { font-size: 38px; color: #23a065; }
.feos-pl-done p { margin: 10px 0 14px; }
/* the client portal: Documents → From your adviser (feos:portal-library) */
.feos-portal-lib-list { list-style: none; margin: 12px 0 0; padding: 0; }
.feos-portal-lib { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid #e3e8ee; }
.feos-portal-lib .feos-portal-muted { font-size: 13px; color: #6b7a89; }
.feos-portal-lib .feos-portal-btn { flex: none; }
@media (max-width: 600px) { .feos-portal-lib { flex-direction: column; align-items: flex-start; } }
