.lesson-text .channel-materials{margin:0 0 1.5rem;border:1px solid #cbcfe8;border-radius:16px;color:#25223d;background:white;overflow-wrap:anywhere}
.channel-materials summary{display:grid;grid-template-columns:48px minmax(0,1fr) 12px;align-items:center;gap:14px;padding:13px 18px;cursor:pointer;background:#eef0fc;border-radius:inherit;line-height:1.35;list-style:none}
.channel-materials summary::-webkit-details-marker{display:none}
.channel-materials summary img{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:50%;object-fit:contain}
.channel-materials summary strong,.channel-resource strong{display:block;color:#25223d}
.channel-materials small{display:block;color:#5d5871;font-size:.875rem}
.channel-materials summary small{margin-top:3px}
.channel-materials summary::after{content:"";width:8px;height:8px;border:solid #69499a;border-width:0 2px 2px 0;transform:rotate(45deg);transition:transform .15s}
.channel-materials[open] summary{border-radius:15px 15px 0 0;border-bottom:1px solid #cbcfe8}
.channel-materials[open] summary::after{transform:rotate(225deg)}
.channel-materials summary:hover{background:#e7eafa}
.channel-materials :focus-visible,.channel-buy:focus-visible{outline:3px solid #66469b;outline-offset:-3px}
.channel-body{padding:4px clamp(12px,3vw,22px) 16px}
.channel-body ul{list-style:none;margin:0;padding:0}
.channel-body li{margin:0;padding:0}
.channel-body>ul>li+li{border-top:1px solid #e5e5ef}
.channel-body a,.channel-buy{text-decoration:none}
.channel-resource{display:grid;grid-template-columns:20px minmax(0,1fr) 16px;gap:12px;align-items:center;min-height:44px;padding:13px 6px;line-height:1.4;color:#624893;border-radius:6px}
.channel-resource strong{font-size:1rem;font-weight:600}
.channel-doc{display:block;position:relative;width:15px;height:19px;border:1.5px solid #817196;border-radius:3px}
.channel-doc::after{content:"";position:absolute;left:3px;right:3px;top:6px;height:3px;border-block:1px solid #817196}
.channel-body li>strong{display:block;margin:8px 0 4px;font-size:.875rem}
.channel-body .channel-tasks{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.channel-tasks a,.channel-buy{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;border:1px solid #d4cbe5;border-radius:9px;padding:6px 12px;color:#583583;font-size:.95rem;font-weight:600}
.channel-body footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:5px;padding-top:14px;border-top:1px solid #deddeb;background:white}
.channel-buy,.lesson-text .channel-body .channel-buy{
  min-height:48px;padding:11px 22px;border:1px solid #56388b;border-radius:11px;
  background:linear-gradient(115deg,#7247af,#513884);color:#fff;
  font-size:1rem;font-weight:700;line-height:1.35;text-align:center;
  box-shadow:0 3px 9px rgba(70,42,111,.2);
  transition:box-shadow .18s ease,filter .18s ease;
}
.channel-buy:hover{filter:brightness(1.08);box-shadow:0 4px 12px rgba(70,42,111,.28)}
.channel-buy:active{filter:brightness(.93)}
.channel-buy:focus-visible,.channel-materials .channel-buy:focus-visible{outline:3px solid #50327e;outline-offset:3px}
.channel-resource:hover,.channel-tasks a:hover{background:#f2effa}
@media(max-width:560px){.channel-materials summary{grid-template-columns:40px minmax(0,1fr) 10px;gap:10px;padding:12px}.channel-resource{gap:9px}}
@media(prefers-reduced-motion:reduce){.channel-materials summary::after{transition:none}}
.course-layout .channel-offer{padding:0;border:1px solid #cbcfe8;background:#fff;align-self:start;min-width:0;color:#25223d}
.offer-heading{display:flex;gap:12px;align-items:center;padding:16px;background:#eef0fc;border-radius:15px 15px 0 0;border-bottom:1px solid #cbcfe8}
.channel-offer .offer-heading h2{margin:0;font-size:1.22rem;line-height:1.3}
.offer-heading img{flex:none;border-radius:50%;object-fit:contain}
.offer-content{background:#f6f5fc;padding:16px;font-size:1rem;line-height:1.5}
.channel-offer .offer-content p{margin:0}
.offer-content ul{list-style:none;padding:0;margin:0 0 16px}
.offer-content li{display:grid;grid-template-columns:1.4em minmax(0,1fr);gap:.4em;margin:6px 0}
.channel-offer .offer-purchase{border-top:1px solid #deddeb;padding:16px;justify-content:stretch;background:white;border-radius:0 0 15px 15px}
.channel-offer .offer-purchase p{margin:0}
.offer-kind{color:#593586;font-size:1rem;font-weight:600;line-height:1.35;margin-bottom:4px}
.channel-offer .offer-content small{margin:3px 0 0;color:#575169;font-size:.875rem;line-height:1.4}
@media(max-width:560px){.channel-offer .channel-buy,.channel-body .channel-buy{width:100%}}
.offer-purchase,.channel-body footer{display:grid;justify-items:start;justify-content:start;align-items:start;gap:10px}
.channel-trial,.channel-body footer .channel-trial{
  box-sizing:border-box;max-width:100%;margin:0;padding:8px 12px;
  border:1px solid #e2daf1;border-inline-start:3px solid #a78aca;border-radius:9px;
  background:#f4f0fa;color:#493c58;font-size:1rem;line-height:1.45;
}
.channel-trial strong{color:#593586}
.channel-offer .channel-buy{justify-self:stretch}
@media(max-width:560px){.channel-body footer{justify-content:stretch}}
@media(prefers-reduced-motion:reduce){.channel-buy{transition:none}}
