/* Uber Direct: setup page, the board sheet, the order page panel. */
.fpu-hero { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.fpu-hero-art { width: 220px; flex: 0 0 auto; }
.fpu-title { font-size: 22px; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 6px; font-weight: 700; }
.fpu-lede { font-size: 15px; line-height: 1.5; margin: 0 0 12px; color: #303030; max-width: 520px; }
.fpu-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.fpu-chips span { font-size: 12.5px; padding: 6px 10px; border-radius: 20px; background: #f1f6f2; color: #1f3d2b; }

.fpu-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 24px; align-items: center; padding: 18px 0; border-top: 1px solid var(--fp-line); }
.fpu-step:first-of-type { border-top: 0; padding-top: 4px; }
.fpu-step-text { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.fpu-step h3 { margin: 4px 0 6px; font-size: 15px; font-weight: 650; }
.fpu-step p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.5; color: #303030; }
.fpu-num { width: 30px; height: 30px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.fpu-step.is-done .fpu-num { background: var(--fp-green); }
.fpu-shot { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .08)); }
.fpu-form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.fpu-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.fpu-form .fpu-row { justify-content: flex-start; }
.fpu-gap { margin-top: 12px; justify-content: flex-start; }
.fpu-error { color: #b42318; }
.fpu-copy { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; padding: 8px 10px; background: var(--fp-soft); border-radius: 10px; }
.fpu-copy code { font-size: 12px; overflow-wrap: anywhere; flex: 1; }

.fpu-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.fpu-stat { padding: 14px 16px; border-radius: 14px; background: var(--fp-soft); display: flex; flex-direction: column; gap: 4px; }
.fpu-stat span { font-size: 12px; color: var(--fp-muted); }
.fpu-stat strong { font-size: 26px; letter-spacing: -.02em; }
.fpu-stat strong.fpu-keys { font-family: ui-monospace, monospace; font-size: 18px; }
.fpu-stat strong.fpu-small { font-size: 16px; }
.fpu-stat em { font-style: normal; font-size: 12px; color: var(--fp-muted); line-height: 1.4; }

.fpu-celebrate { position: relative; overflow: hidden; text-align: center; padding: 28px 20px 24px; margin-bottom: 16px; border-radius: 18px; background: linear-gradient(160deg, #eef7f0, #fdf1f3); }
.fpu-celebrate h2 { margin: 6px 0; font-size: 22px; }
.fpu-celebrate p { margin: 0 0 14px; color: #303030; }
.fpu-celebrate-mark { font-size: 40px; animation: fpu-pop .6s cubic-bezier(.2, 1.6, .4, 1); }
.fpu-confetti i { position: absolute; top: -12px; width: 7px; height: 12px; border-radius: 2px; animation: fpu-fall 2.4s ease-in forwards; }
@keyframes fpu-fall { to { top: 110%; opacity: 0; } }
@keyframes fpu-pop { from { transform: scale(.3); } to { transform: scale(1); } }

/* The sheet on the board */
.fpu-shade { position: fixed; inset: 0; background: rgba(15, 20, 17, 0); display: flex; justify-content: flex-end; z-index: 1000; transition: background .2s ease; }
.fpu-shade.is-open { background: rgba(15, 20, 17, .32); }
.fpu-sheet { width: min(420px, 100vw); height: 100%; background: #fff; box-shadow: -12px 0 40px rgba(0, 0, 0, .12); display: flex; flex-direction: column; transform: translateX(30px); opacity: 0; transition: transform .25s ease, opacity .25s ease; font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif; }
.fpu-shade.is-open .fpu-sheet { transform: none; opacity: 1; }
.fpu-sheet header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 12px; border-bottom: 1px solid var(--fp-line); }
.fpu-sheet header h2 { margin: 2px 0 0; font-size: 20px; letter-spacing: -.01em; }
.fpu-uber { display: inline-block; background: #000; color: #fff; font-weight: 700; font-size: 11px; padding: 2px 8px; border-radius: 6px; }
.fpu-close { border: 0; background: #f2f2f2; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; }
.fpu-body { padding: 16px 20px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.fpu-inline { display: flex; flex-direction: column; gap: 14px; }
.fpu-practice { align-self: flex-start; font-size: 12px; font-weight: 600; color: #8a5a00; background: #fff4d6; padding: 3px 10px; border-radius: 20px; }

.fpu-quote { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 16px; background: #111; color: #fff; }
.fpu-price { font-size: 34px; font-weight: 700; letter-spacing: -.03em; }
.fpu-quote-lines { display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.fpu-quote .fp-muted { color: #bbb; }
.fpu-to { font-size: 13px; padding: 10px 12px; border-radius: 12px; background: var(--fp-soft); }
.fpu-to span { color: var(--fp-muted); margin-right: 6px; }
.fpu-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fpu-eta { font-size: 14px; }
.fpu-loading { display: flex; gap: 10px; align-items: center; color: var(--fp-muted); padding: 18px 0; }
.fpu-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #ddd; border-top-color: #111; animation: fpu-spin .8s linear infinite; }
@keyframes fpu-spin { to { transform: rotate(360deg); } }

.fpu-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.fpu-steps li { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; position: relative; }
.fpu-steps li span { height: 5px; border-radius: 3px; background: #e6e6e6; margin-bottom: 6px; }
.fpu-steps li.is-done span { background: var(--fp-green); }
.fpu-steps li.is-now span { background: linear-gradient(90deg, var(--fp-green) 50%, #e6e6e6 50%); background-size: 200% 100%; animation: fpu-progress 1.6s ease-in-out infinite alternate; }
.fpu-steps li strong { font-weight: 600; color: #303030; }
.fpu-steps li:not(.is-done):not(.is-now) strong { color: var(--fp-muted); font-weight: 500; }
.fpu-steps li em { font-style: normal; color: var(--fp-muted); min-height: 1em; }
@keyframes fpu-progress { from { background-position: 100% 0; } to { background-position: 0 0; } }

.fpu-courier { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--fp-line); }
.fpu-courier > div:nth-child(2) { flex: 1; }
.fpu-courier img, .fpu-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.fpu-avatar { background: #111; color: #fff; display: grid; place-items: center; font-weight: 700; }
.fpu-rating { font-size: 12px; color: #6b5200; }
.fpu-call { text-decoration: none; background: #f1f6f2; color: var(--fp-green); font-weight: 600; padding: 7px 14px; border-radius: 20px; font-size: 13px; }

.fpu-done { display: flex; gap: 12px; align-items: center; }
.fpu-done-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--fp-green); color: #fff; display: grid; place-items: center; font-size: 20px; }
.fpu-proof { margin: 0; }
.fpu-proof img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; display: block; background: var(--fp-soft); }
.fpu-proof figcaption { font-size: 12px; color: var(--fp-muted); margin-top: 6px; }
.fpu-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; }
.fpu-empty h3 { margin: 0; font-size: 16px; }
.fpu-empty .fpu-hero-art { width: 180px; }

@media (max-width: 720px) {
  .fpu-hero { flex-direction: column-reverse; align-items: flex-start; }
  .fpu-hero-art { width: 160px; }
  .fpu-step { grid-template-columns: 1fr; }
}
