/* Devices and annotation lines for AI project stories. */
.catalogue-page.pj5-page{background:#fff;color:#06162c;--pj5-muted:#53667e;--pj5-line:#c7d4e3}
.pj5-page .page-inner{height:100%;padding-bottom:4.6em!important}
.pj5-page .page-topline{margin-bottom:2em}.pj5-page .page-bridge{display:none}
.pj5-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:1.6em;container-type:size;container-name:pj5page}
.pj5-main{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,2fr);gap:3.2em}
.pj5-story{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding-top:.7em}
.pj5-label{display:flex;flex-direction:column;gap:1.1em;line-height:1.4;font-size:.75em;letter-spacing:.09em;color:#5b7190}
.pj5-label>b{font-weight:500}
.pj5-story h2{font-size:3.75em;font-weight:450;line-height:1.08;letter-spacing:-.05em;margin:.5em 0 .65em}
.pj5-intro{font-size:1.22em;line-height:1.65;color:var(--pj5-muted);max-width:26em;margin:0}
.pj5-benefits{list-style:none;padding:1.2em 0 0;margin:0;width:100%;font-size:1.05em;color:#264b75}
.pj5-benefits li{border-top:1px solid var(--pj5-line);padding:.75em 0;line-height:1.5}
.pj5-board{display:grid;place-items:center;min-width:0;min-height:0;height:100%;position:relative;container-type:size}
.pj5-board-inner{width:min(100cqw,760px,calc((100cqh - 14em)*1.6));max-width:100%;font-size:min(1em,15px)}
.pj5-map-board .pj5-board-inner{--map-note-space:9em;width:min(100cqw,780px,calc((100cqh - var(--map-note-space))*1.55))}
.pj5-notes{display:grid;grid-template-columns:repeat(var(--notes,3),minmax(0,1fr));column-gap:1.7em;z-index:2}
.pj5-notes section{position:relative;padding:.65em 0;border-bottom:1px solid #97adc7;text-align:start}
.pj5-notes b{display:block;font-size:1.08em;line-height:1.25;font-weight:500;letter-spacing:-.025em}
.pj5-notes p{font-size:.88em;line-height:1.45;color:var(--pj5-muted);margin:.3em 0 0}
.pj5-notes i{position:absolute;left:50%;top:100%;width:1px;height:1.1em;background:#7e9abc}
.pj5-notes i:after{content:'';position:absolute;bottom:-.2em;left:-.2em;width:.4em;height:.4em;border:1px solid #5276a1;border-radius:50%;background:#fff}
.pj5-notes.bottom section{border-bottom:0;border-top:1px solid #97adc7}
.pj5-notes.bottom i{top:auto;bottom:100%}.pj5-notes.bottom i:after{bottom:auto;top:-.2em}
.pj5-device-area{position:relative;margin:1.1em 0;display:block}
.pj5-tablet{position:relative;width:100%;aspect-ratio:1.6;padding:0;border-radius:clamp(12px,2vw,24px);background:linear-gradient(130deg,#0a1524,#29384a 40%,#101b2a 70%,#31435b);border:1px solid #3b4d66;box-shadow:0 .15em .3em #07172c30,0 1.5em 2.5em -1em #23446c55}
.pj5-device-screen{position:absolute;inset:2.2% 2.6%;overflow:hidden;border-radius:.7em;background:#0b1018}
.pj5-device-screen img{width:100%;height:100%;object-fit:contain;display:block}
.pj5-device-sample{position:absolute;bottom:.25em;inset-inline:1.6em;font-size:.52em;line-height:1;color:#c4d2e5;text-align:center;letter-spacing:.03em}
.pj5-camera{position:absolute;top:50%;left:.5em;width:.35em;height:.35em;border-radius:50%;background:#01070f;box-shadow:inset 0 0 0 1px #456185}
.pj5-demo{font:inherit;font-size:1.06em;background:#06162c;color:#fff;border:1px solid #06162c;padding:.8em 1.6em;border-radius:0;white-space:nowrap;transition:background .2s}
.pj5-story>.pj5-demo{flex:none;margin-top:1.15em}
.pj5-demo:hover{background:#254d7f}.pj5-demo:focus-visible{outline:2px solid #5987bf;outline-offset:3px}
.pj5-monitor{position:relative;width:100%;padding:.9% .9% 3.5%;margin-bottom:8%;border-radius:.85em .85em .5em .5em;background:linear-gradient(145deg,#24374e,#0c1828 75%);box-shadow:0 1.5em 2em -1em #203e6755;border:1px solid #364c67}
.pj5-monitor::before,.pj5-laptop::before{content:'';position:absolute;top:100%;left:43%;width:14%;height:12%;background:linear-gradient(90deg,#6e819b,#d1dce9 48%,#8295ae);clip-path:polygon(22% 0,78% 0,90% 100%,10% 100%)}
.pj5-monitor::after,.pj5-laptop::after{content:'';position:absolute;top:111.8%;left:37%;width:26%;height:1.5%;border-radius:.25em .25em .1em .1em;background:linear-gradient(180deg,#d8e2ee,#8294ac);box-shadow:0 .35em .6em #1e38502b}
.pj5-monitor-screen.pj-scr{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:1440/724;border-radius:.3em;overflow:hidden;isolation:isolate;background:#102f43}
.pj5-monitor .pj-vid{display:block;width:100%;height:100%;object-fit:contain}
.pj5-monitor-mark{position:absolute;bottom:.65em;left:0;right:0;font-size:.57em;line-height:1;letter-spacing:.06em;color:#aebfd5;text-align:center}
.pj5-map-name{position:absolute;left:0;top:0;width:42%;height:7.6%;display:flex;align-items:center;gap:2.5%;padding:0 1.2%;background:#0e2c3f;color:#fff;pointer-events:none;direction:ltr}
.pj5-map-name svg{width:6%;height:70%;fill:none;stroke:#e3edf7;stroke-width:1.6;flex:none}
.pj5-map-name b{font:650 1.05em/1.1 Manrope,Arial,sans-serif;white-space:nowrap;letter-spacing:-.02em}
.pj5-film-toggle{position:absolute;right:1%;bottom:1.2%;border:1px solid #dce8f5bb;border-radius:3px;background:#06162ce6;color:#fff;font-family:inherit;font-size:.75em;font-weight:500;line-height:1.2;padding:.45em .65em;z-index:5}
.pj5-map-bottom{flex:none;display:flex;flex-direction:column;gap:1.1em}
.pj5-map-bottom .pj-chap{border-top:1px solid var(--pj5-line);grid-template-columns:10em minmax(0,1fr);gap:1.5em}
.pj5-map-bottom .pj-chap .k{font-size:.7em;padding-top:1.2em}
.pj5-map-bottom .pj-chap .pj-st{display:block;padding:.75em 0 .2em}
.pj5-map-bottom .pj-chap b{font-size:1.05em}
.pj5-proc-wrap{min-width:0;min-height:0;height:100%;display:grid;place-items:center;container-type:size}
.pj5-proc-group{width:min(100cqw,780px,calc((100cqh - 5em)*1.35));max-width:100%;display:flex;flex-direction:column;gap:1em;container-type:inline-size;font-size:min(1em,15px)}
.pj5-proc-caption{display:flex;justify-content:space-between;gap:1em;color:#557397;font-size:.72em;line-height:1.4;letter-spacing:.08em}
.pj5-proc-caption span+span{letter-spacing:0;color:#7d8fa7}
.pj5-laptop{position:relative;width:100%;border:1px solid #263b56;padding:1.1% .9% 3%;margin-bottom:9%;border-radius:.9em .9em .5em .5em;background:linear-gradient(140deg,#14283f,#030a14);box-shadow:0 1.6em 2.6em -1.2em #24446955}
.pj5-laptop>.pj5-camera{top:.28em;left:50%;height:.27em;width:.27em}
.pj5-proc-ui{background:#f6f8fc;border-radius:.2em;overflow:hidden;font-size:1.55cqw;aspect-ratio:16/10;display:flex;flex-direction:column}
.pj5-proc-top{background:#071a30;color:#eaf2fc;display:flex;align-items:center;justify-content:space-between;gap:1em;padding:1.1em 1.3em;font-size:1em}
.pj5-proc-top>b{font-weight:550;font-size:1.1em}.pj5-proc-top>span{font-size:.7em;color:#9fb9d8}
.pj5-proc-content{display:grid;grid-template-columns:25% minmax(0,1fr);flex:1;min-height:0}
.pj5-proc-content aside{padding:1.8em 1.1em;background:#eaf0f7;color:#4e6684;display:flex;flex-direction:column;gap:1.2em;border-inline-end:1px solid #cfdae7}
.pj5-proc-content aside>span{font-size:.65em;letter-spacing:.1em}.pj5-proc-content aside>b{font-weight:600;font-size:1.1em;color:#0e294b;margin-bottom:1.4em}
.pj5-proc-content aside>div{font-size:.83em;display:flex;justify-content:space-between;gap:.6em}.pj5-proc-content aside i{font-style:normal;color:#2d5890}
.pj5-proc-content aside small{font-size:.7em;line-height:1.5;margin-top:auto;color:#6b80a0;border-top:1px solid #c5d2e3;padding-top:1.2em}
.pj5-proc-work{min-width:0;min-height:0;padding:1.2em 1.3em}
.pj5-proc-tabs{display:flex;gap:1.3em;border-bottom:1px solid #d4dfec;margin-bottom:1.3em}
.pj5-proc-tabs button{border:0;border-bottom:2px solid transparent;background:none;color:#5c7492;padding:.55em 0;font-family:inherit;font-size:.9em;font-weight:500;line-height:1.4}
.pj5-proc-tabs button[aria-pressed="true"]{border-bottom-color:#2c619f;color:#183e70}
.pj5-proc-panel h3{font-size:1.5em;font-weight:550;letter-spacing:-.02em;line-height:1.3;margin:0}
.pj5-proc-panel>p{font-size:.85em;line-height:1.5;color:#647b97;margin:.6em 0 1.5em}
.pj5-proc-panel table{width:100%;border-collapse:collapse;font-size:.85em;text-align:start;background:#fff}
.pj5-proc-panel th,.pj5-proc-panel td{padding:.85em .55em;border-bottom:1px solid #e0e7f0;text-align:start;white-space:nowrap;font-weight:400}
.pj5-proc-panel thead th{background:#e8eff9;color:#315780;font-weight:550}
.pj5-proc-panel tbody th{color:#45627f}.pj5-proc-panel td.flag{background:#e5effc;color:#255b9d}
.wf9-ui .pj5-proc-tabs i{display:inline-block;margin-inline-start:.35em;padding:0 .4em;font-size:.8em;font-style:normal;background:#e0ebf9;border-radius:3px;color:#3b679d}
.wf9-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:1em}
.wf9-panel-heading>span{font-size:.65em;line-height:1.4;color:#7d91aa;white-space:nowrap}
.wf9-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65em;margin:.85em 0 1em}
.wf9-stats>div{display:flex;align-items:baseline;gap:.65em;padding:.75em .8em;background:#eaf1fb;border:1px solid #d7e2f0}
.wf9-stats strong{font-size:1.6em;line-height:1.1;font-weight:550;color:#194577}.wf9-stats span{font-size:.7em;color:#577694}
.wf9-ui .wf9-attendance-table{font-size:.8em}
.wf9-attendance-table th,.wf9-attendance-table td{padding:.65em .45em;line-height:1.5}
.wf9-attendance-table tbody th{font-weight:500;color:#20405f}
.wf9-avatar{display:inline-grid;place-items:center;width:2.1em;height:2.1em;border-radius:50%;background:#e2ebf7;color:#456991;font-size:.8em;font-family:Manrope,Arial,sans-serif;flex:none;margin-inline-end:.6em}
.wf9-status{display:inline-block;white-space:nowrap;font-size:.88em;line-height:1.4;padding:.2em .6em;border-radius:3px;background:#e8edf3;color:#60768e}
.wf9-status.present,.wf9-status.approved{background:#dfeafa;color:#255d9b}.wf9-status.leave{background:#edf0f7;color:#637396}.wf9-status.pending{background:#e7effb;color:#456b9b}
.wf9-checkout{display:flex;justify-content:space-between;align-items:center;gap:1em;margin-top:1em;padding:.7em .8em;border:1px solid #d9e3ef;background:#fff}
.wf9-checkout>span{font-size:.75em;line-height:1.5;color:#5e7895}
.wf9-checkout button,.wf9-leave-detail button{border:1px solid #244e80;background:#163d6b;color:#fff;font-family:inherit;font-size:.8em;line-height:1.4;padding:.45em .85em;border-radius:3px;white-space:nowrap}
.wf9-checkout button:hover,.wf9-leave-detail button:hover{background:#2d619c}
.wf9-checkout button:disabled,.wf9-leave-detail button:disabled{background:#e8f0fa;border-color:#c4d7eb;color:#39638f;opacity:1;cursor:default}
.wf9-feedback{font-size:.67em;line-height:1.5;color:#7287a2;margin:.9em 0 0;min-height:3em}
.wf9-leave>p{margin:.65em 0 1.2em}.wf9-leave-list{display:grid;gap:.9em}
.wf9-leave-card{padding:1em;background:#fff;border:1px solid #d4e0ee}
.wf9-person{display:flex;align-items:center;gap:.5em}.wf9-person>.wf9-avatar{margin:0;width:2.9em;height:2.9em}
.wf9-person>div{flex:1;min-width:0}.wf9-person b{display:block;font-size:1em;font-weight:550;line-height:1.4;color:#1e446e}.wf9-person small{display:block;font-size:.8em;line-height:1.5;color:#6b83a0}
.wf9-person>.wf9-status{font-size:.72em}
.wf9-leave-detail{display:flex;align-items:center;justify-content:space-between;gap:1em;margin-top:.85em;padding-top:.75em;border-top:1px solid #e2e9f2}
.wf9-leave-detail>span{font-size:.85em;color:#517295}
.wf9-workflow{display:flex;align-items:center;justify-content:space-between;gap:.8em;margin-top:1.3em;color:#6684a7;font-size:.72em}
.wf9-workflow i{height:1px;flex:1;background:#b9cee6}.wf9-workflow span{white-space:nowrap}
.pj5-proc-summary{display:flex;justify-content:space-between;gap:1em;font-size:.8em;color:#587395}
html[lang="ar"] .pj5-story h2{letter-spacing:0;line-height:1.25;font-size:3.55em}
html[lang="ar"] .pj5-label,html[lang="ar"] .pj5-proc-caption{letter-spacing:0}
html[lang="ar"] .pj5-label{font-size:.9em}html[lang="ar"] .pj5-intro{font-size:1.3em;line-height:1.7}
html[lang="ar"] .pj5-notes b{letter-spacing:0;font-size:1.2em;line-height:1.5}
html[lang="ar"] .pj5-notes p{font-size:1em;line-height:1.6}
html[lang="ar"] .pj5-benefits{font-size:1.15em}html[lang="ar"] .pj5-proc-panel h3{letter-spacing:0}
html[lang="ar"] .pj5-map-board .pj5-device-area{direction:ltr}
html[lang="ar"] .pj5-map-board .pj5-board-inner{--map-note-space:11em}
html[lang="ar"] .pj5-proc-panel table{font-size:1em}
/* The story keeps its hierarchy; only the device group is bounded by its allotted area. */
@media screen and (min-aspect-ratio:7/5){
 .pj5-page .page-topline{margin-bottom:1.1em}.pj5-body{gap:1.1em}
 .pj5-main{grid-template-columns:minmax(0,.8fr) minmax(0,2fr);gap:2.7em}
 .pj5-story h2{font-size:3.5em}.pj5-intro{font-size:1.12em}
 .pj5-benefits{font-size:.95em}.pj5-benefits li{padding:.5em 0}
}
@container pj5page (max-height:500px){
 .pj5-story h2{font-size:3.2em;margin-bottom:.5em}
 .pj5-intro{font-size:1.06em;line-height:1.55}
 .pj5-benefits{font-size:.94em;padding-top:.9em}.pj5-benefits li{padding:.48em 0}
 .pj5-story>.pj5-demo{margin-top:.8em}
 html[lang="ar"] .pj5-story h2{font-size:3.1em}
 html[lang="ar"] .pj5-intro{font-size:1.15em;line-height:1.6}
 html[lang="ar"] .pj5-benefits{font-size:1.03em}
}
/* An upright tablet: a compact introduction above the same bounded device group. */
@container pj5page (max-width:760px) and (min-height:620px){
 .pj5-main{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:1.8em}
 .pj5-story{display:grid;grid-template-columns:1fr 1fr;column-gap:2.4em;align-content:start;padding-top:0}
 .pj5-label{grid-column:1;grid-row:1;align-self:start}
 .pj5-story h2{grid-column:1;grid-row:2;align-self:start;margin:.3em 0 0;font-size:3.3em}
 /* v117, v138: the introduction sits right under the title; the benefits take the second column */
 .pj5-intro{grid-column:1;grid-row:3;align-self:start;max-width:none;font-size:1.12em;margin-top:.9em}
 .pj5-benefits{grid-column:2;grid-row:2/span 3;align-self:start;padding-top:.6em;font-size:.96em} /* v138: beside the title and its introduction, so the introduction sits right under the title */
 .pj5-benefits li{padding:.45em 0}
 .pj5-story>.pj5-demo{grid-column:2;grid-row:3;align-self:start;justify-self:start;margin-top:.9em}
 html[lang="ar"] .pj5-story h2{font-size:3.2em}
 html[lang="ar"] .pj5-intro{font-size:1.2em}
 html[lang="ar"] .pj5-benefits{font-size:1.05em}
}
@media screen and (max-width:680px){
 .pj5-page .page-inner{height:auto;padding-bottom:6em!important}
 .pj5-body{container-type:normal;display:block}
 .pj5-main{display:flex;flex-direction:column;gap:2.5em}
 .pj5-story h2{font-size:3em}.pj5-intro{font-size:1.1em;max-width:none}
 .pj5-benefits{margin-top:1em;padding-top:0}
 .pj5-board,.pj5-proc-wrap{height:auto;container-type:inline-size;display:block}
 .pj5-board-inner,.pj5-map-board .pj5-board-inner,.pj5-proc-group{width:100%;max-width:100%}
 .pj5-notes{column-gap:1em}.pj5-notes p{font-size:.8em}.pj5-notes b{font-size:1em}
 .pj5-demo{font-size:.9em;padding:.8em 1em}
 .pj5-map-bottom{margin-top:2em}.pj5-map-bottom .pj-chap{grid-template-columns:1fr}
 .pj5-proc-summary{font-size:.65em}
}
@media(prefers-reduced-motion:no-preference){.pj5-tablet,.pj5-monitor,.pj5-laptop{animation:pj5Rise .8s cubic-bezier(.22,1,.36,1) both}.pj5-notes section{animation:pj5Note .6s ease .45s both}@keyframes pj5Rise{from{opacity:0;transform:translateY(1em) rotateX(7deg)}to{opacity:1;transform:none}}@keyframes pj5Note{from{opacity:0}to{opacity:1}}}
@media print{.pj5-demo,.pj5-film-toggle{display:none}.pj5-page *{animation:none!important}.pj5-proc-panel[hidden]{display:none!important}}
/* v120: a laptop with the phone in front of it (the workforce workspace and the employee app) */
.pj9-pair{position:relative;padding-inline-end:9%}
.pj9-pair .pj5-laptop{margin-bottom:9%}
.pj9-screen{position:relative;width:100%;aspect-ratio:1.6;border-radius:.3em;overflow:hidden;background:#edf1f6}
.pj9-screen img{width:100%;height:100%;object-fit:cover;display:block}
.pj9-phone{position:absolute;right:0;bottom:3%;width:19%;aspect-ratio:390/844;border-radius:1.3em;border:.42em solid #0b1626;outline:1px solid #3b4d66;overflow:hidden;background:#f3f6fa;box-shadow:0 1.4em 2.4em -1em #0b1d3577,0 .2em .5em #0b1d3533;direction:ltr}
html[dir="rtl"] .pj9-pair{padding-inline-end:0;padding-inline-start:9%}
html[dir="rtl"] .pj9-phone{right:auto;left:0}
.pj9-phone img{width:100%;height:100%;object-fit:cover;display:block}
.pj9-sample{position:absolute;left:0;right:0;bottom:.35em;font-size:.55em;line-height:1;color:#aebfd5;text-align:center;letter-spacing:.03em}
.pj9-board .pj5-board-inner{width:min(100cqw,760px,calc((100cqh - 15em)*1.42))}
