/* Ported from the approved Orders artifact (2026-11-03). Every rule is scoped under .ordp. */

/* Layout: candid photos of a real small shop, with faithful copies of the Brainerce dashboard (floating sidebar, top bar, order table, order summary, settings dialogs) playing themselves on top. Light-only on purpose. */
.ordp {
  --paper: #f6f3ee;
  --white: #ffffff;
  --ink: #182848;
  --ink-2: #3a4766;
  --muted: #6f7487;
  --line: #e9e7ef;
  --app: #f3f1f9;
  --t1: #1b1d2a;
  --t2: #6b6e7e;
  --bd: #eceaf2;
  --vio: #7648ce;
  --vio-2: #8b5cf6;
  --vio-bg: #f3eeff;
  --vio-bd: #e2d6fb;
  --ok: #15803d;
  --ok-bg: #ecfdf3;
  --ok-bd: #c6f0d6;
  --warn: #b45309;
  --warn-bg: #fff7e8;
  --warn-bd: #fbddb0;
  --bad: #c2413a;
  --bad-bg: #fef1f0;
  --bad-bd: #f8cfcb;
  --gr: #5f6272;
  --gr-bg: #f3f3f6;
  --gr-bd: #e3e3ea;
  --blue: #2563eb;
  --blue-bg: #eef4ff;
  --grad: linear-gradient(90deg, #f65bd0, #a855f7, #6366f1, #22d3ee, #34e0a0);
  --f: var(--font-rubik-hebrew), var(--font-rubik-latin), system-ui, sans-serif;
  --mono: var(--font-mono), ui-monospace, Consolas, monospace;
  --brand: var(--font-rubik-latin), system-ui, sans-serif;
  color-scheme: light;
}
.ordp * {
  box-sizing: border-box;
}
.ordp {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
.ordp .wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.ordp h1,
.ordp h2,
.ordp h3 {
  text-wrap: balance;
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.ordp p {
  margin: 0;
}
.ordp img {
  display: block;
}
.ordp .num {
  font-variant-numeric: tabular-nums;
}
.ordp .mono {
  font-family: var(--mono);
  font-weight: 500;
  direction: ltr;
  unicode-bidi: isolate;
}
.ordp :focus-visible {
  outline: 2px solid var(--vio);
  outline-offset: 3px;
  border-radius: 8px;
}

/* site nav */
.ordp .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--brand);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}
.ordp .logo img {
  width: 28px;
  height: 28px;
}
.ordp .links {
  display: flex;
  gap: 24px;
  font-size: 15px;
  color: var(--muted);
}
.ordp .links a {
  color: inherit;
  text-decoration: none;
}
.ordp .links a.on {
  color: var(--ink);
}
.ordp .btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s;
}
.ordp .btn:hover {
  transform: translateY(-1px);
}
.ordp .btn-ink {
  background: var(--ink);
  color: #fff;
}
.ordp .btn-line {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border: 1px solid rgba(24, 40, 72, 0.2);
}
.ordp nav .btn {
  margin-inline-start: auto;
  padding: 9px 18px;
  font-size: 14px;
}
@media (max-width: 720px) {
  .ordp .links {
    display: none;
  }
}

/* hero */
.ordp .hero-head {
  text-align: center;
  padding-block: 56px 34px;
  display: grid;
  justify-items: center;
  gap: 22px;
}
.ordp .chip-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  background: var(--white);
  border: 1px solid #e7e3dc;
  border-radius: 999px;
  padding: 6px 16px 6px 10px;
}
.ordp .chip-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f9d6b;
  animation: ordp-ping 1.6s infinite;
}
@keyframes ordp-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 157, 107, 0.5);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(31, 157, 107, 0);
  }
}
.ordp .hero-head h1 {
  font-size: clamp(46px, 8vw, 112px);
  font-weight: 800;
}
.ordp .hero-head h1 .lt {
  font-weight: 300;
  display: block;
}
.ordp .hero-head p {
  font-size: 20px;
  color: var(--ink-2);
  max-width: 36em;
}
/* split hero */
.ordp .split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding-block: 48px 56px;
}
.ordp .split-copy {
  display: grid;
  gap: 20px;
  align-content: center;
}
.ordp .eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.ordp .split h1 {
  font-size: clamp(44px, 5.6vw, 84px);
  font-weight: 800;
}
.ordp .split h1 .lt {
  font-weight: 300;
  display: block;
}
.ordp .split p {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 30em;
}
.ordp .split .cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.ordp .comp {
  position: relative;
  aspect-ratio: 600/560;
  width: 100%;
  max-width: 640px;
  justify-self: center;
}
.ordp .c-photo {
  position: absolute;
  left: 30%;
  top: 14%;
  width: 70%;
  height: 86%;
  object-fit: cover;
  object-position: 78% 60%;
  border-radius: 28px;
  animation: ordp-kb 26s ease-in-out infinite alternate;
}
.ordp .c-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ordp .ln {
  fill: none;
  stroke: var(--vio);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 6 7;
  animation: ordp-flow 1.2s linear infinite;
}
@keyframes ordp-flow {
  to {
    stroke-dashoffset: -26;
  }
}
.ordp .c-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow:
    0 24px 50px -20px rgba(30, 20, 5, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  font-size: 13px;
  display: grid;
  gap: 8px;
  animation: ordp-glow 8s ease-in-out infinite;
}
.ordp .c-card .c-k {
  color: var(--t2);
  font-size: 12px;
}
.ordp .c-card .c-v {
  background: #f7f6fa;
  border-radius: 9px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.ordp .c-card .c-f {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--t2);
  font-size: 12px;
  gap: 8px;
}
.ordp .c-a {
  left: 0;
  top: 2%;
  width: 52%;
}
.ordp .c-b {
  left: 8%;
  top: 41%;
  width: 46%;
  animation-delay: 2s;
}
@keyframes ordp-glow {
  0%,
  30%,
  100% {
    box-shadow:
      0 24px 50px -20px rgba(30, 20, 5, 0.4),
      0 0 0 1px rgba(0, 0, 0, 0.05);
  }
  12% {
    box-shadow:
      0 24px 50px -20px rgba(30, 20, 5, 0.4),
      0 0 0 2px var(--vio);
  }
}
.ordp .c-label {
  position: absolute;
  left: 44%;
  top: 56%;
  width: 30%;
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  font-size: 10px;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.5);
  transform: rotate(-5deg);
  color: #111;
  animation: ordp-print 8s cubic-bezier(0.2, 1, 0.3, 1) infinite;
}
@keyframes ordp-print {
  0%,
  30% {
    transform: translateY(-30px) rotate(0);
    opacity: 0;
  }
  45%,
  92% {
    transform: translateY(0) rotate(-5deg);
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.ordp .c-label .cr {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 13px;
}
.ordp .c-label .cr span {
  background: #111;
  color: #fff;
  padding: 0 5px;
}
.ordp .c-label .bc {
  height: 38px;
  margin: 8px 0 4px;
  background: repeating-linear-gradient(
    90deg,
    #111 0 2px,
    #fff 2px 4px,
    #111 4px 5px,
    #fff 5px 8px,
    #111 8px 11px,
    #fff 11px 12px
  );
}
.ordp .c-label .tn {
  font: 600 11px var(--mono);
  text-align: center;
  direction: ltr;
  letter-spacing: 0.08em;
}
.ordp .c-label .ad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border-top: 1.5px solid #111;
  margin-top: 6px;
  padding-top: 5px;
}
.ordp .c-label .ad b {
  display: block;
  font-size: 10.5px;
}
.ordp .c-pill {
  position: absolute;
  right: 3%;
  top: 6%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  box-shadow: 0 20px 40px -20px rgba(30, 20, 5, 0.5);
}
.ordp .c-pill i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--t1);
}
.ordp .c-pill.shipped i {
  background: var(--vio);
}
.ordp .c-tile {
  position: absolute;
  left: 2%;
  top: 74%;
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 24px 50px -20px rgba(30, 20, 5, 0.4);
  font-size: 12px;
  animation: ordp-bob 6s ease-in-out infinite;
}
.ordp .c-tile svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 9px;
  background: var(--vio-bg);
  stroke: var(--vio);
  fill: none;
  stroke-width: 1.8;
}
.ordp .c-tile small {
  display: block;
  color: var(--t2);
}
.ordp .c-tile b {
  font-size: 15px;
}
@keyframes ordp-bob {
  50% {
    transform: translateY(-8px);
  }
}
.ordp .hero2 {
  max-width: 1520px;
  margin: 0 auto;
  grid-template-columns: minmax(300px, 380px) 1fr;
  gap: 36px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.ordp .hero2 .split-copy {
  padding-inline-start: clamp(0px, 2vw, 24px);
}
.ordp .hero2 .band {
  margin-inline: 0;
  padding: clamp(20px, 3vw, 44px) clamp(10px, 2.4vw, 36px);
}
.ordp .win .c-view,
.ordp .win td.v-view {
  display: none;
}
/* hero fits one screen: fixed-height window, content clips inside like the real app */
.ordp .hero2 {
  min-height: calc(100vh - 72px);
  align-items: center;
  padding-block: 12px 20px;
}
.ordp .hero2 .band {
  height: min(calc(100vh - 110px), 680px);
  min-height: 520px;
  padding: clamp(16px, 2.2vw, 30px) clamp(10px, 2vw, 30px);
  display: flex;
}
.ordp .hero2 .tilt {
  flex: 1;
  min-height: 0;
  display: flex;
}
.ordp .win {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.ordp .win .shell {
  flex: 1;
  min-height: 0;
}
.ordp .win .sb {
  overflow: hidden;
  min-height: 0;
}
.ordp .win .right {
  min-height: 0;
}
.ordp .win .panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ordp .win .tw {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--bd);
  border-radius: 12px;
}
.ordp .win .tw .tbl {
  border: 0;
  border-radius: 0;
}
.ordp .win .pfoot {
  margin-top: 0;
  padding-top: 10px;
}
.ordp .co {
  max-height: calc(100% - 8px);
  display: flex;
  flex-direction: column;
}
.ordp .co-b {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 10px 16px;
  gap: 16px;
}
.ordp .co-f label {
  margin: 7px 0 4px;
}
.ordp .co .inp {
  height: 32px;
  min-height: 32px;
}
.ordp .co-line {
  padding: 9px;
  margin-top: 8px;
  row-gap: 6px;
}
.ordp .co-line img {
  width: 38px;
  height: 38px;
}
.ordp .co-line .stp,
.ordp .co-line .prc {
  height: 28px;
}
.ordp .co-s {
  margin-bottom: 8px;
}
.ordp .co-h {
  padding: 10px 16px;
}
.ordp .co-ft {
  padding: 8px 16px;
}
.ordp .co-chk {
  margin-top: 10px !important;
}
.ordp .win .tbl {
  table-layout: auto !important;
}
.ordp .win .tbl td {
  overflow: visible !important;
}
.ordp .win .tbl th {
  width: auto !important;
}
.ordp .hero2 h1 {
  font-size: clamp(38px, 3.7vw, 56px);
}
.ordp .hero2 {
  grid-template-columns: minmax(320px, 420px) 1fr;
}
@media (max-width: 1180px) {
  .ordp .hero2 {
    grid-template-columns: 1fr;
  }
  .ordp .hero2 .split-copy {
    text-align: center;
    justify-items: center;
  }
  .ordp .hero2 .cta {
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .ordp .split {
    grid-template-columns: 1fr;
    padding-block: 28px 36px;
  }
}
@media (max-width: 600px) {
  .ordp .c-tile,
  .ordp .c-lines,
  .ordp .c-b {
    display: none;
  }
  .ordp .c-a {
    width: 74%;
    font-size: 12px;
  }
  .ordp .c-label {
    left: auto;
    right: 6%;
    top: 50%;
    width: 46%;
  }
  .ordp .c-pill {
    top: auto;
    bottom: 4%;
    right: auto;
    left: 4%;
    font-size: 17px;
    padding: 8px 14px;
  }
  .ordp .tbl .c-tot,
  .ordp .tbl td.money,
  .ordp .oid + span,
  .ordp .tags {
    display: none;
  }
  .ordp .tbl {
    table-layout: auto !important;
  }
  .ordp .tbl td {
    overflow: visible !important;
  }
  .ordp .tbl .c-id,
  .ordp .tbl .c-st {
    width: auto !important;
  }
  .ordp .tbl td,
  .ordp .tbl th {
    padding: 8px 6px;
  }
  .ordp .oid {
    font-size: 11.5px;
  }
}
.ordp .band {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  margin-inline: max(10px, env(safe-area-inset-left, 0px));
  padding: clamp(28px, 6vw, 90px) clamp(10px, 3vw, 48px);
  background: #cfc4b6;
}
.ordp .media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ordp-kb 30s ease-in-out infinite alternate;
}
@keyframes ordp-kb {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.1) translate(-1.5%, -1%);
  }
}
.ordp .tilt {
  perspective: 1600px;
  position: relative;
  z-index: 2;
}
.ordp .toc {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding-block: 36px 8px;
}
.ordp .toc a {
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  border: 1px solid #e7e3dc;
  border-radius: 999px;
  padding: 8px 16px;
  transition: all 0.2s;
}
.ordp .toc a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ===== Brainerce dashboard replica ===== */
.ordp .dash {
  font-family: var(--f);
  font-size: 13.5px;
  color: var(--t1);
}
.ordp .win {
  position: relative;
  background: var(--app);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 60px 120px -40px rgba(30, 20, 5, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  transform-origin: 50% 0;
  max-width: 1160px;
  margin-inline: auto;
}
.ordp .chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: #edebf2;
  border-bottom: 1px solid #e1dee8;
}
.ordp .chrome i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d6d2de;
}
.ordp .chrome .url {
  margin-inline: auto;
  background: var(--white);
  border-radius: 8px;
  padding: 3px 14px;
  font-size: 12px;
  color: var(--t2);
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ordp .chrome .url svg {
  width: 11px;
  height: 11px;
  stroke: var(--t2);
  fill: none;
  stroke-width: 2;
}
.ordp .shell {
  display: grid;
  grid-template-columns: 186px 1fr;
  gap: 12px;
  padding: 12px;
}
.ordp .sb {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(20, 16, 40, 0.06);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ordp .sb .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--brand);
  font-weight: 600;
  font-size: 15px;
  padding: 2px 8px 14px;
}
.ordp .sb .brand img {
  width: 24px;
  height: 24px;
}
.ordp .ni {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #3c3f4f;
  position: relative;
}
.ordp .ni svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.ordp .ni .chev {
  margin-inline-start: auto;
  color: #a3a5b3;
  font-size: 10px;
}
.ordp .ni.on {
  background: #f5f2fc;
  color: var(--t1);
  font-weight: 500;
}
.ordp .ni.on::before {
  content: '';
  position: absolute;
  inset-inline-start: -10px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: var(--vio);
}
.ordp .ni .cnt {
  margin-inline-start: auto;
  background: #eceaf3;
  color: #55586a;
  font-size: 11px;
  border-radius: 6px;
  padding: 0 6px;
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s;
}
.ordp .ni .cnt.pop {
  animation: ordp-bpop 0.5s;
  background: var(--vio);
  color: #fff;
}
@keyframes ordp-bpop {
  40% {
    transform: scale(1.4);
  }
}
.ordp .grp {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #9a9cab;
  padding: 12px 10px 4px;
  border-top: 1px solid #f0eef4;
  margin-top: 6px;
}
.ordp .right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.ordp .tb {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 4px;
  flex-wrap: wrap;
}
.ordp .store {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}
.ordp .store svg {
  width: 16px;
  height: 16px;
  stroke: var(--t1);
  fill: none;
  stroke-width: 1.7;
}
.ordp .plan {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  border-radius: 999px;
  padding: 1px 9px;
}
.ordp .srch {
  flex: 1;
  max-width: 400px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--bd);
  border-radius: 10px;
  padding: 6px 12px;
  color: #9a9cab;
  display: flex;
  gap: 8px;
  align-items: center;
}
.ordp .srch svg {
  width: 14px;
  height: 14px;
  stroke: #9a9cab;
  fill: none;
  stroke-width: 2;
}
.ordp .tbr {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ordp .mcp {
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--bd);
  background: var(--white);
  border-radius: 999px;
  padding: 3px 10px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.ordp .mcp i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: conic-gradient(#d97757 0 33%, #10a37f 0 66%, #111 0);
}
.ordp .ic {
  width: 16px;
  height: 16px;
  stroke: #55586a;
  fill: none;
  stroke-width: 1.7;
}
.ordp .av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #182848;
  display: grid;
  place-items: center;
}
.ordp .av img {
  width: 20px;
  height: 20px;
}
.ordp .panel {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(20, 16, 40, 0.06);
  padding: 12px;
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.ordp .ptb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.ordp .ib {
  width: 32px;
  height: 32px;
  border: 1px solid var(--bd);
  border-radius: 9px;
  display: grid;
  place-items: center;
}
.ordp .ob {
  border: 1px solid var(--bd);
  border-radius: 9px;
  padding: 5px 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
}
.ordp .pri {
  background: linear-gradient(180deg, #8b5cf6, #7648ce);
  color: #fff;
  border-radius: 9px;
  padding: 7px 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px -4px rgba(118, 72, 206, 0.6);
}
.ordp .ptb .pri {
  margin-inline-start: auto;
}
.ordp .tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--bd);
  border-radius: 12px;
  overflow: hidden;
}
.ordp .tbl th {
  background: #faf9fc;
  font-weight: 500;
  color: var(--t2);
  font-size: 12px;
  text-align: start;
  padding: 9px 10px;
  border-bottom: 1px solid var(--bd);
  white-space: nowrap;
}
.ordp .tbl td {
  padding: 8px 10px;
  border-bottom: 1px solid #f3f2f7;
  white-space: nowrap;
  vertical-align: middle;
}
.ordp .tbl tr:last-child td {
  border-bottom: 0;
}
.ordp .tbl tr.new td {
  background: #f7f3ff;
  animation: ordp-rowin 0.7s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes ordp-rowin {
  from {
    opacity: 0;
  }
}
.ordp .tbl tr.picked td {
  background: #f8f5ff;
}
.ordp .tbl {
  table-layout: fixed;
}
.ordp .tbl td {
  overflow: hidden;
  text-overflow: ellipsis;
}
.ordp .tbl .c-cb {
  width: 40px;
}
.ordp .tbl .c-id {
  width: 30%;
}
.ordp .tbl .c-view {
  width: 11%;
}
.ordp .tbl .c-st {
  width: 15%;
}
.ordp .tbl .c-n {
  width: 8%;
}
.ordp .tbl .c-ship {
  width: 13%;
}
.ordp .tbl .c-tot {
  width: 14%;
}
.ordp .tbl .c-k {
  width: 32px;
}
@media (max-width: 1100px) {
  .ordp .tbl .c-view,
  .ordp .tbl td.v-view {
    display: none;
  }
}
.ordp .oid {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12.5px;
  direction: ltr;
  unicode-bidi: isolate;
}
.ordp .oid + span {
  color: var(--t2);
  font-size: 12px;
  margin-inline-start: 6px;
}
.ordp .view {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: #55586a;
}
.ordp .view svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}
.ordp .cnum {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: 7px;
  padding: 1px 7px;
  font-size: 12px;
}
.ordp .city {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #3c3f4f;
}
.ordp .city svg {
  width: 14px;
  height: 14px;
  stroke: #55586a;
  fill: none;
  stroke-width: 1.7;
}
.ordp .money {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ordp .kebab {
  color: #9a9cab;
  text-align: center;
}
.ordp .cb {
  width: 16px;
  height: 16px;
  border: 1.5px solid #cfcdd9;
  border-radius: 5px;
  display: inline-grid;
  place-items: center;
  transition: all 0.2s;
  vertical-align: middle;
  background: #fff;
}
.ordp .cb.on {
  background: var(--vio);
  border-color: var(--vio);
}
.ordp .cb.on::after {
  content: '✓';
  color: #fff;
  font-size: 10px;
  line-height: 1;
}
.ordp .st {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  padding: 1px 9px;
  border-radius: 7px;
  border: 1px solid;
  white-space: nowrap;
  transition: all 0.3s;
}
.ordp .s-vio {
  background: var(--vio-bg);
  color: var(--vio);
  border-color: var(--vio-bd);
}
.ordp .s-ok {
  background: var(--ok-bg);
  color: var(--ok);
  border-color: var(--ok-bd);
}
.ordp .s-warn {
  background: var(--warn-bg);
  color: var(--warn);
  border-color: var(--warn-bd);
}
.ordp .s-bad {
  background: var(--bad-bg);
  color: var(--bad);
  border-color: var(--bad-bd);
}
.ordp .s-gr {
  background: var(--gr-bg);
  color: var(--gr);
  border-color: var(--gr-bd);
}
.ordp .s-cus {
  background: #e8f7f7;
  color: #0f766e;
  border-color: #bfe8e5;
}
.ordp .st.flash {
  animation: ordp-pflash 0.6s;
}
@keyframes ordp-pflash {
  40% {
    transform: scale(1.18);
  }
}
.ordp .tagc {
  display: inline-block;
  font-size: 11px;
  border: 1px solid var(--bd);
  border-radius: 6px;
  padding: 0 6px;
  margin-inline-start: 6px;
  background: #faf9fc;
  animation: ordp-pop 0.3s;
}
.ordp .pfoot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: var(--t2);
  font-size: 12px;
}
.ordp .pfoot svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ordp .saved {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #55586a;
}
.ordp .saved svg {
  color: var(--ok);
}
.ordp .pg {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ordp .pb {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #3c3f4f;
  transition: background 0.2s;
}
.ordp .pb:hover {
  background: #f3f2f7;
}
.ordp .pb.off {
  color: #c9c7d3;
}
.ordp .pt {
  padding: 0 8px;
  color: #55586a;
  white-space: nowrap;
}
.ordp .pt b {
  color: var(--t1);
  font-weight: 600;
}
.ordp .pc {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.ordp .psz {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--bd);
  border-radius: 8px;
  padding: 3px 8px;
  color: var(--t1);
  font-weight: 500;
}
@media (max-width: 640px) {
  .ordp .pfoot {
    grid-template-columns: 1fr;
  }
  .ordp .saved,
  .ordp .pc .num {
    display: none;
  }
  .ordp .pg {
    justify-self: center;
  }
  .ordp .pc {
    justify-self: center;
  }
}
.ordp .bulkp {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border-radius: 999px;
  padding: 6px;
  box-shadow:
    0 14px 34px -10px rgba(40, 30, 80, 0.4),
    0 0 0 1px var(--bd);
  animation: ordp-upc 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
  white-space: nowrap;
}
@keyframes ordp-upc {
  from {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
}
.ordp .bulkp .bi {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f5f2fc;
  color: var(--vio);
  font-size: 12.5px;
  transition: all 0.2s;
}
.ordp .bulkp .bi.del {
  background: var(--bad-bg);
  color: var(--bad);
}
.ordp .bulkp .bi.hl {
  background: var(--vio);
  color: #fff;
}
.ordp .bulkp .bi svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
/* bulk dock (data-grid-bulk-toolbar): glass pill, icon buttons, magnify + label on hover */
.ordp .dock {
  position: absolute;
  left: 50%;
  bottom: 58px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
  animation: ordp-upc 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.ordp .db {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f5f2fc;
  color: var(--vio);
  transition:
    transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1),
    background 0.2s;
  transform-origin: 50% 100%;
}
.ordp .db svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ordp .db.del {
  background: var(--bad-bg);
  color: var(--bad);
}
.ordp .db.hov {
  transform: scale(1.3);
}
.ordp .db em {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.77);
  font-style: normal;
  white-space: nowrap;
  background: var(--t1);
  color: #fff;
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 7px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.ordp .db.hov em {
  opacity: 1;
}
.ordp .db.newb {
  animation: ordp-dnew 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}
@keyframes ordp-dnew {
  from {
    transform: scale(0);
    opacity: 0;
  }
}
.ordp .win .selc {
  bottom: 30px;
}
.ordp .selc {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 5;
  background: #f5f2fc;
  color: var(--vio);
  font-size: 11.5px;
  border-radius: 999px;
  padding: 2px 12px;
  white-space: nowrap;
}
.ordp .menu {
  position: absolute;
  z-index: 8;
  background: var(--white);
  border-radius: 12px;
  padding: 5px;
  box-shadow:
    0 18px 40px -12px rgba(40, 30, 80, 0.35),
    0 0 0 1px var(--bd);
  display: grid;
  gap: 1px;
  min-width: 160px;
  animation: ordp-pop 0.2s ease-out;
  font-size: 12.5px;
}
.ordp .menu div {
  padding: 6px 10px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ordp .menu div i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.ordp .menu div.hl {
  background: #f5f2fc;
}
@keyframes ordp-pop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(-4px);
  }
}
.ordp .toast {
  position: absolute;
  z-index: 9;
  inset-inline-end: 16px;
  bottom: 16px;
  background: var(--white);
  color: var(--t1);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12.5px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow:
    0 14px 34px -10px rgba(40, 30, 80, 0.35),
    0 0 0 1px var(--bd);
  animation: ordp-tin 0.45s cubic-bezier(0.2, 1.2, 0.4, 1);
  max-width: calc(100% - 32px);
}
.ordp .toast i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
  font-style: normal;
  font-size: 11px;
}
@keyframes ordp-tin {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes ordp-fade {
  from {
    opacity: 0;
  }
}
@keyframes ordp-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* dialog replica */
.ordp .dlgw {
  background: var(--white);
  border-radius: 18px;
  box-shadow:
    0 50px 100px -40px rgba(30, 20, 5, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  font-size: 13.5px;
  color: var(--t1);
  min-width: 0;
}
.ordp .dh {
  padding: 16px 20px;
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ordp .dh h5 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}
.ordp .dh p {
  color: var(--t2);
  font-size: 12.5px;
  margin-top: 2px;
}
.ordp .x {
  margin-inline-start: auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--bd);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--t2);
  font-size: 14px;
  flex: none;
}
.ordp .df {
  padding: 12px 20px;
  border-top: 1px solid var(--bd);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  background: #fcfbfe;
}
.ordp .gbtn {
  border: 1px solid var(--bd);
  border-radius: 9px;
  padding: 7px 14px;
  color: #55586a;
  background: #fff;
}
.ordp .badges {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.ordp .bdg {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 6px;
  padding: 2px 8px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.ordp .bdg.blk {
  background: #111;
  color: #fff;
}
.ordp .bdg.vi {
  background: var(--vio-bg);
  color: var(--vio);
  border: 1px solid var(--vio-bd);
}
.ordp .bdg.gy {
  background: var(--gr-bg);
  color: var(--gr);
}
.ordp .bdg.am {
  background: var(--warn-bg);
  color: var(--warn);
  border: 1px solid var(--warn-bd);
}
.ordp .bigid {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.ordp .dt {
  color: var(--t2);
  font-size: 12px;
  margin-top: 4px;
}
.ordp .dbody {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  padding: 16px 20px;
  background: #fcfbfe;
}
@media (max-width: 640px) {
  .ordp .dbody {
    grid-template-columns: 1fr;
  }
}
.ordp .box {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 14px;
}
.ordp .box h6 {
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.ordp .box h6 small {
  color: var(--t2);
  font-weight: 400;
}
.ordp .it {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
}
.ordp .it .th {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  position: relative;
}
.ordp .it small {
  display: block;
  color: var(--t2);
  font-size: 11.5px;
}
.ordp .it .sku {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--t2);
}
.ordp .mn {
  font-family: var(--mono);
  font-weight: 700;
  direction: ltr;
  unicode-bidi: isolate;
}
.ordp .trow {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: var(--t2);
}
.ordp .trow.t {
  color: var(--t1);
  font-weight: 700;
  font-size: 15px;
  border-top: 2px solid var(--t1);
  margin-top: 6px;
  padding-top: 8px;
}
.ordp .trow.t .mn {
  font-size: 20px;
}
.ordp .side h6 {
  font-size: 12px;
  color: var(--t2);
  font-weight: 500;
  margin: 0 0 6px;
}
.ordp .sidecell {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--bd);
}
.ordp .cust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.ordp .cust i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--vio-bg);
  color: var(--vio);
  display: grid;
  place-items: center;
  font-style: normal;
}
.ordp .dash-box {
  border: 1.5px dashed #d9d4e6;
  border-radius: 12px;
  padding: 12px;
}
.ordp .dash-box .lbl {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--t2);
  font-weight: 600;
  display: flex;
  gap: 6px;
  align-items: center;
}
.ordp .trk {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.ordp .chipm {
  font-family: var(--mono);
  font-size: 11.5px;
  background: var(--gr-bg);
  border-radius: 6px;
  padding: 2px 8px;
  direction: ltr;
  unicode-bidi: isolate;
  animation: ordp-pop 0.3s;
}
.ordp .lnk {
  color: var(--vio);
  font-weight: 500;
}
.ordp .kv {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #f3f2f7;
  align-items: center;
  font-size: 12.5px;
}
.ordp .kv span:first-child {
  color: var(--t2);
}
.ordp .inp {
  border: 1px solid var(--bd);
  border-radius: 8px;
  padding: 4px 10px;
  min-height: 30px;
  display: flex;
  align-items: center;
  transition: all 0.2s;
  background: #fff;
}
.ordp .inp.focus {
  border-color: var(--vio);
  box-shadow: 0 0 0 3px rgba(118, 72, 206, 0.15);
}
.ordp .caret::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 15px;
  background: var(--t1);
  animation: ordp-blink 1s steps(1) infinite;
  vertical-align: middle;
}
@keyframes ordp-blink {
  50% {
    opacity: 0;
  }
}

/* settings dialog */
.ordp .sdlg {
  display: grid;
  grid-template-columns: 150px 1fr;
}
@media (max-width: 640px) {
  .ordp .sdlg {
    grid-template-columns: 1fr;
  }
  .ordp .stabs {
    display: none !important;
  }
}
.ordp .stabs {
  border-inline-end: 1px solid var(--bd);
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 4px;
}
.ordp .stabs div {
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--t2);
}
.ordp .stabs div.on {
  border: 1.5px solid var(--vio-bd);
  background: #f8f5ff;
  color: var(--t1);
  font-weight: 500;
}
.ordp .slist {
  padding: 12px;
  display: grid;
  gap: 0;
}
.ordp .slbox {
  border: 1px solid var(--bd);
  border-radius: 12px;
  overflow: hidden;
}
.ordp .srw {
  display: grid;
  grid-template-columns: 14px 12px auto 1fr 16px 30px 14px;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #f3f2f7;
}
.ordp .srw:last-child {
  border-bottom: 0;
}
.ordp .srw .dr {
  color: #b7b5c4;
  font-size: 12px;
  letter-spacing: -2px;
}
.ordp .srw .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.ordp .srw .nm {
  font-weight: 500;
  display: flex;
  gap: 6px;
  align-items: center;
}
.ordp .srw .nm svg {
  width: 11px;
  height: 11px;
  stroke: #a3a5b3;
  fill: none;
  stroke-width: 2;
}
.ordp .srw .cd {
  justify-self: start;
  font-family: var(--mono);
  font-size: 10.5px;
  border: 1px solid var(--bd);
  border-radius: 6px;
  padding: 1px 6px;
  color: #55586a;
  direction: ltr;
}
.ordp .srw .star {
  color: #c4c2d0;
}
.ordp .tg {
  width: 30px;
  height: 17px;
  border-radius: 999px;
  background: #d9d7e2;
  position: relative;
}
.ordp .tg.on {
  background: var(--vio);
}
.ordp .tg::after {
  content: '';
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  transition: all 0.2s;
}
.ordp .tg.on::after {
  inset-inline-start: 15px;
}
.ordp .srw .tr {
  color: #c4c2d0;
  font-size: 12px;
}
.ordp .srw.added {
  background: #f8f5ff;
  animation: ordp-up 0.5s;
}
.ordp .addst {
  margin-top: 10px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--bd);
  border-radius: 9px;
  padding: 6px 12px;
  color: #55586a;
}
.ordp .sform {
  border: 1.5px solid var(--vio-bd);
  border-radius: 12px;
  padding: 12px;
  margin-top: 10px;
  display: grid;
  gap: 10px;
  animation: ordp-up 0.3s;
  background: #fdfcff;
}
.ordp .sform .r {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.ordp .sw {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--bd);
  transition: box-shadow 0.2s;
}
.ordp .sw.on {
  box-shadow: 0 0 0 2px var(--t1);
}

/* checkout field dialog */
.ordp .cfd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px 18px;
  background: #fcfbfe;
}
@media (max-width: 640px) {
  .ordp .cfd {
    grid-template-columns: 1fr;
  }
}
.ordp .cfbox {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 12px;
  overflow: hidden;
}
.ordp .cfbox .hh {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #faf9fc;
  border-bottom: 1px solid var(--bd);
  font-weight: 500;
}
.ordp .cfbox .hh i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--vio-bg);
  display: grid;
  place-items: center;
  color: var(--vio);
  font-style: normal;
}
.ordp .cfbox .bb {
  padding: 12px;
  display: grid;
  gap: 8px;
}
.ordp .cfbox label {
  font-weight: 500;
  font-size: 12.5px;
}
.ordp .tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.ordp .tile {
  border: 1.5px solid var(--bd);
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
  font-size: 11.5px;
  display: grid;
  justify-items: center;
  gap: 3px;
  transition: all 0.2s;
}
.ordp .tile svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}
.ordp .tile.on {
  border-color: var(--vio);
  background: #f8f5ff;
  color: var(--vio);
}
.ordp .sel {
  border: 1px solid var(--bd);
  border-radius: 9px;
  padding: 6px 10px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: all 0.2s;
}
.ordp .hint {
  color: var(--t2);
  font-size: 11.5px;
}
.ordp .req {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #f3f2f7;
  border-radius: 10px;
  padding: 8px 10px;
  background: #fcfbfe;
}

/* chapters */
.ordp .chap {
  padding-block: 90px;
}
.ordp .ch-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}
.ordp .ch-head .k {
  font-size: 15px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.ordp .ch-head .k b {
  font-weight: 600;
  color: var(--ink);
}
.ordp .ch-head h2 {
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 800;
  margin-top: 12px;
}
.ordp .ch-head h2 .lt {
  font-weight: 300;
}
.ordp .ch-head p {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 30em;
}
@media (max-width: 860px) {
  .ordp .ch-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.ordp .scene {
  position: relative;
}
.ordp .duo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}
.ordp .duo.rev {
  grid-template-columns: 0.85fr 1.15fr;
}
@media (max-width: 960px) {
  .ordp .duo,
  .ordp .duo.rev {
    grid-template-columns: 1fr;
  }
}
.ordp .stage {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 520px;
  background: #cfc4b6;
  align-self: stretch;
}

/* phone */
.ordp .phone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 250px;
  height: 470px;
  margin: -235px 0 0 -125px;
  border-radius: 38px;
  background: var(--white);
  border: 8px solid #111;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  padding: 24px 16px 16px;
  font-size: 13px;
  overflow: hidden;
  transition:
    transform 0.8s cubic-bezier(0.2, 1.1, 0.3, 1),
    opacity 0.5s;
  color: var(--t1);
}
.ordp .phone.off {
  transform: translateY(120%) rotate(6deg);
  opacity: 0;
}
.ordp .phone h6 {
  margin: 0 0 4px;
  font-size: 15px;
}
.ordp .phone .shop {
  color: var(--t2);
  font-size: 11.5px;
  margin-bottom: 10px;
}
.ordp .phone .lbl {
  font-size: 12px;
  color: var(--t2);
  margin: 10px 0 4px;
}
.ordp .phone .ta {
  border: 1px solid var(--bd);
  border-radius: 10px;
  min-height: 46px;
  padding: 8px;
  line-height: 1.4;
}
.ordp .phone .ta.focus {
  border-color: var(--vio);
}
.ordp .phone .ck {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  border: 1px solid var(--bd);
  border-radius: 10px;
  padding: 9px;
  animation: ordp-up 0.4s;
}
.ordp .phone .ck b {
  margin-inline-start: auto;
  font-weight: 500;
}
.ordp .phone .sum {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--t2);
}
.ordp .phone .pay {
  margin-top: 10px;
  background: #111;
  color: #fff;
  border-radius: 11px;
  text-align: center;
  padding: 11px;
  font-weight: 500;
}
.ordp .phone .notif {
  background: #f1f1f3;
  border-radius: 14px;
  padding: 10px;
  font-size: 12px;
  animation: ordp-tin 0.5s;
}
.ordp .phone .amt {
  font-size: 32px;
  font-weight: 700;
  margin-top: 10px;
}
.ordp .phone .fld {
  height: 34px;
  border-radius: 9px;
  background: #f1f1f3;
  margin-top: 8px;
}
.ordp .phone .ok {
  position: absolute;
  inset: 0;
  background: var(--white);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ok);
  font-size: 18px;
  animation: ordp-fade 0.3s;
}
.ordp .phone .ok i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ok-bg);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 28px;
}

/* printed label */
.ordp .label {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 250px;
  margin: -150px 0 0 -125px;
  background: #fff;
  border-radius: 6px;
  padding: 16px;
  font-size: 12px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  transform: translateY(-140%);
  opacity: 0;
  transition:
    transform 1s cubic-bezier(0.2, 1, 0.3, 1),
    opacity 0.4s;
  color: #111;
}
.ordp .label.on {
  transform: translateY(0) rotate(-4deg);
  opacity: 1;
}
.ordp .label .bc {
  height: 56px;
  margin: 10px 0 6px;
  background: repeating-linear-gradient(
    90deg,
    #111 0 2px,
    #fff 2px 4px,
    #111 4px 5px,
    #fff 5px 8px,
    #111 8px 11px,
    #fff 11px 12px
  );
}
.ordp .label .tn {
  font: 600 13px var(--mono);
  direction: ltr;
  text-align: center;
  letter-spacing: 0.1em;
}
.ordp .label .ad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 2px solid #111;
  padding-top: 8px;
  margin-top: 8px;
}
.ordp .label .ad b {
  display: block;
  font-size: 13px;
}
.ordp .label .cr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
}
.ordp .label .cr span {
  border: 2px solid #111;
  padding: 0 6px;
  font-size: 12px;
}
.ordp .opt {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 10px;
  margin-top: 8px;
  transition: all 0.2s;
}
.ordp .opt.on {
  border-color: var(--vio);
  box-shadow: 0 0 0 1px var(--vio);
  background: #fdfcff;
}
.ordp .opt .rd {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #cfcdd9;
}
.ordp .opt.on .rd {
  border: 5px solid var(--vio);
}
.ordp .opt small {
  display: block;
  color: var(--t2);
  font-size: 11.5px;
}
.ordp .overlay {
  position: absolute;
  inset: 0;
  z-index: 7;
  background: rgba(27, 29, 42, 0.28);
  display: grid;
  place-items: center;
  animation: ordp-fade 0.25s;
  padding: 14px;
}
.ordp .overlay .dlgw {
  width: min(340px, 100%);
  animation: ordp-pop 0.25s;
}

/* invoice doc */
.ordp .doc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  margin: -200px 0 0 -140px;
  background: #fff;
  border-radius: 4px;
  padding: 20px;
  font-size: 12px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
  transform: perspective(900px) rotateX(35deg) translateY(120%);
  opacity: 0;
  transition:
    transform 1s cubic-bezier(0.2, 1, 0.3, 1),
    opacity 0.5s;
  color: #111;
}
.ordp .doc.on {
  transform: perspective(900px) rotateX(0) translateY(0) rotate(2deg);
  opacity: 1;
}
.ordp .doc h6 {
  margin: 0;
  font-size: 15px;
}
.ordp .doc .meta {
  color: #666;
  margin: 4px 0 12px;
}
.ordp .doc .ln {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dashed #e3e0da;
}
.ordp .doc .ln.t {
  border: 0;
  font-weight: 700;
  font-size: 14px;
  padding-top: 8px;
}
.ordp .doc .by {
  margin-top: 12px;
  color: #666;
  font-size: 11px;
}

/* edit banner + timeline */
.ordp .qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--bd);
  border-radius: 999px;
  padding: 2px;
  margin-inline-start: 8px;
}
.ordp .qty span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.ordp .qty output {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
}
.ordp .ban {
  margin-top: 10px;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--warn-bg);
  border: 1px solid var(--warn-bd);
  color: #7a4e0e;
  animation: ordp-up 0.35s;
  font-size: 12.5px;
}
.ordp .ban .pri {
  margin-inline-start: auto;
  padding: 5px 10px;
  font-size: 12px;
}
.ordp .tl {
  display: grid;
  gap: 7px;
  font-size: 12px;
  color: #3c3f4f;
}
.ordp .tl div {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 8px;
  align-items: center;
  animation: ordp-up 0.4s;
}
.ordp .tl div::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vio);
}
.ordp .tl small {
  color: var(--t2);
}

/* returns rows */
.ordp .rrow {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 4px;
  border-bottom: 1px solid #f3f2f7;
}
.ordp .rrow .who small {
  display: block;
  color: var(--t2);
  font-size: 11.5px;
}
.ordp .rbtn {
  border: 1px solid var(--bd);
  border-radius: 9px;
  padding: 4px 11px;
  font-size: 12px;
  transition: all 0.2s;
  background: #fff;
}
.ordp .rbtn.hl {
  background: var(--vio);
  color: #fff;
  border-color: var(--vio);
}
.ordp .stock {
  font-size: 11.5px;
  color: var(--ok);
  font-weight: 500;
}

/* cursor */
.ordp .cursor {
  position: absolute;
  z-index: 20;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
  transition: transform 0.75s cubic-bezier(0.55, 0.05, 0.25, 1);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.3));
}
.ordp .cursor svg {
  width: 22px;
  height: 22px;
}
.ordp .cursor .rip {
  position: absolute;
  left: -10px;
  top: -10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(118, 72, 206, 0.45);
  transform: scale(0);
  opacity: 0;
}
.ordp .cursor.click .rip {
  animation: ordp-rip 0.45s ease-out;
}
@keyframes ordp-rip {
  0% {
    transform: scale(0.2);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@media (max-width: 860px) {
  .ordp .shell {
    grid-template-columns: 1fr;
  }
  .ordp .sb {
    display: none;
  }
  .ordp .hide-m {
    display: none;
  }
  .ordp .srch {
    display: none;
  }
}

/* create order modal */
.ordp .co-back {
  position: absolute;
  inset: 0;
  z-index: 12;
  background: rgba(27, 29, 42, 0.22);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  padding: 16px;
  animation: ordp-fade 0.25s;
}
.ordp .co {
  background: #fff;
  border-radius: 16px;
  width: min(680px, 100%);
  box-shadow: 0 40px 80px -30px rgba(20, 16, 40, 0.6);
  overflow: hidden;
  animation: ordp-pop 0.25s;
  font-size: 12.5px;
  color: var(--t1);
}
.ordp .co-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--bd);
}
.ordp .co-h i,
.ordp .co-s i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--vio-bg);
  color: var(--vio);
  display: grid;
  place-items: center;
  font-style: normal;
  flex: none;
}
.ordp .co-h b {
  display: block;
  font-size: 15px;
}
.ordp .co-h small {
  color: var(--t2);
}
.ordp .co-h .x {
  margin-inline-start: auto;
}
.ordp .co-b {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 14px 16px;
}
@media (max-width: 640px) {
  .ordp .co-b {
    grid-template-columns: 1fr;
  }
  .ordp .co-cust {
    display: none;
  }
}
.ordp .co-s {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}
.ordp .co-pick {
  border: 1px solid var(--bd);
  border-radius: 9px;
  padding: 7px 10px;
  color: #9a9cab;
  display: flex;
  justify-content: space-between;
  transition: all 0.2s;
}
.ordp .co-pick.focus {
  border-color: var(--vio);
  box-shadow: 0 0 0 3px rgba(118, 72, 206, 0.15);
}
.ordp .co-line {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  grid-template-areas: 'img info total' 'img ctl ctl';
  column-gap: 12px;
  row-gap: 10px;
  align-items: center;
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 12px;
  margin-top: 10px;
  animation: ordp-up 0.35s;
}
.ordp .co-line img {
  grid-area: img;
  align-self: start;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}
.ordp .co-line .info {
  grid-area: info;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.ordp .co-line .info b {
  font-weight: 500;
  font-size: 13px;
}
.ordp .co-line .info small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--t2);
  justify-self: start;
  unicode-bidi: isolate;
}
.ordp .co-line .lt {
  grid-area: total;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  align-self: start;
  direction: ltr;
  unicode-bidi: isolate;
}
.ordp .co-line .ctl {
  grid-area: ctl;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11.5px;
  color: var(--t2);
}
.ordp .co-line .ctl > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ordp .co-line .stp {
  display: inline-flex;
  align-items: center;
  height: 30px;
  border: 1px solid var(--bd);
  border-radius: 8px;
  overflow: hidden;
}
.ordp .co-line .stp i {
  width: 28px;
  height: 100%;
  display: grid;
  place-items: center;
  font-style: normal;
  color: #55586a;
  background: #faf9fc;
}
.ordp .co-line .stp b {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
  color: var(--t1);
  font-size: 13px;
}
.ordp .co-line .prc {
  height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--bd);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--t1);
  font-family: var(--mono);
  font-size: 12.5px;
  min-width: 96px;
  direction: ltr;
}
/* product picker popover (order-product-selector) */
.ordp .pp {
  position: absolute;
  z-index: 14;
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow:
    0 24px 50px -16px rgba(20, 16, 40, 0.45),
    0 0 0 1px var(--bd);
  overflow: hidden;
  animation: ordp-pop 0.2s;
}
.ordp .pp .ps {
  padding: 8px;
  border-bottom: 1px solid var(--bd);
}
.ordp .pp .ps div {
  border: 1px solid var(--bd);
  border-radius: 8px;
  padding: 6px 10px;
  color: #9a9cab;
  display: flex;
  gap: 6px;
  align-items: center;
}
.ordp .pp .ps svg {
  width: 13px;
  height: 13px;
  stroke: #9a9cab;
  fill: none;
  stroke-width: 2;
}
.ordp .pp .pv {
  background: #faf9fc;
  border-bottom: 1px solid var(--bd);
  padding: 8px 10px;
  display: grid;
  gap: 6px;
  animation: ordp-up 0.25s;
}
.ordp .pp .pv label {
  font-size: 11px;
  font-weight: 500;
}
.ordp .pp .pv .sel {
  background: #fff;
  justify-content: space-between;
}
.ordp .pp .pl {
  padding: 4px;
  display: grid;
  gap: 1px;
}
.ordp .pp .pi {
  display: grid;
  grid-template-columns: 36px 1fr 16px;
  gap: 10px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.ordp .pp .pi.hl {
  background: #f5f2fc;
}
.ordp .pp .pi img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
}
.ordp .pp .pi b {
  font-weight: 500;
  font-size: 12.5px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.ordp .pp .pi small {
  display: block;
  color: var(--t2);
  font-size: 11px;
}
.ordp .pp .pi small span {
  font-family: var(--mono);
  text-transform: uppercase;
}
.ordp .pp .var {
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 500;
  border-radius: 4px;
  padding: 0 5px;
}
.ordp .pp .ck {
  color: var(--vio);
  font-weight: 700;
}
.ordp .co-back .menu {
  z-index: 20;
  min-width: 200px;
}
.ordp .toast.top {
  top: 14px;
  bottom: auto;
  inset-inline-end: auto;
  left: 50%;
  transform: translateX(-50%);
  animation: ordp-tdown 0.5s cubic-bezier(0.2, 1.2, 0.4, 1);
  border-radius: 999px;
  padding: 9px 16px 9px 12px;
}
@keyframes ordp-tdown {
  from {
    opacity: 0;
    transform: translate(-50%, -24px);
  }
}
.ordp .co-sub {
  display: flex;
  justify-content: space-between;
  background: #f7f6fa;
  border-radius: 9px;
  padding: 9px 10px;
  margin-top: 8px;
  font-weight: 600;
}
.ordp .co-f label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin: 10px 0 5px;
  color: #3c3f4f;
}
.ordp .co-f .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ordp .co .inp {
  height: 34px;
  min-height: 34px;
  font-size: 13px;
  border-radius: 9px;
}
.ordp .co-pick {
  height: 36px;
  align-items: center;
  font-size: 13px;
}
.ordp .co-chk {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 14px !important;
  font-weight: 400 !important;
}
.ordp .co-b > div {
  min-width: 0;
}
.ordp .co-b {
  grid-template-columns: 1.12fr 0.88fr;
}
.ordp .co-line .ctl {
  gap: 12px;
  flex-wrap: wrap;
}
.ordp .co-line .prc {
  min-width: 0;
}
.ordp .sb .ni {
  padding: 5px 10px;
}
.ordp .sb .grp {
  padding: 9px 10px 3px;
  margin-top: 4px;
}
.ordp .sb .brand {
  padding-bottom: 10px;
}
.ordp .co-s {
  margin-bottom: 12px;
}
.ordp .co-sub {
  margin-top: 12px;
  padding: 11px 12px;
  font-size: 13px;
}
.ordp .co-sub .mn {
  font-size: 13px;
}
.ordp .co-ft {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid var(--bd);
  background: #fcfbfe;
}
.ordp .co-ft span:first-child {
  margin-inline-end: auto;
  color: var(--t2);
}
/* merge */
.ordp .mrg {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 960px) {
  .ordp .mrg {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.ordp .mg-copy {
  display: grid;
  gap: 16px;
}
.ordp .mg-copy .k {
  font-size: 15px;
  color: var(--muted);
  display: flex;
  gap: 12px;
}
.ordp .mg-copy .k b {
  font-weight: 600;
  color: var(--ink);
}
.ordp .mg-copy h2 {
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 800;
}
.ordp .mg-copy h2 .lt {
  font-weight: 300;
}
.ordp .mg-copy p {
  font-size: 19px;
  color: var(--ink-2);
}
.ordp .rules {
  display: grid;
  gap: 10px;
  font-size: 16.5px;
  color: var(--ink-2);
}
.ordp .rules div {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
}
.ordp .rules div::before {
  content: '✓';
  color: var(--ok);
  font-weight: 700;
}
.ordp .pri.big {
  padding: 13px 24px;
  font-size: 16px;
  border-radius: 999px;
  transition: transform 0.2s;
}
.ordp .m-photo {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 3/2;
  max-width: 100%;
  background: #e9e4dc;
}
.ordp .mc {
  position: absolute;
  top: 20%;
  left: calc(var(--x) - 62px);
  width: 124px;
  display: grid;
  gap: 4px;
  justify-items: start;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -18px rgba(30, 20, 5, 0.5);
  font-size: 12px;
  transition: all 0.9s cubic-bezier(0.2, 1, 0.3, 1);
}
.ordp .mc small {
  color: var(--t2);
  font-size: 11px;
}
.ordp .mc .oid {
  font-size: 11.5px;
}
.ordp .mc.target {
  left: calc(78% - 80px);
  width: 160px;
  top: 14%;
}
.ordp .mdone .mc:not(.target) {
  left: calc(78% - 62px);
  top: 30%;
  opacity: 0;
  transform: scale(0.6);
}
.ordp .mdone .mc.target {
  box-shadow:
    0 0 0 2px var(--ok),
    0 30px 60px -24px rgba(30, 20, 5, 0.6);
  transform: scale(1.06);
}
@media (max-width: 560px) {
  .ordp .mc {
    width: 96px;
    left: calc(var(--x) - 48px);
    font-size: 11px;
    top: 12%;
  }
  .ordp .mc small {
    display: none;
  }
  .ordp .mc:nth-of-type(3) {
    top: 34%;
  }
  .ordp .mc.target {
    width: 130px;
    left: calc(78% - 65px);
    top: 58%;
  }
}
/* more */
.ordp .more {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) {
  .ordp .more {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .ordp .more {
    grid-template-columns: 1fr;
  }
}
.ordp .mt {
  background: var(--white);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid #e7e3dc;
  display: grid;
  gap: 10px;
  align-content: start;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.ordp .mt:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -30px rgba(30, 20, 5, 0.4);
}
.ordp .mt svg {
  width: 26px;
  height: 26px;
  stroke: var(--vio);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ordp .mt h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ordp .mt p {
  color: var(--muted);
  font-size: 15px;
}

/* AI */
.ordp .ai {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 900px) {
  .ordp .ai {
    grid-template-columns: 1fr;
  }
}
.ordp .chat {
  background: var(--white);
  border-radius: 22px;
  box-shadow:
    0 40px 80px -40px rgba(30, 20, 5, 0.45),
    0 0 0 1px rgba(24, 40, 72, 0.05);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  flex-direction: column;
}
.ordp .chat header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--bd);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ordp .chat header i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad);
}
.ordp .msgs {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
}
.ordp .m {
  padding: 10px 14px;
  border-radius: 18px;
  max-width: 86%;
  font-size: 14.5px;
  animation: ordp-up 0.35s;
}
.ordp .m.me {
  background: var(--vio);
  color: #fff;
  align-self: flex-start;
  border-end-start-radius: 4px;
}
.ordp .m.bot {
  background: #f5f4f9;
  align-self: flex-end;
  border-end-end-radius: 4px;
}
.ordp .m .acard {
  margin-top: 8px;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid var(--bd);
  font-size: 13px;
  display: grid;
  gap: 4px;
}
.ordp .m .acard .go {
  justify-self: start;
  margin-top: 6px;
  background: var(--vio);
  color: #fff;
  border-radius: 8px;
  padding: 5px 12px;
  transition: all 0.3s;
}
.ordp .m .acard .go.done {
  background: var(--ok);
}
.ordp .typing {
  display: inline-flex;
  gap: 4px;
}
.ordp .typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: ordp-tp 1s infinite;
}
.ordp .typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.ordp .typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes ordp-tp {
  50% {
    transform: translateY(-4px);
    opacity: 0.4;
  }
}
.ordp .inbox {
  border-top: 1px solid var(--bd);
  padding: 12px 18px;
  color: var(--muted);
  font-size: 14px;
  min-height: 46px;
}
.ordp .surfaces {
  display: grid;
  gap: 14px;
}
.ordp .sf {
  background: var(--white);
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid #e7e3dc;
}
.ordp .sf b {
  display: block;
  font-size: 17px;
}
.ordp .sf span {
  color: var(--muted);
  font-size: 15px;
}
.ordp .sf code {
  display: block;
  margin-top: 8px;
  font: 13px/1.6 var(--mono);
  color: var(--vio);
  direction: ltr;
  text-align: left;
  overflow-x: auto;
}
.ordp .final {
  margin-block: 30px 60px;
}
.ordp .final .band {
  text-align: center;
  padding-block: 110px;
}
.ordp .final .band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(246, 243, 238, 0.55);
}
.ordp .final .inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 20px;
}
.ordp .final h2 {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 800;
}
.ordp .final p {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 30em;
}
.ordp .foot {
  font-size: 13.5px;
  color: var(--muted);
  padding-block: 0 40px;
}
@media (prefers-reduced-motion: reduce) {
  .ordp * {
    animation: none !important;
    transition: none !important;
  }
}

/* compact: every chapter fits one screen */
.ordp .chap {
  padding-block: 40px;
}
.ordp .chap + .chap,
.ordp .chap[style] {
  padding-top: 24px !important;
}
.ordp .ch-head {
  margin-bottom: 20px;
  gap: 28px;
}
.ordp .ch-head h2,
.ordp .mg-copy h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  margin-top: 8px;
}
.ordp .ch-head p,
.ordp .mg-copy p {
  font-size: 17px;
}
.ordp .stage {
  min-height: 0;
  height: min(calc(100vh - 260px), 500px);
}
.ordp .duo,
.ordp .duo.rev {
  align-items: stretch;
}
.ordp .duo .dlgw,
.ordp .duo .panel {
  align-self: center;
}
.ordp .m-photo {
  max-height: calc(100vh - 160px);
}
.ordp .mrg {
  gap: 36px;
}
.ordp .rules {
  gap: 7px;
  font-size: 15.5px;
}
.ordp .mg-copy {
  gap: 12px;
}
.ordp .chat {
  min-height: 380px;
}
.ordp .final {
  margin-block: 20px 40px;
}
.ordp .final .band {
  padding-block: 72px;
}
.ordp .final h2 {
  font-size: clamp(34px, 4.4vw, 60px);
}
@media (max-width: 960px) {
  .ordp .stage {
    height: 380px;
  }
}
.ordp .it .sku {
  display: block;
  direction: ltr;
  text-align: right;
  unicode-bidi: isolate;
}
.ordp .it > div {
  min-width: 0;
}
.ordp .mcp {
  gap: 6px !important;
  padding: 3px 4px 3px 10px !important;
  color: var(--t1);
}
.ordp .mcp svg {
  width: 11px;
  height: 11px;
  stroke: #55586a;
  fill: none;
  stroke-width: 2.2;
}
.ordp .mcp .cl {
  display: inline-flex;
  direction: ltr;
}
.ordp .mcp .cl b {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  color: #fff;
  font-size: 9px;
  display: grid;
  place-items: center;
  margin-inline-start: -6px;
  font-weight: 700;
}
.ordp .mcp .cl b:first-child {
  margin-inline-start: 0;
}
.ordp .av {
  background: var(--vio-bg) !important;
  color: var(--vio);
  font-weight: 600;
  font-size: 13px;
}
.ordp .win .shell {
  padding-top: 14px;
}
.ordp .mcp .cl b svg {
  width: 10px;
  height: 10px;
  display: block;
}
/* laptop lid around the dashboard, same as the homepage build demo (hv-laptop) */
.ordp .hero2 .band {
  background: none;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}
.ordp .hero2 .band .media {
  display: none;
}
.ordp .hero2 .tilt {
  position: relative;
  padding: 14px;
  border: 1px solid #2c2c33;
  border-radius: 18px;
  background: linear-gradient(180deg, #1d1d22 0%, #121216 100%);
  box-shadow: 0 50px 90px -40px rgba(30, 24, 50, 0.45);
}
.ordp .hero2 .tilt::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  width: 6px;
  height: 6px;
  translate: -50% 0;
  border-radius: 50%;
  background: #34343c;
  box-shadow: inset 0 0 0 2px #26262c;
}
.ordp .hero2 .win {
  border-radius: 8px;
  box-shadow: none;
  background: linear-gradient(135deg, #ece7f7 0%, #f6f1ea 55%, #e8eff8 100%);
}
.ordp .tagm {
  min-width: 210px;
  gap: 2px;
}
.ordp .tagm .tq {
  display: block;
  border: 1px solid var(--bd);
  border-radius: 8px;
  padding: 7px 10px;
  color: #9a9cab;
  margin-bottom: 4px;
}
.ordp .tagm div {
  gap: 10px;
}
/* photo back behind the device + nickel rim + thinner bezel */
.ordp .hero2 .band {
  background: #cfc4b6;
  border-radius: 32px;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 34px) clamp(14px, 2.6vw, 40px);
}
.ordp .hero2 .band .media {
  display: block;
}
.ordp .hero2 .tilt {
  padding: 8px;
  border: 3px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #18181c, #0e0e11) padding-box,
    linear-gradient(145deg, #f4f5f7 0%, #b4b7be 28%, #eef0f2 50%, #9ea2aa 74%, #e6e8eb 100%)
      border-box;
  box-shadow:
    0 40px 80px -30px rgba(20, 14, 5, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.25);
}
.ordp .hero2 .tilt::before {
  top: 2px;
  width: 4px;
  height: 4px;
}
.ordp .hero2 .win {
  border-radius: 10px;
}
.ordp .cb.part {
  background: var(--vio);
  border-color: var(--vio);
}
.ordp .cb.part::after {
  content: '−';
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}
.ordp td.tags {
  white-space: nowrap;
}
.ordp td.tags .tagc {
  margin: 0 0 0 4px;
}
.ordp .tagc.new {
  background: var(--vio-bg);
  border-color: var(--vio-bd);
  color: var(--vio);
  animation: ordp-pop 0.35s;
}
.ordp .hero2 {
  grid-template-columns: minmax(270px, 320px) 1fr;
  gap: 28px;
  max-width: 1600px;
}
.ordp .hero2 h1 {
  font-size: clamp(34px, 3.2vw, 50px);
}
.ordp .hero2 .split-copy p {
  font-size: 17px;
}
.ordp .win .c-n,
.ordp .win td.v-n {
  display: none;
}
.ordp .hero2 {
  grid-template-columns: minmax(330px, 360px) 1fr;
}
.ordp .hero2 h1 {
  font-size: clamp(32px, 2.9vw, 46px);
}
.ordp .win th.c-k,
.ordp .win td.kebab {
  display: none;
}
.ordp .hero2 .cta {
  flex-wrap: nowrap;
}
.ordp .hero2 .cta .btn {
  padding: 12px 18px;
  font-size: 15px;
  white-space: nowrap;
}
.ordp .ch-head h2,
.ordp .mg-copy h2 {
  margin-top: 0;
}
.ordp .hero2 {
  column-gap: clamp(40px, 5vw, 80px) !important;
}
/* alternating section tints: same lightness family, hue shifts only */
.ordp {
  --t-white: #fcfbf8;
  --t-lav: #f3f0fa;
  --t-sage: #eef4f0;
  --t-sand: #f7f1e7;
  --t-sky: #edf2f8;
  --t-blush: #f7eff2;
  --t-mist: #f1f1f5;
}
.ordp > section.chap {
  padding-block: 56px !important;
}
.ordp #statuses {
  background: var(--t-white);
}
.ordp #fields {
  background: var(--t-lav);
}
.ordp #internal {
  background: var(--t-sage);
}
.ordp #labels {
  background: var(--t-sand);
}
.ordp #invoices {
  background: var(--t-sky);
}
.ordp #edit {
  background: var(--t-blush);
}
.ordp #returns {
  background: var(--t-sage);
}
.ordp #merge {
  background: var(--t-mist);
}
.ordp #more {
  background: var(--t-white);
}
.ordp > section.chap:last-of-type {
  background: var(--t-lav);
}
.ordp .duo > .dlgw,
.ordp .duo > .panel {
  height: fit-content;
  align-self: center;
}
/* soft fades between sections + two deep-navy sections */
.ordp > section.chap {
  padding-block: 128px 56px !important;
  background: linear-gradient(180deg, var(--from) 0, var(--to) 80px, var(--to) 100%) !important;
}
.ordp #statuses {
  --from: #f6f3ee;
  --to: #fcfbf8;
}
.ordp #fields {
  --from: #fcfbf8;
  --to: #f3f0fa;
}
.ordp #internal {
  --from: #f3f0fa;
  --to: #eef4f0;
}
.ordp #labels {
  --from: #eef4f0;
  --to: #f7f1e7;
}
.ordp #invoices {
  --from: #f7f1e7;
  --to: #142038;
}
.ordp #edit {
  --from: #142038;
  --to: #f7eff2;
}
.ordp #returns {
  --from: #f7eff2;
  --to: #eef4f0;
}
.ordp #merge {
  --from: #eef4f0;
  --to: #f1f1f5;
}
.ordp #more {
  --from: #f1f1f5;
  --to: #fcfbf8;
}
.ordp #ai {
  --from: #fcfbf8;
  --to: #0f1830;
}
.ordp #invoices,
.ordp #ai {
  color: #e8ecf6;
}
.ordp #invoices .ch-head h2,
.ordp #ai .ch-head h2 {
  color: #fff;
}
.ordp #invoices .ch-head p,
.ordp #ai .ch-head p {
  color: #b9c1d9;
}
.ordp #ai .sf {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.ordp #ai .sf b {
  color: #fff;
}
.ordp #ai .sf span {
  color: #b9c1d9;
}
.ordp #ai .sf code {
  color: #c9b6ff;
}
.ordp > section.chap[id] {
  padding-top: 120px !important;
}
/* long blends: each section keeps its colour, then melts into the next one */
.ordp > section.chap {
  background: linear-gradient(
    180deg,
    var(--c) 0,
    var(--c) calc(100% - 260px),
    var(--n) 100%
  ) !important;
}
.ordp > section.chap[id] {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}
.ordp #statuses {
  background: linear-gradient(
    180deg,
    #f6f3ee 0,
    var(--c) 140px,
    var(--c) calc(100% - 260px),
    var(--n) 100%
  ) !important;
}
.ordp #statuses {
  --c: #fcfbf8;
  --n: #f3f0fa;
}
.ordp #fields {
  --c: #f3f0fa;
  --n: #eef4f0;
}
.ordp #internal {
  --c: #eef4f0;
  --n: #f7f1e7;
}
.ordp #labels {
  --c: #f7f1e7;
  --n: #142038;
}
.ordp #invoices {
  --c: #142038;
  --n: #f7eff2;
}
.ordp #edit {
  --c: #f7eff2;
  --n: #eef4f0;
}
.ordp #returns {
  --c: #eef4f0;
  --n: #f1f1f5;
}
.ordp #merge {
  --c: #f1f1f5;
  --n: #fcfbf8;
}
.ordp #more {
  --c: #fcfbf8;
  --n: #0f1830;
}
.ordp #ai {
  --c: #0f1830;
  --n: #0f1830;
}
/* Shopify-style: solid blocks, rounded top corners stacked over the previous section */
.ordp > section.chap {
  position: relative;
  margin-top: -48px;
  border-radius: 48px 48px 0 0;
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}
.ordp > section.chap[id] {
  padding-top: 96px !important;
}
.ordp #statuses {
  background: #ffffff !important;
}
.ordp #fields {
  background: #f6f3ee !important;
}
.ordp #internal {
  background: #0f1830 !important;
}
.ordp #labels {
  background: #ffffff !important;
}
.ordp #invoices {
  background: #f6f3ee !important;
}
.ordp #edit {
  background: #0f1830 !important;
}
.ordp #returns {
  background: #ffffff !important;
}
.ordp #merge {
  background: #f6f3ee !important;
}
.ordp #more {
  background: #ffffff !important;
}
.ordp #ai {
  background: #0f1830 !important;
}
.ordp #internal .ch-head h2,
.ordp #internal .mg-copy h2,
.ordp #edit .ch-head h2,
.ordp #edit .mg-copy h2,
.ordp #ai .ch-head h2,
.ordp #ai .mg-copy h2 {
  color: #fff;
}
.ordp #internal .ch-head p,
.ordp #edit .ch-head p,
.ordp #ai .ch-head p {
  color: #b9c1d9;
}
.ordp #invoices .ch-head h2 {
  color: var(--ink);
}
.ordp #invoices .ch-head p {
  color: var(--ink-2);
}
.ordp #invoices {
  color: inherit;
}
.ordp #ai .sf {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.ordp #ai .sf b {
  color: #fff;
}
.ordp #ai .sf span {
  color: #b9c1d9;
}
.ordp #ai .sf code {
  color: #c9b6ff;
}
.ordp .hero2 {
  padding-bottom: 96px !important;
}
.ordp > section.chap[id] {
  padding-bottom: 144px !important;
}
.ordp > section.chap[id]:last-of-type {
  padding-bottom: 96px !important;
}
.ordp #ai .chat {
  color: var(--ink);
}
.ordp #ai .chat header {
  color: var(--ink);
}
.ordp #ai .m.bot {
  color: var(--ink);
}
.ordp #ai .inbox {
  color: var(--muted);
}

/* Site-only adjustments on top of the ported artifact styles (orders.css). */

/* The site's BrandBar floats fixed at the top; the hero keeps clear of it. */
.ordp .hero2 {
  padding-top: 112px;
}

/* The artifact sized the hero against its own 72px nav; here the BrandBar overlays the page. */
@media (min-width: 1181px) {
  .ordp .hero2 {
    min-height: 100vh;
  }
}

/* Narrow screens: copy above the device, one column. A later artifact rule pinned two columns at every
   width, which squeezed the device to a sliver on phones. */
@media (max-width: 1180px) {
  .ordp .hero2 {
    grid-template-columns: 1fr !important;
    padding-top: 96px;
  }
  .ordp .hero2 .band {
    height: 560px;
    min-height: 0;
  }
}

/* Up to 900px the hero window is drawn at its desktop size and scaled (orders-template.tsx sets the
   scale and the device height), so the band grows with the device instead of a fixed height. */
@media (max-width: 900px) {
  .ordp .hero2 .band {
    height: auto;
    padding: 16px 12px;
  }
  .ordp .hero2 .tilt {
    overflow: hidden;
    display: block;
  }
}

@media (max-width: 640px) {
  .ordp .hero2 .band {
    padding: 12px 10px;
    border-radius: 24px;
  }
}

/* Inside the scaled window keep the desktop dashboard: the narrow-screen rules (sidebar, columns,
   search, the create-order customer column) are meant for real narrow layouts, not a scaled screen. */
.ordp .win.is-scaled .shell {
  grid-template-columns: 186px 1fr;
}
.ordp .win.is-scaled .sb {
  display: flex;
}
.ordp .win.is-scaled .srch {
  display: flex;
}
.ordp .win.is-scaled th.hide-m:not(.c-view):not(.c-n),
.ordp .win.is-scaled td.hide-m:not(.v-view):not(.v-n),
.ordp .win.is-scaled .tbl .c-tot,
.ordp .win.is-scaled .tbl td.money,
.ordp .win.is-scaled td.tags {
  display: table-cell;
}
.ordp .win.is-scaled .oid + span {
  display: inline;
}
.ordp .win.is-scaled .co-b {
  grid-template-columns: 1.12fr 0.88fr;
}
.ordp .win.is-scaled .co-cust {
  display: block;
}
.ordp .win.is-scaled .pfoot {
  grid-template-columns: 1fr auto 1fr;
}
.ordp .win.is-scaled .pfoot .saved,
.ordp .win.is-scaled .pc .num {
  display: inline-flex;
}

/* Phones: one screen-ish per section. Shorter photos, the floating phone / label / invoice scaled to
   match, compact headings and spacing. */
@media (max-width: 640px) {
  .ordp > section.chap[id] {
    padding-top: 80px !important;
    padding-bottom: 104px !important;
  }
  .ordp .ch-head {
    margin-bottom: 16px;
    gap: 10px;
  }
  .ordp .ch-head h2,
  .ordp .mg-copy h2 {
    font-size: 30px;
  }
  .ordp .ch-head p,
  .ordp .mg-copy p {
    font-size: 15.5px;
  }
  .ordp .duo,
  .ordp .duo.rev {
    gap: 14px;
  }
  .ordp .stage {
    height: 270px;
    min-height: 0;
    border-radius: 20px;
  }
  .ordp .stage .phone {
    scale: 0.56;
  }
  .ordp .stage .label {
    scale: 0.82;
  }
  .ordp .stage .doc {
    scale: 0.66;
  }
  .ordp .m-photo {
    border-radius: 20px;
  }
  .ordp .rules {
    font-size: 14.5px;
  }
  .ordp .more {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .ordp .mt {
    padding: 14px;
    gap: 6px;
    border-radius: 16px;
  }
  .ordp .mt svg {
    width: 22px;
    height: 22px;
  }
  .ordp .mt h3 {
    font-size: 15px;
  }
  .ordp .mt p {
    font-size: 13px;
  }
  .ordp .chat {
    min-height: 0;
  }
  .ordp .sf {
    padding: 14px 16px;
  }
}

/* The demo cursor and scenes are decoration: they never catch clicks meant for the page. */
.ordp .cursor,
.ordp .win,
.ordp .scene .dlgw,
.ordp .scene .panel,
.ordp .stage {
  user-select: none;
}

/* SKU sits under the product name on its own line, on the reading-start side in both directions. */
.ordp[dir='rtl'] .it .sku {
  text-align: right;
}
.ordp[dir='ltr'] .it .sku {
  text-align: left;
}

/* A returns row whose action is done keeps no empty button frame. */
.ordp .rbtn:empty {
  display: none;
}

/* Chat convention in a left-to-right page: the visitor on the right, the assistant on the left. */
.ordp[dir='ltr'] .m.me {
  align-self: flex-end;
  border-end-start-radius: 18px;
  border-end-end-radius: 4px;
}
.ordp[dir='ltr'] .m.bot {
  align-self: flex-start;
  border-end-end-radius: 18px;
  border-end-start-radius: 4px;
}

/* The demo disclaimer closes the dark AI section instead of sitting on a lone paper strip. */
.ordp > .wrap {
  max-width: none;
  background: #0f1830;
  padding-block: 0 40px;
}
.ordp > .wrap .foot {
  max-width: 1240px;
  margin: 0 auto;
  padding-block: 0;
  color: #8a93ae;
}

/* The scene cursor stays hidden until its first move, instead of parking in a corner. */
.ordp .cursor {
  opacity: 0;
}

@media (max-width: 640px) {
  /* The floating invoice is taller than the phone photo: shrink and centre it inside the frame. */
  .ordp .stage .doc {
    scale: 0.58;
    translate: 0 6px;
  }
  /* Narrow tables inside the section dialogs fit the card instead of clipping the last column. */
  .ordp .scene .tbl {
    table-layout: auto;
  }
  .ordp .scene .tbl th,
  .ordp .scene .tbl td {
    padding-inline: 6px;
    font-size: 12px;
  }
  .ordp .scene .panel {
    overflow-x: auto;
  }
}

/* The artifact hid the total column on phones for the hero table only, but its rule hit every table. */
@media (max-width: 640px) {
  .ordp .scene .tbl td.money {
    display: table-cell;
  }
}

/* Merge cards on phones: the hero-table rule `.oid + span {display:none}` also hid the status pill that
   follows the order id here. Show it, and lay the cards out so all four fit the photo. */
@media (max-width: 640px) {
  .ordp .mc .oid + span {
    display: inline-flex;
  }
  .ordp .mc {
    width: 98px;
    padding: 7px 8px;
    gap: 3px;
    font-size: 10.5px;
    left: calc(var(--x) - 49px);
    top: 10%;
  }
  .ordp .mc .oid {
    font-size: 10.5px;
  }
  .ordp .mc .st {
    font-size: 10px;
    padding: 0 6px;
  }
  .ordp .mc:nth-of-type(3) {
    display: grid;
    top: 10%;
  }
  .ordp .mc.target {
    width: 132px;
    top: auto;
    bottom: 8%;
    left: calc(78% - 66px);
  }
  .ordp .mc.target small {
    display: block;
    font-size: 10px;
  }
  .ordp .mdone .mc:not(.target) {
    left: calc(78% - 49px);
    top: 55%;
  }
}

@media (max-width: 640px) {
  /* Three source cards side by side without overlapping on a 350px photo. */
  .ordp .mc:not(.target) {
    width: 86px;
    padding: 6px 7px;
  }
  .ordp .mc:not(.target) .oid {
    font-size: 9.5px;
  }
  .ordp .mc:nth-of-type(1) {
    left: 4%;
  }
  .ordp .mc:nth-of-type(2) {
    left: 31%;
  }
  .ordp .mc:nth-of-type(3) {
    left: 58%;
  }
}

@media (max-width: 640px) {
  /* Seven cards in two columns: the last one spans the row instead of sitting alone. */
  .ordp .more .mt:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

