/* Quriyat Divers — public site. Logical properties keep RTL (Arabic) and LTR (English) symmetric. */
[hidden] { display: none !important; }
:root {
	--navy-950: #070B3A; --navy-900: #000040; --navy-800: #0E1556; --navy-700: #1B2470; --navy-600: #2A3590;
	--blue-500: #4D8CBF; --blue-300: #85B3D5; --blue-100: #E8F1F8; --link: #2B5C93; --link-h: #1B3F6B;
	--coral: #C24A2F; --coral-h: #A33D26; --coral-ink: #A33D26;
	--bg: #F6F8FB; --card: #fff; --line: #E2E8F0; --line-2: #C9D6E4;
	--ink: #0B1033; --muted: #4B5675; --on-dark: #EEF3FA; --on-dark-2: #C3D2E6; --on-dark-3: #A9B9D3;
	--r-sm: 10px; --r: 14px; --r-lg: 20px; --shadow: 0 18px 40px rgba(7, 11, 58, .12);
	--font: 'IBM Plex Sans Arabic', 'IBM Plex Sans', Tahoma, sans-serif;
	--font-display: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', Tahoma, sans-serif;
}
.lang-en { --font: 'IBM Plex Sans', 'IBM Plex Sans Arabic', 'Segoe UI', Arial, sans-serif; --font-display: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--link); }
a:hover { color: var(--link-h); }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy-900); line-height: 1.35; margin: 0; }
.lang-en h1, .lang-en h2, .lang-en h3 { line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.qd-skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.qd-skip:focus { top: 12px; }
.qd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.qd-hp { position: absolute; inset-inline-start: -9999px; opacity: 0; height: 0; width: 0; }
.qd-wrap { max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.qd-narrow { max-width: 880px; }
.qd-muted { color: var(--muted); }
.qd-ic { flex-shrink: 0; }

/* Buttons */
.qd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-sm); border: 1.5px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.qd-btn--lg { min-height: 52px; padding: 13px 24px; font-size: 16px; border-radius: 12px; }
.qd-btn--block { width: 100%; }
.qd-btn--coral { background: var(--coral); color: #fff; }
.qd-btn--coral:hover { background: var(--coral-h); color: #fff; }
.qd-btn--navy { background: var(--navy-900); color: #fff; }
.qd-btn--navy:hover { background: var(--navy-700); color: #fff; }
.qd-btn--ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.qd-btn--ghost:hover { border-color: var(--navy-900); color: var(--navy-900); }
.qd-btn--light { background: var(--blue-300); color: var(--navy-950); }
.qd-btn--outline-light { border-color: var(--blue-500); color: var(--on-dark); background: transparent; }
.qd-btn--outline-light:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.qd-btn[disabled], .qd-btn.is-busy { opacity: .6; pointer-events: none; }
.qd-link { font-weight: 600; text-decoration: none; }
.qd-link-light { color: var(--blue-300); font-weight: 600; text-decoration: none; }
.qd-link-light:hover { color: #fff; }

/* Banner & header */
.qd-preview-bar { background: #FFF1DC; color: #6A4000; text-align: center; padding: 8px 12px; font-weight: 600; font-size: 14px; }
.qd-banner { background: var(--coral); color: #fff; font-size: 15px; }
.qd-banner__in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; }
.qd-banner a, .qd-banner span { color: #fff; font-weight: 600; text-decoration: none; }
.qd-banner__x { background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; display: flex; }
.qd-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.qd-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.qd-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.qd-brand img { width: 60px; height: auto; }
.qd-brand__txt { display: flex; flex-direction: column; line-height: 1.25; }
.qd-brand__txt strong { font-family: var(--font-display); font-size: 19px; color: var(--navy-900); }
.qd-brand__txt small { font-size: 11.5px; color: var(--muted); letter-spacing: .5px; }
.qd-nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.qd-nav a { color: var(--ink); text-decoration: none; padding: 8px 0; }
.qd-nav a:hover { color: var(--link); }
.qd-nav .qd-nav__track { color: var(--link); font-weight: 600; }
.qd-nav__mobile-actions { display: none; }
.qd-header__actions { display: flex; align-items: center; gap: 10px; }
.qd-lang { color: var(--link); font-weight: 600; text-decoration: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; font-size: 14px; min-height: 40px; display: inline-flex; align-items: center; }
.qd-burger { display: none; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }

/* Hero */
.qd-hero { position: relative; color: var(--on-dark); background: var(--navy-800); overflow: hidden; min-height: 640px; display: flex; align-items: center; }
.qd-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qd-hero__bg--art svg { width: 100%; height: 100%; }
.qd-hero__shade { position: absolute; inset: 0; background: linear-gradient(to left, rgba(7, 11, 58, .92) 0%, rgba(7, 11, 58, .72) 45%, rgba(7, 11, 58, .28) 100%); }
[dir="ltr"] .qd-hero__shade { background: linear-gradient(to right, rgba(7, 11, 58, .92) 0%, rgba(7, 11, 58, .72) 45%, rgba(7, 11, 58, .28) 100%); }
.qd-hero__wave { position: absolute; bottom: -1px; inset-inline: 0; width: 100%; height: 90px; fill: var(--bg); }
.qd-hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-block: 90px 180px; width: 100%; }
.qd-hero__text { display: flex; flex-direction: column; gap: 20px; }
.qd-hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; line-height: 1.25; }
.lang-en .qd-hero h1 { line-height: 1.08; }
.qd-hero p { font-size: 19px; color: var(--on-dark-2); max-width: 560px; }
.qd-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.qd-eyebrow { color: var(--link); font-weight: 600; font-size: 15px; }
.qd-eyebrow--light { color: var(--blue-300); }
.qd-eyebrow--coral { color: var(--coral-ink); }
.qd-latest { justify-self: end; width: 100%; max-width: 480px; background: rgba(14, 21, 86, .82); border: 1px solid rgba(133, 179, 213, .35); border-radius: var(--r-lg); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.qd-latest__top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--on-dark-3); }
.qd-dot-label { color: var(--blue-300); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.qd-dot-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-300); }
.qd-latest__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.5; color: #fff; }
.qd-latest__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.qd-latest__stats div { background: var(--navy-950); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; }
.qd-latest__stats b { font-family: var(--font-display); font-size: 22px; color: #fff; }
.qd-latest__stats span { font-size: 13px; color: var(--on-dark-3); }

/* Counters */
.qd-counters { position: relative; margin-top: -84px; z-index: 2; }
.qd-counters__card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.qd-counters__card div { display: flex; flex-direction: column; padding: 4px 8px; }
.qd-counters__card b { font-family: var(--font-display); font-size: clamp(32px, 3.6vw, 44px); font-weight: 800; color: var(--navy-900); line-height: 1.3; }
.qd-counters__card span { color: var(--muted); }

/* Sections */
.qd-section { padding-block: 64px; }
.qd-section__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.qd-section__head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.qd-section h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; }
.qd-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.qd-card { background: var(--card); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.qd-card--pad { padding: 24px; overflow: visible; }
.qd-card__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.qd-card h3 { font-size: 20px; font-weight: 700; }
.qd-mission__img, .qd-news-card__img { width: 100%; height: 200px; object-fit: cover; }
.qd-img-ph { height: 200px; background: var(--blue-100); color: var(--blue-500); display: flex; align-items: center; justify-content: center; }
.qd-mission .qd-card__body { position: relative; padding-top: 34px; }
.qd-mission__ic { position: absolute; top: -26px; inset-inline-start: 22px; width: 52px; height: 52px; border-radius: 14px; background: var(--navy-900); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(7, 11, 58, .25); }
.qd-mission p { color: var(--muted); }
.qd-news-card__link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.qd-news-card__link:hover h3 { color: var(--link); }
.qd-news-card__meta { font-size: 13px; color: var(--muted); }
.qd-fallback { display: inline-block; font-size: 12px; color: var(--muted); background: #EEF2F6; border-radius: 999px; padding: 2px 10px; }

/* Map */
.qd-mapbox { background: var(--navy-950); color: var(--on-dark); border-radius: 24px; padding: 40px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.qd-mapbox h2 { color: #fff; }
.qd-mapbox p { color: var(--on-dark-2); margin-top: 12px; }
.qd-mapbox__text { display: flex; flex-direction: column; gap: 6px; }
.qd-map { height: 440px; border-radius: 16px; background: var(--navy-800); overflow: hidden; }
.qd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.qd-chips button { font-size: 14px; border: 1px solid var(--navy-600); border-radius: 999px; padding: 9px 16px; background: transparent; color: var(--on-dark); cursor: pointer; min-height: 40px; }
.qd-chips button[aria-pressed="true"] { background: var(--blue-300); border-color: var(--blue-300); color: var(--navy-950); font-weight: 600; }
.qd-maplist { list-style: none; margin: 14px 0 0; padding: 0; max-height: 240px; overflow: auto; }
.qd-maplist li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--navy-700); }
.qd-maplist button { background: none; border: 0; color: var(--on-dark); cursor: pointer; text-align: start; padding: 0; }
.qd-maplist b { color: var(--blue-300); white-space: nowrap; }
.qd-map-pop b { display: block; font-size: 14px; margin-bottom: 2px; color: var(--navy-900); }
.qd-map-pop span { display: block; font-size: 13px; color: var(--muted); }
.leaflet-container { font-family: var(--font); }

/* Split (report CTA) */
.qd-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.qd-split__text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.qd-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.qd-steps li { background: #fff; border-radius: 16px; padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.qd-steps li > span:last-child { display: flex; flex-direction: column; }
.qd-steps strong { font-size: 18px; }
.qd-steps__n { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }

/* Instagram */
.qd-insta { background: #fff; border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.qd-insta__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.qd-insta__head > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.4; flex-grow: 1; }
.qd-insta__head small { color: var(--muted); }
.qd-insta__ic { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-100); color: var(--navy-900); display: flex; align-items: center; justify-content: center; }
.qd-insta__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.qd-insta__item { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--blue-100); }
.qd-insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.qd-insta__item:hover img { transform: scale(1.04); }

/* Join section */
.qd-join { background: var(--blue-100); border-radius: 24px; padding: 44px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.qd-join p { color: #2F3A5C; font-size: 17px; margin-top: 10px; }
.qd-join__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.qd-join__card { background: #fff; border-radius: 16px; padding: 22px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; border: 1.5px solid transparent; transition: border-color .15s; }
.qd-join__card:hover { border-color: var(--navy-900); color: var(--ink); }
.qd-join__card strong { font-size: 18px; }
.qd-join__card .qd-muted { font-size: 14px; }

/* Partners */
.qd-partners { padding-top: 24px; }
.qd-partners__h { font-size: 18px !important; font-weight: 600 !important; color: var(--muted) !important; margin-bottom: 18px !important; font-family: var(--font) !important; }
.qd-partners__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.qd-partner { background: #fff; border-radius: 14px; padding: 18px; text-align: center; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 96px; }
.qd-partner img { max-height: 64px; max-width: 160px; width: auto; object-fit: contain; }
.qd-partners--logos .qd-partner { min-height: 110px; }
.qd-marquee { display: block; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.qd-marquee__track { display: flex; gap: 14px; width: max-content; animation: qd-marquee 40s linear infinite; }
.qd-marquee__dup { display: contents; }
.qd-marquee .qd-partner { min-width: 200px; }
[dir="rtl"] .qd-marquee__track { animation-name: qd-marquee-rtl; }
@keyframes qd-marquee { to { transform: translateX(-50%); } }
@keyframes qd-marquee-rtl { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .qd-marquee__track { animation: none; flex-wrap: wrap; } }

/* Footer */
.qd-footer { background: var(--navy-950); color: var(--on-dark-2); margin-top: 40px; }
.qd-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 32px; padding-block: 56px 32px; }
.qd-footer__logo { background: #fff; border-radius: 16px; padding: 8px; display: inline-block; }
.qd-footer__logo img { width: 112px; height: auto; }
.qd-footer__about { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.qd-footer__h { color: var(--on-dark); font-weight: 600; font-size: 16px; display: block; margin: 0 0 12px; font-family: var(--font); }
.qd-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.qd-footer__list li { display: flex; gap: 10px; align-items: center; }
.qd-footer a { color: var(--on-dark-2); }
.qd-footer a:hover { color: #fff; }
.qd-footer__muted { font-size: 14px; margin-bottom: 10px; }
.qd-footer__bottom { border-top: 1px solid var(--navy-700); padding-block: 18px 28px; font-size: 13px; color: var(--on-dark-3); }
.qd-social { display: flex; gap: 8px; }
.qd-social a { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-800); display: flex; align-items: center; justify-content: center; }
.qd-newsletter__row { display: flex; gap: 8px; }
.qd-newsletter input { flex-grow: 1; min-width: 0; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--navy-600); background: var(--navy-800); color: var(--on-dark); }
.qd-newsletter input::placeholder { color: var(--on-dark-3); }
.qd-newsletter__msg { font-size: 14px; margin-top: 8px; min-height: 1.2em; color: var(--blue-300); }

/* Page heads */
.qd-pagehead { background: var(--navy-950); color: var(--on-dark); padding-block: 48px 64px; }
.qd-pagehead__in { display: flex; flex-direction: column; gap: 8px; }
.qd-pagehead h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.qd-pagehead p { color: var(--on-dark-2); font-size: 17px; max-width: 640px; }
.qd-pagehead--center .qd-pagehead__in { align-items: center; text-align: center; }

/* Forms */
.qd-form { display: flex; flex-direction: column; gap: 18px; }
.qd-report { margin-top: -36px; position: relative; }
.qd-fieldset { border: 0; margin: 0; padding: 22px; background: #fff; border-radius: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.qd-fieldset legend { float: inline-start; width: 100%; font-weight: 700; font-size: 17px; padding: 0; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; color: var(--navy-900); }
.qd-fieldset legend small { font-weight: 400; font-size: 13px; }
.qd-fieldset--flat { padding: 0; background: none; border-radius: 0; }
.qd-fieldset--box { background: #F2F5F9; }
.qd-num { width: 28px; height: 28px; border-radius: 50%; background: var(--navy-900); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.qd-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.qd-field label { font-size: 14px; font-weight: 600; }
.qd-req { color: var(--coral); }
.qd-opt { font-weight: 400; color: var(--muted); font-size: 13px; }
.qd-hint { font-size: 13px; color: var(--muted); }
.qd-field input, .qd-field select, .qd-field textarea, .qd-inline input { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; min-height: 46px; }
.qd-field textarea { resize: vertical; min-height: 90px; }
.qd-field input:focus, .qd-field select:focus, .qd-field textarea:focus, .qd-inline input:focus { border-color: var(--navy-900); outline: 2px solid rgba(77, 140, 191, .35); outline-offset: 0; }
.qd-field.is-invalid input, .qd-field.is-invalid select, .qd-field.is-invalid textarea { border-color: var(--coral); }
.qd-inline { display: flex; gap: 8px; }
.qd-inline input { flex-grow: 1; min-width: 0; }
.qd-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.qd-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.qd-grid-org { display: grid; grid-template-columns: 2fr 1fr 120px; gap: 12px; align-items: end; }
.qd-grid-21 { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.qd-chips--light .qd-chip span, .qd-chips--links .qd-chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; cursor: pointer; font-size: 14px; }
.qd-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qd-chip { position: relative; text-decoration: none; color: var(--ink); }
.qd-chip input:checked + span, .qd-chip.is-on span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; font-weight: 600; }
.qd-chip input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.qd-chips--links { margin: 0 0 24px; }
.qd-optcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.qd-optcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qd-optcard { position: relative; cursor: pointer; }
.qd-optcard input { position: absolute; opacity: 0; }
.qd-optcard > span { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 8px; background: #fff; min-height: 64px; justify-content: center; }
.qd-optcard small { color: var(--muted); font-size: 12px; }
.qd-optcard input:checked + span { border: 2px solid var(--navy-900); background: var(--blue-100); color: var(--navy-900); padding: 11px 7px; }
.qd-optcard input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.qd-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.qd-check input { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; accent-color: var(--navy-900); }
.qd-upload { display: flex; align-items: center; gap: 12px; border: 1.5px dashed #9DB0C8; border-radius: 12px; padding: 16px; background: #fff; cursor: pointer; color: var(--link); }
.qd-upload span { display: flex; flex-direction: column; color: var(--ink); }
.qd-upload small { color: var(--muted); font-size: 13px; }
.qd-upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qd-upload--sm { padding: 12px 14px; }
.qd-upload:focus-within { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.qd-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.qd-previews:empty { display: none; }
.qd-prev { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--blue-100); display: flex; align-items: center; justify-content: center; font-size: 11px; text-align: center; color: var(--muted); padding: 4px; }
.qd-prev img, .qd-prev video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.qd-prev button { position: absolute; top: 4px; inset-inline-end: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(7, 11, 58, .75); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 1; }
.qd-logo-drop { height: 84px; border: 1.5px dashed #9DB0C8; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; color: var(--link); cursor: pointer; text-align: center; overflow: hidden; position: relative; }
.qd-logo-drop small { color: var(--muted); font-size: 11px; }
.qd-logo-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qd-logo-drop img { max-height: 70px; object-fit: contain; }
.qd-form__error { color: var(--coral-ink); font-weight: 600; min-height: 0; }
.qd-form__error:empty { display: none; }
.qd-form__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; flex-wrap: wrap; font-size: 13px; }

/* Location */
.qd-locmap { height: 260px; border-radius: 14px; background: var(--navy-800); overflow: hidden; }
.qd-loc-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.qd-loc-status { font-size: 14px; border-radius: 10px; padding: 10px 14px; background: var(--blue-100); color: var(--link-h); }
.qd-loc-status:empty { display: none; }
.qd-loc-status.is-error { background: #FBE9E4; color: #8E321E; }

/* Success */
.qd-success, .qd-message { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 36px 20px; }
.qd-success h2, .qd-message h1 { font-size: 26px; }
.qd-message { padding-block: 72px; }
.qd-success__ic { width: 72px; height: 72px; border-radius: 50%; background: var(--blue-100); color: var(--link-h); display: flex; align-items: center; justify-content: center; }
.qd-success__ic--warn { background: #FBE9E4; color: #8E321E; }
.qd-success__steps { font-size: 14px; background: #F2F5F9; border-radius: 10px; padding: 10px 14px; }
.qd-success__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.qd-narrow > .qd-success { background: #fff; border-radius: 18px; margin-top: -36px; position: relative; }

/* Modal */
.qd-modal { border: 0; padding: 0; border-radius: 22px; width: min(820px, calc(100vw - 24px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); color: var(--ink); }
.qd-modal::backdrop { background: rgba(7, 11, 58, .62); }
.qd-modal__head { display: flex; align-items: center; gap: 12px; padding: 20px 24px 8px; }
.qd-modal__head > div { flex-grow: 1; }
.qd-modal__head h2 { font-size: 21px; }
.qd-modal__head p { font-size: 14px; }
.qd-modal__x { width: 44px; height: 44px; border-radius: 12px; border: 0; background: #F2F5F9; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.qd-modal__body { padding: 8px 24px 24px; }
.qd-tabs2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #F2F5F9; border-radius: 14px; padding: 5px; margin-bottom: 18px; }
.qd-tabs2 button { border: 0; border-radius: 10px; padding: 11px; background: transparent; cursor: pointer; display: flex; flex-direction: column; align-items: center; line-height: 1.45; color: var(--ink); }
.qd-tabs2 button small { font-size: 12px; color: var(--muted); }
.qd-tabs2 button[aria-selected="true"] { background: var(--navy-900); color: #fff; }
.qd-tabs2 button[aria-selected="true"] small { color: var(--on-dark-2); }
.qd-joinpage { margin-top: -36px; position: relative; }

/* Track */
.qd-track { display: flex; flex-direction: column; gap: 20px; margin-top: -40px; position: relative; padding-bottom: 40px; }
.qd-track__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; box-shadow: var(--shadow); }
.qd-track__form .qd-form__error, .qd-track__lost { grid-column: 1 / -1; }
.qd-track__lost summary { cursor: pointer; color: var(--link); font-size: 14px; }
.qd-track__lost .qd-inline { margin-top: 10px; }
.qd-tcard { background: #fff; border-radius: 18px; padding: 24px 26px; display: flex; flex-direction: column; gap: 18px; }
.qd-tcard__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.qd-tcard__head strong { font-family: var(--font-display); font-size: 22px; color: var(--navy-900); display: block; }
.qd-tcard__meta { font-size: 13px; color: var(--muted); }
.qd-chip-s { display: inline-flex; border-radius: 999px; padding: 5px 14px; font-weight: 600; font-size: 14px; }
.qd-chip-s--ok { background: #E3EEF8; color: #1B3F6B; }
.qd-chip-s--pending { background: #FFF1DC; color: #7A4900; }
.qd-chip-s--urgent { background: #FBE9E4; color: #8E321E; }
.qd-chip-s--neutral { background: #EEF2F6; color: var(--muted); }
.qd-timeline { list-style: none; margin: 0; padding: 0; }
.qd-timeline li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
.qd-timeline__dot { display: flex; flex-direction: column; align-items: center; }
.qd-timeline__dot i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; display: flex; align-items: center; justify-content: center; color: #fff; }
.qd-timeline__dot::after { content: ''; width: 2px; flex-grow: 1; min-height: 26px; background: #DCE3EC; }
.qd-timeline li:last-child .qd-timeline__dot::after { display: none; }
.qd-timeline .is-done i { background: var(--navy-900); border-color: var(--navy-900); }
.qd-timeline .is-now i { border: 3px solid #3D8FCC; }
.qd-timeline__txt { padding-bottom: 16px; display: flex; flex-direction: column; }
.qd-timeline .is-next .qd-timeline__txt strong { color: var(--muted); font-weight: 500; }
.qd-timeline__txt span { font-size: 13px; color: var(--muted); }
.qd-note { background: var(--blue-100); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.qd-note strong { color: var(--link-h); font-size: 14px; }
.qd-tcard__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.qd-tcard__actions .qd-check { margin-inline-start: auto; }
.qd-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.qd-tlist { display: flex; flex-direction: column; gap: 8px; }
.qd-tlist button { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; text-align: start; }
.qd-tlist button:hover { border-color: var(--navy-900); }

/* Article */
.qd-article { padding-bottom: 32px; }
.qd-article__head { padding-block: 40px 20px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.qd-article__head h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.qd-article__cover img { width: 100%; max-height: 540px; object-fit: cover; border-radius: 22px; }
.qd-article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; padding-block: 32px; align-items: start; }
.qd-article__grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.qd-prose { font-size: 18px; line-height: 1.95; }
.qd-prose p { margin: 0 0 1em; }
.qd-prose h2, .qd-prose h3 { margin: 1.2em 0 .5em; }
.qd-prose img { border-radius: 14px; margin: 1em 0; }
.qd-prose iframe { max-width: 100%; border-radius: 12px; }
.qd-opstats { position: sticky; top: 100px; gap: 12px; display: flex; flex-direction: column; }
.qd-opstats h2 { font-size: 17px; }
.qd-opstats dl { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.qd-opstats dl div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.qd-opstats dt { color: var(--muted); font-size: 14px; }
.qd-opstats dd { margin: 0; font-weight: 600; }
.qd-minimap { height: 180px; border-radius: 12px; background: var(--navy-800); overflow: hidden; }
.qd-gallery h2 { font-size: 22px; margin-bottom: 14px; }
.qd-gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.qd-gallery figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.qd-gallery img, .qd-gallery video { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.qd-gallery figcaption { font-size: 13px; }
.qd-share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 24px; }
.qd-share > span { font-weight: 600; margin-inline-end: 6px; }
.qd-pager { display: flex; justify-content: center; gap: 12px; margin: 28px 0; }
.qd-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Responsive */
@media (max-width: 1100px) {
	.qd-nav { gap: 16px; font-size: 14px; }
	.qd-hide-sm { display: none; }
}
@media (max-width: 960px) {
	.qd-burger { display: inline-flex; }
	.qd-nav { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(7, 11, 58, .1); display: none; max-height: calc(100vh - 76px); overflow: auto; }
	.qd-nav.is-open { display: flex; }
	.qd-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
	.qd-nav__mobile-actions { display: flex; padding-top: 14px; }
	.qd-nav__mobile-actions a { border: 1px solid var(--line-2); }
	.qd-hero__grid { grid-template-columns: 1fr; padding-block: 64px 150px; gap: 32px; }
	.qd-latest { justify-self: stretch; max-width: none; }
	.qd-counters__card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qd-mapbox, .qd-split, .qd-join { grid-template-columns: 1fr; padding: 26px; }
	.qd-split { padding: 0; }
	.qd-footer__grid { grid-template-columns: 1fr 1fr; }
	.qd-article__grid { grid-template-columns: 1fr; }
	.qd-opstats { position: static; }
}
@media (max-width: 640px) {
	.qd-wrap { padding-inline: 16px; }
	.qd-header__in { min-height: 64px; gap: 8px; }
	.qd-nav { inset: 64px 0 auto 0; max-height: calc(100vh - 64px); }
	.qd-brand img { width: 44px; }
	.qd-brand__txt strong { font-size: 16px; }
	.qd-brand__txt small { display: none; }
	.qd-header__actions .qd-btn--coral { padding: 8px 12px; font-size: 14px; }
	.qd-lang { padding: 6px 10px; }
	.qd-hero { min-height: 0; }
	.qd-hero p { font-size: 17px; }
	.qd-hero__cta .qd-btn { width: 100%; }
	.qd-latest__stats b { font-size: 18px; }
	.qd-counters__card { padding: 20px; gap: 16px; }
	.qd-section { padding-block: 44px; }
	.qd-mapbox { padding: 18px; border-radius: 18px; }
	.qd-map { height: 320px; }
	.qd-join { padding: 22px; }
	.qd-join__cards, .qd-grid2, .qd-grid3, .qd-grid-21, .qd-optcards, .qd-optcards--3 { grid-template-columns: 1fr; }
	.qd-optcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qd-grid-org { grid-template-columns: 1fr; }
	.qd-footer__grid { grid-template-columns: 1fr; }
	.qd-track__form { grid-template-columns: 1fr; }
	.qd-fieldset { padding: 18px 16px; }
	.qd-modal { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; margin: 0; }
	.qd-modal__head, .qd-modal__body { padding-inline: 16px; }
	.qd-inline { flex-direction: column; }
	.qd-insta { padding: 18px; }
	.qd-insta__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
}

/* Small phones: keep the header within the viewport */
@media (max-width: 480px) {
	.qd-brand__txt { display: none; }
	.qd-header__actions { gap: 6px; }
	.qd-header__actions .qd-btn--coral { padding: 7px 10px; font-size: 13px; min-height: 40px; }
	.qd-burger { width: 40px; height: 40px; }
}
@media (max-width: 340px) {
	.qd-header__actions .qd-btn--coral { display: none; }
}

/* Activities & campaigns */
.qd-act-card__date { display: inline-flex; align-items: center; gap: 6px; color: var(--coral, #C24A2F); font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.qd-act-card .qd-news-card__meta { display: inline-flex; align-items: center; gap: 5px; }
.qd-act-card__foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.qd-section__h2 { font-size: 24px; margin: 0 0 18px; }
.qd-mt-lg { margin-top: 48px; }
.qd-cards--muted .qd-card { opacity: .82; }
.qd-hint--req { color: var(--coral, #C24A2F); font-weight: 600; }
.qd-activity .qd-share { margin-top: 18px; }
.qd-activity [data-act-form] { display: grid; gap: 14px; }
.qd-act-card__foot .qd-chip-s { font-size: 12.5px; padding: 3px 10px; background: #EEF2F7; color: #2F3A5C; } .qd-act-card__foot .qd-chip-s--ok { background: #E3EEF8; color: #1B3F6B; } .qd-act-card__foot .qd-chip-s--pending { background: #FFF1DC; color: #7A4900; }
