/* تمكين المعلم, landing 2026-11-24 (beside style.css and motion.css of v4-20261025-responsive).
   The plans section grew out of licence-offers-9184e65a46ac.css; a plan card centres its content like the
   platform's short cards (owner decision 7), and the offer badge keeps the card's inline-end corner (decision 2). */
.campaign-plans { background: #eff7f7; color: #103743; scroll-margin-block-start: 5rem; }
.campaign-plans .campaign-plans-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.campaign-plans .campaign-plans-grid[hidden] { display: none; }
.campaign-plans .campaign-plans-grid > li { display: flex; min-width: 0; }
.campaign-plans .tlp-offer { display: flex; flex-direction: column; align-items: center; gap: .7rem; width: 100%; min-width: 0; padding: clamp(1.15rem, 3vw, 1.75rem); background: #fff; border: 1px solid #b8d4d5; border-radius: 1.35rem; text-align: center; overflow-wrap: anywhere; }
.campaign-plans .tlp-offer.is-active { border: 2px solid #087c80; background: #f6fcfb; }
/* The admin's plan colour (decision 2) as the card's top edge, in the landing's own palette. */
.campaign-plans .tlp-offer.is-tone-accent { border-block-start: 4px solid var(--teal); }
.campaign-plans .tlp-offer.is-tone-success { border-block-start: 4px solid var(--success); }
/* The landing palette has no warning colour: the platform's warning-strong (5:1 on white). */
.campaign-plans .tlp-offer.is-tone-warning { border-block-start: 4px solid #b25400; }
.campaign-plans .tlp-offer.is-tone-danger { border-block-start: 4px solid var(--danger); }
/* «عرض خاطف» (decision 2): after the tones, so its danger edge wins as on /plans; its badge gets a ring. */
.campaign-plans .tlp-offer.is-flash { border-color: #d7a5a8; border-block-start: 4px solid var(--danger); }
.campaign-plans .pub-offer-promotion { align-self: flex-end; max-width: 100%; padding: .3rem .75rem; border-radius: .7rem; background: #a3201a; color: #fff; font-size: .9rem; line-height: 1.5; font-weight: 700; }
.campaign-plans .tlp-offer.is-flash .pub-offer-promotion { box-shadow: 0 0 0 3px rgba(165, 54, 62, .22); }
/* The admin's plan tag («الأكثر طلبًا»). */
.campaign-plans .campaign-plans-tag { max-width: 100%; padding: .2rem .7rem; border-radius: .7rem; background: var(--pale); color: var(--petrol); font-size: .85rem; line-height: 1.5; font-weight: 700; }
.campaign-plans .tlp-offer-title { margin: 0; font-size: clamp(1.2rem, 2.8vw, 1.5rem); line-height: 1.4; color: #103743; }
.campaign-plans .campaign-plans-description { margin: 0; color: #416069; font-size: 1rem; line-height: 1.65; }
.campaign-plans .campaign-plans-features { display: grid; justify-items: center; gap: .35rem; margin: 0; padding: 0; list-style: none; color: #103743; font-size: .95rem; font-weight: 700; line-height: 1.5; }
.campaign-plans .campaign-plans-features li { display: inline-flex; align-items: center; gap: .4rem; }
.campaign-plans .campaign-plans-features svg { width: 18px; height: 18px; color: var(--success); }
.campaign-plans .campaign-plans-price { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: .25rem .35rem; margin: auto 0 0; padding-block-start: .6rem; }
.campaign-plans .pub-price-value { color: #103743; font-weight: 800; font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.2; }
.campaign-plans .pub-price-before { flex: 1 0 100%; color: #53666c; font-size: .95rem; }
.campaign-plans .campaign-plans-common { max-width: 46rem; margin: 1.25rem auto 0; color: #416069; font-size: .95rem; line-height: 1.8; text-align: center; }
.campaign-plans .campaign-plans-common[hidden] { display: none; }
/* No script, a blocked script or an empty /plans: one «اشترك الآن» to /plans in the cards' place. */
.campaign-plans .campaign-plans-fallback { display: flex; width: fit-content; margin-inline: auto; }
.campaign-plans .campaign-plans-grid:not([hidden]) ~ .campaign-plans-fallback { display: none; }
.campaign-plans a:focus-visible { outline: 3px solid #087c80; outline-offset: 3px; }
/* «ماذا تحصل»: the five cards inform and lead nowhere, so they no longer light up under the pointer. */
@media (hover: hover) {
  article.tool-card:hover { border-color: var(--border); box-shadow: none; }
  article.tool-train:hover { border-color: var(--deep); }
}
/* The phone menu: «اشترك الآن» is its one button; subscribers sign in from the link under it. */
.nav-dialog .nav-dialog-login { display: flex; justify-content: center; margin-block-start: 8px; }
/* The names of the icon-only controls (landing.js, requirement 4): one bubble above (or below) the control. */
.landing-hint { display: none; position: fixed; inset: auto; inset-inline-start: var(--hint-x, 0px); inset-block-start: var(--hint-y, 0px); z-index: 1000;
  box-sizing: border-box; inline-size: max-content; max-inline-size: min(16rem, calc(100vw - 16px)); margin: 0; padding: 4px 10px; overflow: visible;
  border: 0; border-radius: 8px; background: #103743; color: #fff; box-shadow: 0 6px 18px rgba(16, 55, 67, .22);
  font-family: inherit; font-size: .8rem; font-weight: 700; line-height: 1.5; text-align: center; white-space: normal; pointer-events: none; user-select: none; }
.landing-hint.is-open { display: block; }
/* A long press names the control instead of opening iOS's link preview or selecting the glyph. */
#menu-toggle, .close-dialog, .hero-bottom a[aria-label] { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
