/* ===== Order Details — تصميم تفاصيل الطلب (.odd-*) =====
   مكوّن مستقل لعرض/إدارة طلب واحد داخل #orderDetailsModal.
   يعتمد توكنز Meadows (الأسطح/الحدود/النصوص) فيتكيّف مع الوضع الليلي تلقائياً.
   الهيرو (hero) لونُه مشتقّ من حالة الطلب ويُضبَط inline من JS. */

@keyframes oddIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes oddPulse {
    0%,
    100% {
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--warning) 22%, transparent);
    }
    50% {
        box-shadow: 0 0 0 6px color-mix(in srgb, var(--warning) 14%, transparent);
    }
}

/* الحاوية الداخلية: عمود بسيط يتدفّق بارتفاعه الطبيعي. المودال نفسه
   (‎.modal-content) هو من يتمرّر (overflow-y:auto) كبقية المودالات،
   وشريط الأجراءات يُثبَّت بـ position:sticky أسفل منطقة العرض. */
.odd-screen {
    display: flex;
    flex-direction: column;
    background: var(--bg-main);
}

/* ===== HERO ===== */
.odd-hero {
    position: relative;
    overflow: hidden;
    padding: 12px 14px 14px;
}
.odd-hero::before,
.odd-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    pointer-events: none;
}
.odd-hero::before {
    top: -46px;
    inset-inline-end: -40px;
    width: 160px;
    height: 160px;
}
.odd-hero::after {
    bottom: -64px;
    inset-inline-start: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
}

.odd-hero-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    color: #ffffff;
}
.odd-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background 0.15s,
        color 0.15s,
        border-color 0.15s;
}
.odd-close:hover {
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
}
.odd-hero-titleblock {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 8px;
}
.odd-hero-id {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
    direction: ltr;
    text-align: start;
    font-variant-numeric: tabular-nums;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.odd-hero-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    /* التاريخ والوقت عنصران منفصلان بفجوة — خلطهما في نصّ واحد داخل سياق
       RTL كان يسبب تداخلاً بصرياً (bidi) بين أرقام اللاتين والفاصل. */
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    direction: ltr;
    unicode-bidi: isolate;
}
.odd-hero-time {
    color: rgba(255, 255, 255, 0.8);
}
.odd-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.95);
    color: var(--text-title);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.odd-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.odd-hero-main {
    display: flex;
    align-items: center;
    gap: 11px;
    position: relative;
    z-index: 1;
    color: #ffffff;
}
.odd-hero-ico {
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}
.odd-hero-info {
    flex: 1;
    min-width: 0;
}
.odd-hero-status {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.odd-hero-status-sub {
    font-size: 11.5px;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.96);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

/* ===== TIMELINE ===== */
.odd-timeline-wrap {
    margin: -10px 12px 0;
    background: var(--surface-solid);
    border: 1px solid var(--border-main);
    border-radius: 14px;
    padding: 10px 14px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.odd-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}
/* مسار واحد خلف النقاط (رمادي) + طبقة تقدّم خضراء تنمو من الخطوة الأولى
   (جديد) نحو الأخيرة (مكتمل) حسب --odd-progress الذي يضبطه JS.
   النقاط مصمتة (surface-solid) فتغطّي المسار عند مواضعها. */
.odd-timeline::before {
    content: '';
    position: absolute;
    top: 9px;
    inset-inline-start: 12.5%;
    inset-inline-end: 12.5%;
    height: 2px;
    background: var(--border-main);
    z-index: 0;
}
.odd-timeline::after {
    content: '';
    position: absolute;
    top: 9px;
    inset-inline-start: 12.5%;
    width: calc(var(--odd-progress, 0) * 75%);
    height: 2px;
    background: var(--success);
    z-index: 0;
    transition: width 0.4s ease;
}
.odd-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
}
.odd-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--surface-solid);
    border: 2px solid var(--border-main);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
    color: #fff;
}
.odd-step.is-done .odd-dot {
    background: var(--success);
    border-color: var(--success);
}
.odd-step.is-active .odd-dot {
    background: var(--surface-solid);
    border-color: var(--warning);
    animation: oddPulse 1.8s ease-in-out infinite;
}
.odd-step.is-active .odd-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--warning);
    border-radius: 50%;
}
.odd-step-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.3;
}
.odd-step.is-done .odd-step-label {
    color: var(--ready-text);
}
.odd-step.is-active .odd-step-label {
    color: var(--delivering-text);
}

/* ===== BODY =====
   ارتفاع طبيعي (لا flex:1) كي لا ينهار داخل حاوية بارتفاع غير محدّد؛
   التمرير يحدث على مستوى المودال نفسه. */
.odd-body {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

/* ===== BODY =====
   ارتفاع طبيعي (لا flex:1) كي لا ينهار داخل حاوية بارتفاع غير محدّد؛
   التمرير يحدث على مستوى المودال نفسه. */

/* Meadows: بطاقات فرعية داخل صفحة تفاصيل الطلب — حوافّ محايدة نظيفة،
   ظلّ مرئيّ، وعلامة لونيّة رفيعة (شريط inset) على الحافة الافتتاحية.
   الشريط أصبح محايداً (border-main) بدل تدرّج primary، كي لا يضيف
   ضوضاء بنفسجية على كل بطاقة — اللون يأتي من أيقونة القسم (cd-sec-ico)
   ومن المحتوى، لا من زخرفة. */
.odd-card {
    position: relative;
    background: var(--surface-solid, #ffffff);
    border: 1px solid var(--border-main);
    border-radius: 14px;
    padding: 11px 14px;
    padding-inline-start: 18px;
    box-shadow: var(--shadow-sm);
    animation: oddIn 0.36s ease both;
}
.odd-card::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    inset-inline-start: 5px;
    width: 3px;
    border-radius: 999px;
    background: var(--border-main);
}
.odd-card:nth-child(1) {
    animation-delay: 0.02s;
}
.odd-card:nth-child(2) {
    animation-delay: 0.07s;
}
.odd-card:nth-child(3) {
    animation-delay: 0.12s;
}
.odd-card:nth-child(4) {
    animation-delay: 0.17s;
}
.odd-card:nth-child(5) {
    animation-delay: 0.22s;
}
.odd-card:nth-child(6) {
    animation-delay: 0.27s;
}

.odd-sec-head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
}
.odd-sec-ico {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.odd-sec-title {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text-title);
    letter-spacing: -0.01em;
}
.odd-sec-count {
    margin-inline-start: auto;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--surface-hover);
    padding: 2px 8px;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

/* ===== عناصر تُنسخ بنقرة (الاسم · الهاتف · العنوان · الإجمالي) — تشير
   للقابلية للنسخ بمؤشّر وتسطير منقّط خفيف عند التحويم ===== */
.odd-copyable {
    cursor: copy;
    border-radius: 4px;
    transition: background 0.15s ease;
}
.odd-copyable:hover {
    text-decoration: underline dotted;
    text-underline-offset: 3px;
}

/* ===== CUSTOMER ===== */
.odd-cust-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.odd-cust-info {
    flex: 1;
    min-width: 0;
}
.odd-cust-name {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-title);
    word-break: break-word;
}
.odd-cust-source {
    font-size: 10.5px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}
.odd-cust-phone {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
    /* direction:ltr لعرض الأرقام سليمة، لكن المحاذاة يميناً لتجلس تحت باقي
       معلومات العميل في الواجهة العربية بدل أن تلتصق يساراً. */
    direction: ltr;
    unicode-bidi: isolate;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.odd-contact-row {
    display: flex;
    gap: 5px;
    margin-top: 9px;
}
.odd-contact {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 12px;
    background: var(--surface-hover);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    font: inherit;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    text-decoration: none;
    transition:
        background 0.15s,
        border-color 0.15s,
        transform 0.15s;
}
.odd-contact:hover {
    transform: translateY(-1px);
}
.odd-contact.call {
    color: var(--info);
}
.odd-contact.wa {
    color: var(--wa-primary);
    background: color-mix(in srgb, var(--wa-primary) 10%, transparent);
    border-color: color-mix(in srgb, var(--wa-primary) 26%, transparent);
}
.odd-contact.sms {
    color: var(--secondary);
}

/* ===== ADDRESS ===== */
.odd-addr-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.odd-addr-ico {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--danger) 12%, transparent);
    color: var(--danger);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.odd-addr-info {
    flex: 1;
    min-width: 0;
}
.odd-addr-city {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-title);
}
.odd-addr-detail {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 2px;
}
.odd-map-btn {
    width: 34px;
    height: 34px;
    background: color-mix(in srgb, var(--info) 12%, transparent);
    color: var(--info);
    border: 1px solid color-mix(in srgb, var(--info) 26%, transparent);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
    transition:
        background 0.15s,
        color 0.15s;
}
.odd-map-btn:hover {
    background: var(--info);
    color: #fff;
}

/* ===== PRODUCTS ===== */
.odd-prod-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 0;
    border-bottom: 1px solid var(--border-light);
}
.odd-prod-row:first-of-type {
    padding-top: 1px;
}
.odd-prod-row:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.odd-thumb {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
}
.odd-thumb-grad {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
}
/* شارة خصم الصنف داخل بطاقة التفاصيل: نفس هوية شارة القائمة (.oc-prod-disc في
   orders-cards.css) بحجم أكبر قليلاً يناسب مصغّرة 36px هنا. */
.odd-thumb-wrap .oc-prod-disc {
    min-width: 26px;
    height: 17px;
    font-size: 10px;
    line-height: 17px;
    border-radius: 9px;
}
/* صور المنتجات النائبة (بدون صورة فعلية): تدرّجات عميقة مشتقّة من توكنات
   Modernize الدلالية (primary/success/warning/danger/info/accent) بدل
   البنفسجي المتقاعد وألوان Tailwind. الوقفة الداكنة عبر color-mix مع الأسود
   تُبقي الحرف الأبيض الأوّلي متبايناً وتتكيّف مع الثيم تلقائياً. */
.odd-thumb-grad.g1 {
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 45%, #000));
}
.odd-thumb-grad.g2 {
    background: linear-gradient(135deg, var(--success), color-mix(in srgb, var(--success) 45%, #000));
}
.odd-thumb-grad.g3 {
    background: linear-gradient(135deg, var(--warning), color-mix(in srgb, var(--warning) 45%, #000));
}
.odd-thumb-grad.g4 {
    background: linear-gradient(135deg, var(--danger), color-mix(in srgb, var(--danger) 45%, #000));
}
.odd-thumb-grad.g5 {
    background: linear-gradient(135deg, var(--info), color-mix(in srgb, var(--info) 45%, #000));
}
.odd-thumb-grad.g6 {
    background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #000));
}

.odd-prod-info {
    flex: 1;
    min-width: 0;
}
.odd-prod-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-title);
    line-height: 1.35;
    word-break: break-word;
}
.odd-prod-meta {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}
.odd-qty {
    font-size: 10.5px;
    color: var(--text-secondary);
    background: var(--surface-hover);
    padding: 1px 7px;
    border-radius: 6px;
    font-weight: 700;
    margin-top: 3px;
    display: inline-block;
    font-variant-numeric: tabular-nums;
}
.odd-prod-total {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text-title);
    white-space: nowrap;
    text-align: end;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.odd-prod-total .cur {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-inline-start: 1px;
}

/* ===== TRACKING + CAMPAIGN ===== */
.odd-track-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-hover);
    border: 1px dashed var(--border-main);
    border-radius: 10px;
    padding: 8px 10px;
}
.odd-track-num {
    flex: 1;
    font-family: var(--app-mono-family);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-title);
    letter-spacing: 0.04em;
    direction: ltr;
    text-align: end;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
}
.odd-copy-btn {
    width: 28px;
    height: 28px;
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    color: var(--primary);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background 0.15s,
        color 0.15s;
}
.odd-copy-btn:hover {
    background: var(--primary);
    color: #fff;
}
.odd-copy-btn.is-copied {
    background: var(--success);
    color: #fff;
}

.odd-camp-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-light);
}
.odd-camp-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}
.odd-camp-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
}
.odd-camp-date {
    font-size: 11.5px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-inline-start: auto;
    font-variant-numeric: tabular-nums;
}

/* ===== NOTES ===== */
.odd-notes {
    background: var(--notes-bg);
    border-radius: 11px;
    padding: 10px 12px;
}
.odd-note-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--notes-text);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}
.odd-note-label .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}
.odd-note-line {
    font-size: 12px;
    line-height: 1.5;
    color: var(--notes-text);
    word-break: break-word;
}
.odd-notes .odd-note-block + .odd-note-block {
    margin-top: 8px;
}

/* ===== QUICK STATUS ===== */
.odd-status-actions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.odd-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: var(--surface-hover);
    border: 1px solid var(--border-main);
    border-radius: 999px;
    font: inherit;
    font-family: inherit;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition:
        color 0.15s,
        transform 0.15s;
}
.odd-status-chip:hover:not(.is-current) {
    color: var(--text-title);
    transform: translateY(-1px);
}
.odd-status-chip .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* ===== SUMMARY ===== */
/* ملخّص الطلب: سطح مرفوع بلمسة أساسية خفيفة على عائلة Modernize المعتدلة
   بدل الكتلة الفحمية المتقاعدة. الأخضر (ready-text) هو المرساة الوحيدة
   للإجمالي النهائي، والخصم بـcancelled-text (أحمر داكن مقروء). كل النصوص من
   التوكنات فتتكيّف مع الوضع الليلي وهويّة المتجر تلقائياً. */
.odd-summary {
    background: color-mix(in srgb, var(--primary) 6%, var(--surface-solid));
    color: var(--text-title);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-main);
    animation: oddIn 0.36s ease both;
    animation-delay: 0.27s;
}
.odd-sum-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 11.5px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}
.odd-sum-row .val {
    color: var(--text-title);
    font-weight: 700;
}
.odd-sum-row.discount .val {
    color: var(--cancelled-text);
}
.odd-sum-row.total {
    font-size: 13px;
    padding-top: 8px;
    border-top: 1px solid var(--border-main);
    margin-top: 6px;
    margin-bottom: 0;
}
.odd-sum-row.total .val {
    font-size: 18px;
    color: var(--ready-text);
    font-weight: 800;
}
.odd-sum-row .cur {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-inline-start: 2px;
}
.odd-sum-row.discount .cur {
    color: var(--text-secondary);
}

/* ===== ACTION BAR ===== */
.odd-actionbar {
    display: flex;
    gap: 7px;
    align-items: center;
    padding: 10px 12px;
    background: var(--surface-main);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.05);
}
.odd-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    font: inherit;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition:
        transform 0.15s,
        box-shadow 0.15s,
        background 0.15s;
}
.odd-action.cancel {
    flex: 1;
    background: color-mix(in srgb, var(--danger) 12%, transparent);
    color: var(--danger);
    border-color: color-mix(in srgb, var(--danger) 22%, transparent);
}
.odd-action.cancel:hover {
    background: var(--danger);
    color: #fff;
}
.odd-action.edit {
    flex: 1;
    background: var(--primary);
    color: var(--text-light);
}
.odd-action.edit:hover {
    background: var(--primary-hover);
}

/* ===== تنسيقات ضيقة ===== */
@media (max-width: 480px) {
    .odd-hero {
        padding: 14px 14px 24px;
    }
    .odd-timeline-wrap {
        margin: -12px 10px 0;
    }
    .odd-body {
        padding: 12px 10px;
    }
    .odd-actionbar {
        padding: 10px;
    }
    .odd-step-label {
        font-size: 9.5px;
    }
}

/* === كثافة تفاصيل الطلب على الجوال (≤768px) — ترقية على قاعدة 480 ===
   البطاقة كانت عند ≤480px تلتهم 14+24px رأسياً و12+10px أفقياً، وهذا
   قبل الهامش العلوي 0- على الصفحة. الإصلاح يعتمد مرحلتين:
   - ≤768px: padding الجوانب 14→12، الأسفل 24→16، الـtimeline margin
             -12px→-10px، body padding 12px 10px → 10px 8px
   - ≤480px (مرحلة ثانية): نفس + odd-actionbar padding 10→8
   السبب التقني: odd-hero يضمّ عنوان + شارة + ملخّص، وحشو سفلي 24px
   كان يدفع الـtimeline إلى الأسفل خارج الشاشة الأولى في 60% من
   الأجهزة (<360px ارتفاع). تقليص 24→16 يُبقي نفس الإيقاع البصري
   ويحرّر ~32px من ارتفاع المحتوى. */
@media (max-width: 768px) {
    .odd-hero {
        padding: 12px 12px 16px;
    }
    .odd-timeline-wrap {
        margin: -10px 8px 0;
    }
    .odd-body {
        padding: 10px 8px;
    }
}

/* تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
    .odd-card,
    .odd-summary {
        animation: none;
    }
    .odd-step.is-active .odd-dot {
        animation: none;
    }
}

