/* «Шесть практик на почту» at the end of a practice page.
   The same form as on the practices and materials pages, where its rules
   still sit inside the page. Here they are shared by the twelve practice
   pages, so they live in a file. The column matches the page's text column. */
/* The long selector outranks the site's phone rule for every section of a
   page (html:root main > section, 48px above and below): next to the text
   section before it that would leave a 96px hole above the heading. */
html:root main > section.practice-course{max-width:720px;margin:0 auto;padding:8px 24px 48px;}
/* After «Что ещё помогает» the block starts right under that section's
   closing hairline: the heading needs air below the line. */
html:root main > section.practice-related + section.practice-course{padding-top:48px;}
html:root .practice-course h2{font-family:var(--font-serif);font-size:26px;line-height:1.25;margin:0 0 14px;}

.cbox__form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;max-width:480px;text-align:left;}
.cbox__form[hidden]{display:none;}
html:root .cbox__p{margin:0 0 20px;max-width:56ch;font-size:16px;line-height:1.6;color:var(--muted,#4b4b56);}
.cbox__trap{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;}
.cbox__input{min-width:0;box-sizing:border-box;min-height:48px;padding:12px 18px;border:1px solid var(--hair2,rgba(11,11,13,.3));border-radius:100px;background:#fff;color:var(--ink,#0b0b0d);font:400 16px var(--head,inherit);}
.cbox__input:focus{outline:none;border-color:var(--btn,#2f5582);box-shadow:0 0 0 3px rgba(47,85,130,.22);}
.cbox__btn{min-height:48px;padding:12px 22px;border:0;border-radius:100px;cursor:pointer;background:var(--btn,#2f5582);color:var(--btn-fg,#fff);font:500 16px var(--head,inherit);transition:background-color .2s ease;}
.cbox__btn:hover{background:var(--btn-h,#243f63);}
.cbox__btn:focus-visible{outline:2px solid var(--btn,#2f5582);outline-offset:3px;}
.cbox__btn:disabled{opacity:.6;cursor:default;}
.cbox__consent{grid-column:1 / -1;display:flex;align-items:flex-start;gap:10px;padding:4px 6px 0;font-size:13px;line-height:1.5;color:var(--muted,#4b4b56);cursor:pointer;}
.cbox__consent input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--btn,#2f5582);}
html:root .cbox__note{margin:14px 0 0;max-width:52ch;font-size:16px;line-height:1.6;color:var(--ink,#0b0b0d);}
@media (max-width:600px){.cbox__form{grid-template-columns:minmax(0,1fr);}}
