/* Static pages for Google (scripts/seo.mjs): tender, region and type pages. Tokens from DESIGN.md. */
:root {
  --ink: #13212e; --ink-2: #3a4a5a; --ink-3: #566474; --blue: #1f4e8c; --blue-2: #173d70;
  --yellow: #f2c230; --danger: #b3261e; --mist: #e8eef7; --paper: #f1f3f5; --line: #d5dce4; --line-soft: #e6eaef;
  --font: "IBM Plex Sans", "IBM Plex Sans Arabic", sans-serif;
  --font-head: "IBM Plex Sans", "Alexandria", "IBM Plex Sans Arabic", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #aab4c0 var(--paper); }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.75; caret-color: var(--blue); -webkit-font-smoothing: antialiased; }
html[lang="fr"] body { line-height: 1.6; }
::selection { background: var(--mist); color: var(--ink); }
h1, h2 { margin: 0; font-family: var(--font-head); font-weight: 700; line-height: 1.45; text-wrap: balance; }
html[lang="fr"] h1, html[lang="fr"] h2 { line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--blue); text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 50; }
.skip:focus { top: 12px; }

.top { border-bottom: 1px solid var(--line-soft); background: #fff; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-words { display: grid; font-family: "Readex Pro", "IBM Plex Sans Arabic", sans-serif; font-weight: 500; line-height: 1.05; color: #172b4d; font-size: 18px; }
.top-tools { display: flex; align-items: center; gap: 8px; }
.tool { display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 6px; color: var(--ink-2); font-size: 15px; text-decoration: none; }
.tool:hover { background: rgb(23 43 77 / 0.06); color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 6px; background: var(--blue); color: #fff; border: 1.5px solid var(--blue); font-weight: 600; font-size: 16px; text-decoration: none; text-align: center; line-height: 1.3; }
.btn:hover { background: var(--blue-2); border-color: var(--blue-2); }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: rgb(19 33 46 / 0.06); }
@media (max-width: 420px) { .top .btn.small { display: none; } }

main { padding-block: 24px 72px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 32px; padding: 0; font-size: 15px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-inline: 10px; color: var(--line); }
.crumbs a { color: var(--ink-3); }
.crumbs [aria-current] { color: var(--ink-2); }

/* Tender: the site board posted in front of a works site. */
.tender { max-width: 760px; }
.kind { font-size: 15px; color: var(--ink-3); margin-bottom: 8px; }
.kind .res { color: var(--ink); font-weight: 600; }
.tender h1 { font-size: clamp(24px, 3.4vw, 34px); max-width: 30ch; }
html[lang="ar"] .tender h1 [lang="fr"] { display: block; text-align: start; }
.note { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
/* A tender not yet checked on the portal (relay source, 23/10/2026): said in words, with a yellow edge. */
.note.unv { margin-top: 12px; padding: 10px 14px; border-inline-start: 4px solid var(--yellow); background: #fdf8e6; color: var(--ink); font-size: 15px; border-radius: 4px; max-width: 70ch; }
.deadline { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }
.chip { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 600; font-size: 15px; padding: 2px 10px; border-radius: 4px; }
.chip.soon { background: var(--danger); color: #fff; }
.left { color: var(--ink-3); font-size: 15px; }
.board { margin-top: 32px; border-top: 3px solid var(--ink); }
.board dl { margin: 0; }
.board dl > div { display: grid; grid-template-columns: minmax(150px, 32%) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.board dt { color: var(--ink-3); font-size: 15px; }
.board dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .board dl > div { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; } }
.help { margin-top: 48px; padding: 28px; background: var(--paper); border-radius: 14px; }
.help h2 { font-size: 22px; }
.help p { margin-top: 10px; max-width: 65ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px !important; }
@media (max-width: 600px) { .help { padding: 20px; } .actions .btn { width: 100%; } }
.others { margin-top: 56px; }
.others h2 { font-size: 20px; margin-bottom: 8px; }

/* Lists */
h1 { font-size: clamp(26px, 3.6vw, 38px); max-width: 32ch; }
.lead { margin-top: 12px; color: var(--ink-2); max-width: 65ch; }
.facets { margin-top: 28px; }
.facets h2 { font-size: 15px; font-weight: 600; color: var(--ink-3); font-family: var(--font); }
.facets ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; }
.facets a { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; }
.facets a:hover { border-color: var(--ink); }
.facets .num { color: var(--ink-3); }
.rows { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.row a { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; }
.row a:hover .row-t { color: var(--blue); text-decoration: underline; }
.row-t { font-weight: 600; max-width: 70ch; }
html[lang="ar"] .row-t [lang="fr"] { text-align: start; }
html[lang="ar"] .row-t:has([lang="fr"]) { direction: ltr; text-align: left; }
.row-m { font-size: 15px; color: var(--ink-3); }
.row-f { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; color: var(--ink-2); }
.row-f .due.soon { color: var(--danger); font-weight: 600; }
.tag { background: var(--mist); color: var(--ink); padding: 0 8px; border-radius: 4px; font-size: 14px; }
.more { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

.foot { background: var(--ink); color: #c9d2dc; padding-block: 40px; font-size: 15px; }
.foot a { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; }
.foot-links strong { color: #fff; width: 100%; font-weight: 600; }
.foot-note { margin-top: 20px; color: #aeb9c5; }

/* Purchase order: the lines as published */
.lines { margin-top: 40px; }
.lines h2 { font-size: 20px; }
.lines-scroll { margin-top: 12px; overflow-x: auto; }
.lines table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lines th { background: var(--paper); color: var(--ink-2); font-weight: 600; text-align: start; padding: 8px 10px; white-space: nowrap; }
.lines td { padding: 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.lines td:first-child, .lines td:nth-last-child(-n+2) { white-space: nowrap; }
.lines td:nth-child(2) { min-width: 16ch; }
.lines .spec { display: block; margin-top: 4px; color: var(--ink-3); font-size: 14px; }
html[lang="ar"] .lines td:nth-child(2) [lang="fr"] { display: block; text-align: start; }
.lines .cell-l { display: none; }
@media (max-width: 600px) {
  .lines thead { display: none; }
  .lines table, .lines tbody { display: block; }
  .lines tr { display: grid; grid-template-columns: 2em minmax(0, 1fr); gap: 2px 10px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .lines td { border: 0; padding: 0; white-space: normal !important; }
  .lines td:nth-child(2) { grid-column: 2; }
  .lines td:nth-child(n+3) { grid-column: 2; color: var(--ink-2); }
  .lines .cell-l { display: inline; color: var(--ink-3); }
}

/* Guides */
.guide { max-width: 720px; }
.guide h1 { font-size: clamp(26px, 3.6vw, 36px); max-width: 28ch; }
.short { margin-top: 24px; padding: 20px 24px; border-top: 3px solid var(--ink); background: var(--paper); }
.short h2 { font-size: 15px; font-weight: 600; color: var(--ink-3); font-family: var(--font); }
.short p { margin-top: 6px; font-size: 18px; }
.guide .lead { margin-top: 20px; }
.guide section { margin-top: 36px; }
.guide section > h2 { font-size: 22px; }
.guide section p { margin-top: 10px; max-width: 65ch; }
.guide ul { margin: 10px 0 0; padding-inline-start: 22px; max-width: 65ch; }
.guide li + li { margin-top: 6px; }
.faq dl { margin: 12px 0 0; }
.faq dt { font-weight: 600; margin-top: 18px; }
.faq dd { margin: 4px 0 0; color: var(--ink-2); max-width: 65ch; }
.guide > .note { margin-top: 32px; }

/* Pages of a long listing */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 24px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; }
.pager a:hover { border-color: var(--ink); }
.pager [aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.list-h { margin-top: 32px; font-size: 20px; }
ul.links { margin: 10px 0 0; padding-inline-start: 22px; }
ul.links li + li { margin-top: 6px; }
.nf + .nf { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-soft); }
.row-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tender .obj { margin-top: 6px; font-size: 16px; color: var(--ink-2); max-width: 70ch; }
html[lang="ar"] .tender .obj [lang="fr"] { display: block; text-align: start; }
.chip.closed { background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); }
bdi[dir="ltr"] { white-space: nowrap; }

/* Key facts under the deadline: qualification, guarantee, reserved */
.keyfacts { margin-top: 16px; }
.keyfacts ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.keyfacts li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 15px; font-weight: 600; background: #fff; }
.keyfacts li.good { border-color: #b9d8c5; background: #eef6f1; color: #1f5c3a; }
.keyfacts li.unk { color: var(--ink-3); font-weight: 500; }
.keyfacts .note { margin-top: 8px; }
.help .price { margin-top: 14px; font-size: 16px; line-height: 1.8; }
.help .price span { color: var(--ink-3); font-size: 15px; }

/* Postponed deadlines (portal suspended, October 2026): original date → new date */
.guide .tbl-scroll { overflow-x: auto; margin-top: 12px; }
.guide .ftable { width: 100%; max-width: 420px; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.guide .ftable th { text-align: start; font-weight: 600; font-size: 14px; color: var(--ink-3); padding: 8px; border-bottom: 1px solid var(--line); }
.guide .ftable td { padding: 10px 8px; border-bottom: 1px solid var(--line-soft); }
.guide .ftable td b { color: var(--ink); background: var(--yellow); border-radius: 4px; padding: 1px 6px; font-weight: 600; }

/* Portal suspended: one line at the top of every static page, and on moved deadlines */
.portal-note { margin: 16px 0 0; padding: 10px 14px; background: #fff7e0; border-radius: 6px; font-weight: 600; }
.portal-note a { color: var(--ink); }
.deadline .rep { font-size: 14px; font-weight: 600; color: var(--ink); background: #fff7e0; padding: 2px 8px; border-radius: 4px; }

/* Purchase orders: the company-space card (Adil, 26/10/2026), phone first. Same classes as espace.css. */
.bdc-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.bdc-card { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.bdc-page { max-width: 640px; }
.bdc-one { margin-top: 8px; }
.bdc-top { display: flex; align-items: center; gap: 10px; }
.bdc-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--blue); flex: none; }
.bdc-cat { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.bdc-days { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 14.5px; font-weight: 600; padding: 4px 12px; border-radius: 8px; background: var(--yellow); color: var(--ink); white-space: nowrap; }
.bdc-days.soon { background: var(--danger); color: #fff; }
.bdc-place { display: flex; align-items: center; gap: 5px; margin: 0; font-size: 15px; color: var(--ink-2); }
.bdc-place svg { color: var(--ink-3); }
.bdc-place a { color: var(--ink-2); }
.bdc-what { margin: 0; font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.5; color: var(--ink); text-wrap: pretty; max-width: none; }
.bdc-what[lang="fr"] { font-size: 18px; font-weight: 600; line-height: 1.45; }
h1.bdc-what { font-size: 26px; }
h1.bdc-what[lang="fr"] { font-size: 22px; }
.bdc-what a { color: inherit; text-decoration: none; }
.bdc-what a:hover { color: var(--blue); text-decoration: underline; }
.bdc-due { margin: 0; font-size: 15px; color: var(--ink-2); }
.bdc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
.bdc-tiles > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--paper); }
.bdc-tiles svg { grid-row: span 2; color: var(--blue); }
.bdc-tiles b { font-size: 19px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.bdc-tiles small { font-size: 13px; color: var(--ink-3); }
.bdc-est { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.bdc-file { width: 100%; justify-content: center; gap: 8px; padding: 14px; font-size: 17px; border-radius: 12px; min-height: 52px; }
.bdc-sub { margin: -4px 0 0; text-align: center; font-size: 14px; color: var(--ink-3); }
.bdc-items { border: 1px solid var(--line); border-radius: 12px; }
.bdc-items > summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font: 700 16px/1.4 var(--font-head); color: var(--ink); cursor: pointer; list-style: none; }
.bdc-items > summary::-webkit-details-marker { display: none; }
.bdc-items > summary svg { color: var(--blue); }
.bdc-items > summary::after { content: ""; margin-inline-start: auto; width: 8px; height: 8px; border-inline-end: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); }
.bdc-items[open] > summary::after { transform: rotate(-135deg); }
.bdc-items ul { list-style: none; margin: 0; padding: 0 14px 10px; display: grid; gap: 8px; }
.bdc-items li { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 6px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.bdc-tick { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; align-self: center; }
.bdc-q { font-size: 17px; font-weight: 700; }
.bdc-u { font-size: 13px; color: var(--ink-3); }
.bdc-qu { white-space: nowrap; }
.bdc-rest > summary { margin: 0 14px 12px; padding: 9px; border-radius: 10px; background: var(--mist); color: var(--blue); font: 600 14.5px/1.3 var(--font); cursor: pointer; text-align: center; list-style: none; }
.bdc-rest > summary::-webkit-details-marker { display: none; }
.bdc-rest[open] > summary { display: none; }
.bdc-dl { justify-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; }
.bdc-orig { border-top: 1px solid var(--line-soft); padding-top: 8px; margin-top: 16px; }
.bdc-card .bdc-orig { margin-top: 0; }
.bdc-orig summary { cursor: pointer; font-size: 14px; color: var(--ink-3); }
.bdc-orig p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.bdc-orig .bdc-meta { color: var(--ink-3); font-size: 13px; }
.files ul.links a { display: inline-flex; align-items: center; gap: 6px; }

/* Tender cards and page (mirror of the company space, 26/10/2026) */
.bdc-tiles.tt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .bdc-tiles.tt { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.bdc-tiles b small { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.bdc-tiles b .nb { font-size: 14px; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.cc-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.cc-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; line-height: 1.6; padding: 2px 10px; border-radius: 4px; border: 1px solid transparent; }
.cc-chip.res { background: #e4f1e9; color: #1d5a37; border-color: #b7d7c3; }
.cc-chip.read { background: var(--mist); color: var(--blue); border-color: #c9d6ea; }
.cc-chip.cat { background: var(--paper); color: var(--ink-2); border-color: var(--line); }
.bdc-meta { color: var(--ink-3); font-size: 14px; }
.ts-s { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; margin-top: 16px; }
.ts-s > h2 { font-size: 19px; margin: 0; }
.ts-lead { color: var(--ink-2); margin: 6px 0 0; }
.ts-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; }
.ts-list li { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid var(--line-soft); }
.ts-list li b { font-weight: 500; }
.ts-src { color: var(--ink-3); font-size: 13px; }
.ts-v { color: var(--ink-2); font-size: 14px; }
.ts-guide { color: var(--ink-2); font-size: 15px; }
.ts-guide::before { content: "← "; color: var(--blue); }
[dir="ltr"] .ts-guide::before { content: "→ "; }
.ts-check .ts-list li { position: relative; padding-inline-start: 34px; }
.ts-check .ts-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ts-lockline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--ink-2); font-size: 15px; margin: 10px 0 0; }
.ts-lockline > svg { color: var(--danger); flex: none; }
.ts-lockline > span { flex: 1 1 200px; }
.ts-unlock { flex: none; min-height: 40px; padding: 0 16px; font-size: 15px; }
.bdc-page .board { margin-top: 16px; }
.bdc-win { border-top: 1px solid var(--line-soft); padding-top: 12px; }
.bdc-win h2 { font-size: 18px; margin: 0; }
.bdc-win p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.bdc-works { margin: -4px 0 0; font-size: 14px; color: var(--ink-2); }
.ts-s.info dl { margin: 10px 0 0; }
.ts-s.info dl > div { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-soft); }
.ts-s.info dt { color: var(--ink-3); font-size: 15px; }
.ts-s.info dd { margin: 0; overflow-wrap: anywhere; font-weight: 500; }
.ts-s.info dd small { font-weight: 400; color: var(--ink-2); }
.ts-s.info .obj-fr { display: block; color: var(--ink-2); font-weight: 400; font-size: 15px; line-height: 1.6; }
.ts-s.info > p { margin: 12px 0 0; }
@media (max-width: 600px) { .ts-s.info dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* Listing tools: sort, filters, search (Adil's audit batch, 27/10/2026). Sticky on phones. */
.listtools { display: grid; gap: 10px; margin: 20px 0 0; padding: 10px 0; background: var(--paper); z-index: 5; }
.listtools input[type=search], .listtools select { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); max-width: 100%; }
.listtools input[type=search] { width: 100%; box-sizing: border-box; }
.lt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.lt-row select { flex: 1 1 140px; min-width: 0; }
.lt-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.lt-chips::-webkit-scrollbar { display: none; }
.chip-f { flex: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.chip-f[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 720px) { .listtools { position: sticky; top: 0; } }
.bdc-card[hidden] { display: none; }
.bidi-isolate { unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.aud-tabs { display: flex; gap: 8px; margin: 20px 0 0; }
.aud-tabs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-weight: 600; text-decoration: none; }
.aud-tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ready-block { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 20px 0; }
.ready-block h2 { margin: 0; font-size: 18px; }
.ready-block .rb-price { font-size: 20px; font-weight: 700; margin: 0; }
.ready-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.cond-ask { margin: 8px 0 0; }
.sticky-bar { display: none; }
@media (max-width: 720px) {
  .sticky-bar { display: flex; gap: 8px; position: fixed; inset-inline: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); z-index: 20; }
  .sticky-bar .btn { flex: 1; text-align: center; justify-content: center; }
  body.has-sticky { padding-bottom: 76px; }
}
.guide-cta { margin: 28px 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--mist); display: grid; gap: 10px; }
.guide-cta p { margin: 0; font-weight: 600; }
@media (max-width: 720px) { .tool-free { display: none; } }

.risk-head { margin: 16px 0 4px; font-size: 17px; }
.risk-badge { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 4px; background: var(--paper); color: var(--danger); border: 1px solid var(--danger); font-weight: 600; font-size: 14px; }
.ready-zr { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.7; }

/* « نموذج من قراءتنا »: one real read file before sign-up (27/10/2026). Same tokens, no motion. */
.fp { margin: 32px 0; padding: 20px 20px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.fp-k { margin: 0 0 6px; color: var(--ink-3); font-size: 14px; font-weight: 600; }
.fp-t { font-size: 19px; line-height: 1.55; }
html[lang="fr"] .fp-t { line-height: 1.3; }
.fp-t a { color: var(--ink); text-decoration: none; }
.fp-t a:hover { text-decoration: underline; }
.fp-m { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.fp-risk { margin-top: 14px; padding: 12px 14px; border-inline-start: 3px solid var(--danger); background: var(--paper); border-radius: 6px; }
.fp-rl { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.fp-tag { display: inline-block; margin-inline-end: 6px; padding: 0 8px; border-radius: 4px; background: var(--danger); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.7; }
.fp-q { margin: 0; font-size: 16px; color: var(--ink); }
.fp-src { margin-top: 4px; color: var(--ink-3); font-size: 13px; }
.fp-path { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.fp-path::before { content: "← "; color: var(--blue); }
[dir="ltr"] .fp-path::before { content: "→ "; }
.fp .ts-lockline { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.gift-cta { display: grid; gap: 6px; margin: 12px 0; }
.gift-cta .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 48px; line-height: 1.6; }
.gift-cta small { color: var(--ink-2); font-size: 14px; line-height: 1.7; }

/* The gift card on a tender page (28/10/2026): what the gift is, then one clear WhatsApp-green button. */
.gift-card { grid-template-columns: auto 1fr; align-items: center; gap: 10px 14px; padding: 16px; background: #eef7f1; border: 1px solid #cfe5d8; border-radius: 12px; }
.gift-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #1f7a4d; color: #fff; }
.gift-tx strong { display: block; font-family: var(--font-head); font-size: 16px; font-weight: 700; color: #18643f; line-height: 1.4; }
.gift-tx p { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.7; color: var(--ink); }
.gift-card .gift-go { grid-column: 1 / -1; background: #1f7a4d; border-color: #1f7a4d; color: #fff; width: 100%; transition: background-color .2s ease, transform .2s ease; }
.gift-card .gift-go:hover { background: #18643f; border-color: #18643f; transform: translateY(-1px); }
.gift-card small { grid-column: 1 / -1; text-align: center; }
@media (prefers-reduced-motion: reduce) { .gift-card .gift-go { transition: none; } .gift-card .gift-go:hover { transform: none; } }

.gift-pts{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:2px 12px;font-size:13px;color:#2f5d44}
.gift-pts li::before{content:"✓";margin-inline-end:4px;font-weight:700}
.gift-ex{grid-column:1/-1;font-size:13px;font-weight:600;color:#1f7a4d;text-decoration:underline;text-underline-offset:3px}

/* Guide "next steps" disclosure (efacture guide): one discreet button that opens every service of both sites. */
.hub { margin: 0 0 28px; border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; }
.hub > summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; }
.hub > summary::-webkit-details-marker { display: none; }
.hub[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.hub h3 { margin: 14px 0 6px; font-size: 1rem; }
.hub .links { padding-bottom: 12px; }

/* E-invoicing guide: card layout (guide.cards) */
.ef h2{margin:0 0 .75rem}
.ef-sec{margin:2.25rem 0}
.ef-answer{background:var(--mist,#eef3fa);border:1px solid var(--line,#d9e1ec);border-radius:16px;padding:1.25rem;margin:1.5rem 0}
.ef-answer dl{margin:0;display:grid;gap:.6rem}
.ef-row{background:#fff;border:1px solid var(--line,#d9e1ec);border-radius:12px;padding:.8rem 1rem;display:grid;gap:.25rem}
.ef-row dt{font-weight:700;margin:0}
.ef-row dd{margin:0;display:flex;gap:.6rem;align-items:flex-start}
.ef-row svg,.ef-badge svg{flex:none;width:22px;height:22px}
.ef-cards{list-style:none;margin:0;padding:0;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}
.ef-card{background:#fff;border:1px solid var(--line,#d9e1ec);border-radius:14px;padding:1rem;display:grid;gap:.4rem;align-content:start}
.ef-card strong{font-size:1.05rem}
.ef-badge{display:inline-flex;gap:.4rem;align-items:center;font-weight:700;font-size:.9rem}
.ef-card.yes{border-color:#1d7a46}.ef-card.no{border-color:#b3261e}
.ef-two{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr))}
.ef-box{background:#eaf6ee;border-radius:16px;padding:1.1rem 1.25rem}
.ef-box.open{background:#fdf5d8}
.ef-box h3{margin:0 0 .5rem}.ef-box ul{margin:0;padding-inline-start:1.2rem}
.ef-services .ef-svc{background:var(--blue,#1f4e8c);color:#fff;border-radius:16px;padding:1.4rem;display:grid;gap:.7rem;align-content:start}
.ef-svc strong{font-size:1.3rem}.ef-svc p{margin:0}
.ef-site{font-weight:700;color:#f2c230}
.ef-svc ul{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}
.ef-svc li a{color:#fff;text-decoration:underline}
.ef-svc .btn{background:#f2c230;color:#13212e;text-align:center;justify-self:stretch;font-weight:700}
.ef-steps{list-style:none;counter-reset:s;margin:0;padding:0;display:grid;gap:.7rem}
.ef-steps li{counter-increment:s;background:#fff;border:1px solid var(--line,#d9e1ec);border-radius:14px;padding:1rem 1rem 1rem 3.6rem;position:relative;display:grid;gap:.2rem}
.ef-steps li::before{content:counter(s);position:absolute;inset-inline-start:1rem;top:1rem;width:1.8rem;height:1.8rem;border-radius:50%;background:#f2c230;color:#13212e;font-weight:700;display:grid;place-items:center}
[dir=rtl] .ef-steps li{padding:1rem 3.6rem 1rem 1rem}
.ef-q{background:#fff;border:1px solid var(--line,#d9e1ec);border-radius:12px;margin:.5rem 0;padding:.2rem 1rem}
.ef-q summary{cursor:pointer;font-weight:700;padding:.7rem 0}
.ef-q p{margin:.2rem 0 1rem}
.ef-end{background:#f2c230;color:#13212e;border-radius:16px;padding:1.4rem;display:grid;gap:.8rem;justify-items:start;margin:2rem 0}
.ef-end p{font-size:1.2rem;font-weight:700;margin:0}
.ef-end .btn{background:#13212e;color:#fff}
.ef-frame{position:relative;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#13212e}
.ef-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ef-tag{justify-self:start;background:#f2c230;color:#13212e;font-weight:700;font-size:.8rem;border-radius:999px;padding:.1rem .6rem}
.ef-card strong a{color:inherit;text-decoration:none}.ef-card strong a:hover{text-decoration:underline}
.ef-time{list-style:none;margin:0;padding:0;display:grid;gap:0;border-inline-start:3px solid #1f4e8c;margin-inline-start:.5rem}
.ef-time li{position:relative;padding:.2rem 1rem 1.1rem;display:grid;gap:.15rem}
.ef-time li::before{content:"";position:absolute;inset-inline-start:-.62rem;top:.45rem;width:.9rem;height:.9rem;border-radius:50%;background:#f2c230;border:2px solid #1f4e8c}
.ef-time time{font-weight:700;color:#1f4e8c}
