.ug-catalogue-dialog { width: min(680px, calc(100% - 24px)); max-width: none; max-height: 90dvh; margin: auto; padding: 0; border: 1px solid #dae3f0; border-radius: 12px; background: #fff; color: #1a2941; overflow: auto; box-shadow: 0 22px 80px #11274955; }
.ug-catalogue-dialog::backdrop { background: #162640a0; }
.ug-dialog-inner { padding: clamp(16px, 4vw, 32px); }
.ug-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.ug-dialog-bar h2 { margin: 0; font-size: clamp(20px, 4vw, 30px); line-height: 1.2; font-weight: 700; }
.ug-dialog-bar button { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #c9d5e8; border-radius: 6px; background: #f5f7fb; color: #153d82; font: inherit; font-size: 28px; cursor: pointer; }
.ug-dialog-context { white-space: pre-line; margin: 0 0 .8rem; line-height: 1.45; overflow-wrap: anywhere; }
.ug-dialog-context:empty { display: none; }
.pc-required-mark { font-weight: 800; color: #a02632; }
.pc-fields textarea { width: 100%; padding: .65rem .8rem; border: 1px solid #aebbd0; border-radius: 5px; color: #192c50; font: inherit; resize: vertical; }
.pc-form-expanded > .pc-fields + .pc-fields { margin-top: .85rem; }
.pc-form-expanded .pc-phone { grid-template-columns: minmax(0, 1fr); }
.ug-classic-name { color: #153d82; font-weight: 700; margin-top: 1.2rem !important; }
#classic-overview .ug-material-hero h1 { font-size: clamp(32px, 4.4vw, 65px); }
#classic-overview { padding-top: clamp(18px, 4vw, 44px); }
.kb-listing, .kb-card { padding-block: clamp(20px, 5vw, 60px); }
.kb-card h1 { max-width: 18ch; }
.kb-card nav { margin-block: 1.25rem; }
.kb-card .pc-gallery { max-width: 620px; }
.kb-card .kb-index { padding: .75rem 0; }
.kb-card td, .kb-card th { vertical-align: top; overflow-wrap: anywhere; }
.kb-card section { scroll-margin-top: 112px; }
.kb-configurator { margin-block: 1.1rem; background: #f4f7fb; border: 1px solid #d8e3f0; border-radius: 10px; padding: clamp(14px, 2.4vw, 26px); }
.kb-card > .pc-section { padding-block: clamp(16px,2.4vw,26px); }
.kb-builder { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.25fr); gap: 24px; align-items: start; }
.kb-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
.kb-fields label { display: grid; min-width: 0; gap: .3rem; font-size: .91rem; }
.kb-fields label[hidden] { display: none; }
.kb-fields .wide { grid-column: 1 / -1; }
.kb-fields select, .kb-fields input { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #aebbd0; border-radius: 5px; background: white; color: #182844; padding: .5rem; font: inherit; }
.kb-visual { min-width: 0; }
.kb-visual svg { display: block; width: 100%; height: auto; background: white; border-radius: 6px; }
.kb-results { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-block: .6rem; }
.kb-results output { background: white; border: 1px solid #dbe2ed; padding: .6rem; border-radius: 5px; font-size: .85rem; }
.kb-results strong { display: block; color: #153d82; font-size: 1.1rem; }
.kb-card figure.kb-reference { margin: 1rem 0; }
.kb-reference img { max-width: min(100%, 520px); border-radius: 5px; }
.kb-card details { border-top: 1px solid #dbe2ed; padding-block: .75rem; }
.kb-card summary { cursor: pointer; font-weight: 650; color: #153d82; }
.kb-tech-link { display: inline-block; }
.kb-error { color: #a02632; }
.kb-error:empty { display: none; }
.ug-sample-page video { max-width: 100%; height: auto; }
@media (max-width: 760px) { .kb-builder { grid-template-columns: 1fr; } }
@media (max-width: 450px) { .kb-fields { grid-template-columns: minmax(0,1fr); } }
[data-kerb-expanded] .kb-results { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin-block: 1.15rem; }
[data-kerb-expanded] .kb-view-switch { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .7rem; }
[data-kerb-expanded] .kb-view-switch button { font: inherit; background: white; color: #153d82; border: 1px solid #aebbd0; border-radius: 6px; min-height: 42px; padding: .4rem .8rem; cursor: pointer; }
[data-kerb-expanded] .kb-view-switch button[aria-pressed=true] { background: #153d82; color: white; }
[data-kerb-expanded] .kb-dimension-photo { margin: 0; }
[data-kerb-expanded] .kb-dimension-photo img { width: 100%; height: auto; display: block; border-radius: 6px; }
[data-kerb-expanded] .kb-dimension-photo figcaption { margin-top: .55rem; font-size: .86rem; }
[data-kerb-expanded] .kb-delivery-step { margin-top: 1rem; border-top: 1px solid #d1dced; padding-top: 1rem; }
[data-kerb-expanded] .kb-delivery-step .pc-button { margin-top: 1rem; }
[data-kerb-expanded] [hidden] { display: none; }
