
.kb-page { background: #f6fafc; color: #19394d; margin: 0; font-family: Inter,system-ui,"Segoe UI",Arial,sans-serif; }
.kb-en { background: #f7faf9; color: #133531; }
.kb-page *, .kb-page *::before, .kb-page *::after { box-sizing: border-box; }
.kb-main { --ink: #15354d; --accent: #163e5b; --muted: #4b6577; --line: #ccdbe3; --soft: #ecf3f7; width: min(1272px,100%); margin: 0 auto; padding: 0 clamp(18px,4vw,60px) 64px; color: var(--ink); }
.kb-en .kb-main { --ink: #163c3a; --accent: #08665f; --muted: #4b6867; --line: #cddbd7; --soft: #eaf3ef; }
.kb-main :where(h1,h2,h3,p,ul,figure,fieldset) { margin: 0; }
.kb-main :where(h1,h2,h3) { color: var(--ink); font-family: inherit; letter-spacing: -.035em; text-wrap: balance; }
.kb-main h1 { font-size: clamp(2rem,3.6vw,3.25rem); line-height: 1.1; font-weight: 730; }
.kb-main h2 { font-size: clamp(1.45rem,2.6vw,2.15rem); line-height: 1.16; margin-bottom: 16px; }
.kb-main h3 { font-size: clamp(1.01rem,1.55vw,1.37rem); line-height: 1.26; }
.kb-main p, .kb-main li, .kb-main td, .kb-main th, .kb-main label { overflow-wrap: anywhere; }
.kb-main a { color: var(--accent); }
.kb-main :focus-visible { outline: 3px solid #2083b3; outline-offset: 3px; }
.kb-crumbs ol { display: flex; flex-wrap: wrap; gap: 5px 9px; padding: 0; margin: 0; list-style: none; }
.kb-crumbs { padding: 20px 0 22px; color: var(--muted); font-size: .83rem; }
.kb-crumbs li+li::before { content: "›"; color: #7290a0; margin-right: 9px; }
.kb-crumbs a { color: inherit; text-underline-offset: 3px; }
.kb-hero { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); gap: clamp(24px,4vw,64px); align-items: start; padding: 8px 0 clamp(28px,4vw,60px); }
.kb-hero-copy { min-width: 0; }
.kb-category { display: inline-block; color: var(--accent); font-size: .79rem; font-weight: 700; line-height: 1.4; }
.kb-hero-copy .kb-category { padding: 4px 10px; margin: 0 0 13px; background: var(--soft); border: 1px solid var(--line); border-radius: 3px; }
.kb-model { font-size: .98rem; margin: 12px 0 16px; color: var(--muted); }
.kb-model strong, .kb-code { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; color: var(--ink); }
.kb-highlights { list-style: none; display: grid; gap: 7px; padding: 0; line-height: 1.48; font-size: .99rem; }
.kb-highlights li { position: relative; padding-left: 23px; }
.kb-highlights li::before { content: "✓"; color: var(--accent); position: absolute; inset: 0 auto auto 0; font-weight: 750; }
.kb-actions, .kb-submit { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; }
.kb-actions { margin-top: 19px; }
.kb-main .kb-primary, .kb-main .kb-secondary { display: inline-flex; justify-content: center; align-items: center; max-width: 100%; min-height: 44px; padding: 10px 16px; text-decoration: none; font-family: inherit; font-size: .92rem; font-weight: 650; line-height: 1.35; border-radius: 5px; border: 1px solid var(--accent); cursor: pointer; overflow-wrap: anywhere; }
.kb-main .kb-primary { background: var(--accent); color: white; }
.kb-main .kb-secondary { background: white; color: var(--accent); }
.kb-primary:hover,.kb-secondary:hover { filter: brightness(.93); }
.kb-telegram { font-size: .92rem; font-weight: 650; text-underline-offset: 3px; padding: 7px 0; }
.kb-minimum { margin-top: 9px !important; color: var(--muted); font-size: .86rem; }
.kb-gallery { min-width: 0; }
.kb-stage { display: grid; place-items: center; width: 100%; aspect-ratio: 1.63; padding: clamp(12px,2vw,30px); background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.kb-stage img { display: block; width: 100%; height: 100%; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.kb-stage img[data-detail="true"] { width: auto; height: auto; object-fit: scale-down; }
.kb-gallery figcaption { margin-top: 7px; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.kb-thumbs { display: flex; gap: 8px; margin-top: 9px; }
.kb-thumb { cursor: pointer; border: 1px solid var(--line); min-width: 0; background: #fff; padding: 5px; width: 79px; height: 49px; border-radius: 4px; }
.kb-thumb[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.kb-thumb img { width: 100%; height: 100%; display: block; object-fit: contain; }
.kb-engineering { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.35fr); align-content: start; align-items: start; column-gap: clamp(24px,6vw,80px); row-gap: 23px; border-top: 1px solid var(--line); padding-block: clamp(24px,4vw,48px); }
.kb-intro { grid-column: 1; grid-row: 1; }
.kb-spec { grid-column: 2; grid-row: 1/4; min-width: 0; }
.kb-application { grid-column: 1; grid-row: 2; }
.kb-engineering p,.kb-catalog-intro p { font-size: 1.02rem; line-height: 1.62; color: var(--muted); }
.kb-main table { border-collapse: collapse; border-spacing: 0; background: white; width: 100%; table-layout: fixed; font-size: .94rem; line-height: 1.45; border: 1px solid var(--line); }
.kb-main th, .kb-main td { vertical-align: top; text-align: left; padding: 9px 13px; border-bottom: 1px solid var(--line); }
.kb-main tr>:first-child { width: 39%; }
.kb-main thead { color: var(--ink); background: var(--soft); }
.kb-main tbody th { font-weight: 620; }
.kb-quote { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.3fr); gap: clamp(22px,5vw,70px); border: 1px solid var(--line); background: var(--soft); padding: clamp(16px,3.5vw,45px); border-radius: 6px; scroll-margin-top: 95px; }
.kb-picked { line-height: 1.55; }
.kb-picked span { display: block; margin-bottom: 3px; color: var(--muted); font-size: .84rem; }
.kb-quote h2 span { white-space: nowrap; }
.kb-form { display: grid; gap: 13px; min-width: 0; }
.kb-form label { display: grid; gap: 5px; font-weight: 590; font-size: .9rem; }
.kb-form label small,.kb-form legend { font-size: .82rem; color: var(--muted); font-weight: 440; }
.kb-form label:has(input[type="number"]) { display: block; }
.kb-form input[type="number"] { margin-top: 5px; }
.kb-form label:has(input[type="number"]) small { margin-left: 3px; }
.kb-form fieldset { min-width: 0; border: 0; padding: 0; }
.kb-form legend { padding: 0; margin-bottom: 5px; }
.kb-form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 16px; }
.kb-form input:not([type="hidden"]),.kb-form textarea { color: var(--ink); font: inherit; font-weight: 400; border: 1px solid #95aeb9; border-radius: 4px; background: #fff; padding: 9px 10px; min-width: 0; width: 100%; }
.kb-form textarea { resize: vertical; }
.kb-form .kb-trap { display: none; }
.kb-submit a { font-size: .82rem; }
.kb-submit button:disabled { opacity: .64; }
.kb-status { color: var(--ink); line-height: 1.45; }
.kb-status:empty { display: none; }
.kb-related,.kb-custom { margin-top: clamp(34px,5vw,68px); }
.kb-catalog-intro { padding: 7px 0 28px; max-width: 880px; }
.kb-catalog-intro h1 { margin-bottom: 12px; }
.kb-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.kb-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; min-width: 0; }
.kb-card:hover { border-color: var(--accent); }
.kb-card>a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.kb-card-photo { height: clamp(130px,12.7vw,185px); padding: 11px; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.kb-card-photo img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; min-height: 0; display: block; object-fit: contain; }
.kb-card-text { flex: 1; padding: 15px 17px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.kb-code { font-size: .83rem; }
.kb-card-text p { color: var(--muted); font-size: .91rem; line-height: 1.45; margin: 0 0 3px; }
.kb-text-link { margin-top: auto; font-weight: 670; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; color: var(--accent); }
.kb-en .site-header .language-switcher { display: inline-flex; gap: 6px; align-items: center; }
.kb-en .site-header .language-switcher a { padding: 3px; }
@media(max-width:850px) {
 .kb-hero,.kb-engineering,.kb-quote { grid-template-columns: minmax(0,1fr); }
 .kb-intro,.kb-spec,.kb-application { grid-column: auto; grid-row: auto; }
 .kb-stage { max-height: 380px; aspect-ratio: 2; }
 .kb-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
 .kb-main { padding-inline: 16px; padding-bottom: 35px; }
 .kb-grid,.kb-form-row { grid-template-columns: minmax(0,1fr); }
 .kb-crumbs { padding-block: 12px 13px; font-size: .77rem; }
 .kb-hero { gap: 16px; padding-top: 0; }
 .kb-stage { padding: 12px; aspect-ratio: 2.3; }
 .kb-thumb { height: 44px; width: 64px; }
 .kb-hero-copy .kb-category,.kb-model { margin-block: 0 8px; }
 .kb-model { margin-top: 8px; }
 .kb-main h1 { font-size: clamp(1.7rem,7vw,2.15rem); }
 .kb-highlights { gap: 5px; font-size: .92rem; }
 .kb-actions { margin-top: 14px; }
 .kb-main .kb-primary,.kb-main .kb-secondary { font-size: .85rem; padding-inline: 11px; }
 .kb-catalog-intro { padding: 2px 0 19px; }
 .kb-card-photo { height: 134px; }
 .kb-card-text { padding: 12px 15px; }
 .kb-main th,.kb-main td { padding: 7px 8px; }
 .kb-main table { font-size: .86rem; }
 .kb-quote { scroll-margin-top: 74px; }
}
