/* Records from documents (records-from-documents.md): the review window, the reasons and the documents strip. */
.feos-rec-wide .modal-dialog { width: min(1100px, 96vw); }
.feos-rec-card { border: 1px solid var(--feos-line, #e1e7ee); border-radius: 6px; padding: 10px 12px; margin: 10px 0; }
.feos-rec-card-head { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.feos-rec-include { font-weight: 600; margin: 0; }
.feos-rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 12px; }
.feos-rec-cell .control-label { font-size: 12px; margin-bottom: 2px; }
.feos-rec-cell { margin-bottom: 4px; }
.feos-rec-src { cursor: help; }
.feos-rec-checks { margin-top: 8px; }
.feos-rec-check { margin: 6px 0; }
.feos-rec-check textarea { margin-top: 4px; }
.feos-rec-stop { color: var(--danger, #b03a2e); }
/* an adviser's error (an application sent as not advised): read and ticked */
.feos-rec-error { border-left: 3px solid var(--danger, #b03a2e); padding: 6px 8px; background: rgba(176, 58, 46, .06);
    font-weight: 600; }
.feos-rec-ack { display: block; font-weight: 600; margin: 6px 0 2px; }
.feos-rec-error textarea { font-weight: normal; }
.feos-rec-changes { margin-top: 8px; font-size: 13px; }
.feos-rec-strip { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-weight: 600; }
.feos-rec-doc-ok { color: var(--success, #2e7d32); }
.feos-rec-doc-missing { color: var(--danger, #b03a2e); }
.feos-rec-sep { color: var(--feos-muted, #5b6875); }
/* the ready sentences above each reason (Peter, 15 Oct 2026) */
.feos-why-pick { margin-bottom: 6px; color: #3b4855; }

/* the cover plan: the fact find against the proposal (22 Oct 2026) */
.feos-plan { margin-top: 14px; padding: 12px 14px; border: 1px solid #c9d8e6; border-radius: 6px; background: #f7fafd; }
.feos-plan h4 { margin: 0 0 8px; font-size: 15px; }
.feos-plan h5 { margin: 10px 0 4px; font-weight: 600; }
.feos-plan-table { margin-bottom: 6px; background: #fff; }
.feos-plan-table th { font-weight: 600; font-size: 12px; color: #555; background: #eef3f8; }
.feos-plan-table td, .feos-plan-table th { vertical-align: top !important; }
.feos-plan-table tr.feos-plan-new td:first-child { font-weight: 600; }
.feos-plan-table tr.feos-plan-total td { border-top: 2px solid #c9d8e6; }
.feos-plan-need { display: block; font-weight: normal; margin: 0; font-size: 12px; }
.feos-plan-need input { margin-right: 4px; }
.feos-plan-why { margin: 6px 0 10px; }
.feos-plan-premiums { margin: 8px 0 2px; }
.feos-many-head { margin: 16px 0 6px; font-size: 14px; color: #0a5f9c; }
.feos-many-head:first-of-type { margin-top: 4px; }

/* the health answers check (medical.md 13; 23 Oct 2026): the signed health questions against the application */
.feos-hc-box { margin-top: 14px; padding: 12px 14px; border: 1px solid #d8c9e6; border-radius: 6px; background: #fbf9fd; }
.feos-hc-box h4 { margin: 0 0 6px; font-size: 15px; }
.feos-hc-check + .feos-hc-check { margin-top: 14px; padding-top: 10px; border-top: 1px dashed #d8c9e6; }
.feos-hc-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.feos-hc-row { border-left: 4px solid #9aa5b1; background: #fff; border-radius: 4px; padding: 8px 10px; margin: 8px 0; }
.feos-hc-red, .feos-hc-nohealth { border-left-color: #c0392b; }
.feos-hc-orange { border-left-color: #e08e0b; }
.feos-hc-purple { border-left-color: #7b4bb7; }
.feos-hc-green { border-left-color: #2e7d32; }
.feos-hc-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #9aa5b1; }
.feos-hc-red .feos-hc-dot, .feos-hc-nohealth .feos-hc-dot { background: #c0392b; }
.feos-hc-orange .feos-hc-dot { background: #e08e0b; }
.feos-hc-purple .feos-hc-dot { background: #7b4bb7; }
.feos-hc-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0; font-size: 13px; }
.feos-hc-why { color: #3b4855; margin-bottom: 6px; }
.feos-hc-opt { display: block; font-weight: normal; margin: 2px 0; }
.feos-hc-opt input { margin-right: 6px; }
.feos-hc-note { margin-top: 4px; }
.feos-hc-answer { margin-top: 4px; font-size: 13px; }
details.feos-hc-green { margin-top: 8px; border: 0; background: none; padding: 0; }
details.feos-hc-green summary { cursor: pointer; color: #2e7d32; font-weight: 600; }
.feos-hc-foot { margin-top: 6px; }
@media (max-width: 700px) { .feos-hc-cmp { grid-template-columns: 1fr; } }

/* the advice process's Compliance record (23 Oct 2026) */
.feos-cr-sum { padding: 8px 10px; border-radius: 6px; background: #fdf3e6; border: 1px solid #f0d3a8; margin-bottom: 8px; }
.feos-cr-sum.ok { background: #eef7ec; border-color: #bfdcba; color: #1f5e22; }
.feos-cr-h { margin: 14px 0 6px; font-weight: 600; }
.feos-cr-app, .feos-cr-item { padding: 6px 0; border-bottom: 1px solid #edf1f5; }
.feos-cr-check { margin: 4px 0 0 18px; }
.feos-cr-check .btn { margin-left: 6px; }
.feos-cr-c { margin: 4px 0 0 4px; }
.feos-cr-reason { margin-left: 18px; color: #3b4855; }
.feos-cr-req td { vertical-align: top; }
