/* Supplier document corrections: visible on both the list and detail card. */
body.b2b-dashboard-page .b2b-reservation-card.has-document-correction{--card-status:#b42332;--card-tint:#fff1f2}
body.b2b-dashboard-page .has-document-correction .fm-card-status,
body.b2b-dashboard-page .fm-current-status.has-document-correction{border-color:#e4b6bd!important;background:#fff5f5!important;color:#b42332!important}
body.b2b-dashboard-page .fm-current-status.has-document-correction:before{background:#b42332!important;animation:none!important}
body.b2b-dashboard-page .fm-current-status.has-document-correction>h4,
body.b2b-dashboard-page .has-document-correction .fm-card-status b,
body.b2b-dashboard-page .has-document-correction .fm-card-status>i,
.supplier-correction-heading{color:#b42332!important}
.supplier-correction-heading{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.4}
.supplier-correction-heading svg{flex:none}
[data-correction-panel]>p{color:#4d3440!important;font-size:13px;line-height:1.5}
body .supplier-correction-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;max-width:100%;padding:11px 16px!important;border:1px solid #93b9b1!important;border-radius:13px!important;background:linear-gradient(115deg,#d3e7e4,#e7f2ec)!important;color:#164f53!important;font:750 14px/1.35 Inter,Arial,sans-serif!important;white-space:normal!important;opacity:1!important;visibility:visible!important;cursor:pointer;box-shadow:inset 0 1px 0 #fff,0 4px 10px #234c4810;touch-action:manipulation}
body .supplier-correction-action:focus-visible{outline:3px solid #164f53;outline-offset:3px}
body .supplier-correction-action:disabled{cursor:default;opacity:.65!important}
@media(max-width:600px){[data-correction-panel]>.supplier-correction-action{width:100%}}

/* Keep the correction list and replacement form independently scrollable. */
.supplier-correction-dialog{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
.supplier-correction-dialog>.fm-stage-form{max-height:calc(100vh - 26px);max-height:calc(100dvh - 26px);overflow:hidden;min-height:0}
.supplier-correction-dialog>.fm-stage-form>.fm-stage-head,
.supplier-correction-dialog>.fm-stage-form>.fm-stage-footer{flex:0 0 auto}
.supplier-correction-dialog>.fm-stage-form>.fm-stage-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding-bottom:20px}
@media(max-width:600px){.supplier-correction-dialog{max-height:calc(100vh - 12px);max-height:calc(100dvh - 12px)}.supplier-correction-dialog>.fm-stage-form{max-height:calc(100vh - 14px);max-height:calc(100dvh - 14px)}}

.fsj-docs b.is-attention,.fsj-docs .is-attention{color:#b42332!important}.fsj-docs b.is-attention{display:inline-flex;gap:4px}.sd-table .tag.red{background:#fff1f2!important;color:#b42332!important;border:1px solid #e4b6bd}

.fm-booking-audit{margin-top:16px;padding:18px;border:1px solid #b9d5da;border-radius:16px;background:linear-gradient(135deg,#edf7f7,#fff);color:#143c50;overflow-wrap:anywhere}.fm-booking-audit p{font-size:14px;line-height:1.6}.fm-booking-audit dl{display:grid;grid-template-columns:minmax(95px,1fr) 2fr;gap:8px;font-size:13px}.fm-booking-audit dd{margin:0;font-weight:600}.fm-booking-audit[data-state=checking]{display:flex;gap:14px;align-items:center}.fm-booking-orbit{display:grid;place-items:center;width:46px;height:46px;flex:none;border:2px solid #bedbdd;border-top-color:#247487;border-radius:50%;font-size:22px;animation:fmBookingTurn 2s linear infinite}.fm-booking-audit[data-state=correction_required],.fm-booking-audit[data-state=error]{border-color:#ddb1b8;color:#a12534;background:#fff5f5}@keyframes fmBookingTurn{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.fm-booking-orbit{animation:none}}

.supply-product-submitted{color:#16734f;font-weight:700;display:flex;align-items:center;gap:8px}.supply-product-submitted span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e3f4ec}
