/* بناة فلسطين · حسابي (الفريق ب) */
.demo-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 9px; border-radius: 999px; background: #fbf0d9; color: #8a5a00; font-size: 12.5px; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.demo-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num, .ac-tbl, .ac-stats { font-variant-numeric: tabular-nums; }

/* ———— الدخول ———— */
.ac-login { padding: clamp(28px, 5vw, 72px) 0 var(--gap-sm); }
.ac-login[hidden], .ac[hidden] { display: none; }
.ac-login__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .ac-login__grid { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 72px; } }
.ac-login__card { background: hsl(var(--card)); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; justify-items: start; }
.ac-login__card .crumbs { margin-bottom: 0; }
.ac-login h1 { font-family: var(--display); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.3; }
.ac-login__lead { color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }
.ac-form { display: grid; gap: 14px; width: 100%; margin-top: 6px; }
.ac-form .field input[aria-invalid="true"] { border-color: var(--red); background: #fff8f7; }
.ac-err { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--red-ink); }
.ac-err[hidden] { display: none; }
.ac-login__fine { font-size: 13px; color: var(--ink-2); }
.ac-login__k { font-family: var(--display); font-size: 24px; line-height: 1.4; margin: 0 0 12px; }
@media (min-width: 960px) { .ac-login__side { margin-top: 40px; } }
.ac-login__perks { display: grid; border-top: 1px solid var(--ink); }
.ac-login__perks li { display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ac-login__perks b { font-family: var(--display); font-size: 18px; line-height: 1.5; }
.ac-login__perks span { color: var(--ink-2); font-size: 15px; }

/* ———— الرأس والتبويبات ———— */
.ac-head { padding-top: clamp(20px, 3vw, 36px); background: transparent; }
.ac-head__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 24px; padding-bottom: 18px; }
.ac-who { display: flex; align-items: center; gap: 16px; min-width: 0; }
.ac-av { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--ink); color: #fff; font-family: var(--display); font-size: 28px; font-weight: 700; }
.ac-who__k { font-size: 13.5px; font-weight: 600; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.ac-who h1 { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); line-height: 1.35; overflow-wrap: anywhere; }
.ac-who__m { font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.ac-head__cta { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-tabs { position: sticky; z-index: 30; background: hsl(var(--bg) / .96); border-bottom: 1px solid var(--line); }
.ac-tabs ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; }
.ac-tabs ul::-webkit-scrollbar { display: none; }
.ac-tabs a { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 14px; font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: color var(--dur-1); }
.ac-tabs a:hover { color: var(--ink); }
.ac-tabs a::after { content: ""; position: absolute; inset-inline: 10px; bottom: 0; height: 2.5px; border-radius: 2px; background: var(--red); transform: scaleX(0); transition: transform var(--dur-2) var(--ease); }
.ac-tabs a[aria-selected="true"] { color: var(--ink); }
.ac-tabs a[aria-selected="true"]::after { transform: scaleX(1); }
.ac-tabs em { font-style: normal; font-size: 12px; font-weight: 700; min-width: 20px; padding: 0 6px; line-height: 20px; border-radius: 99px; background: hsl(var(--tint)); color: var(--ink); text-align: center; }
.ac-tabs em:empty { display: none; }

.ac-body { padding-block: 28px var(--gap-sm); }
.ac-pane { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; animation: acIn .35s var(--ease); }
.ac-pane[hidden] { display: none; }
@keyframes acIn { from { opacity: 0; transform: translateY(8px); } }
.ac-lead { color: var(--ink-2); max-width: 44rem; }

/* ———— البطاقات ———— */
.ac-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ac-stat { background: hsl(var(--card)); border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 18px 20px; display: grid; gap: 2px; min-width: 0; }
.ac-stat > span { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.ac-stat b .num { font: inherit; color: inherit; }
.ac-stat b { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-stat small { font-size: 13px; color: var(--ink-2); }
.ac-stat--red { background: var(--red); color: #fff; box-shadow: none; }
.ac-stat--red > span, .ac-stat--red > small { color: rgba(255, 255, 255, .85); }
.ac-two { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ac-box { background: hsl(var(--card)); border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 20px 22px; min-width: 0; border: 0; }
.ac-box--flush { padding: 0; overflow: hidden; }
.ac-box__h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.ac-box__h h2 { font-family: var(--display); font-size: 20px; line-height: 1.4; }
.ac-box__h .link { min-height: 36px; font-size: 14.5px; }
.ac-box__lg { font-family: var(--display); font-size: 19px; font-weight: 700; padding: 0; margin-bottom: 10px; float: left; width: 100%; text-align: start; }
.ac-box__lg + * { clear: both; }

.ac-recent li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ac-recent li:last-child { border-bottom: 0; }
.ac-recent img { width: 52px; height: 40px; border-radius: 8px; object-fit: cover; background: hsl(var(--tint)); }
.ac-recent p { min-width: 0; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-recent small { display: block; font-weight: 400; color: var(--ink-2); font-size: 13px; }
.ac-recent b { font-size: 15.5px; }
.ac-split { display: grid; gap: 12px; }
.ac-split li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 14.5px; }
.ac-split span { color: var(--ink-2); font-size: 13.5px; }
.ac-split .bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: hsl(var(--tint)); overflow: hidden; }
.ac-split__tot { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; }
.ac-split .bar i { display: block; height: 100%; width: var(--w); background: var(--c, var(--olive)); border-radius: inherit; transform-origin: right; animation: grow .9s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes grow { from { transform: scaleX(0); } }
.ac-next { display: grid; gap: 8px; }
.ac-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.ac-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 20px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-md); background: hsl(var(--card) / .6); }
.ac-empty svg { width: 46px; height: 46px; fill: none; stroke: var(--line-strong); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ac-empty h3 { font-family: var(--display); font-size: 20px; }
.ac-empty p { color: var(--ink-2); max-width: 28rem; font-size: 15px; }
.ac-empty--sm { padding: 24px 16px; }

/* الجدول */
.ac-tbl-wrap { position: relative; overflow-x: auto; }
.ac-tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ac-tbl th { text-align: start; font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 0 14px; height: 44px; border-bottom: 1px solid var(--line); white-space: nowrap; background: hsl(var(--tint) / .5); }
.ac-tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.ac-tbl tr:last-child td { border-bottom: 0; }
.ac-tbl td a.ac-c { font-weight: 600; display: inline-block; max-width: 280px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.ac-tbl td a.ac-c:hover { color: var(--red-ink); }
.ac-tbl small { color: var(--ink-2); font-size: 12.5px; }
.ac-tbl tr.new { animation: flash 1.8s var(--ease); }
@keyframes flash { from { background: #fbf0d9; } }
.pill { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: hsl(var(--tint)); white-space: nowrap; }
.pill--ok { background: #e6f0e3; color: #2f6b3a; }
.pill--wait { background: #fbf0d9; color: #8a5a00; }
.pill--bad { background: #fbe7e6; color: var(--red-ink); }
.pill--olive { background: var(--olive-tint); color: var(--olive); }
.pill--blue { background: #e5eef7; color: #2b5a8a; }
.ac-lnk { color: var(--red-ink); font-weight: 600; font-size: 14px; min-height: 36px; display: inline-flex; align-items: center; }
.ac-lnk:hover { text-decoration: underline; text-underline-offset: 3px; }

/* الاشتراكات */
.ac-subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.ac-sub { background: hsl(var(--card)); border-radius: var(--r-md); box-shadow: var(--shadow-card); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: opacity var(--dur-2); }
.ac-sub__img { position: relative; aspect-ratio: 16 / 7; background: hsl(var(--tint)); }
.ac-sub__img img { width: 100%; height: 100%; object-fit: cover; }
.ac-sub__img .pill { position: absolute; top: 10px; inset-inline-start: 10px; }
.ac-sub.is-paused .ac-sub__img img { filter: grayscale(.8); opacity: .75; }
.ac-sub__b { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.ac-sub h3 { font-size: 17px; line-height: 1.5; }
.ac-sub__amt { font-size: 26px; font-weight: 700; }
.ac-sub__amt small { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.ac-sub dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: 14px; }
.ac-sub dt { color: var(--ink-2); }
.ac-sub__act { display: flex; gap: 8px; margin-top: 6px; }

/* الإيصالات */
.ac-rcpts { display: grid; gap: 8px; max-width: 820px; }
.ac-rcpts li > b { text-align: end; font-size: 17px; font-variant-numeric: tabular-nums; }
.ac-rcpts li { display: grid; grid-template-columns: 42px minmax(0, 1fr) 110px auto; gap: 14px; align-items: center; padding: 12px 16px; background: hsl(var(--card)); border-radius: var(--r-sm); box-shadow: var(--shadow-card); }
.ac-rcpts .ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: hsl(var(--tint)); }
.ac-rcpts .ico--z { background: var(--olive-tint); color: var(--olive); }
.ac-rcpts .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ac-rcpts p { min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-rcpts p small { display: block; font-weight: 400; color: var(--ink-2); font-size: 13px; }

/* حملاتي */
.ac-mine { display: grid; gap: 14px; }
.ac-camp { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 0; background: hsl(var(--card)); border-radius: var(--r-md); box-shadow: var(--shadow-card); overflow: hidden; }
.ac-camp__img { position: relative; min-height: 140px; background: hsl(var(--tint)); }
.ac-camp__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ac-camp__b { padding: 16px 20px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.ac-camp h3 { font-family: var(--display); font-size: 20px; line-height: 1.45; }
.ac-camp__m { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--ink-2); }
.ac-camp__track { display: flex; gap: 0; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.ac-camp__track li { flex: 1; position: relative; padding-top: 14px; }
.ac-camp__track li::before { content: ""; position: absolute; top: 4px; inset-inline: 0; height: 3px; background: var(--line); }
.ac-camp__track li::after { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.ac-camp__track li.on { color: var(--ink); }
.ac-camp__track li.on::before, .ac-camp__track li.on::after { background: var(--olive); }
.ac-camp__track li.bad::after, .ac-camp__track li.bad::before { background: var(--red); }
.ac-camp__track li.bad { color: var(--red-ink); }
.ac-camp__why { font-size: 14px; padding: 10px 12px; border-radius: var(--r-sm); background: #fbe7e6; color: #6b1a1f; }
.ac-camp__act { padding: 16px; display: grid; gap: 8px; align-content: center; border-inline-start: 1px solid var(--line); min-width: 180px; }

/* التفضيلات */
.ac-prefs { display: grid; gap: 14px; max-width: 760px; }
.ac-row2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .ac-row2 { grid-template-columns: 1fr 1fr; } }
.ac-field-inline { margin-bottom: 10px; }
.ac-check { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; font-size: 15px; line-height: 1.7; }
.ac-check input { width: 19px; height: 19px; margin-top: 4px; accent-color: var(--red); flex-shrink: 0; }
.ac-prefs__bar { display: flex; align-items: center; gap: 14px; }
.ac-msg { font-weight: 600; color: var(--olive); font-size: 14.5px; }
.ac-danger { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid #efc9c6; border-radius: var(--r-md); margin-top: 10px; }
.ac-danger b { display: block; }
.ac-danger span { font-size: 14px; color: var(--ink-2); }

/* ———— الإيصال ———— */
.rcpt { width: min(620px, calc(100vw - 24px)); max-height: 92dvh; margin: auto; padding: 0; border: 0; border-radius: var(--r-lg); background: #f4f1eb; box-shadow: 0 40px 100px -30px rgba(23, 17, 15, .55); overflow: auto; }
.rcpt::backdrop { background: rgba(23, 17, 15, .55); }
.rcpt[open] { animation: acIn .35s var(--ease); }
.rcpt__paper { margin: 16px; background: #fff; border-radius: var(--r-md); padding: 28px 28px 24px; position: relative; overflow: hidden; }
.rcpt__paper::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; background: var(--red); }
.rcpt__paper.is-z::before { background: var(--olive); }
.rc-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rc-brand { display: flex; align-items: center; gap: 9px; }
.rc-brand svg { width: 30px; height: 30px; }
.rc-brand b { font-family: var(--display); font-size: 19px; display: block; line-height: 1.3; }
.rc-brand small { font-size: 12px; color: var(--ink-2); }
.rc-no { text-align: end; font-size: 12.5px; color: var(--ink-2); }
.rc-no b { display: block; font-size: 14px; color: var(--ink); font-family: ui-monospace, Menlo, monospace; direction: ltr; }
.rc-h { font-family: var(--display); font-size: 24px; margin: 18px 0 4px; }
.rc-amt { font-size: 40px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.rc-amt small { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.rc-dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 0; margin-top: 16px; font-size: 14.5px; border-top: 1px solid var(--line); }
.rc-dl dt, .rc-dl dd { padding: 9px 0; border-bottom: 1px solid var(--line); }
.rc-dl dt { color: var(--ink-2); }
.rc-dl dd { overflow-wrap: anywhere; }
.rc-note { margin-top: 16px; font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.rc-demo { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: #fbf0d9; color: #6d4700; font-size: 13px; font-weight: 600; }
.rcpt__bar { display: flex; gap: 8px; padding: 0 16px 16px; }

/* المنصة: الشريط العائم يغطي اللوحة */
body[data-page="account"] #dock { display: none !important; }

@media (min-width: 900px) {
  .ac-subs { grid-template-columns: repeat(auto-fill, minmax(520px, 1fr)); }
  .ac-sub { grid-template-columns: 220px minmax(0, 1fr); grid-template-rows: none; }
  .ac-sub__img { aspect-ratio: auto; min-height: 100%; }
}

@media (max-width: 1000px) {
  .ac-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-two { grid-template-columns: minmax(0, 1fr); }
  .ac-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-camp { grid-template-columns: 160px minmax(0, 1fr); }
  .ac-camp__act { grid-column: 1 / -1; border-inline-start: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}
@media (max-width: 640px) {
  .ac-stats { gap: 10px; }
  .ac-stat { padding: 14px; }
  .ac-stat b { font-size: 22px; }
  .ac-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: calc(-1 * var(--gutter, 20px)); padding-inline: var(--gutter, 20px); scroll-padding-inline: var(--gutter, 20px); scrollbar-width: none; }
  .ac-cards::-webkit-scrollbar { display: none; }
  .ac-cards > * { scroll-snap-align: start; }
  .ac-box { padding: 16px; }
  .ac-box--flush { padding: 0; }
  .ac-camp { grid-template-columns: minmax(0, 1fr); }
  .ac-camp__img { min-height: 150px; }
  .ac-rcpts li { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 4px 12px; }
  .ac-rcpts li > b { display: block; font-size: 16px; }
  .ac-rcpts li > :last-child { grid-column: 2 / -1; justify-self: start; min-height: 32px; }
  .ac-rcpts p { white-space: normal; }
  .ac-rcpts p small { white-space: normal; }
  .ac-tabs ul { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 32px); mask-image: linear-gradient(to left, transparent 0, #000 32px); scroll-padding-inline: 16px; padding-inline-end: 24px; }
  .ac-tabs a { padding: 0 12px; }
  .ac-head__cta .btn--red { flex: 1 1 auto; }
  .ac-head__cta #acOut { flex: 0 0 auto; min-height: 44px; padding: 0 14px; border: 0; background: none; box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }
  /* جدول التبرعات: صف بطاقة */
  .ac-tbl thead { display: none; }
  .ac-tbl, .ac-tbl tbody { display: block; }
  .ac-tbl tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .ac-tbl tr:last-child { border-bottom: 0; }
  .ac-tbl td { padding: 0; border: 0; white-space: normal; }
  .ac-tbl td:nth-child(2) { grid-column: 1; grid-row: 1; font-weight: 600; min-width: 0; }
  .ac-tbl td:nth-child(2) .ac-c { max-width: 100%; white-space: normal; }
  .ac-tbl td:nth-child(3) { grid-column: 2; grid-row: 1; font-size: 17px; font-weight: 700; text-align: end; }
  .ac-tbl td:nth-child(3) small { display: block; font-weight: 400; }
  .ac-tbl td:nth-child(1) { grid-column: 1; grid-row: 2; font-size: 13px; color: var(--ink-2); }
  .ac-tbl td:nth-child(1) br, .ac-tbl td:nth-child(1) small { display: none; }
  .ac-tbl td:nth-child(6) { grid-column: 2; grid-row: 2; justify-self: end; }
  .ac-tbl td:nth-child(4), .ac-tbl td:nth-child(5) { display: none; }
  .ac-tbl td:nth-child(7) { grid-column: 1 / -1; }
  .ac-tbl td[colspan] { grid-column: 1 / -1; }
  .ac-tbl td .ac-lnk { min-height: 40px; }
  .ac-av { width: 52px; height: 52px; font-size: 22px; }
  .ac-head__cta { width: 100%; }
  .ac-head__cta .btn { flex: 1; }
  .rcpt__paper { padding: 22px 18px 18px; margin: 10px; }
  .rc-amt { font-size: 32px; }
  .rc-dl { grid-template-columns: 100px minmax(0, 1fr); }
  .rcpt__bar { padding: 0 10px 10px; }
  .rcpt__bar .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .ac-pane, .rcpt[open], .ac-tbl tr.new, .ac-split .bar i { animation: none; } }

/* الطباعة: الإيصال وحده */
@media print {
  body.printing > *:not(.rcpt) { display: none !important; }
  body.printing .rcpt { position: static; display: block; width: 100%; max-height: none; box-shadow: none; background: #fff; overflow: visible; }
  body.printing .rcpt::backdrop { display: none; }
  body.printing .rcpt__bar { display: none; }
  body.printing .rcpt__paper { margin: 0; padding: 0 0 0; border-radius: 0; }
}

/* ======================================================================
   لغة الرئيسية الجديدة: حقل حبر بنجمة التطريز وشريط القماش، وبطاقات الرئيسية
   ====================================================================== */
/* الدخول: حقل حبر مستدير، والبطاقة البيضاء فوقه */
.ac-login { position: relative; isolation: isolate; overflow: hidden; margin: 12px; padding: clamp(40px, 6vw, 88px) 0 calc(clamp(34px, 3.4vw, 48px) + clamp(40px, 5vw, 72px)); border-radius: var(--field-r, 40px); background: var(--px-ink, #17110f); color: #fff; }
.ac-login::before { content: ""; position: absolute; z-index: -1; top: 50%; inset-inline-end: clamp(-140px, -6vw, -30px); width: clamp(220px, 32vw, 460px); aspect-ratio: 1; translate: 0 -50%; background: var(--px-star-red) center / contain no-repeat; opacity: .16; pointer-events: none; }
.ac-login::after { content: ""; position: absolute; z-index: -1; inset-inline: 0; bottom: 0; height: clamp(34px, 3.4vw, 48px); background: var(--px-band) center bottom / auto 100% repeat-x; -webkit-mask: linear-gradient(to bottom, transparent, #000 60%); mask: linear-gradient(to bottom, transparent, #000 60%); pointer-events: none; }
.ac-login__card { border-radius: 18px; color: var(--ink); box-shadow: var(--px-sh-3, 0 30px 60px -24px rgba(0, 0, 0, .5)); }
.ac-login h1 { font-weight: 800; font-size: var(--fs-h2-xl); line-height: var(--lh-h2-xl); letter-spacing: -.012em; }
.ac-login__k { font-weight: 800; font-size: var(--fs-h3-lg); line-height: var(--lh-h3-lg); color: #fff; }
.ac-login__k::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-inline-end: 10px; background: var(--red); vertical-align: .12em; }
.ac-login__perks { border-top-color: rgba(255, 255, 255, .5); }
.ac-login__perks li { border-bottom-color: rgba(255, 255, 255, .14); }
.ac-login__perks b { color: #fff; }
.ac-login__perks span { color: rgba(255, 255, 255, .74); }

/* رأس اللوحة: حقل حبر مستدير بلغة .px-hero--short */
.ac-head { position: relative; isolation: isolate; overflow: hidden; margin: 12px 12px 0; padding-top: clamp(28px, 3.6vw, 52px); padding-bottom: clamp(34px, 3.4vw, 48px); border-radius: var(--field-r, 40px); background: var(--px-ink, #17110f); color: #fff; }
.ac-head::before { content: ""; position: absolute; z-index: -1; top: 50%; inset-inline-end: clamp(-120px, -5vw, -30px); width: clamp(180px, 24vw, 340px); aspect-ratio: 1; translate: 0 -50%; background: var(--px-star-red) center / contain no-repeat; opacity: .16; pointer-events: none; }
.ac-head::after { content: ""; position: absolute; z-index: -1; inset-inline: 0; bottom: 0; height: clamp(34px, 3.4vw, 48px); background: var(--px-band) center bottom / auto 100% repeat-x; -webkit-mask: linear-gradient(to bottom, transparent, #000 60%); mask: linear-gradient(to bottom, transparent, #000 60%); pointer-events: none; }
.ac-head__in { padding-bottom: clamp(20px, 2.4vw, 32px); }
.ac-av { background: var(--red); }
.ac-who__k { color: rgba(255, 255, 255, .78); margin-bottom: 8px; }
.ac-who h1 { font-weight: 800; font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: -.012em; color: #fff; }
.ac-who__m { color: rgba(255, 255, 255, .74); }
.ac-head #acOut { color: #fff; background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .6); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ac-head #acOut:hover { background: #fff; color: var(--ink); border-color: #fff; }
.ac-tabs { margin-top: 8px; }

/* البطاقات: حدّ رفيع وظل الرئيسية وزوايا 18 */
.ac-stat, .ac-box { border: 1px solid var(--px-line, rgba(23, 17, 15, .14)); border-radius: 18px; box-shadow: 0 1px 2px rgba(23, 17, 15, .05), 0 12px 32px -14px rgba(23, 17, 15, .28); }
.ac-stat--red { border-color: transparent; }
.ac-stat b { font-family: var(--display); font-weight: 800; }
.ac-box__h h2 { font-weight: 800; font-size: var(--fs-h3); line-height: var(--lh-h3); }

@media (max-width: 640px) {
  .ac-login, .ac-head { margin-inline: 8px; }
  .ac-head #acOut { background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ac-head #acOut:hover { background: none; color: #fff; }
}

/* ===== LTR ===== */
html[dir="ltr"] .ac-split .bar i { transform-origin: left; }
@media (max-width: 640px) { html[dir="ltr"] .ac-tabs ul { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px); mask-image: linear-gradient(to right, transparent 0, #000 32px); } }

/* الوضع الحقيقي (js/account.js): رسالة «تفقّد بريدك»، عناوين أقسام «حملاتي»، أزرار طلبات الخصوصية */
.ac-sent { display: grid; justify-items: start; gap: 10px; margin-top: 8px; padding: 22px; border-radius: 18px; background: var(--olive-tint, #eef0e1); }
.ac-sent__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--olive, #5b6b2f); color: #fff; font-size: 24px; }
.ac-sent h2 { margin: 0; font-family: var(--display); font-size: 24px; }
.ac-sent p { margin: 0; line-height: 1.8; }
.ac-mine__h { font-family: var(--display); font-size: 20px; margin: 8px 0 4px; }
.ac-mine__h:not(:first-child) { margin-top: 28px; }
.ac-danger__acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* ——— صقل الإطلاق ——— */
/* تعطّل الخدمة (لا خطأ من المستخدم): ملاحظة هادئة تحت الزر */
.ac-note { display: flex; gap: 10px; align-items: baseline; margin: 0; padding: 10px 14px; border-radius: 12px; background: #fbf0d9; color: #5c3d06; font-size: 14px; font-weight: 600; line-height: 1.7; }
.ac-note::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #b7791f; transform: translateY(-.1em); }
.ac-note[hidden] { display: none; }
.ac-err:not([hidden]) { display: flex; gap: 8px; align-items: baseline; }
.ac-err::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--red); transform: translateY(-.15em); }
.ac-sent b[dir="ltr"] { unicode-bidi: isolate; overflow-wrap: anywhere; }

/* ———— أثري (server/impact.mjs) ———— */
.ac-impact { display: grid; gap: 18px; }
.ac-imp__k { font-size: 14px; font-weight: 700; color: var(--red-ink); letter-spacing: .01em; }
.ac-imp__s { font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.5; margin-top: 6px; text-wrap: pretty; }
.ac-imp__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.ac-imp__nums li { background: var(--canvas); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; }
.ac-imp__nums b { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.2; }
.ac-imp__nums span { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.ac-imp__honest { margin-top: 14px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); padding-inline-start: 12px; border-inline-start: 3px solid var(--sand); }
.ac-imp__gen { margin-top: 8px; font-size: 15px; }
.ac-imp__cta { margin-top: 16px; }
.ac-imp__c .ac-box__h { flex-wrap: wrap; gap: 4px 12px; }
.ac-imp__c h2 a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.ac-imp__g { font-size: 14px; color: var(--ink-2); }
.ac-imp__from { font-size: 15px; font-weight: 600; margin: 4px 0 10px; }
.ac-imp__tl { display: grid; gap: 0; }
.ac-imp__tl li { position: relative; padding: 10px 0 14px; padding-inline-start: 22px; border-inline-start: 2px solid var(--line); margin-inline-start: 6px; }
.ac-imp__tl li::before { content: ''; position: absolute; inset-inline-start: -7px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 3px hsl(var(--card)); }
.ac-imp__tl time { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.ac-imp__tl p { display: flex; flex-direction: column; line-height: 1.55; }
.ac-imp__tl p span { color: var(--ink-2); font-size: 15px; }
.ac-imp__phs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ac-imp__ph img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--sand); }
.ac-imp__none, .ac-imp__more { font-size: 15px; color: var(--ink-2); }
@media (max-width: 520px) { .ac-imp__nums { grid-template-columns: 1fr; } .ac-imp__nums li { flex-direction: row; align-items: baseline; gap: 10px; } }

.ac-card-dlg { border: 0; border-radius: var(--r-lg); padding: 20px; max-width: min(460px, calc(100vw - 24px)); width: 100%; background: var(--canvas); color: var(--ink); box-shadow: var(--shadow-lift); }
.ac-card-dlg::backdrop { background: rgba(27, 22, 19, .45); }
.ac-card-dlg h2 { font-family: var(--display); font-size: 22px; }
.ac-card-dlg__p { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; margin: 6px 0 12px; }
.ac-card-dlg canvas { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 14px; box-shadow: var(--shadow-card); background: #fff; display: block; }
.ac-card-dlg__opts { display: grid; gap: 4px; margin: 12px 0 4px; }
.ac-card-dlg .rcpt__bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 0; }
