@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url(../lib/font/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url(../lib/font/ibm-plex-sans-arabic-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url(../lib/font/ibm-plex-sans-arabic-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url(../lib/font/ibm-plex-sans-arabic-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url(../lib/font/ibm-plex-sans-arabic-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url(../lib/font/ibm-plex-sans-arabic-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url(../lib/font/ibm-plex-sans-arabic-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
    --g-900: #0f3d24; --g-800: #165733; --g-700: #1f6f43; --g-600: #2a8a56; --g-100: #e7f3ea; --g-50: #f3f8f4;
    --sand: #f6f1e6; --gold: #c9a227; --ink: #1d2a22; --muted: #6b7a70; --line: #e2e9e4;
    --radius: 16px; --shadow: 0 1px 2px rgba(16,40,24,.05), 0 8px 24px rgba(16,40,24,.06);
    --bs-body-font-family: "Plex Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
    --bs-primary: var(--g-700); --bs-primary-rgb: 31,111,67; --bs-link-color: var(--g-700); --bs-link-hover-color: var(--g-900);
    --bs-border-radius: 12px; --bs-body-color: var(--ink);
}
html { -webkit-text-size-adjust: 100%; }
body { background: var(--g-50); font-size: 16px; min-height: 100vh; }
body.has-nav { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { body.has-nav { padding-bottom: 32px; } }

.btn-primary { --bs-btn-bg: var(--g-700); --bs-btn-border-color: var(--g-700); --bs-btn-hover-bg: var(--g-800); --bs-btn-hover-border-color: var(--g-800); --bs-btn-active-bg: var(--g-900); --bs-btn-disabled-bg: var(--g-600); --bs-btn-disabled-border-color: var(--g-600); }
.btn-outline-primary { --bs-btn-color: var(--g-700); --bs-btn-border-color: var(--g-700); --bs-btn-hover-bg: var(--g-700); --bs-btn-hover-border-color: var(--g-700); --bs-btn-active-bg: var(--g-800); }
.btn { font-weight: 600; }
.btn-lg { padding: .8rem 1.4rem; border-radius: 14px; }
.form-control, .form-select { padding: .7rem .9rem; border-color: #d5ded8; font-size: 16px; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--g-600); box-shadow: 0 0 0 .2rem rgba(42,138,86,.18); }
.form-check-input:checked { background-color: var(--g-700); border-color: var(--g-700); }
.form-label { font-weight: 600; font-size: .92rem; color: #33443a; margin-bottom: .35rem; }
a { text-decoration: none; }
.ltr { direction: ltr; unicode-bidi: plaintext; }
input[type=tel], input[type=email], input.ltr { direction: ltr; text-align: right; }
input[type=tel]::placeholder, input[type=email]::placeholder, input.ltr::placeholder { text-align: right; }

/* Top bar */
.topbar { background: linear-gradient(135deg, var(--g-900), var(--g-700)); color: #fff; padding: .7rem 0; position: sticky; top: 0; z-index: 1030; box-shadow: 0 2px 12px rgba(0,0,0,.12); padding-top: calc(.7rem + env(safe-area-inset-top)); }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 1.3rem; color: #c8e6a0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-size: 1rem; }
.brand-text small { font-size: .74rem; opacity: .75; }
.main-nav a { color: rgba(255,255,255,.82); padding: .5rem .85rem; border-radius: 10px; font-weight: 500; font-size: .93rem; }
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.14); color: #fff; }
.btn-user { color: #fff; background: rgba(255,255,255,.12); border: 0; border-radius: 12px; padding: .45rem .8rem; }
.btn-user:hover, .btn-user:focus, .btn-user.show { color: #fff; background: rgba(255,255,255,.22); }

/* Bottom nav */
.bottom-nav { position: fixed; bottom: 0; inset-inline: 0; z-index: 1030; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: center; padding: .35rem 0 calc(.35rem + env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px rgba(0,0,0,.05); }
.bottom-nav a { color: var(--muted); display: flex; flex-direction: column; align-items: center; font-size: .72rem; gap: 2px; min-width: 72px; padding: .25rem; }
.bottom-nav a i { font-size: 1.35rem; }
.bottom-nav a.active { color: var(--g-700); }
.bottom-nav .fab { width: 60px; height: 60px; min-width: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--g-600), var(--g-800)); color: #fff; justify-content: center; margin-top: -30px; box-shadow: 0 8px 20px rgba(31,111,67,.4); border: 4px solid #fff; }
.bottom-nav .fab i { font-size: 1.7rem; }

.flash { border-radius: 14px; border: 0; box-shadow: var(--shadow); }

/* Cards */
.card-soft { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.page-head h1 { font-size: 1.45rem; font-weight: 700; margin: 0; }
.page-head p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; display: flex; align-items: center; gap: .8rem; box-shadow: var(--shadow); }
.stat i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--g-100); color: var(--g-700); flex-shrink: 0; }
.stat b { font-size: 1.5rem; display: block; line-height: 1.1; }
.stat span { font-size: .8rem; color: var(--muted); }
@media (max-width: 575px) { .stat { flex-direction: column; text-align: center; padding: .7rem .4rem; gap: .35rem; } .stat i { width: 36px; height: 36px; font-size: 1.1rem; } .stat b { font-size: 1.25rem; } }

.filters { padding: .75rem; margin-bottom: 1rem; }
.filters .form-control, .filters .form-select { padding: .55rem .8rem; }

/* Company cards */
.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.company-card { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.company-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(16,40,24,.12); color: var(--ink); }
.company-card .thumb { height: 150px; background: linear-gradient(135deg, var(--g-100), var(--sand)); display: grid; place-items: center; color: var(--g-600); font-size: 2.6rem; position: relative; overflow: hidden; }
.company-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.company-card .booth { position: absolute; top: .6rem; inset-inline-start: .6rem; background: rgba(15,61,36,.85); color: #fff; font-size: .78rem; padding: .25rem .6rem; border-radius: 999px; font-weight: 600; }
.company-card .prio { position: absolute; top: .6rem; inset-inline-end: .6rem; background: var(--gold); color: #fff; font-size: .75rem; padding: .25rem .55rem; border-radius: 999px; }
.company-card .body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.company-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0; }
.company-card .meta { color: var(--muted); font-size: .84rem; display: flex; gap: .9rem; flex-wrap: wrap; }
.tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .25rem; }
.tag { background: var(--g-100); color: var(--g-800); font-size: .74rem; padding: .2rem .55rem; border-radius: 999px; font-weight: 500; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty i { font-size: 3rem; color: var(--g-600); opacity: .6; }

/* Form */
.form-wrap { max-width: 920px; margin: 0 auto; }
.steps { position: sticky; top: var(--topbar-h, 66px); z-index: 20; background: var(--g-50); padding: .5rem 0; margin-bottom: .5rem; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
.steps a { white-space: nowrap; background: #fff; border: 1px solid var(--line); color: var(--muted); padding: .4rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.steps a.active { background: var(--g-700); color: #fff; border-color: var(--g-700); }
.section { padding: 1.1rem; margin-bottom: 1rem; scroll-margin-top: calc(var(--topbar-h, 66px) + 64px); }
@media (min-width: 768px) { .section { padding: 1.5rem 1.6rem; } }
.section-title { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.section-title .num { width: 38px; height: 38px; border-radius: 12px; background: var(--g-700); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.section-title h2 { font-size: 1.12rem; font-weight: 700; margin: 0; }
.section-title p { font-size: .82rem; color: var(--muted); margin: 0; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: .85rem; color: var(--muted); pointer-events: none; }
.input-icon > .form-control { padding-inline-start: 2.4rem; }

/* chips */
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip label { display: flex; align-items: center; gap: .55rem; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: .65rem .8rem; cursor: pointer; font-size: .92rem; font-weight: 500; transition: all .12s; min-height: 48px; user-select: none; }
.chip label i { color: var(--g-600); font-size: 1.1rem; }
.chip input:checked + label { border-color: var(--g-700); background: var(--g-100); color: var(--g-900); box-shadow: inset 0 0 0 1px var(--g-700); }
.chip input:checked + label::after { content: "\F26E"; font-family: bootstrap-icons; margin-inline-start: auto; color: var(--g-700); }
.chip input:focus-visible + label { outline: 2px solid var(--g-600); outline-offset: 2px; }
@media (max-width: 575px) { .chips { grid-template-columns: 1fr 1fr; } .chip label { font-size: .84rem; padding: .55rem .6rem; } }

/* segmented yes/no */
.q-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.q-row:last-child { border-bottom: 0; }
.q-row .q { font-weight: 600; font-size: .95rem; flex: 1 1 260px; }
.seg { display: inline-flex; background: #eef3ef; border-radius: 12px; padding: 3px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: .45rem 1rem; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--muted); min-width: 64px; text-align: center; }
.seg input:checked + label { background: #fff; color: var(--g-800); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.seg input:checked + label.yes { background: var(--g-700); color: #fff; }
.seg input:checked + label.no { background: #b44; color: #fff; }
.seg input:focus-visible + label { outline: 2px solid var(--g-600); }
.reveal { display: none; width: 100%; }
.reveal.show { display: block; }

/* uploads */
.up-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.up-tile { border: 1.5px dashed #c9d6cd; border-radius: 14px; padding: .9rem; background: #fbfdfb; display: flex; flex-direction: column; gap: .6rem; transition: border-color .15s, background .15s; }
.up-tile.has-files { border-style: solid; border-color: var(--g-600); background: #fff; }
.up-tile.drag { border-color: var(--g-700); background: var(--g-100); }
.up-head { display: flex; align-items: center; gap: .6rem; }
.up-head i.ic { width: 40px; height: 40px; border-radius: 12px; background: var(--g-100); color: var(--g-700); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.up-head b { font-size: .95rem; display: block; }
.up-head small { color: var(--muted); font-size: .78rem; }
.up-count { margin-inline-start: auto; background: var(--g-700); color: #fff; border-radius: 999px; font-size: .75rem; padding: .1rem .55rem; font-weight: 700; display: none; }
.up-tile.has-files .up-count { display: inline-block; }
.up-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.up-actions .btn { font-size: .84rem; padding: .45rem .7rem; border-radius: 10px; flex: 1 1 auto; }
.up-actions input[type=file] { display: none; }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .4rem; }
.previews:empty { display: none; }
.pv { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--g-100); display: grid; place-items: center; color: var(--g-700); font-size: 1.6rem; border: 1px solid var(--line); }
.pv img, .pv video { width: 100%; height: 100%; object-fit: cover; }
.pv .nm { position: absolute; bottom: 0; inset-inline: 0; font-size: .6rem; background: rgba(0,0,0,.55); color: #fff; padding: 1px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: ltr; }
.pv .rm { position: absolute; top: 3px; inset-inline-end: 3px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(180,40,40,.92); color: #fff; font-size: .8rem; display: grid; place-items: center; padding: 0; }
.pv.existing { outline: 2px solid var(--g-600); outline-offset: -2px; }

/* recorder */
.rec-modal video { width: 100%; max-height: 55vh; background: #000; border-radius: 12px; }
.rec-timer { font-variant-numeric: tabular-nums; font-size: 2rem; font-weight: 700; text-align: center; direction: ltr; }
.rec-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #d33; animation: blink 1s infinite; margin-inline-end: .4rem; }
@keyframes blink { 50% { opacity: .2; } }
.audio-viz { height: 56px; display: flex; align-items: center; justify-content: center; gap: 3px; }
.audio-viz span { width: 5px; background: var(--g-600); border-radius: 3px; height: 8px; transition: height .08s; }

/* submit bar */
.submit-bar { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 25; padding: .8rem; display: flex; gap: .6rem; align-items: center; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); }
@media (min-width: 768px) { .submit-bar { bottom: 12px; } }
.submit-bar .btn-lg { flex: 1; }
@media (max-width: 767px) { .submit-bar { padding: .5rem; border-radius: 14px; } .submit-bar .btn-lg { padding: .7rem 1rem; font-size: 1.05rem; } }
.progress-wrap { display: none; }
.progress-wrap.show { display: block; }
.progress { height: 12px; border-radius: 999px; background: var(--g-100); }
.progress-bar { background: linear-gradient(90deg, var(--g-600), var(--g-800)); }
.draft-note { font-size: .8rem; color: var(--muted); }

/* details */
.hero { background: linear-gradient(135deg, var(--g-900), var(--g-700)); color: #fff; border-radius: var(--radius); padding: 1.3rem 1.4rem; margin-bottom: 1rem; position: relative; overflow: hidden; }
.hero::after { content: "\F4E5"; font-family: bootstrap-icons; position: absolute; inset-inline-end: -10px; bottom: -40px; font-size: 9rem; opacity: .08; }
.hero h1 { font-size: 1.5rem; font-weight: 700; margin: 0 0 .4rem; }
.hero .meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .9rem; opacity: .9; }
.hero .tag { background: rgba(255,255,255,.16); color: #fff; }
.kv { display: grid; grid-template-columns: 1fr; gap: 0; }
.kv > div { display: flex; gap: .8rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.kv > div:last-child { border-bottom: 0; }
.kv dt { width: 42%; max-width: 220px; color: var(--muted); font-weight: 500; font-size: .9rem; flex-shrink: 0; }
.kv dd { margin: 0; font-weight: 600; white-space: pre-wrap; word-break: break-word; }
.quick { display: flex; gap: .5rem; flex-wrap: wrap; }
.quick a { flex: 1 1 120px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.gallery .g { border-radius: 12px; overflow: hidden; background: var(--g-100); aspect-ratio: 4/3; display: grid; place-items: center; position: relative; border: 1px solid var(--line); color: var(--g-700); }
.gallery .g img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g.file { flex-direction: column; text-align: center; padding: .6rem; font-size: .8rem; gap: .3rem; aspect-ratio: auto; min-height: 110px; }
.gallery .g.file i { font-size: 2rem; }
.gallery .g.wide { grid-column: 1 / -1; aspect-ratio: auto; background: #000; }
.gallery .g.wide video { width: 100%; max-height: 70vh; }
.gallery .g.audio { grid-column: 1 / -1; aspect-ratio: auto; padding: .7rem; background: #fff; display: block; }
.gallery .g.audio audio { width: 100%; }
.cat-title { font-size: .9rem; font-weight: 700; color: var(--g-800); margin: 1rem 0 .5rem; display: flex; align-items: center; gap: .4rem; }
.cat-title:first-child { margin-top: 0; }

/* auth */
.auth-page { background: radial-gradient(1200px 600px at 100% 0, #2a8a56 0, transparent 60%), linear-gradient(160deg, #0f3d24, #1f6f43 60%, #2f7d4f); min-height: 100vh; }
.auth-box { min-height: 100vh; display: grid; place-items: center; padding: 1.2rem; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border-radius: 22px; padding: 2rem 1.6rem; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.auth-logo { width: 68px; height: 68px; border-radius: 20px; background: linear-gradient(135deg, var(--g-600), var(--g-900)); color: #c8e6a0; display: grid; place-items: center; font-size: 2rem; margin: 0 auto 1rem; box-shadow: 0 10px 24px rgba(31,111,67,.35); }
.auth-card h1 { font-size: 1.35rem; font-weight: 700; text-align: center; margin-bottom: .25rem; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 1.4rem; }
.auth-foot { color: rgba(255,255,255,.7); font-size: .8rem; text-align: center; margin-top: 1rem; }

.table-users td, .table-users th { vertical-align: middle; }
.pagination .page-link { color: var(--g-700); border-radius: 10px !important; margin: 0 2px; }
.pagination .active .page-link { background: var(--g-700); border-color: var(--g-700); color: #fff; }

/* quick-entry additions */
.chips-sm { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.chips-sm .chip label { justify-content: center; text-align: center; padding: .55rem .5rem; }
.chips-sm .chip input:checked + label::after { content: none; }
.chip input[type=radio]:checked + label { background: var(--g-700); color: #fff; border-color: var(--g-700); }
.chip input[type=radio]:checked + label i { color: #fff; }
@media (max-width: 575px) { .chips-sm { grid-template-columns: repeat(3, 1fr); } .chips-sm .chip label { font-size: .82rem; min-height: 44px; } }
.up-tile.big { background: linear-gradient(180deg, #fff, var(--g-50)); }
.up-tile.big .up-actions .btn-primary { padding: .8rem; font-size: 1rem; }
.prio-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.prio-pick input { position: absolute; opacity: 0; pointer-events: none; }
.prio-pick label { border: 1.5px solid var(--line); border-radius: 14px; padding: .8rem .4rem; text-align: center; cursor: pointer; font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: .25rem; background: #fff; }
.prio-pick label i { font-size: 1.5rem; color: var(--gold); }
.prio-pick input:checked + label { border-color: var(--gold); background: #fdf6e1; box-shadow: inset 0 0 0 1px var(--gold); }
.prio-pick input:checked + label.p3 { background: var(--gold); color: #fff; }
.prio-pick input:checked + label.p3 i { color: #fff; }
.mini-more summary { color: var(--g-700); font-weight: 600; font-size: .9rem; cursor: pointer; list-style: none; }
.mini-more summary::-webkit-details-marker { display: none; }
details.more > summary { display: flex; align-items: center; gap: .7rem; cursor: pointer; list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary .num { width: 38px; height: 38px; border-radius: 12px; background: var(--g-100); color: var(--g-700); display: grid; place-items: center; flex-shrink: 0; }
details.more > summary b { display: block; font-size: 1.05rem; }
details.more > summary small { color: var(--muted); font-size: .82rem; }
details.more[open] .chev { transform: rotate(180deg); }
.q-row .q i { margin-inline-end: .3rem; }
.validation-summary-valid { display: none; }
.chips-expo { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.chips-expo .chip label span { display: flex; flex-direction: column; line-height: 1.3; }
.chips-expo .chip label small { font-size: .74rem; opacity: .8; font-weight: 500; }
@media (max-width: 575px) { .chips-expo { grid-template-columns: 1fr 1fr; } }
.expo-tabs { display: flex; gap: .4rem; overflow-x: auto; margin-bottom: .75rem; scrollbar-width: none; }
.expo-tabs::-webkit-scrollbar { display: none; }
.expo-tabs a { white-space: nowrap; background: #fff; border: 1px solid var(--line); color: var(--muted); padding: .45rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.expo-tabs a.active { background: var(--g-700); color: #fff; border-color: var(--g-700); }
.suggest { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); margin: -.5rem 0 1rem; overflow: hidden; }
.suggest button { display: flex; width: 100%; text-align: start; gap: .7rem; align-items: center; border: 0; background: none; padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
.suggest button:last-child { border-bottom: 0; }
.suggest button:hover, .suggest button:focus { background: var(--g-50); }
.suggest .bth { background: var(--g-700); color: #fff; border-radius: 10px; padding: .25rem .5rem; font-weight: 700; font-size: .85rem; min-width: 52px; text-align: center; }
.suggest b { display: block; }
.suggest small { color: var(--muted); }
.suggest .reg { margin-inline-start: auto; font-size: .72rem; background: #fdf0d5; color: #8a6200; padding: .15rem .5rem; border-radius: 999px; white-space: nowrap; }

/* map */
.map-search { padding: .75rem; margin-bottom: .75rem; }
.map-search .suggest { margin: .5rem 0 0; max-height: 50vh; overflow-y: auto; }
.here-bar { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.here-bar i { color: var(--g-700); font-size: 1.1rem; }
.here-bar.set { color: var(--g-800); font-weight: 600; }
.hall-tabs { display: flex; gap: .4rem; overflow-x: auto; margin-bottom: .75rem; scrollbar-width: none; }
.hall-tabs::-webkit-scrollbar { display: none; }
.hall-tabs button { white-space: nowrap; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: .5rem 1rem; font-weight: 700; color: var(--muted); }
.hall-tabs button.active { background: var(--g-800); color: #fff; border-color: var(--g-800); }
.hall-tabs button small { display: block; font-weight: 500; font-size: .7rem; opacity: .8; }
.row-block { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .6rem; margin-bottom: .6rem; box-shadow: var(--shadow); }
.row-block h3 { font-size: .85rem; font-weight: 700; color: var(--g-800); margin: 0 0 .45rem; display: flex; align-items: center; gap: .4rem; }
.row-block h3 .lt { background: var(--g-700); color: #fff; border-radius: 8px; min-width: 28px; height: 28px; display: grid; place-items: center; }
.booths { display: flex; flex-wrap: wrap; gap: .35rem; direction: ltr; }
.booth-btn { position: relative; min-width: 62px; padding: .5rem .45rem; border-radius: 10px; border: 1.5px solid #cfdad2; background: var(--g-50); font-weight: 700; font-size: .85rem; color: var(--ink); line-height: 1.1; }
.booth-btn small { display: block; font-weight: 500; font-size: .6rem; color: var(--muted); max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; unicode-bidi: plaintext; }
.booth-btn.visited { background: var(--g-700); border-color: var(--g-700); color: #fff; }
.booth-btn.visited small { color: rgba(255,255,255,.85); }
.booth-btn.here { box-shadow: 0 0 0 3px #3b82f6; }
.booth-btn.target { animation: pulse 1s 4; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold); }
.booth-btn .multi { position: absolute; top: -6px; left: -6px; background: var(--gold); color: #fff; font-size: .6rem; border-radius: 999px; padding: 0 .3rem; }
@keyframes pulse { 50% { transform: scale(1.12); } }
.map-stage { position: relative; overflow: hidden; padding: 0; }
.map-viewport { height: 68vh; overflow: hidden; touch-action: none; cursor: grab; background: #eef3ef; }
.map-canvas { position: relative; transform-origin: 0 0; display: inline-block; }
.map-canvas img { display: block; max-width: none; user-select: none; }
.map-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.map-dot { position: absolute; transform: translate(-50%, -50%); min-width: 26px; height: 26px; padding: 0 5px; border-radius: 13px; background: #fff; border: 2px solid var(--g-700); color: var(--g-900); font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); direction: ltr; }
.map-dot.visited { background: var(--g-700); color: #fff; }
.map-dot.here { background: #3b82f6; border-color: #fff; color: #fff; }
.map-dot.target { background: var(--gold); border-color: #fff; color: #fff; animation: pulse 1s 4; z-index: 3; }
.map-dot.entrance { background: #b44; border-color: #fff; color: #fff; }
.map-tools { position: absolute; top: .6rem; inset-inline-start: .6rem; z-index: 5; display: flex; flex-direction: column; gap: .3rem; }
.map-tools .btn { box-shadow: var(--shadow); }
.editor-bar { padding: .75rem; }
.map-viewport.placing { cursor: crosshair; }
.booth-sheet { height: auto !important; max-height: 75vh; border-radius: 20px 20px 0 0; }
.booth-sheet .co { border: 1px solid var(--line); border-radius: 12px; padding: .7rem; margin-bottom: .5rem; }
.booth-sheet .co b { display: block; font-size: 1rem; }
.booth-sheet .co small { color: var(--muted); }
.directions { background: #eef5ff; border: 1px solid #cfe0ff; color: #1e3a8a; border-radius: 12px; padding: .7rem .8rem; margin-bottom: .7rem; font-weight: 600; }
.directions ol { margin: .3rem 0 0; padding-inline-start: 1.2rem; font-weight: 500; }

/* ===== دليل العارضين ===== */
.tag-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-pills a { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .3rem .75rem; font-size: .84rem; color: var(--ink); text-decoration: none; }
.tag-pills a b { color: var(--muted); font-weight: 600; margin-inline-start: .2rem; font-size: .78rem; }
.tag-pills a.on { background: var(--g-700); border-color: var(--g-700); color: #fff; }
.tag-pills a.on b { color: rgba(255,255,255,.8); }
.dir-bar { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .8rem 1rem; margin-bottom: 1rem; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: .9rem; }
.dir-card { padding: .9rem; display: flex; flex-direction: column; gap: .5rem; }
.dir-card h3 { font-size: 1rem; font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.dir-card .logo { width: 52px; height: 52px; flex: 0 0 52px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: var(--g-100); }
.dir-card .logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 3px; }
.dir-card .logo span { font-weight: 700; font-size: 1.3rem; color: var(--g-700); }
.dir-card .meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; font-size: .82rem; color: var(--muted); margin-top: .2rem; }
.dir-card .booth-pill { background: var(--g-700); color: #fff; border-radius: 999px; padding: 0 .55rem; font-weight: 600; unicode-bidi: plaintext; }
.dir-card .brief { font-size: .82rem; color: #475569; margin: 0; line-height: 1.6; }
.dir-card .links { display: flex; gap: .8rem; align-items: center; font-size: .85rem; border-top: 1px solid var(--line); padding-top: .5rem; margin-top: auto; }
.dir-card .links a { text-decoration: none; }
.min-w-0 { min-width: 0; }
@media (max-width: 767.98px) {
  .tag-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: none; }
  .tag-pills a { white-space: nowrap; }
}
.stat-link { text-decoration: none; color: inherit; border-color: var(--g-600) !important; }
.stat-link:hover { background: var(--g-100); color: inherit; }
