/* Shared Pythonic semantic palette, restrained account/course controls. */
.py-course-interest{margin:12px 0;padding:14px;border:1px solid var(--py-c-border,#dce3eb);border-radius:8px;background:var(--py-c-raised,#f4f7fb);color:var(--py-c-text,#253754);font-size:.85rem;line-height:1.9;min-width:0}
.py-course-interest button,.py-course-interest a,.py-interest-tabs a,.py-interest-pagination a{touch-action:manipulation}
.py-course-interest button{font:inherit;border:1px solid var(--py-c-border,#dce3eb);border-radius:5px;background:var(--py-c-surface,#fff);color:var(--py-c-heading,#102a56);min-height:44px;padding:8px 12px;cursor:pointer;white-space:normal}
.py-course-interest button:disabled{opacity:.6;cursor:wait}.py-course-interest :is(button,a,input,summary):focus-visible,.py-interest-account a:focus-visible{outline:3px solid var(--py-c-focus,#287ec8);outline-offset:3px}
.py-course-interest .py-interest-favorite{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;text-decoration:none;font-weight:600;min-height:44px}.py-course-interest .py-account-icon{width:21px;height:21px;flex:0 0 21px}.py-course-interest .is-selected{color:var(--py-c-link,#176b9f);border-color:currentColor}.py-course-interest .is-selected svg{fill:currentColor;fill-opacity:.14}
.py-interest-alerts{margin-top:10px;border-top:1px solid var(--py-c-border,#dce3eb);padding-top:6px}.py-interest-alerts summary{min-height:44px;cursor:pointer;font-weight:650;display:list-item;list-style-position:inside}.py-course-interest p{margin:6px 0;font-size:inherit!important;line-height:1.9}.py-course-interest small{display:block;font-size:.75rem;line-height:1.9;color:var(--py-c-muted,#526176);margin-top:8px}.py-interest-topics{display:grid;gap:6px;margin:12px 0}.py-interest-topics label{display:flex;align-items:center;gap:9px;min-height:44px;cursor:pointer;line-height:1.7}.py-interest-topics input{appearance:auto!important;accent-color:var(--py-c-link,#176b9f);width:18px!important;height:18px!important;min-width:18px;margin:0!important;padding:0!important;position:static!important;opacity:1!important;visibility:visible!important}.py-interest-topics input:disabled{cursor:not-allowed}.py-interest-status:empty{display:none}.py-interest-status{color:var(--py-c-muted,#526176);overflow-wrap:anywhere}
.py-interest-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.py-interest-tabs a{min-height:44px;padding:9px 15px;border:1px solid var(--py-c-border,#dce3eb);border-radius:5px;font-size:.9rem;text-decoration:none}.py-interest-tabs [aria-current]{background:var(--py-c-raised,#eef4fa);font-weight:650;border-color:var(--py-c-link,#176b9f)}.py-interest-list{display:grid;gap:16px}.py-interest-item{padding:18px;border:1px solid var(--py-c-border,#dce3eb);border-radius:8px;background:var(--py-c-surface,#fff);min-width:0}.py-interest-item>header{display:flex;align-items:center;gap:16px;min-width:0}.py-interest-item h3{font-size:1rem;line-height:1.8;font-weight:650;margin:3px 0;overflow-wrap:anywhere}.py-interest-item small{color:var(--py-c-muted,#526176);font-size:.75rem}.py-interest-thumb{flex:0 0 64px;aspect-ratio:2/3;overflow:hidden;border-radius:4px}.py-interest-thumb img{width:100%;height:100%;object-fit:contain}.py-interest-item .py-course-interest{margin:14px 0 0}.py-interest-pagination{display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:center;margin:24px 0;font-size:.85rem}.py-interest-pagination a{padding:10px}.py-interest-empty{text-align:center;padding:36px 20px;background:var(--py-c-raised,#f4f7fb);border-radius:8px}.py-interest-empty>.py-account-icon{width:36px;height:36px;color:var(--py-c-link,#176b9f)}.py-interest-empty h3{font-size:1.1rem;font-weight:650;margin:14px 0 8px}.py-interest-empty a{display:inline-block;min-height:44px;padding:9px 18px}
.py-course-sample{position:relative;display:block;isolation:isolate;overflow:hidden;padding:0!important}.py-course-sample .py-intro-play{background:rgba(255,255,255,.2);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.65);color:#fff;box-shadow:0 8px 32px #102a5640}.py-sample-caption{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.py-sample-note{font-size:.78rem;line-height:1.9;color:var(--py-c-muted,#526176);margin:10px 2px}
@media(min-width:900px){.py-interest-item .py-interest-topics{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.py-interest-item .py-interest-favorite{width:auto;min-width:240px}}
@media(max-width:480px){.py-course-interest{padding:12px;font-size:.8rem}.py-interest-item{padding:13px}.py-interest-item>header{gap:12px}.py-interest-item h3{font-size:.9rem}.py-interest-thumb{flex-basis:52px}.py-interest-tabs a{font-size:.8rem;padding:9px 11px}}
@media(prefers-reduced-motion:reduce){.py-course-sample *{animation:none!important;transition:none!important}}
/* The cover action keeps its glass surface independently of global filled buttons. */
html[data-py-theme] #page .py-course-sample .py-intro-play{width:56px;height:56px;border-radius:var(--py-radius-sm,4px);border:1px solid #ffffffb3;background:linear-gradient(140deg,#ffffff30,#ffffff08),#0b203d70;color:#fff;backdrop-filter:blur(10px) saturate(120%);-webkit-backdrop-filter:blur(10px) saturate(120%);box-shadow:inset 0 1px 0 #ffffff80,0 8px 24px #07132340;transition:background .18s,box-shadow .18s}
html[data-py-theme] #page .py-course-sample:is(:hover,:focus-visible) .py-intro-play{background:linear-gradient(140deg,#ffffff42,#ffffff10),#0b203d88;color:#fff;border-color:#ffffffe6;box-shadow:inset 0 1px 0 #ffffffa6,0 10px 28px #07132352}
html[data-py-theme] #page .py-course-sample .py-intro-play svg{width:23px;height:23px;margin-left:2px;filter:drop-shadow(0 1px 2px #00102060)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){html[data-py-theme] #page .py-course-sample .py-intro-play{background:linear-gradient(140deg,#ffffff30,#ffffff08),#0b203da6}}
/* Quiet purchase-card follow controls; account-list presentation stays independent. */
html[data-py-theme] #page #course-offer .py-course-interest--purchase{
 width:100%;box-sizing:border-box;margin:12px 0 2px;padding:8px 10px;border:1px solid var(--py-c-border);border-radius:var(--py-radius,6px);
 background:var(--py-c-surface);color:var(--py-c-text);font-family:var(--py-font);font-size:12.5px;line-height:1.85;min-width:0;grid-column:1/-1;
}
#course-offer .py-course-interest--purchase [hidden]{display:none!important}
html[data-py-theme] #page #course-offer .py-course-interest--purchase :is(.py-interest-favorite,.py-interest-login){
 margin:0;box-shadow:none;transform:none;min-height:46px;box-sizing:border-box;width:100%;padding:5px 2px;border:0;border-radius:var(--py-radius-sm,4px);background:transparent;color:var(--py-c-heading);text-align:start;text-decoration:none;line-height:1.8;white-space:normal;font-size:12.5px;font-weight:550;
}
html[data-py-theme] #page #course-offer .py-course-interest--purchase .py-interest-favorite{display:flex;justify-content:flex-start;gap:10px}
html[data-py-theme] #page #course-offer .py-course-interest--purchase .py-interest-favorite>span{min-width:0;overflow-wrap:anywhere}
html[data-py-theme] #page #course-offer .py-course-interest--purchase .py-interest-favorite.is-selected{color:var(--py-c-link)}
html[data-py-theme] #page #course-offer .py-course-interest--purchase .py-interest-favorite:is(:hover,:focus-visible){background:var(--py-c-raised);color:var(--py-c-link)}
#course-offer .py-course-interest--purchase>.py-interest-favorite>.py-account-icon,
#course-offer .py-course-interest--purchase .py-interest-alerts summary>.py-account-icon{width:19px;height:19px;flex:0 0 19px;stroke-width:1.7}
#course-offer .py-course-interest--purchase .py-interest-alerts{margin:2px 0 0;border-top:1px solid var(--py-c-border);padding:2px 0 0;min-width:0}
html[data-py-theme] #page #course-offer .py-course-interest--purchase .py-interest-alerts>summary{display:flex;align-items:center;gap:10px;list-style:none;min-height:44px;margin:0;padding:5px 2px;border-radius:var(--py-radius-sm,4px);font-size:12.5px;line-height:1.8;font-weight:550;color:var(--py-c-heading);cursor:pointer}
#course-offer .py-course-interest--purchase .py-interest-alerts>summary::-webkit-details-marker{display:none}
#course-offer .py-course-interest--purchase .py-interest-alerts>summary::marker{content:''}
#course-offer .py-course-interest--purchase .py-interest-alerts>summary::after{content:'';width:6px;height:6px;border-inline-end:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg);margin-inline-start:auto;margin-inline-end:3px;flex:0 0 6px;transition:transform .15s ease}
#course-offer .py-course-interest--purchase .py-interest-alerts[open]>summary::after{transform:rotate(225deg)}
html[data-py-theme] #page #course-offer .py-course-interest--purchase .py-interest-alerts>summary:is(:hover,:focus-visible){background:var(--py-c-raised);color:var(--py-c-link)}
html[data-py-theme] #page #course-offer .py-course-interest--purchase p{font-size:12px!important;line-height:1.9;font-weight:400;margin:7px 0;text-align:start}
#course-offer .py-course-interest--purchase .py-interest-topics{display:grid;gap:6px;margin:10px 0}
html[data-py-theme] #page #course-offer .py-course-interest--purchase .py-interest-topics label{box-sizing:border-box;padding:8px 10px;min-height:44px;gap:9px;background:var(--py-c-raised);border:1px solid var(--py-c-border);border-radius:var(--py-radius-sm,4px);font-size:12px;line-height:1.8;font-weight:400;color:var(--py-c-text);margin:0}
html[data-py-theme] #page #course-offer .py-course-interest--purchase .py-interest-topics label:has(input:checked){border-color:var(--py-c-link);color:var(--py-c-heading)}
#course-offer .py-course-interest--purchase .py-interest-topics label:focus-within{outline:2px solid var(--py-c-focus,var(--py-c-link));outline-offset:2px}
#course-offer .py-course-interest--purchase .py-interest-topics input{width:17px!important;height:17px!important;min-width:17px;flex:0 0 17px;accent-color:var(--py-c-link)}
html[data-py-theme] #page #course-offer .py-course-interest--purchase [data-save-topics],
html[data-py-theme] #page #course-offer .py-course-interest--purchase [data-interest-retry]{min-height:44px;padding:8px 12px;width:100%;margin:4px 0 0;font-size:12px;font-weight:600;line-height:1.8;background:var(--py-c-raised);color:var(--py-c-link);border:1px solid var(--py-c-border);border-radius:var(--py-radius-sm,4px);box-shadow:none}
html[data-py-theme] #page #course-offer .py-course-interest--purchase small{font-size:11.5px;line-height:1.9;font-weight:400;margin-top:9px;color:var(--py-c-muted)}
#course-offer .py-course-interest--purchase [data-email-help]{padding:9px 10px;border-inline-start:2px solid var(--py-c-link);background:var(--py-c-raised);border-radius:var(--py-radius-sm,4px)}
#course-offer .py-course-interest--purchase [data-email-help] a{text-decoration:underline;text-underline-offset:3px}
html[data-py-theme] #page #course-offer .py-course-interest--purchase .py-interest-status:not(:empty){margin:7px 0 0;padding-top:6px;border-top:1px solid var(--py-c-border);font-size:11.5px!important;line-height:1.9}
@media(min-width:601px) and (max-width:782px){html[data-py-theme] #page #course-offer>.py-course-interest--purchase{grid-column:2;align-self:start;margin-top:10px}}
@media(prefers-reduced-motion:reduce){#course-offer .py-course-interest--purchase .py-interest-alerts>summary::after{transition:none}}
