.tfp { min-width: 0; position: relative; }
.tfp [hidden] { display: none !important; }
.tfp-label { display: block; color: #20374c; font-size: .88rem; font-weight: 750; margin-bottom: 6px; }
.tfp-label small { margin-inline-start: 3px; color: #5a7185; font-size: .72rem; font-weight: 600; }
.tfp .tfp-zone { display: flex; align-items: center; gap: 11px; min-width: 0; position: relative; padding: 12px; min-height: 66px; border: 1px dashed #9fcbdc; border-radius: 14px; background: #f5fbfd; color: #103c55; cursor: pointer; }
.tfp .tfp-zone:focus-within { outline: 2px solid #087f9a; outline-offset: 2px; }
.tfp .tfp-zone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; padding: 0; margin: 0; }
.tfp-icon, .tfp-preview { flex: 0 0 39px; width: 39px; height: 39px; border-radius: 10px; }
.tfp-icon { display: grid; place-items: center; color: #06718a; background: #ddf2f9; }
.tfp-preview { object-fit: cover; background: #e4f3f8; }
.tfp-copy { min-width: 0; display: grid; gap: 2px; }
.tfp-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; }
.tfp-copy small { color: #527086; font-size: .72rem; }
.tfp .tfp-clear { display: block; border: 0; padding: 7px 0 0; background: transparent; color: #06627d; font-size: .75rem; font-weight: 700; cursor: pointer; }
.tfp-error { margin: 5px 0 0; color: #b42318; font-size: .75rem; }
.tfp .tfp-zone:has(input[aria-invalid=true]) { border-color: #c94e45; }
html.dark .tfp .tfp-zone { color: #d9edf7; background: #132f42; border-color: #36637c; }
html.dark .tfp-copy small, html.dark .tfp-label small { color: #a8c2d2; }
html.dark .tfp-label, html.dark .tfp .tfp-clear { color: #9de6f5; }
