/* ערכת עיצוב: פומלה — ירוק-ליים חיוור, צהוב הדרים ופלחים. נטענת רק בעמודים עם "theme": "pomelo" */
.theme-pomelo{
  --pm-green:#5E7F1E; --pm-deep:#3B5413; --pm-lime:#D9E88A; --pm-pith:#FBF8E8; --pm-flesh:#F6D9C8; --pm-yellow:#F2D64B;
  --link:#4E6E12;
  --grad:linear-gradient(100deg,#5E7F1E,#B9A322);
  /* פלח פומלה: חצי עיגול עם קווי שקיקים */
  --seg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='17' fill='%23D9E88A' stroke='%235E7F1E' stroke-width='2.2'/%3E%3Ccircle cx='20' cy='20' r='12.5' fill='%23FBF8E8'/%3E%3Cg stroke='%23E7A98C' stroke-width='1.6'%3E%3Cpath d='M20 9v22M9 20h22M12.2 12.2l15.6 15.6M27.8 12.2 12.2 27.8'/%3E%3C/g%3E%3Ccircle cx='20' cy='20' r='2.2' fill='%23FBF8E8'/%3E%3C/svg%3E");
  --pores:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46'%3E%3Cg fill='%235E7F1E' fill-opacity='.09'%3E%3Ccircle cx='6' cy='8' r='1.6'/%3E%3Ccircle cx='28' cy='4' r='1.2'/%3E%3Ccircle cx='18' cy='22' r='1.8'/%3E%3Ccircle cx='38' cy='30' r='1.4'/%3E%3Ccircle cx='9' cy='38' r='1.2'/%3E%3C/g%3E%3C/svg%3E");
  background:var(--pores),var(--pm-pith);
}
.theme-pomelo .progress span{background:linear-gradient(90deg,var(--pm-yellow),var(--pm-green))}
.theme-pomelo .phero{
  position:relative;isolation:isolate;margin:20px auto 8px;max-width:1232px;padding:48px 44px;border-radius:40px;
  background:radial-gradient(140% 120% at 100% 0%,#EEF4C4 0%,var(--pm-lime) 45%,#B8CF5E 100%);
  box-shadow:inset 0 0 0 14px rgba(255,255,255,.55),0 26px 50px -30px rgba(59,84,19,.55);
}
.theme-pomelo .phero::after{content:"";position:absolute;width:240px;height:240px;inset-inline-start:-50px;bottom:-60px;background:var(--seg) center/contain no-repeat;opacity:.35;z-index:-1}
.theme-pomelo .phero h1{color:var(--pm-deep)}
.theme-pomelo .phero .lead{color:#2F3D12}
.theme-pomelo .phero .chip{background:#fff;color:var(--pm-deep)}
.theme-pomelo .phero-img{border-radius:50% 50% 28px 28px/38% 38% 28px 28px;box-shadow:0 0 0 7px var(--pm-pith),0 24px 44px -22px rgba(59,84,19,.7)}
.theme-pomelo .phero-img img{border-radius:inherit}
.theme-pomelo .body h2{display:flex;align-items:center;gap:12px;color:var(--pm-deep)}
.theme-pomelo .body h2::before{content:"";flex:0 0 30px;height:30px;background:var(--seg) center/contain no-repeat}
.theme-pomelo .toc{border-inline-start-color:var(--pm-green)}
.theme-pomelo .ticks li::before{background:var(--pm-yellow);box-shadow:0 0 0 2px var(--pm-green)}
.theme-pomelo .steps li::before{background:var(--pm-green);color:#fff}
.theme-pomelo th{background:var(--pm-deep);color:#F4F8D8}
.theme-pomelo .tbl{box-shadow:0 0 0 2px var(--pm-lime),var(--sh)}
.theme-pomelo .tip{background:#F1F6D4;border-color:var(--pm-green)}
.theme-pomelo .tip.warn{background:#FCEBDD;border-color:#C9622F}
.theme-pomelo .keybox div{background:#fff;border-radius:999px 999px 18px 18px;box-shadow:inset 0 0 0 2px var(--pm-lime)}
.theme-pomelo .keybox b{color:var(--pm-deep)}
.theme-pomelo .body figure{border-radius:26px;overflow:hidden;box-shadow:0 0 0 6px #fff,0 0 0 8px var(--pm-lime),0 18px 36px -24px rgba(59,84,19,.6)}
.theme-pomelo .body figure img{aspect-ratio:4/3}
.theme-pomelo blockquote{text-align:center;border:0;margin:44px auto 24px;padding:36px 30px;border-radius:999px;max-width:640px;background:var(--pm-flesh);color:#6A2E14;font-size:22px;box-shadow:0 0 0 10px #fff,0 0 0 13px var(--pm-lime)}

/* --- רכיב חתימה: מפת החיתוך --- */
.theme-pomelo .pm-map{display:grid;grid-template-columns:260px 1fr;gap:28px;align-items:center;margin:30px 0;padding:26px;border-radius:28px;background:#fff;box-shadow:0 0 0 2px var(--pm-lime),0 18px 40px -26px rgba(59,84,19,.55)}
.theme-pomelo .pm-map svg{width:100%;height:auto}
.theme-pomelo .pm-map h3{margin:0 0 10px;color:var(--pm-deep);font-size:21px}
.theme-pomelo .pm-map ol{margin:0;padding:0;list-style:none;counter-reset:pm}
.theme-pomelo .pm-map li{counter-increment:pm;position:relative;padding:6px 40px 6px 0;font-size:16px;line-height:1.55}
.theme-pomelo .pm-map li::before{content:counter(pm);position:absolute;right:0;top:6px;width:28px;height:28px;border-radius:50%;background:var(--pm-yellow);color:var(--pm-deep);font-weight:700;display:grid;place-items:center;font-size:14px}
@media (max-width:900px){.theme-pomelo .phero{margin:12px 12px 4px;padding:30px 20px;border-radius:28px}}
@media (max-width:700px){
  .theme-pomelo .pm-map{grid-template-columns:1fr;padding:20px 16px}
  .theme-pomelo .pm-map svg{max-width:220px;margin:0 auto;display:block}
  .theme-pomelo blockquote{border-radius:28px;font-size:19px;padding:28px 18px}
  .theme-pomelo .body h2::before{flex-basis:24px;height:24px}
}
html.a11y-contrast .theme-pomelo .phero,html.a11y-contrast .theme-pomelo blockquote{background:#000!important;color:#fff!important}
