/* Form UX: progress bar, summary, inline errors (fallbacks; app.css may refine). */
.fux-bar { position: sticky; top: 0; z-index: 1020; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(0,0,0,.08); padding: .5rem 0 0; margin-bottom: 1rem; }
.fux-bar[hidden], .fux-summary[hidden] { display: none; }
.fux-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-bottom: .4rem; }
.fux-text { font-size: .875rem; font-weight: 600; white-space: nowrap; }
.fux-chips { display: none; flex-wrap: nowrap; gap: .35rem; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.fux-chips::-webkit-scrollbar { display: none; }
.fux-chip { flex: 0 0 auto; font: inherit; font-size: .75rem; line-height: 1.2; padding: .2rem .6rem; border: 1px solid #d5d5d5; border-radius: 999px; background: #fff; color: #555; cursor: pointer; }
.fux-chip:hover { border-color: #cb641f; color: #cb641f; }
.fux-chip.is-done { border-color: #cb641f; color: #cb641f; }
.fux-chip.is-done::before { content: "\2713\00a0"; }
.fux-chip:focus-visible, .fux-summary-link:focus-visible { outline: 2px solid #cb641f; outline-offset: 2px; }
.fux-line { height: 3px; background: #ececec; }
.fux-line-fill { display: block; height: 100%; width: 0; background: #cb641f; transition: width .3s ease; }
.fux-summary { padding: .4rem 0; font-size: .875rem; color: #dc3545; }
.fux-summary-link { color: #cb641f; text-decoration: underline; margin-left: .5rem; }
.form-section { scroll-margin-top: 6rem; }
.field-error { color: #dc3545; font-size: .875rem; margin-top: .25rem; }
.field.has-error .form-control, .has-error > .form-control { border-color: #dc3545; }
@media (min-width: 992px) { .fux-chips { display: flex; } }
@media (prefers-reduced-motion: reduce) { .fux-line-fill { transition: none; } }
