/* PBO redesign — tokens + page shell. All selectors under .pbo- */
.pbo-page{--pbo-navy:#053464;--pbo-blue:#235AF3;--pbo-bg:#F4F6F9;--pbo-text:#333333;--pbo-done:#2F9E6A;--pbo-line:#C9D4E2;--pbo-line2:#DDE3EB;font-family:'Gilam','Golos Text',sans-serif;font-weight:500;font-size:16px;letter-spacing:.4px;color:var(--pbo-text);background:var(--pbo-bg);line-height:1.5}
.pbo-page *,.pbo-page *::before,.pbo-page *::after{box-sizing:border-box}
.pbo-page h1,.pbo-page h2,.pbo-page h3{font-family:inherit;letter-spacing:0;margin:0}
.pbo-page p{margin:0}
.pbo-page a{color:inherit}
.pbo-wrap{max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px}
.pbo-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pbo-eyebrow{font-size:14px;font-weight:600;letter-spacing:.075em;color:#466496}
/* Textbook section ("Раздел"), shown above the project/lesson title. */
.pbo-razdel{align-self:flex-start;display:inline-flex;flex-wrap:wrap;gap:4px 6px;margin:0!important;padding:6px 14px;border-radius:999px;background:#FAD25A;color:#614300;font-size:15px;line-height:1.35;font-weight:600}
.pbo-razdel span{font-weight:500}
/* The theme adds margin-bottom to every class-less li except the last (li:not(:last-child):not([class])),
   which misaligns our structural lists. Editor text (.pbo-rich etc.) keeps the theme spacing. */
#pbo-main :is(.pbo-lnav ol,.pbo-flow ol,.pbo-pnav ol,.pbo-tabs ul,.pbo-get ul,.pbo-lessons,.pbo-rm-row,.pbo-steps,.pbo-pills,.pbo-stats,.pbo-subjects,.pbo-cells)>li{margin-bottom:0}
.pbo-btn{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 24px;border-radius:8px;text-decoration:none!important;font-weight:600;font-size:17px;border:0;cursor:pointer;font-family:inherit;line-height:1.2}
.pbo-btn--cream{background:#FFF8E3;color:#614300!important}
.pbo-btn--ghost{border:1px solid #5A7CA3;color:#fff!important;font-weight:500}
.pbo-btn--navy{background:var(--pbo-navy);color:#fff!important}
.pbo-btn--red{background:#C7283A;color:#fff!important}
.pbo-btn--red:hover{background:#A51F2F}
.pbo-btn--line{background:#fff;border:1px solid var(--pbo-line);color:var(--pbo-navy)!important;font-weight:500}
.pbo-page button.pbo-btn,.pbo-page button.pbo-fav{width:auto;flex:none;text-transform:none;letter-spacing:.4px;box-shadow:none}
/* The theme styles every <button> (red background, hidden icons); our buttons must win in every state. */
.pbo-page button.pbo-btn{background-image:none!important;border-radius:8px!important;font-family:inherit!important;line-height:1.2!important}
.pbo-page button.pbo-btn svg{display:inline-block!important;flex:none;width:auto;height:auto}
.pbo-page button.pbo-btn--navy,.pbo-page button.pbo-btn--navy:hover,.pbo-page button.pbo-btn--navy:focus{background-color:var(--pbo-navy)!important;color:#fff!important;border:0!important}
.pbo-page button.pbo-btn--navy:hover{background-color:#0A4A8A!important}
.pbo-page button.pbo-btn--line,.pbo-page button.pbo-btn--line:hover,.pbo-page button.pbo-btn--line:focus{background-color:#fff!important;color:var(--pbo-navy)!important;border:1px solid var(--pbo-line)!important}
.pbo-page button.pbo-btn--line:hover{border-color:var(--pbo-navy)!important}
.pbo-btn:focus-visible,.pbo-page a:focus-visible,.pbo-page button:focus-visible{outline:3px solid var(--pbo-blue);outline-offset:2px}

/* 1 · Archive */
.pbo-res{background:#fff;border-bottom:1px solid var(--pbo-line2)}
.pbo-res__in{padding-top:32px;display:flex;flex-direction:column;gap:12px}
.pbo-res__title{font-size:32px;line-height:40px;font-weight:600;color:var(--pbo-navy)}
.pbo-res__lead{line-height:1.6;max-width:760px}
.pbo-tabs{margin-top:8px;overflow-x:auto}
.pbo-tabs ul{list-style:none;margin:0;padding:0;display:flex;gap:4px;white-space:nowrap}
.pbo-tabs a{display:inline-flex;align-items:center;min-height:48px;padding:0 14px;text-decoration:none;border-bottom:3px solid transparent}
.pbo-tabs a[aria-current="page"]{border-bottom-color:var(--pbo-navy);color:var(--pbo-navy);font-weight:700}
.pbo-hero{background:var(--pbo-navy);color:#fff}
.pbo-hero__in{padding-top:56px;padding-bottom:56px;display:flex;flex-wrap:wrap;gap:40px;align-items:center}
.pbo-hero__text{flex:999 1 520px;min-width:0;display:flex;flex-direction:column;gap:18px}
.pbo-hero h1{font-size:44px;line-height:52px;font-weight:700;color:#FFF8E3;text-wrap:balance}
.pbo-hero__text>p{font-size:19px;line-height:1.6;max-width:640px}
.pbo-hero__ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.pbo-stats{flex:1 1 300px;margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:12px}
.pbo-stats>li{margin:0!important;align-self:stretch!important;padding:18px 20px;border-radius:12px 0 0 0;background:#fff;display:flex;flex-direction:column;justify-content:flex-start;gap:6px}
.pbo-stats span{font-size:14px;line-height:1.35;color:#466496}
.pbo-stats strong{display:block;font-size:34px;line-height:1;font-weight:700!important;color:#FA4155}
.pbo-kak{background:#FAFADC;border-bottom:1.5px solid #C3C8E1}
.pbo-kak__in{padding-top:72px;padding-bottom:72px;display:flex;flex-direction:column;gap:48px}
.pbo-kak__head{display:flex;flex-wrap:wrap;gap:24px 64px;align-items:flex-end}
.pbo-kak__head>div{flex:1 1 420px;display:flex;flex-direction:column;gap:14px}
.pbo-kak__head h2{font-size:40px;line-height:1.1;font-weight:700;color:#053264;text-wrap:balance}
.pbo-kak__head>p{flex:1 1 420px;font-size:19px;line-height:1.55;color:#111}
.pbo-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:24px}
.pbo-steps li{background:#fff;border:1.5px solid #C3C8E1;border-radius:20px;box-shadow:0 4px 14px rgba(5,50,100,.10);padding:32px 28px;display:flex;flex-direction:column;gap:16px;margin:0}
.pbo-steps li.is-dark{background:#053264;border-color:#053264;color:#fff}
.pbo-steps__icon{width:64px;height:64px;border-radius:50%;background:#DFE3EF;color:#053264;display:flex;align-items:center;justify-content:center}
.pbo-steps li.is-dark .pbo-steps__icon{background:#FAD25A}
.pbo-steps__n{font-size:64px;line-height:1;font-weight:700;color:#FA4155;position:relative}
.pbo-steps li.is-dark .pbo-steps__n{color:#FAD25A}
.pbo-steps h3{font-size:25px;line-height:1.15;font-weight:700;color:#053264}
.pbo-steps li.is-dark h3{color:#fff}
.pbo-steps p{font-size:17px;line-height:1.5}
.pbo-get{display:flex;flex-wrap:wrap;gap:32px;align-items:center;padding:32px;border-radius:20px;background:#fff;border:1.5px solid #C3C8E1}
.pbo-get__text{flex:1 1 320px;display:flex;flex-direction:column;gap:10px}
.pbo-get h3{font-size:28px;line-height:1.15;font-weight:700;color:#053264}
.pbo-get p{font-size:17px;line-height:1.5}
.pbo-get ul{flex:2 1 480px;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:14px 28px}
.pbo-get li{display:flex;gap:12px;line-height:1.45;margin:0}
.pbo-get li svg{flex:none}
.pbo-get strong{font-weight:600;color:#053264}
.pbo-izbor{padding-top:64px;padding-bottom:88px}
.pbo-izbor__in{display:flex;flex-direction:column;gap:24px}
.pbo-legacy{margin-top:8px}
.pbo-legacy p{margin:revert}
.pbo-izbor h2{font-size:32px;line-height:40px;font-weight:600;color:var(--pbo-navy)}
.pbo-izbor>div>p{margin-top:8px;line-height:1.6}
.pbo-subjects{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(270px,100%),1fr));gap:16px}
.pbo-subject{background:#fff;border:1px solid var(--pbo-line2);border-radius:12px 0 0 0;box-shadow:0 1px 3px rgba(5,52,100,.07),0 8px 24px rgba(5,52,100,.08);padding:20px;display:flex;flex-direction:column;gap:16px;margin:0}
.pbo-subject__head{display:flex;align-items:center;gap:14px}
.pbo-subject__abbr{flex:none;width:52px;height:52px;border-radius:50%;background:#EEF3FE;color:var(--pbo-navy);display:flex;align-items:center;justify-content:center;font-weight:700}
.pbo-subject__name{display:flex;flex-direction:column;gap:3px;min-width:0}
.pbo-subject__name>span:first-child{font-size:18px;font-weight:600;color:var(--pbo-navy);line-height:1.3}
.pbo-subject__meta{font-size:14px;color:#4A5868}
.pbo-subject__grid{padding:12px;border-radius:8px;background:var(--pbo-bg);display:flex;flex-direction:column;gap:10px}
.pbo-subject__label{font-size:13px;color:#4A5868}
.pbo-cells{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.pbo-cells>span{display:flex}
.pbo-cells a,.pbo-cells .is-off{flex:1;min-height:44px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:16px}
.pbo-cells a{border:1px solid var(--pbo-line);background:#fff;color:var(--pbo-navy);text-decoration:none;font-weight:700}
.pbo-cells a:hover{background:var(--pbo-navy);color:#fff;border-color:var(--pbo-navy)}
.pbo-cells .is-off{background:#E6EBF1;color:#6B7888}
@media (max-width:640px){.pbo-hero h1{font-size:34px;line-height:42px}.pbo-kak__head h2{font-size:30px}.pbo-kak__in{padding-top:48px;padding-bottom:48px}}

/* Shared */
.pbo-btn--sm{min-height:44px;padding:0 18px;font-size:15px;gap:8px}
.pbo-card{background:#fff;border:1px solid var(--pbo-line2);border-radius:12px 0 0 0;box-shadow:0 1px 3px rgba(5,52,100,.07),0 8px 24px rgba(5,52,100,.08)}
.pbo-num{flex:none;border-radius:50%;background:var(--pbo-navy);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.pbo-num--sm{width:28px;height:28px;font-size:14px}
.pbo-num--lg{width:48px;height:48px;font-size:20px}
.pbo-crumbs{font-size:14px;margin-bottom:10px}
.pbo-crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.pbo-crumbs li{margin:0}
.pbo-crumbs li[aria-current]{color:var(--pbo-navy);font-weight:600}
.pbo-top{background:#fff;border-bottom:1px solid var(--pbo-line2)}
.pbo-top__in{padding-top:24px;padding-bottom:44px;display:flex;flex-direction:column;gap:14px}
.pbo-top__row{display:flex;flex-wrap:wrap;align-items:center;gap:40px}
.pbo-top__text{flex:999 1 520px;min-width:0;display:flex;flex-direction:column;gap:14px}
.pbo-top h1{font-size:40px;line-height:48px;font-weight:700;color:var(--pbo-navy)}
.pbo-top__lead{font-size:18px;line-height:1.6}
.pbo-top__meta{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:15px;color:#4A5868}
/* Class page: colourful header (Accent2 subtle bg, Accent3/Accent1 circles, stat chips) */
.pbo-top--color{background:#FFF8E3;position:relative;overflow:hidden}
.pbo-top--color::before,.pbo-top--color::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.pbo-top--color::before{right:-60px;top:-80px;width:280px;height:280px;background:#CFF1F7}
.pbo-top--color::after{right:160px;bottom:-70px;width:150px;height:150px;background:#FFD5D9}
.pbo-top--color .pbo-top__in{position:relative;z-index:1}
.pbo-top--color .pbo-top__meta{gap:10px}
.pbo-stat{padding:6px 14px;border-radius:999px;font-weight:600;font-size:15px;line-height:1.3}
.pbo-stat--projects{background:#FAD25A;color:#614300}
.pbo-stat--lessons{background:#78D7EB;color:#093544}
.pbo-stat--hours{background:#73D782;color:#134D20}
@media (max-width:640px){.pbo-top--color::before{width:160px;height:160px;right:-70px;top:-70px}.pbo-top--color::after{width:90px;height:90px;right:40px;bottom:-50px}}
.pbo-grade .pbo-project__topic{align-self:flex-start;padding:4px 12px;border-radius:999px;background:#E4F2F5;color:#1C3E43}
.pbo-grade .pbo-question{background:#EAF9FC}
.pbo-grade .pbo-project__product{display:block;width:100%;padding:10px 14px;border-radius:12px 0 0 0;background:#FEF0C5;color:#614300;line-height:1.5}
.pbo-grade .pbo-project__product strong{color:#053264;font-weight:600}
.pbo-top__art{flex:1 1 220px;max-width:320px}
.pbo-top__art img{width:100%;height:auto;display:block}
.pbo-ebrd{margin:0;padding:0 28px 20px!important;font-size:12px;line-height:1.5;font-style:italic}
.pbo-empty{padding:28px}
.pbo-chip{flex:none;display:none;align-items:center;gap:6px;font-size:14px;font-weight:600;border-radius:999px}
.pbo-chip--done{padding:4px 12px 4px 8px;background:#E8F6EF;border:1px solid #BFE5D0;color:#1F6B47}
.pbo-chip--next{padding:6px 14px 6px 10px;border-radius:8px;background:#FFF8E3;color:#614300}
.is-done>a>.pbo-chip--done,.is-done>.pbo-chip--done{display:inline-flex}
.is-next>a>.pbo-chip--next{display:inline-flex}
.pbo-min{flex:none;display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#4A5868}

/* 2 · Grade */
.pbo-grade__body{padding-top:40px;padding-bottom:72px;display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.pbo-grade__side{flex:1 1 260px;display:flex;flex-direction:column;gap:20px}
@media (min-width:960px){.pbo-grade__side{position:sticky;top:24px}}
.pbo-continue{padding:20px;border-radius:12px 0 0 0;background:var(--pbo-navy);color:#fff;display:flex;flex-direction:column;gap:12px}
.pbo-continue[hidden]{display:none}
.pbo-continue__label{font-size:13px;color:#D5E0EE}
.pbo-continue__title{font-size:17px;line-height:1.4;font-weight:600;color:#FFF8E3}
.pbo-continue .pbo-btn{justify-content:center}
.pbo-pnav{padding:20px;display:flex;flex-direction:column;gap:12px}
.pbo-pnav h2{font-size:20px;line-height:24px;font-weight:600;color:var(--pbo-navy)}
.pbo-pnav ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.pbo-pnav li{margin:0}
.pbo-pnav a{display:flex;gap:12px;align-items:flex-start;min-height:44px;padding:10px 8px;border-radius:8px;text-decoration:none;line-height:1.4}
.pbo-pnav a:hover{background:var(--pbo-bg)}
.pbo-pnav__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pbo-pnav__name{font-size:15px;font-weight:600;color:var(--pbo-navy)}
.pbo-pnav__meta{font-size:13px;color:#4A5868}
.pbo-grade__list{flex:999 1 640px;min-width:0;display:flex;flex-direction:column;gap:28px}
.pbo-project{overflow:hidden;scroll-margin-top:24px}
.pbo-project__head{padding:28px;display:flex;gap:20px;align-items:flex-start}
.pbo-project__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}
.pbo-project__topic{font-size:14px;line-height:1.4;font-weight:600;color:var(--pbo-blue)}
.pbo-project h2{font-size:30px;line-height:38px;font-weight:600}
.pbo-project h2 a{color:var(--pbo-navy);text-decoration:none}
.pbo-project__meta{margin:0!important;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.pbo-project__kind{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;background:var(--pbo-navy);color:#fff;font-size:14px;line-height:1.4;font-weight:600;white-space:nowrap}
.pbo-grade .pbo-project__meta .pbo-project__topic{align-self:auto}
.pbo-maprow{margin-top:6px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.pbo-mapbtn{white-space:nowrap;gap:10px}
@media (max-width:640px){.pbo-mapbtn{flex:1 1 100%;justify-content:center;padding-left:14px;padding-right:14px}}
.pbo-project h2 a:hover{text-decoration:underline}
.pbo-project__desc{line-height:1.6}
.pbo-project__desc p{margin:0 0 8px}
.pbo-question{margin:4px 0 0!important;display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:12px 0 0 0;background:#EEF3FE;color:var(--pbo-navy);line-height:1.45}
.pbo-question svg{flex:none;margin-top:1px}
.pbo-question strong{font-weight:600}
.pbo-progress{padding:0 28px;display:flex;align-items:center;gap:12px}
.pbo-progress__text{font-size:14px;color:#4A5868;flex:none}
.pbo-progress__bars{flex:1;display:flex;gap:4px}
.pbo-progress__bars span{flex:1;height:6px;border-radius:999px;background:var(--pbo-line2)}
.pbo-progress__bars span.is-done{background:var(--pbo-done)}
.pbo-lessons{list-style:none;margin:12px 0 0;padding:4px 20px 8px;display:flex;flex-direction:column;border-top:1px solid #E6EBF1}
.pbo-lessons li{margin:0;display:flex;align-items:center;gap:8px;border-bottom:1px solid #E6EBF1}
.pbo-lessons a{flex:1 1 auto;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;min-height:56px;padding:10px 8px;text-decoration:none}
.pbo-lessons li:last-child{border-bottom:0}
.pbo-lessons a:hover .pbo-lessons__title{color:var(--pbo-navy);text-decoration:underline}
.pbo-dot{flex:none;width:34px;height:34px;border-radius:50%;background:#fff;border:2px solid var(--pbo-line);color:var(--pbo-navy);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}
.pbo-page .is-next .pbo-dot{border-color:var(--pbo-navy)}
.pbo-page .is-done .pbo-dot{background:#1F7A4D;border-color:#1F7A4D;color:#fff} /* darker than --pbo-done: white digits need ≥4.5:1 */
.pbo-lessons__title{flex:999 1 280px;min-width:0;font-weight:600;line-height:1.45;color:var(--pbo-text)}
.pbo-project__foot{padding:14px 28px 20px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.pbo-project__product{font-size:14px;color:#4A5868}
.pbo-project__product strong{color:var(--pbo-navy);font-weight:600}
@media (max-width:640px){.pbo-top h1{font-size:30px;line-height:38px}.pbo-project__head{padding:20px;gap:14px}.pbo-num--lg{width:36px;height:36px;font-size:16px}.pbo-project h2{font-size:24px;line-height:30px}.pbo-progress,.pbo-project__foot{padding-left:20px;padding-right:20px}.pbo-lessons{padding-left:12px;padding-right:12px}.pbo-ebrd{padding:0 20px 20px!important}}

/* 3 · Project */
@font-face{font-family:"Plovdiv Script";src:url("../fonts/PlovdivScript.otf") format("opentype");font-display:swap}
.pbo-crumbbar{background:#fff;border-bottom:1px solid var(--pbo-line2)}
.pbo-crumbbar .pbo-crumbs{margin:0;padding:14px 0}
.pbo-phero{background:#FAFADC;border-bottom:1.5px solid #C3C8E1;overflow:hidden}
.pbo-phero__in{padding-top:48px;padding-bottom:56px;display:flex;flex-direction:column;gap:48px}
.pbo-phero__top{display:flex;flex-wrap:wrap;gap:32px;align-items:center;justify-content:space-between}
.pbo-phero__text{flex:999 1 520px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.pbo-phero h1{font-size:56px;line-height:1.05;font-weight:700;color:#053264;text-wrap:balance}
.pbo-phero__lead{font-size:20px;line-height:1.4;color:#053264;max-width:640px}
.pbo-phero__lead p{margin:0 0 8px}
.pbo-pills{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.pbo-pills li{margin:0;background:#fff;color:#053264;border:1.5px solid #C3C8E1;border-radius:999px;padding:9px 18px;font-size:15px;font-weight:600}
.pbo-pills li.is-navy{background:#053264;border-color:#053264;color:#fff}
.pbo-phero__actions{margin-top:12px;display:flex;flex-wrap:wrap;gap:10px}
.pbo-btn--round{border-radius:14px;min-height:48px;padding:0 22px;font-size:16px}
.pbo-page .pbo-fav,.pbo-page .pbo-fav:hover,.pbo-page .pbo-fav:focus{flex:none;width:48px!important;height:48px!important;min-height:0!important;display:inline-flex;align-items:center;justify-content:center;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;cursor:pointer;padding:0!important;margin:0!important}
.pbo-page .pbo-fav svg{display:block!important;width:32px;height:32px;transition:transform .15s}
.pbo-page .pbo-fav:hover svg{transform:scale(1.12)}
.pbo-page .pbo-fav:focus:not(:focus-visible){outline:none}
.pbo-page .pbo-fav[hidden]{display:none!important}
.pbo-fav[aria-pressed="true"] svg{fill:#FA4155}
.pbo-phero__q{flex:1 1 380px;display:flex;flex-direction:column;gap:16px}
.pbo-qcard{background:#fff;border:1.5px solid #C3C8E1;border-radius:20px;box-shadow:0 4px 14px rgba(5,50,100,.10);padding:26px 30px;display:flex;flex-direction:column;gap:10px}
.pbo-qcard p{font-family:"Plovdiv Script",cursive;font-size:30px;line-height:1.35;color:#053264;letter-spacing:0}
.pbo-prepcard{align-self:flex-start;display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:16px 22px;border-radius:14px;background:#fff;border:1.5px solid #C3C8E1;text-decoration:none;color:#053264}
.pbo-prepcard__title{font-weight:700;font-size:18px}
.pbo-prepcard.is-done{border-color:var(--pbo-done)}
.pbo-rm{position:relative}
.pbo-rm-row{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:24px;list-style:none;margin:0;padding:0}
.pbo-rm-row+.pbo-rm-row{margin-top:48px}
.pbo-rm-row.rev{direction:rtl}
.pbo-rm-row.rev>*{direction:ltr}
.pbo-rm-road{position:absolute;top:56px;height:78px;background:#C3C8E1;z-index:0}
.pbo-rm-road::before{content:"";position:absolute;left:0;right:0;top:6px;height:66px;background:#fff}
.pbo-rm-road::after{content:"";position:absolute;left:0;right:0;top:37px;border-top:4px dashed #82B4BE}
.pbo-rm-turn{position:absolute;top:56px;left:87.5%;right:-40px;height:calc(100% + 126px);border:78px solid #C3C8E1;border-left:0;border-radius:0 999px 999px 0;z-index:0}
.pbo-rm-turn-in{position:absolute;top:-72px;bottom:-72px;left:0;right:-72px;border:66px solid #fff;border-left:0;border-radius:0 999px 999px 0}
.pbo-rm-turn-dash{position:absolute;top:-41px;bottom:-41px;left:0;right:-41px;border:4px dashed #82B4BE;border-left:0;border-radius:0 999px 999px 0}
.pbo-rm-turn.is-left{left:-40px;right:87.5%;border-left:78px solid #C3C8E1;border-right:0;border-radius:999px 0 0 999px}
.pbo-rm-turn.is-left .pbo-rm-turn-in{left:-72px;right:0;border-left:66px solid #fff;border-right:0;border-radius:999px 0 0 999px}
.pbo-rm-turn.is-left .pbo-rm-turn-dash{left:-41px;right:0;border-left:4px dashed #82B4BE;border-right:0;border-radius:999px 0 0 999px}
.pbo-rm-start{position:absolute;left:-14px;top:76px;z-index:2;height:38px;padding:0 18px;display:flex;align-items:center;border-radius:999px;background:#053264;color:#fff;font-size:14px;font-weight:600;letter-spacing:.075em}
.pbo-rm-stop{position:relative;z-index:1;margin:0}
.pbo-rm-stop>a{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;text-decoration:none;padding-bottom:8px}
.pbo-rm-badgewrap{position:relative;width:190px;height:190px;max-width:100%}
.pbo-rm-circle{width:190px;height:190px;max-width:100%;border-radius:50%;background:#fff;border:3px solid #053264;box-shadow:0 4px 14px rgba(5,50,100,.10);display:flex;align-items:center;justify-content:center;overflow:hidden}
.pbo-rm-circle img{width:100%;height:100%;object-fit:cover}
.pbo-rm-bign{font-size:84px;font-weight:700;line-height:1;color:#DFE3EF;-webkit-text-stroke:3px #053264}
.pbo-rm-circle.is-final{border-color:#FA4155;box-shadow:0 4px 14px rgba(5,50,100,.14)}
.pbo-rm-stop.is-done .pbo-rm-circle{border-color:var(--pbo-done)}
.pbo-rm-label{position:absolute;left:-22px;top:6px;height:42px;padding:0 18px;border-radius:14px;background:#053264;color:#fff;font-size:19px;font-weight:700;white-space:nowrap;display:flex;align-items:center;box-shadow:0 4px 14px rgba(5,50,100,.18)}
.pbo-rm-status{position:absolute;right:-8px;bottom:8px;height:34px;padding:0 14px;border-radius:999px;font-size:14px;font-weight:600;display:none;align-items:center;gap:4px}
.pbo-rm-status.is-done{background:#D7FFAF;border:1.5px solid #2F9E6A;color:#1F5F2E;padding-left:8px}
.pbo-rm-status.is-next{background:#053264;color:#fff}
.pbo-rm-stop.is-done .pbo-rm-status.is-done,.pbo-rm-stop.is-next .pbo-rm-status.is-next{display:flex}
/* ✓ toggle per lesson (grade list + roadmap), like the old JetEngine "done" button */
.pbo-page .pbo-tick{flex:0 0 auto;width:40px!important;height:40px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border-radius:50%!important;border:2px solid var(--pbo-line)!important;background:#fff!important;color:#A9B7C9!important;box-shadow:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none!important;line-height:1;transition:background .15s,border-color .15s,color .15s}
.pbo-page .pbo-tick svg{display:block;width:18px;height:18px;stroke:currentColor;fill:none}
.pbo-page .pbo-tick:hover,.pbo-page .pbo-tick:focus-visible{border-color:var(--pbo-done)!important;color:var(--pbo-done)!important;background:#fff!important}
.pbo-page .pbo-tick:focus-visible{outline:3px solid #235AF3;outline-offset:2px}
.pbo-page .pbo-tick[aria-pressed="true"],.pbo-page .pbo-tick[aria-pressed="true"]:hover{background:var(--pbo-done)!important;border-color:var(--pbo-done)!important;color:#fff!important}
.pbo-page .pbo-rm-stop>.pbo-tick{position:absolute;top:2px;right:calc(50% - 100px);z-index:3;width:46px!important;height:46px!important;box-shadow:0 4px 14px rgba(5,50,100,.14)}
/* Keep the text of the stop next to the turn off the road (the turn overhangs the column by ~40px). */
.pbo-rm-stop[data-pbo-bend="right"]>a:not(.pbo-tick)>:not(.pbo-rm-badgewrap){margin-right:48px}
.pbo-rm-stop[data-pbo-bend="left"]>a:not(.pbo-tick)>:not(.pbo-rm-badgewrap){margin-left:48px}
@media (max-width:820px){.pbo-rm-stop[data-pbo-bend]>a:not(.pbo-tick)>:not(.pbo-rm-badgewrap){margin-left:0;margin-right:0}}
.pbo-rm-min{font-size:13px;font-weight:600;letter-spacing:.075em;color:#466496}
.pbo-rm-stop h3{font-size:21px;line-height:1.2;font-weight:700;color:#053264}
.pbo-rm-stop a:hover h3{text-decoration:underline}
.pbo-rm-desc{font-size:15px;line-height:1.38;color:#111}
.pbo-rm-final{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.pbo-rm-finalcard{width:100%;background:#053264;color:#fff;border-radius:20px;padding:22px 24px;display:flex;flex-direction:column;gap:10px;text-align:left;box-shadow:0 4px 14px rgba(5,50,100,.14)}
.pbo-rm-finalcard .pbo-eyebrow{font-size:13px;color:#FAD25A}
.pbo-rm-finalcard__text{font-size:15px;line-height:1.38}
.pbo-rm-finalcard__text p{margin:0 0 6px}
@media (max-width:820px){.pbo-rm-row{grid-template-columns:minmax(0,1fr);row-gap:40px}.pbo-rm-row.rev{direction:ltr}.pbo-rm-road,.pbo-rm-turn,.pbo-rm-start{display:none}.pbo-rm-row+.pbo-rm-row{margin-top:40px}.pbo-phero h1{font-size:38px}.pbo-qcard p{font-size:26px}}
.pbo-pbody{padding-top:56px;padding-bottom:72px;display:flex;flex-direction:column;gap:40px}
.pbo-box{background:#fff;border:1.5px solid #C3C8E1;border-radius:20px;box-shadow:0 1px 2px rgba(5,50,100,.08);padding:28px;display:flex;flex-direction:column;gap:14px}
.pbo-box>h2{font-size:25px;line-height:1.15;font-weight:600;color:#053264}
.pbo-goals{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:24px;align-items:start}
.pbo-rich{line-height:1.5}
.pbo-rich p{margin:0 0 10px}
.pbo-rich ul,.pbo-rich ol{margin:0;padding-left:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.pbo-rich li{margin:0;position:relative;padding-left:28px;font-weight:inherit!important}
.pbo-rich li span{font-weight:inherit!important}
.pbo-rich li::before{content:"";position:absolute;left:4px;top:8px;width:8px;height:8px;border-radius:50%;background:#FA4155}
.pbo-checks li::before{left:0;top:3px;width:18px;height:18px;border-radius:0;background:none;border:0;content:"";background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23053464' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");background-size:18px 18px}
.pbo-sheets{display:flex;flex-direction:column;gap:20px}
.pbo-sheets__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 24px}
.pbo-sheets__head h2,.pbo-supplies h2{font-size:32px;line-height:1.1;font-weight:700;color:#053264}
.pbo-sheets__head span{font-size:15px;color:#466496}
.pbo-mats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr));gap:20px}
.pbo-mat{margin:0;background:#fff;border:1.5px solid #C3C8E1;border-radius:20px;box-shadow:0 1px 2px rgba(5,50,100,.08);overflow:hidden;display:flex;flex-direction:column}
.pbo-mat__img{position:relative;display:block;aspect-ratio:1;background:#DFE3EF}
.pbo-mat__img img{display:block;width:100%;height:100%;object-fit:cover}
.pbo-mat__tag{position:absolute;left:12px;top:12px;height:32px;padding:0 12px;border-radius:10px;background:#053264;color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center}
.pbo-mat__body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:10px;flex:1}
.pbo-mat__title{display:block;padding:6px 0;margin:-6px 0;font-size:18px;line-height:1.25;font-weight:700;color:#053264!important;text-decoration:none}
.pbo-mat__title:hover{text-decoration:underline}
.pbo-mat__access{font-size:13px;color:#466496}
.pbo-mat__dl{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:14px;border:1.5px solid #053264;color:#053264!important;text-decoration:none;font-weight:600;font-size:15px}
.pbo-mat__dl:hover{background:#053264;color:#fff!important}
.pbo-author{flex-direction:row;flex-wrap:wrap;align-items:center;gap:24px}
.pbo-author img{flex:none;width:96px;height:96px;border-radius:50%;object-fit:cover;background:#DFE3EF}
.pbo-author>div{flex:1 1 320px;display:flex;flex-direction:column;gap:6px}
.pbo-author .pbo-eyebrow{font-size:14px}
.pbo-author__name{font-size:25px;line-height:1.15;font-weight:700;color:#053264}
.pbo-author__title{font-weight:600;color:#466496}
.pbo-author__bio{line-height:1.55;max-width:820px}
.pbo-author__bio p{margin:0 0 8px}
.pbo-author a{align-self:flex-start;color:#D0263A!important;font-weight:600}
.pbo-supplies{display:flex;flex-direction:column;gap:16px}
.pbo-supplies .pbo-rich{padding:18px 24px;background:#fff;border:1.5px solid #C3C8E1;border-radius:14px}
@media (min-width:720px){.pbo-supplies .pbo-rich>ul,.pbo-supplies .pbo-rich>ol{display:block;column-count:2;column-gap:48px}.pbo-supplies .pbo-rich li{break-inside:avoid;margin:0 0 10px}}
.pbo-othernav{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(360px,100%),1fr));gap:16px}
.pbo-othernav a{display:flex;align-items:center;gap:14px;padding:20px 24px;border-radius:20px;border:1.5px solid #C3C8E1;background:#fff;text-decoration:none;color:#053264}
.pbo-othernav a.is-next{justify-content:flex-end;text-align:right}
.pbo-othernav a>span{display:flex;flex-direction:column;gap:2px}
.pbo-othernav__k{font-size:13px;color:#466496}
.pbo-othernav__v{font-weight:600;color:#053264}
.pbo-ebrd--page{padding:0!important;color:#466496}

/* 4 · Lesson */
.pbo-lhead{gap:16px}
.pbo-lnav{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:12px 16px;border-radius:12px 0 0 0;background:var(--pbo-bg)}
.pbo-lnav__project{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--pbo-navy)!important;font-weight:600;text-decoration:none}
.pbo-lnav ol{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:6px;flex:1 1 260px}
.pbo-lnav li{display:flex;align-items:center;gap:6px;flex:1;margin:0}
.pbo-lnav li:last-child{flex:none}
.pbo-lnav .pbo-dot{width:36px;height:36px;text-decoration:none}
.pbo-lnav .pbo-dot.is-current{background:var(--pbo-navy);border-color:var(--pbo-navy);color:#fff}
.pbo-lnav__line{flex:1;height:2px;background:var(--pbo-line)}
.pbo-lnav__pos{font-size:14px;color:#4A5868}
.pbo-lessonpage .pbo-top h1{margin-top:8px;max-width:900px}
.pbo-lessonpage .pbo-top__lead{max-width:900px}
.pbo-lessonpage .pbo-top__lead p{margin:0 0 8px}
.pbo-lmeta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:4px}
.pbo-lpill{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;border:1px solid var(--pbo-line2);font-size:15px}
.pbo-lpill strong{font-weight:600;color:var(--pbo-navy)}
.pbo-page a.pbo-lpill--link{text-decoration:none;color:var(--pbo-navy)!important;background:#fff;border-color:var(--pbo-line);transition:border-color .15s,background .15s}
.pbo-page a.pbo-lpill--link:hover{border-color:var(--pbo-navy);background:#F3F7FD}
.pbo-lpill__go{font-weight:700;color:var(--pbo-blue)}
.pbo-lpill[hidden]{display:none}
.pbo-lpill.is-done-pill{background:#E8F6EF;border-color:#BFE5D0;color:#1F6B47}
.pbo-lpill.is-done-pill strong{color:#1F6B47}
.pbo-favbtn[hidden]{display:none}
.pbo-favbtn[aria-pressed="true"] svg{fill:#FA4155}
.pbo-lbody{padding-top:40px;padding-bottom:72px;display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.pbo-lmain{flex:999 1 600px;min-width:0;display:flex;flex-direction:column;gap:28px}
.pbo-lside{flex:1 1 320px;display:flex;flex-direction:column;gap:20px}
.pbo-lsec{padding:24px 28px;display:flex;flex-direction:column;gap:14px}
.pbo-lsec h2{display:flex;align-items:center;gap:12px;font-size:24px;line-height:30px;font-weight:600;color:var(--pbo-navy)}
.pbo-lsec h3{font-size:17px;font-weight:600;color:var(--pbo-navy);margin:6px 0 0}
.pbo-lside .pbo-lsec h2{font-size:22px;line-height:28px}
.pbo-icobox{flex:none;width:40px;height:40px;border-radius:10px;background:#EEF3FE;display:flex;align-items:center;justify-content:center}
.pbo-icobox.is-white{background:#fff}
.pbo-flow{padding:24px 28px;display:flex;flex-direction:column;gap:14px;box-shadow:none}
.pbo-flow h2{font-size:20px;line-height:24px;font-weight:600;color:var(--pbo-navy)}
.pbo-flow ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:14px 16px}
.pbo-flow li{margin:0}
.pbo-flow a{display:flex;gap:10px;align-items:flex-start;min-height:44px;padding:8px;border-radius:8px;text-decoration:none;line-height:1.35}
.pbo-flow a:hover,.pbo-flow a.is-active{background:var(--pbo-bg)}
.pbo-flow strong{font-weight:600;color:var(--pbo-navy)}
.pbo-flow__dot{flex:none;width:12px;height:12px;margin-top:4px;border-radius:50%}
.pbo-flow__meta{font-size:14px;color:#4A5868}
.pbo-act{overflow:hidden;scroll-margin-top:24px}
.pbo-act__head{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:20px 28px;border-bottom:1px solid var(--pbo-line2)}
.pbo-act__n{flex:none;width:44px;height:44px;border-radius:50%;background:#fff;border:2px solid;color:var(--pbo-navy);display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:700}
.pbo-act__head h2{flex:1 1 260px;font-size:24px;line-height:30px;font-weight:600;color:var(--pbo-navy)}
.pbo-tag{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:#fff;border:1px solid var(--pbo-line2);font-size:14px;font-weight:600;color:var(--pbo-navy)}
.pbo-act__body{padding:24px 28px 28px;display:flex;flex-direction:column;gap:16px}
.pbo-act__desc{font-size:17px;line-height:1.6}
.pbo-instr{display:flex;flex-direction:column;gap:12px;padding:20px;border-radius:12px 0 0 0;background:#F3F6FA}
.pbo-instr h3,.pbo-actmats h3{display:flex;align-items:center;gap:12px;font-size:20px;line-height:24px;font-weight:600;color:var(--pbo-navy)}
.pbo-rich i,.pbo-rich em{font-style:normal}
.pbo-say{margin:8px 0;padding:16px 20px;border-radius:12px 0 0 0;background:#FFF8E3;display:flex;flex-direction:column;gap:8px}
.pbo-say figcaption{font-size:13px;font-weight:600;color:#614300;letter-spacing:.4px}
.pbo-say blockquote{margin:0;padding:0;border:0;font-size:17px;line-height:1.6;color:var(--pbo-text);display:flex;flex-direction:column;gap:8px;font-style:normal}
.pbo-say blockquote p{margin:0}
.pbo-act__pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:16px}
.pbo-sum,.pbo-imp{display:flex;flex-direction:column;gap:10px;padding:20px;border-radius:12px 0 0 0}
.pbo-sum{background:#EEF3FE}
.pbo-imp{background:#FFEFF0}
.pbo-sum h3,.pbo-imp h3{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:600;color:var(--pbo-navy)}
.pbo-actmats{display:flex;flex-direction:column;gap:14px;padding:20px;border-radius:12px 0 0 0;background:#FAFADC}
.pbo-actmats h3{font-weight:700}
.pbo-mats--sm{grid-template-columns:repeat(auto-fill,minmax(min(190px,100%),1fr));gap:14px}
.pbo-mats--sm .pbo-mat,.pbo-mats--side .pbo-mat{border-radius:16px}
.pbo-mats--sm .pbo-mat__title{font-size:16px}
.pbo-mats--sm .pbo-mat__dl{background:#053464;color:#fff!important;border-radius:12px}
.pbo-mats--side{grid-template-columns:1fr;gap:12px}
.pbo-mats--side .pbo-mat{flex-direction:row}
.pbo-mats--side .pbo-mat__img{flex:none;width:96px;aspect-ratio:auto}
.pbo-mats--side .pbo-mat__body{padding:12px 14px;gap:8px}
.pbo-mats--side .pbo-mat__title{font-size:15px}
.pbo-mats--side .pbo-mat__dl{min-height:40px;font-size:14px}
.pbo-done{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:24px 28px;border-radius:12px 0 0 0;background:#fff;border:1px solid var(--pbo-line2)}
.pbo-done[hidden]{display:none}
.pbo-done>span{display:flex;flex-direction:column;gap:4px}
.pbo-done__title{font-size:20px;font-weight:600;color:var(--pbo-navy)}
.pbo-done__text{color:#4A5868}
.pbo-done.is-done{background:#E8F6EF;border-color:#BFE5D0}
.pbo-done.is-done .pbo-btn{background:#fff;color:var(--pbo-navy)!important;border:1px solid var(--pbo-line)}
.pbo-adjnav{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
.pbo-adjnav a{border-radius:12px 0 0 0;border-width:1px;border-color:var(--pbo-line2)}
.pbo-adjnav a.is-strong{border:2px solid var(--pbo-navy)}
@media (max-width:640px){.pbo-act__head,.pbo-act__body,.pbo-lsec,.pbo-flow{padding-left:18px;padding-right:18px}.pbo-act__head h2{font-size:20px;line-height:26px}}

/* Print: the lesson as a handout */
@media print{
	body.pbo-redesign header,body.pbo-redesign footer,body.pbo-redesign .elementor-location-header,body.pbo-redesign .elementor-location-footer,.pbo-crumbs,.pbo-lnav,.pbo-lmeta button,.pbo-done,.pbo-adjnav,.pbo-othernav,.pbo-mat__dl,.pbo-fav,.pbo-favbtn,.pbo-print,.pbo-flow__bar,body.pbo-redesign #beacon-container,body.pbo-redesign .buddypanel,body.pbo-redesign #wpadminbar{display:none!important}
	.pbo-page{background:#fff}
	.pbo-card,.pbo-box{box-shadow:none}
	.pbo-lbody{display:block;padding-top:16px}
	.pbo-lside{position:static;max-height:none;margin-top:24px}
	.pbo-act{break-inside:avoid-page}
	.pbo-mat__img{display:none}
	.pbo-page a{text-decoration:none}
}
