/* v151 — chapter 05, Business platforms (lv-biz-v20.js; replaces lv-biz-v19.css, which v150 used). Pages 35–37 explain the chapter on the ax pages' measure (lv-services-v5.css),
   as pages 26–28 do; pages 38–41 are project pages on the template the GIS and web projects use (lv-projects-v5.css, lv-gis-v11.css). */

/* ---------- shared: the films' Pause / Play button and the short lists under the words ---------- */
.bz-toggle{flex:none;font:inherit;font-size:1em;line-height:1.2;padding:.5em 1.1em;border-radius:99em;border:1px solid var(--ax-line);background:transparent;color:var(--ax-ink);cursor:pointer}
.bz-toggle:hover{border-color:var(--ax-acc);color:var(--ax-acc)}.bz-toggle:focus-visible{outline:2px solid var(--ax-acc);outline-offset:2px}
html[lang="ar"] .bz-toggle{font-size:1.04em}
.bz-pts{list-style:none;margin:1.5em 0 0;padding:0;max-width:24em;font-size:1.05em;color:#264b75}
.ax-page.dark .bz-pts{color:#bcd3ee}
.bz-pts li{border-top:1px solid var(--ax-line);padding:.62em 0;line-height:1.45}
.bz-note{font-size:1em;line-height:1.4;color:var(--ax-mut)}
html[lang="ar"] .bz-pts{font-size:1.12em}
html[lang="ar"] .bz-pts li{line-height:1.6}
html[lang="ar"] .bz-note{font-size:1.06em;line-height:1.45}
@media print{.bz-toggle{display:none}}

/* ---------- page 35: the words above; under them one trip across four screens, each step named under its own screen ----------
   The film is 2400 × 840. The four names sit in columns centred on the four screens (the phones at 9.5% and 27.1% of the width,
   the laptop at 51.7%, the monitor at 82.5%); in Arabic the film runs right to left and the columns follow it. */
.ax-bsys .ax-fit{font-size:min(calc(100cqh/44),calc(100cqw/78))}
html[lang="ar"] .ax-bsys .ax-fit{font-size:min(calc(100cqh/45.5),calc(100cqw/78))}
.bs{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;width:min(100%,76em);margin-inline:auto}
.bs-head{display:flex;align-items:flex-end;justify-content:space-between;gap:2em}
.bs-head .ax-title{font-size:2.6em}
.bs-head .ax-lead{margin-top:.75em!important;max-width:46em}
.ax-page .bs-fig{margin:1.5em 0 0;min-width:0}
.bs-view{position:relative;aspect-ratio:2400/840}
.bs-view .bs-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.bs-steps{display:grid;grid-template-columns:1.04% 17% .52% 17% .74% 30.8% .5% 29.8% 2.6%;margin:.55em 0 0;padding:0;list-style:none}
.bs-steps li{min-width:0;text-align:center}
.bs-steps li:nth-child(1){grid-column:2}.bs-steps li:nth-child(2){grid-column:4}.bs-steps li:nth-child(3){grid-column:6}.bs-steps li:nth-child(4){grid-column:8}
.bs-steps b{display:block;font-size:1.12em;font-weight:600;line-height:1.3;color:var(--ax-ink)}
.bs-steps span{display:block;font-size:1em;line-height:1.4;color:var(--ax-mut);margin-top:.2em}
html[lang="ar"] .bs-steps b{font-size:1.16em;line-height:1.45}
html[lang="ar"] .bs-steps span{font-size:1.06em;line-height:1.5}
@container ax (max-aspect-ratio:7/5){
 .ax-bsys .ax-fit{font-size:min(calc(100cqh/44),calc(100cqw/66))}
 html[lang="ar"] .ax-bsys .ax-fit{font-size:min(calc(100cqh/45.5),calc(100cqw/66))}
 .bs{width:min(100%,66em)}
}
@container ax (max-aspect-ratio:1/1){
 .ax-bsys .ax-fit{font-size:min(calc(100cqh/46),calc(100cqw/50))}
 html[lang="ar"] .ax-bsys .ax-fit{font-size:min(calc(100cqh/48),calc(100cqw/50))}
 .bs{width:min(100%,50em)}
 .bs-head{flex-direction:column;align-items:flex-start;gap:1em}
}

/* ---------- pages 36 and 37: the words on one side, the film on the other (page 26's measure) ----------
   36 draws the order and its six systems straight on the page's white; 37 shows the product's console in a window on the dark page. */
.ax-bcon .ax-fit,.ax-bsaas .ax-fit{font-size:min(calc(100cqh/39),calc(100cqw/78))}
html[lang="ar"] .ax-bcon .ax-fit,html[lang="ar"] .ax-bsaas .ax-fit{font-size:min(calc(100cqh/40),calc(100cqw/78))}
.bc{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 47em;column-gap:3em;align-items:center}
.bc-copy{min-width:0}
.bc-copy .ax-title{font-size:3.05em;text-wrap:balance}
.bc-copy .ax-lead{margin-top:1.1em!important;max-width:22em}
.ax-page .bc-fig{margin:0;min-width:0}
.bc-view{position:relative;aspect-ratio:16/10}
.bc-view .bc-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.bz-foot{display:flex;align-items:center;justify-content:space-between;gap:1.5em;margin-top:.8em}
.bq-gap{flex:1}
.bq-win .bz-toggle{padding:.25em .9em;border-color:rgba(255,255,255,.22);color:#f4f7fb}
.bq-win .bz-toggle:hover{border-color:var(--ax-acc);color:var(--ax-acc)}
.bq-view{position:relative;aspect-ratio:16/10;background:#f4f6f9}
.bq-view .bq-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.bq-note{display:block;margin-top:.8em}
@container ax (max-aspect-ratio:7/5){
 .ax-bcon .ax-fit,.ax-bsaas .ax-fit{font-size:min(calc(100cqh/58),calc(100cqw/54))}
 html[lang="ar"] .ax-bcon .ax-fit,html[lang="ar"] .ax-bsaas .ax-fit{font-size:min(calc(100cqh/60),calc(100cqw/54))}
 .bc{grid-template-columns:minmax(0,1fr);row-gap:1.8em;align-content:center;width:min(100%,44em);margin-inline:auto}
 .bc-copy .ax-lead{max-width:40em}
 .bc .bz-pts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:1.4em;max-width:none}
}
@container ax (max-aspect-ratio:1/1){
 .ax-bcon .ax-fit,.ax-bsaas .ax-fit{font-size:min(calc(100cqh/62),calc(100cqw/52))}
 html[lang="ar"] .ax-bcon .ax-fit,html[lang="ar"] .ax-bsaas .ax-fit{font-size:min(calc(100cqh/64),calc(100cqw/52))}
}

/* ---------- pages 38–41: the projects ----------
   Tasreeh and Sakan run in a monitor whose screen is 16:10 like their films (the Investment Map's monitor is wider); the board
   leaves the notes the same height as the tablet's does. Shira's laptop and phone, and the notes over them, keep the English
   order in Arabic too, as the GIS and web projects keep their screens. */
.pjb .pj5-monitor-screen.pj-scr{aspect-ratio:16/10;background:#f4f6f9;cursor:pointer}
.pjb .pj5-monitor .pj-vid{object-fit:cover}
.pjb-mon .pj5-board-inner{width:min(100cqw,760px,calc((100cqh - 14em)*1.355))}
@media screen and (min-width:681px){.pjb-mon .pj5-board-inner{width:min(100cqw,760px,calc((100cqh - 16em)*1.355))}}
@media screen and (max-width:680px){.pjb-mon .pj5-board-inner{width:100%}}
@container pj5page (max-width:760px) and (min-height:620px){
 html .lvp.pjg .pjb-mon .pj5-board-inner{width:min(100cqw,760px,calc((100cqh - 18.5em)*1.355))}
 html .lvp.pjg.pjb .pj9-board .pj5-board-inner{width:min(100cqw,760px,calc((100cqh - 19.5em)*1.42))}
}
/* each film's last moment (the permit approved, the order sent, the booking arriving) is near the screen's foot, so the
   Pause / Play button sits in the screen's top corner, over the signed-in user's name, where it hides nothing the film is about */
.pjb .pj5-film-toggle{top:1.2%;bottom:auto}
html[lang="ar"] .pjb .pj5-device-area{direction:ltr}
/* the benefits and what each system connects to: one block that the story's column simply runs through; on an upright page it
   is the story's second column, so the introduction's column is shorter and the screen gets the height */
.pjb-aside{display:contents}
@container pj5page (max-width:760px) and (min-height:620px){
 .pjb .pj5-story{grid-template-rows:auto auto 1fr}
 .pjb .pjb-aside{display:block;grid-column:2;grid-row:1/span 3;align-self:start;min-width:0}
 .pjb .pjb-aside .pj5-benefits{padding-top:0}
}
html[dir="rtl"] .pjb .pj9-pair{padding-inline-start:0;padding-inline-end:9%}
html[dir="rtl"] .pjb .pj9-phone{left:auto;right:0}

/* ---------- v151 ----------
   Page 37 swaps sides with page 36: on a wide page the console comes first and the words follow it (in Arabic the page mirrors,
   so the console is on the right). On an upright page both pages keep the words above the film. */
.ax-bsaas .bc{grid-template-columns:47em minmax(0,1fr)}
.ax-bsaas .bc-fig{grid-column:1;grid-row:1}
.ax-bsaas .bc-copy{grid-column:2;grid-row:1}
@container ax (max-aspect-ratio:7/5){
 .ax-bsaas .bc{grid-template-columns:minmax(0,1fr)}
 .ax-bsaas .bc-fig{grid-column:1;grid-row:2}
 .ax-bsaas .bc-copy{grid-column:1;grid-row:1}
}
/* Compagen's film is 1280 × 832, a little taller than 16:10, so its monitor's screen is too, and the board narrows to keep the
   same height as the other monitors' boards. Its screen and Sakan's are dark, so their grounds are dark before the film loads. */
.pjb-b-compagen .pj5-monitor-screen.pj-scr{aspect-ratio:1280/832;background:#121212}
.pjb-b-sakan .pj5-monitor-screen.pj-scr{background:#0d0f12}
.pjb-b-compagen .pjb-mon .pj5-board-inner{width:min(100cqw,760px,calc((100cqh - 14em)*1.31))}
@media screen and (min-width:681px){.pjb-b-compagen .pjb-mon .pj5-board-inner{width:min(100cqw,760px,calc((100cqh - 16em)*1.31))}}
@media screen and (max-width:680px){.pjb-b-compagen .pjb-mon .pj5-board-inner{width:100%}}
@container pj5page (max-width:760px) and (min-height:620px){
 html .lvp.pjg.pjb-b-compagen .pjb-mon .pj5-board-inner{width:min(100cqw,760px,calc((100cqh - 18.5em)*1.31))}
}
