/**
 * Accmaa — system integrity layer (20260930c)
 * Kills ghost photo card backgrounds on dashboards; Accmaa logo watermark only.
 * Softens competing overlays from older fix/bundle CSS without removing them.
 */
body.accmaa-academy-chrome #mainContent,
body.accmaa-academy-chrome .main-inner.dash-home,
body.accmaa-academy-chrome .dash-flow,
body.accmaa-academy-chrome .admin-shell {
    background-color: #f5f7fb;
    background-image: url("../images/Accmaa-logo-official.png");
    background-repeat: no-repeat;
    background-position: center 32%;
    background-size: min(28vw, 220px) auto;
    background-attachment: local;
}

body.accmaa-academy-chrome #mainContent::after,
body.accmaa-academy-chrome .dash-flow::before,
body.accmaa-academy-chrome .dash-home::before {
    content: none !important;
    background-image: none !important;
}

.has-card-bg[data-card-surface="watermark"]::before,
body.accmaa-academy-chrome .has-card-bg::before {
    background-image: var(--card-bg, url("../images/Accmaa-logo-official.png")) !important;
    background-size: min(40%, 120px) auto !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    opacity: 0.08 !important;
    filter: none !important;
    transform: none !important;
}

.has-card-bg[data-card-surface="watermark"]:hover::before,
body.accmaa-academy-chrome .has-card-bg:hover::before {
    opacity: 0.12 !important;
    transform: none !important;
    filter: none !important;
}

/* صفحة الدورات: لا علامة مائية ضخمة فوق الكروت */
body.accmaa-academy-chrome .ak-courses-browse,
body.accmaa-academy-chrome .ak-courses-body,
body.accmaa-academy-chrome #akCoursesGrid {
    background-image: none !important;
}
body.accmaa-academy-chrome:has(#akCoursesBrowse) #mainContent,
body.accmaa-academy-chrome:has(.ak-courses-browse) #mainContent {
    background-image: none !important;
}

.has-card-bg[data-card-surface="watermark"]::after,
body.accmaa-academy-chrome .has-card-bg::after {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 252, 0.9)) !important;
}

/* Admin course tier badges in tables */
.gov-table .accmaa-tier-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}
.gov-table .accmaa-tier-free { background: #e8f7ef; color: #0d7a3f; }
.gov-table .accmaa-tier-paid { background: #eef2ff; color: #0e3a7e; }
.gov-table .accmaa-tier-premium { background: #fff6e0; color: #9a6b00; }

/* Reduce ghost stacked shadows from legacy dash skins */
body.accmaa-academy-chrome .dash-home .panel-premium,
body.accmaa-academy-chrome .admin-shell .panel-premium {
    box-shadow: 0 8px 22px rgba(6, 27, 63, 0.06);
}

/* 20260930d — سرعة + وضوح موبايل + شبكة كورسات مستقرة */
@media (max-width: 900px) {
    body.accmaa-academy-chrome .has-card-bg::before,
    body.accmaa-academy-chrome .has-card-bg::after {
        filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        animation: none !important;
    }
    body.accmaa-academy-chrome .ak-course-card,
    body.accmaa-academy-chrome .ax-item.ax-card {
        content-visibility: auto;
        contain: layout paint style;
    }
}
html body.accmaa-academy-chrome .ak-courses-grid.ax-grid--courses,
html body.accmaa-academy-chrome .ax-grid.ax-grid--courses {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}
@media (max-width: 1200px) {
    html body.accmaa-academy-chrome .ak-courses-grid.ax-grid--courses,
    html body.accmaa-academy-chrome .ax-grid.ax-grid--courses {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 900px) {
    html body.accmaa-academy-chrome .ak-courses-grid.ax-grid--courses,
    html body.accmaa-academy-chrome .ax-grid.ax-grid--courses {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 420px) {
    html body.accmaa-academy-chrome .ak-courses-grid.ax-grid--courses,
    html body.accmaa-academy-chrome .ax-grid.ax-grid--courses {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* 20260930g — تباين نص الاستوديو + علامة مائية Accmaa للمنصة */
html body.premium-ui .studio-hero,
html body.accmaa-academy-chrome .studio-hero,
html body .studio-hero {
    color: #faf3dc !important;
}
html body.premium-ui .studio-hero h1,
html body .studio-hero h1,
html body.premium-ui .studio-showcase-cta h3,
html body .studio-showcase-cta h3 {
    color: #f4d76e !important;
    -webkit-text-fill-color: #f4d76e !important;
}
html body.premium-ui .studio-hero p,
html body .studio-hero p,
html body.premium-ui .studio-showcase-cta p,
html body .studio-showcase-cta p,
html body.premium-ui .main-inner .studio-hero p,
html body.premium-ui .content-panel .studio-hero p,
html body.premium-ui .main-inner .studio-showcase-cta p {
    color: #eef4fb !important;
    -webkit-text-fill-color: #eef4fb !important;
    opacity: 1 !important;
}
html body.premium-ui .studio-ribbon,
html body .studio-ribbon {
    color: #f4d76e !important;
    -webkit-text-fill-color: #f4d76e !important;
}

/* علامة مائية Accmaa الرسمية خلف المنصة */
html body.accmaa-academy-chrome,
html body.premium-ui {
    background-color: #f5f7fb;
}
html body.accmaa-academy-chrome #mainContent,
html body.premium-ui #mainContent,
html body.accmaa-academy-chrome .main-wrap,
html body.premium-ui .main-wrap {
    background-image: url("../images/Accmaa-logo-official.png");
    background-repeat: no-repeat;
    background-position: center 40%;
    background-size: min(32vw, 260px) auto;
    background-attachment: local;
}
html body.accmaa-academy-chrome .studio-page,
html body.premium-ui .studio-page {
    background-image: url("../images/Accmaa-logo-official.png");
    background-repeat: no-repeat;
    background-position: center 55%;
    background-size: min(34vw, 240px) auto;
}

/* ═══════════════════════════════════════════════════════════
   20260930h — تباين + أعلام الضرائب + أدوات مجانية + دخلة ناعمة
   ═══════════════════════════════════════════════════════════ */

/* نص فاتح فوق الأسطح الكحلية (يمنع كلام مش ظاهر) */
html body.premium-ui .tax-module .tax-hero .page-title,
html body.premium-ui .tax-module .tax-hero .page-desc,
html body.premium-ui .tax-module .tax-hero .tax-hero-lead,
html body .tax-module .tax-hero .page-title,
html body .tax-module .tax-hero .page-desc,
html body .tax-module .tax-hero .tax-hero-lead {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
}
html body .tax-module .tax-hero .tax-hero-lead {
    color: #eef4fb !important;
    -webkit-text-fill-color: #eef4fb !important;
    font-size: 1.02rem;
    max-width: 46ch;
    margin-inline: auto;
    line-height: 1.7;
}
html body .tax-module .tax-hero-badge {
    color: #0a2f5c !important;
    background: #f4d76e !important;
    font-weight: 800;
}

/* شبكة دول مضغوطة وواضحة */
html body .tax-module .tax-country-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)) !important;
    gap: 12px !important;
}
html body .tax-module .tax-country-card {
    min-height: 118px !important;
    padding: 14px 10px 12px !important;
    background: linear-gradient(165deg, #0e3a7e 0%, #071f3d 100%) !important;
    border: 1px solid rgba(244, 215, 110, 0.28) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(6, 27, 63, 0.14) !important;
    transform: none !important;
    filter: none !important;
}
html body .tax-module .tax-country-card::before {
    opacity: 0.18;
    filter: none !important;
}
html body .tax-module .tax-country-card::after {
    background: linear-gradient(180deg, rgba(7, 31, 61, 0.35) 0%, rgba(7, 31, 61, 0.88) 100%) !important;
}
html body .tax-module .tax-country-card strong {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 0.92rem !important;
}
html body .tax-module .tax-country-card small,
html body .tax-module .tax-country-card .tax-iso {
    color: #e8f0fb !important;
    -webkit-text-fill-color: #e8f0fb !important;
    opacity: 1 !important;
}
html body .tax-module .tax-flag-mark {
    display: grid !important;
    place-items: center !important;
    width: 48px !important;
    height: 34px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    background-image: none !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.65), 0 4px 12px rgba(0, 0, 0, 0.22) !important;
    overflow: hidden !important;
    margin-bottom: 4px;
}
html body .tax-module .tax-flag-emoji {
    display: block !important;
    font-size: 1.55rem !important;
    line-height: 1 !important;
}
html body .tax-module .tax-flag-img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
html body .tax-module .tax-flag-img.is-ready {
    display: block;
    position: absolute;
    inset: 0;
}
html body .tax-module .tax-flag-mark {
    position: relative;
}
html body .tax-module .tax-flag-mark--lg {
    width: 72px !important;
    height: 48px !important;
}
html body .tax-module .tax-flag-mark--lg .tax-flag-emoji {
    font-size: 2.1rem !important;
}
html body .tax-module .tax-disclaimer p {
    color: #1e3048 !important;
}

@media (max-width: 900px) {
    html body .tax-module .tax-hero {
        padding: 22px 16px !important;
        margin-bottom: 16px !important;
        border-radius: 14px !important;
    }
    html body .tax-module .tax-hero::after { font-size: 4.5rem !important; opacity: 0.06; }
    html body .tax-module .tax-hero .page-title { font-size: 1.35rem !important; }
    html body .tax-module .tax-hero .tax-hero-lead { font-size: 0.92rem !important; }
    html body .tax-module .tax-country-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    html body .tax-module .tax-country-card {
        min-height: 96px !important;
        padding: 10px 6px 8px !important;
        border-radius: 12px !important;
    }
    html body .tax-module .tax-country-card strong { font-size: 0.8rem !important; }
    html body .tax-module .tax-country-card small { font-size: 0.68rem !important; }
    html body .tax-module .tax-flag-mark {
        width: 36px !important;
        height: 26px !important;
    }
    html body .tax-module .tax-flag-emoji { font-size: 1.2rem !important; }
}
@media (max-width: 420px) {
    html body .tax-module .tax-country-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* أدوات مجانية — خلفيات مميزة + شارة مجاني واضحة */
html body .ak-ht-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
html body .ak-ht-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
}
html body .ak-ht-card > *:not(.ak-ht-visual) { position: relative; z-index: 1; }

html body .ak-ht-card--tax {
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(232, 197, 71, 0.22), transparent 55%),
        linear-gradient(160deg, #ffffff 0%, #f7fafc 55%, #eef5ff 100%) !important;
    border-color: rgba(14, 58, 126, 0.16) !important;
}
html body .ak-ht-card--tax .ak-ht-visual {
    background:
        radial-gradient(circle at 12% 18%, rgba(14, 58, 126, 0.12), transparent 42%),
        repeating-linear-gradient(-18deg, transparent, transparent 10px, rgba(14, 58, 126, 0.035) 10px, rgba(14, 58, 126, 0.035) 11px);
}
html body .ak-ht-card--tax .ak-ht-ico {
    background: #0e3a7e !important;
    color: #f4d76e !important;
}

html body .ak-ht-card--translate {
    background:
        radial-gradient(100% 70% at 0% 0%, rgba(244, 215, 110, 0.35), transparent 50%),
        linear-gradient(165deg, #0b2f66 0%, #0e3a7e 48%, #071f3d 100%) !important;
    border-color: rgba(244, 215, 110, 0.35) !important;
    color: #fff !important;
}
html body .ak-ht-card--translate .ak-ht-visual {
    background:
        radial-gradient(circle at 85% 20%, rgba(244, 215, 110, 0.2), transparent 40%),
        linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.05) 100%);
}
html body .ak-ht-card--translate h3,
html body .ak-ht-card--translate .ak-ht-open,
html body.premium-ui .ak-ht-card--translate h3 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
html body .ak-ht-card--translate p,
html body .ak-ht-card--translate li,
html body.premium-ui .ak-ht-card--translate p,
html body.premium-ui .ak-ht-card--translate li {
    color: #e8f0fb !important;
    -webkit-text-fill-color: #e8f0fb !important;
}
html body .ak-ht-card--translate li::before { color: #f4d76e !important; }
html body .ak-ht-card--translate .ak-ht-open { color: #f4d76e !important; }
html body .ak-ht-card--translate .ak-ht-ico {
    background: #f4d76e !important;
    color: #0e3a7e !important;
}
html body .ak-ht-card--translate .ak-ht-badge {
    background: #f4d76e !important;
    color: #061f3d !important;
    -webkit-text-fill-color: #061f3d !important;
}

html body .ak-ht-card--pdf {
    background:
        radial-gradient(90% 70% at 100% 100%, rgba(180, 40, 40, 0.1), transparent 45%),
        linear-gradient(160deg, #ffffff 0%, #fff8f6 60%, #f5f7fb 100%) !important;
    border-color: rgba(160, 40, 40, 0.14) !important;
}
html body .ak-ht-card--pdf .ak-ht-visual {
    background:
        radial-gradient(circle at 90% 10%, rgba(180, 40, 40, 0.1), transparent 40%);
}
html body .ak-ht-card--pdf .ak-ht-ico {
    background: #fde8e8 !important;
    color: #b42318 !important;
}

html body .ak-ht-badge {
    background: #f4d76e !important;
    color: #061f3d !important;
    -webkit-text-fill-color: #061f3d !important;
    font-weight: 800 !important;
    border: 1px solid rgba(6, 31, 61, 0.12);
}

/* محاور + دورات — وضوح نص العناوين */
html body .ak-home-cats__lead,
html body .ak-page-hero p,
html body.premium-ui .ak-home-cats__lead,
html body.premium-ui .ak-page-hero p {
    color: #1e3048 !important;
    -webkit-text-fill-color: #1e3048 !important;
    opacity: 1 !important;
}
html body .ak-page-tag,
html body.premium-ui .ak-page-tag {
    color: #8a6208 !important;
    background: #fdf4dc !important;
    -webkit-text-fill-color: #8a6208 !important;
}

/* دخلة المنصة — حادة بدون scale/filter يسبب بكسلة */
html body .accmaa-brand-intro,
html body .accmaa-brand-intro *,
html body .accmaa-brand-intro-backdrop,
html body .accmaa-brand-intro.is-leaving {
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
html body .accmaa-brand-intro,
html body .accmaa-brand-intro-backdrop,
html body .accmaa-brand-intro-inner,
html body .accmaa-brand-intro-logo-wrap,
html body .accmaa-brand-intro-logo,
html body .accmaa-brand-intro.is-leaving {
    transform: none !important;
}
html.accmaa-intro-pending body,
body.accmaa-intro-lock,
html.accmaa-intro-pending body.accmaa-intro-lock > .sidebar,
html.accmaa-intro-pending body.accmaa-intro-lock > .topbar,
html.accmaa-intro-pending body.accmaa-intro-lock > .main-wrap,
html.accmaa-intro-pending body.accmaa-intro-lock > .accmaa-utility-stack,
html body.accmaa-academy-chrome #mainContent,
html body.premium-ui #mainContent {
    filter: none !important;
    -webkit-filter: none !important;
    transform: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) {
    html body .accmaa-brand-intro,
    html body .accmaa-brand-intro * {
        animation: none !important;
        transition: opacity 0.2s ease !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   20260930i — علامة مائية Accmaa بكامل المنصة (داخل + خارج)
   نفس أسلوب أدوات PDF / التفقيط — لوجو HQ باهت خلف المحتوى
   ═══════════════════════════════════════════════════════════ */

html body.accmaa-academy-chrome,
html body.premium-ui {
    --accmaa-wm: url("../images/Accmaa-logo-official-hq.png");
    background-color: #f5f7fb;
}

/* طبقة ثابتة خلف كل الشاشة (خارج المحتوى وداخله) */
html body.accmaa-academy-chrome::after,
html body.premium-ui::after {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    background-image: var(--accmaa-wm) !important;
    background-repeat: no-repeat !important;
    background-position: center 42% !important;
    background-size: min(460px, 56vw) auto !important;
    opacity: 0.065 !important;
    filter: none !important;
    transform: none !important;
}

/* رفع الهيكل فوق العلامة المائية */
html body.accmaa-academy-chrome > .sidebar,
html body.accmaa-academy-chrome > .topbar,
html body.accmaa-academy-chrome > .main-wrap,
html body.accmaa-academy-chrome > .accmaa-utility-stack,
html body.accmaa-academy-chrome > .accmaa-brand-intro,
html body.premium-ui > .sidebar,
html body.premium-ui > .topbar,
html body.premium-ui > .main-wrap {
    position: relative;
    z-index: 2;
}

/* المحتوى الداخلي — علامة مائية مثل PDF */
html body.accmaa-academy-chrome #mainContent,
html body.premium-ui #mainContent,
html body.accmaa-academy-chrome .main-wrap,
html body.premium-ui .main-wrap {
    background-color: transparent !important;
    background-image: none !important;
    position: relative;
    z-index: 2;
}

html body.accmaa-academy-chrome #mainContent::before,
html body.premium-ui #mainContent::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 8% !important;
    transform: translateX(-50%) !important;
    width: min(480px, 62vw) !important;
    height: min(320px, 44vw) !important;
    background: var(--accmaa-wm) center / contain no-repeat !important;
    opacity: 0.08 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    filter: none !important;
}

html body.accmaa-academy-chrome #mainContent > *,
html body.premium-ui #mainContent > * {
    position: relative;
    z-index: 1;
}

/* صفحات الأدوات — علامة مائية واحدة فقط (بدون تكرار شبحي على كل main-inner) */
html body .accmaa-pdf-tools-page::before,
html body .tafqeet-page::before,
html body .gifts-hub-page::before,
html body .gifts-hub::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 10% !important;
    transform: translateX(-50%) !important;
    width: min(440px, 58vw) !important;
    height: min(300px, 40vw) !important;
    background: var(--accmaa-wm, url("../images/Accmaa-logo-official-hq.png")) center / contain no-repeat !important;
    opacity: 0.075 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    filter: none !important;
}

/* إلغاء الطبقات المكررة على اللوحات الداخلية — الجسم + mainContent كافيان */
html body .main-inner::before,
html body .dash-landing::before,
html body .dash-flow::before,
html body .ak-courses-browse::before,
html body .ak-home-board::before,
html body .ak-tools-page::before,
html body .studio-page::before,
html body .tax-module::before,
html body .admin-shell::before {
    content: none !important;
    background-image: none !important;
}

html body .accmaa-pdf-tools-page,
html body .tafqeet-page,
html body .gifts-hub-page,
html body .main-inner,
html body .dash-landing,
html body .dash-flow,
html body .ak-courses-browse,
html body .ak-home-board,
html body .ak-tools-page,
html body .studio-page,
html body .tax-module,
html body .admin-shell {
    position: relative !important;
}

/* لا تُلغَ العلامة المائية على صفحة الدورات */
html body.accmaa-academy-chrome .ak-courses-browse,
html body.accmaa-academy-chrome .ak-courses-body,
html body.accmaa-academy-chrome #akCoursesGrid,
html body.accmaa-academy-chrome:has(#akCoursesBrowse) #mainContent,
html body.accmaa-academy-chrome:has(.ak-courses-browse) #mainContent {
    background-image: none !important;
}

html body.accmaa-academy-chrome:has(#akCoursesBrowse) #mainContent::before,
html body.accmaa-academy-chrome:has(.ak-courses-browse) #mainContent::before {
    content: "" !important;
    opacity: 0.07 !important;
}

/* كروت has-card-bg: لوجو Accmaa فقط كعلامة مائية */
html body .has-card-bg[data-card-surface="watermark"]::before,
html body.accmaa-academy-chrome .has-card-bg::before {
    background-image: var(--card-bg, url("../images/Accmaa-logo-official.png")) !important;
    background-size: min(48%, 160px) auto !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    opacity: 0.1 !important;
    filter: none !important;
    transform: none !important;
}

@media (max-width: 900px) {
    html body.accmaa-academy-chrome::after,
    html body.premium-ui::after {
        background-size: min(280px, 70vw) auto !important;
        opacity: 0.05 !important;
    }
    html body.accmaa-academy-chrome #mainContent::before,
    html body.premium-ui #mainContent::before {
        width: min(300px, 72vw) !important;
        height: min(200px, 48vw) !important;
        opacity: 0.06 !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   20260930k — طبقة علامة مائية واحدة فقط (قتل التراكم الشبحي)
   ═══════════════════════════════════════════════════════════ */
html body.accmaa-academy-chrome #mainContent,
html body.premium-ui #mainContent,
html body.accmaa-academy-chrome .main-inner.dash-home,
html body.accmaa-academy-chrome .dash-flow,
html body.accmaa-academy-chrome .admin-shell {
    background-image: none !important;
}

/* أوقف تكرار اللوجو على كل main-inner — يكفي body::after + #mainContent::before */
html body .main-inner::before,
html body .dash-landing::before,
html body .dash-flow::before,
html body .ak-courses-browse::before,
html body .ak-home-board::before,
html body .ak-tools-page::before,
html body .studio-page::before,
html body .tax-module::before,
html body .admin-shell::before,
html body .gifts-hub-page::before,
html body .gifts-hub::before {
    content: none !important;
    background: none !important;
    opacity: 0 !important;
}

/* أبقِ علامة أدوات PDF/التفقيط فقط كطبقة صفحة (مثل ما أعجبك) */
html body .accmaa-pdf-tools-page::before,
html body .tafqeet-page::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 10% !important;
    transform: translateX(-50%) !important;
    width: min(440px, 58vw) !important;
    height: min(300px, 40vw) !important;
    background: var(--accmaa-wm, url("../images/Accmaa-logo-official-hq.png")) center / contain no-repeat !important;
    opacity: 0.07 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   20261002a — شريط أزرار + أيقونات ملونة نظيفة + خريطة مضغوطة
   بدون طبقات شبحية / بكسلة — مظهر منتج محترف
   ═══════════════════════════════════════════════════════════ */

/* ——— 1) شريط التنقل: كل بند = زر ——— */
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-site-menu--rail,
html body.accmaa-academy-chrome.guest-mode #megaNav.mega-nav .accmaa-site-menu--rail {
    gap: 6px !important;
    padding: 6px 4px !important;
}

html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-top-link,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-trigger,
html body.accmaa-academy-chrome.guest-mode #megaNav.mega-nav .accmaa-nav-top-link,
html body.accmaa-academy-chrome.guest-mode #megaNav.mega-nav .accmaa-mega-trigger {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 40px !important;
    padding: 0 12px 0 10px !important;
    border-radius: 11px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #f2f6ff !important;
    -webkit-text-fill-color: #f2f6ff !important;
    font-weight: 700 !important;
    font-size: 0.84rem !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: translateY(0);
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease !important;
}

html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-top-link > span:not(.accmaa-nav-icon-wrap),
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-trigger > span:not(.accmaa-nav-icon-wrap):not(.accmaa-mega-chevron),
html body.accmaa-academy-chrome.guest-mode #megaNav.mega-nav .accmaa-nav-top-link > span:not(.accmaa-nav-icon-wrap),
html body.accmaa-academy-chrome.guest-mode #megaNav.mega-nav .accmaa-mega-trigger > span:not(.accmaa-nav-icon-wrap):not(.accmaa-mega-chevron) {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
}

/* بلاطة أيقونة ملونة قوية — نفس أسلوب قائمة الهامبرجر (مربع ملوّن + أيقونة بيضاء) */
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-ico,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-icon-wrap,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-icon-wrap.has-icon-bg,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-icon-wrap.accmaa-nav-ico,
html body.accmaa-academy-chrome.guest-mode #megaNav.mega-nav .accmaa-nav-ico,
html body.accmaa-academy-chrome.guest-mode #megaNav.mega-nav .accmaa-nav-icon-wrap {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    max-width: 30px !important;
    flex: 0 0 30px !important;
    border-radius: 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(145deg, var(--nav-ico, #f4c24d) 0%, color-mix(in srgb, var(--nav-ico, #f4c24d) 72%, #000) 100%) !important;
    background-image: linear-gradient(145deg, var(--nav-ico, #f4c24d) 0%, color-mix(in srgb, var(--nav-ico, #f4c24d) 72%, #000) 100%) !important;
    border: none !important;
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
    overflow: hidden !important;
    position: relative !important;
    isolation: isolate !important;
}

html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-ico::before,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-ico::after,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-icon-wrap::before,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-icon-wrap::after,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-icon-wrap.has-icon-bg::before,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-icon-wrap.has-icon-bg::after {
    content: none !important;
    display: none !important;
    background: none !important;
    opacity: 0 !important;
}

html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-ico .accmaa-nav-svg,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-svg,
html body.accmaa-academy-chrome.guest-mode #megaNav.mega-nav .accmaa-nav-svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    stroke: #ffffff !important;
    fill: none !important;
    stroke-width: 1.9 !important;
    transform: none !important;
    filter: none !important;
}

html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-chevron,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-chevron,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-chevron-hit .accmaa-mega-chevron,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-chevron-hit .accmaa-nav-chevron {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    stroke: #f4c24d !important;
    stroke-width: 2.5 !important;
    opacity: 1 !important;
    flex-shrink: 0 !important;
}

html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-chevron-hit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 30px !important;
    min-height: 30px !important;
    padding: 5px !important;
    border-radius: 999px !important;
    background: rgba(244, 194, 77, 0.14) !important;
    border: 1px solid rgba(244, 194, 77, 0.4) !important;
    box-sizing: border-box !important;
}

/* hover / open — يتحرك ويتغير لونه */
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-top-link:hover,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-trigger:hover,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-item.open .accmaa-mega-trigger,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-site-menu > li:hover > .accmaa-nav-top-link,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-site-menu > li:hover > .accmaa-mega-trigger {
    background: color-mix(in srgb, var(--nav-ico, #38bdf8) 18%, rgba(255, 255, 255, 0.1)) !important;
    border-color: color-mix(in srgb, var(--nav-ico, #38bdf8) 50%, rgba(255, 255, 255, 0.2)) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 14px rgba(2, 12, 32, 0.28) !important;
}

html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-top-link:hover .accmaa-nav-ico,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-trigger:hover .accmaa-nav-ico,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-site-menu > li:hover .accmaa-nav-ico {
    background: var(--nav-ico, #f4c24d) !important;
    border-color: transparent !important;
    transform: translateY(-1px) scale(1.04);
}

html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-top-link:hover .accmaa-nav-svg,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-trigger:hover .accmaa-nav-svg,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-site-menu > li:hover .accmaa-nav-svg {
    stroke: #ffffff !important;
}

/* active / pressed */
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-top-link:active,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-trigger:active {
    transform: translateY(1px) scale(0.98) !important;
    box-shadow: none !important;
}

html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-top-link.is-active,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-item.is-active .accmaa-mega-trigger,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-site-menu > li.is-active > .accmaa-nav-top-link,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-site-menu > li.is-active > .accmaa-mega-trigger {
    background: linear-gradient(135deg, #f4c24d, #e3a91a) !important;
    border-color: #d49a12 !important;
    color: #0a2448 !important;
    -webkit-text-fill-color: #0a2448 !important;
    box-shadow: 0 4px 12px rgba(212, 154, 18, 0.28) !important;
    transform: translateY(0) !important;
}

html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-top-link.is-active .accmaa-nav-ico,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-item.is-active .accmaa-nav-ico {
    background: #0a2448 !important;
    border-color: transparent !important;
}

html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-top-link.is-active .accmaa-nav-svg,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-item.is-active .accmaa-nav-svg {
    stroke: #ffffff !important;
}

html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-top-link.is-active .accmaa-mega-chevron,
html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-item.is-active .accmaa-mega-chevron {
    stroke: #0a2448 !important;
}

/* ——— 2) أدوات المنزل: أيقونة واحدة ملونة بلا شبح ——— */
html body .ak-ht-visual,
html body.accmaa-academy-chrome .ak-ht-visual {
    display: none !important;
    opacity: 0 !important;
    background: none !important;
}

html body .ak-ht-ico,
html body.accmaa-academy-chrome .ak-ht-ico {
    position: relative !important;
    z-index: 2 !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
    display: inline-grid !important;
    place-items: center !important;
    font-size: 1.15rem !important;
    box-shadow: 0 4px 12px rgba(6, 27, 63, 0.12) !important;
    isolation: isolate !important;
    overflow: hidden !important;
    transform: none !important;
}

html body .ak-ht-ico::before,
html body .ak-ht-ico::after,
html body.accmaa-academy-chrome .ak-ht-ico::before,
html body.accmaa-academy-chrome .ak-ht-ico::after {
    content: none !important;
    display: none !important;
}

html body .ak-ht-card--tax .ak-ht-ico {
    background: #0e3a7e !important;
    color: #ffffff !important;
}
html body .ak-ht-card--translate .ak-ht-ico {
    background: #0d9488 !important;
    color: #ffffff !important;
}
html body .ak-ht-card--pdf .ak-ht-ico {
    background: #dc2626 !important;
    color: #ffffff !important;
}

html body.accmaa-academy-chrome .ak-ht-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}
html body.accmaa-academy-chrome .ak-ht-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 28px rgba(6, 27, 63, 0.14) !important;
}
html body.accmaa-academy-chrome .ak-ht-card:active {
    transform: translateY(-1px) scale(0.995) !important;
}
html body.accmaa-academy-chrome .ak-ht-card:hover .ak-ht-ico {
    transform: none !important;
    filter: brightness(1.05);
}

/* ثبّت ألوان أيقونات الأدوات حتى مع hover الكحلي */
html body.accmaa-academy-chrome .ak-ht-card--tax:hover .ak-ht-ico {
    background: #1a52ad !important;
    color: #fff !important;
}
html body.accmaa-academy-chrome .ak-ht-card--translate:hover .ak-ht-ico {
    background: #14b8a6 !important;
    color: #fff !important;
}
html body.accmaa-academy-chrome .ak-ht-card--pdf:hover .ak-ht-ico {
    background: #ef4444 !important;
    color: #fff !important;
}

/* ——— 3) نص فوق الخريطة + تصغير الخريطة ——— */
html body.accmaa-academy-chrome .ak-reach-section .reach-head h2,
html body.accmaa-academy-chrome .ak-reach-host .section-head h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none !important;
    opacity: 1 !important;
    font-weight: 800 !important;
}
html body.accmaa-academy-chrome .ak-reach-section .reach-head p,
html body.accmaa-academy-chrome .ak-reach-host .section-head p,
html body.premium-ui .ak-reach-section .reach-head p {
    color: #e8effc !important;
    -webkit-text-fill-color: #e8effc !important;
    opacity: 1 !important;
    font-weight: 600 !important;
    font-size: 1.02rem !important;
    line-height: 1.7 !important;
    text-shadow: none !important;
    filter: none !important;
}
html body.accmaa-academy-chrome .ak-reach-section .reach-tag {
    color: #0a2448 !important;
    -webkit-text-fill-color: #0a2448 !important;
    background: #f4c24d !important;
    border-color: #e3a91a !important;
}

html body .reach-map-frame,
html body.accmaa-academy-chrome .reach-map-frame {
    min-height: 0 !important;
    max-height: none !important;
    width: 100% !important;
    aspect-ratio: 1000 / 732 !important;
    height: auto !important;
    display: block !important;
    overflow: hidden !important;
}
html body .reach-map-frame svg,
html body.accmaa-academy-chrome .reach-map-frame svg {
    max-height: none !important;
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    shape-rendering: geometricPrecision !important;
}
html body .accmaa-reach-map,
html body.accmaa-academy-chrome .accmaa-reach-map {
    padding: 12px !important;
    border-radius: 18px !important;
    width: 100% !important;
    min-width: 0 !important;
}
html body .accmaa-reach-wrap,
html body .accmaa-reach-wrap.reach-grid {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: stretch !important;
}
html body.accmaa-academy-chrome .ak-reach-section,
html body.accmaa-academy-chrome .ak-reach-host {
    padding: 28px 18px 22px !important;
    margin: 28px 0 8px !important;
}

@media (max-width: 1100px) {
    html body .accmaa-reach-wrap,
    html body .accmaa-reach-wrap.reach-grid {
        grid-template-columns: 1fr !important;
    }
    html body .reach-map-frame,
    html body.accmaa-academy-chrome .reach-map-frame {
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 1000 / 732 !important;
    }
    html body .reach-map-frame svg {
        max-height: none !important;
        height: 100% !important;
    }
}
@media (max-width: 640px) {
    html body .reach-map-frame,
    html body.accmaa-academy-chrome .reach-map-frame {
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 1000 / 732 !important;
    }
    html body .reach-map-frame svg {
        max-height: none !important;
        height: 100% !important;
    }
    html body.accmaa-academy-chrome .ak-reach-section {
        padding: 20px 12px 16px !important;
    }
    html body.accmaa-academy-chrome .ak-reach-section .reach-head {
        margin-bottom: 14px !important;
    }
}

/* ——— 4) قتل الطبقات الشبحية بكامل المنصة ——— */
html body .has-icon-bg::before,
html body .has-icon-bg::after,
html body .choice-thumb-icon.has-icon-bg::before,
html body .choice-thumb-icon.has-icon-bg::after,
html body .accmaa-nav-icon-wrap.has-icon-bg::before,
html body .accmaa-nav-icon-wrap.has-icon-bg::after,
html body .icon-bg-visual.has-icon-bg::before,
html body .icon-bg-visual.has-icon-bg::after,
html body .g-icon.has-icon-bg::before,
html body .g-icon.has-icon-bg::after,
html body.premium-ui .has-icon-bg::before,
html body.premium-ui .has-icon-bg::after {
    content: none !important;
    display: none !important;
    background: none !important;
    opacity: 0 !important;
    animation: none !important;
}

html body .has-icon-bg .icon-bg-layer,
html body .icon-bg-layer {
    display: none !important;
}

/* أيقونات المنصة: بلاطة واحدة حادة ملونة */
html body .has-icon-bg,
html body .accmaa-icon-shell,
html body .choice-thumb-icon,
html body .g-icon.has-icon-bg,
html body .tool-strip-icon,
html body .pillar-icon {
    background-image: linear-gradient(
        145deg,
        var(--icon-tile-bg, #0A3669),
        var(--icon-tile-bg-b, #0d4688)
    ) !important;
    box-shadow: 0 3px 10px rgba(6, 27, 63, 0.18) !important;
    filter: none !important;
    transform: none !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

html body .has-icon-bg > i,
html body .choice-thumb-icon i,
html body .g-icon.has-icon-bg i {
    text-shadow: none !important;
    filter: none !important;
    transform: none !important;
}

/* ألوان أيقونات مميزة حسب النغمة — أوضح من الذهب الموحد فقط */
html body [data-icon-tone="1"] > i,
html body .icon-tone-1 > i { color: #FFE082 !important; -webkit-text-fill-color: #FFE082 !important; }
html body [data-icon-tone="2"] > i,
html body .icon-tone-2 > i { color: #5eead4 !important; -webkit-text-fill-color: #5eead4 !important; }
html body [data-icon-tone="3"] > i,
html body .icon-tone-3 > i { color: #93c5fd !important; -webkit-text-fill-color: #93c5fd !important; }
html body [data-icon-tone="4"] > i,
html body .icon-tone-4 > i { color: #fdba74 !important; -webkit-text-fill-color: #fdba74 !important; }
html body [data-icon-tone="5"] > i,
html body .icon-tone-5 > i { color: #86efac !important; -webkit-text-fill-color: #86efac !important; }
html body [data-icon-tone="6"] > i,
html body .icon-tone-6 > i { color: #d8b4fe !important; -webkit-text-fill-color: #d8b4fe !important; }

/* وضوح نص عام — بدون ضبابية */
html body.accmaa-academy-chrome,
html body.accmaa-academy-chrome * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
html body.accmaa-academy-chrome img,
html body.accmaa-academy-chrome svg,
html body.accmaa-academy-chrome .accmaa-nav-svg {
    image-rendering: auto !important;
    filter: none !important;
}

/* لا تكبير يشوّش الأيقونات */
html body.accmaa-academy-chrome .has-icon-bg:hover,
html body.accmaa-academy-chrome .choice-thumb-icon:hover {
    transform: translateY(-1px) !important;
    filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
    html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-top-link,
    html body.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-trigger,
    html body.accmaa-academy-chrome .ak-ht-card {
        transition: none !important;
        transform: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   20261002b — فرض أزرار الشريط فوق guest/premium/marketing
   ═══════════════════════════════════════════════════════════ */
html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-nav-top-link,
html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-mega-trigger,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-top-link,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-mega-trigger,
html body.accmaa-academy-chrome.guest-mode #megaNav.mega-nav .accmaa-nav-top-link,
html body.accmaa-academy-chrome.guest-mode #megaNav.mega-nav .accmaa-mega-trigger,
html body.premium-ui.accmaa-academy-chrome #megaNav.mega-nav .accmaa-nav-top-link,
html body.premium-ui.accmaa-academy-chrome #megaNav.mega-nav .accmaa-mega-trigger {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 40px !important;
    padding: 0 12px 0 10px !important;
    border-radius: 11px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    background-image: none !important;
    color: #f5f8ff !important;
    -webkit-text-fill-color: #f5f8ff !important;
    font-weight: 700 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    transform: translateY(0);
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
}

html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-nav-top-link:hover,
html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-mega-trigger:hover,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-top-link:hover,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-mega-trigger:hover,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-mega-item.open .accmaa-mega-trigger {
    background-color: color-mix(in srgb, var(--nav-ico, #38bdf8) 22%, rgba(255, 255, 255, 0.12)) !important;
    border-color: color-mix(in srgb, var(--nav-ico, #38bdf8) 55%, rgba(255, 255, 255, 0.2)) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 16px rgba(2, 12, 32, 0.3) !important;
}

html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-nav-top-link:active,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-top-link:active,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-mega-trigger:active {
    transform: translateY(1px) scale(0.98) !important;
    box-shadow: none !important;
}

html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-nav-top-link.is-active,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-top-link.is-active,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-mega-item.is-active .accmaa-mega-trigger {
    background-color: #f4c24d !important;
    background-image: linear-gradient(135deg, #f4c24d, #e3a91a) !important;
    border-color: #d49a12 !important;
    color: #0a2448 !important;
    -webkit-text-fill-color: #0a2448 !important;
    box-shadow: 0 4px 12px rgba(212, 154, 18, 0.3) !important;
    transform: none !important;
}

html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-nav-ico,
html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-nav-icon-wrap,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-ico,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-icon-wrap,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-icon-wrap.has-icon-bg {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    background: linear-gradient(145deg, var(--nav-ico, #f4c24d) 0%, color-mix(in srgb, var(--nav-ico, #f4c24d) 72%, #000) 100%) !important;
    background-image: linear-gradient(145deg, var(--nav-ico, #f4c24d) 0%, color-mix(in srgb, var(--nav-ico, #f4c24d) 72%, #000) 100%) !important;
    border: none !important;
    border-radius: 9px !important;
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-top-link:hover .accmaa-nav-ico,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-mega-trigger:hover .accmaa-nav-ico {
    filter: brightness(1.08);
    border-color: transparent !important;
}

html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-top-link:hover .accmaa-nav-svg,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-mega-trigger:hover .accmaa-nav-svg {
    stroke: #ffffff !important;
}

html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-top-link.is-active .accmaa-nav-ico,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-mega-item.is-active .accmaa-nav-ico {
    outline: 2px solid rgba(255, 213, 79, 0.75);
    outline-offset: 1px;
}
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-top-link.is-active .accmaa-nav-svg,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-mega-item.is-active .accmaa-nav-svg {
    stroke: #ffffff !important;
}

/* 20261002b2 — أزرار أوضح بصريًا على الشريط الكحلي */
html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-nav-top-link,
html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-mega-trigger,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-top-link,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-mega-trigger {
    background-color: rgba(8, 28, 58, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    gap: 7px !important;
    padding: 0 11px 0 8px !important;
}
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-site-menu--rail {
    gap: 7px !important;
}
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-ico,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-icon-wrap {
    background-color: var(--nav-ico, #f4c24d) !important;
    border-color: transparent !important;
}
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-svg,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-ico .accmaa-nav-svg {
    stroke: #061b3f !important;
}
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-top-link:hover,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-mega-trigger:hover {
    background-color: color-mix(in srgb, var(--nav-ico, #38bdf8) 35%, #0a2448) !important;
    border-color: var(--nav-ico, #38bdf8) !important;
}
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-top-link:hover .accmaa-nav-ico,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-mega-trigger:hover .accmaa-nav-ico {
    background-color: #ffffff !important;
}
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-nav-top-link:hover .accmaa-nav-svg,
html body.accmaa-academy-chrome.guest-mode.premium-ui #megaNav.mega-nav .accmaa-mega-trigger:hover .accmaa-nav-svg {
    stroke: var(--nav-ico, #0a2448) !important;
}

/* 20261002c2 — بلاطة أيقونة صلبة ملونة (تتفوق على marketing-header) */
html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-nav-ico,
html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-nav-icon-wrap,
html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-nav-icon-wrap.has-icon-bg,
html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-nav-icon-wrap.accmaa-nav-ico {
    background-color: var(--nav-ico, #f4c24d) !important;
    background-image: none !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}
html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-nav-svg,
html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-nav-ico .accmaa-nav-svg {
    stroke: #061b3f !important;
    fill: none !important;
}
html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-nav-top-link,
html body.accmaa-academy-chrome.guest-mode.premium-ui.marketing-header #megaNav.mega-nav .accmaa-mega-trigger {
    background-color: rgba(8, 28, 58, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
}

/* 20261003a — أسعار الدورات: من الإدارة فقط · بدون أرقام كاتالوج */
html body.accmaa-academy-chrome .ak-cd-price--muted,
html body.accmaa-academy-chrome .ak-cd-price-row--admin .ak-cd-price {
    color: #5b6b82 !important;
    -webkit-text-fill-color: #5b6b82 !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
}
html body.accmaa-academy-chrome .ak-course-card__price del,
html body.accmaa-academy-chrome .ak-cd-buy__body .ax-course-price del {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════
   20261004a — أعلام الضرائب + خريطة أوضح + نص حاد بلا بكسلة
   ═══════════════════════════════════════════════════════════ */

/* أعلام مركز الضرائب: صورة ظاهرة دائماً + خلفية العلم */
html body .tax-module .tax-flag-mark,
html body .tax-module .tax-flag-mark--lg {
    display: grid !important;
    place-items: center !important;
    position: relative !important;
    width: 52px !important;
    height: 36px !important;
    border-radius: 7px !important;
    overflow: hidden !important;
    background-color: #f3f6fb !important;
    background-image: var(--tax-flag) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.55), 0 3px 10px rgba(0,0,0,0.2) !important;
    margin: 0 auto 6px !important;
}
html body .tax-module .tax-flag-mark--lg {
    width: 76px !important;
    height: 50px !important;
}
html body .tax-module .tax-flag-emoji {
    display: none !important;
}
html body .tax-module .tax-flag-img,
html body .tax-module .tax-flag-img.is-ready {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 1 !important;
}

/* نص فوق الخريطة — تباين قوي */
html body.accmaa-academy-chrome .ak-reach-section .reach-head p,
html body.premium-ui .ak-reach-section .reach-head p,
html body .arab-homeland-section .reach-head p {
    color: #1a2f4d !important;
    -webkit-text-fill-color: #1a2f4d !important;
    opacity: 1 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    filter: none !important;
}
html body.accmaa-academy-chrome .ak-reach-section {
    background:
        radial-gradient(ellipse at 80% 0%, rgba(235,174,31,0.08), transparent 45%),
        linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%) !important;
    color: #0e3a7e !important;
    padding: 22px 16px 18px !important;
    margin: 22px 0 10px !important;
    border-radius: 22px !important;
}
html body.accmaa-academy-chrome .ak-reach-section .reach-head h2 {
    color: #0a2a5c !important;
    -webkit-text-fill-color: #0a2a5c !important;
}
html body.accmaa-academy-chrome .ak-reach-section .reach-tag {
    color: #0a2448 !important;
    -webkit-text-fill-color: #0a2448 !important;
    background: #f4c24d !important;
}

/* 20261004e — أداء: إيقاف حركات ثقيلة خارج الشاشة / تبويب مخفي بدون تغيير الشكل */
html.accmaa-tab-hidden *,
html.accmaa-tab-hidden *::before,
html.accmaa-tab-hidden *::after {
    animation-play-state: paused !important;
}
.accmaa-perf-idle .am-arc,
.accmaa-perf-idle .am-pulse,
.accmaa-perf-idle .rmb-live i,
.accmaa-perf-idle .arab-flags-marquee-fwd,
.accmaa-perf-idle .arab-flags-marquee-rev,
.accmaa-perf-idle:not(.ak-partners-strip) .partners-marquee-track-a,
.accmaa-perf-idle:not(.ak-partners-strip) .partners-marquee-track-b,
.accmaa-perf-idle .instructors-marquee-track,
.accmaa-perf-idle .marquee-track,
.accmaa-perf-idle .hero-photo-slide.is-active img,
.accmaa-perf-idle .accmaa-orbit-ring,
.accmaa-perf-idle .accmaa-orbit-rotor {
    animation-play-state: paused !important;
}
html body .reach-map-frame,
html body.accmaa-academy-chrome .reach-map-frame {
    contain: layout paint !important;
}
html body .am-countries {
    /* ظل واحد للمجموعة بدل feDropShadow الثقيل على كل دولة */
    filter: drop-shadow(0 3px 4px rgba(2, 10, 28, 0.4));
}
html body .am-grid {
    opacity: 0.85;
}

/* 20261004d — مراجعة شاملة: Meet + خريطة ممتلئة + قتل الطبقات الشبحية */
/* 20261004c — خريطة الوطن العربي تملأ الإطار بالكامل */
html body .accmaa-reach-wrap,
html body .accmaa-reach-wrap.reach-grid {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: stretch !important;
}
html body .accmaa-reach-map {
    padding: 12px !important;
    border-radius: 16px !important;
    width: 100% !important;
    min-width: 0 !important;
}
html body .reach-map-frame,
html body.accmaa-academy-chrome .reach-map-frame {
    min-height: 0 !important;
    max-height: none !important;
    width: 100% !important;
    aspect-ratio: 1000 / 732 !important;
    height: auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    display: block !important;
}
html body .reach-map-frame svg,
html body.accmaa-academy-chrome .reach-map-frame svg {
    max-height: none !important;
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    shape-rendering: geometricPrecision !important;
    text-rendering: geometricPrecision !important;
    image-rendering: auto !important;
    transform: none !important;
    filter: none !important;
}
html body .reach-hint {
    color: #dce7fb !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}
html body .am-country {
    stroke: #fff8e6 !important;
    stroke-width: 1.1 !important;
}
html body .am-label {
    font-size: 13px !important;
    font-weight: 800 !important;
    paint-order: stroke fill;
    stroke: rgba(255,255,255,0.55);
    stroke-width: 2px;
}
@media (max-width: 1100px) {
    html body .accmaa-reach-wrap,
    html body .accmaa-reach-wrap.reach-grid { grid-template-columns: 1fr !important; }
    html body .reach-map-frame,
    html body.accmaa-academy-chrome .reach-map-frame {
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 1000 / 732 !important;
    }
    html body .reach-map-frame svg { max-height: none !important; height: 100% !important; }
}
@media (max-width: 640px) {
    html body .reach-map-frame,
    html body.accmaa-academy-chrome .reach-map-frame {
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 1000 / 732 !important;
    }
    html body .reach-map-frame svg { max-height: none !important; height: 100% !important; }
    html body.accmaa-academy-chrome .ak-reach-section { padding: 16px 10px 12px !important; }
}

/* قتل البكسلة: نص وأيقونات حادة + hover واضح اللون */
html body.accmaa-academy-chrome,
html body.accmaa-academy-chrome * {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}
html body.accmaa-academy-chrome a:hover,
html body.accmaa-academy-chrome button:hover,
html body.accmaa-academy-chrome .btn:hover,
html body.accmaa-academy-chrome .admin-shell a:hover,
html body.accmaa-academy-chrome .admin-shell button:hover,
html body.accmaa-academy-chrome .admin-shell .nav-item:hover,
html body.accmaa-academy-chrome .sidebar a:hover,
html body.accmaa-academy-chrome .dash-nav a:hover,
html body.accmaa-academy-chrome [data-dashboard-target]:hover {
    filter: none !important;
    text-shadow: none !important;
    -webkit-text-fill-color: unset;
}
html body.accmaa-academy-chrome .admin-shell a,
html body.accmaa-academy-chrome .admin-shell button,
html body.accmaa-academy-chrome .admin-shell .nav-item,
html body.accmaa-academy-chrome .admin-shell label,
html body.accmaa-academy-chrome .admin-shell td,
html body.accmaa-academy-chrome .admin-shell th,
html body.accmaa-academy-chrome .admin-shell p,
html body.accmaa-academy-chrome .admin-shell span:not(.accmaa-nav-ico) {
    opacity: 1 !important;
}
html body.accmaa-academy-chrome .admin-shell a:hover,
html body.accmaa-academy-chrome .admin-shell button:hover,
html body.accmaa-academy-chrome .admin-shell .nav-item:hover,
html body.accmaa-academy-chrome .admin-shell [role="button"]:hover {
    color: #0e3a7e !important;
    -webkit-text-fill-color: #0e3a7e !important;
    background-color: #fff4d4 !important;
    opacity: 1 !important;
    transform: none !important;
}
html body.accmaa-academy-chrome img,
html body.accmaa-academy-chrome svg,
html body.accmaa-academy-chrome i.fas,
html body.accmaa-academy-chrome i.far {
    image-rendering: auto !important;
    filter: none !important;
    backface-visibility: hidden;
}
html body.accmaa-academy-chrome .ak-cd-price--muted {
    color: #5a6b82 !important;
    -webkit-text-fill-color: #5a6b82 !important;
}
