/* Scoped .fr page layout, preserve original CRM form markup and styles */
.tfo-fr-original-wrap{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:24px;align-items:start;max-width:1100px;margin:24px auto}
.tfo-fr-original-wrap .tfo-v2{margin:0;max-width:none;border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.07)}
.tfo-fr-original-wrap .tfo-v2-header{display:none!important}
.tfo-fr-original-wrap .tfo-v2-progress{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;padding:12px!important;background:#f5f5f7!important}
.tfo-fr-original-wrap .tfo-v2-progress span{display:block!important;width:auto!important;height:auto!important;border-radius:0!important;background:transparent!important;color:#646970!important;font-size:12px!important;padding:9px 3px!important;border:0!important;border-bottom:3px solid #d6d6d9!important;text-align:center!important;line-height:1.4!important}
.tfo-fr-original-wrap .tfo-v2-progress span.active{border-bottom-color:#f58220!important;color:#242424!important}
.tfo-fr-original-wrap .tfo-v2-step:not([hidden]){display:block!important}
.tfo-fr-original-wrap .tfo-v2 select,.tfo-fr-original-wrap .tfo-v2 select option{color-scheme:light!important;background:#fff!important;color:#292b2f!important}
.tfo-fr-original-wrap .tfo-v2 select{appearance:auto!important;-webkit-appearance:menulist!important}
.tfo-fr-original-wrap .tfo-fr-operator{border:1px solid #e1e4e8;padding:14px;border-radius:9px;margin:0 0 20px}
.tfo-fr-original-wrap .tfo-fr-side{padding:10px 0;font-size:13px;color:#5d6470}
.tfo-fr-original-wrap .tfo-fr-side h3{font-size:19px;color:#242933;margin:6px 0}
.tfo-fr-original-wrap .tfo-fr-side h4{font-size:13px;color:#242933;margin:8px 0}
.tfo-fr-original-wrap .tfo-fr-side .eyebrow{font-size:11px;letter-spacing:1.2px;color:#f58220;font-weight:800}
.tfo-fr-original-wrap .tfo-fr-tip{padding:14px 0;border-top:1px solid #e0e2e6;display:flex;gap:12px}
.tfo-fr-original-wrap .tfo-fr-tip b{color:#f58220;border:1px solid #f58220;padding:6px;border-radius:6px;height:max-content;font-size:11px}
.tfo-fr-original-wrap .tfo-fr-side .note{border-left:3px solid #f58220;background:#fff;padding:13px;margin-top:12px}
@media(max-width:800px){.tfo-fr-original-wrap{grid-template-columns:1fr}.tfo-fr-original-wrap .tfo-fr-side{padding:12px}.tfo-fr-original-wrap .tfo-v2-progress span{font-size:10px!important}}

/* v0.8.1 — visual parity with the .com form; scope to this plugin form only. */
.tfo-v2[data-tfo-v2] { color-scheme:light; }
.tfo-v2[data-tfo-v2] .tfo-v2-header { display:none!important; }
.tfo-v2[data-tfo-v2] input:not([type=radio]):not([type=checkbox]):not([type=file]),
.tfo-v2[data-tfo-v2] select,
.tfo-v2[data-tfo-v2] textarea {
  font-family:inherit!important;
  font-weight:400!important;
  font-style:normal!important;
  text-transform:none!important;
  color:#292b2f!important;
  background-color:#fff;
}
.tfo-v2[data-tfo-v2] select,
.tfo-v2[data-tfo-v2] select option,
.tfo-v2[data-tfo-v2] select optgroup {
  color-scheme:light!important;
  background-color:#fff!important;
  color:#292b2f!important;
  font-weight:400!important;
}
.tfo-v2[data-tfo-v2] select { appearance:auto!important; -webkit-appearance:menulist!important; }
.tfo-v2[data-tfo-v2] select option:checked { background-color:#e9edf2!important; color:#292b2f!important; }

/* v0.8.3 — restore semi-bold navigation buttons to match .com. */
.tfo-v2[data-tfo-v2] .tfo-v2-actions button {
  font-family:inherit!important;
  font-weight:600!important;
  font-style:normal!important;
  text-transform:none!important;
}

.tfo-v2-file-info{margin:10px 0;padding:10px 12px;background:#f5f6f7;border:1px solid #d8dde2;border-radius:8px;color:#30343a;font-size:13px;font-weight:400}.tfo-v2-file-info p{margin:4px 0;overflow-wrap:anywhere}.tfo-v2-file-info[hidden]{display:none!important}

/* v0.8.12 — cumulative photo selection and individual removal */
.tfo-v2-selected-files{margin:8px 0 12px}.tfo-v2-selected-file{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;margin:5px 0;background:#f5f6f7;border:1px solid #d8dde2;border-radius:7px;font-size:13px;overflow-wrap:anywhere}.tfo-v2-selected-file span{min-width:0}.tfo-v2-selected-file .tfo-v2-remove-file{flex:none;border:1px solid #b9c0c7;background:#fff;color:#333;border-radius:5px;padding:5px 9px;font-size:12px;font-weight:500;cursor:pointer}.tfo-v2-selected-file .tfo-v2-remove-file:hover{border-color:#c64b3d;color:#a42b20}.tfo-v2-file-count{font-size:12px;color:#5b626b;margin:8px 0}
