/* ============================================================
   Accmaa — شجرة المحور (stamp 20260827a)
   محور → مستويات → مسارات → دورات → وحدات → دروس
   يبني على نظام .ax-* (20260821c) ولا ينشئ نظاماً ثانياً.
   الكحلي #0A3669 للنص · الذهبي #c9a227 لمسة فقط.
   ============================================================ */

.axt-page { --axt-line: #dfe6f0; }

/* ── ترويسة الصفحة ─────────────────────────────────────── */
.axt-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: var(--ax-s6);
    align-items: center;
    padding: var(--ax-s6);
    margin-block-end: var(--ax-s5);
    background: var(--ax-surface);
    border: 1px solid var(--ax-line);
    border-radius: var(--ax-r-xl);
    box-shadow: var(--ax-sh-2);
    position: relative;
    overflow: hidden;
}
.axt-hero::before {
    content: '';
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    block-size: 4px;
    background: var(--axt-accent, var(--ax-navy));
}
.axt-hero__text { min-width: 0; }
.axt-hero__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: var(--ax-r-lg);
    overflow: hidden;
    background: var(--ax-surface-3);
}
.axt-hero__media img { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; }
.axt-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 31, 61, .04) 0%, rgba(6, 31, 61, .42) 100%);
}
.axt-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ax-s2);
    margin-block: var(--ax-s4);
}
.axt-hero__stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 7px 13px;
    border-radius: var(--ax-r-pill);
    background: var(--ax-surface-2);
    border: 1px solid var(--ax-line);
    font-size: .78rem;
    font-weight: 700;
    color: var(--ax-muted);
}
.axt-hero__stats strong { font-size: 1.02rem; font-weight: 900; color: var(--ax-navy); }

.axt-note {
    display: flex;
    align-items: flex-start;
    gap: var(--ax-s2);
    margin-block-end: var(--ax-s4);
    padding: 11px 14px;
    border-radius: var(--ax-r-md);
    background: var(--ax-gold-soft);
    border: 1px solid rgba(201, 162, 39, .38);
    font-size: .84rem;
    line-height: 1.7;
    color: var(--ax-navy);
}
.axt-note i { color: #8a6d11; margin-block-start: 3px; }

/* ملاحظة هادئة تحت قسم — بلا لون ذهبي صارخ */
.ax-note--quiet {
    margin-block: var(--ax-s3) 0;
    background: var(--ax-surface-2);
    border-color: var(--ax-line);
    color: var(--ax-muted);
    font-size: .79rem;
}
.ax-note--quiet i { color: var(--ax-navy); }

/* ── مبدّل المحاور ─────────────────────────────────────── */
.axt-switch {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ax-s2);
    margin-block-end: var(--ax-s4);
}
.axt-switch__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: var(--ax-r-pill);
    border: 1px solid var(--ax-line);
    background: var(--ax-surface);
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    color: var(--ax-navy);
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease;
}
.axt-switch__pill i { color: var(--axt-accent, var(--ax-navy)); font-size: .9em; }
.axt-switch__pill:hover { border-color: var(--axt-accent, var(--ax-navy)); }
.axt-switch__pill.is-active {
    background: var(--axt-accent, var(--ax-navy));
    border-color: var(--axt-accent, var(--ax-navy));
    color: #fff;
}
.axt-switch__pill.is-active i { color: var(--ax-gold); }

/* ── شريط الأدوات ──────────────────────────────────────── */
.axt-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ax-s3);
    margin-block-end: var(--ax-s3);
}
.axt-search { flex: 1 1 260px; min-width: 0; }
.axt-kbd {
    margin: 0 0 var(--ax-s4);
    font-size: .76rem;
    color: var(--ax-muted);
}

/* ── الشجرة ────────────────────────────────────────────── */
.axt-tree-wrap {
    background: var(--ax-surface);
    border: 1px solid var(--ax-line);
    border-radius: var(--ax-r-lg);
    padding: var(--ax-s4);
    box-shadow: var(--ax-sh-1);
}

.axt-tree,
.axt-children {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* خطوط الوصل — منطقية فتنعكس صحيحاً في RTL */
.axt-children {
    position: relative;
    margin-inline-start: 21px;
    padding-inline-start: 16px;
    border-inline-start: 1px solid var(--axt-line);
}
.axt-children > .axt-item::before,
.axt-children > .axt-empty::before {
    content: '';
    position: absolute;
    inset-inline-start: -16px;
    inset-block-start: 22px;
    inline-size: 14px;
    block-size: 1px;
    background: var(--axt-line);
}
.axt-children > .axt-item,
.axt-children > .axt-empty { position: relative; }

.axt-item { outline: none; }
.axt-item:focus-visible > .axt-node,
.axt-item:focus > .axt-node {
    border-color: var(--axt-accent, var(--ax-navy));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--axt-accent, #0A3669) 18%, #fff);
}

.axt-node {
    display: flex;
    align-items: flex-start;
    gap: var(--ax-s2);
    min-width: 0;
    margin-block: 3px;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: var(--ax-r-md);
    background: transparent;
    transition: background .16s ease, border-color .16s ease;
}
.axt-node:hover { background: var(--ax-surface-2); border-color: var(--ax-line); }

.axt-node__twist {
    flex: 0 0 26px;
    inline-size: 26px;
    block-size: 26px;
    display: grid;
    place-items: center;
    border-radius: var(--ax-r-sm);
    background: var(--ax-surface-3);
    color: var(--ax-navy);
    font-size: .74rem;
    cursor: pointer;
    transition: transform .18s ease, background .16s ease;
}
.axt-node__twist:hover { background: #e2eaf5; }
.axt-item.is-open > .axt-node > .axt-node__twist { transform: rotate(-90deg); }
.axt-node__twist--leaf {
    cursor: default;
    background: transparent;
    color: var(--axt-line);
    font-size: .6rem;
}

.axt-node__ico {
    flex: 0 0 28px;
    inline-size: 28px;
    block-size: 28px;
    display: grid;
    place-items: center;
    border-radius: var(--ax-r-sm);
    font-size: .82rem;
    color: var(--axt-accent, var(--ax-navy));
    background: color-mix(in srgb, var(--axt-accent, #0A3669) 10%, #fff);
    border: 1px solid color-mix(in srgb, var(--axt-accent, #0A3669) 20%, #fff);
}

.axt-node__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
}
.axt-node__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--ax-s2);
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.55;
    color: var(--ax-navy);
    overflow-wrap: anywhere;
}
.axt-node__note {
    font-size: .79rem;
    line-height: 1.65;
    color: var(--ax-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.axt-node__counts { display: flex; flex-wrap: wrap; gap: 6px; }
.axt-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: var(--ax-r-pill);
    background: var(--ax-surface-3);
    border: 1px solid var(--ax-line);
    font-size: .71rem;
    font-weight: 700;
    color: var(--ax-muted);
    white-space: nowrap;
}
.axt-count i { color: var(--axt-accent, var(--ax-navy)); font-size: .9em; }

.axt-kind {
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .03em;
    padding: 2px 8px;
    border-radius: var(--ax-r-pill);
    background: var(--ax-surface-3);
    color: var(--ax-navy);
    border: 1px solid var(--ax-line);
}
.axt-kind--workshop { background: #fdf1dc; border-color: rgba(217, 119, 6, .38); color: #92400e; }
.axt-kind--track { background: #e8f0fb; border-color: rgba(10, 54, 105, .22); }

.axt-node__go {
    flex: 0 0 30px;
    inline-size: 30px;
    block-size: 30px;
    display: grid;
    place-items: center;
    align-self: center;
    border-radius: var(--ax-r-sm);
    color: var(--ax-navy);
    background: transparent;
    border: 1px solid transparent;
    font-size: .78rem;
    cursor: pointer;
    opacity: .55;
    transition: opacity .16s ease, background .16s ease, border-color .16s ease;
}
.axt-node:hover .axt-node__go { opacity: 1; background: #fff; border-color: var(--ax-line); }
.axt-node__go:hover { border-color: var(--axt-accent, var(--ax-navy)); }

/* تمييز المستويات والورش */
.axt-item--level > .axt-node,
.axt-item--wsbranch > .axt-node {
    background: var(--ax-surface-2);
    border-color: var(--ax-line);
}
.axt-item--level > .axt-node .axt-node__title,
.axt-item--wsbranch > .axt-node .axt-node__title { font-size: 1rem; }
.axt-item--wsbranch { --axt-accent: #d97706; }
.axt-item--workshop { --axt-accent: #b45309; }
.axt-item--workshop > .axt-node { background: #fffaf2; }
.axt-item--lesson > .axt-node { padding-block: 6px; }
.axt-item--lesson .axt-node__title { font-size: .85rem; font-weight: 600; color: var(--ax-ink); }

/* حالة فارغة داخل الشجرة */
.axt-empty { list-style: none; }
.axt-empty__box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--ax-s2);
    margin-block: 4px;
    padding: 11px 13px;
    border: 1px dashed rgba(10, 54, 105, .22);
    border-radius: var(--ax-r-md);
    background: var(--ax-surface-2);
    font-size: .82rem;
    line-height: 1.7;
    color: var(--ax-muted);
}
.axt-empty__box i { color: var(--ax-navy); }
.axt-empty--pillar { margin-block: var(--ax-s4); }

/* ============================================================
   المحاور كعمود فقري داخل اللوحة
   ============================================================ */
.axt-discs { display: flex; flex-direction: column; gap: var(--ax-s3); }

.axt-disc {
    --axt-line: #dfe6f0;
    background: var(--ax-surface);
    border: 1px solid var(--ax-line);
    border-radius: var(--ax-r-lg);
    box-shadow: var(--ax-sh-1);
    overflow: hidden;
    position: relative;
}
.axt-disc::before {
    content: '';
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    inline-size: 4px;
    background: var(--axt-accent, var(--ax-navy));
}
.axt-disc.is-open { box-shadow: var(--ax-sh-2); border-color: color-mix(in srgb, var(--axt-accent, #0A3669) 32%, #fff); }

.axt-disc__head {
    display: flex;
    align-items: center;
    gap: var(--ax-s3);
    padding: var(--ax-s3) var(--ax-s4) var(--ax-s3) var(--ax-s4);
    padding-inline-start: calc(var(--ax-s4) + 4px);
    flex-wrap: wrap;
}
.axt-disc__toggle {
    flex: 1 1 320px;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: var(--ax-s3);
    padding: 0;
    background: transparent;
    border: 0;
    font: inherit;
    color: inherit;
    text-align: start;
    cursor: pointer;
}
.axt-disc__thumb {
    flex: 0 0 82px;
    inline-size: 82px;
    aspect-ratio: 16 / 9;
    border-radius: var(--ax-r-sm);
    overflow: hidden;
    background: var(--ax-surface-3);
}
.axt-disc__thumb img { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; }
.axt-disc__ico {
    flex: 0 0 46px;
    inline-size: 46px;
    block-size: 46px;
    display: grid;
    place-items: center;
    border-radius: var(--ax-r-md);
    font-size: 1.1rem;
    color: var(--axt-accent, var(--ax-navy));
    background: color-mix(in srgb, var(--axt-accent, #0A3669) 12%, #fff);
}
.axt-disc__body { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; }
.axt-disc__body strong { font-size: 1rem; font-weight: 800; color: var(--ax-navy); line-height: 1.45; }
.axt-disc__body small {
    font-size: .8rem;
    line-height: 1.6;
    color: var(--ax-muted);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.axt-disc__chev {
    flex: 0 0 30px;
    inline-size: 30px;
    block-size: 30px;
    display: grid;
    place-items: center;
    border-radius: var(--ax-r-sm);
    background: var(--ax-surface-3);
    color: var(--ax-navy);
    font-size: .76rem;
    transition: transform .2s ease;
}
.axt-disc.is-open .axt-disc__chev { transform: rotate(180deg); }
.axt-disc__full { flex: 0 0 auto; }
.axt-disc__panel {
    padding: 0 var(--ax-s4) var(--ax-s4);
    padding-inline-start: calc(var(--ax-s4) + 4px);
    border-block-start: 1px solid var(--ax-line-soft);
    margin-block-start: 2px;
    padding-block-start: var(--ax-s3);
}

/* ============================================================
   20260827e — مدار ثلاثي: الاختيارات تمر أمام الشخصية ومن خلفها
   ============================================================ */
.axt-stage { display: flex; flex-direction: column; gap: var(--ax-s6); overflow: visible; }
#axPillars { overflow: visible; }

.axt-orbit {
    isolation: isolate;
    position: relative;
    margin-inline: auto;
    max-inline-size: 980px;
    min-block-size: 380px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}
.axt-orbit__glow {
    position: absolute;
    inset: 8% 12% 12%;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 48%, rgba(10, 54, 105, .10) 0%, rgba(201, 162, 39, .07) 38%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.axt-orbit__ring {
    position: absolute;
    left: 50%;
    top: 46%;
    width: min(72%, 620px);
    height: min(40%, 216px);
    transform: translate(-50%, -50%);
    border: 1.5px dashed rgba(10, 54, 105, .18);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.axt-orbit__figure {
    position: relative;
    z-index: 5;
    inline-size: min(100%, 860px);
    margin-inline: auto;
    transform-origin: 50% 72%;
    pointer-events: none;
}
.axt-orbit__hero {
    display: block;
    inline-size: 100%;
    block-size: auto;
    pointer-events: none;
    user-select: none;
    image-rendering: auto;
    image-rendering: high-quality;
}
.axt-orbit__hero--think {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
}
.axt-orbit__sats {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: auto;
}
.axt-sat {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 0;
    height: 0;
    padding: 0;
    border: 0;
    background: none;
    pointer-events: none;
    margin: 0;
}
.axt-sat.is-behind { z-index: 2 !important; }
.axt-sat__label {
    pointer-events: auto;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    transform-origin: 50% 50%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ax-line);
    box-shadow: 0 10px 28px rgba(10, 54, 105, .16);
    color: var(--ax-navy);
    font: inherit;
    font-size: 1.02rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    will-change: transform;
}
.axt-sat.is-behind .axt-sat__label {
    box-shadow: 0 2px 10px rgba(10, 54, 105, .08);
    background: #f7f9fc;
}
.axt-sat__label i { color: var(--axt-accent, var(--ax-gold)); font-size: 1em; }
.axt-sat__label:hover {
    border-color: var(--axt-accent, var(--ax-navy));
    box-shadow: 0 12px 30px rgba(10, 54, 105, .22);
    z-index: 12;
}
.axt-orbit__pause {
    position: absolute;
    inset-inline-end: 8px;
    inset-block-end: 8px;
    z-index: 12;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--ax-line);
    background: #fff;
    color: var(--ax-navy);
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
}
.axt-orbit__pause:hover { border-color: var(--ax-navy); }

.axt-pcards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}
.axt-pcard {
    display: flex;
    flex-direction: column;
    min-block-size: 0;
    height: 100%;
    background: var(--ax-surface);
    border: 1px solid var(--ax-line);
    border-radius: var(--ax-r-xl);
    overflow: hidden;
    box-shadow: var(--ax-sh-2);
}
.axt-pcard__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--axt-accent, #0A3669);
    overflow: hidden;
}
.axt-pcard__media img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    display: block;
}
.axt-pcard__ico {
    display: grid;
    place-items: center;
    inline-size: 100%;
    block-size: 100%;
    color: #f4e6bd;
    font-size: 2.4rem;
}
.axt-pcard__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(6, 31, 61, .55) 100%);
    pointer-events: none;
}
.axt-pcard__body {
    display: flex;
    flex-direction: column;
    gap: var(--ax-s3);
    padding: var(--ax-s5);
    flex: 1 1 auto;
}
.axt-pcard__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.18rem;
    font-weight: 900;
    color: var(--ax-navy);
    line-height: 1.4;
}
.axt-pcard__kicker i { color: var(--axt-accent, var(--ax-navy)); }
.axt-pcard__tag {
    margin: 0;
    font-size: .9rem;
    line-height: 1.7;
    color: var(--ax-muted);
}
.axt-pcard__sec-lab {
    margin: var(--ax-s2) 0 0;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--ax-navy);
    text-transform: none;
}
.axt-pcard__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.axt-pcard__chip {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--ax-line);
    background: var(--ax-surface-2);
    font: inherit;
    text-align: start;
    cursor: pointer;
    color: var(--ax-navy);
}
.axt-pcard__chip:hover { border-color: var(--axt-accent, var(--ax-navy)); background: #fff; }
.axt-pcard__chip-lv {
    font-size: .68rem;
    font-weight: 800;
    color: var(--axt-accent, var(--ax-navy));
    opacity: .85;
}
.axt-pcard__chip span:last-child { font-size: .82rem; font-weight: 700; line-height: 1.4; }
.axt-pcard__empty { font-size: .82rem; color: var(--ax-muted); }
.axt-pcard__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-block-start: auto;
}
.axt-pcard__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ax-s2);
    margin-block-start: var(--ax-s2);
}
.axt-pcard__actions .ax-btn { flex: 1 1 140px; justify-content: center; }

/* ============================================================
   الاستجابة — 390 / 768 / 1440
   ============================================================ */
@media (max-width: 1199px) {
    .axt-hero { grid-template-columns: minmax(0, 1fr); gap: var(--ax-s5); }
    .axt-hero__media { max-inline-size: 520px; }
    .axt-orbit { min-block-size: 320px; }
    .axt-pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .axt-pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .axt-pcards { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
    .axt-hero { padding: var(--ax-s5); border-radius: var(--ax-r-lg); }
    .axt-hero__stats span { font-size: .74rem; padding: 6px 11px; }
    .axt-tree-wrap { padding: var(--ax-s3); border-radius: var(--ax-r-md); }
    .axt-children { margin-inline-start: 13px; padding-inline-start: 11px; }
    .axt-children > .axt-item::before,
    .axt-children > .axt-empty::before { inset-inline-start: -11px; inline-size: 9px; }
    .axt-node { padding: 8px; gap: 7px; }
    .axt-node__ico { flex-basis: 24px; inline-size: 24px; block-size: 24px; font-size: .74rem; }
    .axt-node__twist { flex-basis: 22px; inline-size: 22px; block-size: 22px; }
    .axt-node__title { font-size: .87rem; }
    .axt-node__note { -webkit-line-clamp: 2; font-size: .76rem; }
    .axt-node__go { opacity: 1; background: #fff; border-color: var(--ax-line); }
    .axt-bar { gap: var(--ax-s2); }
    .axt-bar .ax-btn { flex: 1 1 auto; justify-content: center; }
    .axt-disc__thumb { flex-basis: 64px; inline-size: 64px; }
    .axt-disc__full { inline-size: 100%; justify-content: center; }
    .axt-disc__panel { padding-inline: var(--ax-s3); padding-inline-start: calc(var(--ax-s3) + 4px); }
}

@media (max-width: 420px) {
    .axt-hero__stats { gap: 6px; }
    .axt-count { font-size: .68rem; padding: 2px 7px; }
    .axt-switch__pill { font-size: .77rem; padding: 7px 11px; }
}

/* الجوال/اللوحي: بلا blur أو تكبير ثقيل (سجل بكسلة سابق) */
@media (max-width: 1100px) {
    .axt-page *,
    .axt-discs * {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .axt-disc:hover, .axt-node:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .axt-node__twist,
    .axt-disc__chev,
    .axt-node,
    .axt-switch__pill { transition: none !important; }
}

/* ═══ استوديو المحاور: العمل المداري + خلفيات منسّقة + كورسات مهيكلة ═══ */
.axt-studio-stage { margin: 0; }
.axt-studio-stage > .axt-orbit {
    margin-block-end: clamp(24px, 4vw, 44px);
}
.axt-studio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.axt-studio {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    margin: 0;
    border-radius: 18px;
    border: 1px solid rgba(10, 54, 105, 0.12);
    background: #fff;
    box-shadow: 0 10px 28px rgba(10, 54, 105, 0.07);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.axt-studio:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--axt-accent, #0A3669) 40%, #fff);
    box-shadow: 0 16px 36px rgba(10, 54, 105, 0.12);
}
.axt-studio__cover {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--axt-accent, #0A3669);
    overflow: hidden;
    flex-shrink: 0;
}
.axt-studio__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.45s ease;
}
.axt-studio:hover .axt-studio__cover img { transform: scale(1.06); }
.axt-studio__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 24, 48, 0.15) 0%, rgba(6, 24, 48, 0.78) 100%),
        linear-gradient(90deg, color-mix(in srgb, var(--axt-accent, #0A3669) 35%, transparent) 0%, transparent 55%);
    pointer-events: none;
}
.axt-studio__cover-copy {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    padding: 14px 16px 16px;
    color: #fff;
    z-index: 1;
}
.axt-studio__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.axt-studio__kicker i {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.85rem;
    color: #f4e6bd;
}
.axt-studio__tag {
    margin: 6px 0 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    max-width: 38ch;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.axt-studio__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.axt-studio__stats em {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
}
.axt-studio__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 14px 16px;
    flex: 1 1 auto;
    background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}
.axt-studio__lab {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #5c7289;
}
.axt-studio__lab i { color: var(--axt-accent, #0A3669); }
.axt-studio__tracks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.axt-studio__track {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(10, 54, 105, 0.12);
    color: #3d5a73;
}
.axt-studio__courses {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
}
.axt-studio__course {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 6px 8px;
    border-radius: 12px;
    border: 1px solid rgba(10, 54, 105, 0.08);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.axt-studio__course:hover,
.axt-studio__course:focus-visible {
    outline: none;
    border-color: color-mix(in srgb, var(--axt-accent, #0A3669) 45%, #fff);
    background: color-mix(in srgb, var(--axt-accent, #0A3669) 6%, #fff);
    transform: translateX(-2px);
}
.axt-studio__thumb {
    width: 56px;
    height: 38px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--axt-accent, #0A3669);
    flex-shrink: 0;
}
.axt-studio__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.axt-studio__ctitle {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0A3669;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.axt-studio__chours {
    font-size: 0.68rem;
    font-weight: 800;
    color: #5c7289;
    white-space: nowrap;
}
.axt-studio__empty {
    margin: 0;
    font-size: 0.8rem;
    color: #5c7289;
    line-height: 1.5;
}
.axt-studio__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}
.axt-studio__actions .ax-btn {
    flex: 1 1 120px;
    justify-content: center;
}
.axt-pcard__media { aspect-ratio: 16 / 10; }

@media (max-width: 1100px) {
    .axt-studio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .axt-studio-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .axt-studio__cover { aspect-ratio: 16 / 9; }
}

/* الهيدرا ظاهرة دائماً — على الموبايل المحاور فوق والبنت أسفلها بلا تداخل */
#axPillars,
.dash-flow__zone--hydra,
.axt-studio-stage {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    min-block-size: 0;
}
.axt-studio-stage > .axt-orbit,
.ax-guest--academy .axt-orbit,
.accmaa-organized-dash--hub .axt-orbit,
.dash-flow__zone--hydra .axt-orbit,
#axPillars .axt-orbit {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    min-block-size: 520px;
    max-inline-size: 1100px;
    margin-block: 8px 28px;
    background:
        radial-gradient(ellipse at 50% 46%, rgba(10, 54, 105, 0.10) 0%, rgba(235, 174, 31, 0.07) 36%, transparent 70%);
}
.axt-orbit__figure,
.axt-orbit__hero--idle {
    display: block !important;
    visibility: visible !important;
    opacity: 1;
}
@media (max-width: 767px) {
    .axt-studio-stage > .axt-orbit,
    .ax-guest--academy .axt-orbit,
    .accmaa-organized-dash--hub .axt-orbit,
    .dash-flow__zone--hydra .axt-orbit {
        min-block-size: 340px;
        max-inline-size: 100%;
    }
    .axt-sat__label { font-size: 0.82rem; padding: 8px 12px; gap: 6px; }
}
