

/* Start:/bitrix/components/codeprof/content.collection/templates/.default/style.css?17913099698694*/
.cp-collection-layout{display:grid;grid-template-columns:280px minmax(0,1fr);max-width:1440px;margin:0 auto;align-items:start}
.cp-collection-side{position:sticky;top:73px;align-self:start;height:calc(100vh - 73px);overflow:auto;box-sizing:border-box;padding:32px 20px 32px 40px;border-right:1px solid #E6DACB;background:#F7F1E8;font-size:14px}
.cp-collection-side-title{margin:0 10px 12px;font-size:11px;font-weight:700;color:#5E554B;letter-spacing:.06em;text-transform:uppercase}
.cp-collection-side-nav{display:flex;flex-direction:column;gap:3px}
.cp-collection-side-nav a{color:#1B1712;text-decoration:none}
.cp-collection-side-all,.cp-collection-side-category{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border-radius:8px;line-height:1.35}
.cp-collection-side-all:hover,.cp-collection-side-category:hover{background:#F0E6D8}
.cp-collection-side-all.is-active,.cp-collection-side-category.is-active{background:#FFE7A8;font-weight:800}
.cp-collection-side-all b,.cp-collection-side-category b{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 5px;border-radius:999px;background:#EFE4D5;color:#7A3604;font-size:10px}
.cp-collection-side-category.is-active b{background:#fff3c9;color:#6C3207}
.cp-collection-side-group{display:flex;flex-direction:column}
.cp-collection-side-items{display:flex;flex-direction:column;gap:1px;padding:3px 0 8px 12px}
.cp-collection-side-items a{padding:7px 9px;border-radius:7px;color:#5E554B;font-size:12px;line-height:1.35}
.cp-collection-side-items a:hover{background:#F0E6D8;color:#1B1712}
.cp-collection-side-items a.is-active{color:#A34A06;background:#fff;font-weight:800;border-left:2px solid #F0892A}

.cp-collection-main{min-width:0}
.cp-collection-hero{background:radial-gradient(ellipse at 85% 0%,#2A1C10 0%,#0F0B08 65%);color:#F7EFE3}
.cp-collection-hero>div{max-width:1320px;margin:0 auto;padding:56px 48px 48px;box-sizing:border-box}
.cp-collection-kicker{font-size:14px;color:#FBBA16;margin-bottom:14px}
.cp-collection-hero h1{margin:0;font-size:52px;line-height:1.02;font-weight:900;letter-spacing:-.03em;text-transform:uppercase}
.cp-collection-hero p{margin:16px 0 0;max-width:680px;font-size:18px;line-height:1.55;color:#D9CCBB}

.cp-collection-list{max-width:none;margin:0;padding:38px 56px 96px}
.cp-collection-group{scroll-margin-top:96px;margin:0 0 58px}
.cp-collection-group:last-child{margin-bottom:0}
.cp-collection-group-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 18px;padding-bottom:13px;border-bottom:1px solid #E6DACB}
.cp-collection-group-head h2{margin:0;font-size:30px;line-height:1.15;font-weight:900;letter-spacing:-.02em}
.cp-collection-group-head span{flex:none;color:#7B6D5E;font-size:13px;font-weight:700}
.cp-collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.cp-collection-list-blog .cp-collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

.cp-collection-card{display:flex;flex-direction:column;gap:12px;padding:26px;background:#fff;border:1px solid #E6DACB;border-radius:20px;color:#1B1712;text-decoration:none;min-width:0}
.cp-collection-card:hover{border-color:#D3BEA5;box-shadow:0 8px 26px rgba(76,53,31,.06)}
.cp-collection-card-meta{display:flex;gap:10px;align-items:center}
.cp-collection-card-meta span{font-size:12px;font-weight:600;color:#7A3604;background:#FFF3D6;padding:4px 10px;border-radius:6px}
.cp-collection-card-meta small{font-size:13px;color:#5E554B}
.cp-collection-card h2,.cp-collection-card h3{margin:0;font-size:19px;line-height:1.35;font-weight:800}
.cp-collection-card p{margin:0;font-size:15px;line-height:1.55;color:#5E554B}
.cp-prompt-preview{height:82px;overflow:hidden;padding:14px 16px;background:#1B1712;color:#E9DDCD;border-radius:12px;font-size:13px;line-height:1.6}
.cp-case-facts{display:flex;gap:8px;flex-wrap:wrap}
.cp-case-facts span{padding:5px 9px;border-radius:8px;background:#F7F1E8;font-size:12px}
.cp-collection-open{margin-top:auto;font-weight:700;font-size:14px;color:#A34A06}

.cp-collection-detail{max-width:940px;margin:0 auto;padding:44px 56px 96px}
.cp-collection-breadcrumb{display:flex;gap:8px;flex-wrap:wrap;font-size:13px;color:#5E554B;margin-bottom:20px}
.cp-collection-breadcrumb a{color:#5E554B;text-decoration:none}
.cp-collection-detail-category{font-size:13px;color:#A34A06;margin-bottom:12px}
.cp-collection-detail h1{margin:0 0 18px;font-size:44px;line-height:1.12;font-weight:900;letter-spacing:-.02em}
.cp-collection-detail-lead{font-size:20px;line-height:1.55;color:#5E554B;margin:0 0 30px}
.cp-collection-detail-body{font-size:17px;line-height:1.75}
.cp-collection-detail-body h2{font-size:26px;margin:34px 0 14px}
.cp-collection-detail-body h3{font-size:21px;margin:28px 0 12px}
.cp-collection-detail-body p{margin:0 0 18px}
.cp-collection-detail-body ul,.cp-collection-detail-body ol{padding-left:22px}
.cp-case-detail-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:28px}
.cp-case-detail-meta span{padding:14px 16px;border:1px solid #E6DACB;border-radius:12px;background:#fff}
.cp-case-detail-meta small{display:block;color:#5E554B;font-size:11px;text-transform:uppercase;margin-bottom:5px}
.cp-collection-lock{padding:24px;background:#140D08;color:#F7EFE3;border-radius:18px}
.cp-collection-lock p{color:#D9CCBB}
.cp-collection-lock a{display:inline-flex;height:44px;padding:0 18px;align-items:center;border-radius:10px;background:#FBBA16;color:#140D08;text-decoration:none;font-weight:800}

.cp-prompt-code-window{position:relative;margin:0 0 24px;border:1px solid #312820;border-radius:16px;background:#17120E;box-shadow:0 10px 28px rgba(54,35,18,.10);overflow:hidden}
.cp-prompt-code-window pre{margin:0!important;padding:22px 62px 22px 22px!important;max-height:none;overflow:auto;background:transparent!important;color:#F4EBDD!important;border:0!important;border-radius:0!important;font:14px/1.72 "JetBrains Mono","Consolas","Courier New",monospace;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4}
.cp-prompt-code-window code{font:inherit;color:inherit;background:transparent;padding:0}
.cp-prompt-copy{position:absolute;z-index:2;top:12px;right:12px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:rgba(255,255,255,.07);color:#E9DDCD;cursor:pointer;transition:background .18s,border-color .18s,color .18s,transform .18s}
.cp-prompt-copy:hover{background:rgba(255,255,255,.13);border-color:rgba(251,186,22,.55);color:#FBBA16}
.cp-prompt-copy:active{transform:scale(.94)}
.cp-prompt-copy svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cp-prompt-copy.is-copied{background:#FBBA16;border-color:#FBBA16;color:#140D08}
.cp-prompt-copy.is-copied svg{display:none}
.cp-prompt-copy.is-copied::after{content:"✓";font-size:19px;font-weight:900}

@media(max-width:1180px){
.cp-collection-layout{grid-template-columns:240px minmax(0,1fr)}
.cp-collection-side{padding-left:24px}
.cp-collection-hero>div,.cp-collection-list,.cp-collection-detail{padding-left:36px;padding-right:36px}
.cp-collection-list-blog .cp-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:820px){
.cp-collection-layout{display:block}
.cp-collection-side{position:static;height:auto;padding:14px 16px;border-right:0;border-bottom:1px solid #E6DACB}
.cp-collection-side-title{margin:0 0 9px}
.cp-collection-side-nav{flex-direction:row;gap:7px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}
.cp-collection-side-all,.cp-collection-side-category{white-space:nowrap;min-height:34px;padding:0 11px;border:1px solid #D9CCBB;background:#fff;border-radius:999px}
.cp-collection-side-category.is-active{background:#FFE7A8}
.cp-collection-side-group{display:block}
.cp-collection-side-items{display:none}
.cp-collection-side-all b,.cp-collection-side-category b{height:20px;min-width:20px}
.cp-collection-hero>div,.cp-collection-list,.cp-collection-detail{padding-left:16px;padding-right:16px}
.cp-collection-hero>div{padding-top:42px;padding-bottom:38px}
.cp-collection-hero h1{font-size:34px}
.cp-collection-group{margin-bottom:42px;scroll-margin-top:16px}
.cp-collection-group-head{align-items:flex-start;flex-direction:column;gap:5px}
.cp-collection-group-head h2{font-size:24px}
.cp-collection-grid,.cp-collection-list-blog .cp-collection-grid{grid-template-columns:1fr}
.cp-collection-detail{padding-top:28px;padding-bottom:72px}
.cp-collection-detail h1{font-size:32px}
.cp-case-detail-meta{grid-template-columns:1fr}
}

/* End */
/* /bitrix/components/codeprof/content.collection/templates/.default/style.css?17913099698694 */
