/* POSCH Portal V0.2 – all styles are scoped to the preview widget. */
.posch-portal-preview,.posch-portal-preview *{box-sizing:border-box}
.posch-portal-preview{--pp-bg:#09090b;--pp-panel:#141416;--pp-panel2:#19181b;--pp-line:#29262b;--pp-text:#fff;--pp-muted:#aaa3ac;--pp-purple:#762a82;--pp-pink:#d2a1dc;background:var(--pp-bg);color:var(--pp-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;width:100%;min-height:680px;line-height:1.45}
.posch-portal-preview h1,.posch-portal-preview h2,.posch-portal-preview h3,.posch-portal-preview p{color:inherit;margin:0}
.posch-portal-preview a{text-decoration:none!important}
.posch-portal-preview a:focus-visible{outline:2px solid #ce8cdb;outline-offset:4px}
.posch-portal-preview .pp-app{display:grid;grid-template-columns:248px minmax(0,1fr);max-width:1500px;margin:auto;min-height:830px}
.posch-portal-preview .pp-sidebar{border-right:1px solid var(--pp-line);padding:31px 18px 22px;display:flex;flex-direction:column;gap:15px;background:#0d0b0e}
.posch-portal-preview .pp-brand{display:flex;align-items:center;gap:11px;margin:0 6px 59px}
.posch-portal-preview .pp-brandmark{font-size:35px;line-height:1;font-weight:900;letter-spacing:-.1em;color:white}
.posch-portal-preview .pp-brandmark span{color:var(--pp-pink)}
.posch-portal-preview .pp-brand strong{font-size:20px;letter-spacing:.12em;display:block;line-height:1.05}
.posch-portal-preview .pp-brand small{font-size:9px;color:#aaa1ac;letter-spacing:.11em;font-weight:700}
.posch-portal-preview .pp-sidebarlabel,.posch-portal-preview .pp-eyebrow{display:block;font-size:10px;letter-spacing:.14em;font-weight:800;color:var(--pp-pink)}
.posch-portal-preview .pp-sidebarlabel{color:#817784;margin:0 16px 1px}
.posch-portal-preview .pp-nav{display:flex;flex-direction:column;gap:5px}
.posch-portal-preview .pp-navitem{display:flex;gap:13px;align-items:center;border-radius:11px;color:#c4bdc7!important;padding:13px 14px;font-size:13px;font-weight:650;min-height:47px}
.posch-portal-preview .pp-navitem svg{flex-shrink:0}
.posch-portal-preview .pp-navitem:hover{background:#211924;color:#fff!important}
.posch-portal-preview .pp-navitem.is-active{background:#2b192f;color:white!important;border:1px solid #623269}
.posch-portal-preview .pp-navdisabled{opacity:.4;cursor:not-allowed}
.posch-portal-preview .pp-navdisabled svg:last-child{margin-left:auto}
.posch-portal-preview .pp-sidefoot{margin-top:auto;border-top:1px solid var(--pp-line);padding:22px 14px 2px}
.posch-portal-preview .pp-sidefoot span{font-size:10px;font-weight:750;color:#756e77;letter-spacing:.12em;display:block;margin-bottom:15px}
.posch-portal-preview .pp-sidefoot a{display:flex;align-items:center;gap:10px;color:#bdb4bf!important;font-size:12px}
.posch-portal-preview .pp-main{min-width:0;display:flex;flex-direction:column}
.posch-portal-preview .pp-topbar{display:flex;align-items:center;justify-content:space-between;padding:18px clamp(22px,3.6vw,55px);border-bottom:1px solid var(--pp-line);font-weight:700;font-size:11px;letter-spacing:.11em;color:#c8bdca;min-height:84px}
.posch-portal-preview .pp-topdot{margin:0 7px;color:#714278}
.posch-portal-preview .pp-topactions{display:flex;align-items:center;gap:23px}
.posch-portal-preview .pp-topactions>a{color:#d2cad4!important;display:flex;align-items:center}
.posch-portal-preview .pp-avatar{border-radius:50%;width:42px;height:42px;object-fit:cover;vertical-align:middle;display:flex}
.posch-portal-preview .pp-initial{align-items:center;justify-content:center;background:linear-gradient(135deg,#762a82,#3d1848);color:#fff;font-weight:800;font-size:17px}
.posch-portal-preview .pp-content{padding:48px clamp(22px,3.6vw,55px) 64px;flex:1}
.posch-portal-preview .pp-pagehead{margin-bottom:34px}
.posch-portal-preview .pp-pagehead h1{font-size:clamp(32px,4vw,48px);font-weight:850;line-height:1.12;letter-spacing:-.045em;margin:12px 0 12px;color:#fff}
.posch-portal-preview .pp-pagehead p{font-size:14px;color:var(--pp-muted);max-width:650px;line-height:1.7}
.posch-portal-preview .pp-featuregrid{display:grid;grid-template-columns:1.24fr 1fr;gap:17px;margin-bottom:34px}
.posch-portal-preview .pp-feature{border-radius:17px;min-height:246px;padding:30px;display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow:hidden;border:1px solid var(--pp-line)}
.posch-portal-preview .pp-feature h2{font-size:clamp(20px,2.2vw,27px);font-weight:820;line-height:1.2;letter-spacing:-.04em;max-width:370px;margin:12px 0 9px}
.posch-portal-preview .pp-feature p{max-width:450px;font-size:13px;line-height:1.65;color:#c9b9ce;margin-bottom:16px}
.posch-portal-preview .pp-feature-primary{background:linear-gradient(128deg,#3a1740,#251428 76%,#171219);border-color:#6b3473}
.posch-portal-preview .pp-feature-primary:after{content:'';position:absolute;width:240px;height:240px;background:radial-gradient(circle,#8d4595 0,transparent 70%);top:-90px;right:-95px;opacity:.32;pointer-events:none}
.posch-portal-preview .pp-feature-secondary{background:linear-gradient(140deg,#201c21,#151417)}
.posch-portal-preview .pp-featureicon{height:29px;color:#e1bee8}
.posch-portal-preview .pp-feature-secondary .pp-eyebrow{color:#c99dd1}
.posch-portal-preview .pp-feature-secondary h2{margin-top:20px}
.posch-portal-preview .pp-mainbtn{background:#fff;color:#261729!important;border-radius:9px;padding:11px 15px;font-size:12px;font-weight:800;display:inline-flex;align-items:center;gap:12px;margin-top:auto;position:relative;z-index:1}
.posch-portal-preview .pp-mainbtn:hover{background:#efdff1;color:#241526!important}
.posch-portal-preview .pp-feature .pp-mutedtext{color:#f0d8f3}
.posch-portal-preview .pp-textlink{color:#dbb1e3!important;font-size:13px;font-weight:750;display:flex;align-items:center;gap:8px;margin-top:auto}
.posch-portal-preview .pp-splitrow{display:grid;grid-template-columns:1.18fr .82fr;gap:25px;align-items:start}
.posch-portal-preview .pp-panel{min-width:0}
.posch-portal-preview .pp-panel-wide{border-radius:16px;background:#111013;border:1px solid var(--pp-line);padding:26px;margin-bottom:22px}
.posch-portal-preview .pp-sectionhead{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:18px}
.posch-portal-preview .pp-sectionhead h2{font-size:20px;font-weight:800;letter-spacing:-.025em;margin:4px 0 0}
.posch-portal-preview .pp-sectionhead>a{font-size:12px;color:#daa9e2!important;font-weight:700;display:flex;align-items:center;gap:6px}
.posch-portal-preview .pp-modulegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.posch-portal-preview .pp-module{border:1px solid var(--pp-line);background:var(--pp-panel);border-radius:13px;padding:19px;min-height:202px;display:flex;flex-direction:column;transition:border-color .15s}
.posch-portal-preview .pp-module:hover{border-color:#865090}
.posch-portal-preview .pp-module-icon{display:flex;align-items:center;justify-content:center;width:37px;height:37px;color:#ddb0e5;background:#2d2031;border-radius:9px;margin-bottom:19px}
.posch-portal-preview .pp-module h3{font-size:14px;font-weight:820;color:#fff;margin:0 0 6px;letter-spacing:-.01em}
.posch-portal-preview .pp-module p{font-size:11px;color:var(--pp-muted);line-height:1.45;margin-bottom:15px}
.posch-portal-preview .pp-module-foot{margin-top:auto}
.posch-portal-preview .pp-module-foot a{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#e0aae9!important;font-weight:800}
.posch-portal-preview .pp-module-foot span{font-size:11px;color:#858087}
.posch-portal-preview .pp-module.is-locked{opacity:.55}
.posch-portal-preview .pp-event{display:flex;align-items:center;gap:13px;background:var(--pp-panel);border:1px solid var(--pp-line);padding:12px 13px;border-radius:12px;margin-bottom:9px;color:#fff!important}
.posch-portal-preview .pp-event:hover{border-color:#774080}
.posch-portal-preview .pp-eventdate{width:44px;height:49px;flex:0 0 44px;background:#302137;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.posch-portal-preview .pp-eventdate b{font-size:19px;line-height:1.05}
.posch-portal-preview .pp-eventdate small{font-size:10px;color:#e3bbeb;text-transform:uppercase}
.posch-portal-preview .pp-eventcopy{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
.posch-portal-preview .pp-eventcopy strong{font-size:12px;line-height:1.3}
.posch-portal-preview .pp-eventcopy small{font-size:11px;color:var(--pp-muted)}
.posch-portal-preview .pp-event>svg{color:#988d9b}
.posch-portal-preview .pp-emptystate{border:1px dashed #342c35;border-radius:12px;color:#a9a0aa;font-size:13px;line-height:1.6;padding:23px}
.posch-portal-preview .pp-panel-wide .pp-modulegrid{grid-template-columns:repeat(3,minmax(0,1fr))}
.posch-portal-preview .pp-pill{display:inline-flex;background:#2e2031;color:#e5bceb;font-size:12px;padding:3px 10px;border-radius:50px;vertical-align:middle}
.posch-portal-preview .pp-more{background:#0c0c0d}
.posch-portal-preview .pp-more .pp-module{min-height:180px}
.posch-portal-preview .pp-secondarybtn{display:inline-flex;align-items:center;gap:9px;color:#e5b8ed!important;border:1px solid #65416b;border-radius:9px;padding:10px 15px;margin-top:16px;font-weight:750;font-size:12px}
.posch-portal-preview .pp-profileline{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--pp-line);padding-bottom:24px;margin-bottom:22px}
.posch-portal-preview .pp-profileline .pp-avatar{width:69px;height:69px;font-size:24px}
.posch-portal-preview .pp-profileline h2{font-size:21px}
.posch-portal-preview .pp-profileline p{font-size:12px;color:var(--pp-muted);margin-top:5px}
.posch-portal-preview .pp-profiledetails{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.posch-portal-preview .pp-profiledetails>div{background:#1b191d;padding:16px;border-radius:10px;min-width:0}
.posch-portal-preview .pp-profiledetails span{font-size:11px;color:var(--pp-muted);display:block;margin-bottom:6px}
.posch-portal-preview .pp-profiledetails strong{font-size:13px;overflow-wrap:anywhere}
.posch-portal-preview .pp-profileactions{display:flex;flex-wrap:wrap;gap:11px;align-items:center;margin-top:24px}
.posch-portal-preview .pp-profileactions .pp-mainbtn{margin-top:0}
.posch-portal-preview .pp-profileactions .pp-secondarybtn{margin:0}
.posch-portal-preview .pp-mainfooter{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--pp-line);padding:20px clamp(22px,3.6vw,55px);font-size:10px;letter-spacing:.1em;color:#726b74;font-weight:800}
.posch-portal-preview .pp-mainfooter a{color:#bcb0bf!important;display:flex;align-items:center;gap:6px}
.posch-portal-preview .pp-bottomnav{display:none}
.pp-login-needed{background:#111;color:#fff;padding:30px;border-radius:12px;text-align:center}
.pp-login-needed strong{font-size:20px}.pp-login-needed p{margin:12px 0;color:#aaa}.pp-login-needed a{color:#e0b5e9}
@media(max-width:1120px){.posch-portal-preview .pp-app{grid-template-columns:205px minmax(0,1fr)}.posch-portal-preview .pp-splitrow{grid-template-columns:1fr}.posch-portal-preview .pp-featuregrid{grid-template-columns:1fr 1fr}.posch-portal-preview .pp-modulegrid{grid-template-columns:repeat(2,minmax(0,1fr))}.posch-portal-preview .pp-panel-wide .pp-modulegrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.posch-portal-preview{min-height:100vh}.posch-portal-preview .pp-app{display:block;min-height:100vh}.posch-portal-preview .pp-sidebar{display:none}.posch-portal-preview .pp-content{padding:26px 18px 105px}.posch-portal-preview .pp-topbar{min-height:66px;padding:12px 18px}.posch-portal-preview .pp-pagehead{margin-bottom:25px}.posch-portal-preview .pp-featuregrid{grid-template-columns:1fr;gap:12px;margin-bottom:27px}.posch-portal-preview .pp-feature{min-height:210px;padding:23px}.posch-portal-preview .pp-splitrow{grid-template-columns:1fr;gap:27px}.posch-portal-preview .pp-mainfooter{display:none}.posch-portal-preview .pp-bottomnav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:100;background:#100d11;border-top:1px solid #352c37;padding:8px 10px max(8px,env(safe-area-inset-bottom));box-shadow:0 -8px 30px #0008}.posch-portal-preview .pp-bottomnav .pp-navitem{flex-direction:column;padding:8px 2px;gap:4px;min-height:51px;font-size:10px;justify-content:center}.posch-portal-preview .pp-bottomnav .pp-navitem>svg{width:19px;height:19px}.posch-portal-preview .pp-bottomnav .pp-navitem.pp-navdisabled>svg:last-child{display:none}.posch-portal-preview .pp-modulegrid{grid-template-columns:repeat(2,minmax(0,1fr))}.posch-portal-preview .pp-panel-wide .pp-modulegrid{grid-template-columns:repeat(2,minmax(0,1fr))}.posch-portal-preview .pp-panel-wide{padding:18px}.posch-portal-preview .pp-profiledetails{grid-template-columns:1fr}}
@media(max-width:410px){.posch-portal-preview .pp-modulegrid{grid-template-columns:1fr}.posch-portal-preview .pp-panel-wide .pp-modulegrid{grid-template-columns:1fr}.posch-portal-preview .pp-module{min-height:165px}.posch-portal-preview .pp-feature{min-height:190px}.posch-portal-preview .pp-pagehead h1{font-size:31px}}

/* V0.2: Community is embedded in the same fixed portal shell. */
.posch-portal-preview .posch-cm{margin:0;max-width:none;padding:0;border:0;border-radius:0;background:transparent}
.posch-portal-preview .posch-cm .pc-hero,.posch-portal-preview .posch-cm .pc-main-nav{display:none!important}
.posch-portal-preview .pp-progress{height:7px;width:100%;background:#53345b;border-radius:99px;overflow:hidden;margin:6px 0 21px}
.posch-portal-preview .pp-progress>span{display:block;height:100%;background:#d39adf;border-radius:99px}
.posch-portal-preview .pp-coursegrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:23px 0 30px}
.posch-portal-preview .pp-weekcard{border:1px solid #4a3250;border-radius:13px;background:#1b1720;padding:20px;min-height:150px;display:flex;flex-direction:column;gap:12px;color:#fff!important}
.posch-portal-preview .pp-weekcard>span{font-size:10px;color:#cfa4d8;letter-spacing:.15em;font-weight:800}
.posch-portal-preview .pp-weekcard>strong{font-size:15px;line-height:1.35;color:#fff}
.posch-portal-preview .pp-weekcard>small{font-size:11px;margin-top:auto;color:#d7a7e0}
.posch-portal-preview .pp-weekcard.is-locked{opacity:.48}
.posch-portal-preview .pp-weekcard.is-locked>small{color:#beb3bf}
.posch-portal-preview a.pp-weekcard:hover{border-color:#b47ac0;background:#2b1f31}
.posch-portal-preview .pp-course-note{color:#ead8ed;background:#35253c;border:1px solid #774580;padding:12px 17px;border-radius:10px;margin-bottom:15px}
.posch-portal-preview .pp-lesson h2{font-size:25px;margin:15px 0 20px}
.posch-portal-preview .pp-lessonbody{color:#ebe5ed;line-height:1.7;font-size:15px}
.posch-portal-preview .pp-lessonbody p{margin:0 0 15px}
.posch-portal-preview .pp-lessonbody img{max-width:100%;height:auto}
.posch-portal-preview .pp-studio-modules{margin-top:27px}
@media(max-width:1100px){.posch-portal-preview .pp-coursegrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.posch-portal-preview .pp-coursegrid{grid-template-columns:1fr}.posch-portal-preview .pp-weekcard{min-height:115px}}

.posch-portal-preview .pp-studio-modules summary{color:#d5b4de;font-size:14px;font-weight:750;cursor:pointer}

/* POSCH Portal V0.3 – programme builder and contrast corrections */
.posch-portal-preview{width:100%;background:#09090b;color:#fff}
.posch-portal-preview .pp-coach-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start;margin-bottom:18px}
.posch-portal-preview .pp-coach-layout>.pp-panel-wide{margin-bottom:0}
.posch-portal-preview .pp-coach-layout h2,.posch-portal-preview .pp-panel-wide>h2{font-size:21px!important;color:#fff!important;font-weight:800;margin:0 0 13px!important}
.posch-portal-preview .pp-programgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:10px 0 27px}
.posch-portal-preview .pp-programcard{display:flex;flex-direction:column;background:#19151c;border:1px solid #59415f;border-radius:16px;padding:25px;min-height:200px;color:#fff!important;transition:background .18s,border-color .18s,transform .18s}
.posch-portal-preview .pp-programcard:hover,.posch-portal-preview .pp-programcard:focus-visible{background:#302038!important;border-color:#bd88cc!important;color:#fff!important;transform:translateY(-2px)}
.posch-portal-preview .pp-programcard h2{font-size:21px;font-weight:800;color:#fff!important;margin:15px 0 9px}
.posch-portal-preview .pp-programcard p{font-size:13px;color:#d2c5d4!important;line-height:1.55}
.posch-portal-preview .pp-programcard-foot{margin-top:auto;padding-top:20px;color:#f0c4f4;font-size:12px;font-weight:800}
.posch-portal-preview .pp-builderform{display:flex;flex-direction:column;gap:15px;margin:18px 0 0}
.posch-portal-preview .pp-builderform label{display:flex;flex-direction:column;gap:8px;color:#f2e8f5!important;font-weight:700!important;font-size:13px!important;line-height:1.5}
.posch-portal-preview .pp-builderform input:not([type=hidden]):not([type=checkbox]),
.posch-portal-preview .pp-builderform textarea,
.posch-portal-preview .pp-builderform select,
.posch-portal-preview .pp-override-list select{
  width:100%;min-width:0;display:block;border:1.5px solid #756078!important;border-radius:11px!important;
  background:#121015!important;color:#fff!important;padding:12px 13px!important;
  font-size:14px!important;font-weight:500!important;line-height:1.45!important;min-height:46px!important;
  opacity:1!important;box-shadow:none!important;color-scheme:dark;
}
.posch-portal-preview .pp-builderform textarea{resize:vertical;min-height:108px!important}
.posch-portal-preview .pp-builderform input::placeholder,
.posch-portal-preview .pp-builderform textarea::placeholder{color:#a99eac!important;opacity:1}
.posch-portal-preview .pp-builderform input:hover,
.posch-portal-preview .pp-builderform textarea:hover,
.posch-portal-preview .pp-builderform select:hover{border-color:#d19bdf!important;background:#201925!important}
.posch-portal-preview .pp-builderform input:focus-visible,
.posch-portal-preview .pp-builderform select:focus-visible,
.posch-portal-preview .pp-builderform textarea:focus-visible{outline:3px solid #b37bc0!important;outline-offset:2px!important;border-color:#edc5f5!important;background:#1c1520!important}
.posch-portal-preview .pp-formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.posch-portal-preview .pp-primary,
.posch-portal-preview .pp-inlinebtn{
  font-family:inherit!important;align-self:flex-start;appearance:none!important;background:#762a82!important;
  color:#fff!important;border:2px solid #9e5aad!important;border-radius:10px!important;
  padding:11px 16px!important;font-size:13px!important;font-weight:800!important;line-height:1.3!important;
  cursor:pointer!important;transition:background .15s,border-color .15s,box-shadow .15s
}
.posch-portal-preview .pp-primary:hover,.posch-portal-preview .pp-inlinebtn:hover{
  background:#9d42ad!important;color:#fff!important;border-color:#e4a9f0!important;
  box-shadow:0 0 0 3px rgba(190,119,207,.17)!important
}
.posch-portal-preview .pp-primary:focus-visible,.posch-portal-preview .pp-inlinebtn:focus-visible{
  outline:3px solid #fff!important;outline-offset:3px!important
}
.posch-portal-preview .pp-help{font-size:12px!important;color:#c3b7c6!important;line-height:1.6!important;margin:4px 0 10px!important}
.posch-portal-preview .pp-alert{padding:14px 17px;background:#2b2130;color:#fff;border:1px solid #bf83cb;border-radius:11px;font-size:13px;font-weight:750;margin-bottom:20px}
.posch-portal-preview .pp-coachlink{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 13px;border-bottom:1px solid #3f3542;color:#fff!important;border-radius:8px}
.posch-portal-preview .pp-coachlink:hover,.posch-portal-preview .pp-coachlink:focus-visible{background:#37233c!important;color:#fff!important}
.posch-portal-preview .pp-coachlink span:first-child{display:flex;flex-direction:column;gap:4px}
.posch-portal-preview .pp-coachlink strong{font-size:14px;font-weight:800;color:#fff}
.posch-portal-preview .pp-coachlink small{font-size:11px;color:#c2b6c5}
.posch-portal-preview .pp-coachlink span:last-child{font-size:12px;color:#ecc2f3;font-weight:800;flex-shrink:0}
.posch-portal-preview .pp-lessonedit{border:1px solid #4d3a52;background:#19151c;border-radius:12px;padding:14px 17px;margin:11px 0}
.posch-portal-preview .pp-lessonedit>summary{cursor:pointer;font-size:13px;font-weight:750;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px}
.posch-portal-preview .pp-lessonedit>summary>span:last-child{color:#d9abe2;font-size:11px}
.posch-portal-preview .pp-override-list{margin-top:22px;border-top:1px solid #46374a;padding-top:20px}
.posch-portal-preview .pp-override-list>h3{font-size:17px;margin-bottom:14px}
.posch-portal-preview .pp-override-list .pp-builderform{display:grid;grid-template-columns:minmax(0,1fr) 210px auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #403342;margin:0}
.posch-portal-preview .pp-override-list .pp-builderform span{display:flex;flex-direction:column;gap:3px}
.posch-portal-preview .pp-override-list .pp-builderform small{color:#a99dac}
.posch-portal-preview .pp-lessonlist{display:flex;flex-direction:column;gap:11px;margin:20px 0}
.posch-portal-preview .pp-lessonrow{display:flex;align-items:center;gap:14px;border:1px solid #49374c;border-radius:13px;background:#18141a;color:#fff!important;padding:15px;min-height:78px}
.posch-portal-preview a.pp-lessonrow:hover{background:#312036!important;border-color:#bc88c6!important;color:#fff!important}
.posch-portal-preview .pp-lessonrow.is-locked{opacity:.67;cursor:default}
.posch-portal-preview .pp-lessonnumber{display:flex;align-items:center;justify-content:center;background:#332139;border-radius:10px;color:#fff;font-weight:850;font-size:16px;min-width:46px;min-height:46px}
.posch-portal-preview .pp-lessontext{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.posch-portal-preview .pp-lessontext strong{font-size:14px;color:#fff}
.posch-portal-preview .pp-lessontext small{font-size:12px;color:#c6b5c9}
.posch-portal-preview .pp-lessonarrow{font-size:20px;color:#efc5f5}
.posch-portal-preview .pp-back{display:inline-flex;color:#f0c8f4!important;font-size:13px;font-weight:700;margin-bottom:15px}
.posch-portal-preview .pp-back:hover{color:#fff!important}
.posch-portal-preview .pp-video{position:relative;width:100%;aspect-ratio:16/9;margin:20px 0 26px;background:#000;border-radius:12px;overflow:hidden}
.posch-portal-preview .pp-video iframe{width:100%;height:100%;border:0}
.posch-portal-preview .pp-tasks{border-top:1px solid #4d3851;margin-top:22px;padding-top:18px}
.posch-portal-preview .pp-taskrow{display:flex;align-items:center;gap:10px;background:#1d1720;padding:10px 13px;margin:7px 0;border-radius:9px;color:#eee6f0;font-size:13px}
.posch-portal-preview .pp-taskrow>span{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:2px solid #b78ac4;border-radius:7px;color:#f5d1fb;font-weight:800}
/* Strong contrast for real checkboxes in the embedded community, despite theme/Elementor styling. */
.posch-portal-preview input[type="checkbox"],
.posch-portal-preview .posch-cm input[type="checkbox"]{
  appearance:none!important;-webkit-appearance:none!important;display:inline-grid!important;place-content:center!important;
  width:21px!important;height:21px!important;min-width:21px!important;margin:0 7px 0 0!important;
  padding:0!important;border:2px solid #c9adcf!important;border-radius:6px!important;
  background:#141017!important;vertical-align:middle;opacity:1!important;cursor:pointer
}
.posch-portal-preview input[type="checkbox"]:checked,
.posch-portal-preview .posch-cm input[type="checkbox"]:checked{background:#762a82!important;border-color:#e5b6ec!important}
.posch-portal-preview input[type="checkbox"]:checked::after,
.posch-portal-preview .posch-cm input[type="checkbox"]:checked::after{
  content:"✓"!important;color:#fff!important;font-size:15px;font-weight:900;line-height:1
}
.posch-portal-preview input[type="checkbox"]:hover,.posch-portal-preview .posch-cm input[type="checkbox"]:hover{border-color:#fff!important;box-shadow:0 0 0 3px #ac75ba44!important}
.posch-portal-preview input[type="checkbox"]:focus-visible,.posch-portal-preview .posch-cm input[type="checkbox"]:focus-visible{outline:3px solid #e2a6ef!important;outline-offset:3px}
.posch-portal-preview .posch-cm input[type="text"],.posch-portal-preview .posch-cm input[type="email"],.posch-portal-preview .posch-cm select{background:#151017!important;border:1.5px solid #8e6a97!important;color:#fff!important;border-radius:9px!important;min-height:43px}
.posch-portal-preview .posch-cm a:hover,.posch-portal-preview .posch-cm button:hover{color:#fff!important}
.posch-portal-preview .posch-cm .pc-btn:hover{background:#9944a8!important;color:#fff!important}
@media(max-width:1130px){.posch-portal-preview .pp-coach-layout{grid-template-columns:1fr}}
@media(max-width:760px){.posch-portal-preview .pp-programgrid{grid-template-columns:1fr}.posch-portal-preview .pp-formgrid{grid-template-columns:1fr}.posch-portal-preview .pp-override-list .pp-builderform{grid-template-columns:1fr}.posch-portal-preview .pp-override-list .pp-builderform select{width:100%}}
@media(max-width:760px){.posch-portal-preview .pp-bottomnav.has-coach{grid-template-columns:repeat(5,minmax(0,1fr))}}
.posch-portal-preview .pp-taskrow label{display:flex;align-items:center;gap:10px;cursor:pointer;flex:1;font-size:13px;color:#fff;font-weight:600}
.posch-portal-preview .pp-taskrow label span{flex:1}
.posch-portal-preview .pp-taskrow input:disabled{opacity:.5!important;cursor:not-allowed!important}
.posch-portal-preview .pp-video-privacy{display:flex;align-items:center;justify-content:center;border:1px solid #5e4266;background:linear-gradient(145deg,#221329,#100d12)}
.posch-portal-preview .pp-video-consent{padding:22px;max-width:480px;display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:center;text-align:center}
.posch-portal-preview .pp-video-consent p{color:#e6dbe9!important;font-size:14px;line-height:1.5;width:100%}
.posch-portal-preview .pp-video-consent a{color:#efc8f4!important;font-weight:700;font-size:12px}
.posch-portal-preview .pp-video-consent a:hover{color:#fff!important}

/* V0.4: Trainerfreigaben und Kursgruppen – hoher Kontrast auch unter Elementor */
.posch-portal-preview .pp-access-banner{padding:17px 20px;margin:12px 0 20px;background:#221728!important;border:1px solid #a671b3;border-radius:14px;color:#fff!important}
.posch-portal-preview .pp-access-banner strong{color:#fff!important;font-size:15px}.posch-portal-preview .pp-access-banner p{color:#e2cfeb!important;font-size:13px;margin:5px 0 0}
.posch-portal-preview .pp-coach-assignment{padding:16px;margin:12px 0;border:1px solid #65506d;border-radius:12px;background:#18131b;color:#fff}
.posch-portal-preview .pp-coach-assignment>strong{display:block;color:#fff;font-size:15px}.posch-portal-preview .pp-coach-assignment>small{display:block;color:#d6c6dc;margin:4px 0 8px}
.posch-portal-preview .pp-coach-assignment .pp-builderform{margin-top:10px}.posch-portal-preview .pp-owner{display:block;color:#ddb6ea;font-size:12px;margin-top:7px}
.posch-portal-preview .pp-inline-link{color:#f3c4f8!important;text-decoration:underline!important;font-size:12px;font-weight:800;white-space:nowrap}.posch-portal-preview .pp-inline-link:hover{color:#fff!important;text-decoration-thickness:2px!important}
.posch-portal-preview .pp-cohort-create{border-top:1px solid #65506d;margin-top:12px;padding-top:15px}.posch-portal-preview .pp-cohort-create summary{cursor:pointer;color:#f2d1fa!important;font-weight:800;font-size:14px}.posch-portal-preview .pp-cohort-create summary:hover{color:#fff!important}
.posch-portal-preview .pp-participant-name{color:#fff!important;margin:8px 0;border-bottom:1px solid #5d4c63;padding:8px 0}
.posch-portal-preview .posch-cm .pc-main-nav{display:none!important} /* Portal besitzt schon eine globale Navigation */
.posch-portal-preview .pp-builderform input[type=checkbox]{appearance:auto!important;accent-color:#b868c7!important;width:19px!important;height:19px!important;opacity:1!important;cursor:pointer}
.posch-portal-preview button:hover,.posch-portal-preview button:focus-visible{filter:none}.posch-portal-preview button:focus-visible,.posch-portal-preview a:focus-visible{outline:3px solid #f4c9fc!important;outline-offset:3px!important}
@media(max-width:760px){.posch-portal-preview .pp-coach-assignment{padding:12px}.posch-portal-preview .pp-coachlink{flex-wrap:wrap}.posch-portal-preview .pp-inline-link{white-space:normal}}
