/* assets/css/azmoon-front.css — ظاهر صفحهٔ آزمون (دانش‌آموز). کاملاً محلی، بدون وابستگی خارجی، حدود ۱۲ کیلوبایت. */

.azmoon-frontend {
    --az-primary: #4f46e5; --az-primary-2: #7c3aed; --az-ink: #0f172a; --az-muted: #64748b; --az-line: #e2e8f0;
    --az-bg: #f4f6fb; --az-card: #ffffff; --az-ok: #16a34a; --az-bad: #dc2626; --az-warn: #d97706; --az-r: 18px;
    --az-shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.08);
    font-family: "Vazirmatn", "Vazir", "IRANSansX", "IRANSans", "Sahel", "Shabnam", Tahoma, "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 16px; line-height: 1.9; color: var(--az-ink); direction: rtl; text-align: right;
    background: var(--az-bg); border-radius: 28px; padding: clamp(12px, 3vw, 32px); margin: 0 auto; max-width: 1180px;
    -webkit-text-size-adjust: 100%;
}
.azmoon-frontend *, .azmoon-frontend *::before, .azmoon-frontend *::after { box-sizing: border-box; }
.azmoon-frontend h2, .azmoon-frontend h3, .azmoon-frontend h4, .azmoon-frontend p, .azmoon-frontend ol, .azmoon-frontend ul { margin: 0; padding: 0; }
.azmoon-frontend ol, .azmoon-frontend ul { list-style: none; }
.azmoon-frontend button, .azmoon-frontend input, .azmoon-frontend select { font: inherit; color: inherit; }
.azmoon-frontend button { cursor: pointer; border: 0; background: none; }
.azmoon-frontend .hidden { display: none !important; }
.azmoon-frontend a { color: inherit; text-decoration: none; }
.azmoon-frontend :focus-visible { outline: 3px solid #fbbf24; outline-offset: 2px; }
.azmoon-frontend .az-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- دکمه‌ها ---------- */
.az-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .55rem 1.4rem; border-radius: 14px; font-weight: 700;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.az-btn:hover:not(:disabled) { transform: translateY(-1px); }
.az-btn:disabled { opacity: .45; cursor: not-allowed; }
.az-btn-primary { background: linear-gradient(135deg, var(--az-primary), var(--az-primary-2)); color: #fff; box-shadow: 0 6px 16px rgba(79,70,229,.35); }
.az-btn-ghost { background: #fff; color: var(--az-ink); border: 1px solid var(--az-line); }
.az-btn-ok { background: var(--az-ok); color: #fff; }
.az-btn-danger { background: #fef2f2; color: var(--az-bad); border: 1px solid #fecaca; }
.az-btn-light { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.az-btn-light:hover { background: rgba(255,255,255,.26); }

/* ---------- هیرو ---------- */
.az-hero { position: relative; overflow: hidden; border-radius: 26px; color: #fff; padding: clamp(28px, 6vw, 56px) clamp(18px, 4vw, 48px);
    background: radial-gradient(1200px 400px at 85% -20%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #1e1b4b 0%, #4338ca 50%, #7c3aed 100%); text-align: center; box-shadow: var(--az-shadow); }
.az-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; pointer-events: none; }
.az-hero-inner { position: relative; z-index: 1; }
.az-hero-badge { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 26px; display: grid; place-items: center; background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.az-hero-badge svg { width: 46px; height: 46px; }
.az-hero h2 { font-size: clamp(1.5rem, 4.6vw, 2.6rem); font-weight: 800; line-height: 1.5; color: #fff; }
.az-hero .az-sub { font-size: clamp(.95rem, 2.2vw, 1.15rem); opacity: .9; margin-top: .25rem; }
.az-hero .az-hint { margin-top: 1rem; opacity: .85; font-size: .95rem; }
.az-chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.4rem; }
.az-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
    background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); }
.az-hero .az-btn { margin-top: 1.1rem; }

/* ---------- مراحل ---------- */
.azmoon-frontend .az-steps { display: flex; justify-content: center; align-items: flex-start; gap: .5rem; margin: 22px auto 8px !important; padding: 0 !important; width: 100%; max-width: 620px; text-align: center; list-style: none !important; counter-reset: step; }
.azmoon-frontend .az-steps li { flex: 1 1 0; min-width: 0; margin: 0 !important; padding: 0 !important; list-style: none !important; text-align: center; font-size: .8rem; color: var(--az-muted); position: relative; font-weight: 600; }
.az-steps li::before { counter-increment: step; content: counter(step, persian); display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 4px; border-radius: 50%;
    background: #fff; border: 2px solid var(--az-line); font-weight: 800; transition: all .25s; }
.az-steps li::after { content: ""; position: absolute; top: 17px; inset-inline-start: calc(50% + 24px); width: calc(100% - 48px); height: 2px; background: var(--az-line); }
.az-steps li:last-child::after { display: none; }
.az-steps li.is-active { color: var(--az-primary); }
.az-steps li.is-active::before { background: var(--az-primary); border-color: var(--az-primary); color: #fff; box-shadow: 0 0 0 5px rgba(79,70,229,.18); }
.az-steps li.is-done::before { content: "✓"; background: var(--az-ok); border-color: var(--az-ok); color: #fff; }
.az-steps li.is-done::after { background: var(--az-ok); }

/* ---------- انتخاب موضوع ---------- */
.az-section { margin-top: 26px; }
.az-section-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 14px; }
.az-section-head .az-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: #fff; box-shadow: var(--az-shadow); }
.az-section-head h3 { font-size: 1.25rem; font-weight: 800; }
.az-section-head p { color: var(--az-muted); font-size: .88rem; line-height: 1.6; }
.az-search { display: block; max-width: 420px; margin: 18px auto 0; }
.az-search input { width: 100%; min-height: 46px; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--az-line); background: #fff; box-shadow: var(--az-shadow); }
.az-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.topic-card { position: relative; display: flex; flex-direction: column; gap: .35rem; text-align: right; background: var(--az-card); border-radius: var(--az-r); padding: 18px 18px 16px; box-shadow: var(--az-shadow);
    border: 1px solid var(--az-line); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; overflow: hidden; width: 100%; }
.topic-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.topic-card:not(.is-empty):hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15,23,42,.16); border-color: var(--c1); }
.topic-card.is-empty { opacity: .6; cursor: not-allowed; }
.az-tile { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 8px 18px color-mix(in srgb, var(--c1) 40%, transparent); }
.az-tile img { width: 32px; height: 32px; object-fit: contain; }
.topic-card h4 { font-size: 1.08rem; font-weight: 800; margin-top: .4rem; line-height: 1.6; }
.topic-card p { color: var(--az-muted); font-size: .86rem; line-height: 1.7; min-height: 2.9em; }
.az-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.az-pill { font-size: .75rem; font-weight: 700; padding: .1rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--c1) 12%, #fff); color: var(--c2); }
.az-go { position: absolute; inset-inline-end: 16px; bottom: 16px; top: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f1f5f9; color: var(--az-muted); transition: all .2s; }
.topic-card:not(.is-empty):hover .az-go { background: var(--c1); color: #fff; transform: translateX(-4px); }

/* ---------- کارت‌ها/فرم ---------- */
.az-panel { background: var(--az-card); border-radius: 22px; box-shadow: var(--az-shadow); padding: clamp(18px, 4vw, 34px); border: 1px solid var(--az-line); }
.az-center { max-width: 520px; margin: 18px auto 0; }
.az-form-top { text-align: center; margin-bottom: 18px; }
.az-form-top .az-tile { margin: 0 auto 10px; width: 64px; height: 64px; font-size: 2rem; }
.az-form-top h3 { font-size: 1.3rem; font-weight: 800; }
.az-field { margin-bottom: 16px; }
.az-field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.az-field input, .az-field select { width: 100%; min-height: 50px; padding: .6rem 1rem; border: 2px solid var(--az-line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.az-field input:focus, .az-field select:focus { outline: none; border-color: var(--az-primary); box-shadow: 0 0 0 4px rgba(79,70,229,.15); }
.az-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 18px; }
.az-rule { background: #f8fafc; border: 1px solid var(--az-line); border-radius: 14px; padding: 8px 4px; text-align: center; font-size: .78rem; color: var(--az-muted); line-height: 1.5; }
.az-rule b { display: block; font-size: 1.15rem; color: var(--az-ink); }
.az-error { color: var(--az-bad); background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px; padding: .5rem .9rem; font-size: .88rem; margin-bottom: 14px; }

/* ---------- آزمون ---------- */
.az-topbar { position: sticky; top: 8px; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border: 1px solid var(--az-line); border-radius: 18px; box-shadow: var(--az-shadow); padding: 12px 16px; }
.az-topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.az-qcount { font-weight: 800; }
.az-timer { display: inline-flex; align-items: center; gap: .4rem; padding: .15rem .9rem; border-radius: 999px; font-weight: 800; font-variant-numeric: tabular-nums; background: #eef2ff; color: var(--az-primary); direction: ltr; }
.az-timer.text-yellow-600 { background: #fffbeb; color: var(--az-warn); }
.az-timer.text-red-600 { background: #fef2f2; color: var(--az-bad); animation: azPulse 1s infinite; }
.az-bar { height: 8px; border-radius: 99px; background: #e2e8f0; margin-top: 10px; overflow: hidden; }
.az-bar > div { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--az-primary), var(--az-primary-2)); transition: width .35s ease; margin-inline-start: auto; }
.az-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.az-nav button { width: 34px; height: 34px; border-radius: 10px; font-size: .8rem; font-weight: 700; background: #f1f5f9; color: var(--az-muted); border: 1px solid transparent; }
.az-nav button.is-done { background: #dcfce7; color: #166534; }
.az-nav button.is-cur { background: var(--az-primary); color: #fff; box-shadow: 0 0 0 3px rgba(79,70,229,.25); }

#questionCard { margin-top: 16px; min-height: 340px; }
.az-qtags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 12px; }
.az-tag { font-size: .78rem; font-weight: 700; padding: .1rem .8rem; border-radius: 999px; background: #eef2ff; color: var(--az-primary); }
.az-tag.easy { background: #dcfce7; color: #166534; } .az-tag.medium { background: #fef9c3; color: #854d0e; } .az-tag.hard { background: #fee2e2; color: #991b1b; }
#questionText { font-size: clamp(1.1rem, 2.8vw, 1.35rem); font-weight: 800; line-height: 2; margin-bottom: 14px; }
.az-opts { display: grid; gap: 10px; }
.az-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: right; padding: 12px 14px; min-height: 56px; background: #fff; border: 2px solid var(--az-line); border-radius: 16px; transition: all .15s; line-height: 1.8; }
.az-opt:hover { border-color: #a5b4fc; background: #f8faff; }
.az-opt .az-letter { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: #f1f5f9; color: var(--az-muted); }
.az-opt.is-sel { border-color: var(--az-primary); background: #eef2ff; box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
.az-opt.is-sel .az-letter { background: var(--az-primary); color: #fff; }
.az-tf { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.az-tf .az-opt { justify-content: center; font-weight: 800; font-size: 1.1rem; }
.az-tf .az-opt.is-sel[data-tf="1"] { border-color: var(--az-ok); background: #f0fdf4; box-shadow: 0 0 0 4px rgba(22,163,74,.14); }
.az-tf .az-opt.is-sel[data-tf="0"] { border-color: var(--az-bad); background: #fef2f2; box-shadow: 0 0 0 4px rgba(220,38,38,.12); }
.az-help { font-size: .85rem; color: var(--az-muted); background: #f8fafc; border: 1px dashed var(--az-line); border-radius: 12px; padding: .4rem .8rem; margin-bottom: 12px; }

.fill-blank { display: inline-block; min-width: 120px; margin: 0 4px; vertical-align: middle; }
.fill-blank input { width: 100%; min-height: 42px; text-align: center; padding: .2rem .6rem; border: 0; border-bottom: 3px solid var(--az-primary); border-radius: 10px 10px 0 0; background: #eef2ff; }
.fill-blank input:focus { outline: none; background: #e0e7ff; }
.az-fill { font-size: 1.15rem; line-height: 3; }

.az-match { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 640px) { .az-match { grid-template-columns: 1fr; } .az-rules { grid-template-columns: 1fr 1fr 1fr; } }
.az-match-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.az-match-row > span { flex: 1; font-weight: 700; }
.match-slot { flex: 1; min-height: 52px; display: grid; place-items: center; border: 2px dashed #cbd5e1; border-radius: 14px; padding: 4px; cursor: pointer; transition: all .15s; background: #fafbff; }
.match-slot.drag-over, .match-slot:hover { border-color: var(--az-primary); background: #eef2ff; }
.az-bank { background: #f1f5f9; border-radius: 16px; padding: 12px; display: grid; gap: 8px; }
.az-bank h4 { font-size: .9rem; color: var(--az-muted); margin-bottom: 2px; }
.match-chip { display: block; width: 100%; padding: .55rem .8rem; border-radius: 12px; text-align: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--az-primary), var(--az-primary-2)); box-shadow: 0 4px 10px rgba(79,70,229,.25); user-select: none; -webkit-user-select: none; }
.match-chip.placed { background: #818cf8; box-shadow: none; }
.match-chip.is-picked { outline: 3px solid #fbbf24; }

.az-ord { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #f8fafc; border: 1px solid var(--az-line); border-radius: 14px; margin-bottom: 8px; }
.az-ord .az-n { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--az-primary); color: #fff; font-weight: 800; }
.az-ord .az-t { flex: 1; font-weight: 600; }
.az-ord button { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--az-line); color: var(--az-primary); font-weight: 800; }
.az-ord button:disabled { color: #cbd5e1; }

.az-qfoot { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--az-line); }

/* ---------- نتیجه ---------- */
.az-result-top { text-align: center; }
.az-ring { --p: 0; --rc: var(--az-primary); width: 168px; height: 168px; margin: 8px auto 14px; border-radius: 50%; display: grid; place-items: center;
    background: conic-gradient(var(--rc) calc(var(--p) * 1%), #e5e7eb 0); position: relative; transition: --p 1s; }
.az-ring::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fff; }
.az-ring > div { position: relative; text-align: center; line-height: 1.3; }
.az-ring b { display: block; font-size: 2.3rem; font-weight: 900; color: var(--az-ink); }
.az-ring small { color: var(--az-muted); font-size: .8rem; }
.az-result-top h3 { font-size: 1.5rem; font-weight: 800; }
.az-result-top .az-msg { color: var(--az-muted); }
#saveStatus { font-size: .85rem; margin-top: 8px; }
.az-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.az-stat { background: #f8fafc; border: 1px solid var(--az-line); border-radius: 16px; padding: 14px 6px; text-align: center; }
.az-stat b { display: block; font-size: 1.4rem; font-weight: 900; }
.az-stat span { font-size: .8rem; color: var(--az-muted); }
.az-perf { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.az-perf > div { border-radius: 16px; padding: 12px 14px; border: 1px solid var(--az-line); background: #fff; }
.az-perf .az-bar { margin-top: 6px; height: 7px; }
.az-note { border-radius: 16px; padding: 12px 16px; margin: 20px 0; border: 1px solid var(--az-line); background: #f8fafc; }
.az-note.ok { background: #f0fdf4; border-color: #bbf7d0; } .az-note.warn { background: #fffbeb; border-color: #fde68a; } .az-note.bad { background: #fef2f2; border-color: #fecaca; }
.az-review { border-radius: 18px; border: 1px solid var(--az-line); border-inline-start: 6px solid var(--az-bad); padding: 14px 16px; margin-bottom: 14px; background: #fff; }
.az-review .az-q { font-weight: 700; line-height: 2; }
.az-ans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; font-size: .9rem; }
@media (max-width: 640px) { .az-ans { grid-template-columns: 1fr; } .az-stats { grid-template-columns: 1fr; } }
.az-ans > div { border-radius: 12px; padding: .5rem .8rem; }
.az-ans .good { background: #dcfce7; color: #14532d; } .az-ans .bad { background: #fee2e2; color: #7f1d1d; }
.az-expl { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--az-line); color: #334155; font-size: .92rem; }
.az-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }

/* ---------- بارگذاری ---------- */
.az-loading { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; background: rgba(244,246,251,.88); backdrop-filter: blur(3px); }
.az-spin { width: 58px; height: 58px; border-radius: 50%; border: 5px solid #c7d2fe; border-top-color: var(--az-primary); animation: azSpin .8s linear infinite; margin: 0 auto 12px; }
.az-loading p { color: var(--az-primary); font-weight: 700; text-align: center; }

@keyframes azSpin { to { transform: rotate(360deg); } }
@keyframes azPulse { 50% { opacity: .55; } }
@keyframes azIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.azmoon-frontend .az-in { animation: azIn .4s ease both; }
@media (prefers-reduced-motion: reduce) { .azmoon-frontend *, .azmoon-frontend *::before { animation: none !important; transition: none !important; } }
@media (max-width: 520px) { .azmoon-frontend { border-radius: 18px; } .az-hero { border-radius: 20px; } .az-steps li { font-size: .68rem; } .az-qfoot .az-btn { flex: 1; padding-inline: .6rem; } .az-ring { width: 148px; height: 148px; } }
@media print { .az-topbar, .az-actions, .az-steps { display: none !important; } .azmoon-frontend { background: #fff; } }

/* عنوان صفحهٔ آزمون و بخش بالا: وسط‌چین */
body.azmoon-page .entry-title, body.azmoon-page .page-title, body.azmoon-page .wp-block-post-title, body.azmoon-page .entry-header, body.azmoon-page .page-header { text-align: center !important; }
.azmoon-frontend { margin-inline: auto; }
.azmoon-frontend .az-hero, .azmoon-frontend .az-hero-inner, .azmoon-frontend .az-chips { text-align: center; justify-content: center; }

/* کارنامهٔ قابل چاپ/ذخیره به PDF */
.azmoon-frontend .az-karname { display: none; }
.az-karname { font-family: inherit; color: #0f172a; direction: rtl; }
.az-karname .kn-head { text-align: center; border-bottom: 3px double #4f46e5; padding-bottom: 12px; margin-bottom: 16px; }
.az-karname .kn-head h2 { font-size: 1.5rem; font-weight: 900; margin: 0; }
.az-karname .kn-head p { margin: 4px 0 0; color: #475569; }
.az-karname table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.az-karname th, .az-karname td { border: 1px solid #cbd5e1; padding: 8px 10px; text-align: right; font-size: .95rem; }
.az-karname th { background: #f1f5f9; width: 28%; }
.az-karname .kn-score { display: flex; gap: 12px; justify-content: center; margin: 16px 0; }
.az-karname .kn-score > div { flex: 1; text-align: center; border: 2px solid #4f46e5; border-radius: 14px; padding: 10px; }
.az-karname .kn-score b { display: block; font-size: 1.8rem; }
.az-karname h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.az-karname .kn-wrong { border: 1px solid #e2e8f0; border-right: 5px solid #dc2626; border-radius: 10px; padding: 8px 12px; margin-bottom: 8px; page-break-inside: avoid; font-size: .9rem; line-height: 1.9; }
.az-karname .kn-foot { text-align: center; color: #64748b; font-size: .8rem; margin-top: 18px; border-top: 1px dashed #cbd5e1; padding-top: 8px; }
@media print {
    body.az-printing * { visibility: hidden !important; }
    body.az-printing #azKarname, body.az-printing #azKarname * { visibility: visible !important; }
    body.az-printing #azKarname { display: block !important; position: absolute; top: 0; right: 0; left: 0; padding: 18px; background: #fff; }
    @page { margin: 12mm; }
}

/* وضعیت زمان‌بندی/رمز موضوع */
.topic-card .az-state { font-size: .75rem; font-weight: 700; padding: .1rem .7rem; border-radius: 999px; background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.topic-card .az-state.closed { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.topic-card .az-state.lock { background: #eef2ff; color: #3730a3; border-color: #c7d2fe; }
.topic-card.is-closed { opacity: .65; cursor: not-allowed; }

/* سربرگ بالای صفحهٔ آزمون (مراحل + بنر): همیشه وسط، مستقل از استایل قالب */
.azmoon-frontend { text-align: center; }
.azmoon-frontend .az-panel, .azmoon-frontend .az-review, .azmoon-frontend .az-section { text-align: right; }
.azmoon-frontend .az-hero, .azmoon-frontend .az-form-top, .azmoon-frontend .az-result-top { text-align: center; }
