/* AxioraX New: the Learning Center (js/ots.js and the files beside it), in the app's green and gold.
   Every rule here uses class names of its own (ot-...) or sits under the Hub's screens (.ots), so no
   approved screen is touched. Logical sides throughout, so Arabic mirrors by itself. */

/* ---------- lists of cards ---------- */
.ots .ot-list,.ots .ot-cards,.ots .ot-ways{display:flex;flex-direction:column;gap:12px}
.ots .ot-cards{margin-top:20px}
.ots .lab + .ot-cards,.ots .lab + .ot-list,.ots .lab + .ot-ways{margin-top:0}
.ots .ot-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.ots .ot-chips .chip{height:30px;padding:0 12px;border-radius:15px;font-size:14px}
.ots .ot-bar{display:block;height:6px;margin-top:9px;width:100%}
.ots .ot-empty{padding-top:40px}
.ots .ot-empty .ot-et{font-size:19px;line-height:25px;font-weight:700;color:var(--ink);margin-bottom:6px}
.ots .ot-emptyacts{display:grid;gap:10px;max-width:320px;margin:22px auto 0}

/* ---------- the three ways to learn ---------- */
.ots .ot-way{display:flex;align-items:center;gap:14px;width:100%;min-height:80px;padding-block:15px;padding-inline:15px 16px;text-align:start;color:var(--ink);transition:background .15s,transform .15s}
.ots .ot-way:active{background:#ECECEC;transform:scale(.985)}
.ots .ot-wi{flex:none;width:50px;height:50px;border-radius:16px;display:grid;place-items:center;background:var(--green-soft)}
.ots .ot-wi.gold{background:var(--gold-soft)}
.ots .ot-wt{flex:1;min-width:0;display:flex;flex-direction:column}
.ots .ot-wt b{font-size:17px;line-height:23px;font-weight:600}
.ots .ot-wt span{font-size:14.5px;line-height:20px;color:var(--sub);margin-top:2px}
.ots .ot-way > .chev{flex:none}
.ots .ot-ways.joined{gap:2.333px}
.ots .ot-ways.joined .ot-way{border-radius:4px}
.ots .ot-ways.joined .ot-way:first-child{border-top-left-radius:24px;border-top-right-radius:24px}
.ots .ot-ways.joined .ot-way:last-child{border-bottom-left-radius:24px;border-bottom-right-radius:24px}

/* ---------- Tailored for You, on the Hub's home ---------- */
.ots .ot-tailor{display:flex;align-items:center;gap:14px;width:100%;padding-block:16px;padding-inline:15px 16px;text-align:start;color:var(--ink);background:linear-gradient(135deg,#FBF6E2 0%,#F3F7F1 100%);transition:transform .15s}
.ots .ot-tailor:active{transform:scale(.985)}
.ots .ot-tli{flex:none;width:50px;height:50px;border-radius:16px;display:grid;place-items:center;background:#fff;box-shadow:0 1px 4px rgba(167,148,33,.18)}
.ots .ot-tlt{flex:1;min-width:0;display:flex;flex-direction:column}
.ots .ot-tlt b{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:17px;line-height:23px;font-weight:600}
.ots .ot-tlt b .chip{height:22px;padding:0 9px;font-size:12px;border-radius:11px}
.ots .ot-tlt span{font-size:14.5px;line-height:20px;color:var(--sub);margin-top:3px}
.ots .ot-tlt em{font-style:normal;font-size:13.5px;line-height:19px;font-weight:600;color:var(--gold-ink);margin-top:6px}

/* ---------- a recorded course card ---------- */
.ots .ot-vcard{display:flex;flex-direction:column;width:100%;overflow:hidden;padding:0;text-align:start;color:var(--ink);transition:transform .15s}
.ots .ot-vcard:active{transform:scale(.985)}
.ots .ot-vimg{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:16/9;background:linear-gradient(140deg,var(--av-a) 0%,var(--av-b) 72%) center/cover no-repeat}
.ots .ot-vimg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.22) 0%,rgba(0,0,0,0) 34%,rgba(0,0,0,0) 62%,rgba(0,0,0,.28) 100%);pointer-events:none}
.ots .ot-vimg > *{z-index:1}
.ots .ot-vimg .ot-code{position:absolute;top:12px;left:12px;background:rgba(255,255,255,.95);color:var(--green)}
html[dir=rtl] .ots .ot-vimg .ot-code{left:auto;right:12px}
.ots .ot-state{position:absolute;top:12px;inset-inline-end:12px;display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;border-radius:13px;background:rgba(255,255,255,.95);color:var(--ink);font-size:12.5px;font-weight:600;line-height:1}
.ots .ot-state.done{color:var(--green)}
.ots .ot-vplay{position:absolute;inset-inline-start:14px;bottom:12px;width:40px;height:40px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.ots .ot-vplay svg{margin-left:2px}
.ots .ot-vbody{display:flex;flex-direction:column;padding:13px 16px 14px}
.ots .ot-vbody > b{font-size:16.5px;line-height:22px;font-weight:600}
.ots .ot-by{font-size:14px;line-height:19px;color:var(--sub);margin-top:3px}
.ots .ot-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.ots .ot-fl{font-size:14.5px;line-height:20px;color:var(--sub);font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ots .ot-fl.price{font-size:16px;font-weight:700;color:var(--ink)}
.ots .ot-fl.ok{color:var(--green);font-weight:600;display:inline-flex;align-items:center;gap:5px}
.ots .ot-fr{display:inline-flex;align-items:center;gap:2px;font-size:14.5px;font-weight:600;color:var(--green);flex:none;margin-inline-end:-6px}
.ots .ot-fr .chev{width:18px;height:18px}
.ots .ot-fr .chev path,.ots .ot-fr svg{stroke:var(--green)}

/* ---------- the course code ---------- */
.ot-code{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:12px;background:var(--green-soft);color:var(--green);font-size:12.5px;font-weight:700;letter-spacing:.06em;line-height:1;font-family:"PJS",sans-serif;flex:none}

/* ---------- a reading course card, and its cover ---------- */
.ots .ot-mcard{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;column-gap:14px;width:100%;padding-block:14px;padding-inline:14px 12px;text-align:start;color:var(--ink);transition:transform .15s}
.ots .ot-mcard:active{transform:scale(.985)}
.ot-cover{position:relative;display:grid;place-items:center;width:64px;height:84px;border-radius:14px;background:linear-gradient(155deg,var(--c1,#135333) 0%,var(--c2,#1E6B45) 100%) center/cover no-repeat;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 2px 8px rgba(19,83,51,.18);overflow:hidden;flex:none}
.ot-cover.big{width:84px;height:110px;border-radius:18px}
.ot-cover .ot-cn{position:absolute;top:8px;inset-inline-start:9px;font-style:normal;font-size:12px;font-weight:800;letter-spacing:.04em;color:#E4BE3F;line-height:1;font-family:"PJS",sans-serif}
.ot-cover.big .ot-cn{top:10px;inset-inline-start:11px;font-size:14px}
.ot-cover .ot-rib{position:absolute;top:0;inset-inline-end:10px;width:9px;height:17px;background:var(--gold);clip-path:polygon(0 0,100% 0,100% 100%,50% 76%,0 100%)}
.ot-cover.big .ot-rib{width:11px;height:21px;inset-inline-end:13px}
.ot-cover svg{margin-top:10px}
.ot-cover.pic svg{display:none}
.ots .ot-mt{display:flex;flex-direction:column;min-width:0}
.ots .ot-mt em{font-style:normal;font-size:13.5px;line-height:18px;font-weight:600;color:var(--gold-ink)}
.ots .ot-mt b{font-size:16.5px;line-height:22px;font-weight:600;margin-top:2px}
.ots .ot-meta{font-size:14px;line-height:19px;color:var(--sub);margin-top:3px}
.ots .ot-mt .ot-foot{margin-top:6px}
.ots .ot-mcard > .chev{align-self:center}

/* ---------- a course a learner is inside ---------- */
.ots .ot-pcard{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;column-gap:13px;width:100%;padding-block:12px;padding-inline:12px 14px;text-align:start;color:var(--ink);transition:transform .15s}
.ots .ot-pcard:active{transform:scale(.985)}
.ots .ot-pcard .ot-cover{width:56px;height:56px;border-radius:14px}
.ots .ot-pcard .ot-cover svg{width:24px;height:24px;margin-top:8px}
.ots .ot-pcard .ot-cover .ot-cn{top:6px;inset-inline-start:7px;font-size:10.5px}
.ots .ot-pcard .ot-cover .ot-rib{width:7px;height:13px;inset-inline-end:8px}
.ots .ot-pth{position:relative;width:56px;height:56px;border-radius:14px;background:linear-gradient(140deg,var(--av-a),var(--av-b)) center/cover no-repeat;overflow:hidden;display:grid;place-items:center}
.ots .ot-pth::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.26)}
.ots .ot-pth span{position:relative;z-index:1;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.22);display:grid;place-items:center;backdrop-filter:blur(2px)}
.ots .ot-pth span svg{margin-left:2px}
.ots .ot-pt{display:flex;flex-direction:column;min-width:0}
.ots .ot-pt b{font-size:15.5px;line-height:21px;font-weight:600}
.ots .ot-pt > span{display:flex;align-items:center;gap:5px;font-size:13.5px;line-height:18px;color:var(--sub);margin-top:3px}
.ots .ot-pt > span.ok{color:var(--green);font-weight:600}
.ots .ot-pcard > .chev{align-self:center}
.ots .ot-pt .ot-bar{margin-top:7px;height:5px}

/* ---------- Araa, the issuer ---------- */
.ots .ot-araa{display:flex;align-items:center;gap:14px;margin-top:26px;padding-block:16px;padding-inline:15px 18px}
.ots .ot-araa-slot{flex:none;width:50px;display:flex;justify-content:center}
.ots .ot-araa-m{flex:none;display:block}
.ots .ot-araa-t{display:flex;flex-direction:column;min-width:0}
.ots .ot-araa-by{font-size:13px;line-height:18px;color:var(--ph);font-weight:600}
.ot-araa-n{font-size:16px;line-height:22px;font-weight:700;color:#2D4A46;margin-top:1px}
.ot-araa-n i{font-style:normal;color:#AA872F}
.ots .ot-araa-t em{font-style:normal;font-size:14px;line-height:19px;color:var(--sub);margin-top:4px}

/* ---------- a course page ---------- */
.ots .ot-poster{margin-top:6px;cursor:pointer}
.ots .ot-poster.live{cursor:default;background:#0C0C0C}
.ots .ot-poster img{transition:transform .5s var(--ease)}
.ots .ot-poster:active img{transform:scale(1.015)}
.ots .ot-pvart{position:absolute;inset:0;display:grid;place-items:center}
.ots .ot-poster .play svg{margin-left:3px}
.ots .ot-poster::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 55%,rgba(0,0,0,.35) 100%);pointer-events:none;z-index:1}
.ots .ot-poster.live::before{display:none}
.ots .ot-poster .play,.ots .ot-poster .vlab{z-index:2}
.ots .ot-pvchip{position:absolute;top:12px;inset-inline-start:12px;z-index:3;display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:13px;background:rgba(12,12,12,.62);color:#fff;font-size:12.5px;font-weight:600;pointer-events:none}
.ots .ot-pvchip i{width:7px;height:7px;border-radius:50%;background:#E4BE3F;animation:otPulse 1.4s ease-in-out infinite}
.ots .ot-poster.ended .ot-pvchip,.ots .ot-poster.ended .play,.ots .ot-poster.ended .vlab{display:none}
.ots .ot-pvend{position:absolute;inset:0;z-index:4;background:rgba(12,18,14,.94);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:14px 18px;gap:6px}
.ots .ot-pvend b{font-size:17px;line-height:23px;font-weight:700}
.ots .ot-pvend > span{font-size:13.5px;line-height:19px;color:rgba(255,255,255,.82);max-width:300px}
.ots .ot-pvacts{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap;justify-content:center}
.ots .ot-pvacts .bp,.ots .ot-pvacts .bs{width:auto;height:40px;padding:0 16px;border-radius:20px;font-size:14.5px;margin:0}
.ots .ot-pvacts .bs{background:rgba(255,255,255,.14);color:#fff}
.ots .ot-kick{display:flex;align-items:center;gap:9px;margin-top:18px;flex-wrap:wrap}
.ots .ot-kick > span:not(.ot-code){font-size:14px;line-height:19px;font-weight:600;color:var(--sub)}
.ots .ot-title{font-size:22px;line-height:29px;font-weight:700;letter-spacing:-.005em;margin-top:8px;margin-inline-start:.667px}
.ots .ot-desc{font-size:15.5px;line-height:23px;color:var(--sub);margin-top:10px;margin-inline-start:.667px}
.ots .ot-pres{display:flex;gap:12px;align-items:center;margin-top:18px}
.ots .ot-prest{display:flex;flex-direction:column;min-width:0}
.ots .ot-prest b{font-size:16px;line-height:22px;font-weight:600}
.ots .ot-prest span{font-size:14px;line-height:19px;color:var(--sub);margin-top:1px}
.ots .ot-facts{margin-top:20px}
.ots .ot-fact{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 6px 13px}
.ots .ot-fact span{margin-top:0;font-size:13px;line-height:17px;color:var(--ink);font-weight:600}
.ots .ot-about{margin-top:12px;padding:14px 16px;font-size:14.5px;line-height:21px;color:var(--sub)}
.ots .ot-pricebox{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:15px 18px;border-radius:20px;background:var(--green-soft)}
.ots .ot-pricebox span{font-size:15px;line-height:21px;font-weight:600;color:var(--green)}
.ots .ot-pricebox b{font-size:20px;line-height:26px;font-weight:700;color:var(--green)}
.ots .ot-pend{margin-top:14px;padding:16px;background:var(--gold-soft)}
.ots .ot-pendt{display:flex;flex-direction:column}
.ots .ot-pendt b{font-size:16px;line-height:22px;font-weight:600;color:var(--ink)}
.ots .ot-pendt span{font-size:14.5px;line-height:20px;color:var(--sub);margin-top:2px}
.ots .ot-pend .grid2{margin-top:12px}
.ots .ot-pend .bp,.ots .ot-pend .bs{height:46px;border-radius:23px;font-size:15.5px}
.ots .ot-pend .bs{background:#fff}
.ots .ot-links{display:flex;flex-direction:column;align-items:center;gap:2px;margin-top:18px}
.ots .ot-links .lnk{font-size:15px;line-height:21px;padding:9px 12px;text-align:center}
.ots .ot-mhead{display:flex;align-items:center;gap:16px;margin-top:6px}
.ots .ot-mht{display:flex;flex-direction:column;min-width:0}
.ots .ot-mht em{font-style:normal;font-size:14px;line-height:19px;font-weight:600;color:var(--gold-ink)}
.ots .ot-mht .ot-title{margin-top:3px;margin-inline-start:0}
.ots .ot-mht .ot-kick{margin-top:8px}
.ots .ot-stats{margin-top:20px}
.ots .ot-stats .stat b{font-size:22px}
.ots .ot-progline{display:flex;flex-direction:column;gap:6px;margin-top:14px}
.ots .ot-progline .ot-bar{margin-top:0}
.ots .ot-progline span:not(.bar){font-size:13.5px;line-height:18px;color:var(--sub);font-weight:500}
.ots .ot-who{display:flex;flex-direction:column;margin-top:10px;padding:14px 16px}
.ots .ot-desc + .ot-who{margin-top:18px}
.ots .ot-stats + .ot-desc,.ots .ot-progline + .ot-desc{margin-top:18px}
.ots .ot-who b{font-size:15px;line-height:21px;font-weight:600;color:var(--ink)}
.ots .ot-who span{font-size:15px;line-height:22px;color:var(--sub);margin-top:2px}

/* ---------- the syllabus, and a tailored course's map ---------- */
.ot-syl{display:flex;flex-direction:column;gap:2.333px}
.ot-unit{background:var(--row);border-radius:4px}
.ot-unit:first-child{border-top-left-radius:24px;border-top-right-radius:24px}
.ot-unit:last-child{border-bottom-left-radius:24px;border-bottom-right-radius:24px}
.ot-uh{display:flex;align-items:center;gap:14px;width:100%;padding-block:14px;padding-inline:14px 16px;text-align:start;color:var(--ink)}
.ot-un{flex:none;width:32px;height:32px;border-radius:10px;background:var(--green-soft);color:var(--green);font-size:14px;font-weight:700;display:grid;place-items:center;font-family:"PJS",sans-serif}
.ot-ut{flex:1;min-width:0;display:flex;flex-direction:column}
.ot-ut b{font-size:16px;line-height:22px;font-weight:600}
.ot-ut span{font-size:13.5px;line-height:18px;color:var(--sub);margin-top:1px}
.ot-uc{flex:none;transition:transform .2s var(--ease)}
.ot-unit.open .ot-uc{transform:rotate(180deg)}
.ot-ul{display:none;list-style:none;margin:0;padding-block:0 12px;padding-inline:60px 16px}
.ot-unit.open .ot-ul{display:block;animation:fadeIn .2s ease both}
.ot-ul li{display:flex;align-items:flex-start;gap:10px;padding:6px 0;font-size:14.5px;line-height:20px;color:#2A2A2A}
.ot-ul li em{font-style:normal;color:var(--green);font-weight:600;font-size:12.5px;margin-inline-start:8px;white-space:nowrap}
.ot-sn{flex:none;min-width:22px;height:22px;padding:0 4px;border-radius:7px;background:#fff;color:var(--sub);font-size:11.5px;font-weight:600;display:grid;place-items:center;margin-top:-1px;font-family:"PJS",sans-serif}
.ot-ul li.ok .ot-sn{background:var(--green-soft)}

/* ---------- the AI courses page ---------- */
.ots .ot-soon{display:flex;align-items:center;gap:10px;margin-top:20px;padding:14px 18px;background:var(--gold-soft)}
.ots .ot-soon b{font-size:16px;font-weight:600;color:var(--gold-ink)}
.ot-pulse{width:10px;height:10px;border-radius:50%;background:var(--gold);flex:none;animation:otPulse 1.6s ease-in-out infinite}
@keyframes otPulse{0%,100%{box-shadow:0 0 0 0 rgba(167,148,33,.45)}50%{box-shadow:0 0 0 7px rgba(167,148,33,0)}}
.ots .ot-soon + .grp{margin-top:12px}
.ots > .bp + .bs{margin-top:10px}

/* ---------- forms: enrolment, invitation, printed copy ---------- */
.ot-form{display:flex;flex-direction:column;gap:14px}
.ot-f{display:block}
.ot-flb{display:block;font-size:13.5px;line-height:18px;color:var(--sub);font-weight:600;margin:0 0 6px;margin-inline-start:18px}
.ot-fh{display:block;font-size:13px;line-height:18px;color:var(--ph);margin-top:6px;margin-inline-start:18px}
.ot-f .input{width:100%}
.ot-pick{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:start;color:var(--ink)}
.ot-pick i{font-style:normal;color:var(--ph)}
.ot-cht{display:block;white-space:normal;line-height:22px}
.ot-err{min-height:0;font-size:14px;line-height:20px;color:var(--red);margin-inline-start:18px}
.ot-err:not(:empty){margin-top:10px}
.ots .ot-namenote{display:flex;align-items:center;gap:12px;margin-top:16px;padding:14px 16px;background:var(--gold-soft);font-size:14.5px;line-height:20px;color:#3A3413}
.ots .ot-namenote svg{flex:none}
.ots .ot-namenote span{flex:1;min-width:0}
.ot-check{padding-inline-start:16px!important;gap:14px;align-items:flex-start!important;padding-block:14px!important;min-height:0!important}
.ot-check .check{margin-top:1px}
.ot-check .tx .t{font-size:15.5px;line-height:22px}
.ot-printbox{display:none;margin-top:12px}
.ot-printbox.on{display:block;animation:fadeIn .22s ease both}
.ot-fseg{margin-bottom:12px}
.ot-fseg button{font-size:14.5px;padding:0 6px}
.ot-fpanel{display:none}
.ot-fpanel.on{display:block}
.ot-fpanel[data-panel=collect].on{margin-bottom:14px}
.ot-fpanel[data-panel=deliver].on{margin-top:14px}
.ot-office{display:flex;flex-direction:column;padding:16px 18px}
.ot-office b{font-size:16px;line-height:22px;font-weight:600;margin-bottom:4px}
.ot-office > span{font-size:14.5px;line-height:21px;color:var(--sub)}
.ot-office em{font-style:normal;font-size:13.5px;line-height:19px;color:var(--sub);margin-top:10px}
.ot-officeacts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.ot-officeacts .bs{height:42px;border-radius:21px;font-size:14.5px;background:#fff}
.ot-maplnk{font-size:13.5px!important;padding:2px 0!important;text-align:start;margin-top:2px;margin-inline-start:18px}
.ots .ot-summ{padding:6px 18px}
.ot-sr{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:11px 0;font-size:15px;line-height:21px}
.ot-sr + .ot-sr{border-top:1px solid #E6E8E6}
.ot-sr span{min-width:0;color:var(--ink)}
.ot-sr b{flex:none;font-weight:600;white-space:nowrap}
.ot-sr.gold span,.ot-sr.gold b{color:var(--gold-ink)}
.ot-sr.ok span,.ot-sr.ok b{color:var(--green)}
.ot-sr.faint span,.ot-sr.faint b{color:var(--ph)}
.ot-sr.tot{padding:14px 0 12px}
.ot-sr.tot span{font-weight:600}
.ot-sr.tot b{font-size:19px;font-weight:700;color:var(--green)}
.ots .ot-certmini{display:block;width:100%;aspect-ratio:1600/1131;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px #ECECEC,0 6px 18px rgba(0,0,0,.06)}
.ots .ot-certmini .skel{display:block;width:100%;height:100%;border-radius:0}
.ots .ot-certmini img{display:block;width:100%;height:100%;object-fit:cover}
.ot-paysum{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;font-size:15px;line-height:21px}
.ot-paysum b{font-size:17px;font-weight:700;color:var(--green);flex:none}
.ot-shnote{font-size:13.5px;line-height:19px;color:var(--ph);margin:14px 4px 0;text-align:center}

/* ---------- a recorded course, playing ---------- */
.ots .ot-wprog{margin-top:18px}
.ots .ot-wtop{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:14.5px;line-height:20px;color:var(--sub);font-weight:600}
.ots .ot-wtop b{color:var(--ink);font-weight:700}
.ots .ot-wfail,.ots .ot-pw{display:flex;flex-direction:column;gap:6px;margin-top:12px;padding:16px}
.ots .ot-wfail b,.ots .ot-pw b{font-size:16px;line-height:22px;font-weight:600}
.ots .ot-wfail > span,.ots .ot-pw > span{font-size:14.5px;line-height:20px;color:var(--sub)}
.ots .ot-wfail .bs{margin-top:8px;height:44px;background:#fff}
.ots .ot-pw{background:var(--gold-soft)}
.ots .ot-pwv{display:flex;align-items:center;gap:10px}
.ots .ot-pwv code{flex:1;font-size:20px;font-weight:700;letter-spacing:.12em;background:#fff;border-radius:12px;padding:8px 14px;text-align:center}
.ots .ot-pwv .bs{width:auto;height:44px;padding:0 18px;background:#fff}

/* ---------- a session ---------- */
.ots.ot-learn .ot-unitlab{font-size:14.5px;line-height:20px;font-weight:600;color:var(--gold-ink);margin:18px 0 0;margin-inline-start:.667px}
.ots .ot-stitle{font-size:24px;line-height:31px;font-weight:700;letter-spacing:-.01em;margin-top:6px;margin-inline-start:.667px}
.ots .ot-step{margin-top:14px;height:30px;padding:0 13px;border-radius:15px;font-size:13.5px}
.ots .ot-points{padding:6px 18px}
.ots .ot-pnt{display:flex;gap:14px;align-items:flex-start;padding:13px 0}
.ots .ot-pnt + .ot-pnt{border-top:1px solid #E6E8E6}
.ots .ot-points .ot-pnt i{flex:none;width:26px;height:26px;border-radius:9px;background:var(--green-soft);color:var(--green);font-style:normal;font-size:13px;font-weight:700;display:grid;place-items:center;margin-top:1px;font-family:"PJS",sans-serif}
.ots .ot-points .ot-pnt p{margin:0;font-size:16.5px;line-height:25px;color:#1F2421}
.ots .ot-example,.ots .ot-take{display:flex;gap:14px;align-items:flex-start;padding:16px 18px}
.ots .ot-example{background:var(--gold-soft)}
.ots .ot-take{background:var(--green-soft)}
.ots .ot-example svg,.ots .ot-take svg{flex:none;margin-top:2px}
.ots .ot-example p,.ots .ot-take p{margin:0;font-size:16.5px;line-height:25px;color:#1F2421}
.ots .ot-take p{font-weight:600;color:#113422}
.ot-dockb{height:52px!important;border-radius:26px!important;font-size:17px!important}
.ot-dock .bp[disabled],.ot-dock .bs[disabled]{opacity:.45}
.ot-shu{font-size:14px;line-height:20px;font-weight:600;color:var(--gold-ink);margin:18px 0 8px;margin-inline-start:18.667px}
.ot-shu:first-of-type{margin-top:6px}
.ot-srow{gap:14px;padding-inline:14px 16px!important;min-height:56px!important}
.ot-srow .t{font-size:15.5px!important;line-height:21px!important}
.ot-srow.on{background:var(--green-soft)!important}
.ot-srow.off{opacity:.55}
.ot-sd{flex:none;width:28px;height:28px;border-radius:50%;background:#fff;color:var(--sub);font-size:12.5px;font-weight:600;display:grid;place-items:center;font-family:"PJS",sans-serif}
.ot-sd.ok{background:var(--green)}
.ot-sd.cur{background:var(--green);color:#fff}

/* ---------- the knowledge review ---------- */
.ots .ot-revintro{display:flex;flex-direction:column;gap:4px;margin-top:16px;padding:16px 18px;background:var(--gold-soft)}
.ots .ot-revintro b{font-size:16px;line-height:22px;font-weight:600}
.ots .ot-revintro span{font-size:14.5px;line-height:21px;color:#3A3413}
.ots .ot-q{margin-top:26px}
.ots .ot-qs{font-size:13.5px;line-height:19px;font-weight:600;color:var(--gold-ink);margin-inline-start:.667px}
.ots .ot-qt{font-size:19px;line-height:27px;font-weight:700;margin:6px 0 14px;margin-inline-start:.667px}
.ots .ot-opt{padding-inline:18px 16px!important}
.ots .ot-opt .t{font-size:16px;line-height:22px}
.ots .row.pick.faint .t{color:var(--ph)}
.ots .ot-qv{display:flex;flex-direction:column;gap:4px;margin-top:10px;padding:14px 16px}
.ots .ot-qv.ok{background:var(--green-soft)}
.ots .ot-qv.no{background:var(--gold-soft)}
.ots .ot-qv b{font-size:15.5px;line-height:21px;font-weight:700}
.ots .ot-qv.ok b{color:var(--green)}
.ots .ot-qv.no b{color:var(--gold-ink)}
.ots .ot-qv span{font-size:15px;line-height:21px;color:var(--ink)}
.ots .ot-qv span em{font-style:normal;font-weight:600}
.ots .ot-qv i{font-size:13.5px;line-height:19px;color:var(--sub)}

/* ---------- the certificate page ---------- */
.ots.ot-certpage,.ots.ot-donepage{text-align:start}
.ots.ot-donepage .h1.center{margin-top:4px}
.ots.ot-donepage .sub.center{max-width:360px;margin-left:auto;margin-right:auto}
/* a course marked complete: the button shows it, in green, and takes the mark back when tapped */
.ot-dock .ot-completed{color:var(--green);background:var(--green-soft)}
.ots .ot-poster + .ot-wprog{margin-top:14px}
.ots .ot-seal{width:72px;height:72px;border-radius:50%;margin:10px auto 0;background:linear-gradient(145deg,var(--av-a),var(--av-b));display:grid;place-items:center;box-shadow:0 0 0 5px #fff,0 0 0 7px var(--av-ring),0 10px 24px rgba(19,83,51,.25)}
.ots .ot-done{text-align:center;font-size:14px;line-height:20px;font-weight:700;color:var(--gold-ink);margin-top:18px;letter-spacing:.02em}
.ots.ot-certpage .h1.center{margin-top:4px}
.ots.ot-certpage .sub.center{max-width:360px;margin-left:auto;margin-right:auto}
.ots .ot-certimg{display:block;width:100%;aspect-ratio:1600/1131;margin-top:22px;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px #E9E9E9,0 10px 28px rgba(0,0,0,.08);transition:transform .15s}
.ots .ot-certimg:active{transform:scale(.99)}
.ots .ot-certimg .skel{display:block;width:100%;height:100%;border-radius:0}
.ots .ot-certimg img{display:block;width:100%;height:100%;object-fit:cover}
.ots .ot-cfail{display:grid;place-items:center;height:100%;padding:20px;font-size:14.5px;color:var(--sub);text-align:center}
.ots .ot-hint{text-align:center;font-size:13.5px;line-height:19px;color:var(--ph);margin-top:10px}
.ots .ot-ship{display:flex;flex-direction:column;align-items:flex-start;padding:16px 18px}
.ots .ot-ship b{display:flex;align-items:center;gap:8px;font-size:16px;line-height:22px;font-weight:600}
.ots .ot-ship > span{font-size:14.5px;line-height:21px;color:var(--sub)}
.ots .ot-ship .ot-shipk{font-weight:600;color:var(--ink);margin-top:6px}
.ots .ot-ship em{font-style:normal;font-size:13.5px;line-height:19px;color:var(--sub);margin-top:8px}
.ots .ot-ship .lnk{font-size:14.5px;margin-top:10px}
.ots .ot-ship .bs{background:#fff}
.ots .ot-certno{text-align:center;font-size:12.5px;line-height:18px;color:var(--ph);margin-top:22px;letter-spacing:.04em;font-family:"PJS",sans-serif}
.ots .ot-certno.long{font-size:11px;letter-spacing:0;overflow-wrap:anywhere}

/* ---------- the certificate check ---------- */
.ots .ot-vform{display:flex;gap:10px;margin-top:22px}
.ots .ot-vform .input{flex:1;min-width:0;font-size:15.5px;padding:0 16px}
.ots .ot-vform .bp{width:auto;flex:none;padding:0 20px}
.ots .ot-verdict{display:flex;gap:14px;align-items:flex-start;margin-top:22px;padding:16px}
.ots .ot-vi{flex:none;width:44px;height:44px;border-radius:14px;display:grid;place-items:center}
.ots .ot-verdict.ok .ot-vi{background:var(--green-soft);color:var(--green)}
.ots .ot-verdict.mid .ot-vi{background:var(--gold-soft);color:var(--gold-ink)}
.ots .ot-verdict.bad .ot-vi{background:var(--red-soft);color:var(--red)}
.ots .ot-vt{display:flex;flex-direction:column;min-width:0}
.ots .ot-vt b{font-size:17px;line-height:23px;font-weight:600}
.ots .ot-vt span{font-size:14.5px;line-height:21px;color:var(--sub);margin-top:2px}
.ots .ot-verdict + .grp{margin-top:12px}
.ots .ot-vl{font-size:13.5px;line-height:18px;color:var(--sub);font-weight:500}
.ots .ot-verdict + .grp .row .t{line-height:18px}
.ots .ot-verdict + .grp .row .s{font-size:16px;line-height:22px;color:var(--ink);font-weight:500;margin-top:3px}

/* ---------- Tailored for You ---------- */
.ots .ot-me{display:flex;align-items:flex-start;gap:14px;margin-top:20px;padding:16px}
.ots .ot-me > .av,.ots .ot-me > .me-av{flex:none}
.ots .ot-met{display:flex;flex-direction:column;min-width:0}
.ots .ot-met b{font-size:17px;line-height:23px;font-weight:600}
.ots .ot-met > span{font-size:14.5px;line-height:20px;color:var(--sub);margin-top:2px}
.ots .ot-mesk{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px!important}
.ots .ot-mesk i{font-style:normal;height:26px;line-height:26px;padding:0 10px;border-radius:13px;background:#fff;font-size:13px;font-weight:600;color:var(--ink)}
.ots .ot-met em{font-style:normal;font-size:13px;line-height:18px;color:var(--gold-ink);font-weight:600;margin-top:8px}
.ots .ot-job{display:flex;flex-direction:column;gap:4px;margin-top:14px;padding:16px 18px;background:var(--green-soft)}
.ots .ot-jobh{display:flex;align-items:center;gap:10px}
.ots .ot-jobh b{font-size:16.5px;line-height:22px;font-weight:600;color:var(--green)}
.ots .ot-jobtopic{font-size:15.5px;line-height:22px;font-weight:600;color:var(--ink);margin-top:4px}
.ots .ot-jobst{font-size:14px;line-height:20px;color:var(--sub)}
.ots .ot-job .ot-bar{background:#fff}
.ots .ot-job em{font-style:normal;font-size:13px;line-height:18px;color:var(--sub);margin-top:8px}
.ots .ot-job.fail{background:var(--red-soft)}
.ots .ot-job.fail b{font-size:16.5px;color:var(--red)}
.ots .ot-job.fail > span{font-size:14.5px;line-height:20px;color:var(--ink)}
.ots .ot-job.fail .grid2{margin-top:12px}
.ots .ot-job.fail .bs{background:#fff;height:46px}
.ots .ot-job.fail .bp{height:46px}
.ots .ot-res{display:flex;flex-direction:column;align-items:flex-start;margin-top:14px;padding:18px}
.ots .ot-res > .chip{height:28px;gap:4px}
.ots .ot-rest{font-size:21px;line-height:28px;font-weight:700;margin-top:10px;align-self:stretch}
.ots .ot-ressub{font-size:15px;line-height:21px;color:var(--sub);margin-top:4px;align-self:stretch}
.ots .ot-res .ot-chips{margin-top:12px}
.ots .ot-res .ot-chips .chip{background:#fff}
.ots .ot-why{display:flex;flex-direction:column;align-self:stretch;margin-top:14px;padding:13px 15px;border-radius:18px;background:#fff}
.ots .ot-why b{font-size:14px;line-height:19px;font-weight:600;color:var(--gold-ink)}
.ots .ot-why span{font-size:15px;line-height:22px;color:var(--ink);margin-top:3px}
.ots .ot-res > .bp{align-self:stretch}
.ots .ot-also{display:flex;align-items:center;gap:8px;margin-top:10px;align-self:stretch;flex-wrap:wrap}
.ots .ot-also span{font-size:14px;color:var(--sub);font-weight:500;margin-inline-end:2px}
.ots .ot-also .bs{width:auto;flex:1;height:42px;padding:0 12px;border-radius:21px;font-size:14.5px;background:#fff}
.ots .ot-dlmsg{font-size:14px;line-height:20px;color:var(--green);font-weight:600;margin-top:8px;min-height:0}
.ots .ot-dlmsg.err{color:var(--red)}
.ots .ot-resh{font-size:14.5px;line-height:20px;font-weight:600;color:var(--sub);margin:18px 0 8px}
.ots .ot-outs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;align-self:stretch}
.ots .ot-outs li{display:flex;gap:10px;align-items:flex-start;font-size:15.5px;line-height:22px}
.ots .ot-outs li svg{flex:none;margin-top:3px}
.ots .ot-res .ot-syl{align-self:stretch}
.ots .ot-res .ot-unit{background:#fff}
.ots .ot-res .ot-ul{padding-inline-start:60px}
.ots .ot-res .ot-sn{background:var(--row)}
.ots .ot-res .ot-links{align-self:stretch}
.ots .ot-sugh{display:flex;align-items:center;gap:6px;font-size:14px;line-height:20px;font-weight:600;color:var(--gold-ink);margin:14px 0 8px;margin-inline-start:18px}
.ots .ot-sugs{display:flex;flex-direction:column;gap:8px}
.ots .ot-sugs .skel{display:block;height:58px;border-radius:18px}
.ots .ot-sug{display:flex;flex-direction:column;width:100%;padding:12px 16px;border-radius:18px;background:var(--row);text-align:start;color:var(--ink);box-shadow:inset 0 0 0 1.5px transparent;transition:box-shadow .15s,background .15s}
.ots .ot-sug b{font-size:15.5px;line-height:21px;font-weight:600}
.ots .ot-sug span{font-size:13.5px;line-height:19px;color:var(--sub);margin-top:2px}
.ots .ot-sug.on{background:var(--green-soft);box-shadow:inset 0 0 0 1.5px var(--green)}
.ots .ot-tlseg button{font-size:15px}
.ots .ot-tlseg button[disabled]{opacity:.35}
.ots .ot-left{text-align:center;font-size:13.5px;line-height:19px;color:var(--sub);margin-top:10px}
.ots .ot-tlrow{display:flex;align-items:center;padding:0!important;min-height:72px!important}
.ots .ot-tlrow.on{background:var(--green-soft)}
.ots .ot-tlrb{flex:1;min-width:0;display:flex;align-items:center;position:relative;padding-block:10px;padding-inline:61px 6px;text-align:start;min-height:72px;color:var(--ink)}
.ots .ot-tlrb .t{white-space:normal;line-height:22px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ots .ot-tlrb .s{white-space:normal}
.ots .ot-tldel{flex:none;width:52px;height:52px;display:grid;place-items:center;border-radius:50%}
.ots .ot-tldel:active{background:rgba(0,0,0,.05)}

/* ---------- small phones ---------- */
@media (max-width:360px){
  .ots .ot-title{font-size:20px;line-height:27px}
  .ots .ot-stitle{font-size:22px;line-height:29px}
  .ots .ot-fact span{font-size:12px}
  .ot-fseg button{font-size:13.5px}
}
@media (prefers-reduced-motion:reduce){.ot-pulse,.ots .ot-pvchip i{animation:none}}
/* video courses: a two column grid of small cards, each picture moving slowly, or its own short clip playing silently (22 Oct 2026) */
.ots .ot-vgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.ots .ot-vtile{display:flex;flex-direction:column;width:100%;min-width:0;padding:0;overflow:hidden;text-align:start;color:var(--ink);background:#fff;border:1px solid #ECEEEA;border-radius:20px;box-shadow:0 1px 2px rgba(12,12,12,.04),0 12px 30px -14px rgba(19,83,51,.16);transition:transform .15s}
.ots .ot-vtile:active{transform:scale(.97)}
.ots .ot-vt-pic{position:relative;display:block;width:100%;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(140deg,#1E5A3C 0%,#0F3A25 100%)}
.ots .ot-vt-kb{position:absolute;inset:-6%;background:center/cover no-repeat;animation:otKB 14s ease-in-out infinite alternate;will-change:transform}
.ots .ot-vtile:nth-child(2n) .ot-vt-kb{animation-delay:-5s;animation-direction:alternate-reverse}
.ots .ot-vtile:nth-child(3n) .ot-vt-kb{animation-delay:-9s}
@keyframes otKB{0%{transform:scale(1) translate(0,0)}50%{transform:scale(1.1) translate(-2.5%,-1.5%)}100%{transform:scale(1.16) translate(2%,1.5%)}}
@media (prefers-reduced-motion:reduce){.ots .ot-vt-kb{animation:none}}
.ots .ot-vt-cr{position:absolute;inset:0;display:grid;place-items:center;font-style:normal}
.ots .ot-vt-cr::after{content:"";position:absolute;inset:0;background:radial-gradient(120% 80% at 30% 20%,rgba(255,255,255,.14),transparent 60%);animation:otGlow 6s ease-in-out infinite alternate}
@keyframes otGlow{from{opacity:.4;transform:translateX(-6%)}to{opacity:1;transform:translateX(6%)}}
.ots .ot-vt-clip{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .5s}
.ots .ot-vt-pic.live .ot-vt-clip{opacity:1}
.ots .ot-vt-pic::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,0) 40%,rgba(0,0,0,0) 60%,rgba(0,0,0,.30) 100%);pointer-events:none}
.ots .ot-vt-code{position:absolute;z-index:1;top:8px;inset-inline-start:8px;height:22px;padding:0 8px;border-radius:11px;background:rgba(255,255,255,.95);color:var(--green);font-size:11.5px;font-weight:700;display:flex;align-items:center}
.ots .ot-vt-play{position:absolute;z-index:1;bottom:8px;inset-inline-start:8px;width:30px;height:30px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.ots .ot-vt-play svg{margin-inline-start:2px}
.ots .ot-vt-st{position:absolute;z-index:1;bottom:10px;inset-inline-end:8px;height:22px;padding:0 8px;border-radius:11px;background:rgba(255,255,255,.95);color:var(--gold-ink);font-size:11px;font-weight:700;display:flex;align-items:center;gap:4px}
.ots .ot-vt-st.ok{color:var(--green)}
.ots .ot-vt-tx{display:flex;flex-direction:column;gap:4px;padding:10px 12px 12px;min-width:0}
.ots .ot-vt-tx b{font-size:14px;line-height:19px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}
.ots .ot-vt-tx small{font-size:12px;color:var(--green);font-weight:600}
.ots .ot-vt-tx .ot-bar{margin-top:4px}
/* reading courses as white cards on the card style pages (22 Oct 2026) */
.view.axm-v .ots .ot-mcard{background:#fff;border:1px solid #ECEEEA;border-radius:22px;box-shadow:0 1px 2px rgba(12,12,12,.04),0 12px 30px -14px rgba(19,83,51,.16)}
.view.axm-v .ots .ot-cards{display:flex;flex-direction:column;gap:12px}
.view.axm-v .ots .ot-cards > .ot-mcard{margin:0}
