/* Home palette for public pages; personal expert profiles stay locked. */
body.ph-home-theme{--ph-bg:#071310;--ph-bg2:#0b2119;--ph-card:#10211d;--ph-card2:#102b22;--ph-line:#315046;--ph-text:#f4f7ed;--ph-muted:#b9cbbf;--ph-green:#21df8d;--ph-gold:#ffc44d;background:#071310!important;color:#f4f7ed!important}
body.ph-home-theme :is(.hero,.ph-hero){background:radial-gradient(ellipse at 88% 8%,#174934 0,#0b2119 48%,#071310 100%)!important;color:#f4f7ed!important}
body.ph-home-theme :is(.band,.details,.alt,.lesson:nth-child(even),.ph-qa-band){background:#0b2119!important;color:#f4f7ed!important}
body.ph-home-theme :is(.card,.light,.toolcard,.lessonbox .card,.facts>div,.detailbox,.lessonbox,.formbox,.infobox,.qa,.contact){background:linear-gradient(145deg,#102b22,#10211d)!important;border-color:#315046!important;color:#f4f7ed!important}
body.ph-home-theme :is(.band,.details,.alt,.light,.lessonbox,.facts,.detailbox,.qa,.ph-qa-band) :is(h2,h3,h4,b,strong){color:#f4f7ed!important}
body.ph-home-theme :is(.band,.details,.alt,.card,.light,.lessonbox,.facts,.detail,.detailbox,.qa,.ph-qa-band) :is(p,small,.muted){color:#b9cbbf!important}
body.ph-home-theme :is(.eyebrow,.tag,.badge,.ph-kicker,.ph-label){color:#ffc44d!important}
body.ph-home-theme :is(.detail,.details,.band) a:not(.btn){color:#ffc44d!important}
body.ph-home-theme :is(.btn,.ph-btn,.ph-btn-master,.ph-join-btn,.ph-offer-cta,.ph-submit-btn,.ph-live-tool-links a,.ph-join-links a:first-child){background:linear-gradient(125deg,#158f61,#21df8d)!important;border:1px solid #8fffc9!important;color:#fff!important;text-shadow:0 1px 2px #06231888!important;box-shadow:0 0 16px #21df8d35!important;transition:box-shadow .2s ease,border-color .2s ease}
body.ph-home-theme :is(.btn.out,.ph-btn.alt,.ph-btn-master.secondary,.ph-login-btn,.ph-join-links a:last-child){background:#102b22!important;border:1px solid #ffc44d!important;color:#fff!important;box-shadow:0 0 14px #ffc44d25!important}
body.ph-home-theme :is(.ph-slider-controls button,.ph-nav button,.ph-pause,.ph-prev,.ph-next,button[data-pause],button[data-prev],button[data-next]){background:#102b22!important;border:1px solid #315f48!important;color:#f4f7ed!important;box-shadow:0 0 12px #21df8d20!important;border-radius:10px}
body.ph-home-theme :is(.btn,.ph-btn,.ph-offer-cta,.ph-submit-btn,.ph-slider-controls button,.ph-nav button,.ph-pause):hover{border-color:#8fffc9!important;box-shadow:0 0 22px #21df8d55!important}
body.ph-home-theme :is(a,button,summary):focus-visible{outline:2px solid #ffc44d;outline-offset:3px}
body.ph-home-theme :is(.ph-media-track,.ph-slider-track,.ph-master-track,.ph-banner-track,.ph-rail,[data-slider]){scrollbar-width:thin!important;scrollbar-color:#21df8d #0b2119!important}
body.ph-home-theme :is(.ph-media-track,.ph-slider-track,.ph-master-track,.ph-banner-track,.ph-rail,[data-slider])::-webkit-scrollbar{display:block!important;height:9px}
body.ph-home-theme :is(.ph-media-track,.ph-slider-track,.ph-master-track,.ph-banner-track,.ph-rail,[data-slider])::-webkit-scrollbar-track{background:#0b2119!important;border-radius:9px}
body.ph-home-theme :is(.ph-media-track,.ph-slider-track,.ph-master-track,.ph-banner-track,.ph-rail,[data-slider])::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#158f61,#21df8d,#ffc44d)!important;border-radius:9px}
body.ph-home-theme :is(.coursecard .art,.toolcard .symbol,.svc .sym){background:linear-gradient(135deg,#174934,#102b22)!important;color:#ffc44d!important;border:1px solid #315f48}
body.ph-home-theme :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){background:#0b2119!important;border-color:#315f48!important;color:#f4f7ed!important;max-width:100%}
body.ph-home-theme input::placeholder,body.ph-home-theme textarea::placeholder{color:#b9cbbf;opacity:1}
body.ph-home-theme :is(.hero-grid,.detail-grid,.formgrid,.card,.toolcard,.actions)>*{min-width:0}
@media(max-width:740px){body.ph-home-theme :is(.actions,.ph-slider-controls){flex-wrap:wrap}body.ph-home-theme :is(.btn,.ph-btn,.ph-offer-cta){max-width:100%;white-space:normal;line-height:1.35}body.ph-home-theme :is(.detailbox,.formbox,.infobox){min-width:0;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){body.ph-home-theme :is(.btn,.ph-btn,.ph-offer-cta,.ph-submit-btn){transition:none}}

body.ph-home-theme .ph-qa-band>a{background:#102b22!important;border:1px solid #315046!important;color:#f4f7ed!important}
body.ph-home-theme .ph-qa-band>a :is(strong,p){color:#f4f7ed!important}
body.ph-home-theme .ph-qa-band>a small{color:#ffc44d!important}

/* Old informational sections and diagram tiles use the same readable skin. */
body.ph-home-theme :is(.pale,.rules,.privacy,.process,.route,.helper,.fieldcard,.guidelines,.rule,.storybox,.flow,.terms,.reference,.tier.featured,.groupdetail .panel,.detail .panel,.opdetail .note){background:#0b2119!important;border-color:#315046!important;color:#f4f7ed!important}
body.ph-home-theme :is(.pale,.rules,.privacy,.process,.route,.helper,.fieldcard,.guidelines,.rule,.storybox,.flow,.terms,.reference,.tier.featured,.groupdetail .panel,.detail .panel,.opdetail .note) :is(h2,h3,h4,b,strong,label){color:#f4f7ed!important}
body.ph-home-theme :is(.pale,.rules,.privacy,.process,.route,.helper,.fieldcard,.guidelines,.rule,.storybox,.flow,.terms,.reference,.tier.featured,.groupdetail .panel,.detail .panel,.opdetail .note) :is(p,small,li,span){color:#b9cbbf!important}
body.ph-home-theme :is(.pale,.rules,.privacy,.process,.route,.helper,.fieldcard,.guidelines,.rule,.storybox,.flow,.terms,.reference,.tier.featured,.groupdetail .panel,.detail .panel,.opdetail .note) a:not(.btn){color:#ffc44d!important}
body.ph-home-theme :is(.ph-points,.ph-new-profile,.ph-featured-profiles a b,.visual .plot,.visual .vrow div,.flowvisual div,.fieldvisual div,.bubble,.joinart div,.paths div,.resourcevisual div,.tilevisual div,.routechips span,.coins div,.preview,.preview .top,.preview .mini,.preview .page,.screen,.journal,.document,.board .row){background:#102b22!important;border-color:#315046!important;color:#f4f7ed!important}
body.ph-home-theme :is(.preview,.screen,.journal,.document,.board .row,.flowvisual,.fieldvisual,.resourcevisual,.tilevisual,.joinart,.paths,.coins) :is(p,small,span,b,strong){color:inherit!important}

body.ph-home-theme .ph-placement a:not(.ph-click-target){background:linear-gradient(125deg,#158f61,#21df8d)!important;border:1px solid #8fffc9!important;color:#fff!important;text-shadow:0 1px 2px #06231888;box-shadow:0 0 16px #21df8d35!important}
