/* ==========================================================================
   tf-sweep-C.css : مسح «Horizon» للمجموعة C (بوابات العميل والمرشد، الأجزاء المشتركة،
   الرئيسية، الصفحة العامة وإدارتها، المساعدة، دليل العمرة).
   كل القيم من رموز --tf-* (tf-tokens.css) فيعمل الوضع الداكن تلقائيًا.
   الأقسام:
     1) أدوات مشتركة لشاشات الإدارة (.tf-sw)
     2) لوحة الأدوار hd-* (كانت <style> في Home/_DashStyles)
     3) توفر المقاعد والغرف (Home/_SeatAvailability و_RoomAvailability)
     4) (نُقل إلى tf-sweep-C-flights.css: رحلات الطيران اليوم)
     5) دليل العمرة: عناصر مساندة
     6) متجر العميل Store
     7) تتبع الحافلة TrackBus
     8) نوافذ المرشد: إشعار الفندق وموقع العميل
     9) شاشة المرشد القديمة _LegacyIndex
    10) نماذج الإدارة المتفرقة (المناسبات)
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1) أدوات مشتركة لشاشات الإدارة
   --------------------------------------------------------------------------- */
.tf-ds.tf-sw { max-width: var(--tf-layout-max, 1440px); margin-inline: auto; }
.tf-ds.tf-sw--narrow { max-width: 1080px; }
.tf-ds.tf-sw .tf-block { margin-block-end: var(--tf-space-7); }
.tf-ds.tf-sw .tf-pagehead__icon { background: var(--tf-brand-gradient); color: var(--tf-color-text-inverse); box-shadow: var(--tf-elev-1); }
.tf-ds.tf-sw .tf-pagehead__desc { max-width: 70ch; }
.tf-ds .tf-sw-nowrap { white-space: nowrap; }
.tf-ds .tf-sw-gap { margin-inline-start: var(--tf-space-3); }
.tf-ds .tf-sw-off { opacity: .55; }
.tf-ds .tf-sw-code { color: var(--tf-color-text-3); font-size: var(--tf-fs-body); font-weight: var(--tf-fw-medium); margin-inline-start: var(--tf-space-3); }
.tf-ds .tf-sw-inline { display: inline-flex; margin: 0; }
.tf-ds .tf-sw-rowactions { display: flex; flex-wrap: wrap; gap: var(--tf-space-2); align-items: center; justify-content: flex-end; }
.tf-ds .tf-sw-actions { display: flex; flex-wrap: wrap; gap: var(--tf-space-3); margin-block-start: var(--tf-space-3); }
.tf-ds .tf-sw-group { grid-column: 1 / -1; margin-block: var(--tf-space-3) var(--tf-space-4); padding-block-start: var(--tf-space-4); border-block-start: 1px solid var(--tf-color-border); }
.tf-ds .tf-sw-group h4 { margin: 0; font-size: var(--tf-fs-h3); font-weight: var(--tf-fw-semibold); }
.tf-ds .tf-sw-group .tf-help { margin: var(--tf-space-1, 4px) 0 0; }
.tf-ds .tf-sw-thumbcell { width: 96px; }
.tf-ds .tf-sw-thumb { width: 80px; height: 50px; object-fit: cover; border-radius: var(--tf-r-sm); display: block; background: var(--tf-color-surface-3); }
.tf-ds .tf-sw-aboutimg { display: flex; align-items: flex-end; flex-wrap: wrap; gap: var(--tf-space-4); margin-block-end: var(--tf-space-4); }
.tf-ds .tf-sw-aboutimg img { max-width: 260px; max-height: 160px; border-radius: var(--tf-r-md); object-fit: cover; border: 1px solid var(--tf-color-border); }
.tf-ds .tf-sw-check { display: inline-flex; align-items: center; gap: var(--tf-space-3); font-size: var(--tf-fs-sm); color: var(--tf-color-text-2); cursor: pointer; }
.tf-ds .tf-sw-filerow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--tf-space-3); margin-block-end: var(--tf-space-2); }
.tf-ds .tf-sw-filerow .tf-input[type=file] { flex: 1 1 260px; max-width: 420px; height: auto; padding-block: 6px; }
.tf-ds .tf-sw-filerow--sm { margin: var(--tf-space-2) 0 0; }
.tf-ds .tf-sw-filerow--sm .tf-input[type=file] { max-width: 220px; }
.tf-ds .tf-sw-contact { display: flex; align-items: center; gap: var(--tf-space-2); flex-wrap: wrap; }
.tf-ds .tf-sw-w150 { width: 150px; }
.tf-ds .tf-sw-w120 { width: 120px; }
.tf-ds .tf-sw-reviewform { display: flex; flex-wrap: wrap; align-items: center; gap: var(--tf-space-2); margin: 0; }
.tf-ds .tf-sw-stars { color: var(--tf-brand-sun); white-space: nowrap; letter-spacing: 0; }
.tf-ds .tf-sw-stars__off { color: var(--tf-color-border-strong); }
.tf-ds .tf-sw-seq { width: 44px; color: var(--tf-color-text-3); }
.tf-ds .tf-sw-urlhint { display: flex; align-items: center; gap: var(--tf-space-3); padding: var(--tf-space-3) var(--tf-space-4); background: var(--tf-color-surface-2); border: 1px dashed var(--tf-color-border-strong); border-radius: var(--tf-r-md); color: var(--tf-color-text-2); font-size: var(--tf-fs-sm); overflow-x: auto; }
.tf-ds .tf-sw-urlhint code { color: inherit; background: none; padding: 0; white-space: nowrap; }
.tf-ds .tf-sw-dua__ar, .tf-sw-dua__ar { font-size: 17px; line-height: 2; }
.tf-ds .tf-sw-dua { max-width: 520px; }
.tf-ds .tf-sw-duabox { padding: var(--tf-space-4); margin-block-end: var(--tf-space-5); background: var(--tf-color-surface-2); }
/* جدول الأدعية: النص الطويل يلتف داخل خليته (الجدول يرث white-space:nowrap من .tf-table td) */
.tf-ds .tf-sw-duatable { table-layout: fixed; width: 100%; min-width: 0; }
.tf-ds .tf-sw-duatable th.tf-sw-col-code { width: 96px; }
.tf-ds .tf-sw-duatable th.tf-sw-col-grade { width: 110px; }
.tf-ds .tf-sw-duatable th.tf-sw-col-audio { width: 300px; }
.tf-ds .tf-sw-duatable td { vertical-align: top; white-space: normal; overflow-wrap: anywhere; min-width: 0; }
.tf-ds .tf-sw-duatable td.tf-sw-dua { max-width: none; }
.tf-ds .tf-sw-duatable td.tf-sw-audiocell { min-width: 0; }
.tf-ds .tf-sw-duatable .tf-sw-dua__ar { white-space: normal; overflow-wrap: break-word; line-height: 2.2; padding-block: 2px; text-align: start; unicode-bidi: isolate; }
.tf-ds .tf-sw-duatable .tf-sw-audiorow { margin-block-end: var(--tf-space-2); }
.tf-ds .tf-sw-duatable .tf-sw-audiorow audio { flex: 1 1 200px; min-width: 0; }
.tf-ds .tf-sw-duatable .tf-sw-filerow { min-width: 0; }
.tf-ds .tf-sw-duatable .tf-sw-filerow .tf-input[type=file] { flex: 1 1 140px; min-width: 0; max-width: 100%; }
.tf-sw-duabox .tf-sw-dua__ar { white-space: normal; overflow-wrap: break-word; line-height: 2.2; }
.tf-ds .tf-sw-audiocell { min-width: 260px; }
.tf-ds .tf-sw-audiorow { display: flex; align-items: center; gap: var(--tf-space-3); flex-wrap: wrap; }
.tf-ds .tf-sw-audiorow audio { width: 100%; max-width: 260px; height: 36px; }
.tf-ds .tf-sw-msg { max-width: 360px; white-space: pre-line; overflow-wrap: anywhere; }
.tf-ds.tf-sw .tf-table td { overflow-wrap: anywhere; }
.tf-ds .tf-sw-depts { margin-block-end: var(--tf-space-6); }
.tf-ds .tf-sw-depts .tf-tab { text-decoration: none; }
.tf-ds .tf-sw-steps { padding: var(--tf-space-6); }
.tf-ds .tf-sw-steplist { margin: 0; padding-inline-start: var(--tf-space-7); display: grid; gap: var(--tf-space-5); }
.tf-ds .tf-sw-steplist li { line-height: var(--tf-lh-body-lg, 1.7); padding-inline-start: var(--tf-space-2); }
.tf-ds .tf-sw-steplist li::marker { color: var(--tf-color-primary); font-weight: var(--tf-fw-bold); }
.tf-ds .tf-sw-steplist .tf-btn { margin-inline-start: var(--tf-space-3); vertical-align: middle; }
.tf-ds .tf-sw-access { padding: var(--tf-space-6); }
.tf-ds .tf-sw-lead { margin: 0 0 var(--tf-space-5); color: var(--tf-color-text-2); }
.tf-ds .tf-sw-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--tf-space-3); }
.tf-ds .tf-sw-tiles .tf-btn { justify-content: center; text-align: center; height: auto; min-height: 48px; padding-block: var(--tf-space-3); white-space: normal; }
@media (max-width: 767.98px) {
    .tf-ds .tf-sw-rowactions { justify-content: flex-start; }
    .tf-ds .tf-sw-steps, .tf-ds .tf-sw-access { padding: var(--tf-space-4); }
    .tf-ds .tf-sw-tiles { grid-template-columns: 1fr; }
    .tf-ds .tf-sw-filerow .tf-input[type=file] { max-width: none; flex-basis: 100%; }
    .tf-ds .tf-sw-msg { max-width: none; }
    .tf-ds .tf-sw-thumbcell { width: auto; }
    .tf-ds .tf-cardtable td.tf-sw-nowrap, .tf-ds .tf-cardtable td.tf-numcell { white-space: normal; }
}

/* ---------------------------------------------------------------------------
   2) لوحة الأدوار hd-* (نُقلت من <style> داخل Home/_DashStyles).
   تبقى بخصوصية منخفضة كما كانت فتتفوّق عليها قواعد Dashboard.css و tf-dash.css.
   --------------------------------------------------------------------------- */
.hd { --ink: var(--tf-color-text); --muted: var(--tf-color-text-3); --line: var(--tf-color-border); --teal: var(--tf-color-primary); color: var(--ink); max-width: 1560px; margin: auto; padding: 4px 2px 30px; }
.hd.hd--flush { padding: 0; margin-bottom: 16px; }
.hd * { box-sizing: border-box; }
.hd h1, .hd h2, .hd h3, .hd p { margin: 0; }
.hd a { text-decoration: none; }
.hd-hero { padding: 28px 30px; background: var(--tf-brand-hero); color: var(--tf-color-text-inverse); border-radius: var(--tf-r-xl); display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 20px; }
.hd-eyebrow { font-size: var(--tf-fs-xs); font-weight: var(--tf-fw-bold); text-transform: none; color: var(--tf-brand-sun); margin-bottom: 8px; }
.hd-hero h1 { font-size: 30px; font-weight: var(--tf-fw-bold); }
.hd-hero p { color: rgba(255, 255, 255, .8); margin-top: 8px; font-size: var(--tf-fs-sm); }
.hd-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--tf-color-border-strong); border-radius: var(--tf-r-md); background: var(--tf-color-surface-1); padding: 0 var(--tf-space-5); min-height: 36px; font-size: var(--tf-fs-body); font-weight: var(--tf-fw-medium); color: var(--tf-color-text); cursor: pointer; transition: var(--tf-transition-colors); }
.hd-btn:hover { background: var(--tf-color-surface-3); }
.hd-btn.primary { background: var(--tf-color-primary); border-color: var(--tf-color-primary); color: var(--tf-color-on-primary); }
.hd-btn.primary:hover { background: var(--tf-color-primary-hover); border-color: var(--tf-color-primary-hover); }
.hd-filter { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin: 0 0 20px; }
.hd label { font-size: var(--tf-fs-xs); font-weight: var(--tf-fw-semibold); color: var(--muted); display: block; margin-bottom: 5px; }
.hd input, .hd select { padding: 8px 11px; border: 1px solid var(--tf-color-border-strong); background: var(--tf-color-surface-1); border-radius: var(--tf-r-sm); color: var(--ink); max-width: 100%; }
.hd-scope { font-size: var(--tf-fs-sm); color: var(--muted); margin-inline-start: auto; align-self: center; }
.hd-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 20px; }
.hd-kpi { border: 1px solid var(--line); border-radius: var(--tf-r-lg); padding: 20px; background: var(--tf-color-surface-2); min-width: 0; }
.hd-kpi:nth-child(2) { background: var(--tf-color-warning-soft); }
.hd-kpi:nth-child(3) { background: var(--tf-color-accent-soft); }
.hd-kpi:nth-child(4) { background: var(--tf-color-neutral-soft); }
.hd-kpi-top { display: flex; justify-content: space-between; align-items: center; font-size: var(--tf-fs-sm); font-weight: var(--tf-fw-semibold); }
.hd-kpi i { font-size: 18px; opacity: .7; }
.hd-value { font-size: clamp(22px, 2.2vw, 32px); font-weight: var(--tf-fw-bold); line-height: 1.35; margin: 10px 0 5px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.hd-small { font-size: var(--tf-fs-sm); color: var(--muted); line-height: 1.6; }
.hd-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr); gap: 20px; margin-bottom: 20px; }
.hd-panel { border: 1px solid var(--line); border-radius: var(--tf-r-lg); background: var(--tf-color-surface-1); padding: 22px; min-width: 0; box-shadow: var(--tf-elev-1); }
.hd-panel-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 20px; }
.hd-panel h2 { font-size: var(--tf-fs-h3); font-weight: var(--tf-fw-bold); }
.hd-panel h3 { font-size: var(--tf-fs-body); font-weight: var(--tf-fw-bold); }
.hd-link { font-size: var(--tf-fs-sm); color: var(--tf-color-primary); font-weight: var(--tf-fw-semibold); }
.hd-legend { display: flex; gap: 15px; font-size: var(--tf-fs-sm); color: var(--muted); }
.hd-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-inline-end: 5px; }
.hd-dot--sold { background: var(--tf-color-info); }
.hd-dot--avail { background: var(--tf-color-primary); }
.hd-chart { min-height: 220px; }
.hd-chart svg { display: block; width: 100%; height: auto; min-height: 190px; }
.hd-chart-note { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; font-size: var(--tf-fs-xs); color: var(--muted); }
.hd-activity { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hd-activity a { background: var(--tf-color-surface-2); border-radius: var(--tf-r-md); padding: 15px; color: var(--ink); }
.hd-activity strong { display: block; font-size: 26px; margin: 5px 0; }
.hd-activity span { font-size: var(--tf-fs-sm); }
.hd-notice { background: var(--tf-color-warning-soft); color: var(--tf-color-on-warning-soft); border: 1px solid var(--tf-color-warning-line); border-radius: var(--tf-r-md); padding: 12px; font-size: var(--tf-fs-sm); margin-top: 15px; }
.hd-error { background: var(--tf-color-danger-soft); color: var(--tf-color-on-danger-soft); border: 1px solid var(--tf-color-danger-line); padding: 20px; border-radius: var(--tf-r-md); margin-bottom: 20px; }
.hd-bar-row { margin-bottom: 18px; }
.hd-bar-label { display: flex; justify-content: space-between; font-size: var(--tf-fs-sm); margin-bottom: 7px; }
.hd-bar { height: 9px; border-radius: 9px; background: var(--tf-color-surface-3); overflow: hidden; }
.hd-bar > span { height: 100%; display: block; background: var(--tf-color-primary); border-radius: 9px; }
.hd-table-wrap { overflow: auto; }
.hd table { width: 100%; border-collapse: collapse; font-size: var(--tf-fs-sm); }
.hd th { text-align: start; color: var(--muted); font-size: var(--tf-fs-xs); font-weight: var(--tf-fw-semibold); background: var(--tf-color-surface-2); padding: 11px 10px; white-space: nowrap; }
.hd td { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.hd tr:last-child td { border-bottom: 0; }
.hd td small { display: block; color: var(--muted); font-size: var(--tf-fs-xs); margin-top: 4px; }
.hd-number { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hd-chip { display: inline-block; padding: 3px 8px; border-radius: var(--tf-r-pill); background: var(--tf-color-neutral-soft); color: var(--tf-color-on-neutral-soft); font-size: var(--tf-fs-xs); font-weight: var(--tf-fw-semibold); white-space: nowrap; }
.hd-chip.green { background: var(--tf-color-success-soft); color: var(--tf-color-on-success-soft); }
.hd-chip.orange { background: var(--tf-color-warning-soft); color: var(--tf-color-on-warning-soft); }
.hd-chip.red { background: var(--tf-color-danger-soft); color: var(--tf-color-on-danger-soft); }
.hd-rates { max-height: 270px; overflow: auto; }
.hd-rate { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hd-rate strong { font-size: var(--tf-fs-body-lg); }
.hd-rate small { display: block; font-size: var(--tf-fs-xs); color: var(--muted); margin-top: 3px; }
.hd-rate-code { display: flex; gap: 10px; align-items: center; }
.hd-currency-icon { background: var(--tf-color-accent-soft); color: var(--tf-color-on-accent-soft); border-radius: var(--tf-r-md); width: 36px; height: 36px; display: grid; place-items: center; font-weight: var(--tf-fw-bold); font-size: var(--tf-fs-xs); }
.hd-converter { background: var(--tf-color-surface-2); padding: 15px; border-radius: var(--tf-r-md); margin-top: 15px; }
.hd-convert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
.hd-converter input, .hd-converter select { width: 100%; }
.hd-convert-result { font-size: 22px; font-weight: var(--tf-fw-bold); padding: 12px 0 0; overflow-wrap: anywhere; }
.hd-cash { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hd-cash > div { background: var(--tf-color-surface-2); border-radius: var(--tf-r-md); padding: 16px; }
.hd-cash strong { display: block; font-size: 22px; margin-top: 9px; overflow-wrap: anywhere; }
.hd-empty { padding: 25px 10px; text-align: center; color: var(--muted); font-size: var(--tf-fs-body); }
.hd-shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hd-shortcuts a { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--tf-r-md); padding: 15px; color: var(--ink); font-size: var(--tf-fs-sm); font-weight: var(--tf-fw-semibold); }
.hd-shortcuts a:hover { background: var(--tf-color-primary-soft); border-color: var(--tf-color-primary-line); }
.hd details { margin-top: 12px; color: var(--muted); font-size: var(--tf-fs-sm); }
.hd summary { cursor: pointer; }
.hd-footer { font-size: var(--tf-fs-xs); color: var(--muted); margin-top: 20px; text-align: center; }
.hd-loading .hd-panel { opacity: .55; transition: opacity .15s; }
@media (max-width: 1150px) {
    .hd-grid { grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); }
    .hd-kpis { grid-template-columns: repeat(2, 1fr); }
    .hd-shortcuts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
    .hd-grid { grid-template-columns: 1fr; }
    .hd-hero { align-items: flex-start; flex-direction: column; padding: 22px; }
    .hd-scope { margin-inline-start: 0; width: 100%; }
    .hd-panel { padding: 17px; }
    .hd-activity { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 430px) {
    .hd-kpis { gap: 9px; }
    .hd-kpi { padding: 14px; }
    .hd-value { font-size: 23px; }
    .hd-shortcuts { grid-template-columns: 1fr; }
    .hd-panel-head { align-items: flex-start; flex-direction: column; }
}

/* ---------------------------------------------------------------------------
   3) توفر المقاعد والغرف (الأسبوع القادم)
   --------------------------------------------------------------------------- */
.hd-seat-summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 18px; }
.hd-seat-summary > div { background: var(--tf-color-surface-2); padding: 14px; border-radius: var(--tf-r-md); }
.hd-seat-summary span { font-size: var(--tf-fs-xs); color: var(--muted); display: block; }
.hd-seat-summary strong { font-size: 24px; display: block; margin-top: 4px; }
.hd-seat-summary > div:nth-child(4) { background: var(--tf-color-warning-soft); }
.hd-seat-summary > div:last-child { background: var(--tf-color-danger-soft); }
.hd-seat-destinations { display: grid; grid-template-columns: 1fr; gap: 12px; }
.hd details.hd-seat-destination { margin: 0; border: 1px solid var(--line); border-radius: var(--tf-r-lg); overflow: hidden; }
.hd-seat-destination summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px; background: var(--tf-color-surface-2); font-weight: var(--tf-fw-bold); color: var(--ink); }
.hd-seat-destination summary small { font-weight: var(--tf-fw-regular); color: var(--muted); margin-inline-start: 10px; }
.hd-seat-destination summary::before { content: '▾'; }
.hd-seat-destination:not([open]) summary::before { content: '▸'; }
.hd-seat-destination .hd-table-wrap { padding: 0 12px 8px; }
.hd-seat-occupancy { min-width: 110px; }
.hd-seat-occupancy small { font-size: var(--tf-fs-xs); color: var(--muted); }
.hd td small.hd-seat-alert { color: var(--tf-color-danger); }
@media (max-width: 700px) {
    .hd-seat-summary { grid-template-columns: repeat(3, 1fr); }
    .hd-seat-destination summary { flex-wrap: wrap; }
    .hd-seat-summary strong { font-size: 20px; }
}
.hd-tabs { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid var(--line); padding-bottom: 10px; flex-wrap: wrap; }
.hd-tabs button { border: 1px solid var(--line); background: var(--tf-color-surface-1); color: var(--muted); border-radius: var(--tf-r-md); padding: 10px 18px; font-weight: var(--tf-fw-semibold); display: flex; align-items: center; gap: 9px; cursor: pointer; }
.hd-tabs button[aria-selected="true"] { background: var(--tf-color-primary); color: var(--tf-color-on-primary); border-color: var(--tf-color-primary); box-shadow: var(--tf-elev-1); }
.hd-tabs button:focus-visible { outline: none; box-shadow: var(--tf-ring); }
.hd [role="tabpanel"][hidden] { display: none !important; }
.hd-weekly-seats { margin-bottom: 20px; }
.hd-weekly-scroll { overflow-x: auto; padding-top: 8px; }
.hd-weekly-chart { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr); gap: 12px; min-width: 100%; padding: 0 8px; }
.hd-weekly-bars { height: 212px; display: flex; align-items: flex-end; justify-content: center; gap: 8px; border-bottom: 1px solid var(--tf-color-border-strong); background: repeating-linear-gradient(to top, transparent 0, transparent 44px, var(--tf-color-surface-3) 44px, var(--tf-color-surface-3) 45px); }
.hd-weekly-column { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; width: 36%; max-width: 44px; }
.hd-weekly-column > span { font-size: var(--tf-fs-sm); font-weight: var(--tf-fw-bold); margin-bottom: 6px; font-variant-numeric: tabular-nums; color: var(--ink); }
.hd-weekly-bar { width: 100%; border-radius: 6px 6px 0 0; min-height: 0; }
.hd-weekly-bar.sold { background: var(--tf-color-info); }
.hd-weekly-bar.available { background: var(--tf-color-primary); }
.hd-weekly-label { text-align: center; padding: 12px 0 4px; }
.hd-weekly-label strong { display: block; font-size: var(--tf-fs-sm); overflow-wrap: anywhere; }
.hd-weekly-label small { color: var(--muted); font-size: var(--tf-fs-xs); }
.hd-weekly-day:first-child .hd-weekly-label strong { color: var(--tf-color-primary); }
.hd-room-hotel-field { flex: 1 1 360px; min-width: 260px; max-width: 620px; }
.hd-room-hotel-field select, #hd-room-hotel { width: 100%; }
.hd-weekly-table { margin-top: 18px; }
.hd-weekly-note { margin-top: 12px; }
@media (max-width: 600px) { .hd-room-hotel-field { flex-basis: 100%; min-width: 0; max-width: none; } }

/* ---------------------------------------------------------------------------
   5) دليل العمرة: عناصر مساندة (بدل style المباشر)
   --------------------------------------------------------------------------- */
.pg-page .pg-fullbtn { width: 100%; margin-bottom: 10px; }
.pg-page .pg-meta--tight { margin-bottom: 4px; }
.pg-page .pg-chips--center { justify-content: center; }
.pg-page .pg-exit-title, .pg-dialog .pg-exit-title { font-size: 16px; font-weight: var(--tf-fw-semibold); margin-bottom: 4px; }
.pg-page .pg-exit-text, .pg-dialog .pg-exit-text { font-size: var(--tf-fs-sm); opacity: .8; margin-bottom: 12px; }
.pg-page .pg-exit-actions, .pg-dialog .pg-exit-actions { display: flex; flex-direction: column; gap: 8px; }
.pg-dialog--bank { max-width: 560px; }
.pg-dialog .pg-bank-head { display: flex; align-items: center; justify-content: space-between; }
.pg-dialog .pg-bank-title { font-size: 16px; font-weight: var(--tf-fw-semibold); }
.pg-dialog .pg-bank-hint { font-size: var(--tf-fs-xs); opacity: .75; margin-top: 4px; }

/* ---------------------------------------------------------------------------
   6) متجر العميل Store.cshtml (نُقل من <style> داخل القالب وجُمعت طبقاته)
   --------------------------------------------------------------------------- */
.store-page { max-width: 1400px; margin: 0 auto; padding-bottom: 28px; }
.store-hero { position: relative; overflow: hidden; margin-bottom: 22px; padding: 28px; border-radius: var(--tf-r-xl); background: var(--tf-brand-hero); color: var(--tf-color-text-inverse); box-shadow: var(--tf-elev-2); }
.store-hero::after { position: absolute; inset-inline-end: -45px; bottom: -115px; width: 280px; height: 280px; border: 36px solid rgba(255, 255, 255, .07); border-radius: 50%; content: ""; pointer-events: none; }
.store-hero-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.store-hero-title { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 220px; }
.store-hero-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: var(--tf-r-lg); background: rgba(255, 255, 255, .15); font-size: 24px; }
.store-hero h1 { margin: 0; font-size: var(--tf-fs-h1); overflow-wrap: anywhere; }
.store-hero p { margin: 6px 0 0; color: rgba(255, 255, 255, .8); }
.store-hero-count { position: relative; z-index: 1; min-width: 52px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .24); border-radius: var(--tf-r-lg); background: rgba(255, 255, 255, .12); text-align: center; font-weight: var(--tf-fw-bold); }
.store-back { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--tf-color-text-inverse); text-decoration: none; font-size: var(--tf-fs-sm); }
.store-back:hover { text-decoration: underline; }
.store-my-requests { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--tf-r-md); color: var(--tf-color-text-inverse); text-decoration: none; white-space: nowrap; background: rgba(255, 255, 255, .07); }
.store-my-requests:hover { color: var(--tf-color-text-inverse); background: rgba(255, 255, 255, .15); }
.store-type-list { display: flex; gap: 9px; margin: 0 0 18px; padding: 4px 2px 10px; overflow-x: auto; }
.store-type-link { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--tf-color-border); border-radius: var(--tf-r-md); background: var(--tf-color-surface-1); color: var(--tf-color-text-2); text-decoration: none; font-size: var(--tf-fs-sm); font-weight: var(--tf-fw-semibold); transition: var(--tf-transition-colors); }
.store-type-link:hover, .store-type-link.active { border-color: var(--tf-color-primary-line); background: var(--tf-color-primary-soft); color: var(--tf-color-on-primary-soft); }
.store-type-link i { font-size: 15px; }
.store-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.store-toolbar h2 { flex: 0 0 auto; margin: 0; color: var(--tf-color-text); font-size: var(--tf-fs-h2); font-weight: var(--tf-fw-bold); }
.store-search { width: min(420px, 100%); min-height: 42px; margin-inline-start: auto; padding: 8px 13px; border: 1px solid var(--tf-color-border-strong); border-radius: var(--tf-r-md); background: var(--tf-color-surface-1); color: var(--tf-color-text); font: inherit; }
.store-search:focus { outline: none; border-color: var(--tf-color-primary); box-shadow: var(--tf-ring); }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.store-addon { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--tf-color-border); border-radius: var(--tf-r-xl); background: var(--tf-color-surface-1); box-shadow: var(--tf-elev-1); transition: var(--tf-transition-lift); }
.store-addon:hover { transform: translateY(-3px); box-shadow: var(--tf-elev-2); }
.store-addon[hidden], .store-addon-action[hidden], .ao-card[hidden] { display: none !important; }
.store-addon-cover { width: 100%; height: 180px; object-fit: cover; background: var(--tf-color-surface-3); }
.store-addon-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.store-addon-type { align-self: flex-start; padding: 4px 12px; border-radius: var(--tf-r-pill); background: var(--tf-color-primary-soft); color: var(--tf-color-on-primary-soft); font-size: var(--tf-fs-xs); font-weight: var(--tf-fw-semibold); }
.store-addon h3 { margin: 16px 0 12px; color: var(--tf-color-text); font-size: var(--tf-fs-h2); font-weight: var(--tf-fw-bold); overflow-wrap: anywhere; }
.store-addon-dest { color: var(--tf-color-text-3); font-size: var(--tf-fs-sm); }
.store-addon-price { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 18px; padding: 11px 0; border-top: 1px solid var(--tf-color-border); color: var(--tf-color-text-3); font-size: var(--tf-fs-sm); }
.store-addon-price strong { color: var(--tf-color-primary); font-size: 22px; font-variant-numeric: tabular-nums; }
.store-addon-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 7px; }
.store-addon-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 7px 10px; border: 1px solid var(--tf-color-border-strong); border-radius: var(--tf-r-md); background: var(--tf-color-surface-1); color: var(--tf-color-text-2); font: inherit; font-size: var(--tf-fs-sm); font-weight: var(--tf-fw-semibold); cursor: pointer; transition: var(--tf-transition-colors); }
.store-addon-action:hover { border-color: var(--tf-color-primary-line); background: var(--tf-color-primary-soft); color: var(--tf-color-on-primary-soft); }
.store-addon-actions .store-addon-action[data-store-details] { width: 100%; background: var(--tf-color-primary); color: var(--tf-color-on-primary); border-color: var(--tf-color-primary); min-height: 44px; }
.store-addon-actions .store-addon-action[data-store-details]:hover { background: var(--tf-color-primary-hover); border-color: var(--tf-color-primary-hover); color: var(--tf-color-on-primary); }
.store-addon-request { display: grid; gap: 9px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--tf-color-border); }
.store-addon-request textarea { width: 100%; min-height: 70px; resize: vertical; padding: 9px 10px; border: 1px solid var(--tf-color-border-strong); border-radius: var(--tf-r-sm); background: var(--tf-color-surface-1); color: var(--tf-color-text); font: inherit; font-size: var(--tf-fs-sm); }
.store-addon-request button { justify-content: center; width: 100%; min-height: 44px; background: var(--tf-color-primary); border: 1px solid var(--tf-color-primary); border-radius: var(--tf-r-md); color: var(--tf-color-on-primary); }
.store-addon-request label, .store-price-note, .store-request-notice { font-size: var(--tf-fs-sm); line-height: 1.8; color: var(--tf-color-text-3); }
.store-request-notice { margin: 0; padding: 10px 12px; border-radius: var(--tf-r-sm); background: var(--tf-color-surface-2); }
.store-empty { grid-column: 1 / -1; padding: 34px; border: 1px dashed var(--tf-color-border-strong); border-radius: var(--tf-r-lg); background: var(--tf-color-surface-1); color: var(--tf-color-text-3); text-align: center; }
.store-empty i { display: block; margin-bottom: 9px; color: var(--tf-color-text-disabled); font-size: 25px; }
.store-details-modal[hidden] { display: none; }
.store-details-modal { position: fixed; z-index: 11500; inset: 0; display: grid; place-items: center; padding: 18px; }
.store-details-backdrop { position: absolute; inset: 0; border: 0; background: var(--tf-color-overlay); backdrop-filter: blur(5px); }
.store-details-panel { position: relative; z-index: 1; width: min(900px, 100%); max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--tf-color-border); border-radius: var(--tf-r-xl); background: var(--tf-color-surface-1); box-shadow: var(--tf-elev-3); }
.store-details-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 19px; background: var(--tf-brand-hero); color: var(--tf-color-text-inverse); }
.store-details-head h2 { margin: 0; font-size: var(--tf-fs-h2); }
.store-details-close { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--tf-r-md); background: rgba(255, 255, 255, .12); color: var(--tf-color-text-inverse); cursor: pointer; }
.store-details-content { display: grid; grid-template-columns: minmax(240px, .9fr) minmax(0, 1.1fr); overflow: auto; }
.store-details-image { width: 100%; height: 100%; min-height: 340px; max-height: 560px; object-fit: cover; background: var(--tf-color-surface-3); }
.store-details-info { padding: 24px; }
.store-details-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.store-details-type, .store-details-destination { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--tf-r-pill); background: var(--tf-color-surface-3); color: var(--tf-color-text-2); font-size: var(--tf-fs-sm); }
.store-details-info h3 { margin: 0 0 18px; color: var(--tf-color-text); font-size: var(--tf-fs-h2); }
.store-details-section { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--tf-color-border); }
.store-details-section h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--tf-color-text); font-size: var(--tf-fs-body-lg); }
.store-details-section h4 i { color: var(--tf-color-primary); }
.store-details-copy { margin: 0; color: var(--tf-color-text-2); font-size: var(--tf-fs-body); line-height: 1.75; white-space: pre-line; }
.store-details-copy:empty { display: none; }
body.store-details-open { overflow: hidden; }
.store-booking-back { display: inline-flex; align-items: center; gap: 8px; color: var(--tf-color-text-2); text-decoration: none; margin: 22px 0; font-size: var(--tf-fs-sm); font-weight: var(--tf-fw-semibold); }
.store-programs { display: flex; flex-wrap: wrap; gap: var(--tf-space-3); margin: 16px; padding: 16px; }
.ao-explain { border: 1px solid var(--tf-color-border); border-radius: var(--tf-r-lg); background: var(--tf-color-surface-2); margin: 4px 0 8px; }
.ao-explain summary { cursor: pointer; padding: 10px 14px; font-weight: var(--tf-fw-semibold); font-size: var(--tf-fs-body); list-style: none; display: flex; align-items: center; gap: 8px; }
.ao-explain summary::-webkit-details-marker { display: none; }
.ao-explain summary i { color: var(--tf-color-warning); }
.ao-explain[open] summary { border-bottom: 1px solid var(--tf-color-border); }
.ao-explain-body { padding: 10px 14px; font-size: var(--tf-fs-sm); line-height: 1.85; color: var(--tf-color-text); }
.ao-explain-body p { margin: 0 0 8px; white-space: pre-line; }
.ao-explain-note { padding: 8px 10px; border-radius: var(--tf-r-md); background: var(--tf-color-warning-soft); color: var(--tf-color-on-warning-soft); }
.ao-explain-note i { color: var(--tf-color-warning); margin-inline-end: 6px; }
.ao-media .store-addon-cover { height: 100%; width: 100%; object-fit: cover; }
.ao-btn.ao-primary { width: 100%; background: var(--tf-color-accent); border-color: var(--tf-color-accent); color: var(--tf-color-on-accent); font: inherit; font-weight: var(--tf-fw-bold); cursor: pointer; min-height: 44px; }
.ao-btn.ao-primary i { color: inherit; }
.ao-btn.ao-primary:hover { background: var(--tf-color-accent-hover); border-color: var(--tf-color-accent-hover); color: var(--tf-color-on-accent); }
.tf-client-app .store-page.client-journey { max-width: 1100px; padding: 24px 16px 100px; color: var(--tf-color-text); }
@media (prefers-reduced-motion: reduce) { .store-addon, .store-type-link { transition: none; } .store-addon:hover { transform: none; } }
@media (max-width: 650px) {
    .store-page { padding: 0 2px 22px; }
    .store-hero { padding: 20px; border-radius: var(--tf-r-lg); }
    .store-hero h1 { font-size: 21px; }
    .store-hero-icon { display: none; }
    .store-hero-title { gap: 9px; }
    .store-my-requests { padding: 9px; font-size: var(--tf-fs-sm); }
    .store-toolbar { align-items: stretch; flex-direction: column; }
    .store-toolbar h2 { font-size: 21px; }
    .store-search { width: 100%; margin-inline-start: 0; }
    .store-grid { grid-template-columns: 1fr; gap: 12px; }
    .store-addon-cover { height: 190px; }
    .store-addon-body { padding: 17px 15px; }
    .store-addon h3 { font-size: 19px; }
    .store-details-modal { padding: 8px; }
    .store-details-panel { max-height: 94vh; border-radius: var(--tf-r-lg); }
    .store-details-content { grid-template-columns: 1fr; }
    .store-details-image { height: 220px; min-height: 0; }
    .store-details-info { padding: 17px; }
    .store-details-info h3 { font-size: 21px; }
}
@media (max-width: 600px) { .tf-client-app .store-page.client-journey { padding: 12px 10px 90px; } }

/* ---------------------------------------------------------------------------
   7) تتبع الحافلة TrackBus.cshtml (بغلاف .tf-sw-track)
   --------------------------------------------------------------------------- */
.tf-sw-track { padding: 12px; }
.tf-sw-track h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: var(--tf-fs-h2); }
.tf-sw-track h3 > i { color: var(--tf-color-info); }
.tf-sw-track #trackMap { width: 100%; height: 500px; background: var(--tf-color-surface-3); border: 1px solid var(--tf-color-border); border-radius: var(--tf-r-lg); margin: 10px 0; }
.tf-sw-track .info-box { padding: 12px 20px; background: var(--tf-color-surface-1); border: 1px solid var(--tf-color-border); border-radius: var(--tf-r-lg); margin: 10px 0; }
.tf-sw-track .info-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.tf-sw-track .status-active { color: var(--tf-color-success); font-weight: var(--tf-fw-bold); }
.tf-sw-track .status-inactive { color: var(--tf-color-warning); font-weight: var(--tf-fw-bold); }
.tf-sw-track .status-error { color: var(--tf-color-danger); font-weight: var(--tf-fw-bold); }
.tf-sw-track #statusDot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--tf-color-warning); vertical-align: middle; }
.tf-sw-track #statusText { font-size: var(--tf-fs-body-lg); }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .tf-sw-track .leaflet-marker-icon div { animation: none !important; } }
@media (max-width: 575.98px) { .tf-sw-track #trackMap { height: 60vh; min-height: 320px; } }

/* ---------------------------------------------------------------------------
   8) نوافذ المرشد: إشعار الفندق (_HotelNotify) وموقع العميل (_CustomerLocation)
   --------------------------------------------------------------------------- */
.tf-modal-dialog { position: fixed; inset: 0; margin: auto; width: min(560px, 94vw); max-height: 88vh; overflow: auto; padding: 20px; border: 1px solid var(--tf-color-border); border-radius: var(--tf-r-xl); background: var(--tf-color-surface-1); color: var(--tf-color-text); box-shadow: var(--tf-elev-3); }
.tf-modal-dialog::backdrop { background: var(--tf-color-overlay); backdrop-filter: blur(2px); }
.tf-modal-dialog h3 { margin: 0 0 4px; font-size: var(--tf-fs-h3); color: inherit; }
.tf-modal-name { margin: 0 0 6px; font-weight: var(--tf-fw-bold); font-size: var(--tf-fs-h2); color: var(--tf-color-primary); }
.tf-modal-hint { margin: 0 0 14px; font-size: var(--tf-fs-sm); color: var(--tf-color-text-3); }
.tf-modal-dialog h3, .tf-modal-name, .tf-modal-hint { overflow-wrap: anywhere; }
.tf-modal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.tf-modal-grid button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 12px; border-radius: var(--tf-r-lg); border: 1px solid var(--tf-color-border); background: var(--tf-color-surface-2); color: inherit; font: inherit; font-size: var(--tf-fs-body); text-align: center; line-height: 1.35; cursor: pointer; transition: var(--tf-transition-colors); }
.tf-modal-grid button:hover { border-color: var(--tf-color-primary-line); background: var(--tf-color-primary-soft); }
.tf-modal-grid button i { color: var(--tf-color-primary); }
.tf-modal-grid button:disabled { opacity: .55; cursor: wait; }
.tf-modal-foot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.tf-modal-foot button { min-height: 44px; padding: 8px 20px; border-radius: var(--tf-r-md); border: 1px solid var(--tf-color-border-strong); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.tf-modal-foot button:hover { background: var(--tf-color-surface-3); }
.tf-modal-foot .tf-modal-foot__lead { margin-inline-end: auto; }
@media (max-width: 600px) {
    .tf-modal-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); padding: 16px; border-radius: var(--tf-r-lg); }
    .tf-modal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tf-modal-foot { flex-direction: column-reverse; }
    .tf-modal-foot button { width: 100%; margin-inline-end: 0 !important; }
}
.tf-location-dialog { position: fixed; inset: 0; margin: auto; max-height: 88dvh; overflow: auto; padding: 20px; border: 1px solid var(--tf-color-border); border-radius: var(--tf-r-xl); background: var(--tf-color-surface-1); color: var(--tf-color-text); z-index: 2147483000; box-shadow: var(--tf-elev-3); }
.tf-location-dialog::backdrop { background: var(--tf-color-overlay); }
.tf-location-dialog .tf-modal-foot { display: flex; margin-top: 16px; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.tf-location-dialog button { border: 1px solid var(--tf-color-border-strong); border-radius: var(--tf-r-md); padding: 10px 14px; background: var(--tf-color-surface-2); color: var(--tf-color-text); cursor: pointer; }
.tf-location-dialog h3 > i { color: var(--tf-color-danger); }
.tf-location-dialog #custLocMap { height: min(55vh, 420px); border-radius: var(--tf-r-lg); overflow: hidden; }

/* ---------------------------------------------------------------------------
   9) شاشة المرشد القديمة (_LegacyIndex)
   --------------------------------------------------------------------------- */
.guide-summary { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.guide-summary span { background: var(--tf-color-surface-1); border: 1px solid var(--tf-color-border); border-radius: var(--tf-r-md); padding: 12px 18px; }
.guide-summary strong { margin-inline-start: 8px; color: var(--tf-color-primary); }
.guide-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.guide-table { width: 100%; min-width: 850px; border-collapse: collapse; font-size: var(--tf-fs-body); }
.guide-table th, .guide-table td { padding: 13px 15px; text-align: start; vertical-align: middle; border-bottom: 1px solid var(--tf-color-border); }
.guide-table th { background: var(--tf-color-surface-2); color: var(--tf-color-text-2); white-space: nowrap; font-weight: var(--tf-fw-semibold); }
.guide-table tbody tr:hover { background: var(--tf-color-surface-3); }
.guide-hotels { min-width: 170px; max-width: 280px; white-space: normal; line-height: 1.7; }
.guide-actions { display: flex; gap: 6px; flex-wrap: wrap; min-width: 190px; }
.guide-status { display: inline-block; padding: 4px 10px; border-radius: var(--tf-r-pill); background: var(--tf-color-neutral-soft); color: var(--tf-color-on-neutral-soft); font-size: var(--tf-fs-xs); font-weight: var(--tf-fw-semibold); white-space: nowrap; }
.guide-status.is-active { background: var(--tf-color-success-soft); color: var(--tf-color-on-success-soft); }
.guide-empty { padding: 25px; text-align: center; color: var(--tf-color-text-3); }
.guide-section { margin-bottom: 24px; }
.guide-section .tf-card-header { display: flex; align-items: center; gap: 10px; }
.guide-section h2 { font-size: var(--tf-fs-h3); margin: 0; }
.guide-section .tf-card-body { padding: 12px; }
.guide-actions [hidden] { display: none !important; }
.guide-actions .btn { min-width: 44px; min-height: 44px; }
@media (max-width: 600px) {
    .guide-summary { gap: 8px; }
    .guide-summary span { flex: 1 1 calc(50% - 8px); padding: 10px 12px; }
    .guide-section .tf-card-body { padding: 8px; }
    .guide-table { font-size: var(--tf-fs-sm); }
    .guide-table th, .guide-table td { padding: 10px; }
}

/* ---------------------------------------------------------------------------
   10) نماذج متفرقة
   --------------------------------------------------------------------------- */
.gr-grid--sub { margin-top: 8px; }
.client-tour-name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.client-tour-name .journey-confirmed-note, .client-tour-name .journey-change-note { margin: 0; }
.tf-part-note { flex: 0 0 100%; order: 99; margin-top: 2px; opacity: .85; line-height: 1.7; }
.tf-part { display: contents; }
.client-store-programs { display: flex; flex-wrap: wrap; gap: var(--tf-space-3, 12px); margin: 16px; padding: 16px; }
.tf-sw-contents { display: contents; }

/* ---------------------------------------------------------------------------
   11) تبويبات المتجر (Shared/_StoreTabs) وكتلة البالغين والأطفال في بوابة العميل
   (الصفحة العامة لها قواعدها في tf-public.css فلا تُمسّ: :not(.pr-card ...))
   --------------------------------------------------------------------------- */
body .tp-store-tabs { display: flex; gap: var(--tf-space-2); overflow-x: auto; margin: 0 0 var(--tf-space-4); padding-bottom: var(--tf-space-1); scrollbar-width: none; }
body .tp-store-tabs::-webkit-scrollbar { display: none; }
body .tp-store-tabs a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: var(--tf-space-3); min-height: 40px; padding: 0 var(--tf-space-5); border-radius: var(--tf-r-pill); border: 1px solid var(--tf-color-border-strong); background: var(--tf-color-surface-1); color: var(--tf-color-text-2); font-size: var(--tf-fs-sm); font-weight: var(--tf-fw-semibold); text-decoration: none; white-space: nowrap; transition: var(--tf-transition-colors); }
body .tp-store-tabs a:hover { background: var(--tf-color-surface-3); color: var(--tf-color-text); }
body .tp-store-tabs a.on { background: var(--tf-color-primary); border-color: var(--tf-color-primary); color: var(--tf-color-on-primary); }
body .tp-store-tabs a:focus-visible { outline: none; box-shadow: var(--tf-ring); }
.pr-block:not(.pr-card .pr-block) .pr-count { display: flex; align-items: center; gap: var(--tf-space-3); flex-wrap: wrap; padding: var(--tf-space-3) var(--tf-space-4); border: 1px solid var(--tf-color-border); border-radius: var(--tf-r-md); background: var(--tf-color-surface-2); }
.pr-block:not(.pr-card .pr-block) .pr-count span { flex: 1 1 100%; font-size: var(--tf-fs-sm); color: var(--tf-color-text-3); opacity: 1; }
.pr-block:not(.pr-card .pr-block) .pr-count button { min-width: 40px; min-height: 40px; padding: 0; border-radius: 50%; font-size: 18px; }
.pr-block:not(.pr-card .pr-block) .pr-count b { min-width: 28px; text-align: center; font-size: 18px; font-weight: var(--tf-fw-bold); font-family: var(--tf-font-num); }
.pr-block:not(.pr-card .pr-block) .pr-count small { color: var(--tf-color-text-3); opacity: 1; }
.pr-block:not(.pr-card .pr-block) .pr-kid { border: 1px solid var(--tf-color-border); border-radius: var(--tf-r-md); background: var(--tf-color-surface-1); }
.pr-block:not(.pr-card .pr-block) .pr-kid input[type=checkbox] { accent-color: var(--tf-color-primary); }
.pr-block:not(.pr-card .pr-block) .pr-table { font-size: var(--tf-fs-body); }
.pr-block:not(.pr-card .pr-block) .pr-table th, .pr-block:not(.pr-card .pr-block) .pr-table td { border-top: 1px solid var(--tf-color-border); }
.pr-block:not(.pr-card .pr-block) .pr-table th { font-size: var(--tf-fs-xs); color: var(--tf-color-text-3); font-weight: var(--tf-fw-semibold); }
.pr-block:not(.pr-card .pr-block) .pr-table .pr-total td { font-size: 17px; font-weight: var(--tf-fw-bold); border-top: 2px solid var(--tf-color-border-strong); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------------------
   12) طقس الوجهة ورسم مسار المواصلات في بوابة العميل (ألوان من الرموز بدل الأزرق الثابت)
   --------------------------------------------------------------------------- */
body .trip-weather { padding: var(--tf-space-5); border: 1px solid var(--tf-color-border); border-radius: var(--tf-r-lg); background: var(--tf-color-surface-2); }
body .trip-weather-heading { font-size: var(--tf-fs-body); }
body .trip-weather-heading i { color: var(--tf-color-info); }
body .trip-weather-heading a, body .trip-weather-metrics small, body .trip-weather-updated { color: var(--tf-color-text-3); }
body .trip-weather-rain { border-inline-start: 1px solid var(--tf-color-border); }
body .trip-weather-rain > strong, body .trip-weather-rain > i { color: var(--tf-color-info); }
body .trip-weather-temperature { font-family: var(--tf-font-num); font-weight: var(--tf-fw-bold); }
body .customer-transfer-head h3 i, body .journey-transfer-flight i { color: var(--tf-color-info); }
body .customer-transfer-head > span { border: 1px solid var(--tf-color-border); background: var(--tf-color-surface-2); color: var(--tf-color-text-2); border-radius: var(--tf-r-pill); font-weight: var(--tf-fw-medium); }
body .customer-route-dot { border-color: var(--tf-color-info); }
body .customer-route-dot.is-end { background: var(--tf-color-info); }
body .customer-route-line { border-top-color: var(--tf-color-border-strong); }
body .customer-transfer-ends small { color: var(--tf-color-text-3); }
body .journey-transfer-flight > span { background: var(--tf-color-surface-2); color: var(--tf-color-text-2); }
body .journey-confirmed-note { color: var(--tf-color-success); }
body .journey-confirmed-note i { color: var(--tf-color-success); }
