/* The platform redrawn in HTML/CSS for the landing's window (owner 2026-12-04: «خُذها كـ CSS HTML»).
   One 1440 × 900 canvas, scaled to the window by app.js (--k); sample merchant data only. Prefix: .a- */
.screen { position: relative; aspect-ratio: 1440 / 900; overflow: hidden; background: #10141C; }
.a-app { position: absolute; top: 0; right: 0; width: 1440px; height: 900px; transform-origin: top right; transform: scale(var(--k, .8)); direction: rtl; text-align: start;
  font-family: var(--font); font-size: 14px; line-height: 1.45; color: #161B25; background: #10141C; -webkit-font-smoothing: antialiased; }
.a-app * { box-sizing: border-box; }
.a-app svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.a-n { font-family: "Easycod", sans-serif; font-variant-numeric: tabular-nums; }

/* side menu */
.a-side { position: absolute; top: 0; right: 0; bottom: 0; width: 230px; padding: 18px 12px 12px; color: #C9CDD5; display: flex; flex-direction: column; gap: 2px; }
.a-logo { height: 20px; width: auto; max-width: 180px; margin: 4px 8px 16px; align-self: flex-start; }
.a-brand { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: #1A1F29; margin-bottom: 12px; }
.a-brand b { display: block; color: #fff; font-weight: 600; font-size: 14px; }
.a-brand small { color: #A3A9B4; font-size: 12px; }
.a-search { display: flex; align-items: center; gap: 8px; height: 34px; padding-inline: 10px; border-radius: 9px; box-shadow: inset 0 0 0 1px #2A303C; color: #A3A9B4; font-size: 13px; margin-bottom: 12px; }
.a-search kbd { margin-inline-start: auto; font: 11px "Easycod", sans-serif; padding: 2px 6px; border-radius: 5px; box-shadow: inset 0 0 0 1px #2A303C; }
.a-item { position: relative; display: flex; align-items: center; gap: 10px; height: 34px; padding-inline: 10px; border-radius: 9px; font-size: 14px; color: #E6E8EC; transition: background .16s; }
.a-item .badge { margin-inline-start: auto; font-size: 12px; color: #A3A9B4; }
.a-item.on { background: #232A36; } .a-item.on svg.i { color: #EB485E; }
.a-item.press { background: #2C3442; }
.a-lbl { font-size: 12px; color: #A3A9B4; padding: 12px 10px 4px; display: flex; justify-content: space-between; }
.a-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-top: 1px solid #222833; font-size: 13px; color: #E6E8EC; }
.a-user i { width: 30px; height: 30px; border-radius: 50%; background: #2A303C; display: grid; place-items: center; font: 600 12px "Easycod", sans-serif; font-style: normal; }
.a-user small { display: block; color: #A3A9B4; font-size: 11px; }

/* page */
.a-main { position: absolute; top: 10px; right: 232px; left: 0; bottom: 0; background: #F8F9FA; border-radius: 0 14px 0 0; overflow: hidden; }
.a-page { position: absolute; inset: 0; padding: 22px 24px; opacity: 1; transition: opacity .32s var(--ease-out); }
.a-page.off { opacity: 0; pointer-events: none; }
.a-head { display: flex; align-items: center; gap: 10px; height: 40px; margin-bottom: 16px; }
.a-head h2, .a-head > b { display: block; margin: 0; font-size: 21px; font-weight: 600; }
.a-head .sp { flex: 1; }
.a-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding-inline: 12px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #DCDFE4; font-size: 13px; font-weight: 500; white-space: nowrap; }
.a-btn.flat { background: transparent; box-shadow: none; }
.a-btn.pink { background: linear-gradient(135deg, #D63A51, #AE223B); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .25); }
.a-card { background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px #E6E8EC; }

/* home */
.a-grid { display: grid; grid-template-columns: 760px 1fr; gap: 18px; }
.a-figs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #EEF0F3; }
.a-fig { padding: 18px 20px 16px; border-inline-start: 1px solid #EEF0F3; }
.a-fig:first-child { border-inline-start: 0; }
.a-fig.sel { background: #F7F8FA; }
.a-fig .t { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; }
.a-fig .t i { width: 8px; height: 8px; border-radius: 50%; background: #161B25; } .a-fig .t i.o { background: transparent; box-shadow: inset 0 0 0 1.5px #B9BEC7; }
.a-fig .t i.s { background: #5A6070; }
.a-fig b { display: block; margin: 8px 0 8px; font: 600 26px/1 "Easycod", sans-serif; letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.a-fig b small { font: 600 20px "Easycodarab", sans-serif; letter-spacing: 0; }
.a-up { display: inline-flex; align-items: center; gap: 3px; height: 24px; padding-inline: 8px; border-radius: 999px; background: #E3F6EA; color: #1F7A45; font: 500 13px "Easycod", sans-serif; }
.a-up.red { background: #FCE7EA; color: #B42339; }
.a-chart { position: relative; height: 330px; padding: 18px 20px 30px 54px; }
.a-chart svg { width: 100%; height: 100%; overflow: visible; }
.a-chart .grid line { stroke: #EEF0F3; stroke-width: 1; }
.a-chart .ylab { position: absolute; left: 18px; font: 12px "Easycod", sans-serif; color: #6B717E; transform: translateY(-50%); }
.a-chart .xlab { position: absolute; bottom: 6px; font-size: 12px; color: #6B717E; transform: translateX(50%); white-space: nowrap; }
.a-line { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.a-line.l1 { stroke: #161B25; } .a-line.l2 { stroke: #5A6070; stroke-width: 2; }
.a-area { opacity: 0; transition: opacity .64s var(--ease-out) 1s; }
.go .a-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.5, 0, .2, 1); }
.go .a-line.l2 { transition-delay: .16s; }
.go .a-area { opacity: 1; }
.a-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.a-row2 .a-card { padding: 18px 20px; height: 260px; }
.a-ct { font-size: 15px; font-weight: 600; margin: 0 0 14px; }
.a-stack { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 2px; margin: 10px 0 14px; }
.a-li { display: flex; align-items: center; gap: 10px; height: 40px; border-top: 1px solid #EEF0F3; font-size: 14px; }
.a-li .d { width: 8px; height: 8px; border-radius: 50%; }
.a-li .v { margin-inline-start: auto; font: 500 14px "Easycod", sans-serif; }
.a-ads { padding: 18px 0 0; }
.a-ads .top { padding: 0 20px 16px; border-bottom: 1px solid #EEF0F3; }
.a-ads .ttl { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 600; }
.a-ads .soc { display: flex; gap: 6px; } .a-ads .soc span { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px #E6E8EC; display: grid; place-items: center; font: 700 12px "Easycod", sans-serif; }
.a-ads .big { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.a-ads .big b { font: 600 28px "Easycod", sans-serif; }
.a-ads .big span:not(.a-up) { color: #6B717E; font: 14px "Easycod", sans-serif; }
.a-ads .sub { color: #6B717E; font: 13px "Easycod", sans-serif; margin-top: 4px; }
.a-ads .h2 { display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #EEF0F3; font-size: 14px; font-weight: 600; }
.a-ads .h2 span { font-weight: 400; color: #6B717E; font-size: 13px; }
.a-prod { display: flex; align-items: center; gap: 12px; padding: 10px 20px; border-bottom: 1px solid #EEF0F3; }
.a-prod img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex: none; }
.a-prod .nm { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; }
.a-prod .nm small { display: block; color: #6B717E; font: 12px "Easycod", sans-serif; }
.a-prod .c { text-align: end; font: 600 14px "Easycod", sans-serif; }
.a-prod .c small { display: block; color: #6B717E; font: 400 12px "Easycod", sans-serif; }
.a-red { color: #B42339; } .a-green { color: #1F7A45; }

/* orders */
.a-tabs { display: flex; gap: 22px; border-bottom: 1px solid #E6E8EC; margin-bottom: 16px; }
.a-tab { display: flex; align-items: center; gap: 7px; height: 40px; font-size: 14px; color: #5A6070; border-bottom: 2px solid transparent; }
.a-tab.on { color: #161B25; font-weight: 600; border-bottom-color: #161B25; }
.a-ofigs { display: grid; grid-template-columns: 150px repeat(5, 1fr); margin-bottom: 16px; }
.a-ofigs > div { padding: 16px 18px; border-inline-start: 1px solid #EEF0F3; }
.a-ofigs > div:first-child { border: 0; display: flex; align-items: center; gap: 6px; font-weight: 500; }
.a-ofigs .t { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #3A404C; }
.a-ofigs .t i { width: 7px; height: 7px; border-radius: 50%; }
.a-ofigs b { display: block; margin-top: 8px; font: 600 22px/1 "Easycod", sans-serif; }
.a-list { position: relative; overflow: hidden; }
.a-stabs { display: flex; gap: 8px; padding: 14px 16px; border-bottom: 1px solid #EEF0F3; }
.a-stab { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding-inline: 12px; border-radius: 999px; font-size: 13px; color: #3A404C; }
.a-stab.on { background: #F1F2F4; color: #161B25; font-weight: 600; }
.a-stab i { width: 7px; height: 7px; border-radius: 50%; }
.a-tools { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #EEF0F3; }
.a-tools .srch { flex: 1; max-width: 340px; display: flex; align-items: center; gap: 8px; height: 34px; padding-inline: 10px; border-radius: 9px; box-shadow: inset 0 0 0 1px #DCDFE4; color: #6B717E; font-size: 13px; }
.a-tools .sp { flex: 1; }
.a-tools .ib { width: 34px; height: 34px; border-radius: 9px; box-shadow: inset 0 0 0 1px #DCDFE4; display: grid; place-items: center; background: #fff; }
.a-th, .a-tr { display: grid; grid-template-columns: 110px 170px 120px 1fr 90px 120px 130px; align-items: center; column-gap: 12px; padding-inline: 18px; }
.a-th { height: 42px; font-size: 13px; color: #5A6070; font-weight: 500; border-bottom: 1px solid #EEF0F3; }
.a-tr { height: 52px; border-bottom: 1px solid #EEF0F3; font-size: 14px; transition: background .16s; }
.a-tr .no { font: 600 14px "Easycod", sans-serif; } .a-tr .no small, .a-tr small { display: block; color: #6B717E; font: 12px var(--font); font-weight: 400; }
.a-tr .ph { display: block; font: 12px "Easycod", sans-serif; color: #5A6070; }
.a-tr.hl { background: #F4F5F7; }
.a-st { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding-inline: 9px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .32s, color .32s; }
.a-st.new { background: #E8F0FE; color: #2D5BB5; } .a-st.ok { background: #E3F6EA; color: #1F7A45; } .a-st.na { background: #FEF3D7; color: #8A560C; }
.a-st svg.i { width: 14px; height: 14px; }
.a-risk { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding-inline: 6px; border-radius: 999px; background: #E3F6EA; color: #1F7A45; font: 600 12px "Easycod", sans-serif; }
.a-risk.n { background: #F1F2F4; color: #5A6070; font-family: var(--font); }

/* the order's panel (slides in from the left side of the list) */
.a-panel { position: absolute; top: 0; bottom: 0; left: 0; width: 470px; background: #fff; box-shadow: 1px 0 0 #E6E8EC, 12px 0 32px -16px rgb(22 27 37 / .18); transform: translateX(-104%); transition: transform .48s cubic-bezier(.16, 1, .3, 1); }
.a-panel.on { transform: none; }
.a-ph { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #EEF0F3; }
.a-ph b { font: 600 16px "Easycod", sans-serif; }
.a-ph .x { margin-inline-start: auto; color: #6B717E; }
.a-acts { display: flex; margin: 12px 16px; border-radius: 9px; box-shadow: inset 0 0 0 1px #DCDFE4; overflow: hidden; width: max-content; }
.a-acts span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding-inline: 12px; font-size: 13px; border-inline-start: 1px solid #DCDFE4; }
.a-acts span:first-child { border: 0; }
.a-note { padding: 0 16px 12px; font-size: 13px; color: #5A6070; }
.a-dec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px 16px; border-top: 1px solid #EEF0F3; border-bottom: 1px solid #EEF0F3; background: #FAFBFC; }
.a-dec span { display: flex; align-items: center; justify-content: space-between; height: 40px; padding-inline: 10px; border-radius: 9px; font-size: 14px; font-weight: 500; transition: transform .16s, box-shadow .16s; }
.a-dec span small { font: 600 11px "Easycod", sans-serif; width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; background: rgb(255 255 255 / .7); }
.a-dec .ok { background: #E3F6EA; color: #1F7A45; } .a-dec .na { background: #FEF3D7; color: #8A560C; } .a-dec .pp { background: #EFEBFE; color: #5B45C9; } .a-dec .no { background: #FCE7EA; color: #B42339; }
.a-dec .ok.press { transform: scale(.97); box-shadow: inset 0 0 0 2px #2F9A5E; }
.a-cust { padding: 14px 16px; display: grid; gap: 10px; }
.a-field { display: grid; gap: 4px; font-size: 13px; color: #3A404C; }
.a-field span { height: 36px; display: flex; align-items: center; padding-inline: 10px; border-radius: 9px; box-shadow: inset 0 0 0 1px #DCDFE4; color: #161B25; font-size: 14px; }
.a-field span.a-n { font-size: 14px; letter-spacing: .04em; }
.a-pl { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid #EEF0F3; }
.a-pl img { width: 40px; height: 40px; border-radius: 8px; }
.a-pl .nm { flex: 1; font-weight: 500; } .a-pl .nm small { display: block; color: #6B717E; font: 12px "Easycod", sans-serif; }

/* the toast and the pointer */
.a-toast { position: absolute; top: 14px; left: 16px; width: 300px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border-radius: 12px; z-index: 5;
  box-shadow: inset 0 0 0 1px #E6E8EC, 0 16px 36px -16px rgb(22 27 37 / .35); opacity: 0; transform: translateY(-10px); transition: opacity .32s var(--ease-out), transform .32s var(--ease-out); }
.a-toast.on { opacity: 1; transform: none; }
.a-toast .ic { width: 36px; height: 36px; border-radius: 10px; background: #F1F2F4; display: grid; place-items: center; flex: none; }
.a-toast .ic img { width: 22px; height: auto; }
.a-toast .ic.ok { background: #E3F6EA; color: #1F7A45; }
.a-toast .tx { flex: 1; min-width: 0; font-size: 13px; color: #5A6070; }
.a-toast .tx b { display: block; color: #161B25; font-weight: 600; font-size: 14px; }
.a-toast .tm { font-size: 12px; color: #6B717E; align-self: flex-start; }
.a-cursor { position: absolute; top: 0; left: 0; width: 26px; height: 26px; z-index: 9; pointer-events: none; opacity: 0; transform: translate(var(--x, 900px), var(--y, 820px));
  transition: transform .9s cubic-bezier(.45, 0, .2, 1), opacity .32s; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .25)); }
.a-cursor.on { opacity: 1; }
.a-cursor svg { width: 26px; height: 26px; transition: transform .12s; }
.a-cursor.click svg { transform: scale(.84); }
.a-cursor::after { content: ""; position: absolute; top: -10px; left: -10px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #EB485E; opacity: 0; transform: scale(.4); }
.a-cursor.click::after { animation: a-ring .48s var(--ease-out); }
@keyframes a-ring { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.8); } }
@media (prefers-reduced-motion: reduce) { .a-line { stroke-dashoffset: 0; } .a-area { opacity: 1; } .a-cursor { display: none; } }
/* phones see only the right part of the window: the order's panel and the toast come from that side there */
.a-app.narrow .a-panel { left: auto; right: 0; transform: translateX(104%); box-shadow: -1px 0 0 #E6E8EC, -12px 0 32px -16px rgb(22 27 37 / .18); }
.a-app.narrow .a-panel.on { transform: none; }
.a-app.narrow .a-toast { left: auto; right: 16px; }
