@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&family=Barlow+Condensed:wght@600;700&display=swap');

/* حيّاك (المنصة): ليلي دافي، وكهرماني للقهوة */
:root {
  --bg: #fbf7ef;
  --bg2: #f3ecdf;
  --card: #ffffff;
  --ink: #1c2321;
  --muted: #5f6b67;
  --line: #e8e0d1;
  --night: #0f3a35;
  --night2: #0a2b27;
  --amber: #f0a43a;
  --amber-soft: rgba(240, 164, 58, .16);
  --teal: #1f8a78;
  --teal-soft: rgba(31, 138, 120, .1);
  --danger: #c4513f;
  --font: 'Tajawal', system-ui, sans-serif;
  --num: 'Barlow Condensed', 'Tajawal', sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 24px 60px -28px rgba(15, 58, 53, .45);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 0; font-weight: 800; font-size: 15.5px; cursor: pointer; transition: transform .2s var(--spring), box-shadow .2s, background .2s; }
.btn:active { transform: scale(.97); }
.btn.amber { background: var(--amber); color: var(--night2); box-shadow: 0 12px 28px -12px rgba(240, 164, 58, .8); }
.btn.amber:hover { transform: translateY(-2px); }
.btn.ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.btn.dark { background: var(--night); color: #fff; }
.btn.line { background: var(--card); border: 1.5px solid var(--line); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* الشريط */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--night) 88%, transparent); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: -.5px; }
.mark i { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--amber); color: var(--night2); font-style: normal; font-size: 19px; }
.top nav { display: flex; gap: 20px; margin-inline-start: auto; font-size: 14.5px; font-weight: 700; opacity: .85; }
.top nav a:hover { opacity: 1; color: var(--amber); }
.top .btn { padding: 9px 18px; font-size: 14px; }

/* الواجهة */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(240, 164, 58, .22), transparent 60%), linear-gradient(180deg, var(--night), var(--night2)); color: #fff; padding: 64px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 13px; font-weight: 700; color: var(--amber); }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.15; font-weight: 900; margin: 18px 0 16px; letter-spacing: -1px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p.lead { font-size: 18px; opacity: .82; max-width: 34em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .proof { display: flex; gap: 22px; margin-top: 30px; font-size: 13.5px; opacity: .75; flex-wrap: wrap; }
.hero .proof b { font-family: var(--num); font-size: 26px; color: #fff; display: block; line-height: 1; opacity: 1; }

/* جوال في الواجهة */
.phone { position: relative; width: min(320px, 100%); margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 42px; background: #0b1412; padding: 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(255, 255, 255, .08); transform: rotate(-3deg); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(-3deg) translateY(-10px); } }
.screen { height: 100%; border-radius: 32px; background: var(--bg); color: var(--ink); overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 18px 14px; }
.scr-head { display: flex; align-items: center; justify-content: space-between; font-weight: 900; font-size: 18px; color: var(--night); }
.scr-head span { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.scr-card { background: var(--card); border-radius: 18px; padding: 12px; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .3); }
.scr-card small { color: var(--muted); font-size: 11.5px; display: block; }
.scr-card b { font-size: 14px; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.stamps i { aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--line); display: grid; place-items: center; font-style: normal; font-size: 14px; }
.stamps i.on { border: 0; background: var(--amber); animation: pop .5s var(--spring) both; animation-delay: calc(var(--d) * 140ms + .6s); }
@keyframes pop { from { transform: scale(0); } }
.plate { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 8px 10px; border: 2px solid var(--ink); border-radius: 10px; font-family: var(--num); font-size: 20px; letter-spacing: 2px; }
.arrive { margin-top: auto; padding: 14px; border-radius: 16px; background: var(--night); color: #fff; text-align: center; font-weight: 800; font-size: 15px; position: relative; overflow: hidden; }
.arrive::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent); transform: translateX(100%); animation: shine 2.6s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(-100%); } }
.toast { position: absolute; inset-inline-start: -30px; top: 22%; background: var(--card); color: var(--ink); border-radius: 16px; padding: 10px 14px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; transform: rotate(3deg); animation: toastIn .6s var(--spring) 1.4s both; }
.toast.two { inset-inline-start: auto; inset-inline-end: 0; top: 62%; animation-delay: 2.2s; }
@keyframes toastIn { from { opacity: 0; transform: rotate(3deg) translateY(14px) scale(.9); } }

/* الأقسام */
section.block { padding: 84px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; line-height: 1.25; letter-spacing: -.5px; }
.sec-head p { color: var(--muted); font-size: 16.5px; margin-top: 10px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; transition: transform .25s var(--spring), box-shadow .25s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat .ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; background: var(--amber-soft); margin-bottom: 14px; }
.feat h3 { font-size: 18px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 14.5px; }
.feat .pro { display: inline-block; margin-top: 10px; font-size: 11.5px; font-weight: 800; color: var(--teal); background: var(--teal-soft); padding: 3px 9px; border-radius: 999px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 26px 24px; border-radius: 24px; background: var(--night); color: #fff; overflow: hidden; }
.step::before { counter-increment: s; content: counter(s); position: absolute; inset-inline-end: 16px; top: -8px; font-family: var(--num); font-size: 96px; color: rgba(255, 255, 255, .07); }
.step h3 { font-size: 18px; margin-bottom: 6px; color: var(--amber); }
.step p { opacity: .8; font-size: 14.5px; }

.pricing { background: var(--bg2); }
.cycle { display: flex; justify-content: center; margin-bottom: 28px; }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); gap: 2px; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 18px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--night); color: #fff; }
.seg em { font-style: normal; color: var(--amber); font-size: 12px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 18px; }
.plan { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan.pro { background: var(--night); color: #fff; border-color: var(--night); box-shadow: var(--shadow); }
.plan.pro .muted { color: rgba(255, 255, 255, .7); }
.plan .tag { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--amber); color: var(--night2); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.muted { color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--num); font-size: 52px; line-height: 1; }
.plan.pro .price b { color: var(--amber); }
.price small { font-size: 14px; opacity: .7; }
.plan ul { list-style: none; display: grid; gap: 8px; flex: 1; font-size: 14.5px; }
.plan li::before { content: '✓'; font-weight: 900; color: var(--teal); margin-inline-end: 10px; }
.plan.pro li::before { color: var(--amber); }
.plan .btn { width: 100%; }
.trial-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }

.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--teal); font-size: 22px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: 10px; font-size: 15px; }

.cta { padding: 0 0 84px; }
.cta .box { border-radius: 32px; padding: 48px 32px; text-align: center; color: #fff; background: radial-gradient(600px 240px at 50% 0, rgba(240, 164, 58, .3), transparent 70%), var(--night); }
.cta h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 900; margin-bottom: 10px; }
.cta p { opacity: .8; margin-bottom: 24px; }
footer { padding: 28px 0 40px; color: var(--muted); font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s var(--spring); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { margin-top: 20px; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: minmax(0, 420px); }
}
@media (max-width: 600px) {
  .top nav { display: none; }
  .top .btn { margin-inline-start: auto; }
  .hero { padding: 40px 0 70px; }
  .features, .steps { grid-template-columns: 1fr; }
  .toast { inset-inline-start: -6px; } .toast.two { inset-inline-end: -6px; }
  section.block { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* التسجيل */
.start { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
.start-form { padding: 40px max(24px, 6vw); display: flex; flex-direction: column; gap: 22px; }
.start-form .mark { color: var(--night); }
.start-form h1 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 900; line-height: 1.25; }
.start-form > p { color: var(--muted); margin-top: -12px; }
.fs { border: 0; display: grid; gap: 14px; padding: 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); transition: opacity .3s; }
.fs legend { float: right; width: 100%; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; margin-bottom: 4px; }
.fs legend i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-size: 14px; background: var(--amber-soft); color: #9a5f0c; }
.fs.done legend i { background: var(--teal); color: #fff; }
.fld { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.fld small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.fld input { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.fld input:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.fld input.bad { border-color: var(--danger); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.slug-box { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); direction: ltr; transition: border-color .2s; }
.slug-box:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.slug-box input { border: 0; border-radius: 0; background: none; box-shadow: none !important; min-width: 0; }
.slug-box span { display: grid; place-items: center; padding: 0 12px; background: var(--bg2); color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.hint { font-size: 13px; font-weight: 700; min-height: 1.4em; }
.hint.ok { color: var(--teal); }
.hint.bad { color: var(--danger); }
.otp-row { display: flex; gap: 8px; }
.otp-row input { flex: 1; }
.otp-row .btn { padding: 10px 16px; font-size: 14px; flex: none; }
.otp-code { letter-spacing: 8px; text-align: center; font-family: var(--num); font-size: 22px !important; }
.verified { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 800; font-size: 14px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.errs { padding: 12px 16px; border-radius: 14px; background: rgba(196, 81, 63, .1); color: var(--danger); font-weight: 700; font-size: 14px; }
.start-side { position: sticky; top: 0; height: 100vh; background: radial-gradient(500px 300px at 70% 10%, rgba(240, 164, 58, .25), transparent 70%), var(--night); color: #fff; padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.url-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; padding: 20px; }
.url-card small { opacity: .7; font-size: 13px; }
.url-card b { display: block; direction: ltr; text-align: left; font-size: 19px; margin-top: 6px; color: var(--amber); overflow-wrap: anywhere; }
.url-card .shop { font-size: 26px; font-weight: 900; margin-top: 12px; }
.perks { list-style: none; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; opacity: .9; }
.perks li i { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-style: normal; }
@media (max-width: 900px) {
  .start { grid-template-columns: 1fr; }
  .start-side { position: static; height: auto; order: -1; padding: 28px 20px; }
  .perks { display: none; }
  .row2 { grid-template-columns: 1fr; }
}

/* طلب التجربة */
.fld select, .fld textarea { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); font: inherit; font-size: 16px; resize: vertical; }
.fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chips input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px var(--teal-soft); }
.fine { color: var(--muted); font-size: 13px; margin-top: -8px; }
.flow { list-style: none; counter-reset: s; display: grid; gap: 14px; margin-top: 14px; }
.flow li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; font-size: 14px; opacity: .85; }
.flow li::before { content: counter(s, arabic-indic); grid-row: span 2; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--amber); color: var(--night2); font-weight: 900; }
.flow li b { font-size: 16px; opacity: 1; }
.thanks { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(600px 360px at 50% 0%, rgba(240, 164, 58, .22), transparent 70%), var(--bg); }
.thanks .box { max-width: 460px; text-align: center; display: grid; gap: 14px; justify-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 36px 28px; box-shadow: var(--shadow); }
.thanks h1 { font-size: 26px; font-weight: 900; line-height: 1.3; }
.thanks p { color: var(--muted); }
.ok-badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 30px; font-weight: 900; animation: pop .5s var(--spring); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* لوحة السوبر أدمن (جوال أولاً، وتنضاف للشاشة الرئيسية) */
.adm-body { background: var(--bg2); min-height: 100vh; padding-bottom: env(safe-area-inset-bottom); }
.adm-top { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: calc(12px + env(safe-area-inset-top)) 16px 12px; background: var(--night); color: #fff; }
.adm-top .mark { font-size: 19px; }
.adm-top .mark i { width: 30px; height: 30px; font-size: 16px; }
.adm-link { background: none; border: 0; color: rgba(255, 255, 255, .75); font-weight: 700; cursor: pointer; padding: 6px; }
.adm { width: min(760px, 100% - 24px); margin: 14px auto; display: grid; gap: 12px; }
.adm-flash { padding: 10px 14px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); font-weight: 800; }
.adm-push { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 20px; background: var(--night); color: #fff; }
.adm-push p { font-size: 13.5px; opacity: .8; }
.adm-push .btn { flex: none; padding: 10px 18px; font-size: 14px; }
.adm-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--card); border-radius: 16px; border: 1px solid var(--line); }
.adm-tabs a { text-align: center; padding: 10px; border-radius: 12px; font-weight: 800; color: var(--muted); }
.adm-tabs a.on { background: var(--night); color: #fff; }
.adm-tabs em { font-style: normal; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--amber); color: var(--night2); font-size: 12.5px; margin-inline-start: 4px; }
.adm-tabs em.soft { background: rgba(127, 127, 127, .18); color: inherit; }
.adm-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.adm-chips a { flex: none; padding: 7px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; }
.adm-chips a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.adm-chips small { opacity: .6; }
.lead { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: grid; gap: 12px; scroll-margin-top: 80px; }
.lead.st-new { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.lead:target { animation: flash 1.6s; }
@keyframes flash { 30% { box-shadow: 0 0 0 6px var(--amber-soft); } }
.lead-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.lead-head h2 { font-size: 19px; font-weight: 900; line-height: 1.3; }
.lead-head p { color: var(--muted); font-size: 14px; }
.st { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: var(--bg2); color: var(--muted); }
.st-new .st { background: var(--amber); color: var(--night2); }
.st-contacted .st, .st-trial { background: var(--teal-soft); color: var(--teal); }
.st-invited .st { background: rgba(15, 58, 53, .12); color: var(--night); }
.st-won .st, .st-active, .st-founder { background: var(--teal); color: #fff; }
.st-expired, .st-grace { background: rgba(196, 81, 63, .12); color: var(--danger); }
.lead-who { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 15px; }
.lead-who time { color: var(--muted); font-size: 13px; margin-inline-start: auto; }
.lead-notes { background: var(--bg); border-radius: 14px; padding: 10px 12px; font-size: 14.5px; }
.lead-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.lead-acts .btn { padding: 9px 14px; font-size: 14px; flex: 1; }
.btn.wide { width: 100%; }
.invite { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: var(--amber-soft); }
.invite small { color: #9a5f0c; font-weight: 700; }
.invite-row { display: flex; gap: 8px; }
.invite-row input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 13px; }
.invite-row .btn, .invite > .btn { padding: 9px 16px; font-size: 14px; }
.lead-edit { display: flex; gap: 8px; border-top: 1px dashed var(--line); padding-top: 12px; }
.lead-edit select, .lead-edit input { padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font: inherit; font-size: 14px; }
.lead-edit input { flex: 1; min-width: 0; }
.lead-edit .btn { padding: 9px 14px; font-size: 14px; }
.adm-empty { text-align: center; padding: 48px 16px; color: var(--muted); font-weight: 700; background: var(--card); border-radius: 22px; border: 1px dashed var(--line); }
.adm-empty small { font-weight: 500; }
.shops { display: grid; gap: 8px; }
.shop-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; }
.shop-row small { display: block; color: var(--muted); font-size: 12.5px; }
.shop-meta { text-align: left; display: grid; justify-items: end; gap: 4px; }
.shop-row::after { content: '‹'; font-size: 22px; color: var(--muted); margin-inline-start: 4px; }
/* إدارة محل */
.shop-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.shop-stats div { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; background: var(--bg); text-align: center; }
.shop-stats b { font-family: var(--num); font-size: 22px; line-height: 1; }
.shop-stats b small { font-size: 13px; color: var(--muted); }
.shop-stats span { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.shop-stats .full { background: var(--amber-soft); }
.shop-form { display: grid; gap: 12px; }
.sf-title { font-size: 16px; font-weight: 900; }
.sf-hint { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.sf-now { font-size: 15px; }
.sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan-pick input { position: absolute; opacity: 0; }
.plan-pick span { display: grid; gap: 2px; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.plan-pick b { font-size: 17px; }
.plan-pick small { color: var(--muted); font-size: 12.5px; }
.plan-pick input:checked + span { border-color: var(--teal); background: var(--teal-soft); box-shadow: 0 0 0 3px var(--teal-soft); }
.plan-pick input:focus-visible + span { outline: 2px solid var(--teal); }
.extend { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 10px; border-radius: 16px; background: var(--amber-soft); }
.extend span { font-weight: 800; font-size: 13.5px; color: #9a5f0c; margin-inline-end: 4px; }
.extend .btn { padding: 8px 14px; font-size: 14px; }
.stepper { display: grid; grid-template-columns: 44px 1fr 44px; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); }
.stepper button { border: 0; background: var(--card); font-size: 20px; font-weight: 800; cursor: pointer; color: var(--teal); }
.stepper button:active { background: var(--teal-soft); }
.fld .stepper input { border: 0; border-radius: 0; text-align: center; font-family: var(--num); font-size: 20px; padding: 10px 4px; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.feat-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tog { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; font-weight: 700; font-size: 14px; }
.tog input { position: absolute; opacity: 0; }
.tog span { flex: 1; }
.tog i { flex: none; width: 42px; height: 24px; border-radius: 99px; background: var(--line); position: relative; transition: background .2s; }
.tog i::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: inset-inline-start .25s var(--spring); }
.tog input:checked ~ i { background: var(--teal); }
.tog input:checked ~ i::after { inset-inline-start: 21px; }
.tog:has(input:checked) { border-color: color-mix(in srgb, var(--teal) 35%, transparent); background: var(--teal-soft); }
.tog input:focus-visible ~ i { outline: 2px solid var(--teal); outline-offset: 2px; }
.sf-save { position: sticky; bottom: 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg2) 30%); }
@media (max-width: 560px) {
  .shop-stats { grid-template-columns: repeat(3, 1fr); }
  .sf-row, .plan-pick, .feat-toggles { grid-template-columns: 1fr; }
}
.adm-login { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(600px 360px at 50% 0%, rgba(240, 164, 58, .25), transparent 70%), var(--night); }
.adm-login .fs { width: min(400px, 100%); }
.adm-login .mark { color: var(--night); }
@media (max-width: 480px) { .lead-edit { flex-wrap: wrap; } .lead-edit input { flex-basis: 100%; order: -1; } }
@media (max-width: 900px) {
  .flow { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
  .flow li { grid-template-columns: 1fr; justify-items: center; text-align: center; font-size: 12px; row-gap: 4px; }
  .flow li::before { grid-row: auto; width: 26px; height: 26px; border-radius: 8px; font-size: 13px; }
  .flow li b { font-size: 13.5px; }
}
