/* crew/css/v3-ship.css — crew app v3 stream S1: the guided (sectioned) request
   form of crew/js/screens/request-new.js — section progress, sub-headings,
   dimension / amount + currency inputs, the file field, review problems.
   Tokens from crew/css/app.css only (light and dark themes both work). */

/* numbered section progress inside step 2 */
.rf-prog { display: flex; flex-direction: column; gap: 6px; }
.rf-steps { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px 0; }
.rf-steps::-webkit-scrollbar { display: none; }
.rf-step { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 6px; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.rf-step .rf-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); font-size: 13px; font-weight: 700; }
.rf-step.done { border-color: var(--ok); color: var(--text); }
.rf-step.done .rf-n { background: var(--ok); color: var(--surface); }
.rf-count { margin: 0; }

/* section headings carry their number */
.rf-guided .form-section { scroll-margin-top: 72px; }
.rf-guided .form-section > h3 { display: flex; align-items: center; gap: 8px; }
.form-section > h3 .rf-n { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--gold-soft); color: var(--gold-text); font-size: 12px; letter-spacing: 0; }
.rf-grp { font-size: 15px; font-weight: 600; color: var(--text); margin: 4px 0 -4px; }

/* an option that needs a connection (attach the invoice now) */
.opt.rf-off { opacity: .55; cursor: not-allowed; }
.rf-offline { display: inline-flex; align-items: center; gap: 6px; color: var(--warn); }

/* L × W × H */
.rf-dims { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.rf-dims .input { width: 0; flex: 1 1 0; min-width: 0; min-height: 48px; text-align: center; }
.rf-dims .rf-x { color: var(--text-3); font-weight: 600; }
.rf-dims .unit { font-size: 14px; color: var(--text-3); font-weight: 500; padding-left: 4px; }

/* amount + currency chip */
.rf-amount { padding-right: 2px; }
.rf-cur { flex: none; min-height: 44px; padding: 0 10px; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-weight: 600; font-size: 14px; }
.rf-cur:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* the file field */
.rf-file { max-width: 100%; }
.rf-file .ellipsis { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf-file button { width: 44px; height: 44px; }
.rf-file-add[disabled] { opacity: .55; cursor: not-allowed; }

/* review: one block per section, problems inline with a Fix button */
.rf-rsec { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.rf-rsec .kicker { margin-bottom: 6px; }
.rf-miss { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--danger); font-weight: 500; }
.rf-miss-t { display: inline-flex; align-items: center; gap: 6px; }
.rf-miss .btn { min-height: 44px; }
.rf-review-errs { margin-top: 12px; }
dt .req { color: var(--danger); }

@media (prefers-reduced-motion: reduce) {
  .rf-step, .rf-cur { transition: none; }
}
