/* Financial promotion — the decision card on top of the record (feos:views/promotion/detail; Peter, 21 Oct 2026). */
.feos-fp-card:empty { display: none; }
.feos-fp-card { background: #fff; border: 1px solid #e1e7ee; border-radius: 16px; margin: 0 0 18px; padding: 18px 22px 0;
    font-size: 15px; color: #0f1b26; box-shadow: 0 1px 2px rgba(15, 27, 38, .05); }
.feos-fp-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
    color: #3d4a57; font-size: 13px; margin-bottom: 12px; }
.feos-fp-queue { display: flex; align-items: center; gap: 10px; }

.feos-fp-verdict { display: flex; gap: 14px; align-items: flex-start; border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; }
.feos-fp-verdict > .fas { font-size: 28px; margin-top: 2px; }
.feos-fp-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; opacity: .8; }
.feos-fp-say { font-size: 21px; font-weight: 700; line-height: 1.25; }
.feos-fp-why { margin-top: 4px; font-size: 14px; }
.feos-fp-verdict.feos-fp-good { background: #e6f4ec; color: #1f7a4d; }
.feos-fp-verdict.feos-fp-fix { background: #fff4d6; color: #7a5a00; }
.feos-fp-verdict.feos-fp-ask { background: #fdf0e4; color: #a14a08; }
.feos-fp-verdict.feos-fp-bad { background: #fde6e4; color: #a3271b; }
.feos-fp-verdict.feos-fp-none { background: #eef1f4; color: #3d4a57; }

.feos-fp-grid { display: grid; grid-template-columns: minmax(260px, 2fr) 3fr; gap: 26px; }
@media (max-width: 991px) { .feos-fp-grid { grid-template-columns: 1fr; } }
.feos-fp-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #3d4a57; margin: 0 0 10px; font-weight: 700; }
.feos-fp-col h4 + * { margin-top: 0; }
.feos-fp-issues { padding-left: 22px; margin: 0 0 16px; }
.feos-fp-issues li { margin-bottom: 12px; line-height: 1.45; }
.feos-fp-cat { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; background: #eef1f4;
    color: #3d4a57; border-radius: 999px; padding: 1px 8px; margin-right: 6px; vertical-align: 1px; }
.feos-fp-fix { color: #1f7a4d; margin-top: 3px; }
.feos-fp-fix .fas { font-size: 11px; }
.feos-fp-rule { color: #6b7785; font-size: 12px; margin-top: 2px; }
.feos-fp-none { color: #1f7a4d; font-weight: 600; }
.feos-fp-figures { list-style: none; padding: 0; margin: 0 0 16px; }
.feos-fp-figures li { margin-bottom: 8px; line-height: 1.4; }
.feos-fp-pill { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 8px; }
.feos-fp-pill.feos-fp-good { background: #e6f4ec; color: #1f7a4d; }
.feos-fp-pill.feos-fp-ask { background: #fdf0e4; color: #a14a08; }
.feos-fp-pill.feos-fp-bad { background: #fde6e4; color: #a3271b; }
.feos-fp-src { color: #6b7785; }
.feos-fp-notes { color: #3d4a57; font-style: italic; }

.feos-fp-text { white-space: pre-wrap; line-height: 1.6; background: #f7f9fb; border: 1px solid #e1e7ee; border-radius: 10px;
    padding: 12px 14px; max-height: 420px; overflow: auto; }
.feos-fp-del { background: #fde6e4; color: #a3271b; text-decoration: line-through; }
.feos-fp-ins { background: #e6f4ec; color: #1f7a4d; font-weight: 600; }
.feos-fp-tabs { display: flex; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.feos-fp-tabs button { border: 1px solid #e1e7ee; background: #fff; border-radius: 999px; padding: 3px 12px; font-size: 13px; }
.feos-fp-tabs button.active { background: #0a72ba; border-color: #0a72ba; color: #fff; }
.feos-fp-edit { font-size: 14px; line-height: 1.55; }
.feos-fp-more { margin-top: 10px; }
.feos-fp-more summary { cursor: pointer; color: #0a72ba; font-weight: 600; }
.feos-fp-more .feos-fp-text { margin-top: 8px; }
.feos-fp-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.feos-fp-files img { height: 120px; border-radius: 8px; border: 1px solid #e1e7ee; }
.feos-fp-file { padding: 6px 10px; border: 1px solid #e1e7ee; border-radius: 8px; }

/* the buttons stay in view while the page is scrolled */
.feos-fp-bar { position: sticky; bottom: 0; background: #fff; border-top: 1px solid #e1e7ee; margin: 18px -22px 0;
    padding: 12px 22px; border-radius: 0 0 16px 16px; z-index: 5; }
.feos-fp-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.feos-fp-btn { font-weight: 600; }
.feos-fp-btn-bad:not(.btn-primary) { color: #a3271b; }
.feos-fp-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 2px #0a72ba; }
.feos-fp-note { margin-bottom: 10px; }
.feos-fp-note label { font-weight: 600; margin-bottom: 6px; }
.feos-fp-note textarea { margin-bottom: 8px; }
.feos-fp-busy { opacity: .5; pointer-events: none; }
.feos-fp-del { margin-right: 3px; }
.feos-fp-nocheck { color: #a14a08; background: #fdf0e4; border-radius: 8px; padding: 10px 12px; }
