/* ============ Check one shipment (/one-order/) page, v10.7 ============
   Loaded on this page only, after v8.css. The page head gets a picture of the offer
   (three documents in, one flagged, one page back) and the sample write-up sits on the
   dark hero navy so the white page reads as a real document, not a card on grey. */

/* ---- page head: copy left, the picture right ---- */
.phead--oo .phead-in{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:48px 40px}

.oo-vis{position:relative;height:380px;min-width:0}
.oo-doc{position:absolute;display:flex;flex-direction:column;gap:9px;width:236px;padding:18px 18px 22px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow-float);animation:oo-fan .9s var(--ease) both}
.oo-doc-h{font-size:12.5px;line-height:16px;font-weight:600;color:var(--ink);margin-bottom:4px}
.oo-doc i{display:block;height:6px;border-radius:3px;background:var(--tint-2)}
.oo-doc i.s{width:62%}
.oo-val{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px -8px;padding:7px 8px;border-radius:6px;background:var(--inset);font-size:12px;line-height:16px;color:var(--muted)}
.oo-val b{font:600 13px/16px var(--mono);color:var(--ink)}
.oo-val.is-stop{background:var(--stop-bg);box-shadow:inset 0 0 0 1px rgba(196,43,43,.28)}
.oo-val.is-stop b{color:var(--stop)}
.oo-doc--a{left:-2%;top:34px;--rot:-7deg;rotate:-7deg;animation-delay:.05s}
.oo-doc--c{right:-2%;top:22px;--rot:6deg;rotate:6deg;animation-delay:.12s}
.oo-doc--b{left:50%;top:6px;margin-left:-118px;--rot:0deg;z-index:2;box-shadow:0 1px 2px rgba(22,26,43,.06),0 28px 60px -20px rgba(22,26,43,.38);animation-delay:.2s}

.oo-back{position:absolute;left:50%;bottom:0;z-index:3;display:flex;flex-direction:column;gap:8px;width:min(100%,340px);margin-left:-150px;padding:18px 20px;background:var(--hero-a);border-radius:14px;color:var(--on-hero);box-shadow:0 30px 60px -24px rgba(20,26,51,.55);animation:oo-rise .9s var(--ease) .35s both}
.oo-back-h{display:flex;align-items:center;gap:8px;font-size:12px;line-height:16px;font-weight:500;letter-spacing:.02em;color:var(--on-hero-3)}
.oo-back-h svg{width:16px;height:16px}
.oo-back b{font-size:16px;line-height:22px;font-weight:600;letter-spacing:-.01em;color:var(--on-hero)}
.oo-back-row{display:flex;align-items:center;gap:8px;font-size:13px;line-height:18px;color:var(--on-hero-2)}
.oo-dot{flex:none;width:7px;height:7px;border-radius:50%;background:#f26b6b}
.oo-dot--ok{background:#4cc68a}

@keyframes oo-fan{from{rotate:0deg;translate:0 18px}to{rotate:var(--rot);translate:0 0}}
@keyframes oo-rise{from{translate:0 20px}to{translate:0 0}}

/* ---- the sample write-up on the navy stage ---- */
.wu-stage{position:relative;overflow:hidden;padding:clamp(24px,5vw,72px) clamp(16px,4vw,56px) clamp(20px,3vw,36px);background:radial-gradient(120% 80% at 50% 0%,var(--hero-b) 0%,var(--hero-a) 70%);border:0;border-radius:var(--r-panel)}
.wu-stage::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(243,245,251,.09) 1px,transparent 1.2px);background-size:22px 22px;-webkit-mask-image:linear-gradient(180deg,#000 0%,transparent 75%);mask-image:linear-gradient(180deg,#000 0%,transparent 75%);pointer-events:none}
.wu{position:relative;border:0;border-radius:14px;box-shadow:0 2px 4px rgba(10,14,28,.2),0 40px 80px -30px rgba(5,8,20,.7)}
.wu-top{padding:32px 40px 24px}
.wu-top h3{font-size:24px;line-height:30px;letter-spacing:-.02em}
.wu-sec{padding:22px 40px}
.wu-k{color:var(--ink-2)}
.wu-k--stop{align-self:start;display:flex;align-items:center;gap:8px;color:var(--stop)}
.wu-k--stop::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--stop)}
.wu-cmp{border-radius:10px}
.wu-cmp .is-stop{box-shadow:inset 0 0 0 1px rgba(196,43,43,.3)}
.wu-end{padding:16px 40px;border-radius:0 0 14px 14px}
.wu-note{position:relative;margin-top:22px;color:var(--on-hero-3)}

/* ---- responsive ---- */
@media (max-width:1000px){
  .phead--oo .phead-in{grid-template-columns:minmax(0,1fr)}
  .oo-vis{width:min(100%,520px);height:360px;margin:0 auto}
}
@media (max-width:700px){
  .wu-top,.wu-sec,.wu-end{padding-left:20px;padding-right:20px}
  .wu-top h3{font-size:20px;line-height:26px}
}
@media (max-width:520px){
  .oo-vis{height:360px}
  .oo-doc{width:190px;padding:14px 14px 18px}
  .oo-doc--b{margin-left:-95px}
  .oo-back{left:0;right:0;width:auto;margin-left:0}
  .wu-stage{padding:20px 10px 16px}
  .wu-note{margin-top:16px;padding:0 8px}
}
@media (prefers-reduced-motion:reduce){
  .oo-doc,.oo-back{animation:none}
}
