:root {
  --ground: #f6f6f3; --surface: #ffffff; --ink: #17181a; --muted: #5b5e66; --border: #d8d9d4; --line: #e6e6e1;
  --soft: #f4f4f1; --accent: #1f4fb5; --accent-ink: #163a86; --accent-soft: #e3eafb; --accent-tint: #edf2fc;
  --good: #1e6b3e; --good-soft: #e6f4ec; --good-line: #8cc5a3;
  --bad: #a32014; --bad-soft: #fdecea; --bad-line: #e8a39c;
  --warn: #8a4a07; --warn-soft: #fcf0e6; --warn-line: #e2ae85;
  --radius: 10px;
  font-family: "Segoe UI", Inter, system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 14px; line-height: 20px; color: var(--ink); background: var(--ground);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; }
a { color: var(--accent); }
a:hover { color: var(--accent-ink); }
h1 { font-size: 26px; line-height: 34px; margin: 0; font-weight: 650; letter-spacing: -0.01em; }
h2 { font-size: 16px; line-height: 24px; margin: 0; font-weight: 650; }
h3 { font-size: 14px; margin: 0; font-weight: 650; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mono { font-family: ui-monospace, Consolas, Menlo, monospace; font-size: 12.5px; }
code { font-family: ui-monospace, Consolas, Menlo, monospace; font-size: 12.5px; background: var(--soft); padding: 1px 5px; border-radius: 4px; }

/* layout */
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px;
  background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 16px; }
.logo { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; display: inline-flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 700; }
.topbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.inline-label { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.layout { display: flex; flex-wrap: wrap; align-items: flex-start; }
.sidenav { flex: 1 1 200px; max-width: 240px; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 57px; }
.sidenav a { padding: 9px 12px; border-radius: 8px; color: #3e4148; text-decoration: none; }
.sidenav a:hover { background: var(--soft); }
.sidenav a.active { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.view { flex: 999 1 560px; min-width: 0; padding: 20px 24px 64px; display: flex; flex-direction: column; gap: 18px; max-width: 1280px; outline: none; }
@media (max-width: 760px) { .sidenav { max-width: none; flex-direction: row; flex-wrap: wrap; position: static; } .view { padding: 16px; } }

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.page-head .lead { color: var(--muted); margin-top: 4px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.row.center { align-items: center; }
.grow { flex: 1 1 220px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.spacer { flex: 1; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.card-pad { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.card-foot { padding: 12px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.kpi .label { color: var(--muted); font-size: 13px; }
.kpi .value { font-size: 28px; line-height: 36px; font-weight: 650; }

/* forms */
/* label text and its hint share a line; the control below takes the full width */
label.field { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 5px; font-weight: 600; font-size: 13px; }
label.field > input, label.field > select, label.field > textarea, label.field > span.mono-box { flex: 1 0 100%; }
label.field .hint { font-weight: 400; color: var(--muted); font-size: 12px; }
input, select, textarea { font: inherit; color: var(--ink); padding: 8px 10px; border: 1px solid #c9cac4; border-radius: 8px; background: #fff; min-width: 0; }
input[type=checkbox], input[type=radio] { width: 16px; height: 16px; accent-color: var(--accent); padding: 0; }
textarea { resize: vertical; }
textarea.mono, input.mono { font-family: ui-monospace, Consolas, Menlo, monospace; font-size: 12.5px; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
input[readonly] { background: var(--soft); }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; }
fieldset { border: 0; padding: 0; margin: 0; }

/* buttons */
.btn { font: inherit; padding: 8px 14px; border-radius: 8px; border: 1px solid #c9cac4; background: #fff; color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; min-height: 36px; }
.btn:hover { background: var(--soft); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.btn.primary:hover { background: var(--accent-ink); }
.btn.danger { color: var(--bad); border-color: var(--bad-line); }
.btn.small { padding: 4px 10px; min-height: 30px; font-size: 13px; }
.btn.link { border: 0; background: none; color: var(--accent); padding: 0; min-height: 0; }
.btn[disabled] { opacity: 0.55; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid var(--border); }
.tabs button { font: inherit; padding: 9px 14px; border: 0; border-bottom: 2px solid transparent; background: none; color: #3e4148; cursor: pointer; }
.tabs button[aria-selected=true] { border-bottom-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.seg { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.seg button { font: inherit; padding: 8px 14px; border-radius: 8px; border: 1px solid #c9cac4; background: #fff; cursor: pointer; }
.seg button[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }

/* tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; background: var(--soft); color: #3e4148; font-weight: 600; padding: 9px 12px; white-space: nowrap; }
td { padding: 8px 12px; border-top: 1px solid var(--line); vertical-align: top; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: #fafaf8; }
tr.bad td { background: #fff7f6; }
td input, td select { padding: 6px 8px; width: 100%; }

/* chips */
.chip { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;
  background: #eeeeea; color: #3e4148; }
.chip.good { background: var(--good-soft); color: var(--good); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.blue { background: var(--accent-soft); color: var(--accent-ink); }
.badge { padding: 4px 10px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-size: 12px; font-weight: 600; }
.badge.ok { background: var(--good-soft); color: var(--good); }

/* notices */
.notice { border-radius: 8px; padding: 10px 14px; border: 1px solid; font-size: 13px; }
.notice.good { background: var(--good-soft); border-color: var(--good-line); color: #24462f; }
.notice.bad { background: var(--bad-soft); border-color: var(--bad-line); color: #6b1a12; }
.notice.warn { background: var(--warn-soft); border-color: var(--warn-line); color: #5e3405; }
.notice.info { background: var(--accent-tint); border-color: #9db4e3; color: #1d2f57; }
.issues { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; }

/* pipeline */
.lanes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 6px; align-items: start; }
.lane { background: #efefeb; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 120px;
  max-height: 460px; overflow-y: auto; }
.lane-head { display: flex; justify-content: space-between; align-items: center; font-weight: 650; font-size: 13px; padding: 2px 4px; }
.lane-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px; display: flex; flex-direction: column; gap: 2px;
  text-align: left; font: inherit; cursor: pointer; width: 100%; }
.lane-card:hover { border-color: var(--accent); }
.lane-card .t { font-weight: 600; font-size: 13px; }
.lane-card .s { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lane.bad { background: #fbe9e6; } .lane.good { background: #e3f1e8; } .lane.blue { background: #e6ecf8; }

/* drawer + modal */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(760px, 100vw); background: var(--surface); border-left: 1px solid var(--border);
  box-shadow: -12px 0 32px rgba(0,0,0,0.08); z-index: 40; overflow-y: auto; padding: 20px 24px 40px; display: flex; flex-direction: column; gap: 16px; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(20,20,19,0.35); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: var(--surface); border-radius: 12px; width: min(820px, 100%); max-height: 90vh; overflow: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
pre.code { background: #1d1e21; color: #e8e8e3; border-radius: 8px; padding: 12px; overflow: auto; font-size: 12px; line-height: 18px; margin: 0; max-height: 50vh; white-space: pre-wrap; word-break: break-word; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.timeline li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; position: relative; padding-bottom: 12px; }
.timeline li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-top: 5px; }
.timeline li::after { content: ''; position: absolute; left: 4px; top: 17px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }

.toasts { position: fixed; bottom: 16px; right: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 60; max-width: min(420px, calc(100vw - 32px)); }
.toast { background: #1d1e21; color: #fff; padding: 10px 14px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.2); font-size: 13px; }
.toast.bad { background: #8f1d12; } .toast.good { background: #1e5c37; }

.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; font-variant-numeric: tabular-nums; }
.totals .big { font-size: 18px; font-weight: 700; }
.section-title { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.empty { padding: 28px; text-align: center; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- connector additions ---- */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.auth-card { width: min(520px, 100%); }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; height: 140px; padding-top: 8px; }
.bars .col { display: flex; flex-direction: column-reverse; gap: 2px; height: 100%; justify-content: flex-start; position: relative; }
.bars .seg-good { background: #2f8a55; border-radius: 3px 3px 0 0; }
.bars .seg-bad { background: #d0574a; border-radius: 3px 3px 0 0; }
.bars-x { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; font-size: 11px; color: var(--muted); text-align: center; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); align-items: center; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.kv { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; gap: 6px 16px; font-size: 13px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; overflow-wrap: anywhere; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 14px; align-items: start; }
.form-grid .wide { grid-column: 1 / -1; }
.flags { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.lines-table td { padding: 6px; } .lines-table input, .lines-table select { padding: 6px 7px; font-size: 13px; }
.lines-table .w-s { width: 80px; } .lines-table .w-m { width: 120px; }
details.fold { border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; background: #fcfcfa; }
details.fold > summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
details.fold[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
details.fold > .inner { padding-bottom: 14px; display: flex; flex-direction: column; gap: 12px; }
.map-table td { vertical-align: middle; } .map-table td:first-child { min-width: 220px; }
.map-table select, .map-table input { min-width: 120px; }
.req { color: var(--bad); font-weight: 700; } .cond { color: var(--warn); font-weight: 700; }
.mof { display: inline-block; min-width: 26px; padding: 0 5px; border-radius: 4px; background: var(--soft); color: var(--muted); font-size: 11px; text-align: center; }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.secret-set { color: var(--good); font-size: 12px; font-weight: 600; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; align-items: start; }
.msg-body { max-height: 260px; }
.status-strip { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.status-strip .step { padding: 3px 10px; border-radius: 999px; background: #eeeeea; color: var(--muted); font-size: 12px; font-weight: 600; }
.status-strip .step.done { background: var(--good-soft); color: var(--good); }
.status-strip .step.bad { background: var(--bad-soft); color: var(--bad); }
.status-strip .arrow { color: #b5b6b0; }
#body.dash, .view > #body { display: flex; flex-direction: column; gap: 16px; }
.lines-table td:nth-child(1) input, .lines-table td:nth-child(2) input { min-width: 150px; }
.need { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; box-sizing: border-box; }
.need-yes { background: var(--bad); }
.need-cond { border: 2px solid var(--warn); background: linear-gradient(90deg, var(--warn) 50%, transparent 50%); }
.need-no { border: 1.5px solid #9a9b96; }
.map-table select { min-width: 190px; }
.field-error input, .field-error select { border-color: var(--bad); box-shadow: 0 0 0 2px var(--bad-soft); }

/* problem list: where (section › line › field) + what + jump button */
.issues li.issue { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 6px 0; }
.issues li.issue .where { grid-column: 1; font-weight: 600; }
.issues li.issue .what { grid-column: 1; }
.issues li.issue [data-goto] { grid-column: 2; grid-row: 1 / span 2; }
.input-error { border-color: var(--bad) !important; box-shadow: 0 0 0 2px var(--bad-soft); }
.flash { animation: flash 1.6s ease-out; }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 4px var(--bad); } 100% { box-shadow: 0 0 0 2px var(--bad-soft); } }

/* fees */
.input-unit { display: flex; align-items: stretch; flex: 1 0 100%; }
.input-unit input { flex: 1; border-top-right-radius: 0; border-bottom-right-radius: 0; min-width: 0; }
.input-unit span { display: flex; align-items: center; padding: 0 10px; border: 1px solid #c9cac4; border-left: 0; border-radius: 0 8px 8px 0; background: var(--bg, #f4f4f1); color: var(--muted); font-size: 13px; }
.kpi.link { cursor: pointer; text-decoration: none; color: inherit; }
.kpi.link:hover { border-color: var(--accent); }
.mbars { display: flex; gap: 8px; align-items: flex-end; height: 160px; overflow-x: auto; padding-top: 6px; }
.mcol { flex: 1 0 34px; max-width: 64px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 4px; }
.mcol .mstack { display: flex; flex-direction: column; border-radius: 3px 3px 0 0; overflow: hidden; min-height: 2px; }
.mcol span { font-size: 11px; color: var(--muted); text-align: center; white-space: nowrap; }
tr.total td { font-weight: 650; border-top: 2px solid var(--border); }
.feebar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--border); margin-top: 14px; }
.feebar i { display: block; height: 100%; }
@media (max-width: 640px) { .mcol { flex-basis: 28px; } }

/* incoming invoices and reports */
.bars30 { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; align-items: end; height: 130px; }
.bars30 .col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.bars30 .col div { background: var(--accent); border-radius: 2px 2px 0 0; min-height: 1px; }
.bars30-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
.hbars { display: flex; flex-direction: column; gap: 8px; }
.hrow { display: grid; grid-template-columns: minmax(120px, 38%) 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.hrow .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hrow .bar, .share { display: block; height: 10px; background: var(--line, #eceae4); border-radius: 5px; overflow: hidden; }
.hrow .bar i, .share i { display: block; height: 100%; background: var(--accent); border-radius: 5px; }
.share { display: inline-block; width: calc(100% - 40px); vertical-align: middle; margin-right: 6px; }
.small-seg button { padding: 5px 10px; font-size: 13px; }
.seg button[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.map-table input { min-width: 140px; }
@media (max-width: 640px) { .bars30 { gap: 1px; } .hrow { grid-template-columns: 1fr auto; } .hrow .bar { grid-column: 1 / -1; } }

/* 2.0: portals, branding, bank */
.brand-logo { height: 30px; max-width: 140px; object-fit: contain; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.portal-chip { font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.portal-chip.portal-finance { background: #e7f4ec; color: #22663f; }
.portal-chip.portal-admin { background: #fbefe2; color: #8a4b12; }
.portal-card { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: inherit; }
.portal-card:hover { border-color: var(--accent); }
.sidenav { display: flex; flex-direction: column; }
.logo-box { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; }
.logo-preview { height: 80px; border: 1px dashed var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #fff; padding: 6px; }
.logo-preview img { max-height: 100%; max-width: 100%; object-fit: contain; }
.bank-card { border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; }
.bank-card legend { font-weight: 600; padding: 0 6px; }
@media (max-width: 640px) { .logo-box { grid-template-columns: 1fr; } .portal-chip { display: none; } }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
input[type=color] { width: 72px; height: 38px; padding: 3px; cursor: pointer; }
.link-btn { border: 0; background: none; font: inherit; cursor: pointer; padding: 0 2px; color: inherit; }
.tab-n { display: inline-block; margin-left: 6px; min-width: 18px; padding: 0 6px; border-radius: 9px; background: var(--border); font-size: 12px; line-height: 18px; text-align: center; }
.tab-n:empty { display: none; }
.nowrap { white-space: nowrap; }
table.compact td, table.compact th { padding-left: 10px; padding-right: 10px; }

/* ------------------------------------------------------------------ Arabic (right-to-left) — user portals, version 3.2 */
html[dir="rtl"] body { font-family: "Segoe UI", "Noto Sans Arabic", "Noto Naskh Arabic", Tahoma, "Arial", system-ui, sans-serif; }
html[dir="rtl"] th { text-align: right; }
html[dir="rtl"] td.num, html[dir="rtl"] th.num { text-align: left; }
html[dir="rtl"] .issues { padding-left: 0; padding-right: 18px; }
html[dir="rtl"] .drawer { right: auto; left: 0; border-left: 0; border-right: 1px solid var(--border); }
html[dir="rtl"] .timeline li::after { left: auto; right: 4px; }
html[dir="rtl"] .toasts { right: auto; left: 16px; }
html[dir="rtl"] .legend i, html[dir="rtl"] .need, html[dir="rtl"] .share { margin-right: 0; margin-left: 6px; }
html[dir="rtl"] .tab-n { margin-left: 0; margin-right: 6px; }
html[dir="rtl"] .input-unit input { border-radius: 0 8px 8px 0; }
html[dir="rtl"] .input-unit span { border-left: 1px solid #c9cac4; border-right: 0; border-radius: 8px 0 0 8px; }
html[dir="rtl"] button.linklike, html[dir="rtl"] .portal-card { text-align: right; }
/* numbers, codes, addresses and file content are always read left to right */
html[dir="rtl"] code, html[dir="rtl"] pre, html[dir="rtl"] .code, html[dir="rtl"] .mono { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] pre, html[dir="rtl"] .code { text-align: left; }
html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="url"], html[dir="rtl"] input[type="password"],
html[dir="rtl"] input[inputmode="decimal"], html[dir="rtl"] input[type="number"], html[dir="rtl"] input[type="date"] { direction: ltr; text-align: right; }
html[dir="rtl"] .value, html[dir="rtl"] td.num { unicode-bidi: plaintext; }
.lang-switch { font-family: "Segoe UI", "Noto Sans Arabic", Tahoma, system-ui, sans-serif; }
html[dir="rtl"] .lane-card { text-align: right; }

/* company portal: the signed-in company in the top bar (5.2.1) */
.company-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: #e8f0fe; color: #1a3d8f; font-weight: 600; font-size: 13px; white-space: nowrap; }
.company-chip .mono { font-weight: 400; font-size: 12px; }
