.tfsa-widget {padding:16px; margin:16px 0; border:1px solid #cdd9e3; border-radius:8px; background:#f8fbff; color:#16324b}
.tfsa-widget p{margin:9px 0}.tfsa-widget .tfsa-muted{font-size:13px; color:#53697b}.tfsa-widget .tfsa-status{padding:9px 12px;border-radius:5px;background:#e8f1f9}
.tfsa-widget .tfsa-ok{background:#def4e6;color:#19542d}.tfsa-widget .tfsa-warn{background:#fff2d0;color:#704b00}.tfsa-widget .tfsa-error{background:#ffe2e2;color:#892b2b}
.tfsa-widget #tfsa-premium{margin-top:12px;border-top:1px solid #cdd9e3;padding-top:12px}

.tfsa-widget .tfsa-files {list-style:none; margin:10px 0; padding:0}
.tfsa-widget .tfsa-file {display:flex; gap:8px; flex-wrap:wrap; align-items:center; border:1px solid #d6e0e8; border-radius:5px; padding:9px; margin:6px 0; background:#fff}
.tfsa-widget .tfsa-file-name {font-size:13px; font-weight:600; overflow-wrap:anywhere; flex:1 1 180px; min-width:0}
.tfsa-widget .tfsa-file-result {font-size:12px; flex:1 1 140px; padding:4px 7px; border-radius:4px}
.tfsa-widget .tfsa-file-result {background:#edf3f8; color:#274056}
.tfsa-widget .tfsa-file.tfsa-ok .tfsa-file-result {background:#def4e6; color:#19542d}
.tfsa-widget .tfsa-file.tfsa-error .tfsa-file-result {background:#ffe2e2; color:#892b2b}
.tfsa-widget .tfsa-file.tfsa-warn .tfsa-file-result {background:#fff2d0; color:#704b00}
.tfsa-widget .tfsa-file-recheck {font-size:12px; flex:0 0 auto; padding:3px 9px}

/* One short customer-facing reason per file, never a full PDF technical report. */
.tfsa-widget .tfsa-file-details {flex:1 0 100%;width:100%;border-top:1px solid #e1e8ec;padding-top:9px;font-size:13px;line-height:1.45}
.tfsa-widget .tfsa-customer-title {display:block;font-size:14px;margin-bottom:4px}
.tfsa-widget .tfsa-customer-message {margin:4px 0;font-weight:500}
.tfsa-widget .tfsa-customer-action {margin:6px 0 2px;color:#374c60}

.tfsa-widget .tfsa-choice {display:block;padding:8px 6px;margin:6px 0;border:1px solid #d6e0e8;border-radius:5px;background:#fff;cursor:pointer;font-weight:500}
.tfsa-widget .tfsa-choice input {margin-right:8px}
.tfsa-widget .tfsa-pending {outline:2px solid #c79a34}

/* Product 170: customer preparation rules, without changing other products. */
.tfsa-pvc-conditions {margin:12px 0;padding:12px;border:1px solid #d6e0e8;background:#fff;border-radius:6px;font-size:13px;line-height:1.5}
.tfsa-pvc-conditions ul {margin:8px 0 12px 20px;padding:0;list-style:disc}
.tfsa-pvc-conditions li {margin-bottom:4px}
.tfsa-pvc-dpi {width:100%;border-collapse:collapse;margin:8px 0 12px}
.tfsa-pvc-dpi caption {text-align:left;font-weight:600;margin-bottom:5px}
.tfsa-pvc-dpi th,.tfsa-pvc-dpi td {border-bottom:1px solid #e4eaf0;text-align:left;padding:5px 8px}
.tfsa-quality-label {display:block;margin-top:8px;padding:8px;border:1px solid #d6e0e8;border-radius:4px}
