/* The pages of 250bar.ru on the new site (start-pages.js) */
/* before the app is up, the server's page reads as a plain article (the same text people then see in the section intro) */
.seo-page{max-width:900px;margin:90px auto 40px;padding:0 20px;color:#e9f3f6;font:15px/1.6 Manrope,system-ui,sans-serif}
.seo-page h1{font-size:30px;line-height:1.15;margin:0 0 12px}.seo-page a{color:#6ff7d8}.seo-page table{border-collapse:collapse}.seo-page th,.seo-page td{padding:4px 10px;border-bottom:1px solid #ffffff14;text-align:left}
/* the client sees only what is open to him in the menu */
html.role-client #nav .nav-item:not(.client-open){display:none}
.sp-sub{display:grid;gap:1px;max-height:0;overflow:hidden;margin:0 0 0 18px;padding-left:12px;border-left:1px solid #6ff7d82a;transition:max-height .45s cubic-bezier(.16,1,.3,1)}
.sp-sub.open{max-height:2400px;margin-bottom:6px}
.sp-sub small{margin:8px 0 2px;font:800 9px "JetBrains Mono",monospace;letter-spacing:.14em;color:#6ff7d8;text-transform:uppercase}
.sp-link{border:0;background:none;color:#9fb6bc;text-align:left;font:600 13px Manrope,sans-serif;padding:5px 8px;border-radius:8px;cursor:pointer;transition:background .2s,color .2s}
.sp-link:hover{background:#ffffff08;color:#fff}.sp-link.on{background:#6ff7d81a;color:#bfffee}
/* the section intro: the old page's H1 and description, now on top of the catalog */
.sp-intro{margin:0 0 16px;padding:18px 20px;border-radius:20px;background:linear-gradient(160deg,#0f2129,#0a141b);box-shadow:inset 0 0 0 1px #6ff7d826;animation:sp-in .5s cubic-bezier(.16,1,.3,1)}
@keyframes sp-in{from{opacity:0;transform:translateY(8px)}}
.sp-k{font:800 10px "JetBrains Mono",monospace;letter-spacing:.16em;color:#6ff7d8}
.sp-intro h1{overflow-wrap:break-word;hyphens:auto;margin:6px 0 6px;font-size:clamp(22px,2.6vw,32px);letter-spacing:-.02em;line-height:1.15}.sp-intro p{margin:0;color:#b9cbd0;line-height:1.55;max-width:900px}
.sp-more{margin-top:10px}.sp-more summary{cursor:pointer;color:#6ff7d8;font-weight:700;font-size:13px}.sp-more ul{columns:2;margin:10px 0 0;padding-left:18px;font-size:13px}.sp-more a{color:#cfe}
.sp-about{margin:24px 0;padding:14px 18px;border-radius:16px;background:#ffffff05;box-shadow:inset 0 0 0 1px #ffffff10;color:#b9cbd0}
.sp-about h1{font-size:20px}.sp-about table{font-size:13px}
/* a text page (privacy, articles) over the home */
.seo-page.sp-article{position:fixed;inset:0;z-index:1500;max-width:none;margin:0;padding:80px max(20px,calc(50vw - 440px)) 120px;overflow:auto;background:#050c11}
.sp-x{position:fixed;top:16px;right:16px;width:44px;height:44px;border:0;border-radius:14px;background:#ffffff12;color:#fff;font-size:17px;cursor:pointer}
@media(max-width:760px){.sp-more ul{columns:1}.seo-page{margin-top:70px}}
/* on a site section the intro replaces the generic «Магазины» heading */
#kit-view:has(.sp-intro)>.page-head{display:none}
@media(max-width:760px){.sp-intro{padding:14px 16px}.sp-intro h1{font-size:22px}.sp-intro p{font-size:13.5px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}}
/* the server's page waits hidden (but in the HTML) until the app turns it into the intro — no plain-text flash on load */
html.sp-boot .seo-page:not(.sp-article){position:absolute!important;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* …and the app's own first screen (its home) waits too, so a section address opens straight on the section */
html.sp-boot .view{opacity:0}
/* «Назад · 1 · Далее» only when the list really has more pages */
#kit-view .pager:has(#kit-prev:disabled):has(#kit-next:disabled){display:none}
/* «Характеристика» means nothing to a visitor */
html.role-client .kf-sec:has(#kit-characteristic){display:none}

/* «Подробнее»: the section's text folds under its short lead (start-pages.js intro) */
.sp-text{margin-top:8px}.sp-text summary{list-style:none;display:inline-flex;align-items:center;gap:6px}.sp-text summary::-webkit-details-marker{display:none}
.sp-text summary::after{content:'⌄';transition:transform .25s}.sp-text[open] summary::after{transform:rotate(180deg)}
.sp-text>div{margin-top:8px;display:grid;gap:8px;max-width:900px;animation:sp-in .4s cubic-bezier(.16,1,.3,1)}.sp-text>div p{margin:0;color:#a9bcc2;font-size:14px;line-height:1.6;display:block;-webkit-line-clamp:unset}
/* The left menu (sections, «по сфере / по задаче / по давлению») is taller than the screen: it scrolls on its own, the page does not move */
@media(min-width:761px){.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#6ff7d833 transparent}
  .sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-thumb{background:#6ff7d833;border-radius:3px}}
/* The channels of 250BAR at the bottom of the client's left menu (app.py SOCIAL_HTML) */
.sc-row{display:grid!important;gap:9px;padding:14px 12px!important}
.sc-k{font:700 9.5px "JetBrains Mono",ui-monospace,monospace;letter-spacing:.16em;color:#8be5cc}
.sc-icons{display:flex;gap:10px}
.sc-a{--c:#6ff7d8;position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:14px;color:#dff7f1;
  background:linear-gradient(150deg,#ffffff10,#ffffff03);box-shadow:inset 0 0 0 1px #ffffff1a;transition:transform .25s cubic-bezier(.2,1.3,.4,1),box-shadow .25s,color .25s,background .25s}
.sc-a svg{width:21px;height:21px;fill:currentColor}.sc-a .sc-in{fill:#0b111b}
.sc-a::after{content:'';position:absolute;inset:-1px;border-radius:15px;opacity:0;background:radial-gradient(60% 60% at 50% 100%,var(--c),transparent 70%);filter:blur(8px);transition:opacity .25s;z-index:-1}
.sc-a:hover,.sc-a:focus-visible{transform:translateY(-3px) scale(1.06);color:#fff;background:color-mix(in srgb,var(--c) 28%,#0b111b);box-shadow:inset 0 0 0 1px var(--c),0 10px 24px -8px var(--c)}
.sc-a:hover::after,.sc-a:focus-visible::after{opacity:.55}
.sc-youtube{--c:#ff3b3b}.sc-vk{--c:#2787f5}.sc-telegram{--c:#2aabee}
@media(prefers-reduced-motion:reduce){.sc-a{transition:none}}

/* Inner notes of the answer engine stay with the managers: the client does not see «Режиссура ответа» */
.role-client .bc-direction{display:none!important}
/* the quiet footer (start-pages.js) */
.sp-foot{display:grid;gap:6px;margin:40px 0 calc(120px + env(safe-area-inset-bottom));padding:16px 4px 0;border-top:1px solid #ffffff12;color:#6f8790;font:500 11.5px/1.5 Manrope,system-ui,sans-serif}
.sp-foot nav{display:flex;flex-wrap:wrap;gap:4px 14px}.sp-foot a{color:#9fc7c0;text-decoration:none}.sp-foot a:hover{color:#6ff7d8;text-decoration:underline}
.sp-foot small{font-size:11px;color:#5d747c}
.seo-page.sp-article h2{margin:26px 0 6px;font-size:18px}.seo-page.sp-article p{color:#b9cbd0;line-height:1.65;max-width:760px}

/* «Подробнее»: the master's answers and the videos of the section (the same as in the page's markup) */
.sp-faq,.sp-vids{display:grid;gap:6px;margin-top:6px}.sp-faq h3,.sp-vids h3{margin:6px 0 2px;font-size:14px;color:#c3a9fd;letter-spacing:.02em}
.sp-faq-i{border-radius:12px;background:#ffffff08;padding:8px 12px}.sp-faq-i summary{cursor:pointer;color:#e6f6f2;font-weight:600;font-size:13.5px}.sp-faq-i p{margin:6px 0 2px}
.sp-vrow{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
.sp-v{display:grid;gap:6px;padding:0;border:0;background:none;color:#cfe6e1;text-align:left;cursor:pointer;font:500 12.5px/1.35 Manrope,system-ui,sans-serif}
.sp-v img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;background:#0b161e;transition:transform .25s}.sp-v:hover img{transform:scale(1.03)}
/* the client's brand «250BAR.RU · МАРКЕТ ВЫСОКОГО ДАВЛЕНИЯ» fits the 228px menu; the menu starts where the workspace label was */
.role-client .brand strong{font-size:18px;letter-spacing:.06em}
.role-client .brand small{font-size:8.5px;letter-spacing:.12em;line-height:1.3;white-space:normal}
.role-client .sidebar .nav{margin-top:44px}
/* the buyer sees the assembly's parts, not the work notes about them (bar-canvas-variants «Состав 1С») and no player buttons */
.role-client .bc-parts>.bc-head,.role-client .bc-parts .bcv-sum,.role-client .bc-parts .bcv-tabs{display:none!important}
.role-client .bc-pbtn{display:none!important}
