@font-face { font-family: "Alexandria"; src: url("../fonts/Alexandria.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Bodoni"; src: url("../fonts/BodoniModa-Italic.ttf") format("truetype"); font-weight: 400 900; font-style: italic; font-display: swap; }

/* نفس ألوان موقع البادل، ومسافات وخطوط من سكيل ثابت */
:root {
  --bg: #FFFFFF; --surface: #F5F5F6; --ink: #141416; --muted: #74767C; --hair: #E7E7EA;
  --accent: #1E7A4C; --accent-soft: #E8F3ED; --warn: #B4541A; --warn-soft: #FBEFE6;
  --on-ink: #FFFFFF;
  /* مسافات: 4 8 12 16 24 32 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --gut: 20px;
  /* خطوط: 12 14 16 20 28 40 */
  --t1: 12px; --t2: 14px; --t3: 16px; --t4: 20px; --t5: 28px; --t6: 40px;
  --r-lg: 20px; --r: 14px; --r-sm: 10px;
  --tap: 48px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; direction: rtl; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Alexandria", system-ui, sans-serif; font-size: var(--t2); line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

.app {
  max-width: 460px; margin: 0 auto;
  padding-top: max(var(--s6), env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--nav-h) + 96px + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}
.page { display: flex; flex-direction: column; gap: var(--s6); }
.page.tight { gap: var(--s4); }
.page.mid { gap: var(--s5); }

/* الهيدر */
.head { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: var(--s3); }
.head > div { min-width: 0; }
.wordmark { margin: 0; font-family: "Bodoni", Georgia, serif; font-style: italic; font-weight: 500; font-size: var(--t5); line-height: 1; direction: ltr; }
h1 { margin: 0; font-size: var(--t4); font-weight: 700; line-height: 1.3; }
.sub { font-size: var(--t1); color: var(--muted); margin-top: var(--s1); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 600; font-size: var(--t2); flex: none; }
.iconbtn { height: 40px; padding: 0 var(--s4); border-radius: 999px; border: 1px solid var(--hair); display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; font-size: var(--t1); white-space: nowrap; flex: none; }
.iconbtn svg { width: 16px; height: 16px; }
.demo-note { font-size: var(--t1); color: var(--warn); background: var(--warn-soft); border-radius: var(--r-sm); padding: var(--s2) var(--s3); }

/* أقسام */
.sec { display: flex; flex-direction: column; gap: var(--s3); }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.sec-h h2 { margin: 0; font-size: var(--t3); font-weight: 700; }
.sec-h button { font-size: var(--t1); color: var(--accent); font-weight: 600; padding: var(--s1) 0; }
.empty { color: var(--muted); font-size: var(--t2); padding: var(--s4) 0; text-align: center; }

/* تابات */
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--s1); padding: var(--s1); background: var(--surface); border-radius: var(--r); }
.tabs button { height: 40px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; gap: var(--s2); color: var(--muted); font-weight: 600; font-size: var(--t2); }
.tabs button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 0 0 1px var(--hair); }
.tabs em { font-style: normal; font-size: var(--t1); background: var(--accent); color: var(--on-ink); border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 6px; }

/* الرقم الكبير */
.hero { background: var(--accent-soft); border-radius: var(--r-lg); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); }
.hero .k { font-size: var(--t2); color: var(--accent); font-weight: 600; }
.hero .v { font-size: var(--t6); font-weight: 700; line-height: 1.1; }
.hero .v small { font-size: var(--t3); font-weight: 500; margin-inline-start: var(--s1); }
.hero .split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s2); padding-top: var(--s4); border-top: 1px solid rgba(30, 122, 76, .18); }
.hero .split span { display: block; font-size: var(--t1); color: var(--muted); }
.hero .split b { font-size: var(--t3); font-weight: 700; }

/* صفوف */
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li { border-top: 1px solid var(--hair); }
.rows > li:first-child { border-top: 0; }
.row { display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: 60px; padding: var(--s3) 0; }
.rows > li:first-child > .row { padding-top: 0; min-height: 48px; }
.row .t { flex: 1; min-width: 0; }
.row .t b { display: block; font-weight: 600; font-size: var(--t2); line-height: 1.4; }
.row .t > span { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2); font-size: var(--t1); color: var(--muted); margin-top: 2px; }
.row .end { text-align: left; font-weight: 700; font-size: var(--t2); white-space: nowrap; }
.row .end span { display: block; font-size: var(--t1); font-weight: 500; color: var(--muted); margin-top: 2px; }
.row .end.warn { color: var(--warn); }
.row.off { opacity: .45; }
.row.off .end { text-decoration: line-through; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--warn); }
.tag { font-size: var(--t1); font-weight: 600; color: var(--warn); background: var(--warn-soft); border-radius: 999px; padding: 0 var(--s2); line-height: 20px; white-space: nowrap; }
.tag.g { color: var(--accent); background: var(--accent-soft); }
.tag.n { color: var(--muted); background: var(--surface); }

/* البحث والكروت */
.search { height: var(--tap); border: 1px solid var(--hair); border-radius: var(--r); display: flex; align-items: center; gap: var(--s3); padding: 0 var(--s4); color: var(--muted); }
.search:focus-within { border-color: var(--ink); }
.search svg { width: 18px; height: 18px; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; height: 100%; color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.pc { position: relative; height: 96px; border-radius: var(--r); background: var(--surface); padding: var(--s3); display: flex; flex-direction: column; justify-content: space-between; transition: transform .12s; }
.pc:active { transform: scale(.97); }
.pc b { font-size: var(--t2); font-weight: 600; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pc .p { font-size: var(--t1); color: var(--muted); }
.pc .p strong { color: var(--ink); font-weight: 700; font-size: var(--t2); }
.pc.in { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.pc .qty { position: absolute; top: var(--s3); left: var(--s3); min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--accent); color: var(--on-ink); font-size: var(--t1); font-weight: 700; display: grid; place-items: center; }
.pc.in b { padding-left: 28px; }
.pc.low .p strong { color: var(--warn); }
.pc.out { opacity: .45; }

.cart {
  position: fixed; z-index: 20;
  left: max(var(--gut), env(safe-area-inset-left, 0px)); right: max(var(--gut), env(safe-area-inset-right, 0px));
  bottom: calc(var(--nav-h) + var(--s4) + env(safe-area-inset-bottom, 0px));
  max-width: 420px; margin: 0 auto;
  background: var(--ink); color: var(--on-ink); border-radius: var(--r); height: 56px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--s5);
  font-size: var(--t3); font-weight: 700; animation: up .25s var(--ease) both;
}
.cart span { font-weight: 400; opacity: .7; font-size: var(--t2); }

/* الشريط السفلي */
.nav {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  padding: var(--s3) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  border-top: 1px solid var(--hair); background: var(--bg);
}
.nav .in { max-width: 460px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); }
.nav button { display: flex; flex-direction: column; align-items: center; gap: var(--s1); font-size: var(--t1); font-weight: 500; color: var(--muted); position: relative; padding-bottom: var(--s2); }
.nav svg { width: 22px; height: 22px; }
.nav button[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav .badge { position: absolute; top: -4px; left: calc(50% + 6px); background: var(--warn); color: var(--on-ink); font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; display: grid; place-items: center; }

/* زراير */
.btn { height: var(--tap); border-radius: var(--r); display: flex; align-items: center; justify-content: center; gap: var(--s2); font-weight: 600; font-size: var(--t2); border: 1px solid var(--hair); background: var(--bg); padding: 0 var(--s4); white-space: nowrap; }
.btn.primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn.green { background: var(--accent); color: var(--on-ink); border-color: var(--accent); }
.btn.danger { color: var(--warn); }
.btn.sm { height: 40px; }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }
.acts { display: flex; gap: var(--s2); }
.acts .btn { flex: 1; }
.linkbtn { color: var(--muted); font-size: var(--t1); text-decoration: underline; text-underline-offset: 3px; padding: var(--s2) 0; }
.linkbtn.warn { color: var(--warn); }

/* الشيت */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; background: rgba(20, 20, 22, .32); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s both; }
.sheet {
  width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding-top: var(--s3);
  padding-bottom: max(var(--s6), env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
  display: flex; flex-direction: column; gap: var(--s5);
  animation: up .3s var(--ease) both;
}
.grab { width: 40px; height: 4px; border-radius: 2px; background: #D5D6DA; margin: 0 auto; flex: none; }
.sheet h3 { margin: 0; font-size: var(--t4); font-weight: 700; line-height: 1.3; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(24px); opacity: 0; } }

/* فورم */
.field { display: flex; flex-direction: column; gap: var(--s2); }
.field > span { font-size: var(--t1); color: var(--muted); }
.field input, .field select, .field textarea {
  height: var(--tap); padding: 0 var(--s4); border-radius: var(--r); border: 1px solid var(--hair); background: var(--bg); width: 100%; min-width: 0;
}
.field textarea { height: 140px; padding: var(--s3) var(--s4); resize: vertical; font-size: var(--t1); line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field small { font-size: var(--t1); color: var(--muted); }
.field small.warn { color: var(--warn); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.form { display: flex; flex-direction: column; gap: var(--s4); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chips button { height: 40px; padding: 0 var(--s4); border: 1px solid var(--hair); border-radius: var(--r-sm); font-size: var(--t1); font-weight: 600; }
.chips button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.quick button { height: 40px; border: 1px solid var(--hair); border-radius: var(--r-sm); font-size: var(--t1); font-weight: 600; }
.quick button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.bigin { text-align: center; display: flex; flex-direction: column; gap: var(--s2); }
.bigin input { border: 0; outline: 0; text-align: center; font-size: var(--t6); font-weight: 700; line-height: 1.1; width: 100%; background: none; font-variant-numeric: tabular-nums; }
.bigin .unit { font-size: var(--t2); color: var(--muted); }
.bigin .eq { font-size: var(--t3); color: var(--muted); }
.bigin .eq strong { color: var(--accent); }
.calc { background: var(--surface); border-radius: var(--r); padding: var(--s3) var(--s4); font-size: var(--t1); color: var(--muted); }
.calc b { color: var(--ink); }

/* السلة */
.lines-edit { list-style: none; margin: 0; padding: 0; }
.lines-edit li { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--hair); }
.lines-edit li:first-child { border-top: 0; }
.lines-edit .t { flex: 1; min-width: 0; }
.lines-edit .t b { display: block; font-weight: 600; }
.lines-edit .t span { font-size: var(--t1); color: var(--muted); }
.step { display: flex; align-items: center; gap: var(--s2); }
.step button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--hair); font-size: var(--t3); display: grid; place-items: center; }
.step b { min-width: 24px; text-align: center; }
.x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.x svg { width: 16px; height: 16px; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: var(--t3); padding-top: var(--s3); border-top: 1px solid var(--ink); }

/* الطلبات */
.order { border: 1px solid var(--hair); border-radius: var(--r-lg); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s4); }
.order .who { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s3); }
.order .who b { display: block; font-size: var(--t3); font-weight: 700; }
.order .who span { font-size: var(--t1); color: var(--muted); }
.lines { display: flex; flex-direction: column; gap: var(--s1); font-size: var(--t2); }
.lines div { display: flex; justify-content: space-between; gap: var(--s3); }
.lines .m { color: var(--muted); }
.lines .tot { font-weight: 700; padding-top: var(--s2); margin-top: var(--s1); border-top: 1px solid var(--hair); }
.order-foot { display: flex; justify-content: space-between; align-items: center; margin-top: calc(var(--s2) * -1); }

/* التقرير */
.sum { border: 1px solid var(--hair); border-radius: var(--r-lg); padding: var(--s1) var(--s4); }
.sum div { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); min-height: 48px; border-top: 1px solid var(--hair); font-size: var(--t2); }
.sum div:first-child { border-top: 0; }
.sum .minus bdi { color: var(--warn); }
.sum .final { min-height: 56px; font-weight: 700; font-size: var(--t3); color: var(--accent); border-top: 1px solid var(--ink); }
.sum .final.neg { color: var(--warn); }
.closebox { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); background: var(--surface); border-radius: var(--r-lg); padding: var(--s4); }
.closebox b { display: block; font-size: var(--t2); }
.closebox span { font-size: var(--t1); color: var(--muted); }
.closebox .btn { flex: none; height: 40px; }

/* دخول */
.gate { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s5); text-align: center; }
.gate p { color: var(--muted); max-width: 32ch; }

/* توست */
.toast {
  position: fixed; z-index: 60; left: 50%;
  bottom: calc(var(--nav-h) + var(--s4) + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 16px); width: max-content; max-width: calc(100% - 40px);
  display: flex; align-items: center; gap: var(--s3);
  background: var(--ink); color: var(--on-ink); padding: var(--s3) var(--s4); border-radius: var(--r-sm);
  font-size: var(--t1); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast.err { background: var(--warn); }
.toast button { color: var(--on-ink); font-weight: 700; text-decoration: underline; padding: var(--s1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- صور الأصناف ---------- */
.grid.photos .pc { height: auto; padding: 0; overflow: hidden; justify-content: flex-start; }
.grid.photos .pc.in { box-shadow: none; outline: 2px solid var(--accent); outline-offset: -2px; }
.grid.photos .pc.in b { padding-left: 0; }
.pc-img { display: grid; place-items: center; aspect-ratio: 4 / 3; width: 100%; background: var(--hair); overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-img i { font-style: normal; font-weight: 700; font-size: var(--t4); color: var(--muted); }
.pc-body { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s2) var(--s3) var(--s3); }
.pc-body b { min-height: calc(2 * 1.35em); }
.grid.photos .pc .qty { top: var(--s2); left: var(--s2); bottom: auto; box-shadow: 0 0 0 2px var(--bg); }
.thumb { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: cover; flex: none; background: var(--surface); }
.photo-pick { display: flex; align-items: center; gap: var(--s4); }
.photo-box { width: 96px; height: 72px; border-radius: var(--r); background: var(--surface); display: grid; place-items: center; overflow: hidden; color: var(--muted); flex: none; }
.photo-box svg { width: 28px; height: 28px; }
.photo-box img { width: 100%; height: 100%; object-fit: cover; }
.photo-acts { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s1); }
.photo-acts label.btn { cursor: pointer; }
.lines-edit .btn.sm { flex: none; }
.pc-img:not(:has(img)) { background: var(--surface); }
.grid.photos .pc-img i { font-size: var(--t5); color: var(--hair); }
/* لما الشيت مفتوح، الرسايل تطلع فوق عشان متغطيش الزراير */
.sheet-wrap:not([hidden]) ~ .toast { bottom: auto; top: calc(env(safe-area-inset-top, 0px) + var(--s4)); transform: translate(-50%, -16px); }
.sheet-wrap:not([hidden]) ~ .toast.show { transform: translate(-50%, 0); }
.cart:not([hidden]) ~ .toast { bottom: calc(var(--nav-h) + 56px + var(--s5) + env(safe-area-inset-bottom, 0px)); }
.sheet-wrap:not([hidden]) ~ .toast { bottom: auto; }

/* ---------- الإضافات الجديدة (نفس السكيل: مسافات 4/8/12/16/24/32، خطوط 12/14/16/20/28/40) ---------- */
.warn-text { color: var(--warn); }
.pill { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--surface); font-size: var(--t1); font-weight: 600; color: var(--muted); }
.btn .pill { margin-inline-start: var(--s1); }

/* خصم: اختيار النوع + الرقم في سطر واحد */
.disc { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s2); align-items: center; }
.disc .chips { flex-wrap: nowrap; }
.disc input { height: 40px; border: 1px solid var(--hair); border-radius: var(--r-sm); padding: 0 var(--s3); background: var(--bg); min-width: 0; width: 100%; }
.disc input:focus { border-color: var(--ink); outline: none; }

/* رقم كبير بيتكتب باليد */
.field input.bignum { height: 64px; font-size: var(--t5); font-weight: 700; text-align: center; }

/* كروت الحسابات */
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.acct { border: 1px solid var(--hair); border-radius: var(--r-lg); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s1); text-align: start; min-width: 0; }
.acct span { font-size: var(--t1); color: var(--muted); }
.acct b { font-size: var(--t4); font-weight: 700; line-height: 1.3; }
.acct small { font-size: var(--t1); color: var(--muted); }
.acct.warn b { color: var(--warn); }
.hero.owe { background: var(--warn-soft); }
.hero.owe .k { color: var(--warn); }
.sheet .hero .v { font-size: var(--t5); }
.sheet .head h3 { line-height: 1.3; }

/* سعر الصنف في شاشته */
.price-line { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: var(--tap); padding: 0 0 0 0; }
.price-line b { font-size: var(--t4); }

/* اختيار أصناف (تعديل الأسعار) */
.pick-row { display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: var(--tap); }
.pick-row .t { flex: 1; min-width: 0; }
.pick-row s { font-size: var(--t1); }
.pick-row b.num { min-width: 48px; text-align: left; }
.chk { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--hair); display: grid; place-items: center; flex: none; color: var(--on-ink); }
.chk.on { background: var(--accent); border-color: var(--accent); }
.chk svg { width: 14px; height: 14px; }
.lines-edit li:has(.pick-row) { padding: 0; }

/* أيام الزحمة */
.bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s2); align-items: end; height: 140px; border-bottom: 1px solid var(--hair); padding-bottom: var(--s1); }
.bars > div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: var(--s1); height: 100%; font-size: var(--t1); color: var(--muted); min-width: 0; }
.bars i { width: 100%; background: var(--hair); border-radius: 6px 6px 0 0; }
.bars i.top { background: var(--accent); }
.bars .bv { font-size: 10px; color: var(--muted); white-space: nowrap; }

/* صورة الفاتورة */
.receipt-img { display: grid; place-items: center; min-height: 200px; background: var(--surface); border-radius: var(--r); padding: var(--s3); }
.receipt-img img { width: 100%; max-width: 360px; border-radius: var(--r-sm); box-shadow: 0 4px 16px rgba(20, 20, 22, .08); }

/* السحب لقفل القايمة: المقبض أوضح ومساحته أكبر */
.sheet { touch-action: pan-y; }
.grab { width: 44px; height: 5px; margin: 0 auto var(--s1); cursor: grab; }
.sheet::before { content: ""; display: block; height: 0; }
