dialog.kp { box-sizing:border-box; width:min(764px,calc(100vw - 32px)); max-width:none; max-height:calc(100dvh - 40px); padding:32px; margin:auto; background:#111; color:#f3f3f3; border:1px solid #3a3a3a; color-scheme:dark; font:15px/1.4 Inter,Arial,sans-serif; }
.kp *, .kp *::before, .kp *::after { box-sizing:border-box; }
.kp [hidden] { display:none!important; }
.kp::backdrop { background:rgb(0 0 0 / .78); }
.kp h2 { font:800 clamp(23px,3vw,30px)/1.16 Inter,Arial,sans-serif; margin:0 34px 6px 0; letter-spacing:-.5px; overflow-wrap:anywhere; }
.kp h2[tabindex="-1"]:focus { outline:none; }
.kp p { margin:0; color:#b9b9b9; }
.kp button { font:inherit; cursor:pointer; }
.kp .kp-close { position:absolute; right:15px; top:12px; width:36px; height:36px; border:0; padding:0; background:transparent; color:#ddd; font-size:30px; line-height:1; }
.kp .kp-intro { margin-bottom:17px; }
.kp .kp-context { display:grid; grid-template-columns:96px minmax(0,1fr); gap:16px; align-items:start; background:#262626; padding:15px; margin-bottom:18px; }
.kp .kp-photo { width:100%; height:58px; object-fit:contain; max-width:100%; }
.kp .card-title { font-size:17px; color:#fff; }
.kp .card-content { width:100%; margin:4px 0; border-collapse:collapse; }
.kp .card-content:empty { display:none; }
.kp .card-content td { font-size:14px; padding:2px 8px 2px 0; border:0; vertical-align:top; overflow-wrap:anywhere; }
.kp .card-content td:first-child { width:49%; color:#bdbdbd; }
.kp #kp-empty { font-size:14px; margin:3px 0; }
.kp #kp-edit { color:#bdff22; background:none; border:0; padding:2px 0; font-weight:600; font-size:14px; text-align:left; }
.kp #kp-form { display:grid; gap:14px; }
.kp .kp-grid,.kp .kp-business { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.kp .kp-business:has(> :only-child) { grid-template-columns:1fr; }
.kp #kp-form label, .kp legend { color:#ddd; font:600 14px/1.4 Inter,Arial,sans-serif; margin:0; }
.kp b { color:#ff4262; }
.kp small { font-weight:400; color:#aaa; }
.kp input:not([type=radio]):not([type=checkbox]):not([type=file]), .kp textarea { display:block; width:100%; margin:4px 0 0; padding:10px 11px; border:1px solid #454545; border-radius:0; background:#262626; color:white; font:400 16px/1.25 Inter,Arial,sans-serif; }
.kp textarea { resize:vertical; min-height:57px; }
.kp :is(button,a,input,textarea):focus-visible,.kp .kp-file:focus-within { outline:2px solid #bdff22; outline-offset:2px; }
.kp fieldset { min-width:0; border:0; margin:0; padding:0; }
.kp legend { width:100%; float:none; margin:0 0 5px; padding:0; }
.kp .kp-contacts legend { color:#bbb; font-weight:400; }
.kp .kp-channels > div { display:flex; flex-wrap:wrap; gap:6px; }
.kp .kp-channels label,.kp .kp-file { position:relative; cursor:pointer; }
.kp .kp-channels input,.kp .kp-file input { position:absolute; width:1px; height:1px; opacity:0; }
.kp .kp-channels span { display:inline-block; padding:8px 10px; border:1px solid #545454; color:#ddd; }
.kp .kp-channels input:checked+span,.kp .kp-channels input:focus-visible+span { color:#bdff22; border-color:#bdff22; }
.kp .kp-file { display:flex; justify-content:center; align-items:baseline; gap:8px; flex-wrap:wrap; padding:13px; border:1px dashed #666; text-align:center; overflow-wrap:anywhere; }
.kp .kp-consents { display:grid; gap:7px; }
.kp .kp-consents label { display:flex; align-items:flex-start; gap:9px; }
.kp .kp-consents input { flex:none; width:17px; height:17px; margin:1px 0 0; accent-color:#bdff22; }
.kp .kp-consents a { color:inherit; text-decoration:underline; }
.kp .kp-submit,.kp .kp-return { width:100%; padding:13px 18px; border:0; background:#ff2146; color:white; font:800 14px/1.35 Inter,Arial,sans-serif; letter-spacing:.35px; text-transform:uppercase; }
.kp .kp-return { border:1px solid #bbb; background:transparent; }
.kp .kp-preview { margin-top:12px; color:#aaa; font-size:12px; text-align:center; }
.kp .kp-error { border-left:3px solid #ff2146; padding:9px 12px; background:#281a1d; }
.kp .kp-error p { margin-top:3px; }
dialog.kp.kp-show-success { width:min(560px,calc(100vw - 16px)); }
.kp .kp-success-heading { display:flex; align-items:center; gap:14px; padding-right:18px; }
.kp .kp-success-heading h2 { font-size:25px; margin:0; }
.kp .kp-success-icon { display:grid; place-items:center; flex:none; width:36px; height:36px; background:#bdff22; color:#101010; font-size:23px; font-weight:800; }
.kp .kp-success-message { margin:18px 0 26px; font-size:16px; line-height:1.5; color:#e2e2e2; }
.kp #kp-demo-receipt { margin:0 0 20px; color:#ddd; }
.kp #kp-demo-receipt summary { cursor:pointer; }
.kp #kp-demo-receipt .card-content { width:100%; margin-top:12px; }
@media(max-width:620px) {
  dialog.kp { padding:18px; width:calc(100vw - 16px); max-height:calc(100dvh - 16px); }
  .kp .kp-grid,.kp .kp-business { grid-template-columns:minmax(0,1fr); gap:10px; }
  .kp .kp-context { grid-template-columns:64px minmax(0,1fr); padding:10px; gap:9px; }
}
/* № 40 (23.11): no dashed frame, labels stay 14px regular from style.css. */
.crb-requirements[data-quote-preview] .triple.has-frequency-warning,
.crb-requirements[data-quote-preview] .triple.has-validation-error { align-items: start; }
.crb-requirements[data-quote-preview] .four:has([aria-invalid="true"]) { align-items: start; }
@media (min-width: 801px) {
  .crb-requirements[data-quote-preview] .triple.has-frequency-warning > label > span:first-child,
  .crb-requirements[data-quote-preview] .triple.has-validation-error > label > span:first-child { min-height: 38px; }
}
.crb-requirements[data-quote-preview] [aria-invalid="true"] { border-color: #ff4358; }
.crb-requirements[data-quote-preview] .req-field-error {
  display: block; margin-top: 6px; color: #ff6374; font-size: 13px; line-height: 1.3; font-weight: 500;
}
.crb-requirements[data-quote-preview] .frequency-warning {
  display: block; margin-top: 6px; color: #f2bd67; font-size: 13px; line-height: 1.3; font-weight: 500;
}
.crb-requirements[data-quote-preview] .frequency-warning[hidden] { display: none; }
.crb-requirements[data-quote-preview] .ram-choice .number-arrows[hidden],
.crb-requirements[data-quote-preview] .capacity-choice .number-arrows[hidden] { display: none; }
.crb-requirements[data-quote-preview] .ram-choice-toggle,
.crb-requirements[data-quote-preview] .capacity-choice-toggle {
  position: absolute; top: 0; right: 0; width: 38px; height: 40px;
  border: 0; background: transparent; color: #f2f2f2; font-size: 20px;
  line-height: 1; cursor: pointer;
}
.crb-requirements[data-quote-preview] .ram-choice-toggle:focus-visible,
.crb-requirements[data-quote-preview] .capacity-choice-toggle:focus-visible { outline: 1px solid var(--acid); outline-offset: -2px; }
.crb-requirements[data-quote-preview] .ram-choice-menu,
.crb-requirements[data-quote-preview] .capacity-choice-menu {
  position: absolute; top: 100%; left: 0; z-index: 20; width: 100%;
  border: 1px solid #555; background: #262626; box-shadow: 0 6px 14px #000a;
}
.crb-requirements[data-quote-preview] .capacity-choice-menu { max-height: 240px; overflow-y: auto; }
.crb-requirements[data-quote-preview] .ram-choice-menu[hidden],
.crb-requirements[data-quote-preview] .capacity-choice-menu[hidden] { display: none; }
.crb-requirements[data-quote-preview] .ram-choice-menu button,
.crb-requirements[data-quote-preview] .capacity-choice-menu button {
  display: block; width: 100%; padding: 8px 12px; border: 0; border-bottom: 1px solid #383838;
  background: transparent; color: #eee; text-align: left; font-size: 14px; cursor: pointer;
}
.crb-requirements[data-quote-preview] .ram-choice-menu button:hover,
.crb-requirements[data-quote-preview] .ram-choice-menu button:focus-visible,
.crb-requirements[data-quote-preview] .capacity-choice-menu button:hover,
.crb-requirements[data-quote-preview] .capacity-choice-menu button:focus-visible { background: #3a3a3a; outline: 0; }
.crb-requirements[data-quote-preview] .ram-choice-menu > span,
.crb-requirements[data-quote-preview] .capacity-choice-menu > span {
  display: block; padding: 8px 12px; color: #aaa; font-size: 13px; font-weight: 400;
}
.crb-requirements[data-quote-preview] .req-clearable {
  position: relative; display: block; min-width: 0; width: 100%; margin: 0;
}
.crb-requirements[data-quote-preview] input::placeholder {
  color: #aaa; font-size: 14px; font-weight: 400; opacity: 1;
}
.crb-requirements[data-quote-preview] .req-clearable:not(.has-value) select { color: #aaa; font-weight: 400; }
/* Smaller empty select only with a mouse: on phones a select under 16px makes the page zoom in. */
@media (hover: hover) and (pointer: fine) {
  .crb-requirements[data-quote-preview] .req-clearable:not(.has-value) select { font-size: 14px; }
}
.crb-requirements[data-quote-preview] .req-clearable select option { color: #f5f5f5; background: #262626; font-size: 16px; }
.crb-requirements[data-quote-preview] .req-clearable select option[value=""] { color: #aaa; font-size: 14px; }
.crb-requirements[data-quote-preview] .req-clear {
  position: absolute; right: 3px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 26px; height: 32px; padding: 0;
  border: 0; background: transparent; color: #aaa; font: 18px/1 Arial,sans-serif; cursor: pointer;
}
.crb-requirements[data-quote-preview] .req-clear[hidden] { display: none; }
.crb-requirements[data-quote-preview] .req-clear:hover,
.crb-requirements[data-quote-preview] .req-clear:focus-visible { color: white; }
.crb-requirements[data-quote-preview] .req-clear:focus-visible { outline: 1px solid var(--acid); }
.crb-requirements[data-quote-preview] .has-value input { padding-right: 32px; }
.crb-requirements[data-quote-preview] .has-value select { padding-right: 46px; }
.crb-requirements[data-quote-preview] select + .req-clear { right: 17px; }
.crb-requirements[data-quote-preview] .number-control .has-value input { padding-right: 70px; }
.crb-requirements[data-quote-preview] .number-control .req-clear { right: 40px; }
.crb-requirements[data-quote-preview] .budget-control .has-value input { padding-right: 52px; }
.crb-requirements[data-quote-preview] .budget-control .req-clear { right: 23px; }
@media (max-width:360px) {
  .crb-requirements[data-quote-preview] .capacity-controls .req-clearable:has(> select) { width:98px; }
}
