/* Единая тема личного кабинета, входа и чтения уроков. */
.course-page { --ink:#18201b; --ink-soft:#38433b; --muted:#69756c; --paper:#f3f8f2; --paper-2:#e7f1e8; --line:rgba(24,32,27,.11); --lime:#d9ff46; --green:#55d98c; background:radial-gradient(ellipse at 92% 0%,rgba(85,217,140,.13),transparent 28%),var(--paper); }
.course-page .top { width:min(100% - 32px,1120px); max-width:1120px; margin:0 auto; padding:13px 0; background:rgba(243,248,242,.88); border-bottom:1px solid rgba(24,32,27,.06); backdrop-filter:blur(14px); }
.course-page .brand { font-size:13px; }
.course-page .brand-dot { background:#70dfa0; }
.course-page main { max-width:1120px; min-height:calc(100vh - 150px); padding:26px 0 72px; }
.course-page h1,.course-page h2,.course-page h3 { letter-spacing:-.045em; }
.course-page h1 { font-size:clamp(34px,5vw,56px); line-height:1.08; }
.course-page .kicker { color:#348355; font-size:12px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.course-page .lead { color:#536057; }
.course-page .pill { padding:10px 18px; border-radius:999px; background:#172019; color:white !important; }
.lesson-menu-toggle { display:inline-flex; align-items:center; gap:8px; margin-left:22px; padding:0; border:0; background:transparent; color:var(--ink); font:inherit; font-size:15px; font-weight:600; cursor:pointer; transition:opacity .2s ease; }
.lesson-menu-toggle:hover { opacity:.6; }
.lesson-menu-icon { display:flex; flex-direction:column; gap:3px; width:14px; }
.lesson-menu-icon i { display:block; width:14px; height:2px; border-radius:2px; background:#42a967; }
.lesson-menu-open { overflow:hidden; }
.lesson-drawer[hidden] { display:none !important; }
.lesson-drawer { position:fixed; z-index:200; inset:0; display:flex; justify-content:flex-end; background:rgba(12,20,14,.48); backdrop-filter:blur(5px); animation:drawer-fade .2s ease both; }
.lesson-drawer-panel { display:flex; flex-direction:column; width:min(470px,100%); height:100%; padding:24px; background:#f8fbf6; box-shadow:-20px 0 70px rgba(13,31,17,.22); animation:drawer-in .28s cubic-bezier(.2,.75,.2,1) both; outline:none; }
.lesson-drawer-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding-bottom:18px; border-bottom:1px solid var(--line); }
.lesson-drawer-head .kicker { margin:3px 0 5px; }
.lesson-drawer-head h2 { margin:0; font-size:28px; }
.lesson-drawer-close { display:grid; place-items:center; flex:none; width:42px; height:42px; border:1px solid var(--line); border-radius:50%; background:#fff; color:#223a28; font-size:28px; line-height:1; cursor:pointer; }
.lesson-drawer-home { display:flex; justify-content:space-between; margin:15px 0; padding:13px 15px; border-radius:14px; background:#eaf6e9; color:#23603a; font-size:14px; font-weight:850; text-decoration:none; }
.lesson-drawer-list { overflow:auto; padding-right:4px; }
.lesson-drawer-module { padding:11px 0 6px; }
.lesson-drawer-module h3 { display:flex; align-items:baseline; gap:9px; margin:0 0 8px; color:#283c2e; font-size:14px; }
.lesson-drawer-module h3 span { color:#58a972; font-size:10px; letter-spacing:.06em; }
.lesson-drawer-module ol { margin:0; padding:0; list-style:none; }
.lesson-drawer-module li { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:5px 10px; min-height:39px; padding:8px 9px; border-top:1px solid rgba(24,32,27,.07); font-size:13px; }
.lesson-drawer-module li a { color:#245a36; font-weight:700; text-decoration:none; }
.lesson-drawer-module li a:hover { color:#168344; }
.lesson-drawer-module li.is-locked > span { color:#79837a; }
.lesson-drawer-module li small { color:#879187; font-size:10px; }
.lesson-drawer-module li em { padding:3px 7px; border-radius:999px; background:#fff6d9; color:#846318; font-size:9px; font-style:normal; font-weight:900; }
.course-page .btn { min-height:50px; padding:12px 21px; border:0; border-radius:999px; background:#172019; color:white; font-weight:800; transition:transform .18s,background .18s; }
.course-page .btn:hover { transform:translateY(-2px); background:#31513b; }
.course-page footer { width:min(100% - 32px,1120px); max-width:1120px; margin:0 auto; border-top:1px solid var(--line); color:#68736a; }
.course-page footer a { color:#28794a; }
.course-page footer { width:auto; max-width:none; margin:0; padding:48px max(22px,calc((100vw - 1120px)/2)) 20px; border:0; color:#d5ddd6; background:radial-gradient(ellipse at 10% 0%,rgba(62,112,70,.16),transparent 42%),linear-gradient(145deg,#101311,#090b0a 76%); }
.course-page footer .footer-grid { display:grid; grid-template-columns:minmax(230px,1.35fr) repeat(3,minmax(130px,1fr)); gap:18px; max-width:1120px; margin:0 auto; padding-bottom:28px; }
.course-page footer .footer-brand,.course-page footer .footer-column { min-width:0; padding:20px; border:1px solid rgba(255,255,255,.09); border-radius:18px; background:rgba(255,255,255,.035); }
.course-page footer .footer-brand { border-color:rgba(217,255,70,.16); }
.course-page footer .footer-logo { color:#f3f6f2; font-size:17px; font-weight:850; text-decoration:none; }
.course-page footer .footer-course { margin:12px 0 5px; color:#f3f6f2; font-size:13px; font-weight:800; }
.course-page footer .footer-tagline { margin:0; color:#aab1ab; font-size:12px; line-height:1.5; }
.course-page footer .footer-requisites { display:grid; gap:5px; margin-top:16px; color:#aab1ab; font-size:11px; line-height:1.45; overflow-wrap:anywhere; }
.course-page footer .footer-requisites strong { color:#d9ff46; font-size:12px; }
.course-page footer .footer-column { display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
.course-page footer .footer-column h2 { position:relative; margin:0 0 5px; padding-bottom:9px; color:#f3f6f2; font-size:11px; font-weight:900; letter-spacing:.16em; line-height:1.3; text-transform:uppercase; }
.course-page footer .footer-column h2::after { position:absolute; bottom:0; left:0; width:24px; height:1px; background:#d9ff46; content:""; }
.course-page footer .footer-column a { display:block; width:100%; margin:0; color:#aab1ab; font-size:11px; line-height:1.45; text-decoration:none; overflow-wrap:anywhere; }
.course-page footer .footer-column a:hover,.course-page footer .footer-column a:focus-visible { color:#d9ff46; }
.course-page footer .footer-bottom { display:grid; gap:6px; max-width:1120px; margin:0 auto; padding-top:14px; border-top:1px solid rgba(255,255,255,.1); }
.course-page footer .footer-bottom p { margin:0; color:#858e87; font-size:10px; line-height:1.5; }
.course-page .narrow { max-width:490px; margin:56px auto 30px; padding:38px; border:1px solid rgba(255,255,255,.85); border-radius:30px; background:rgba(255,255,255,.88); box-shadow:0 24px 70px rgba(31,72,43,.1); animation:course-enter .55s cubic-bezier(.2,.7,.2,1) both; }
.course-page .narrow::before { content:"ЛИЧНЫЙ КАБИНЕТ · ИИ ДЛЯ НАЧИНАЮЩИХ"; display:block; margin-bottom:14px; color:#348355; font-size:11px; font-weight:900; letter-spacing:.12em; }
.course-page .narrow h1 { margin-bottom:24px; }
.course-page .narrow form { display:grid; gap:16px; }
.course-page .narrow label { display:grid; gap:7px; color:#344138; font-size:14px; font-weight:800; }
.course-page .narrow input { width:100%; min-height:49px; padding:12px 14px; border:1px solid #d7e2d8; border-radius:14px; background:#fbfdfb; color:#18201b; font:inherit; outline:none; transition:border-color .18s,box-shadow .18s; }
.course-page .narrow input:focus { border-color:#59c982; box-shadow:0 0 0 4px rgba(85,217,140,.16); }
.course-page .narrow form .btn { width:100%; margin-top:5px; cursor:pointer; }
.course-page .login-support { margin-top:22px; padding-top:17px; border-top:1px solid rgba(23,27,24,.1); color:#667069; font-size:14px; }
.course-page .login-support p { margin:0 0 12px; }
.course-page .login-support-links { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.course-page .login-support-links > a:first-child { color:#286b45; font-weight:750; text-underline-offset:3px; }
.course-page .login-max-link { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:9px 16px; border:1px solid rgba(23,27,24,.12); border-radius:999px; background:#d9ff46; color:#171b18; font-weight:850; text-decoration:none; box-shadow:0 7px 20px rgba(31,72,43,.11); transition:transform .2s ease,background .2s ease; }
.course-page .login-max-link:hover { transform:translateY(-2px); background:#c8f52f; }
.course-page .error { padding:12px 14px; border:1px solid #f0b8b8; border-radius:14px; background:#fff0ef; color:#913c37; }
.course-page .course-head { padding:28px 0 32px; }
.course-page .course-head .kicker { margin:0 0 10px; }
.course-page .course-head h1 { margin:0 0 12px; }
.course-page .course-head .lead { margin:0; }
.course-page .modules-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.course-page .module-block { padding:23px; border:1px solid rgba(255,255,255,.9); border-radius:23px; background:rgba(255,255,255,.83); box-shadow:0 10px 35px rgba(31,72,43,.055); transition:transform .18s,box-shadow .18s; animation:course-enter .5s both; }
.course-page .module-block:nth-child(2n) { animation-delay:.07s; }
.course-page .module-block:hover { transform:translateY(-2px); box-shadow:0 17px 38px rgba(31,72,43,.09); }
.course-page .module-block .module-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.course-page .module-block .module-num { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#e9f8eb; color:#318154; font-size:12px; font-weight:900; }
.course-page .module-block .module-label { padding:6px 10px; border-radius:999px; background:#eff5ef; color:#4f6956; font-size:10px; font-weight:900; letter-spacing:.06em; }
.course-page .module-block h2 { margin:16px 0 12px; font-size:21px; }
.course-page .lessons { margin:0; padding:0; list-style:none; }
.course-page .lessons li { position:relative; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; min-height:48px; padding:11px 0; border-top:1px solid var(--line); }
.course-page .lessons a { color:#1d5232; font-weight:750; text-decoration:none; }
.course-page .lessons a::after { content:"↗"; margin-left:8px; color:#48a96a; }
.course-page .lessons a:hover { color:#168344; }
.course-page .lessons li.locked > span { color:#657067; }
.course-page .lessons .note { width:100%; margin:0; font-size:12px; }
.course-page .soon { padding:4px 8px; border-radius:999px; background:#fff6d9; color:#846318; font-size:11px; font-style:normal; font-weight:900; }
.course-page .lesson { max-width:850px; margin:30px auto; padding:clamp(24px,5vw,54px); border:1px solid rgba(255,255,255,.9); border-radius:30px; background:#fff; box-shadow:0 24px 70px rgba(31,72,43,.08); animation:course-enter .5s cubic-bezier(.2,.7,.2,1) both; }
.course-page .lesson > p:first-of-type a { display:inline-flex; padding:9px 14px; border:1px solid var(--line); border-radius:999px; color:#315b3c; font-weight:800; text-decoration:none; }
.course-page .lesson h1 { margin:24px 0 30px; }
.course-page .lesson > .note { padding:12px 15px; border-radius:14px; background:#fff6d9; color:#725a1d; }
.course-page .content { color:#303b33; font-size:17px; line-height:1.8; }
.course-page .content h2 { margin:38px 0 14px; font-size:27px; }
.course-page .content h3 { margin:28px 0 10px; font-size:20px; }
.course-page .content a { color:#267649; }
.course-page .content table { display:block; width:100%; overflow-x:auto; border-collapse:collapse; font-size:14px; }
.course-page .content th,.course-page .content td { min-width:130px; padding:11px 13px; border:1px solid #dfe8df; text-align:left; }
.course-page .content th { background:#edf7ee; }
.course-page .content blockquote { margin:22px 0; padding:14px 18px; border-left:4px solid #63d389; border-radius:0 14px 14px 0; background:#f1f8f1; }
.course-page .lesson .next { margin-top:38px; }
@media(max-width:760px) {
  .course-page .top { width:calc(100% - 28px); padding:10px 0; }
  .course-page .top nav a { margin-left:8px; font-size:12px; }
  .course-page .top nav a:not(.pill) { display:none; }
  .course-page main { width:calc(100% - 28px); padding:16px 0 48px; }
  .course-page .narrow { margin:32px auto; padding:26px 21px; border-radius:24px; }
  .course-page .modules-list { grid-template-columns:1fr; gap:12px; }
  .course-page .module-block { padding:19px; }
  .course-page .lesson { margin:16px auto; padding:23px 19px; border-radius:22px; }
  .course-page .content { font-size:16px; }
  .course-page .content h2 { font-size:23px; }
  .course-page footer { padding:38px 20px 18px; }
  .course-page footer .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .course-page footer .footer-brand,.course-page footer .footer-social { grid-column:1 / -1; }
  .course-page footer .footer-column { padding:16px; }
}
@media(max-width:480px) {
  .course-page footer .footer-grid { grid-template-columns:1fr; }
  .course-page footer .footer-brand,.course-page footer .footer-social { grid-column:auto; }
}
@media(prefers-reduced-motion:reduce) { .course-page *, .course-page *::before, .course-page *::after { scroll-behavior:auto !important; transition:none !important; } }
@keyframes course-enter { from { opacity:0; translate:0 12px; } to { opacity:1; translate:0 0; } }
@keyframes drawer-fade { from { opacity:0; } to { opacity:1; } }
@keyframes drawer-in { from { opacity:.85; translate:24px 0; } to { opacity:1; translate:0 0; } }
@media(prefers-reduced-motion:reduce) { .course-page *, .course-page *::before, .course-page *::after { animation:none !important; } }

/* Скрытые промпты: плюсик открывает, минус закрывает */
details.agent-box { margin: 16px 0; border: 1px solid #dfe9df; border-radius: 16px; background: linear-gradient(145deg,#fff,#f8fcf8); box-shadow: 0 6px 18px rgba(24,55,31,.045); overflow: hidden; }
details.agent-box > summary { list-style: none; cursor: pointer; position: relative; padding: 17px 60px 17px 18px; color: #17221b; font-size: 16px; font-weight: 750; line-height: 1.4; }
details.agent-box > summary::-webkit-details-marker { display: none; }
details.agent-box > summary::after { content: "+"; position: absolute; right: 17px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: #c7ff35; color: #14200A; display: grid; place-items: center; font-size: 20px; line-height: 1; font-weight: 600; transition: transform .22s ease, background .22s ease; }
details.agent-box[open] > summary { border-bottom: 1px solid #e6eee6; }
details.agent-box[open] > summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); background: #a9e9bb; }
details.agent-box > :not(summary) { margin-left: 18px; margin-right: 18px; }
details.agent-box > p:first-of-type { margin-top: 18px; }
details.agent-box > p:last-child { margin-bottom: 18px; }
details.agent-box > .prompt-box { margin: 14px 18px 18px; }
details.agent-box > img { width: 100%; }
details.agent-box[open] > :not(summary) { animation: agent-reveal .24s ease both; }
@keyframes agent-reveal { from { opacity: 0; translate: 0 -5px; } to { opacity: 1; translate: 0 0; } }
@media(max-width:600px) { details.agent-box > summary { padding: 15px 54px 15px 15px; font-size: 15px; } details.agent-box > :not(summary) { margin-left: 14px; margin-right: 14px; } details.agent-box > .prompt-box { margin-left: 14px; margin-right: 14px; } }
@media(prefers-reduced-motion:reduce) { details.agent-box > summary::after, details.agent-box[open] > :not(summary) { transition:none; animation:none; } }
/* Категории промптов должны читаться как отдельные разделы */
.content h4.prompt-category { display:flex; align-items:center; gap:11px; margin:30px 0 14px; padding:14px 18px; border:1px solid #dcebdd; border-left:4px solid #39b96e; border-radius:14px; background:linear-gradient(100deg,#edf8ef 0%,#f7fbf3 72%,#f2f8e8 100%); box-shadow:0 5px 16px rgba(32,77,43,.055); color:#1d3324; font-size:17px; font-weight:780; line-height:1.35; letter-spacing:-.015em; }
.content h4.prompt-category::before { content:""; width:9px; height:9px; flex:none; border-radius:3px; transform:rotate(45deg); background:#8bc53f; box-shadow:0 0 0 5px rgba(139,197,63,.15); }
@media(max-width:600px) { .content h4.prompt-category { margin:24px 0 12px; padding:13px 15px; font-size:16px; } }
.content a.agent-visual,.content .agent-visual { display:block; position:relative; overflow:hidden; margin:16px 18px 20px; border:1px solid #dce8dd; border-radius:17px; background:#f2f8f2; box-shadow:0 8px 22px rgba(24,55,31,.08); text-decoration:none; }
.content .agent-visual img { display:block; width:100%; height:auto; margin:0; border:0; border-radius:0; }
.content .agent-visual span { display:block; padding:9px 14px; background:#fff; color:#087b4d; font-size:12px; font-weight:700; }
@media(max-width:600px) { .content a.agent-visual,.content .agent-visual { margin:13px 14px 16px; border-radius:13px; } }
details.prompt-box { margin: 14px 0; border: 1px solid #e6e8ec; border-radius: 12px; background: #fff; }
details.prompt-box > summary { list-style: none; cursor: pointer; padding: 12px 52px 12px 16px; position: relative; font-weight: 600; color: #0E0E0E; }
details.prompt-box > summary::-webkit-details-marker { display: none; }
details.prompt-box > summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: #8BC53F; color: #14200A; display: grid; place-items: center; font-size: 18px; line-height: 1; font-weight: 700; }
details.prompt-box[open] > summary::after { content: "–"; }
details.prompt-box > blockquote { margin: 0 14px 14px; }
details.prompt-box > p { margin: 0 16px 12px; }
details.prompt-box > .example-pair { margin: 0 14px 16px; }

/* Скриншоты в уроках не шире текста */
.content img, .lesson img { max-width: 100%; height: auto; display: block; margin: 14px 0; border-radius: 10px; border: 1px solid #e6e8ec; }
.content { overflow-wrap: anywhere; }

/* Схема режимов ChatGPT (урок 04c) */
.modes-map { margin: 18px 0; display: grid; gap: 14px; }
.mm-root { justify-self: center; background: #0E0F12; color: #F4F3EF; border-radius: 999px; padding: 8px 20px; font-weight: 700; }
.mm-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mm-branch { border: 1px dashed #cfd5dc; border-radius: 16px; padding: 12px; }
.mm-label { font-weight: 700; color: #0E0E0E; margin-bottom: 10px; font-size: 15px; }
.mm-nodes { display: grid; gap: 10px; }
.mm-node { position: relative; background: #F4F3EF; border: 1px solid #e6e8ec; border-radius: 12px; padding: 10px 12px; font-weight: 700; color: #0E0E0E; }
.mm-node small { display: block; font-weight: 400; color: #5B5F66; margin-top: 4px; font-size: 14px; line-height: 1.4; }
.mm-rec { background: #8BC53F; border-color: #8BC53F; color: #14200A; }
.mm-rec small { color: #14200A; }
.mm-tag { position: absolute; top: -10px; right: 10px; background: #0E0F12; color: #8BC53F; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.mm-sync { text-align: center; color: #5B5F66; font-size: 14px; margin: 4px 0 0; }
@media (max-width: 640px) { .mm-branches { grid-template-columns: 1fr; } }

/* Иллюстрации урока «Как устроен мир нейросетей»: появляются при прокрутке, плавно покачиваются */
.art-fade { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; margin: 14px 0; text-align: center; }
.art-fade.is-visible { opacity: 1; transform: none; }
.art-fade img { display: block; margin: 0 auto; max-width: 360px; width: 100%; height: auto; border: 0; border-radius: 14px; animation: art-float 6s ease-in-out infinite; }
@keyframes art-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .art-fade, .art-fade img { transition: none; animation: none; opacity: 1; transform: none; } }

/* Карточки сервисов (урок 04d): оформлены как карточки уроков на главной */
.course-page .svc-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:24px 0; }
.course-page .svc-card { display:flex; flex-direction:column; padding:22px; border:1px solid var(--line); border-radius:24px; background:rgba(255,255,255,.77); box-shadow:0 14px 40px rgba(31,63,41,.045); transition:transform .18s ease,box-shadow .18s ease; }
.course-page .svc-card:hover { transform:translateY(-3px); box-shadow:0 16px 35px rgba(31,63,41,.08); }
.course-page .svc-num { color:#24814e; font-size:12px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.course-page .svc-logo { display:flex; align-items:center; justify-content:center; align-self:flex-start; gap:6px; min-width:64px; height:64px; margin:16px 0 14px; padding:0 12px; box-sizing:border-box; border:1px solid #e3ece4; border-radius:18px; background:#fff; box-shadow:0 8px 20px rgba(31,63,41,.06); }
.course-page .svc-logo img { display:block; width:32px; height:32px; margin:0; border:0; border-radius:0; object-fit:contain; }
.course-page .svc-letter { display:grid; place-items:center; width:44px; height:44px; border-radius:13px; background:#172019; color:#d9ff46; font-size:16px; font-weight:900; letter-spacing:-.02em; }
.course-page .svc-card h3 { margin:0 0 8px; font-size:20px; line-height:1.2; }
.course-page .svc-card p { margin:0; color:#626a64; font-size:15px; line-height:1.5; }
@media (max-width:760px) { .course-page .svc-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:480px) { .course-page .svc-grid { grid-template-columns:1fr; } }

/* Примеры результатов под промптами: «Было / Стало» и готовые работы */
.course-page .example-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:16px 0; }
.course-page .example-pair figure { margin:0; }
.course-page .example-pair img { display:block; width:100%; height:auto; aspect-ratio:3 / 2; object-fit:contain; background:#fff; margin:0; border:1px solid #e6e8ec; border-radius:14px; }
.course-page .example-pair figcaption { margin-top:6px; color:#5B5F66; font-size:14px; text-align:center; }
.course-page .example-pair.single { grid-template-columns:minmax(0,1fr); max-width:560px; }
.course-page .example-link { margin:8px 0 16px; }
.course-page .rec { display:inline-block; margin-left:8px; padding:2px 10px; border-radius:999px; background:#d9ff46; color:#172019; font-size:12px; font-weight:800; line-height:1.6; vertical-align:middle; }
.course-page .rec.foreign { background:#e4e9f2; color:#2a3a52; }
@media (max-width:640px) { .course-page .example-pair { grid-template-columns:minmax(0,1fr); } }

/* Живая схема сравнения инструментов в уроке 04d */
.course-page .plugin-hero { position:relative; isolation:isolate; overflow:hidden; margin:0 0 30px; padding:clamp(23px,4vw,38px); border-radius:26px; color:#f7fff7; background:radial-gradient(ellipse at 88% 12%,rgba(142,231,164,.3),transparent 34%),linear-gradient(135deg,#17241b,#253d2b 64%,#31543a); }
.course-page .plugin-hero::after { content:""; position:absolute; z-index:-1; width:220px; height:220px; right:-80px; bottom:-125px; border:1px solid rgba(206,255,215,.25); border-radius:50%; box-shadow:0 0 0 24px rgba(206,255,215,.04),0 0 0 52px rgba(206,255,215,.035); animation:plugin-orbit 12s linear infinite; }
.course-page .plugin-hero-copy { max-width:600px; }
.course-page .plugin-eyebrow { display:inline-flex; padding:7px 11px; border:1px solid rgba(211,255,220,.24); border-radius:999px; color:#c8f3ce; font-size:11px; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.course-page .plugin-hero h2 { margin:16px 0 8px; color:#fff; font-size:clamp(28px,4vw,42px); line-height:1.06; letter-spacing:-.04em; }
.course-page .plugin-hero-copy p { max-width:540px; margin:0; color:rgba(245,255,246,.78); font-size:16px; line-height:1.55; }
.course-page .plugin-jump { display:flex; flex-wrap:wrap; gap:8px; margin-top:25px; }
.course-page .plugin-jump a { display:inline-flex; align-items:center; gap:9px; padding:9px 12px; border:1px solid rgba(235,255,238,.16); border-radius:999px; background:rgba(255,255,255,.08); color:#f5fff5; font-size:12px; font-weight:750; text-decoration:none; transition:background .2s ease,transform .2s ease; }
.course-page .plugin-jump a:hover { transform:translateY(-2px); background:rgba(255,255,255,.17); }
.course-page .plugin-jump a span { color:#a8eab5; font-size:10px; font-weight:900; }
.course-page .content h3:has(+ .plugin-compare) { margin-top:20px; }
.course-page .plugin-compare { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:15px 0 17px; scroll-margin-top:26px; }
.course-page .plugin-tile { --tile-accent:#0b8d79; position:relative; overflow:hidden; min-height:220px; padding:22px 23px 19px; border:1px solid rgba(25,92,73,.12); border-radius:23px; background:linear-gradient(145deg,rgba(239,250,245,.97),rgba(250,253,250,.9)); box-shadow:0 12px 32px rgba(34,75,48,.07); animation:plugin-rise .7s cubic-bezier(.2,.75,.25,1) both; transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
.course-page .plugin-tile:nth-child(2) { --tile-accent:#4672b7; animation-delay:.09s; background:linear-gradient(145deg,#f0f5fd,#fbfcff); }
.course-page .plugin-tile:nth-child(3) { --tile-accent:#8d62bd; animation-delay:.18s; background:linear-gradient(145deg,#f7f0fc,#fdfaff); }
.course-page .plugin-tile:nth-child(4) { --tile-accent:#bd8531; animation-delay:.27s; background:linear-gradient(145deg,#fff7e9,#fffdf8); }
.course-page .plugin-tile::before { content:""; position:absolute; width:145px; height:145px; right:-78px; top:-78px; border-radius:50%; background:var(--tile-accent); opacity:.11; filter:blur(2px); transition:transform .45s ease,opacity .45s ease; }
.course-page .plugin-tile:hover { transform:translateY(-6px) rotate(-.35deg); border-color:color-mix(in srgb,var(--tile-accent) 34%,white); box-shadow:0 22px 44px rgba(34,75,48,.14); }
.course-page .plugin-tile:hover::before { transform:scale(1.8); opacity:.2; }
.course-page .plugin-tile-index { position:absolute; top:20px; right:21px; color:rgba(28,54,38,.38); font-size:11px; font-weight:900; letter-spacing:.12em; }
.course-page .plugin-tile-icon { display:grid; place-items:center; width:42px; height:42px; margin-bottom:17px; border-radius:14px; background:color-mix(in srgb,var(--tile-accent) 11%,white); color:var(--tile-accent); font-size:22px; font-weight:800; animation:plugin-icon 4s ease-in-out infinite; }
.course-page .plugin-tile:nth-child(2) .plugin-tile-icon { animation-delay:.5s; }
.course-page .plugin-tile:nth-child(3) .plugin-tile-icon { animation-delay:1s; }
.course-page .plugin-tile:nth-child(4) .plugin-tile-icon { animation-delay:1.5s; }
.course-page .plugin-tile-label { position:relative; margin:0 0 3px; color:#69766c; font-size:12px; font-weight:700; line-height:1.35; letter-spacing:.01em; }
.course-page .plugin-tile h3 { position:relative; margin:0 0 8px; color:var(--tile-accent); font-size:28px; line-height:1.08; letter-spacing:-.035em; }
.course-page .plugin-tile > p:not(.plugin-tile-label) { position:relative; margin:0; color:#58635a; font-size:14px; line-height:1.55; }
.course-page .plugin-tile-foot { display:flex; align-items:center; gap:9px; margin-top:16px; color:#758078; font-size:10px; font-weight:750; }
.course-page .plugin-tile-foot i { position:relative; display:block; flex:1; height:3px; overflow:hidden; border-radius:9px; background:rgba(42,105,67,.12); }
.course-page .plugin-tile-foot i::after { content:""; position:absolute; inset:0; width:37%; border-radius:inherit; background:var(--tile-accent); animation:plugin-progress 3s ease-in-out infinite alternate; }
.course-page .plugin-takeaway { display:block; margin:18px 0 32px; padding:16px 18px; border:1px solid #dcefe0; border-radius:17px; background:#f3faf3; color:#47564a; font-size:14px; line-height:1.55; overflow-wrap:normal; }
.course-page .plugin-takeaway > span { display:inline-block; margin-right:7px; color:#26874e; font-size:19px; font-weight:900; vertical-align:-1px; }
.course-page .plugin-section-marker { display:flex; align-items:center; gap:13px; margin:38px 0 5px; padding:14px 16px; border:1px solid #e2ece3; border-radius:17px; background:linear-gradient(110deg,#f4faf4,#fff); scroll-margin-top:25px; }
.course-page .plugin-section-marker > span { display:grid; place-items:center; flex:none; width:35px; height:35px; border-radius:12px; background:#e2f4e5; color:#287d48; font-size:12px; font-weight:950; }
.course-page .plugin-section-marker b,.course-page .plugin-section-marker small { display:block; }
.course-page .plugin-section-marker b { color:#253c2b; font-size:14px; }
.course-page .plugin-section-marker small { margin-top:2px; color:#768078; font-size:11px; line-height:1.4; }
.course-page .plugin-section-safety { border-color:#f0e2c5; background:linear-gradient(110deg,#fff9ec,#fff); }
.course-page .plugin-section-safety > span { background:#fff0d3; color:#9a6a18; }
@keyframes plugin-rise { from { opacity:0; transform:translateY(16px) scale(.985); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes plugin-icon { 0%,100% { transform:translateY(0) rotate(0); } 50% { transform:translateY(-3px) rotate(5deg); } }
@keyframes plugin-progress { from { transform:translateX(-15%); } to { transform:translateX(190%); } }
@keyframes plugin-orbit { to { transform:rotate(360deg); } }
@media(max-width:600px) {
  .course-page .plugin-hero { margin-inline:-3px; padding:23px 19px; border-radius:21px; }
  .course-page .plugin-jump { gap:7px; }
  .course-page .plugin-jump a { flex:1 1 calc(50% - 7px); justify-content:flex-start; padding:9px 10px; font-size:11px; }
  .course-page .plugin-compare { grid-template-columns:minmax(0,1fr); gap:10px; }
  .course-page .plugin-tile { min-height:0; padding:18px 18px 16px; border-radius:19px; }
  .course-page .plugin-tile-icon { width:38px; height:38px; margin-bottom:13px; }
  .course-page .plugin-tile-label { font-size:11px; }
  .course-page .plugin-tile h3 { margin-bottom:7px; font-size:25px; }
  .course-page .plugin-takeaway { padding:13px 14px; font-size:13px; line-height:1.55; }
}
@media(prefers-reduced-motion:reduce) {
  .course-page .plugin-hero::after,.course-page .plugin-tile,.course-page .plugin-tile-icon,.course-page .plugin-tile-foot i::after { animation:none !important; }
  .course-page .plugin-tile:hover,.course-page .plugin-jump a:hover { transform:none; }
}

/* Сравнение нейросетей — обзорный урок */
.course-page .ai-compare { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; margin:22px 0 28px; }
.course-page .ai-card { display:block; --ai-accent:#308956; position:relative; overflow:hidden; padding:22px; border:1px solid #e4ebe3; border-radius:22px; background:linear-gradient(145deg,#fff,#f7fbf7); box-shadow:0 12px 32px rgba(32,72,43,.055); animation:ai-card-in .55s cubic-bezier(.2,.7,.25,1) both; transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.course-page a.ai-card { color:inherit; text-decoration:none; cursor:pointer; -webkit-tap-highlight-color:rgba(48,137,86,.12); }
.course-page .ai-card-inactive { cursor:default; opacity:.78; }
.course-page .ai-card:nth-child(2) { animation-delay:.06s; }
.course-page .ai-card:nth-child(3) { animation-delay:.12s; }
.course-page .ai-card:nth-child(4) { animation-delay:.18s; }
.course-page .ai-card:nth-child(5) { animation-delay:.24s; }
.course-page a.ai-card:hover { transform:translateY(-4px); border-color:#c7dfca; box-shadow:0 19px 40px rgba(32,72,43,.11); }
.course-page a.ai-card:focus-visible { outline:3px solid #55b977; outline-offset:3px; }
.course-page .ai-alisa { --ai-accent:#7c5dc2; }
.course-page .ai-perplexity { --ai-accent:#247d92; }
.course-page .ai-chatgpt { --ai-accent:#16836c; }
.course-page .ai-claude { --ai-accent:#b36b38; }
.course-page .ai-card-head { display:flex; align-items:center; gap:12px; margin-bottom:18px; padding-bottom:15px; border-bottom:1px solid #edf1ed; }
.course-page .ai-mark { display:grid; place-items:center; flex:none; width:42px; height:42px; border:1px solid color-mix(in srgb,var(--ai-accent) 18%,white); border-radius:14px; background:color-mix(in srgb,var(--ai-accent) 9%,white); color:var(--ai-accent); font-size:18px; font-weight:900; }
.course-page .ai-card-head h2 { margin:0; color:#1e2a21; font-size:21px; line-height:1.15; letter-spacing:-.025em; }
.course-page .ai-card-head h2 small { display:block; margin-top:4px; color:#89918a; font-size:10px; font-weight:750; letter-spacing:.08em; text-transform:uppercase; }
.course-page .ai-index { margin-left:auto; align-self:flex-start; color:#aab2aa; font-size:10px; font-weight:900; letter-spacing:.1em; }
.course-page .ai-card-points { display:grid; gap:15px; }
.course-page .ai-card-points section { min-width:0; }
.course-page .ai-card-points h3 { margin:0 0 8px; color:var(--ai-accent); font-size:10px; font-weight:950; letter-spacing:.11em; text-transform:uppercase; }
.course-page .ai-card-points ul { display:grid; gap:6px; margin:0; padding:0; list-style:none; }
.course-page .ai-card-points li { position:relative; padding-left:18px; color:#48534a; font-size:13px; line-height:1.45; }
.course-page .ai-card-points li::before { position:absolute; left:0; top:.02em; color:var(--ai-accent); font-size:13px; font-weight:900; }
.course-page .ai-card-points section:first-child li::before { content:"+"; }
.course-page .ai-card-points .ai-caveats { padding:12px 13px; border:1px solid #f1eadb; border-radius:14px; background:#fcf9f2; }
.course-page .ai-card-points .ai-caveats h3 { color:#96763a; }
.course-page .ai-card-points .ai-caveats li { color:#6d6656; }
.course-page .ai-card-points .ai-caveats li::before { content:"−"; color:#b38c43; }
.course-page .overview-choices { display:flex; flex-wrap:wrap; gap:9px; margin:16px 0 4px; }
.course-page .overview-choices a { display:inline-flex; align-items:center; gap:15px; padding:11px 15px; border:1px solid #dfe9df; border-radius:999px; background:#f7fbf7; color:#285d39; font-size:14px; font-weight:800; text-decoration:none; transition:transform .2s ease,background .2s ease,border-color .2s ease; }
.course-page .overview-choices a:hover { transform:translateY(-2px); border-color:#a9d5b1; background:#edf8ee; }
.course-page .overview-choices a span { color:#55a66b; }
@keyframes ai-card-in { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:600px) {
  .course-page .ai-compare { grid-template-columns:minmax(0,1fr); gap:11px; margin-top:16px; }
  .course-page .ai-card { padding:18px; border-radius:19px; }
  .course-page .ai-card-head { margin-bottom:14px; }
  .course-page .ai-card-head h2 { font-size:19px; }
  .course-page .ai-card-points { gap:12px; }
  .course-page .ai-card-points li { font-size:13px; }
  .course-page .overview-choices a { flex:1 1 calc(50% - 9px); justify-content:space-between; }
}
@media(prefers-reduced-motion:reduce) { .course-page .ai-card { animation:none; } .course-page a.ai-card:hover,.course-page .overview-choices a:hover { transform:none; } }

/* Навигация по урокам внутри раздела ChatGPT / Claude */
.course-page .content .lesson-paths { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:13px 0 18px; padding:0; }
.course-page .content .lesson-paths > a { display:grid; grid-template-columns:34px minmax(0,1fr) 24px; align-items:center; gap:11px; min-height:66px; padding:11px 13px; border:1px solid #e2ebe2; border-radius:16px; background:linear-gradient(135deg,#fbfefb,#f2f8f2); color:#263b2b; font-size:14px; font-weight:750; line-height:1.35; text-decoration:none; box-shadow:0 6px 16px rgba(35,76,46,.045); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease; }
.course-page .content .lesson-paths > a:hover { transform:translateY(-2px); border-color:#b9d8bd; background:#f5fbf5; box-shadow:0 12px 24px rgba(35,76,46,.09); }
.course-page .content .lesson-path-number { display:grid; place-items:center; width:32px; height:32px; border-radius:11px; background:#e5f4e7; color:#2f8650; font-size:11px; font-weight:900; letter-spacing:.04em; }
.course-page .content .lesson-path-title { min-width:0; }
.course-page .content .lesson-path-arrow { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:#fff; color:#398a53; font-size:13px; transition:transform .2s ease; }
.course-page .content .lesson-paths > a:hover .lesson-path-arrow { transform:translate(2px,-2px); }
.course-page .content .lesson-paths > a:focus-visible { outline:3px solid #55b977; outline-offset:3px; }
@media(max-width:600px) {
  .course-page .content .lesson-paths { grid-template-columns:minmax(0,1fr); gap:8px; margin:11px 0 16px; }
  .course-page .content .lesson-paths > a { min-height:58px; padding:10px 12px; border-radius:14px; font-size:14px; }
}
@media(prefers-reduced-motion:reduce) { .course-page .content .lesson-paths > a,.course-page .content .lesson-path-arrow { transition:none; } .course-page .content .lesson-paths > a:hover,.course-page .content .lesson-paths > a:hover .lesson-path-arrow { transform:none; } }

/* Диаграмма режимов ChatGPT/Codex в уроке 04c */
.course-page .codex-mode-map { margin:20px 0 25px; padding:22px; border:1px solid #e3ece4; border-radius:24px; background:radial-gradient(ellipse at 95% 0,rgba(193,235,200,.42),transparent 35%),linear-gradient(145deg,#f7fbf7,#f0f6f1); box-shadow:0 14px 34px rgba(34,75,45,.06); }
.course-page .codex-map-root { display:flex; align-items:center; justify-content:center; gap:8px; width:max-content; margin:0 auto; padding:10px 19px; border-radius:999px; background:#1a261d; color:#f6fff6; font-size:14px; font-weight:850; box-shadow:0 7px 17px rgba(20,43,25,.14); }
.course-page .codex-map-root span { color:#a8dd66; font-size:17px; }
.course-page .codex-map-branch { display:block; width:100%; height:43px; overflow:visible; }
.course-page .codex-branch-narrow { display:none; }
.course-page .codex-map-routes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.course-page .codex-route { min-width:0; padding:15px; border:1px solid #e2eae2; border-radius:18px; background:rgba(255,255,255,.82); }
.course-page .codex-route h3 { display:flex; align-items:center; gap:9px; margin:0 0 12px; color:#36483b; font-size:13px; line-height:1.35; }
.course-page .codex-route h3 span { display:grid; place-items:center; flex:none; width:27px; height:27px; border-radius:9px; background:#e8f4e8; color:#388751; font-size:10px; font-weight:950; }
.course-page .codex-mode-branches { position:relative; display:grid; gap:9px; margin-left:4px; padding-left:18px; }
.course-page .codex-mode-branches::before { content:""; position:absolute; top:-17px; bottom:19px; left:5px; width:2px; border-radius:2px; background:#84bc8d; }
.course-page .codex-mode-card { position:relative; margin:0; padding:12px 13px; border:1px solid #e6eee7; border-radius:14px; background:#f8fbf8; }
.course-page .codex-mode-card::before { content:""; position:absolute; left:-18px; top:50%; width:14px; border-top:2px solid #84bc8d; }
.course-page .codex-mode-card::after { content:""; position:absolute; left:-8px; top:calc(50% - 4px); width:6px; height:6px; border-top:2px solid #388751; border-right:2px solid #388751; transform:rotate(45deg); }
.course-page .codex-mode-title { display:flex; flex-wrap:wrap; align-items:baseline; gap:5px 9px; }
.course-page .codex-mode-title b { color:#1e3927; font-size:15px; }
.course-page .codex-mode-title span { color:#77847a; font-size:10px; font-weight:750; }
.course-page .codex-mode-card p { margin:5px 0 0; color:#59675c; font-size:12px; line-height:1.45; }
.course-page .codex-mode-recommended { border-color:#b8dfbd; background:linear-gradient(130deg,#f0faf1,#fff); }
.course-page .codex-mode-codex { border-color:#c6d9c7; background:linear-gradient(130deg,#edf7ee,#fff); }
.course-page .codex-rec-label { display:inline-flex; margin-bottom:5px; padding:3px 7px; border-radius:999px; background:#e4f4e5; color:#38824d; font-size:9px; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
.course-page .codex-map-sync { display:flex; align-items:center; justify-content:center; gap:10px; margin:14px 0 0; padding:10px 13px; border:1px solid #d8ead9; border-radius:14px; background:#eef8ef; }
.course-page .codex-map-sync > span { display:grid; place-items:center; flex:none; width:28px; height:28px; border-radius:50%; background:#d9efdc; color:#34854d; font-size:17px; font-weight:900; }
.course-page .codex-map-sync p { margin:0; line-height:1.3; }
.course-page .codex-map-sync b,.course-page .codex-map-sync small { display:block; }
.course-page .codex-map-sync b { color:#31543a; font-size:12px; }
.course-page .codex-map-sync small { margin-top:2px; color:#6d7d70; font-size:10px; }
@media(max-width:600px) {
  .course-page .codex-mode-map { margin:16px 0 21px; padding:14px; border-radius:19px; }
  .course-page .codex-map-branch { height:30px; }
  .course-page .codex-branch-wide { display:none; }
  .course-page .codex-branch-narrow { display:block; }
  .course-page .codex-map-routes { grid-template-columns:minmax(0,1fr); gap:9px; }
  .course-page .codex-route { padding:12px; border-radius:15px; }
  .course-page .codex-route h3 { margin-bottom:8px; font-size:13px; }
  .course-page .codex-mode-card { margin-top:7px; padding:11px 12px; }
}

/* Знак Claude и короткий эффект «лого-снега» при открытии урока */
.course-page .claude-welcome { position:relative; display:grid; place-items:center; min-height:142px; overflow:hidden; margin:14px 0 28px; border:1px solid #f3dfd0; border-radius:22px; background:radial-gradient(ellipse at 50% 0,rgba(255,183,119,.3),transparent 58%),linear-gradient(120deg,#fffaf5,#fff3e8); }
.course-page .claude-brand-mark { position:relative; z-index:1; display:block; width:72px; height:63px; margin:0; border:0; border-radius:0; image-rendering:pixelated; filter:drop-shadow(0 8px 8px rgba(196,103,62,.17)); }
.course-page .claude-snowfield { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.course-page .claude-snowfield img { position:absolute; top:-28px; left:var(--x); width:var(--size); height:auto; margin:0; border:0; border-radius:0; opacity:0; image-rendering:pixelated; animation:claude-snow 2.4s cubic-bezier(.3,.6,.5,1) var(--delay) both; }
@keyframes claude-snow { 0% { opacity:0; transform:translate3d(0,-12px,0) rotate(-15deg); } 14% { opacity:.78; } 75% { opacity:.65; } 100% { opacity:0; transform:translate3d(28px,190px,0) rotate(18deg); } }
@media(max-width:600px) { .course-page .claude-welcome { min-height:112px; margin:10px 0 23px; border-radius:18px; } .course-page .claude-brand-mark { width:58px; height:51px; } .course-page .claude-snowfield img { top:-22px; } }
@media(prefers-reduced-motion:reduce) { .course-page .claude-snowfield { display:none; } }
