
.pm-video-shell--yandex{position:relative;overflow:hidden;aspect-ratio:16/9;border-radius:18px;background:#0f2f27;margin:24px 0}
.pm-video-shell--yandex iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.pm-video-shell--message{min-height:220px;display:grid;place-items:center;padding:28px;text-align:center;background:#edf6f1;border:1px solid rgba(21,68,55,.12);border-radius:18px;color:#173f34}
.pm-materials{margin:30px 0;padding:22px;border-radius:18px;background:#f2f8f5;border:1px solid rgba(21,68,55,.12)}
.pm-materials h3{margin:0 0 14px}
.pm-materials__list{display:grid;gap:10px}
.pm-material-link{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border-radius:12px;background:#fff;border:1px solid rgba(21,68,55,.12);text-decoration:none;color:#173f34}
.pm-material-link:hover{border-color:rgba(21,68,55,.35);transform:translateY(-1px)}
.pm-material-link small{font-size:12px;letter-spacing:.06em;color:#61766e}
.pm-lesson-preparing{margin:28px 0;padding:30px;border:1px solid rgba(179,138,69,.34);border-radius:18px;background:#fffaf0;color:#40534b}.pm-lesson-preparing h3{margin:8px 0 10px;color:#0b4336;font-family:var(--pm-serif);font-size:28px;font-weight:500}.pm-lesson-preparing p:last-child{max-width:680px;margin:0;line-height:1.65}
.pm-lesson-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:center;margin-top:28px;padding-top:24px;border-top:1px solid rgba(21,68,55,.12)}
.pm-lesson-nav>div:last-child{text-align:right}
@media (max-width:640px){.pm-lesson-nav{grid-template-columns:1fr}.pm-lesson-nav>div:last-child{text-align:left}.pm-lesson-nav .pm-button{width:100%;justify-content:center}}
.pm-study-route-return{margin:18px 0 0;font-size:13px}.pm-study-route-return a{color:inherit;font-weight:700}
.pm-postpartum-routes{max-width:900px}
.pm-postpartum-routes>.pm-lead{max-width:720px}
.pm-postpartum-routes__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:30px}
.pm-postpartum-routes__grid>a,.pm-postpartum-routes__grid>span{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border:1px solid rgba(21,68,55,.16);border-radius:16px;background:#fff;color:#173f34;text-decoration:none;font-size:17px;font-weight:700;line-height:1.35}
.pm-postpartum-routes__grid>a:hover{border-color:rgba(21,68,55,.42);background:#f2f8f5;transform:translateY(-1px)}
.pm-postpartum-routes__grid>a span{color:#9b7638;font-size:22px}
.pm-postpartum-routes__grid>.is-disabled{color:#6c7c76;background:#f4f7f5}
.pm-postpartum-routes__grid>.is-disabled small{font-size:11px;font-weight:500;white-space:nowrap}
@media (max-width:700px){.pm-postpartum-routes__grid{grid-template-columns:1fr}.pm-postpartum-routes__grid>a,.pm-postpartum-routes__grid>span{min-height:68px;padding:17px 18px;font-size:16px}}

/* Branded account dashboard, option 2 */
body.pm-account-page{
  background:#faf7f0;
}
body.pm-account-page .pm-header,
body.pm-account-page .pm-footer{
  display:none;
}
body.pm-account-page .pm-main{
  min-height:100vh;
}
.pm-account-page-shell{
  min-height:100vh;
}
.pm-account-app{
  --pm-account-green:#0b4336;
  --pm-account-green-dark:#07352b;
  --pm-account-paper:#fbf8f2;
  --pm-account-cream:#fffdf8;
  --pm-account-gold:#b38a45;
  --pm-account-gold-light:#e0c991;
  --pm-account-line:rgba(75,57,29,.15);
  display:grid;
  grid-template-columns:245px minmax(0,1fr);
  min-height:100vh;
  color:#183d32;
  background:var(--pm-account-paper);
}
.pm-account-sidebar{
  position:sticky;
  top:0;
  align-self:start;
  min-height:100vh;
  padding:38px 24px 30px;
  display:flex;
  flex-direction:column;
  background:var(--pm-account-green);
  color:#f8eed6;
}
.admin-bar .pm-account-sidebar{
  top:32px;
  min-height:calc(100vh - 32px);
}
.pm-account-brand{
  display:block;
  width:205px;
  margin:0 auto 48px;
}
.pm-account-brand img{
  width:100%;
  height:auto;
}
.pm-account-nav{
  display:grid;
  gap:12px;
}
.pm-account-nav a{
  min-height:58px;
  padding:0 18px;
  display:flex;
  align-items:center;
  gap:14px;
  border:1px solid transparent;
  border-radius:16px;
  color:#fbf5e6;
  text-decoration:none;
  font-size:16px;
  font-weight:600;
  transition:background-color 160ms ease,border-color 160ms ease,transform 160ms ease;
}
.pm-account-nav a:hover,
.pm-account-nav a:focus-visible{
  color:#fff;
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.1);
  transform:translateX(2px);
}
.pm-account-nav a.is-active{
  color:#fff4d7;
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.08);
}
.pm-account-nav .dashicons{
  width:24px;
  height:24px;
  font-size:24px;
  line-height:1;
  color:var(--pm-account-gold-light);
}
.pm-account-sidebar__note{
  margin:auto 6px 0;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.14);
  color:rgba(255,248,230,.72);
  font-size:13px;
  line-height:1.6;
}
.pm-account-main{
  position:relative;
  min-width:0;
  padding:56px clamp(32px,4vw,54px) 40px;
  overflow:hidden;
}
.pm-account-decoration{
  position:absolute;
  top:0;
  right:0;
  width:410px;
  height:205px;
  object-fit:cover;
  object-position:top right;
  opacity:.72;
  pointer-events:none;
}
.pm-account-system-notice{
  position:relative;
  z-index:2;
  max-width:760px;
  margin:0 0 24px;
  padding:14px 18px;
  border:1px solid rgba(11,67,54,.18);
  border-radius:14px;
  background:#f1f7f3;
  color:#0b4336;
  font-size:14px;
  font-weight:650;
  line-height:1.45;
}
.pm-account-welcome{
  position:relative;
  z-index:1;
  max-width:940px;
  margin-bottom:46px;
}
.pm-account-welcome__eyebrow{
  margin:0 0 12px;
  color:var(--pm-account-gold);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:11px;
  font-weight:750;
}
.pm-account-welcome h1{
  margin:0;
  color:var(--pm-account-green);
  font-family:var(--pm-serif);
  font-size:clamp(44px,4.5vw,68px);
  font-weight:500;
  letter-spacing:-.025em;
  line-height:1.04;
}
.pm-account-welcome>p:last-child{
  max-width:760px;
  margin:20px 0 0;
  color:#68716d;
  font-size:18px;
  line-height:1.62;
}
.pm-account-course-layout{
  display:grid;
  grid-template-columns:minmax(620px,1fr) minmax(280px,330px);
  gap:34px;
  align-items:start;
}
.pm-account-featured-course{
  min-width:0;
  min-height:540px;
  display:grid;
  grid-template-columns:minmax(240px,.9fr) minmax(300px,1.1fr);
  overflow:hidden;
  border:1px solid rgba(179,138,69,.38);
  border-radius:18px;
  background:var(--pm-account-cream);
  box-shadow:0 22px 60px rgba(48,43,32,.07);
}
.pm-account-featured-course__media{
  min-height:540px;
  overflow:hidden;
  background:#e8e1d5;
}
.pm-account-featured-course__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.pm-account-featured-course__body{
  min-width:0;
  padding:clamp(34px,4vw,54px) clamp(28px,4vw,52px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.pm-account-course-status,
.pm-account-next-label{
  margin:0;
  color:var(--pm-account-gold);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:11px;
  font-weight:750;
}
.pm-account-featured-course h2{
  margin:12px 0 0;
  color:var(--pm-account-green);
  font-family:var(--pm-serif);
  font-size:clamp(35px,3.25vw,50px);
  font-weight:500;
  letter-spacing:-.025em;
  line-height:1.06;
}
.pm-account-progress{
  margin:30px 0 38px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
}
.pm-account-progress__track{
  height:8px;
  overflow:hidden;
  border-radius:999px;
  background:#e5ded1;
}
.pm-account-progress__bar{
  height:100%;
  border-radius:inherit;
  background:var(--pm-account-green);
}
.pm-account-progress strong{
  color:var(--pm-account-green);
  font-size:18px;
  font-weight:650;
}
.pm-account-featured-course h3{
  margin:12px 0 0;
  color:var(--pm-account-green);
  font-family:var(--pm-serif);
  font-size:clamp(27px,2.35vw,36px);
  font-weight:500;
  letter-spacing:-.02em;
  line-height:1.15;
}
.pm-account-access-term{
  margin:14px 0 0;
  color:#7a7e7a;
  font-size:12px;
}
.pm-account-primary-button{
  width:100%;
  min-height:66px;
  margin-top:34px;
  padding:14px 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--pm-account-green);
  border-radius:12px;
  background:var(--pm-account-green);
  color:#fff;
  text-decoration:none;
  font-size:16px;
  font-weight:700;
  transition:background-color 160ms ease,transform 160ms ease,box-shadow 160ms ease;
}
.pm-account-primary-button:hover,
.pm-account-primary-button:focus-visible{
  color:#fff;
  background:var(--pm-account-green-dark);
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(7,53,43,.16);
}
.pm-account-access-ended{
  margin-top:30px;
  color:#7b6450;
  font-size:14px;
  font-weight:700;
}
.pm-account-other-courses{
  min-width:0;
  padding-top:24px;
}
.pm-account-other-courses>h2,
.pm-account-profile h2,
.pm-account-empty h2{
  margin:0;
  color:var(--pm-account-green);
  font-family:var(--pm-serif);
  font-size:36px;
  font-weight:500;
  letter-spacing:-.02em;
  line-height:1.08;
}
.pm-account-other-courses__list{
  margin-top:22px;
  display:grid;
}
.pm-account-secondary-course{
  position:relative;
  min-width:0;
  display:grid;
  grid-template-columns:94px minmax(0,1fr) 32px;
  gap:18px;
  align-items:center;
  padding:24px 0;
  border-bottom:1px solid var(--pm-account-line);
}
.pm-account-secondary-course:first-child{
  border-top:1px solid var(--pm-account-line);
}
.pm-account-secondary-course>img{
  width:94px;
  height:112px;
  object-fit:cover;
  border-radius:14px;
  background:#e8e1d5;
}
.pm-account-secondary-course__body{
  min-width:0;
}
.pm-account-secondary-course h3{
  margin:0;
  color:var(--pm-account-green);
  font-family:var(--pm-serif);
  font-size:25px;
  font-weight:500;
  line-height:1.12;
}
.pm-account-secondary-course__progress{
  margin-top:16px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
}
.pm-account-secondary-course__progress>div{
  height:6px;
  overflow:hidden;
  border-radius:999px;
  background:#e4ddd1;
}
.pm-account-secondary-course__progress>div span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:var(--pm-account-gold);
}
.pm-account-secondary-course__progress strong{
  color:#6d716e;
  font-size:13px;
  font-weight:650;
}
.pm-account-secondary-course__status{
  display:block;
  margin-top:8px;
  color:#8a8b86;
  font-size:11px;
}
.pm-account-secondary-course__link{
  width:32px;
  height:44px;
  display:grid;
  place-items:center;
  color:var(--pm-account-green);
  text-decoration:none;
}
.pm-account-secondary-course__link::after{
  content:"";
  position:absolute;
  inset:0;
}
.pm-account-secondary-course__link .dashicons{
  font-size:24px;
}
.pm-account-other-courses__empty{
  margin:20px 0 0;
  color:#777d79;
}
.pm-account-profile{
  max-width:1180px;
  margin-top:38px;
  padding:24px 0 0;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  border-top:1px solid var(--pm-account-line);
}
.pm-account-profile h2{
  font-size:28px;
}
.pm-account-profile>p{
  margin:0;
  color:#6f7773;
  font-size:13px;
}
.pm-account-empty{
  max-width:720px;
  padding:clamp(30px,5vw,54px);
  border:1px solid rgba(179,138,69,.34);
  border-radius:18px;
  background:var(--pm-account-cream);
  box-shadow:0 22px 60px rgba(48,43,32,.07);
}
.pm-account-empty>p:not(.pm-account-welcome__eyebrow){
  max-width:600px;
  color:#68716d;
}

@media (max-width:1180px){
  .pm-account-course-layout{grid-template-columns:1fr}
  .pm-account-other-courses{padding-top:8px}
  .pm-account-other-courses__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
}

@media (max-width:900px){
  .pm-account-app{display:block}
  .pm-account-sidebar{
    position:relative;
    min-height:0;
    padding:18px 24px;
    display:grid;
    grid-template-columns:170px minmax(0,1fr);
    gap:22px;
    align-items:center;
  }
  .admin-bar .pm-account-sidebar{top:0;min-height:0}
  .pm-account-brand{width:160px;margin:0}
  .pm-account-nav{display:flex;justify-content:flex-end;gap:8px}
  .pm-account-nav a{min-height:48px;padding:0 13px;border-radius:13px}
  .pm-account-sidebar__note{display:none}
  .pm-account-main{padding-top:44px}
  .pm-account-decoration{width:300px;height:160px;opacity:.48}
}

@media (max-width:720px){
  .pm-account-sidebar{grid-template-columns:1fr;padding:16px 20px}
  .pm-account-brand{margin:0 auto}
  .pm-account-nav{justify-content:center}
  .pm-account-nav a{padding:0 12px}
  .pm-account-nav a span:last-child{font-size:14px}
  .pm-account-main{padding:36px 22px 32px}
  .pm-account-welcome{margin-bottom:32px}
  .pm-account-decoration{display:none}
  .pm-account-welcome h1{font-size:clamp(39px,11vw,52px)}
  .pm-account-welcome>p:last-child{font-size:16px}
  .pm-account-course-layout{display:block}
  .pm-account-featured-course{display:block;min-height:0}
  .pm-account-featured-course__media{height:300px;min-height:0}
  .pm-account-featured-course__body{padding:32px 26px 28px}
  .pm-account-progress{margin:24px 0 30px}
  .pm-account-primary-button{min-height:58px;margin-top:28px}
  .pm-account-other-courses{margin-top:36px}
  .pm-account-other-courses__list{grid-template-columns:1fr}
  .pm-account-profile{align-items:flex-start;flex-direction:column;gap:10px}
}

@media (max-width:480px){
  .pm-account-nav a{min-width:48px;justify-content:center;padding:0 10px}
  .pm-account-nav a span:last-child{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .pm-account-featured-course__media{height:250px}
  .pm-account-secondary-course{grid-template-columns:76px minmax(0,1fr) 28px;gap:14px}
  .pm-account-secondary-course>img{width:76px;height:94px}
  .pm-account-secondary-course h3{font-size:22px}
}

@media (prefers-reduced-motion:reduce){
  .pm-account-nav a,
  .pm-account-primary-button{transition:none}
}

/* Branded study screen: keeps the lesson readable while visually connecting it
   to the personal account. The illustration stays outside the text layer. */
body.pm-study-page{
  background:#f7f3eb;
}
body.pm-study-page .pm-main{
  background:linear-gradient(135deg,#f8f4ec 0%,#eef7f2 58%,#e2f1ea 100%);
}
body.pm-study-page .pm-study-layout{
  min-height:calc(100vh - 98px);
}
body.pm-study-page .pm-study-sidebar{
  background:linear-gradient(180deg,#e9f3ed 0%,#f3eee3 100%);
  border-right-color:rgba(12,74,59,.14);
}
body.pm-study-page .pm-study-sidebar__title{
  font-size:28px;
  line-height:1.12;
}
body.pm-study-page .pm-study-lessons a{
  border:1px solid transparent;
}
body.pm-study-page .pm-study-lessons a:hover,
body.pm-study-page .pm-study-lessons .is-current a{
  border-color:rgba(169,130,65,.24);
  background:rgba(255,255,255,.78);
  box-shadow:0 8px 24px rgba(36,52,45,.05);
}
body.pm-study-page .pm-study-content{
  position:relative;
  overflow:hidden;
  padding:clamp(34px,5vw,70px) clamp(24px,5vw,76px) 80px;
  background:
    radial-gradient(circle at 88% 8%,rgba(191,228,214,.56),transparent 32%),
    linear-gradient(145deg,#fbf8f1 0%,#f2f8f4 58%,#e7f3ed 100%);
}
body.pm-study-page .pm-study-decoration{
  position:absolute;
  z-index:0;
  top:-265px;
  right:-135px;
  width:610px;
  height:auto;
  opacity:.20;
  pointer-events:none;
  transform:rotate(4deg);
}
body.pm-study-page .pm-study-content__inner{
  position:relative;
  z-index:1;
  max-width:980px;
  padding:clamp(34px,5vw,62px);
  border:1px solid rgba(12,74,59,.13);
  border-radius:30px 10px 30px 10px;
  background:rgba(255,254,250,.91);
  box-shadow:0 26px 70px rgba(36,52,45,.09);
  backdrop-filter:blur(6px);
}
body.pm-study-page .pm-study-topline{
  padding-bottom:18px;
  border-bottom:1px solid rgba(12,74,59,.10);
}
body.pm-study-page .pm-title--medium{
  max-width:820px;
  font-size:clamp(36px,4vw,56px);
}
body.pm-study-page .pm-lesson-preparing{
  background:linear-gradient(135deg,#fffaf0 0%,#f7f1e3 100%);
  box-shadow:0 14px 38px rgba(89,69,33,.06);
}

@media (max-width:820px){
  body.pm-study-page .pm-study-layout{min-height:0}
  body.pm-study-page .pm-study-content{padding:30px 20px 48px}
  body.pm-study-page .pm-study-content__inner{padding:30px 24px;border-radius:24px 8px 24px 8px}
  body.pm-study-page .pm-study-decoration{top:-180px;right:-165px;width:480px;opacity:.15}
}

@media (max-width:560px){
  body.pm-study-page .pm-study-content{padding-inline:14px}
  body.pm-study-page .pm-study-content__inner{padding:26px 20px}
  body.pm-study-page .pm-study-decoration{display:none}
}
