:root {
  --ams-inner-ink: #05322b;
  --ams-inner-accent: #25897a;
  --ams-inner-mint: #e5efec;
  --ams-inner-mist: #f4f7f5;
  --ams-inner-sand: #f4efeb;
  --ams-inner-line: rgba(5, 50, 43, .10);
}

body[data-ams-inner] {
  background: #f7f9f8 !important;
  color: var(--ams-inner-ink);
}

body[data-ams-inner] nav[data-navpill] {
  border: 1px solid rgba(5, 50, 43, .07) !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 14px 40px rgba(5, 50, 43, .07) !important;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

body[data-ams-inner] section[data-screen-label] {
  position: relative;
}

body[data-ams-inner] section[data-screen-label*="البطل"],
body[data-ams-inner] section[data-screen-label="المدونة"] {
  isolation: isolate;
  overflow: hidden !important;
  margin: 0 clamp(10px, 1.5vw, 22px) clamp(14px, 1.6vw, 24px);
  border: 1px solid rgba(5, 50, 43, .06);
  border-radius: 0 0 clamp(28px, 3.5vw, 48px) clamp(28px, 3.5vw, 48px);
  background:
    radial-gradient(circle at 78% 12%, rgba(179, 205, 207, .28), transparent 31%),
    radial-gradient(circle at 14% 88%, rgba(238, 232, 231, .68), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #f7faf8 58%, #f2f6f4 100%) !important;
}

body[data-ams-inner] section[data-screen-label*="البطل"]::before,
body[data-ams-inner] section[data-screen-label="المدونة"]::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: clamp(360px, 46vw, 720px);
  height: clamp(120px, 16vw, 250px);
  left: clamp(-260px, -14vw, -110px);
  bottom: clamp(-120px, -7vw, -64px);
  border: 1px solid rgba(37, 137, 122, .12);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(179,205,207,.13));
  transform: rotate(-9deg);
  pointer-events: none;
}

body[data-ams-inner] section[data-screen-label*="البطل"]::after,
body[data-ams-inner] section[data-screen-label="المدونة"]::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: clamp(180px, 24vw, 360px);
  height: clamp(180px, 24vw, 360px);
  right: clamp(-150px, -8vw, -70px);
  top: clamp(-180px, -10vw, -90px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,137,122,.10), rgba(37,137,122,0) 68%);
  pointer-events: none;
}

body[data-ams-inner] section[data-screen-label*="البطل"] > *,
body[data-ams-inner] section[data-screen-label="المدونة"] > * {
  position: relative;
  z-index: 1;
}

body[data-ams-inner] section[data-screen-label="المؤتمرات والمعارض"],
body[data-ams-inner] section[data-screen-label="خطوات العمل"],
body[data-ams-inner] section[data-screen-label="الباقات الثلاث"],
body[data-ams-inner] section[data-screen-label="إضافات اختيارية"],
body[data-ams-inner] section[data-screen-label="الأسئلة الشائعة"],
body[data-ams-inner] section[data-screen-label="قنوات التواصل والنموذج"],
body[data-ams-inner] section[data-screen-label="مصممة للأعمال"] {
  background:
    radial-gradient(circle at 92% 6%, rgba(179,205,207,.14), transparent 22%),
    #f6f9f7 !important;
}

body[data-ams-inner] section[data-screen-label="صورة واضحة"] {
  border: 1px solid rgba(5, 50, 43, .07);
  background:
    radial-gradient(circle at 80% 10%, rgba(179,205,207,.25), transparent 34%),
    linear-gradient(135deg, #f4efeb, #f7f9f7) !important;
  box-shadow: 0 24px 70px rgba(5, 50, 43, .06);
}

body[data-ams-inner] section[data-screen-label="الدعوة الختامية"] {
  margin: clamp(18px, 2vw, 30px) clamp(12px, 2vw, 28px) clamp(18px, 2vw, 28px);
  border: 1px solid rgba(5, 50, 43, .07) !important;
  border-radius: clamp(26px, 3.5vw, 46px);
  background:
    radial-gradient(circle at 16% 90%, rgba(179,205,207,.24), transparent 27%),
    linear-gradient(135deg, #f4f7f5 0%, #ffffff 55%, #f5efeb 100%) !important;
  box-shadow: 0 22px 64px rgba(5, 50, 43, .06);
}

body[data-ams-inner] section[data-screen-label] [style*="border-radius: 22px"],
body[data-ams-inner] section[data-screen-label] [style*="border-radius: 24px"],
body[data-ams-inner] section[data-screen-label] [style*="border-radius: 26px"],
body[data-ams-inner] section[data-screen-label] [style*="border-radius: 28px"],
body[data-ams-inner] section[data-screen-label] [style*="border-radius: 30px"] {
  border-color: rgba(5, 50, 43, .11) !important;
  box-shadow: 0 18px 52px rgba(5, 50, 43, .055);
}

body[data-ams-inner] input,
body[data-ams-inner] textarea,
body[data-ams-inner] select {
  background: rgba(255,255,255,.94) !important;
  border-color: rgba(5,50,43,.14) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 8px 24px rgba(5,50,43,.025);
}

body[data-ams-inner] input:focus,
body[data-ams-inner] textarea:focus,
body[data-ams-inner] select:focus {
  border-color: #1d7468 !important;
  box-shadow: 0 0 0 3px rgba(29,116,104,.28) !important;
  outline: 2px solid transparent;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] {
  color: var(--ams-inner-ink) !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(179,205,207,.30), transparent 28%),
    linear-gradient(145deg, #eef4f1 0%, #f8faf9 56%, #f3efec 100%) !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] [style*="background: #05322B"] {
  color: var(--ams-inner-ink) !important;
  border: 1px solid rgba(5,50,43,.10) !important;
  background: rgba(255,255,255,.84) !important;
  box-shadow: 0 14px 38px rgba(5,50,43,.05);
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:first-child h2,
body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) strong {
  color: var(--ams-inner-ink) !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:first-child p,
body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:first-child span,
body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) p,
body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) > div:first-child > span {
  color: rgba(5,50,43,.62) !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) {
  gap: 12px !important;
  border-color: rgba(5,50,43,.10) !important;
  background: transparent !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) > div {
  border: 1px solid rgba(5,50,43,.09) !important;
  border-radius: 18px;
  color: var(--ams-inner-ink) !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: 0 12px 34px rgba(5,50,43,.045);
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) > div:first-child {
  border-radius: 18px !important;
  background: rgba(229,239,236,.92) !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) svg {
  stroke: #25897a !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) > div > span[aria-hidden="true"] {
  border-color: rgba(37,137,122,.22) !important;
  background: rgba(37,137,122,.06);
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] [style*="color: #FFFFFF"] {
  color: var(--ams-inner-ink) !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] [style*="color: #B3CDCF"] {
  color: rgba(5,50,43,.62) !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] [style*="border: 1px solid rgba(179,205,207"] {
  border-color: rgba(5,50,43,.11) !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] svg[stroke="#B3CDCF"] {
  stroke: #25897a !important;
}

body[data-ams-inner] section[data-screen-label] a[style*="background: #05322B"],
body[data-ams-inner] section[data-screen-label] button[style*="background: #05322B"] {
  box-shadow: 0 12px 28px rgba(5,50,43,.14);
}

body[data-ams-inner] section[data-screen-label] a[style*="background: #05322B"]:hover,
body[data-ams-inner] section[data-screen-label] button[style*="background: #05322B"]:hover {
  box-shadow: 0 16px 34px rgba(5,50,43,.20);
}

@media (max-width: 760px) {
  body[data-ams-inner] section[data-screen-label*="البطل"],
  body[data-ams-inner] section[data-screen-label="المدونة"] {
    margin-inline: 7px;
    border-radius: 0 0 26px 26px;
  }

  body[data-ams-inner] section[data-screen-label="الدعوة الختامية"] {
    margin-inline: 8px;
    border-radius: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-ams-inner] *,
  body[data-ams-inner] *::before,
  body[data-ams-inner] *::after {
    scroll-behavior: auto !important;
  }
}
