/* DropInvoice front page: "Print in the order you pack" (custom print order) and the numbered
   pick list, both Pro. Dark navy and gold like the rest of the page; animated, calm when
   "reduce motion" is set. */
.fp-order { position: relative; overflow: hidden; color: #eef2f8; padding: clamp(56px, 8vw, 112px) 0;
  background: radial-gradient(60% 80% at 88% 0%, rgba(224, 168, 58, .20), transparent 60%), radial-gradient(70% 90% at 0% 100%, rgba(70, 80, 255, .32), transparent 62%), linear-gradient(165deg, #1a2160 0%, #0d1430 58%, #090d26 100%); }
.fp-order .wrap { display: grid; gap: clamp(22px, 3vw, 34px); }
.fp-order-pill { justify-self: start; font: 800 12px var(--mono, ui-monospace, monospace); letter-spacing: .12em; color: #1b1404; background: linear-gradient(135deg, #e0a83a, #f3d27a); border-radius: 99px; padding: 6px 12px; }
.fp-order .title { color: #fff; max-width: 22ch; margin: 0; }
.fp-order .title em { font-style: normal; background: linear-gradient(100deg, #fff3cf, #f3d27a 40%, #e0a83a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fp-order .sub { color: #b9c3d6; margin: 0; max-width: 62ch; }
.fp-order-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 28px); align-items: stretch; }
@media (max-width: 920px) { .fp-order-grid { grid-template-columns: minmax(0, 1fr); } }
.fp-panel { position: relative; min-width: 0; border-radius: 22px; padding: clamp(18px, 2.4vw, 26px); background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .8); display: grid; gap: 14px; align-content: start; }
.fp-panel h3 { margin: 0; font-size: 1.15rem; color: #fff; }
.fp-panel .k { font: 800 11px var(--mono, ui-monospace, monospace); letter-spacing: .12em; color: #f3d27a; }

/* sort explorer */
.fpo-modes { display: flex; gap: 6px; flex-wrap: wrap; }
.fpo-modes button { font-family: inherit; font-weight: 800; font-size: 13px; padding: 8px 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .24); color: #dfe2ff; background: rgba(255, 255, 255, .04); cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.fpo-modes button:hover { transform: translateY(-1px); border-color: rgba(243, 210, 122, .6); }
.fpo-modes button[aria-pressed="true"] { background: linear-gradient(135deg, #e0a83a, #f3d27a); color: #1b1404; border-color: transparent; box-shadow: 0 10px 22px -12px rgba(224, 168, 58, .9); }
.fpo-modes button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.fpo-say { margin: 0; font-size: 14.5px; color: #c9cdf2; min-height: 1.6em; }
.fpo-say b { color: #fff3cf; }
.fpo-track { position: relative; height: 190px; }
.fpo-it { position: absolute; left: 0; top: 0; width: 96px; height: 150px; border-radius: 10px; background: #fff; color: #111; padding: 7px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .9); transition: transform .95s cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.fpo-it .ic { height: 30%; border-radius: 7px; display: grid; place-items: center; font-size: 26px; background: #f3f4f8; }
.fpo-it .bc { height: 14px; background: repeating-linear-gradient(90deg, #111 0 2px, #fff 2px 3px, #111 3px 4px, #fff 4px 6px); }
.fpo-it .nm { font-family: inherit; font-weight: 800; font-size: 10px; line-height: 1.2; }
.fpo-it .key { margin-top: auto; border-radius: 5px; padding: 3px 4px; text-align: center; font: 800 10px var(--mono, ui-monospace, monospace); background: #111; color: #f3d27a; }
.fpo-it .no { position: absolute; top: -10px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: #f3d27a; color: #111; display: grid; place-items: center; font: 800 11px var(--mono, ui-monospace, monospace); box-shadow: 0 6px 12px -5px rgba(0, 0, 0, .7); transition: opacity .4s .55s, transform .4s .55s; }
.fpo-track.mess .fpo-it .no { opacity: 0; transform: scale(.4); transition-delay: 0s; }
.fpo-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #aeb4e6; }

/* numbered pick list */
.fpp { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
.fpp-labels { display: grid; grid-template-columns: repeat(4, 26px); gap: 6px; }
.fpp-labels i { height: 36px; border-radius: 5px; background: #fff; display: grid; place-items: end center; padding-bottom: 2px; font: 800 9px var(--mono, ui-monospace, monospace); color: #111; font-style: normal; animation: fpp-glow 7s infinite; }
.fpp-labels i.a { animation-delay: .3s; } .fpp-labels i.b { animation-delay: 2s; } .fpp-labels i.c { animation-delay: 3.7s; }
.fpp-labels i:not(.a):not(.b):not(.c) { opacity: .55; animation: none; }
@keyframes fpp-glow { 0%, 6% { box-shadow: none; transform: none; } 12%, 26% { box-shadow: 0 0 0 2px #f3d27a, 0 0 18px rgba(243, 210, 122, .75); transform: translateY(-3px); } 34%, 100% { box-shadow: none; transform: none; } }
.fpp-sheet { position: relative; background: #fff; color: #111; border-radius: 12px; padding: 12px 14px 14px; display: grid; gap: 6px; font-size: 12.5px; box-shadow: 0 26px 44px -26px rgba(0, 0, 0, .9); }
.fpp-sheet .h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 2px solid #111; padding-bottom: 5px; }
.fpp-sheet .h b { font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.fpp-sheet .h small { font-size: 10.5px; color: #666; white-space: nowrap; }
.fpp-row { display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateX(-10px); animation: fpp-row 7s infinite; }
.fpp-row:nth-of-type(2) { animation-delay: .5s; } .fpp-row:nth-of-type(3) { animation-delay: 2.2s; } .fpp-row:nth-of-type(4) { animation-delay: 3.9s; }
.fpp-row .ck { width: 12px; height: 12px; border: 1.5px solid #333; border-radius: 3px; flex: none; }
.fpp-row .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fpp-row b { font: 800 11px var(--mono, ui-monospace, monospace); background: #111; color: #f3d27a; border-radius: 5px; padding: 2px 7px; white-space: nowrap; }
.fpp-row .q { font: 800 12px var(--mono, ui-monospace, monospace); min-width: 18px; text-align: right; }
@keyframes fpp-row { 0% { opacity: 0; transform: translateX(-10px); } 8%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.fpp-pdf { position: absolute; right: -8px; bottom: -14px; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; font-weight: 800; font-size: 12px; color: #1b1404; background: linear-gradient(135deg, #e0a83a, #f3d27a); border-radius: 99px; padding: 7px 13px; box-shadow: 0 12px 24px -12px rgba(224, 168, 58, .95); animation: fpp-drop 7s infinite; }
@keyframes fpp-drop { 0%, 70% { opacity: 0; transform: translateY(-16px) scale(.9); } 78%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.fpp-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: #c9cdf2; }
.fpp-points li { display: flex; gap: 10px; align-items: flex-start; }
.fpp-points li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #1b1404; background: #f3d27a; margin-top: 1px; }
.fp-order .btn { justify-self: start; }

@media (max-width: 560px) {
  .fpp { grid-template-columns: minmax(0, 1fr); }
  .fpp-labels { grid-template-columns: repeat(8, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .fpo-it, .fpo-it .no, .fpp-labels i, .fpp-row, .fpp-pdf { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
