/* 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; }

/* Marketing approval 0.5 (Peter, 22 Nov 2026): the post as it will look, the version before, the time to decide */
.feos-fp-pad { padding: 18px; color: #5b6875; }
.feos-fp-meta { line-height: 1.6; }
.feos-fp-ver { display: inline-block; background: #eef2f6; color: #3d4a57; border-radius: 999px; padding: 0 8px; font-weight: 700; font-size: 12px; }
.feos-fp-due { margin-top: 2px; color: #8a4a06; }
.feos-fp-late { color: #a3261b; }
.feos-fp-queue { flex-wrap: wrap; }
.feos-fp-before { background: #f7f9fb; border: 1px solid #e1e7ee; border-radius: 10px; padding: 10px 14px; margin: -6px 0 16px; font-size: 14px; }
.feos-fp-grid3 { display: grid; grid-template-columns: minmax(250px, 300px) minmax(240px, 1fr) minmax(300px, 1.4fr); gap: 24px; }
@media (max-width: 1280px) { .feos-fp-grid3 { grid-template-columns: minmax(240px, 280px) 1fr; } .feos-fp-col-text { grid-column: 1 / -1; } }
@media (max-width: 760px) { .feos-fp-grid3 { grid-template-columns: 1fr; } }
.feos-fp-phone { border: 1px solid #e1e7ee; border-radius: 14px; overflow: hidden; background: #fff; max-width: 300px; }
.feos-fp-phone-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 12px; line-height: 1.3; }
.feos-fp-phone-head div div { color: #5b6875; }
.feos-fp-avatar { width: 30px; height: 30px; border-radius: 50%; background: #0a72ba; color: #fff; font-size: 11px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; flex: none; }
.feos-fp-phone img { display: block; width: 100%; max-height: 300px; object-fit: cover; background: #f3f6f9; }
.feos-fp-caption { padding: 8px 12px 12px; font-size: 13px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.feos-fp-more-cut { color: #5b6875; }
.feos-fp-stmt { margin-top: 8px; font-size: 11px; color: #3d4a57; background: #f3f6f9; border-radius: 6px; padding: 6px 8px; white-space: pre-wrap; }
.feos-fp-stmt-hidden { opacity: .45; text-decoration: line-through; }
.feos-fp-checks { list-style: none; padding: 0; margin: 10px 0 0; font-size: 13px; }
.feos-fp-checks li { margin-bottom: 6px; line-height: 1.4; }
.feos-fp-checks .feos-fp-good { color: #166534; } .feos-fp-checks .feos-fp-bad { color: #a3261b; font-weight: 600; }
.feos-fp-checks .feos-fp-ask { color: #8a4a06; } .feos-fp-checks .feos-fp-none { color: #3d4a57; }
.feos-fp-checks .fa-circle { font-size: 6px; vertical-align: 2px; }
.feos-fp-links { margin: 0 0 12px; padding-left: 18px; }
.feos-fp-key { display: inline-block; margin-left: 6px; padding: 0 5px; border-radius: 4px; background: rgba(0,0,0,.08); font-size: 11px; font-weight: 700; }
.btn-primary .feos-fp-key { background: rgba(255,255,255,.25); }
.feos-fp-months { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 0 auto; font-weight: 600; font-size: 13px; }
.feos-fp-months select { width: auto; height: 32px; }

/* PAL-CR-20261124-01: the requester or drafter's message in place of the decision buttons */
.feos-fp-own { margin-top: 14px; border: 2px solid #c98a00; background: #fff8e6; border-radius: 10px; padding: 14px 16px; }
.feos-fp-own-h { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.feos-fp-own p { margin: 0 0 6px; }
/* PAL-CR-20261124-03: what was recorded at the decision */
.feos-fp-record { margin: 12px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 13px; }
.feos-fp-record dt { color: #5b6875; font-weight: 600; }
.feos-fp-record dd { margin: 0; }
.feos-fp-record small { color: #5b6875; font-size: 11px; }
