/* =========================================================
   أمجاد سليمان — الهوية: بنكي · أبيض · موف · سكري
   التصميم يبدأ من الجوال ثم يتوسع للشاشات الكبيرة
   ========================================================= */
:root {
  --cream: #FBF6EE;
  --cream-2: #F4EADC;
  --white: #FFFFFF;
  --pink: #EBA9BE;
  --pink-soft: #FBE8EE;
  --pink-deep: #C46A8B;
  --mauve: #8B5F92;
  --mauve-soft: #F1E7F2;
  --mauve-deep: #5A3861;
  --ink: #3A2840;
  --muted: #7B6A80;
  --line: rgba(90, 56, 97, 0.12);
  --line-2: rgba(90, 56, 97, 0.22);
  --ok: #4F8A6B;
  --ok-soft: #E6F2EB;
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgba(90, 56, 97, 0.06);
  --shadow: 0 1px 2px rgba(90, 56, 97, 0.05), 0 12px 32px -16px rgba(90, 56, 97, 0.28);
  --ff-body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --ff-head: 'El Messiri', 'IBM Plex Sans Arabic', serif;
  --ff-quran: 'Amiri', 'Traditional Arabic', 'Times New Roman', serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%238B5F92' stroke-opacity='.10' stroke-width='1'%3E%3Crect x='21' y='21' width='22' height='22'/%3E%3Crect x='21' y='21' width='22' height='22' transform='rotate(45 32 32)'/%3E%3Ccircle cx='32' cy='32' r='4'/%3E%3Cpath d='M0 0l10 10M64 0L54 10M0 64l10-10M64 64L54 54'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 600; line-height: 1.35; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
::selection { background: var(--pink-soft); color: var(--mauve-deep); }
:focus-visible { outline: 2px solid var(--pink-deep); outline-offset: 3px; border-radius: 10px; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
[data-icon] { display: inline-flex; line-height: 0; }

/* ---------------- الأزرار ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg[data-arrow] { transform: translateX(-4px); }
.btn-primary { background: var(--mauve-deep); color: var(--white); box-shadow: 0 8px 20px -10px rgba(90, 56, 97, .7); }
.btn-primary:hover { background: var(--mauve); }
.btn-pink { background: var(--pink-deep); color: var(--white); box-shadow: 0 8px 20px -10px rgba(196, 106, 139, .8); }
.btn-pink:hover { background: #B45A7C; }
.btn-soft { background: var(--white); color: var(--mauve-deep); border-color: var(--line-2); }
.btn-soft:hover { background: var(--pink-soft); border-color: var(--pink); }
.btn-ghost { background: transparent; color: var(--mauve-deep); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--mauve-soft); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  color: var(--mauve-deep); cursor: pointer; transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--pink-soft); border-color: var(--pink); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  color: var(--mauve-deep); font-size: 13px; font-weight: 500; line-height: 1.4;
}

/* ---------------- الهيدر ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 246, 238, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--pink-soft); color: var(--mauve-deep); border: 1px solid rgba(196, 106, 139, .25);
}
.brand-mark svg { animation: spin 40s linear infinite; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name { font-family: var(--ff-head); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: var(--mauve-deep); }
.brand-role { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-links { display: none; }
.nav-cta { display: none; }
.menu-btn { display: inline-grid; }

.mobile-nav {
  position: absolute; inset-inline: 0; top: 100%;
  background: var(--cream); border-bottom: 1px solid var(--line);
  padding: 8px 16px 18px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  box-shadow: 0 24px 40px -24px rgba(90, 56, 97, .35);
}
.site-header.open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 6px; border-bottom: 1px solid var(--line);
  font-weight: 500; color: var(--ink);
}
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav a.active { color: var(--pink-deep); }
.mobile-nav .btn { margin-top: 12px; width: 100%; }
.menu-btn .i-close { display: none; }
.site-header.open .menu-btn .i-open { display: none; }
.site-header.open .menu-btn .i-close { display: block; }

/* ---------------- الهيرو ---------------- */
.hero { position: relative; padding: 18px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 30px; align-items: center; }

.arch {
  position: relative; width: min(100%, 400px); margin-inline: auto;
  padding: 122px 20px 24px;
  border-radius: 240px 240px 30px 30px;
  background: linear-gradient(180deg, var(--white) 0%, #FFF9FB 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center; overflow: hidden;
  isolation: isolate;
}
.arch::after {
  content: ""; position: absolute; inset: 10px; border-radius: 230px 230px 22px 22px;
  border: 1px dashed rgba(196, 106, 139, .35); pointer-events: none;
}
.sun { position: absolute; top: 12px; left: 50%; width: 136px; height: 136px; transform: translateX(-50%); z-index: -1; }
.sun-rays { width: 100%; height: 100%; color: var(--pink); animation: spin 70s linear infinite; }
.sun-core {
  position: absolute; inset: 39px; border-radius: 999px;
  background: radial-gradient(circle at 50% 40%, #FFF3EC 0%, var(--pink-soft) 45%, var(--pink) 100%);
  box-shadow: 0 0 0 10px rgba(251, 232, 238, .7), 0 0 50px 10px rgba(235, 169, 190, .45);
  animation: breathe 6s ease-in-out infinite;
}
.verse {
  font-family: var(--ff-quran); font-weight: 400;
  font-size: clamp(30px, 8.6vw, 44px); line-height: 1.9;
  color: var(--mauve-deep); margin: 0;
}
.verse .orn { color: var(--pink-deep); font-size: .8em; }
.verse .nw { display: inline-block; white-space: nowrap; }
.verse-ref { margin-top: 8px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.arch-foot {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; justify-content: center; gap: 18px; color: var(--mauve); font-size: 13px;
}
.arch-foot span { display: inline-flex; align-items: center; gap: 6px; }

.hero-copy { text-align: center; }
.hero-copy .pill { margin-bottom: 16px; }
.hero-title { isolation: isolate; font-size: clamp(30px, 8vw, 54px); letter-spacing: -0.025em; color: var(--mauve-deep); line-height: 1.3; }
.hero-title em { font-style: normal; color: var(--pink-deep); position: relative; white-space: nowrap; }
.hero-title em::after {
  content: ""; position: absolute; inset-inline: -2px; bottom: .08em; height: .32em;
  background: var(--pink-soft); z-index: -1; border-radius: 6px;
}
.hero-text { margin-top: 14px; color: var(--muted); font-size: 16.5px; max-width: 34em; margin-inline: auto; }
.hero-actions { margin-top: 24px; display: grid; gap: 10px; }

.float { position: absolute; color: var(--pink); opacity: .7; pointer-events: none; animation: floaty 7s ease-in-out infinite; }
.float.f1 { top: 12%; inset-inline-start: 6%; }
.float.f2 { top: 46%; inset-inline-end: 4%; animation-delay: -2s; color: var(--mauve); opacity: .35; }
.float.f3 { bottom: 10%; inset-inline-start: 12%; animation-delay: -4s; }

/* ---------------- شريط الكلمات المتحرك ---------------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: var(--white);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 18px;
  font-family: var(--ff-head); font-size: 17px; font-weight: 500; color: var(--mauve-deep); white-space: nowrap;
}
.marquee-item::after { content: "✦"; color: var(--pink); font-size: 12px; }

/* ---------------- الأقسام ---------------- */
.section { padding: 64px 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-size: 13px; font-weight: 500; color: var(--pink-deep);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .5; }
.section-title { font-size: clamp(26px, 6.4vw, 40px); letter-spacing: -0.025em; color: var(--mauve-deep); }
.section-sub { margin-top: 10px; color: var(--muted); }

/* عن */
.about-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.about-card::before {
  content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 180px; height: 180px; border-radius: 999px;
  background: radial-gradient(circle, var(--pink-soft), transparent 70%);
}
.about-card p { position: relative; font-size: 16.5px; color: var(--ink); }
.about-card p + p { margin-top: 12px; }
.about-card strong { color: var(--mauve-deep); font-weight: 600; }

.values { display: grid; gap: 12px; margin-top: 16px; }
.value {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value:hover { border-color: rgba(196, 106, 139, .45); transform: translateY(-3px); box-shadow: var(--shadow); }
.value-icon {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--pink-soft); color: var(--pink-deep); border: 1px solid rgba(196, 106, 139, .2);
}
.value:nth-child(2n) .value-icon { background: var(--mauve-soft); color: var(--mauve); border-color: rgba(139, 95, 146, .2); }
.value h3 { font-size: 17px; color: var(--mauve-deep); }
.value p { font-size: 14.5px; color: var(--muted); margin-top: 2px; line-height: 1.75; }

/* الرسالة */
.message { background: var(--mauve-deep); color: #F8EEF6; overflow: hidden; }
.message::before {
  content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 64px;
  filter: invert(1); opacity: .55; pointer-events: none;
}
.message .section-title { color: var(--white); }
.message .eyebrow { color: var(--pink); }
.letter {
  position: relative; max-width: 760px; margin-inline: auto;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px; padding: 30px 22px 26px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.letter-quote { position: absolute; top: -20px; inset-inline-start: 22px; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--pink); color: var(--mauve-deep); }
.letter p { font-size: 16.5px; line-height: 2; color: #F3E6F0; }
.letter p + p { margin-top: 14px; }
.letter .lead { font-family: var(--ff-head); font-size: clamp(21px, 5.6vw, 28px); line-height: 1.6; color: var(--white); font-weight: 600; letter-spacing: -0.01em; }
.letter .dua { color: var(--pink); font-weight: 500; }
.signature { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; align-items: center; gap: 12px; }
.signature .sig-name { font-family: var(--ff-head); font-size: 20px; color: var(--white); font-weight: 600; }
.signature small { display: block; color: #CDB7CF; font-size: 13px; }

/* دعوة للبرامج */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 32px 22px; text-align: center;
  background: var(--pink-soft); border: 1px solid rgba(196, 106, 139, .25);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 56px; opacity: .8; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(24px, 6vw, 34px); color: var(--mauve-deep); letter-spacing: -0.02em; }
.cta-band p { color: var(--muted); margin: 8px auto 20px; max-width: 30em; }

/* الآراء */
.testimonials {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin-inline: -16px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.testimonials::-webkit-scrollbar { display: none; }
.t-card {
  scroll-snap-align: center; position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 18px;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.t-card:hover { border-color: rgba(196, 106, 139, .45); box-shadow: var(--shadow); transform: translateY(-3px); }
.t-card .q { color: var(--pink); margin-bottom: 10px; }
.t-card p { flex: 1; font-size: 15.5px; color: var(--ink); line-height: 1.9; }
.t-meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.t-avatar { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; background: var(--mauve-soft); color: var(--mauve-deep); font-family: var(--ff-head); font-weight: 600; }
.t-name { font-weight: 600; color: var(--mauve-deep); font-size: 15px; line-height: 1.3; }
.t-prog { font-size: 12.5px; color: var(--muted); }
.swipe-hint { text-align: center; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; }

/* التواصل */
.contact-card {
  display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  padding: 26px 22px; box-shadow: var(--shadow-sm); text-align: center;
}
.contact-avatar { width: 72px; height: 72px; margin: 0 auto; border-radius: 999px; display: grid; place-items: center; background: var(--pink-soft); color: var(--pink-deep); border: 1px solid rgba(196, 106, 139, .25); }
.contact-name { font-size: 24px; color: var(--mauve-deep); letter-spacing: -0.02em; }
.contact-phone { font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: .04em; }
.contact-actions { display: grid; gap: 10px; }

/* الفوتر */
.site-footer { padding: 40px 0 100px; border-top: 1px solid var(--line); background: var(--white); text-align: center; }
.footer-dua { font-family: var(--ff-quran); font-size: 22px; color: var(--mauve-deep); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--pink-deep); }
.copy { font-size: 12.5px; color: var(--muted); }

/* زر واتساب العائم */
.wa-float {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55;
  display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 18px 0 16px;
  border-radius: 999px; background: var(--mauve-deep); color: var(--white); font-weight: 500; font-size: 14.5px;
  box-shadow: 0 14px 30px -12px rgba(90, 56, 97, .7);
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.9);
  transition: background-color .25s, transform .45s var(--ease), opacity .35s var(--ease), visibility .35s;
}
.wa-float.show { opacity: 1; visibility: visible; transform: none; }
.wa-float.show:hover { background: var(--mauve); transform: translateY(-2px); }
.wa-float .dot { width: 8px; height: 8px; border-radius: 99px; background: #9FE0B7; box-shadow: 0 0 0 0 rgba(159, 224, 183, .7); animation: ping 2.2s infinite; }

/* ---------------- صفحة البرامج ---------------- */
.page-hero { position: relative; padding: 36px 0 26px; text-align: center; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 30%, transparent 80%);
}
.page-hero > * { position: relative; }
.page-title { font-size: clamp(32px, 9vw, 52px); color: var(--mauve-deep); letter-spacing: -0.025em; }
.page-sub { margin: 10px auto 0; color: var(--muted); max-width: 32em; }

.programs { display: grid; gap: 18px; align-items: start; padding-bottom: 30px; }
.program {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 22px 20px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.program:hover { border-color: rgba(196, 106, 139, .4); box-shadow: var(--shadow); }
.program.is-featured { border-color: rgba(139, 95, 146, .35); }
.program.is-featured::before {
  content: ""; position: absolute; inset-inline: 22px; top: -1px; height: 3px; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--pink), var(--mauve));
}
.program.is-off { background: #FCFAF7; }
.program.is-off .program-emoji, .program.is-off .price-now { filter: grayscale(.6); opacity: .7; }
.program-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.program-emoji {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px;
  background: var(--cream); border: 1px solid var(--line);
}
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: currentColor; }
.status.on { background: var(--ok-soft); color: var(--ok); }
.status.on::before { animation: ping-ok 2.2s infinite; }
.status.off { background: var(--cream-2); color: var(--muted); }
.program-badge { align-self: flex-start; font-size: 12.5px; color: var(--mauve); background: var(--mauve-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.program-title { font-size: 25px; color: var(--mauve-deep); letter-spacing: -0.02em; }
.program-sub { margin-top: 4px; color: var(--pink-deep); font-weight: 500; font-size: 15px; }
.program-short { margin-top: 12px; color: var(--ink); font-size: 15.5px; }

.price { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); }
.price-note { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.price-now { font-family: var(--ff-head); font-size: 34px; font-weight: 600; color: var(--mauve-deep); line-height: 1.1; letter-spacing: -0.02em; }
.cur { font-size: 14px; color: var(--mauve); font-weight: 500; }
.price-old { color: var(--muted); font-size: 15px; text-decoration-color: var(--pink-deep); }
.disc { font-size: 12.5px; font-weight: 600; color: var(--white); background: var(--pink-deep); padding: 3px 10px; border-radius: 999px; }

.details { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.details.open { grid-template-rows: 1fr; }
.details-inner { overflow: hidden; min-height: 0; }
.details-pad { padding-top: 16px; margin-top: 16px; border-top: 1px dashed var(--line-2); opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease) .05s, transform .4s var(--ease) .05s; }
.details.open .details-pad { opacity: 1; transform: none; }

.rich { font-size: 15.5px; color: var(--ink); }
.rich p { margin: 0 0 12px; }
.rich h4 { font-size: 17px; color: var(--mauve-deep); margin: 16px 0 8px; }
.rich h4:first-child { margin-top: 0; }
.rich ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.rich li { position: relative; padding-inline-start: 28px; line-height: 1.8; }
.rich li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 18px; height: 18px; border-radius: 99px;
  background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C46A8B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}
.program-note {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; padding: 12px 14px; border-radius: 14px;
  background: var(--pink-soft); color: var(--mauve-deep); font-size: 14.5px; font-weight: 500;
}
.program-note svg { flex: none; margin-top: 3px; color: var(--pink-deep); }
.program-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; margin-top: 18px; }
.program-actions .btn { padding: 0 14px; }
.js-toggle svg { transition: transform .35s var(--ease); }
.js-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.skeleton { border-radius: 26px; height: 360px; background: linear-gradient(100deg, var(--white) 40%, var(--cream-2) 50%, var(--white) 60%) 0 0/200% 100%; border: 1px solid var(--line); animation: shimmer 1.4s linear infinite; }
.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); background: var(--white); border-radius: 22px; border: 1px dashed var(--line-2); }

.reassure { display: grid; gap: 10px; margin: 10px 0 60px; }
.reassure div { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
.reassure svg { flex: none; color: var(--pink-deep); }

/* ---------------- نافذة التسجيل (Bottom sheet) ---------------- */
.sheet { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(58, 40, 64, .45); opacity: 0; transition: opacity .35s var(--ease); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet-panel {
  position: relative; width: 100%; max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--cream); border-radius: 28px 28px 0 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .45s var(--ease);
  box-shadow: 0 -20px 50px -20px rgba(58, 40, 64, .4);
}
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet.open .sheet-panel { transform: none; }
.sheet-handle { width: 44px; height: 5px; border-radius: 99px; background: var(--line-2); margin: 0 auto 10px; }
.sheet-close { position: absolute; top: 14px; left: 14px; width: 38px; height: 38px; }
.sheet-prog { display: flex; gap: 12px; align-items: center; padding: 14px; margin: 8px 0 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.sheet-prog .program-emoji { width: 46px; height: 46px; font-size: 22px; }
.sheet-prog h3 { font-size: 18px; color: var(--mauve-deep); }
.sheet-prog small { color: var(--muted); font-size: 13.5px; }
.sheet h2 { font-size: 24px; color: var(--mauve-deep); letter-spacing: -0.02em; padding-inline-end: 44px; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 500; color: var(--mauve-deep); }
.field label .opt { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: var(--white); color: var(--ink);
  font: inherit; font-size: 16px; line-height: 1.6;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #B3A6B6; }
.input:hover { border-color: rgba(139, 95, 146, .4); }
.input:focus { outline: none; border-color: var(--mauve); box-shadow: 0 0 0 4px rgba(139, 95, 146, .14); }
textarea.input { min-height: 96px; resize: vertical; }
.input.invalid { border-color: #C9485B; box-shadow: 0 0 0 4px rgba(201, 72, 91, .1); }
.form-error { display: none; margin: 4px 0 12px; padding: 10px 14px; border-radius: 12px; background: #FBE9EC; color: #A93A4C; font-size: 14px; }
.form-error.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-hint { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 10px; }

.success { text-align: center; padding: 10px 0 4px; }
.success-icon { width: 76px; height: 76px; margin: 6px auto 14px; border-radius: 999px; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); animation: popIn .5s var(--ease) both; }
.success h2 { padding: 0; }
.success p { color: var(--muted); margin: 8px 0 20px; }
.success .btn + .btn { margin-top: 10px; }

.spinner { width: 18px; height: 18px; border-radius: 99px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }

/* ---------------- Toast ---------------- */
.toast-wrap { position: fixed; inset-inline: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 200; display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14.5px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .4); animation: toastIn .35s var(--ease) both; max-width: 420px; }
.toast.err { background: #A93A4C; }
.toast.out { animation: toastOut .3s var(--ease) both; }

/* ---------------- ظهور عند التمرير ---------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in, .reveal-all .reveal { opacity: 1; transform: none; }
.hero-in > * { animation: fadeUp .9s var(--ease) both; }
.hero-in > *:nth-child(2) { animation-delay: .12s; }
.hero-in > *:nth-child(3) { animation-delay: .24s; }
.hero-in > *:nth-child(4) { animation-delay: .36s; }
.arch.hero-pop { animation: archIn 1.1s var(--ease) both; }
.arch .verse { animation: fadeUp 1s var(--ease) .45s both; }
.arch .verse-ref { animation: fadeUp 1s var(--ease) .6s both; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(8deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes archIn { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(159, 224, 183, .7); } 80%, 100% { box-shadow: 0 0 0 8px rgba(159, 224, 183, 0); } }
@keyframes ping-ok { 0% { box-shadow: 0 0 0 0 rgba(79, 138, 107, .5); } 80%, 100% { box-shadow: 0 0 0 6px rgba(79, 138, 107, 0); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------------- الشاشات الأكبر ---------------- */
@media (min-width: 560px) {
  .hero-actions { display: flex; justify-content: center; flex-wrap: wrap; }
  .values { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-auto-columns: 60%; }
  .contact-actions { display: flex; justify-content: center; }
  .reassure { grid-template-columns: repeat(3, 1fr); }
  .sheet { align-items: center; padding: 20px; }
  .sheet-panel { max-width: 500px; border-radius: 28px; transform: translateY(30px) scale(.97); opacity: 0; transition: transform .4s var(--ease), opacity .3s var(--ease); padding-bottom: 24px; }
  .sheet.open .sheet-panel { opacity: 1; transform: none; }
  .sheet-handle { display: none; }
  .toast-wrap { bottom: 28px; }
}
@media (min-width: 760px) {
  .programs { grid-template-columns: 1fr 1fr; }
  .section { padding: 88px 0; }
  .letter { padding: 46px 48px 36px; }
  .about-card { padding: 34px 36px; }
}
@media (min-width: 960px) {
  .menu-btn, .mobile-nav { display: none; }
  .nav { height: 74px; }
  .nav-links { display: flex; gap: 4px; }
  .nav-links a { position: relative; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s, background-color .2s; }
  .nav-links a:hover { color: var(--mauve-deep); background: var(--white); }
  .nav-links a.active { color: var(--mauve-deep); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
  .nav-cta { display: inline-flex; min-height: 44px; }
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero-copy { text-align: start; }
  .hero-text { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
  .arch { width: 420px; padding-top: 170px; }
  .sun { width: 190px; height: 190px; }
  .sun-core { inset: 54px; }
  .values { grid-template-columns: repeat(4, 1fr); }
  .value { flex-direction: column; padding: 22px; }
  .about-grid { display: grid; grid-template-columns: 1fr; }
  .testimonials { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
  .swipe-hint { display: none; }
  .contact-card { grid-template-columns: auto 1fr auto; text-align: start; align-items: center; padding: 30px 34px; }
  .contact-avatar { margin: 0; }
  .wa-float { bottom: 24px; left: 24px; }
  .cta-band { padding: 48px; }
}
@media (min-width: 1100px) {
  .programs { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   لوحة التحكم
   ========================================================= */
.admin-body { background: var(--cream); min-height: 100vh; }
.login-wrap { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; position: relative; }
.login-wrap::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 64px; opacity: .8; }
.login-card { position: relative; width: min(100%, 400px); background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 30px 22px; box-shadow: var(--shadow); animation: archIn .8s var(--ease) both; }
.login-card .brand-mark { margin: 0 auto 14px; width: 56px; height: 56px; }
.login-card h1 { text-align: center; font-size: 24px; color: var(--mauve-deep); letter-spacing: -0.02em; }
.login-card > p { text-align: center; color: var(--muted); font-size: 14.5px; margin: 4px 0 22px; }

.admin-top { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 238, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.admin-top .nav { height: 62px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 12px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; }
.tab:hover { color: var(--mauve-deep); border-color: var(--line-2); }
.tab.active { background: var(--mauve-deep); color: var(--white); border-color: var(--mauve-deep); }
.tab .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--pink-deep); color: #fff; font-size: 11.5px; display: inline-grid; place-items: center; }
.admin-main { padding: 22px 0 80px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h2 { font-size: 22px; color: var(--mauve-deep); letter-spacing: -0.02em; }
.panel-head p { color: var(--muted); font-size: 14px; }
.stack { display: grid; gap: 12px; }

.a-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 16px; transition: border-color .2s, box-shadow .2s; }
.a-card:hover { border-color: var(--line-2); }
.a-row { display: flex; align-items: center; gap: 12px; }
.a-row .grow { flex: 1; min-width: 0; }
.a-title { font-weight: 600; color: var(--mauve-deep); font-size: 16px; line-height: 1.4; }
.a-sub { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.a-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.a-form { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.a-form .grid2 { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
.a-form .grid3 { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr 1fr; }
.help { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.help code { background: var(--cream); border: 1px solid var(--line); padding: 0 6px; border-radius: 6px; font-family: inherit; }
.btn-danger { background: transparent; color: #A93A4C; border-color: rgba(169, 58, 76, .3); }
.btn-danger:hover { background: #FBE9EC; }

.switch { position: relative; flex: none; width: 52px; height: 30px; border-radius: 99px; border: 0; background: #DCD2DD; cursor: pointer; transition: background-color .25s var(--ease); padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 99px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); transition: transform .3s var(--ease); }
.switch[aria-checked="true"] { background: var(--ok); }
.switch[aria-checked="true"]::after { transform: translateX(-22px); }
.switch-label { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 2px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.stat b { display: block; font-family: var(--ff-head); font-size: 28px; font-weight: 600; color: var(--mauve-deep); line-height: 1.2; }
.stat span { font-size: 12.5px; color: var(--muted); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 13.5px; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--line-2); color: var(--mauve-deep); }
.chip.active { background: var(--pink-soft); border-color: var(--pink); color: var(--mauve-deep); font-weight: 500; }
.reg-new { border-inline-start: 3px solid var(--pink-deep); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 99px; font-size: 12px; background: var(--mauve-soft); color: var(--mauve); }
.tag.new { background: var(--pink-soft); color: var(--pink-deep); }
.tag.done { background: var(--ok-soft); color: var(--ok); }
.kv { display: grid; gap: 4px; margin-top: 10px; font-size: 14px; }
.kv div { display: flex; gap: 8px; }
.kv dt { color: var(--muted); min-width: 92px; }
.kv dd { margin: 0; color: var(--ink); white-space: pre-line; word-break: break-word; }
.hidden-badge { opacity: .55; }

@media (min-width: 760px) {
  .login-card { padding: 38px 34px; }
  .a-card { padding: 20px 22px; }
  .stats { gap: 14px; }
}
@media (max-width: 420px) {
  .a-form .grid3 { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   الإصدار 2 — الآراء، تفاصيل البرامج، الصور، الدفع
   ========================================================= */
.stars { display: inline-flex; gap: 1px; direction: rtl; font-size: 15px; line-height: 1; color: #E3D6E4; }
.stars .on { color: #E3A33B; }
.t-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.t-top .q { margin: 0; }
.share-cta { display: flex; justify-content: center; margin-top: 22px; }
.t-empty { display: grid; justify-items: center; gap: 8px; color: var(--muted); }
.t-empty svg { color: var(--pink); }
.sheet-lead { color: var(--muted); font-size: 14.5px; margin: 2px 0 16px; }
.field .label { font-size: 14px; font-weight: 500; color: var(--mauve-deep); }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238B5F92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center; padding-left: 40px; cursor: pointer;
}
.rate { display: flex; gap: 6px; }
.rate-star {
  width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--white);
  font-size: 24px; line-height: 1; color: #DCCFDD; cursor: pointer;
  transition: color .2s, background-color .2s, border-color .2s, transform .2s var(--ease);
}
.rate-star:hover { border-color: #E3A33B; transform: translateY(-2px); }
.rate-star.on { color: #E3A33B; background: #FFF6E6; border-color: #F0CF93; }
.pay-line { display: flex; align-items: flex-start; gap: 6px; margin-top: 8px; font-size: 13.5px; color: var(--mauve); line-height: 1.7; }
.pay-line svg { flex: none; margin-top: 4px; }
@media (min-width: 960px) { .pay-line { justify-content: flex-start; } }
@media (max-width: 959px) { .pay-line { justify-content: center; } }

/* صفحة البرامج */
.pay-notice {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 auto 20px; padding: 14px 16px; border-radius: 18px;
  background: var(--white); border: 1px solid rgba(196, 106, 139, .3); box-shadow: var(--shadow-sm);
}
.pay-notice > svg, .pay-notice > [data-icon] { flex: none; color: var(--pink-deep); margin-top: 3px; }
.pay-notice strong { display: block; color: var(--mauve-deep); font-weight: 600; font-size: 15px; }
.pay-notice p { font-size: 14.5px; color: var(--ink); }
.bank-box { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--cream); border: 1px dashed var(--line-2); font-size: 14px; white-space: pre-line; direction: rtl; }
.program-media { margin: -22px -20px 16px; aspect-ratio: 16 / 10; border-radius: 26px 26px 0 0; overflow: hidden; background: var(--cream-2); position: relative; }
.program-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.program:hover .program-media img { transform: scale(1.03); }
.program-media .status { position: absolute; top: 12px; inset-inline-start: 12px; box-shadow: var(--shadow-sm); }
.program-media + .program-top { margin-top: -2px; }
.program.is-featured .program-media { border-radius: 25px 25px 0 0; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 12.5px; color: var(--mauve-deep); line-height: 1.5; }
.meta svg { color: var(--pink-deep); flex: none; }
.price-unit { font-size: 13px; color: var(--muted); }
.price-agree { font-family: var(--ff-head); font-size: 24px; font-weight: 600; color: var(--mauve-deep); line-height: 1.3; }
.info-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); }
.info-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list svg { flex: none; margin-top: 4px; color: var(--pink-deep); }
.info-list b { font-weight: 500; color: var(--muted); min-width: 92px; }
.info-list span { color: var(--ink); }
.book-note { margin-top: 10px; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.6; }

/* لوحة التحكم — الإصدار 2 */
.a-media { width: 56px; height: 56px; flex: none; border-radius: 16px; overflow: hidden; background: var(--cream); border: 1px solid var(--line); display: grid; place-items: center; font-size: 26px; }
.a-media img { width: 100%; height: 100%; object-fit: cover; }
.toggles { display: flex; gap: 14px; }
.toggle-col { display: grid; justify-items: center; gap: 2px; }
.order-btns { display: flex; gap: 6px; margin-inline-start: auto; }
.order-btns .icon-btn { width: 38px; height: 38px; }
.order-btns .icon-btn[disabled] { opacity: .35; cursor: not-allowed; }
.uploader { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px dashed var(--line-2); border-radius: 16px; background: var(--cream); }
.uploader .thumb { width: 96px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); flex: none; }
.uploader .thumb img { width: 100%; height: 100%; object-fit: cover; }
.uploader .u-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); gap: 4px; }
.seg button { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--mauve-deep); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.form-section { margin: 18px 0 10px; font-size: 13px; font-weight: 600; color: var(--pink-deep); display: flex; align-items: center; gap: 8px; }
.form-section::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tag.hidden-tag { background: var(--cream-2); color: var(--muted); }
.t-admin-text { margin-top: 10px; font-size: 15px; white-space: pre-line; word-break: break-word; }
@media (min-width: 760px) {
  .a-form .grid2.md3 { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 520px) {
  .a-form .grid2 { grid-template-columns: 1fr; }
  .toggles { gap: 8px; }
}
