/* ==========================================================================
   منظومة ديب سكوبر للجداول الذكية | Deep Scoper Timetable AI
   assets/css/guide.css - تنسيقات دليل الاستخدام الشامل وموسوعة المميزات
   الثيم: الرمادي الفاتح الفاخر + نيلي عميق وزمردي + فهرس لاصق + طباعة متناسقة
   ========================================================================== */

/* شريط تقدم القراءة في أعلى الصفحة */
.ds-guide-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0f766e, #0284c7, #4f46e5);
    width: 0%;
    z-index: 10000;
    transition: width 0.1s ease-out;
}

/* هيدر دليل الاستخدام */
.ds-guide-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--ds-border-light);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.ds-guide-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ds-guide-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ds-guide-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.ds-guide-hero-title {
    font-size: 38px;
    font-weight: 900;
    color: var(--ds-text-heading);
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.ds-guide-hero-desc {
    font-size: 17px;
    color: var(--ds-text-body);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* شريط البحث السريع داخل الدليل */
.ds-guide-search-wrap {
    max-width: 620px;
    margin: 0 auto 25px;
    position: relative;
}

.ds-guide-search-input {
    width: 100%;
    padding: 16px 52px 16px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    border: 2px solid var(--ds-border-light);
    background: #ffffff;
    color: var(--ds-text-heading);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: all 0.25s ease;
    outline: none;
}

.ds-guide-search-input:focus {
    border-color: var(--ds-primary);
    box-shadow: 0 10px 30px rgba(15, 118, 110, 0.15);
}

.ds-guide-search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ds-primary);
    pointer-events: none;
}

.ds-guide-quick-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.ds-guide-pill {
    background: #ffffff;
    border: 1px solid var(--ds-border-light);
    color: var(--ds-text-body);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ds-guide-pill:hover {
    background: var(--ds-primary-light);
    color: var(--ds-primary);
    border-color: var(--ds-primary);
    transform: translateY(-1px);
}

/* تخطيط مساحة العمل الرئيسية (2 أعمدة: المحتوى + الفهرس) */
.ds-guide-layout {
    max-width: 1380px;
    margin: 40px auto 80px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 36px;
    align-items: start;
}

/* الفهرس الجانبي الثابت (Sticky Sidebar) */
.ds-guide-sidebar {
    position: sticky;
    top: 90px;
    background: #ffffff;
    border: 1px solid var(--ds-border-light);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: var(--ds-shadow-sm);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}

.ds-guide-sidebar::-webkit-scrollbar {
    width: 5px;
}
.ds-guide-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.ds-toc-heading {
    font-size: 15px;
    font-weight: 800;
    color: var(--ds-text-heading);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ds-border-light);
}

.ds-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ds-toc-group-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--ds-text-muted);
    margin: 18px 0 8px 0;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ds-toc-item {
    margin-bottom: 4px;
}

.ds-toc-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 8px;
    color: var(--ds-text-body);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.ds-toc-link .toc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--ds-bg-subtle);
    color: var(--ds-text-muted);
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.ds-toc-link:hover {
    background: var(--ds-bg-subtle);
    color: var(--ds-primary);
}

.ds-toc-link.active {
    background: #ecfdf5;
    color: #0f766e;
    font-weight: 800;
    border-right: 3px solid #0f766e;
}

.ds-toc-link.active .toc-num {
    background: #0f766e;
    color: #ffffff;
}

/* أزرار الإجراء السريع في الفهرس */
.ds-toc-actions {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--ds-border-light);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ds-btn-sidebar {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.ds-btn-sidebar-print {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.ds-btn-sidebar-print:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.ds-btn-sidebar-dash {
    background: #0f766e;
    color: #ffffff;
}

.ds-btn-sidebar-dash:hover {
    background: #0d6860;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

/* منطقة محتوى الدليل */
.ds-guide-content {
    min-width: 0;
}

/* بطاقات أقسام الدليل الكبرى */
.ds-section-block {
    background: #ffffff;
    border: 1px solid var(--ds-border-light);
    border-radius: 20px;
    padding: 36px 32px;
    margin-bottom: 40px;
    box-shadow: var(--ds-shadow-sm);
    position: relative;
}

.ds-section-header-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--ds-bg-subtle);
}

.ds-section-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ds-section-icon-box.teal { background: #ecfdf5; color: #0f766e; }
.ds-section-icon-box.indigo { background: #eef2ff; color: #4f46e5; }
.ds-section-icon-box.amber { background: #fffbeb; color: #d97706; }
.ds-section-icon-box.rose { background: #fef2f2; color: #ef4444; }

.ds-section-title-wrap h2 {
    font-size: 24px;
    font-weight: 900;
    color: var(--ds-text-heading);
    margin-bottom: 4px;
}

.ds-section-title-wrap p {
    font-size: 14.5px;
    color: var(--ds-text-muted);
}

/* بطاقات خطوات الدليل المصور */
.ds-step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px;
    margin-bottom: 28px;
    position: relative;
    transition: all 0.25s ease;
}

.ds-step-card:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: var(--ds-shadow-md);
}

.ds-step-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.ds-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #0f766e;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(15, 118, 110, 0.25);
}

.ds-step-title-area {
    flex: 1;
}

.ds-step-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--ds-text-heading);
    margin-bottom: 6px;
}

.ds-step-desc {
    font-size: 15px;
    color: var(--ds-text-body);
    line-height: 1.7;
}

/* قائمة الإجراءات داخل الخطوة */
.ds-action-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.ds-action-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14.5px;
    color: var(--ds-text-body);
    line-height: 1.6;
}

.ds-action-item svg {
    color: #0f766e;
    flex-shrink: 0;
    margin-top: 4px;
}

/* صناديق النصائح والتنبيهات الملونة */
.ds-callout {
    border-radius: 12px;
    padding: 14px 18px;
    margin: 16px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.ds-callout-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.ds-callout-tip {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.ds-callout-tip strong { color: #047857; }

.ds-callout-warn {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.ds-callout-warn strong { color: #b45309; }

.ds-callout-info {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
}

.ds-callout-info strong { color: #0284c7; }

/* محاكيات الواجهات المصغرة (Mockups) */
.ds-mockup-frame {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    margin: 18px 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.ds-mockup-topbar {
    background: #f1f5f9;
    padding: 9px 14px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ds-mockup-dots {
    display: flex;
    gap: 5px;
}

.ds-mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.ds-mockup-title {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ds-mockup-body {
    padding: 18px;
    background: #ffffff;
}

/* بطاقات موسوعة المميزات */
.ds-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.ds-feature-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.ds-feature-card:hover {
    border-color: #0f766e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -4px rgba(15, 118, 110, 0.12);
}

.ds-feature-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ds-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-feature-tag {
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
}

.ds-feature-card h3 {
    font-size: 17.5px;
    font-weight: 800;
    color: var(--ds-text-heading);
    margin-bottom: 10px;
    line-height: 1.4;
}

.ds-feature-card p {
    font-size: 14px;
    color: var(--ds-text-body);
    line-height: 1.7;
    margin-bottom: 14px;
    flex: 1;
}

.ds-feature-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px dashed #e2e8f0;
    padding-top: 12px;
}

.ds-feature-highlights li {
    font-size: 12.5px;
    color: var(--ds-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.ds-feature-highlights li svg {
    color: #0f766e;
    flex-shrink: 0;
}

/* أكورديون الأسئلة الشائعة */
.ds-accordion-item {
    border: 1px solid var(--ds-border-light);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.2s ease;
}

.ds-accordion-item:hover {
    border-color: #cbd5e1;
}

.ds-accordion-header {
    width: 100%;
    border: 0;
    font-family: inherit;
    text-align: start;
    gap: 12px;
    padding: 16px 20px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 800;
    color: var(--ds-text-heading);
    user-select: none;
}

.ds-accordion-header svg {
    transition: transform 0.25s ease;
    color: #64748b;
}

.ds-accordion-item.open .ds-accordion-header svg {
    transform: rotate(180deg);
    color: #0f766e;
}

.ds-accordion-body {
    padding: 0 20px 18px 20px;
    font-size: 14.5px;
    color: var(--ds-text-body);
    line-height: 1.8;
    display: none;
    border-top: 1px solid #f1f5f9;
}

.ds-accordion-item.open .ds-accordion-body {
    display: block;
}

/* صندوق الختام والتواصل */
.ds-guide-footer-cta {
    background: linear-gradient(135deg, #0f172a 0%, #0f766e 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.ds-guide-footer-cta h3 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 12px;
}

.ds-guide-footer-cta p {
    font-size: 16px;
    color: #e2e8f0;
    max-width: 650px;
    margin: 0 auto 26px;
    line-height: 1.7;
}

.ds-guide-cta-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* التجاوبية للشاشات الصغيرة */
@media (max-width: 1040px) {
    .ds-guide-layout {
        grid-template-columns: 1fr;
    }
    .ds-guide-sidebar {
        display: none; /* إخفاء الفهرس الجانبي على الجوال واستبداله بزر عائم أو تصفح مباشر */
    }
    .ds-section-block {
        padding: 24px 18px;
    }
    .ds-guide-hero-title {
        font-size: 28px;
    }
}

/* صور الدليل: لقطة حقيقية من لوحة المدرسة مع أرقام توضيحية يقابلها شرح تحتها */
.ds-shot {
    margin: 18px 0 6px;
}

.ds-shot-frame {
    position: relative;
    display: block;
    width: 100%;
    margin-inline: auto;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.18);
    cursor: zoom-in;
}

.ds-shot-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.ds-shot-mark {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e11d48;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-size: 13px;
    font-weight: 900;
    line-height: 22px;
    text-align: center;
    pointer-events: none;
}

.ds-shot figcaption {
    margin-top: 10px;
    font-size: 13.5px;
    color: var(--ds-text-body);
}

.ds-shot figcaption strong {
    display: block;
    color: var(--ds-text-heading);
    margin-bottom: 6px;
}

.ds-shot-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.ds-shot-legend li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ds-shot-legend span {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e11d48;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    line-height: 20px;
    text-align: center;
}

.ds-shot-viewer {
    max-width: 96vw;
    max-height: 94vh;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    cursor: zoom-out;
}

.ds-shot-viewer::backdrop {
    background: rgba(15, 23, 42, 0.8);
}

.ds-shot-viewer img {
    display: block;
    max-width: 96vw;
    max-height: calc(94vh - 40px);
}

.ds-shot-viewer p {
    margin: 0;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--ds-text-muted);
}

/* غلاف النسخة المطبوعة: مخفي على الشاشة */
.ds-print-cover {
    display: none;
}

/* ==========================================================================
   النسخة المطبوعة: A4 طولي، غلاف وفهرس، كل قسم يبدأ بصفحة جديدة، ورقم الصفحة أسفلها
   ========================================================================== */
@page {
    size: A4 portrait;
    margin: 16mm 15mm 18mm;
    @bottom-center {
        content: "دليل استخدام ديب سكوبر — صفحة " counter(page) " من " counter(pages);
        font-family: 'Cairo', sans-serif;
        font-size: 8pt;
        color: #64748b;
    }
}

@page :first {
    @bottom-center { content: none; }
}

@media print {
    html, body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body.ds-landing-body {
        background: #ffffff !important;
        color: #0f172a;
        font-size: 10.5pt;
        line-height: 1.7;
    }

    .ds-navbar,
    .ds-guide-hero,
    .ds-guide-sidebar,
    .ds-guide-footer-cta,
    .ds-guide-footer,
    .ds-guide-progress-bar,
    .ds-btn {
        display: none !important;
    }

    a {
        color: inherit !important;
        text-decoration: none !important;
    }

    /* الغلاف والفهرس في الصفحة الأولى */
    .ds-print-cover {
        display: block;
        break-after: page;
        padding-top: 40mm;
        text-align: center;
    }

    .ds-print-cover-brand {
        display: inline-block;
        font-size: 11pt;
        font-weight: 800;
        color: #0f766e;
        border: 1pt solid #99f6e4;
        border-radius: 20pt;
        padding: 3pt 14pt;
        margin-bottom: 14pt;
    }

    .ds-print-cover h1 {
        font-size: 30pt;
        font-weight: 900;
        color: #0f172a;
        margin: 0 0 6pt;
    }

    .ds-print-cover-sub {
        font-size: 12pt;
        color: #475569;
        margin: 0 0 18pt;
    }

    .ds-print-cover-school,
    .ds-print-cover-date {
        font-size: 10pt;
        color: #475569;
        margin: 2pt 0;
    }

    .ds-print-toc {
        text-align: start;
        margin: 26mm auto 0;
        max-width: 125mm;
        border-top: 1.5pt solid #0f766e;
        padding-top: 10pt;
    }

    .ds-print-toc h2 {
        font-size: 13pt;
        font-weight: 900;
        margin: 0 0 6pt;
    }

    .ds-print-toc ol {
        margin: 0;
        padding-inline-start: 16pt;
        font-size: 10pt;
    }

    .ds-print-toc ol ol {
        columns: 2;
        column-gap: 14pt;
        font-size: 9pt;
        color: #475569;
        margin: 2pt 0 6pt;
    }

    /* المحتوى بعرض الصفحة كاملاً */
    .ds-guide-layout {
        display: block !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ds-section-block {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        break-before: page;
    }

    .ds-section-block:first-child {
        break-before: auto;
    }

    .ds-section-header-banner {
        margin-bottom: 12pt;
        padding-bottom: 8pt;
        border-bottom: 1.5pt solid #0f766e;
        break-after: avoid;
    }

    .ds-section-icon-box {
        width: 30pt;
        height: 30pt;
        border-radius: 8pt;
    }

    .ds-section-icon-box svg {
        width: 17pt;
        height: 17pt;
    }

    .ds-section-title-wrap h2 {
        font-size: 17pt;
        margin: 0;
    }

    .ds-section-title-wrap p {
        font-size: 9.5pt;
    }

    /* بطاقات الخطوات */
    .ds-step-card {
        background: #ffffff !important;
        border: 0.75pt solid #cbd5e1 !important;
        border-radius: 6pt;
        box-shadow: none !important;
        padding: 10pt 12pt;
        margin-bottom: 9pt;
    }

    /* البطاقة التي فيها صور قد تمتد لصفحتين، لكن الصورة وشرحها لا ينقسمان */
    .ds-step-card:not(:has(.ds-shot)) {
        break-inside: avoid;
    }

    .ds-step-header {
        gap: 9pt;
        margin-bottom: 4pt;
        break-after: avoid;
    }

    .ds-action-list {
        break-inside: avoid;
    }

    .ds-shot {
        margin: 8pt 0 4pt;
        break-inside: avoid;
    }

    .ds-shot-frame {
        border: 0.75pt solid #94a3b8;
        border-radius: 5pt;
        box-shadow: none;
    }

    .ds-shot-mark {
        width: 15pt;
        height: 15pt;
        border-width: 1.2pt;
        font-size: 8.5pt;
        line-height: 12.6pt;
        box-shadow: none;
    }

    .ds-shot figcaption {
        margin-top: 4pt;
        font-size: 9pt;
    }

    .ds-shot figcaption strong {
        margin-bottom: 2pt;
    }

    .ds-shot-legend {
        gap: 2pt 12pt;
    }

    .ds-shot-legend span {
        width: 12pt;
        height: 12pt;
        font-size: 7.5pt;
        line-height: 12pt;
    }

    .ds-shot-viewer {
        display: none !important;
    }

    .ds-step-badge {
        width: 22pt;
        height: 22pt;
        border-radius: 6pt;
        font-size: 11pt;
        box-shadow: none;
    }

    .ds-step-title {
        font-size: 12.5pt;
        margin-bottom: 2pt;
        break-after: avoid;
    }

    .ds-step-desc {
        font-size: 10pt;
        line-height: 1.6;
    }

    .ds-action-list {
        margin: 4pt 0 0;
    }

    .ds-action-item {
        font-size: 9.8pt;
        line-height: 1.6;
        padding: 2.5pt 0;
        gap: 6pt;
    }

    .ds-action-item svg {
        width: 10pt;
        height: 10pt;
        margin-top: 3pt;
    }

    .ds-callout {
        font-size: 9.5pt;
        padding: 6pt 9pt;
        margin-top: 6pt;
        border-radius: 5pt;
        break-inside: avoid;
        break-before: avoid;
    }

    /* أدوات المنصة: عمودان */
    .ds-features-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8pt;
        margin-top: 0;
    }

    .ds-feature-card {
        border: 0.75pt solid #cbd5e1 !important;
        border-radius: 6pt;
        padding: 9pt 10pt;
        box-shadow: none !important;
        transform: none !important;
        break-inside: avoid;
    }

    .ds-feature-top {
        margin-bottom: 5pt;
    }

    .ds-feature-icon {
        width: 24pt;
        height: 24pt;
        font-size: 13pt !important;
    }

    .ds-feature-tag {
        font-size: 8pt;
        padding: 1pt 7pt;
    }

    .ds-feature-card h3 {
        font-size: 11pt;
        margin-bottom: 3pt;
    }

    .ds-feature-card p {
        font-size: 9.3pt;
        line-height: 1.6;
        margin-bottom: 5pt;
    }

    .ds-feature-highlights {
        padding-top: 4pt;
    }

    .ds-feature-highlights li {
        font-size: 8.8pt;
        margin-bottom: 2pt;
    }

    /* الأسئلة الشائعة: كل الإجابات ظاهرة */
    .ds-accordion-item {
        border: 0.75pt solid #cbd5e1 !important;
        border-radius: 6pt;
        margin-bottom: 5pt;
        break-inside: avoid;
    }

    .ds-accordion-header {
        padding: 5pt 10pt 1pt;
        font-size: 10.3pt;
    }

    .ds-accordion-header svg {
        display: none;
    }

    .ds-accordion-body {
        display: block !important;
        border-top: 0;
        padding: 0 10pt 5pt;
        font-size: 9.5pt;
        line-height: 1.6;
    }

    p, li {
        orphans: 3;
        widows: 3;
    }
}
