/* Move Tech Logistics — site styles */
:root {
  --navy-900: #0B1736;
  --navy-800: #13224A;
  --navy-700: #1C2F63;
  --navy-line: #243870;
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --blue-bright: #5B9BFF;
  --blue-soft: #E8F0FE;
  --ground: #F4F6FA;
  --surface: #FFFFFF;
  --surface-2: #F6F8FB;
  --line: #E2E7F0;
  --line-soft: #EEF1F6;
  --ink: #0B1736;
  --text-2: #2A3550;
  --muted: #586379;
  --on-dark: #B7C0D6;
  --on-dark-faint: #8F9AB5;
  --radius: 20px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: Manrope, Inter, system-ui, sans-serif;
  --arabic: "IBM Plex Sans Arabic", Inter, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--ground); color: var(--ink); line-height: 1.5; }
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 12px; border: 1.5px solid transparent; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: #C9D2E3; color: var(--ink); }
.btn-danger { background: #fff; color: #B3201A; border-color: #F3C4C1; }
.btn-danger:hover { background: #FDECEB; color: #B3201A; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); cursor: pointer; font-weight: 600; }
.icon-btn { width: 40px; height: 40px; border: 0; background: transparent; color: #7A849A; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { background: #F0F3F8; color: var(--ink); }

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: 0.03em; }
.brand-sub { font-size: 10.5px; letter-spacing: 0.32em; margin-top: 5px; font-weight: 600; }
.on-dark .brand-sub { color: var(--on-dark); }
.brand-sm img { width: 38px; height: 38px; }
.brand-sm .brand-name { font-size: 16px; }
.brand-sm .brand-sub { font-size: 9.5px; }

/* ---------- Public header / hero ---------- */
.hero-wrap { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.hero-wrap::before { content: ""; position: absolute; inset: 0; opacity: .55;
  background-image: radial-gradient(#2A3C72 1.2px, transparent 1.2px); background-size: 28px 28px; }
.site-header { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; padding-top: 22px; padding-bottom: 22px; }
.site-header .brand { flex-grow: 1; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 14.5px; font-weight: 500; }
.nav a { color: #C7CEE0; text-decoration: none; }
.nav a:hover { color: #fff; }
.pill-link { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--navy-line); border-radius: 999px; padding: 9px 16px; color: #fff !important; }

.hero { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 112px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #DDE3F0;
  background: var(--navy-800); border: 1px solid var(--navy-line); padding: 8px 14px; border-radius: 999px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-bright); }
.hero h1 { font-weight: 800; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--blue-bright); }
.lead { font-size: 18px; line-height: 1.6; color: var(--on-dark); max-width: 540px; }

.search-card { background: #fff; border-radius: 18px; padding: 10px; display: flex; flex-wrap: wrap; gap: 10px; box-shadow: 0 24px 60px rgba(3,10,30,.45); max-width: 600px; }
.search-field { flex: 1 1 260px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; min-height: 56px; color: var(--muted); }
.search-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.18); }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 17px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); background: transparent; padding: 14px 0; text-transform: uppercase; }
.search-field input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; color: #8A93A8; }
.search-card .btn { min-height: 56px; font-size: 16px; padding: 0 26px; }
.hint { font-size: 13.5px; color: var(--on-dark-faint); }
.search-error { background: #FDECEB; color: #8E1A14; border-radius: 12px; padding: 12px 14px; font-size: 14px; max-width: 600px; }

.preview { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; position: relative; }
.preview-card { position: relative; width: 100%; max-width: 420px; background: #fff; color: var(--ink); border-radius: 22px; padding: 26px; box-shadow: 0 30px 80px rgba(3,10,30,.5); display: flex; flex-direction: column; gap: 20px; }
.preview-arcs { position: absolute; top: -20px; max-width: 100%; }

/* ---------- Sections ---------- */
.services { margin-top: -56px; position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.service { padding: 30px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 12px 32px rgba(11,23,54,.06); }
.service h2 { font-size: 22px; font-weight: 800; }
.service p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.service .tracks { font-size: 13px; font-weight: 600; border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: auto; }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; background: #EEF1F8; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.icon-tile.blue { background: var(--blue-soft); color: var(--blue); }

.section { padding-top: 104px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 44px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--blue); }
.section-head h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -0.02em; max-width: 620px; margin-top: 14px; }
.section-head p { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 400px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.step { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step .n { font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--blue); }
.step strong { font-size: 17px; }
.step span:last-child { font-size: 14px; line-height: 1.55; color: var(--muted); }
.step.dark { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.step.dark .n { color: var(--blue-bright); }
.step.dark span:last-child { color: var(--on-dark); }

.license { padding: 30px 34px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; margin: 40px 0; }
.license-main { display: flex; align-items: center; gap: 18px; flex: 1 1 380px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 13.5px; font-weight: 600; background: var(--ground); border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px; }

.contact { background: var(--navy-900); color: #fff; border-radius: 26px; padding: 52px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: center; margin-bottom: 96px; }
.contact h2 { font-weight: 800; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.contact p { color: var(--on-dark); margin-top: 12px; max-width: 440px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; flex: 1 1 520px; }
.contact-item { display: flex; align-items: center; gap: 14px; background: var(--navy-800); border: 1px solid var(--navy-line); border-radius: 16px; padding: 18px; color: #fff; text-decoration: none; min-width: 0; }
.contact-item:hover { color: #fff; border-color: #34498A; }
.contact-item.wide { grid-column: 1 / -1; }
.contact-item svg { color: var(--blue-bright); flex-shrink: 0; }
.contact-item small { display: block; font-size: 12px; color: var(--on-dark-faint); }
.contact-item span { font-weight: 600; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--navy-900); color: #fff; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-brand p { color: var(--on-dark); font-size: 14.5px; line-height: 1.65; max-width: 360px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.footer-col h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: 4px; font-family: var(--font); }
.footer-col a, .footer-addr { color: #DDE3F0; text-decoration: none; font-size: 14.5px; display: inline-flex; gap: 10px; align-items: flex-start; }
.footer-col a:hover { color: #fff; }
.footer-col svg { color: var(--blue-bright); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--navy-700); }
.footer-bottom .container { padding-top: 20px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--on-dark-faint); }
.lang-switch { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--navy-line); color: #fff !important; text-decoration: none; font-size: 14px; font-weight: 600; }
.lang-switch:hover { background: var(--navy-800); }
.lang-switch[lang="ar"] { font-family: var(--arabic); }
.arabic { font-family: var(--arabic); font-weight: 600; color: var(--ink); }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about-copy h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -0.02em; }
.about-copy p { font-size: 16.5px; line-height: 1.7; color: var(--text-2); }
.about-stats { margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.about-stats div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column-reverse; gap: 4px; }
.about-stats dt { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.about-stats dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--blue); }
.about-visual { flex: 1 1 380px; min-width: 0; }
.about-visual > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; display: block; }
.about-panel { background: var(--navy-900); border-radius: 24px; padding: 36px; color: #fff; display: flex; flex-direction: column; gap: 28px; position: relative; overflow: hidden; min-height: 320px; justify-content: space-between; }
.about-panel::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(#2A3C72 1.2px, transparent 1.2px); background-size: 28px 28px; }
.about-panel > * { position: relative; }
.about-modes { display: flex; flex-direction: column; gap: 12px; }
.about-modes span { display: flex; align-items: center; gap: 14px; background: var(--navy-800); border: 1px solid var(--navy-line); border-radius: 14px; padding: 14px 16px; font-weight: 600; }
.about-modes svg { color: var(--blue-bright); }
.about-panel-foot { font-size: 13px; color: var(--on-dark); }

/* Hero sample card + photo */
.hero-photo { width: 100%; max-width: 480px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 80px rgba(3,10,30,.5); }
.pc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pc-top > div { display: flex; flex-direction: column; gap: 4px; }
.pc-top .label-caps { font-size: 12px; }
.pc-no { font-family: var(--display); font-weight: 800; font-size: 21px; }
.pc-route { display: flex; align-items: center; gap: 12px; }
.pc-route > div:not(.pc-bar) { display: flex; flex-direction: column; }
.pc-route strong { font-size: 15px; }
.pc-end { text-align: end; }
.pc-bar { flex: 1; height: 4px; border-radius: 4px; background: #E8ECF4; position: relative; }
.pc-done { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 72%; border-radius: 4px; background: var(--navy-900); }
.pc-truck { position: absolute; inset-inline-start: 72%; top: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 5px var(--blue-soft); }
[dir="rtl"] .pc-truck { transform: translate(50%, -50%); }
.pc-events { border-top: 1px solid #E8ECF4; padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.pc-ev { display: flex; gap: 12px; font-size: 14px; }
.pc-ev .tl-dot { width: 10px; height: 10px; margin-top: 6px; }
.pc-ev p { font-size: 13px; }

/* ---------- Status pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.no-dot::before { display: none; }
.tone-grey { background: #EEF1F6; color: #3A4560; }
.tone-blue { background: #E6EEFF; color: #1E4FC2; }
.tone-amber { background: #FFF3DF; color: #8A4B00; }
.tone-purple { background: #F0EAFE; color: #5B33B6; }
.tone-green { background: #E4F5EE; color: #0F6B4C; }
.tone-red { background: #FDECEB; color: #B3201A; }
.tone-navy { background: #EEF1F8; color: var(--ink); }

/* ---------- Tracking page ---------- */
.topbar { background: var(--navy-900); color: #fff; }
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.topbar .brand { flex-grow: 1; }
.topbar-search { flex: 1 1 320px; max-width: 440px; display: flex; align-items: center; gap: 10px; background: var(--navy-800); border: 1px solid var(--navy-line); border-radius: 12px; padding: 0 6px 0 14px; min-height: 48px; color: var(--on-dark-faint); }
.topbar-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 15px; padding: 10px 0; text-transform: uppercase; }
.topbar-search input::placeholder { text-transform: none; color: var(--on-dark-faint); }
.topbar-search .btn { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 9px; }

.page { padding-top: 28px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 24px; }
.back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; min-height: 32px; }
.back:hover { color: var(--ink); }

.summary { overflow: hidden; box-shadow: 0 14px 40px rgba(11,23,54,.06); border-radius: 24px; }
.summary-top { padding: 30px 34px; display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: flex-start; }
.summary-id { display: flex; flex-direction: column; gap: 10px; }
.label-caps { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; color: var(--muted); }
.summary-id h1 { font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: 0.01em; overflow-wrap: anywhere; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 18px 40px; }
.facts dt { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.facts dd { margin: 4px 0 0; font-weight: 700; font-size: 17px; }
.route { background: var(--navy-900); color: #fff; padding: 28px 34px; display: flex; flex-direction: column; gap: 24px; }
.route-line { display: flex; align-items: center; gap: 18px; }
.route-end { display: flex; flex-direction: column; gap: 3px; flex-shrink: 1; min-width: 0; max-width: 34%; }
.route-end.to { text-align: end; }
.route-end small { font-size: 12px; letter-spacing: 0.1em; color: var(--on-dark-faint); font-weight: 600; }
.route-end strong { font-family: var(--display); font-weight: 800; font-size: 21px; overflow-wrap: anywhere; }
.route-bar { flex: 1; position: relative; height: 40px; min-width: 90px; }
.route-bar .track { position: absolute; left: 0; right: 0; top: 18px; height: 3px; background: repeating-linear-gradient(90deg, #2E4178 0 8px, transparent 8px 14px); }
.route-bar .done { position: absolute; inset-inline-start: 0; top: 18px; height: 3px; background: var(--blue-bright); border-radius: 3px; }
.route-bar .start, .route-bar .end { position: absolute; top: 14px; width: 12px; height: 12px; border-radius: 50%; }
.route-bar .start { inset-inline-start: -2px; background: var(--blue-bright); }
.route-bar .end { inset-inline-end: -2px; border: 2px solid var(--on-dark-faint); background: var(--navy-900); }
.route-bar .vehicle { position: absolute; top: 0; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(91,155,255,.25); }
.progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.progress li { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #101D42; border: 1px solid var(--navy-700); }
.progress li.now { background: var(--navy-800); border-color: var(--blue-bright); }
.progress li.next { opacity: .75; }
.progress .mark { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 2px solid #3A4E8A; }
.progress li.done .mark { background: var(--blue-bright); border-color: var(--blue-bright); color: #fff; }
.progress li.now .mark { background: #FFB648; border-color: #FFB648; }
.progress li.now .mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--navy-900); }
.progress strong { display: block; font-size: 14px; }
.progress small { font-size: 12px; color: var(--on-dark-faint); }
.hold-banner { display: flex; gap: 12px; align-items: center; background: #3A1A22; border: 1px solid #7A2A2A; color: #FFD9D6; border-radius: 14px; padding: 12px 16px; font-size: 14px; }

.columns { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.col-main { flex: 999 1 560px; min-width: 0; }
.col-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.panel { padding: 30px 32px; display: flex; flex-direction: column; gap: 22px; border-radius: 24px; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.panel h2 { font-weight: 800; font-size: 21px; }
.panel.small { padding: 24px; gap: 14px; border-radius: 22px; }
.panel.small h2 { font-size: 17px; }

.callout { background: #FFF8EC; border: 1px solid #F4D9A8; border-radius: 16px; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; color: #5A3A10; }
.callout strong { display: block; color: #6B3B00; margin-bottom: 2px; }
.callout svg { flex-shrink: 0; color: #A35A00; margin-top: 2px; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 18px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; width: 18px; flex-shrink: 0; }
.tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); margin-top: 5px; flex-shrink: 0; }
.tl-dot.latest { background: var(--blue); box-shadow: 0 0 0 5px var(--blue-soft); }
.tl-line { flex: 1; width: 2px; background: var(--line); margin-top: 6px; }
.timeline li:last-child .tl-line { background: transparent; }
.tl-body { flex: 1; min-width: 0; padding-bottom: 26px; display: flex; flex-direction: column; gap: 6px; }
.tl-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.tl-top strong { font-size: 16px; }
.tl-when { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-place { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.tl-note { font-size: 14.5px; line-height: 1.6; color: var(--text-2); background: var(--surface-2); border-radius: 12px; padding: 12px 14px; white-space: pre-line; overflow-wrap: anywhere; }

.party { display: flex; flex-direction: column; gap: 4px; }
.party .who { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--blue); }
.party .name { font-weight: 600; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.divider { height: 1px; background: var(--line-soft); }
.help-line { text-align: center; font-size: 14px; color: var(--muted); }

.missing { padding: 56px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; border-radius: 24px; }
.missing .icon-tile { width: 64px; height: 64px; border-radius: 18px; }

/* ---------- Admin ---------- */
.admin-shell { display: flex; flex-wrap: wrap; min-height: 100vh; }
.sidebar { flex: 1 1 240px; max-width: 100%; background: var(--navy-900); color: #fff; padding: 22px 16px; display: flex; flex-direction: column; gap: 26px; }
.sidebar .brand { padding: 0 8px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: #C7CEE0; text-decoration: none; font-weight: 500; font-size: 14.5px; }
.side-link:hover { background: var(--navy-800); color: #fff; }
.side-link.active { background: var(--navy-700); color: #fff; font-weight: 600; }
.me { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--navy-800); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.me-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.me-text strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-text small { font-size: 12px; color: var(--on-dark-faint); text-transform: capitalize; }
.me .icon-btn { color: var(--on-dark-faint); }
.me .icon-btn:hover { background: var(--navy-700); color: #fff; }

.admin-main { flex: 999 1 560px; min-width: 0; padding: 30px 40px 56px; display: flex; flex-direction: column; gap: 24px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-head h1 { font-weight: 800; font-size: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.page-head .sub { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.head-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.flash { border-radius: 14px; padding: 12px 16px; font-size: 14.5px; font-weight: 500; }
.flash.ok { background: #E4F5EE; color: #0F5A40; border: 1px solid #BFE6D4; }
.flash.err { background: #FDECEB; color: #8E1A14; border: 1px solid #F3C4C1; }
.flash ul { margin: 6px 0 0; padding-left: 18px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.stat { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; border-radius: 18px; }
.stat .lbl { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.stat .lbl i { width: 8px; height: 8px; border-radius: 50%; }
.stat .val { font-family: var(--display); font-weight: 800; font-size: 32px; font-variant-numeric: tabular-nums; }

.table-card { overflow: hidden; border-radius: 20px; }
.toolbar { padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; border-bottom: 1px solid var(--line-soft); }
.seg { display: flex; gap: 4px; background: var(--ground); padding: 4px; border-radius: 12px; flex-wrap: wrap; }
.seg a, .seg label { font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 15px; border-radius: 9px; text-decoration: none; min-height: 38px; display: inline-flex; align-items: center; cursor: pointer; }
.seg a.on, .seg input:checked + span { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(11,23,54,.12); }
.seg label { padding: 0; }
.seg label span { padding: 8px 15px; border-radius: 9px; display: inline-flex; align-items: center; min-height: 38px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:focus-visible + span { outline: 3px solid var(--blue-bright); }
.toolbar select, .toolbar .search { font: inherit; font-size: 14px; color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; min-height: 42px; background: #fff; }
.toolbar .search { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; flex: 0 1 300px; color: var(--muted); }
.toolbar .search input { border: 0; outline: 0; flex: 1; min-width: 0; font: inherit; font-size: 14px; background: transparent; color: var(--ink); }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 860px; }
table.data th { text-align: left; padding: 12px 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); background: #F8FAFD; text-transform: uppercase; }
table.data td { padding: 14px 18px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
table.data tr:hover td { background: #F8FAFD; }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; }
table.data .wide { min-width: 220px; }
.tno { font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: 0.02em; white-space: nowrap; }
.mode { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font-weight: 500; }
.table-foot { padding: 12px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line-soft); font-size: 13.5px; color: var(--muted); }
.empty { padding: 48px 20px; text-align: center; color: var(--muted); }

/* Forms */
.form-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.form-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.form-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
fieldset.section-card { margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 24px 26px; display: flex; flex-direction: column; gap: 18px; }
fieldset.section-card legend { float: left; width: 100%; padding: 0; font-family: var(--display); font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 10px; }
fieldset.section-card legend + * { clear: both; }
.num-badge { width: 26px; height: 26px; border-radius: 8px; background: var(--navy-900); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; min-width: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.input { font: inherit; font-size: 14.5px; color: var(--ink); background: #fff; border: 1.5px solid #D5DCE8; border-radius: 11px; padding: 11px 13px; min-height: 46px; width: 100%; }
.input:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 4px rgba(11,23,54,.10); }
.input::placeholder { color: #8A93A8; }
textarea.input { resize: vertical; line-height: 1.5; }
.group-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--blue); }
.mode-extra { background: var(--surface-2); border: 1px dashed #D5DCE8; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mode-extra[hidden] { display: none; }

.mode-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.mode-card { position: relative; cursor: pointer; }
.mode-card input { position: absolute; opacity: 0; }
.mode-card .box { border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; height: 100%; }
.mode-card .row { display: flex; justify-content: space-between; align-items: center; }
.mode-card .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C3CBDA; }
.mode-card strong { font-size: 16px; }
.mode-card small { font-size: 13px; color: var(--muted); }
.mode-card input:checked + .box { background: var(--navy-900); border-color: var(--navy-900); color: #fff; box-shadow: 0 10px 24px rgba(11,23,54,.18); }
.mode-card input:checked + .box small { color: var(--on-dark); }
.mode-card input:checked + .box .radio { border: 6px solid var(--blue-bright); background: #fff; }
.mode-card input:focus-visible + .box { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.mode-card input:disabled + .box { cursor: default; }

table.cargo { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0 8px; }
table.cargo th { text-align: left; padding: 0 5px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
table.cargo td { padding: 0 5px; }
.cargo-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.add-line { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; border: 1.5px dashed #B9C3D6; border-radius: 11px; padding: 10px 16px; min-height: 44px; cursor: pointer; }
.add-line:hover { border-color: var(--ink); }

.dark-card { background: var(--navy-900); color: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.dark-card .label-caps { color: var(--on-dark-faint); }
.dark-card .big { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: 0.02em; }
.dark-card p, .dark-card small { color: var(--on-dark); font-size: 13.5px; }
.dark-card .input { background: var(--navy-800); border-color: #2E4178; color: #fff; }
.dark-card .field { color: #fff; }

/* Status chips + visibility in the update form */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-radio input { position: absolute; opacity: 0; }
.chip-radio span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.chip-radio input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip-radio input:focus-visible + span { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.update-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.status-block[hidden] { display: none; }

.admin-tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.admin-tl li { border: 1px solid var(--line-soft); border-radius: 16px; padding: 14px 16px; display: flex; gap: 14px; align-items: flex-start; }
.admin-tl li.internal { background: #FAFBFD; border-style: dashed; border-color: #D5DCE8; }
.admin-tl .tl-dot { width: 12px; height: 12px; margin-top: 6px; }
.admin-tl .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.admin-tl .top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.admin-tl .top .tl-when { margin-inline-start: auto; }
.admin-tl p { font-size: 14.5px; line-height: 1.55; color: var(--text-2); white-space: pre-line; overflow-wrap: anywhere; }
.tag { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }

dl.kv { margin: 0; }
dl.kv div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
dl.kv div:last-child { border-bottom: 0; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }

.doc { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.doc .ext { width: 36px; height: 36px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; flex-shrink: 0; text-transform: uppercase; }
.doc a { flex: 1; min-width: 0; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.doc a:hover { color: var(--blue); }
.doc small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.upload { display: flex; flex-direction: column; gap: 10px; }
.upload input[type=file] { font: inherit; font-size: 13.5px; width: 100%; }
.private-note { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; }

.cargo-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cargo-mini strong { font-family: var(--display); font-weight: 800; font-size: 20px; display: block; }
.cargo-mini span { font-size: 12px; color: var(--on-dark); }
.cargo-list { font-size: 13.5px; }
.cargo-list div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #1C2F63; color: #DDE3F0; }
.cargo-list div:last-child { border-bottom: 0; }

/* Login */
.login { min-height: 100vh; display: flex; flex-wrap: wrap; }
.login-art { flex: 1 1 460px; background: var(--navy-900); color: #fff; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.login-art::before { content: ""; position: absolute; inset: 0; opacity: .55; background-image: radial-gradient(#2A3C72 1.2px, transparent 1.2px); background-size: 28px 28px; }
.login-art > * { position: relative; }
.login-art .big { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.02em; max-width: 460px; }
.login-art p { color: var(--on-dark); margin-top: 16px; max-width: 440px; }
.login-form-wrap { flex: 1 1 460px; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.login-form { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 20px; }
.login-form h1 { font-weight: 800; font-size: 32px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); min-height: 32px; }
.check input { width: 18px; height: 18px; accent-color: var(--navy-900); }

.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 48px 16px; }
.error-card { max-width: 460px; text-align: center; padding: 44px 32px; display: flex; flex-direction: column; gap: 14px; align-items: center; border-radius: 24px; }

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .hero { padding-top: 32px; padding-bottom: 96px; gap: 40px; }
  .preview { display: none; }
  .contact { padding: 30px 20px; }
  .summary-top, .route, .panel { padding-left: 18px; padding-right: 18px; }
  .route-end strong { font-size: 17px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
  .admin-main { padding: 20px 16px 40px; }
  .sidebar { padding: 14px 12px; gap: 12px; }
  .side-nav { flex-direction: row; flex-wrap: wrap; }
  .me { margin-top: 0; }
  .login-art { padding: 32px 20px; }
  fieldset.section-card { padding: 20px 16px; }
  .toolbar .search { margin-inline-start: 0; flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 44px; }
  .footer-brand { grid-column: 1 / -1; }
  .about-panel { padding: 24px; }
}
@media (max-width: 960px) and (min-width: 721px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Right-to-left (Arabic) */
[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] input, [dir="rtl"] button,
[dir="rtl"] .about-stats dd, [dir="rtl"] .footer-col h2 { font-family: var(--arabic), var(--font); }
[dir="rtl"] .brand-name, [dir="rtl"] .pc-no { font-family: var(--display); }
/* Letter-spacing breaks Arabic letters apart, so turn it off. */
[dir="rtl"] * { letter-spacing: 0 !important; }
[dir="rtl"] .flip svg, [dir="rtl"] .search-card .btn svg { transform: scaleX(-1); }
[dir="rtl"] .route-bar .vehicle { transform: translateX(50%); }
[dir="rtl"] .hero h1 { line-height: 1.3; }

/* Admin: website content editor */
.content-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.content-tabs a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.content-tabs a:hover { border-color: #C9D2E3; color: var(--ink); }
.content-tabs a.on { background: var(--navy-900); border-color: var(--navy-900); color: #fff; font-weight: 600; }
.content-form { border-radius: 20px; overflow: hidden; }
.content-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line-soft); }
.content-head h2 { font-size: 19px; font-weight: 800; }
.content-cols { display: flex; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.content-cols span { background: var(--ground); border-radius: 999px; padding: 4px 10px; }
.content-row { display: grid; grid-template-columns: minmax(160px, 220px) minmax(0, 1fr); gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line-soft); align-items: start; }
.content-row.shared { background: var(--surface-2); }
.content-label { font-size: 14px; font-weight: 600; padding-top: 12px; }
.content-label small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.content-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.content-pair [dir="rtl"] { font-family: var(--arabic), var(--font); }
.content-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; background: var(--surface-2); position: sticky; bottom: 0; border-top: 1px solid var(--line); }
.image-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.slot-preview { border: 1px dashed #D5DCE8; border-radius: 14px; min-height: 160px; display: flex; align-items: center; justify-content: center; padding: 12px; background: var(--surface-2); text-align: center; font-size: 13.5px; }
.slot-preview img { max-width: 100%; max-height: 200px; border-radius: 10px; object-fit: contain; }
.slot-preview.logo img { width: 96px; height: 96px; }
@media (max-width: 720px) {
  .content-row { grid-template-columns: 1fr; padding: 14px 16px; }
  .content-pair { grid-template-columns: 1fr; }
  .content-label { padding-top: 0; }
}

/* Admin: Excel import */
.import-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.import-steps .panel { gap: 12px; }
.import-steps .btn { align-self: flex-start; }

/* WhatsApp */
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; background: #1FA855; color: #fff !important; text-decoration: none; font-weight: 600; font-size: 15px; padding: 0 18px 0 14px; min-height: 52px; border-radius: 999px; box-shadow: 0 10px 30px rgba(11,23,54,.25); }
.wa-float:hover { background: #178A45; }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #178A45; color: #fff; }
@media (max-width: 720px) {
  .wa-float { padding: 0; width: 56px; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Email updates + quote form */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sub-box h2 { display: flex; align-items: center; gap: 8px; }
.sub-box h2 svg { color: var(--blue); }
.sub-form { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-form .input { flex: 1 1 180px; }
.quote-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.quote-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.quote-intro h1 { font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.quote-intro p { color: var(--text-2); font-size: 16px; line-height: 1.65; }
.quote-modes span { background: #fff; border-color: var(--line); color: var(--ink); }
.quote-form { flex: 2 1 520px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 18px; border-radius: 22px; }
.field.has-error .input { border-color: #D9241C; box-shadow: 0 0 0 3px rgba(217,36,28,.12); }
.home-quote { margin: 0 0 40px; background: var(--blue); color: #fff; border-radius: 24px; padding: 36px 40px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.home-quote h2 { font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); }
.home-quote p { color: #DCE7FF; margin-top: 8px; max-width: 560px; }
.home-quote .btn { background: #fff; color: var(--blue); }
.home-quote .btn:hover { background: #EEF3FF; color: var(--blue-hover); }
.nav .quote-link { background: var(--blue); border-color: var(--blue); }
.side-badge { margin-inline-start: auto; font-size: 12px; font-weight: 700; background: var(--blue); color: #fff; padding: 2px 8px; border-radius: 999px; }
[data-notify][hidden] { display: none; }

/* Quote page (redesign) */
.q-hero { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.q-hero::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(#2A3C72 1.2px, transparent 1.2px); background-size: 28px 28px; }
.q-hero-inner { position: relative; padding-top: 28px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 12px; }
.q-hero h1 { font-weight: 800; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.02em; max-width: 760px; }
.q-hero p { color: var(--on-dark); font-size: 17px; line-height: 1.6; max-width: 620px; }
.kicker.light { color: var(--blue-bright); margin-top: 18px; }
.back.on-navy { color: var(--on-dark); }
.back.on-navy:hover { color: #fff; }
.q-points { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.q-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: #DDE3F0; }
.q-points svg { color: var(--blue-bright); }
.q-body { margin-top: -64px; position: relative; padding-bottom: 72px; }
.q-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.q-form { flex: 999 1 560px; min-width: 0; padding: 30px 32px; border-radius: 24px; display: flex; flex-direction: column; gap: 26px; box-shadow: 0 24px 60px rgba(11,23,54,.10); }
.q-step { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.q-step + .q-step { border-top: 1px solid var(--line-soft); padding-top: 24px; }
.q-step legend { padding: 0; margin-bottom: 16px; font-family: var(--display); font-weight: 800; font-size: 19px; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.q-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.q-fields .field.wide { grid-column: 1 / -1; }
.q-label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.q-label .req { color: var(--blue); }
.q-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: -6px; }
.q-mode { position: relative; cursor: pointer; }
.q-mode input { position: absolute; opacity: 0; }
.q-mode-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 12px 8px; text-align: center; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; color: var(--text-2); font-size: 13.5px; font-weight: 600; transition: border-color .15s, background .15s; }
.q-mode-box svg { color: var(--muted); }
.q-mode:hover .q-mode-box { border-color: #B9C3D6; }
.q-mode input:checked + .q-mode-box { border-color: var(--blue); background: var(--blue-soft); color: var(--ink); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.q-mode input:checked + .q-mode-box svg { color: var(--blue); }
.q-mode input:focus-visible + .q-mode-box { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.q-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; border-top: 1px solid var(--line-soft); padding-top: 22px; }
.q-submit .muted { font-size: 13px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.q-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.q-next, .q-talk { padding: 24px; border-radius: 22px; display: flex; flex-direction: column; gap: 14px; }
.q-next h2, .q-talk h2 { font-size: 17px; font-weight: 800; }
.q-next ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.q-next li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.q-next li span { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.q-talk .btn { justify-content: flex-start; }
.q-done { padding: 56px 32px; border-radius: 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 24px 60px rgba(11,23,54,.10); }
.q-done h2 { font-size: 28px; font-weight: 800; }
.q-done-icon { width: 68px; height: 68px; border-radius: 50%; background: #E4F5EE; color: #0F8A5F; display: flex; align-items: center; justify-content: center; }
.q-done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
@media (max-width: 720px) {
  .q-form { padding: 22px 16px; }
  .q-fields { grid-template-columns: 1fr; }
  .q-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-hero-inner { padding-bottom: 84px; }
}
.btn.is-sending, button.is-sending { opacity: .65; cursor: progress; pointer-events: none; }

/* Import preview */
.import-stepper { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; }
.import-stepper span { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.import-stepper .done { background: #E4F5EE; border-color: #BFE6D4; color: #0F5A40; }
.import-stepper .now { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.preview-table td { vertical-align: top; }
.preview-table tr.is-dup td { background: #FFF8EC; }
.preview-table tr.is-dup:hover td { background: #FFF1DA; }
.preview-table input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--navy-900); }
.dup-warn { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; color: #6B3B00; margin-bottom: 4px; }
.dup-warn svg { color: #A35A00; flex-shrink: 0; margin-top: 1px; }
.ok-tag { display: inline-flex; gap: 5px; align-items: center; font-size: 12.5px; font-weight: 600; color: #0F6B4C; }
.import-actions { gap: 14px 20px; }
.callout > svg { flex-shrink: 0; }

/* Account & two-step */
.twofa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.qr-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; width: 220px; max-width: 100%; }
.qr-box svg { width: 100%; height: auto; }
.secret-key { display: inline-block; font-size: 14px; letter-spacing: .08em; background: var(--surface-2); border: 1px dashed #D5DCE8; border-radius: 10px; padding: 8px 10px; overflow-wrap: anywhere; }
.code-input { font-size: 22px; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.backup-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 4px 0 8px; padding-inline-start: 22px; font-size: 16px; }
.backup-codes code { letter-spacing: .08em; }
.row-actions { display: inline-block; text-align: start; }
.row-actions summary { list-style: none; cursor: pointer; }
.row-actions summary::-webkit-details-marker { display: none; }
.row-actions-menu { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-width: 260px; }
.inline-form { display: flex; gap: 6px; }
.inline-form .input { min-height: 40px; padding: 8px 10px; font-size: 13.5px; }

/* Dashboard: KPIs, needs attention, ETA, bulk update */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; }
.kpi { padding: 16px 18px; border-radius: 16px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.kpi:hover { border-color: #B9C3D6; color: var(--ink); }
.kpi.on { border-color: var(--navy-900); box-shadow: 0 0 0 2px var(--navy-900) inset; }
.kpi .lbl { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.kpi .lbl i { width: 8px; height: 8px; border-radius: 50%; }
.kpi .val { font-family: var(--display); font-weight: 800; font-size: 30px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi .hint { font-size: 12px; color: var(--muted); }
.kpi.alert { background: #FFF5F4; border-color: #F3C4C1; }
.kpi.alert .val { color: #B3201A; }
.attention { padding: 18px 20px; border-radius: 18px; border-color: #F4D9A8; background: #FFFCF6; display: flex; flex-direction: column; gap: 10px; }
.attention-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.attention-head h2 { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; color: #6B3B00; }
.attention-head a { font-size: 13.5px; font-weight: 600; }
.attention ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.attention li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #F6E7CB; }
.attention li:first-child { border-top: 0; }
.att-who { font-weight: 600; font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.att-who small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.eta-date { display: block; font-size: 13.5px; color: var(--text-2); }
.eta-tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; margin-top: 3px; }
table.data tr.row-overdue td { background: #FFF8F7; }
.stale-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #D98200; vertical-align: middle; }
table.data input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--navy-900); }
.bulk-panel { padding: 20px 22px; border-radius: 18px; display: flex; flex-direction: column; gap: 16px; }
.bulk-panel.has-selection { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.10); }
.bulk-head h2 { font-size: 17px; font-weight: 800; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bulk-count { font-family: var(--font); font-size: 12.5px; font-weight: 600; background: var(--ground); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--muted); }
.bulk-panel.has-selection .bulk-count { background: var(--blue-soft); border-color: #C9DAFC; color: var(--blue); }
.bulk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.bulk-grid .wide { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .attention li { grid-template-columns: 1fr; gap: 6px; }
}

/* Reports */
.report-filter { padding: 16px 18px; border-radius: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.report-filter .field { min-width: 180px; }
.report-filter .field[hidden] { display: none; }
.report-kpis .kpi { cursor: default; }
.report-kpis .kpi:hover { border-color: var(--line); }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; }
.chart-wrap { width: 100%; overflow-x: auto; }
.chart { width: 100%; min-width: 560px; height: auto; display: block; }
.chart .ax { font-size: 11px; fill: #586379; font-family: var(--font); font-variant-numeric: tabular-nums; }
.chart .bar path { transition: opacity .12s; }
.chart:hover .bar path { opacity: .55; }
.chart .bar:hover path { opacity: 1; }
.chart-table summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.chart-table table { margin-top: 10px; font-size: 13px; }
.report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.hbars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hbars li { display: grid; grid-template-columns: 130px minmax(0, 1fr) 72px; grid-template-areas: "label track val" ". sub sub"; gap: 2px 12px; align-items: center; font-size: 14px; }
.hb-label { grid-area: label; display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 500; }
.hb-track { grid-area: track; height: 12px; background: #F1F4F9; border-radius: 4px; overflow: hidden; }
.hb-bar { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.hb-val { grid-area: val; text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hb-sub { grid-area: sub; font-size: 12px; }
table.data.compact td, table.data.compact th { padding: 9px 12px; }
.viz-tip { position: fixed; z-index: 100; pointer-events: none; background: var(--navy-900); color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 8px; box-shadow: 0 8px 20px rgba(11,23,54,.25); max-width: 280px; }
@media print {
  .sidebar, .head-actions, .report-filter, .chart-table summary, .viz-tip { display: none !important; }
  .admin-main { padding: 0; }
  .card { box-shadow: none !important; break-inside: avoid; }
  body { background: #fff; }
}

/* Proof of delivery, several shipments, printing */
.pod-banner { display: flex; gap: 10px; align-items: center; background: #E4F5EE; border: 1px solid #BFE6D4; color: #0F5A40; border-radius: 14px; padding: 12px 16px; font-size: 14.5px; }
.pod-banner svg { color: #0F8A5F; flex-shrink: 0; }
.pod-field[hidden] { display: none; }
.multi-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.multi-item { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) auto auto; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 18px; }
.multi-item .no { font-family: var(--display); font-weight: 800; font-size: 17px; }
.multi-item.missing-row { background: var(--surface-2); }
@media (max-width: 720px) { .multi-item { grid-template-columns: 1fr; gap: 8px; } }
@media print {
  .topbar, .site-footer, .wa-float, .no-print, .sub-box, .back, .lang-switch, .btn { display: none !important; }
  body { background: #fff; }
  .page { padding-top: 0; }
  .card { box-shadow: none !important; break-inside: avoid; }
  .route { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
