
#ks-mspro-design{margin:0 0 26px;background:#fff;border:1px solid #dce5e5;border-radius:6px;overflow:hidden;font-family:Arial,sans-serif;color:#263c42}

#ks-mspro-design [hidden]{display:none!important}

#ks-mspro-design .ks-mspro-intro{display:flex;align-items:center;gap:20px;padding:25px 26px;background:linear-gradient(105deg,#f0f6f5 0%,#fff 85%)}

#ks-mspro-design .ks-mspro-icon{flex:0 0 65px;color:#6c8588}

#ks-mspro-design .ks-mspro-copy{flex:1}

#ks-mspro-design .ks-mspro-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.4px;color:#617d81}

#ks-mspro-design h2{font-size:23px;line-height:1.25;letter-spacing:-.4px;font-weight:600;color:#273b40;margin:7px 0 8px}

#ks-mspro-design .ks-mspro-copy p{font-size:13px;line-height:1.6;color:#66777b;margin:0;max-width:490px}

#ks-mspro-toggle{border:0;border-radius:4px;background:#173c44;color:white;font-size:13px;font-weight:600;padding:14px 18px;white-space:nowrap;cursor:pointer;display:flex;gap:20px;align-items:center}

#ks-mspro-toggle span{font-size:20px;font-weight:400}

#ks-mspro-content{border-top:1px solid #dce5e5}
#ks-mspro-design .ks-mspro-intro{flex-wrap:wrap;padding:20px;gap:12px}
#ks-mspro-design .ks-mspro-icon{display:none}
#ks-mspro-design h2{font-size:21px}
#ks-mspro-toggle{width:100%;justify-content:space-between}
#ks-mspro-preview .rowItem {
		display: flex;
		margin-bottom: 40px;
	}#ks-mspro-preview .rowItem-detail {
		margin-right: 30px;
	}#ks-mspro-preview .rowItem-main {
		display: flex;
		flex-direction: column;
		flex-grow: 1;
	}#ks-mspro-preview .rowItem-head {
		margin-bottom: 23px;
	}#ks-mspro-preview .rowItem-body {
		display: flex;
		flex-grow: 1;
	}#ks-mspro-preview .rowItem-sections {
		margin-right: 23px;
	}#ks-mspro-preview .rowItem-add {
		margin-top: 41px;
	}

#ks-mspro-preview .rowDetail {
		padding: 16px 24px 32px;
		width: 264px;
		font-size: 14px;
		background: #F6F6F6;
	}#ks-mspro-preview .rowDetail a {
		text-decoration: none;
		color: #0A53B3;
	}#ks-mspro-preview .rowDetail-title {
		margin: 24px 0 8px;
		font-family: Oswald, Roboto, sans-serif;
		font-weight: 500;
		font-size: 18px;
		line-height: 27px;
		text-transform: uppercase;
		color: #A7A7A7;
	}#ks-mspro-preview .rowDetail-subtitle {
		margin-bottom: 32px;
		font-family: Oswald, Roboto, sans-serif;
		font-weight: 500;
		line-height: 21px;
		text-transform: uppercase;
		color: #A7A7A7;
	}#ks-mspro-preview .rowDetail-subtitle:not(:first-child) {
		margin-top: 66px;
	}#ks-mspro-preview .rowDetail-params {
		margin: 8px 0 16px;
		padding: 0;
		list-style: none;
		font-weight: bold;
	}#ks-mspro-preview .rowDetail-params > li {
		margin: 8px 0;
	}#ks-mspro-preview .rowDetail-priceLabel {
		font-weight: bold;
		font-size: 18px;
		text-transform: uppercase;
	}#ks-mspro-preview .rowDetail-price {
		margin-bottom: 32px;
		font-weight: bold;
		font-size: 30px;
	}#ks-mspro-preview .rowDetail-hint {
		margin-top: 40px;
		color: #A7A7A7;
	}

#ks-mspro-preview .rowForm {
		padding: 32px;
		width: 264px;
		font-size: 14px;
		background: #F6F6F6;
	}#ks-mspro-preview .rowForm-title {
		font-family: Oswald, Roboto, sans-serif;
		font-style: normal;
		font-weight: 500;
		font-size: 18px;
		line-height: 27px;
		letter-spacing: 0.03em;
		text-transform: uppercase;
		color: #A7A7A7;
	}#ks-mspro-preview .rowForm-field {
		margin: 22px 0 30px;
	}#ks-mspro-preview select {
		margin-top: 10px;
		width: 100%;
	}#ks-mspro-preview .count-wrap {
		margin: -10px 0 0 33px;
	}#ks-mspro-preview .count-wrap input {
		margin: 0 9px;
		width: 47px;
		height: 32px;
		text-align: center;
		background: white;
		border: 1px solid #CECECE;
		appearance: textfield;
	}

#ks-mspro-preview .rowHead {
		display: flex;
		align-items: center;
		padding: 13px;
		padding-left: 24px;
		background: #F6F6F6;
	}#ks-mspro-preview .rowHead-title {
		font-family: Oswald, Roboto, sans-serif;
		font-size: 14px;
		font-weight: 500;
		text-decoration: none;
		text-transform: uppercase;
		line-height: 24px;
		color: #0B53B3;
	}#ks-mspro-preview .rowHead-input {
		margin: -4px 16px;
		padding: 4px 0;
		width: 48px;
		font-size: 16px;
		text-align: center;
		background: white;
		border: 1px solid #CECECE;
		outline: none;
	}#ks-mspro-preview .rowHead .rowHead-button {
		padding: 5px 16px;
		width: auto;
		font-size: 14px;
		background: #0B53B3;
	}#ks-mspro-preview .rowHead-copy {
		display: inline-block;
		margin-left: 12px;
		width: 24px;
		height: 24px;
		background: url(../../public/icons/copy.svg) no-repeat center center;
	}#ks-mspro-preview .rowHead-remove {
		display: inline-block;
		margin-left: auto;
		width: 24px;
		height: 24px;
		background: url(../../public/icons/cross_blue.svg) no-repeat center center;
	}

#ks-mspro-preview .rowSections {
		position: relative;
		display: flex;
		flex-direction: column;
	}#ks-mspro-preview .rowSections-ruler {
		margin-bottom: 16px;
		height: 24px;
		border-left: 1px solid #333333;
		border-right: 1px solid #333333;
	}#ks-mspro-preview .rowSections-rulerValue {
		position: relative;
		bottom: 4px;
		font-size: 14px;
		line-height: 16px;
		text-align: center;
		border-bottom: 1px solid #333333;
	}#ks-mspro-preview .rowSections-fadeLeft {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		width: 48px;
		background: linear-gradient(to right, #FFFFFF 3.65%, rgba(255, 255, 255, 0) 100%);
		cursor: pointer;
	}#ks-mspro-preview .rowSections-fadeRight {
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		width: 48px;
		background: linear-gradient(to left, #FFFFFF 3.65%, rgba(255, 255, 255, 0) 100%);
		cursor: pointer;
	}#ks-mspro-preview .rowSections-fadeLeft::after, #ks-mspro-preview .rowSections-fadeRight::after {
		content: '';
		display: block;
		position: absolute;
		top: 50%;
		width: 20px;
		height: 20px;
		border: 2px solid #F58214;
		opacity: 1;
	}#ks-mspro-preview .rowSections-fadeLeft:hover::after, #ks-mspro-preview .rowSections-fadeRight:hover::after {
		opacity: .8;
	}#ks-mspro-preview .rowSections-fadeLeft::after {
		left: 0;
		border-style: solid none none solid;
		transform-origin: left top;
		
		transform: matrix(0.7, -1, .7, 1 , 0, 0);
	}#ks-mspro-preview .rowSections-fadeRight::after {
		right: 0;
		border-style: solid solid none none;
		transform-origin: right top;
		
		transform: matrix(0.7, 1, -0.7, 1 , 0, 0);
	}#ks-mspro-preview .rowSections-area {
		flex-grow: 1;
		overflow: auto;
		position: relative;
		max-width: 600px;
		scroll-behavior: smooth;
	}#ks-mspro-preview .rowSections-list {
		display: flex;
		height: 100%;
		border-left: 1px solid #DDDDDD;
	}#ks-mspro-preview .rowSections-svg {
		position: absolute;
		bottom: 0;
	}

#ks-mspro-preview .rowSectionItem {
		display: flex;
		flex-direction: column;
		flex-shrink: 0;
		padding: 0 16px;
		border-right: 1px solid #DDDDDD;
	}#ks-mspro-preview .rowSectionItem-head {
		margin-bottom: 24px;
		display: flex;
		align-items: center;
	}#ks-mspro-preview .rowSectionItem-form {
		flex-grow: 1;
		overflow: visible;
		position: relative;
		margin: 0 -16px;
		padding: 0 16px;
		z-index: 1;
		background: white;
	}#ks-mspro-preview .rowSectionItem-body {
		display: flex;
		flex-direction: column;
		flex-grow: 1;
		min-height: 660px;
	}#ks-mspro-preview .rowSectionItem-foot {
		margin-bottom: 16px;
	}#ks-mspro-preview .rowSectionItem-number {
		margin-right: 8px;
		width: 34px;
		height: 34px;
		line-height: 34px;
		text-align: center;
		font-family: Oswald, Roboto, sans-serif;
		font-weight: 500;
		font-size: 18px;
		text-transform: uppercase;
		color: #0A53B3;
		background: #F6F6F6;
	}#ks-mspro-preview .rowSectionItem-title {
		font-family: Oswald, Roboto, sans-serif;
		font-weight: 500;
		font-size: 14px;
		text-transform: uppercase;
		color: #A7A7A7;
	}#ks-mspro-preview .rowSectionItem-params {
		margin: 0 0 12px;
		padding: 0;
		list-style: none;
		font-size: 14px;
	}#ks-mspro-preview .rowSectionItem-params > li {
		margin-bottom: 8px;
	}#ks-mspro-preview .rowSectionItem-additional {
		color: #A7A7A7;
	}#ks-mspro-preview .rowSectionItem-remove {
		display: inline-block;
		margin-left: auto;
		width: 10px;
		height: 10px;
		background: url(../../public/icons/cross.svg) no-repeat center center;
	}#ks-mspro-preview .rowSectionItem-settings {
		display: inline-block;
		width: 24px;
		height: 24px;
		background: url(../../public/icons/settings.svg) no-repeat center center;
	}#ks-mspro-preview .rowSectionItem-edit {
		display: inline-block;
		width: 24px;
		height: 24px;
		background: url(../../public/icons/edit.png) no-repeat center center;
	}#ks-mspro-preview .rowSectionItem-copy {
		display: inline-block;
		width: 24px;
		height: 24px;
		background: url(../../public/icons/copy.svg) no-repeat center center;
	}

#ks-mspro-preview .rowSectionForm {
		display: flex;
		flex-direction: column;
	}#ks-mspro-preview .rowSectionForm-submit {
		padding: 16px;
		width: 146px;
		max-width: 100%;
	}#ks-mspro-preview .rowSectionForm-params {
		margin: 0;
		padding: 0;
		list-style: none;
	}#ks-mspro-preview .rowSectionForm-params > li {
		margin-bottom: 8px;
	}#ks-mspro-preview .rowSectionForm-params > .racks-param {
		color: #cccccc;
	}#ks-mspro-preview .rowSectionForm-fieldset {
		margin: auto 0;
	}#ks-mspro-preview .rowSectionForm-field {
		margin: 22px 0 30px;
	}#ks-mspro-preview label { display: block; }#ks-mspro-preview select {
		margin-top: 10px;
		max-width: 146px;
		width: 100%;
		padding-right: 20px;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}#ks-mspro-preview .beamsIconsWrap { display: inline-block; padding: 11px 0 0 10px; }#ks-mspro-preview .beamsIcons { display: flex; flex-direction: column; justify-content: space-between; height: 39px; }#ks-mspro-preview .fieldWrap { display: flex; }#ks-mspro-preview .beamsIcons .tooltipWrap, #ks-mspro-preview .beamsIcons .infoBeamsWrap { position: relative; margin: 0; }#ks-mspro-preview .customCheckbox + .tooltipWrap { margin-left: 10px;}#ks-mspro-preview .couplerComment { font-size: 12px; }

#ks-mspro-preview .rowNewSection {
		display: flex;
		flex-direction: column;
		
		justify-content: center;
		padding: 16px 24px 32px;
		width: 228px;
		background: #F6F6F6;
		cursor: pointer;
	}#ks-mspro-preview .rowNewSection-form {
		flex: 1;
		margin-top: 41px;
	}#ks-mspro-preview .rowNewSection-holder {
		text-align: center;
	}#ks-mspro-preview .rowNewSection-icon {
		display: inline-block;
		margin-bottom: 15px;
		width: 50px;
		height: 50px;
		background: #F58214 url(../../public/icons/sign.svg) no-repeat center center;
	}#ks-mspro-preview .rowNewSection-text {
		font-size: 14px;
		line-height: 16px;
	}

#ks-mspro-preview .addRow {
    padding: 13px 24px;
    background: #F6F6F6;
  }#ks-mspro-preview .addRow-link {
    font-family: Oswald, Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 24px;
    color: #0B53B3;
  }#ks-mspro-preview .addRow-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    width: 24px;
    height: 24px;
    background: #F58214 url(../../public/icons/sign_sm.svg) no-repeat center center;
  }#ks-mspro-preview .addRow-text {
    display: inline-block;
    vertical-align: middle;
  }

[data-pro="Link"].topPolygon{
		fill: #DCDDDE;
	}
[data-pro="Link"].bottomPolygon{
		fill: #D4D4D4;
	}
[data-pro="Link"].rightPolygon{
		fill: #AFB1B4;
	}
[data-pro="Rack"].frontRect{
		fill:#C4C6C8;
	}
[data-pro="Rack"].topPolygon{
		fill: #DCDDDE;
	}
[data-pro="Rack"].rightPolygon{
		fill: #9D9FA2;
	}
[data-pro="Shelf"].topPolygon{
		fill: #DCDDDE;
	}
[data-pro="Shelf"].rightPolygon{
		fill: #C4C6C8;
	}
[data-pro="Shelf"].frontRect{
		fill:#DCDDDE;
	}
[data-pro="Shelf"].backRect{
		fill:#9FA1A4;
	}
[data-pro="Shelf"].topEdge{
		fill: #EFEFF0;
	}
[data-pro="Shelf"].topLine{
		stroke: #BABCBE;
		stroke-width: 0.4;
	}
[data-pro="Shelf"].bottomEdge{
		fill: #AFB1B4;
	}
[data-pro="Shelf"].deepRect{
		fill: #D6D6D6;
	}
[data-pro="Shelf"].deepPolygon{
		fill: #B8B8B8;
	}
[data-pro="ShelfGrid600"].topPolygon{
		fill: #DCDDDE;
	}
[data-pro="ShelfGrid600"].rightPolygon{
		fill: #C4C6C8;
	}
[data-pro="ShelfGrid600"].frontRect{
		fill:#DCDDDE;
	}
[data-pro="ShelfGrid600"].backRect{
		fill:#9FA1A4;
	}
[data-pro="ShelfGrid600"].topEdge{
		fill: #EFEFF0;
	}
[data-pro="ShelfGrid600"].topLine{
		stroke: #BABCBE;
		stroke-width: 0.4;
	}
[data-pro="ShelfGrid600"].bottomEdge{
		fill: #AFB1B4;
	}
[data-pro="ShelfGrid600"].deepRect{
		fill: #D6D6D6;
	}
[data-pro="ShelfGrid600"].deepPolygon{
		fill: #B8B8B8;
	}
[data-pro="ShelfGrid800"].topPolygon{
		fill: #DCDDDE;
	}
[data-pro="ShelfGrid800"].rightPolygon{
		fill: #C4C6C8;
	}
[data-pro="ShelfGrid800"].frontRect{
		fill:#DCDDDE;
	}
[data-pro="ShelfGrid800"].backRect{
		fill:#9FA1A4;
	}
[data-pro="ShelfGrid800"].topEdge{
		fill: #EFEFF0;
	}
[data-pro="ShelfGrid800"].topLine{
		stroke: #BABCBE;
		stroke-width: 0.4;
	}
[data-pro="ShelfGrid800"].bottomEdge{
		fill: #AFB1B4;
	}
[data-pro="ShelfGrid800"].deepRect{
		fill: #D6D6D6;
	}
[data-pro="ShelfGrid800"].deepPolygon{
		fill: #B8B8B8;
	}
[data-pro="ShelfGrid1000"].topPolygon{
		fill: #DCDDDE;
	}
[data-pro="ShelfGrid1000"].rightPolygon{
		fill: #C4C6C8;
	}
[data-pro="ShelfGrid1000"].frontRect{
		fill:#DCDDDE;
	}
[data-pro="ShelfGrid1000"].backRect{
		fill:#9FA1A4;
	}
[data-pro="ShelfGrid1000"].topEdge{
		fill: #EFEFF0;
	}
[data-pro="ShelfGrid1000"].topLine{
		stroke: #BABCBE;
		stroke-width: 0.4;
	}
[data-pro="ShelfGrid1000"].bottomEdge{
		fill: #AFB1B4;
	}
[data-pro="ShelfGrid1000"].deepRect{
		fill: #D6D6D6;
	}
[data-pro="ShelfGrid1000"].deepPolygon{
		fill: #B8B8B8;
	}
[data-pro="Screens"].leftPolygon{
    fill: #d0d0d0;
  }
[data-pro="Screens"].leftPolygon-holes{
    /* fill: url(#holes); */
    transform: skewY(-30deg);
    transform-box: fill-box;
  }
[data-pro="Screens"].rightPolygon{
    fill: #d0d0d0;
  }
[data-pro="Screens"].rightPolygon-holes{
    /* fill: url(#holes); */
    transform: skewY(-30deg);
    transform-box: fill-box;
  }
[data-pro="Screens"].backRect{
    fill: #b9b9b9;
  }
[data-pro="Screens"].backRect-holes{
    /* fill: url(#holes); */
  }
#ks-mspro-preview {font:14px/1.5 Roboto,Arial,sans-serif;color:#333;background:white;padding:24px 0;}
#ks-mspro-preview * {box-sizing:border-box;}
#ks-mspro-preview button {border:0;border-radius:0;background:#f58214;color:white;cursor:pointer;padding:12px 20px;font:inherit;}
#ks-mspro-preview select {height:40px;background:white;border:1px solid #cecece;border-radius:0;color:#333;padding:8px;width:100%;}
#ks-mspro-preview label {display:block;margin:20px 0;}
#ks-mspro-preview label input[type=radio],#ks-mspro-preview label input[type=checkbox] {margin-right:10px;accent-color:#f58214;}
#ks-mspro-preview .rowItem {display:flex;gap:30px;margin:0 0 40px;}
#ks-mspro-preview .rowDetail,#ks-mspro-preview .rowForm {width:264px;flex:0 0 264px;}
#ks-mspro-preview .rowItem-main {min-width:0;flex:1;}
#ks-mspro-preview .rowItem-body {display:flex;gap:23px;}
#ks-mspro-preview .rowHead {margin-bottom:23px;}
#ks-mspro-preview .rowHead-button {background:#0b53b3;padding:5px 16px;}
#ks-mspro-preview .rowHead-remove {margin-left:auto;background:transparent;color:#0b53b3;padding:0;}
#ks-mspro-preview .rowSections {min-width:0;flex:1;}
#ks-mspro-preview .rowSections-area {max-width:none;width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:18px;}
#ks-mspro-preview .rowSections-ruler {text-align:center;border-bottom:1px solid #333;}
#ks-mspro-preview .rowCanvas {position:relative;width:max-content;min-height:720px;}
#ks-mspro-preview .rowSections-list {width:max-content;min-height:720px;}
#ks-mspro-preview .rowSections-svg {position:absolute;bottom:0;left:0;pointer-events:none;}
#ks-mspro-preview .rowSections-svg svg {max-width:none!important;max-height:none!important;display:block;width:auto!important;height:auto!important;}
#ks-mspro-preview .rowSectionItem {position:relative;min-height:720px;}
#ks-mspro-preview .rowSectionItem-body {min-height:660px;}
#ks-mspro-preview .rowSectionItem-remove {background:transparent;color:#333;padding:0;height:24px;width:24px;font-size:22px;}
#ks-mspro-preview .icon {background:transparent;color:#0a53b3;padding:0;width:24px;height:24px;font-size:21px;}
#ks-mspro-preview .rowSectionForm {background:white;position:relative;z-index:2;flex:1;}
#ks-mspro-preview .rowSectionForm label {margin:22px 0 30px;}
#ks-mspro-preview .rowSectionForm-submit {margin-top:24px;}
#ks-mspro-preview .rowNewSection {flex:0 0 228px;min-width:228px;}
#ks-mspro-preview .rowNewSection-icon {font-size:36px;padding:0;width:50px;height:50px;line-height:50px;margin-bottom:8px;}
#ks-mspro-preview .cancel {background:transparent;color:#0b53b3;}
#ks-mspro-preview .calc-toolbar {display:flex;align-items:center;justify-content:space-between;gap:20px;}
#ks-mspro-preview .spec {margin-top:40px;}
#ks-mspro-preview table {width:100%;border-collapse:collapse;}
#ks-mspro-preview td,#ks-mspro-preview th {padding:12px;border-bottom:1px solid #ddd;text-align:left;}
#ks-mspro-preview td small {display:block;color:#999;}
#ks-mspro-preview .table-scroll {overflow:auto;}
#ks-mspro-preview #status {color:#999;font-size:12px;}
#ks-mspro-preview #total {font-size:28px;}
@media(max-width:1000px){#ks-mspro-preview .rowItem {gap:16px;}#ks-mspro-preview .rowDetail,#ks-mspro-preview .rowForm{width:220px;flex-basis:220px;padding:20px;}#ks-mspro-preview .rowNewSection{min-width:170px;flex-basis:170px;padding:16px;}#ks-mspro-preview .rowItem-body{gap:12px;} }
@media(max-width:700px){#ks-mspro-preview .rowItem{display:block;}#ks-mspro-preview .rowDetail,#ks-mspro-preview .rowForm{width:100%;margin-bottom:20px;}#ks-mspro-preview .rowDetail-subtitle:not(:first-child){margin-top:24px;}#ks-mspro-preview .rowDetail-hint{margin-top:20px;}#ks-mspro-preview .rowNewSection{min-width:150px;flex-basis:150px;} }
#ks-mspro-preview ul li::before {display:none!important;content:none!important;}
#ks-mspro-preview ul li {padding-left:0;list-style:none;}
@media(min-width:761px){#ks-mspro-design .ks-mspro-intro{flex-wrap:nowrap;padding:25px 26px;gap:20px}#ks-mspro-design .ks-mspro-icon{display:block}#ks-mspro-design h2{font-size:23px}#ks-mspro-toggle{width:auto;justify-content:initial}}

#ks-mspro-preview #purchase{margin:24px 0;padding:20px;background:#f6f6f6;}#ks-mspro-preview button:disabled{opacity:.45;cursor:not-allowed;}#ks-mspro-preview #purchase p{margin:12px 0 0;}

/* Compact site layout: native-size SVG follows the controls without a fixed-height gap. */
#ks-mspro-preview .rowCanvas{display:flex;flex-direction:column;min-height:0;}
#ks-mspro-preview .rowSections-list{height:auto;min-height:0;}
#ks-mspro-preview .rowSectionItem{min-height:0;}
#ks-mspro-preview .rowSectionItem-body{min-height:0;}
#ks-mspro-preview .rowSectionItem-head{margin-bottom:12px;}
#ks-mspro-preview .rowSectionItem-foot{margin-bottom:0;}
#ks-mspro-preview .rowSections-svg{position:static;bottom:auto;left:auto;margin-top:12px;align-self:flex-start;}
#ks-mspro-preview .rowDetail{align-self:flex-start;}
#ks-mspro-preview .rowDetail-subtitle{margin-bottom:16px;}
#ks-mspro-preview .rowDetail-subtitle:not(:first-child){margin-top:24px;}
#ks-mspro-preview .rowDetail-price{margin-bottom:16px;}
#ks-mspro-preview .rowDetail-hint{margin-top:20px;}
#ks-mspro-preview .rowNewSection{justify-content:flex-start;padding-top:24px;}
#ks-mspro-preview .rowNewSection .rowSectionForm{margin-top:0;}
#ks-mspro-preview .rowItem{margin-bottom:24px;}

/* Match the Crimea Safe storefront buttons. */
#ks-mspro-design{--mspro-accent:#173c46;--mspro-accent-hover:#24535e;}
#ks-mspro-toggle,
#ks-mspro-design #ks-mspro-preview button{background:var(--mspro-accent);color:#fff;border:1px solid var(--mspro-accent);border-radius:24px;font-weight:500;transition:background-color .15s,border-color .15s,color .15s;}
#ks-mspro-toggle:hover,
#ks-mspro-design #ks-mspro-preview button:hover:not(:disabled){background:var(--mspro-accent-hover);border-color:var(--mspro-accent-hover);}
#ks-mspro-toggle:focus-visible,
#ks-mspro-design #ks-mspro-preview button:focus-visible{outline:2px solid var(--mspro-accent);outline-offset:3px;}
#ks-mspro-design #ks-mspro-preview .rowHead-button{padding:7px 18px;}
#ks-mspro-design #ks-mspro-preview .rowHead-title,
#ks-mspro-design #ks-mspro-preview .rowSectionItem-number,
#ks-mspro-design #ks-mspro-preview .rowDetail a{color:var(--mspro-accent);}
#ks-mspro-design #ks-mspro-preview .rowSectionItem-number{border-radius:6px;}
#ks-mspro-design #ks-mspro-preview .rowNewSection-icon{width:50px;height:50px;border-radius:50%;line-height:46px;padding:0;}
#ks-mspro-design #ks-mspro-preview .icon,
#ks-mspro-design #ks-mspro-preview .rowHead-remove,
#ks-mspro-design #ks-mspro-preview .rowSectionItem-remove{background:transparent;border-color:transparent;color:var(--mspro-accent);border-radius:50%;}
#ks-mspro-design #ks-mspro-preview .icon:hover:not(:disabled),
#ks-mspro-design #ks-mspro-preview .rowHead-remove:hover:not(:disabled),
#ks-mspro-design #ks-mspro-preview .rowSectionItem-remove:hover:not(:disabled){background:#e7efef;border-color:transparent;color:var(--mspro-accent);}
#ks-mspro-design #ks-mspro-preview .cancel{background:transparent;color:var(--mspro-accent);border-color:var(--mspro-accent);}
#ks-mspro-design #ks-mspro-preview .cancel:hover:not(:disabled){color:#fff;}
#ks-mspro-design #ks-mspro-preview label input[type=radio],
#ks-mspro-design #ks-mspro-preview label input[type=checkbox]{accent-color:var(--mspro-accent);}


/* KS-MSPRO-ROW-TABS-V1 */

#ks-mspro-preview .mspro-row-tabs-toolbar {
 display:flex;
 align-items:center;
 justify-content:space-between;
 flex-wrap:wrap;
 gap:10px 16px;
 margin:0 0 18px;
 padding:12px 14px;
 border:1px solid #d8e2e4;
 border-radius:12px;
 background:#f7f9fa;
}

#ks-mspro-preview .mspro-row-tabs,
#ks-mspro-preview .mspro-row-tab-actions {
 display:flex;
 align-items:center;
 flex-wrap:wrap;
 gap:7px;
}

#ks-mspro-preview .mspro-row-tabs button,
#ks-mspro-preview .mspro-row-tab-actions button {
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-height:36px;
 width:auto;
 padding:8px 12px;
 border:1px solid #bfd3da;
 border-radius:7px;
 background:white;
 color:#173e49;
 font-size:12px;
 font-weight:600;
 line-height:1.3;
 cursor:pointer;
}

#ks-mspro-preview .mspro-row-tabs button.is-active,
#ks-mspro-preview .mspro-row-tab-actions
.mspro-row-tab-add {
 background:#173e49;
 border-color:#173e49;
 color:#fff;
}

#ks-mspro-preview .mspro-row-tab-actions
.mspro-row-tab-delete:not(:disabled) {
 color:#a84b3b;
}

#ks-mspro-preview .mspro-row-tabs button:hover,
#ks-mspro-preview .mspro-row-tab-actions
button:hover:not(:disabled) {
 border-color:#678f9b;
}

#ks-mspro-preview .mspro-row-tabs button:disabled,
#ks-mspro-preview .mspro-row-tab-actions
button:disabled {
 opacity:.45;
 cursor:not-allowed;
}

#ks-mspro-preview .mspro-row-tab-note {
 width:100%;
 color:#62808a;
 font-size:12px;
 line-height:1.4;
}

/* Заголовок с прежним копированием ряда больше не нужен.
   Редактор секций и визуализацию не затрагиваем. */
#ks-mspro-preview .rowHead {
 display:none !important;
}

#ks-mspro-preview .rowItem {
 margin-bottom:18px;
}

@media(max-width:767px) {
 #ks-mspro-preview .mspro-row-tabs-toolbar {
  padding:10px;
 }

 #ks-mspro-preview .mspro-row-tabs,
 #ks-mspro-preview .mspro-row-tab-actions {
  width:100%;
 }

 #ks-mspro-preview .mspro-row-tab-actions button {
  flex:1 1 auto;
 }

 #ks-mspro-preview .rowItem {
  min-width:0;
 }
}


/* KS-MSPRO-ROW-WIDTH-FIX-V1 */

#ks-mspro-preview .rowItem-body {
    display:flex;
    align-items:flex-start;
    justify-content:flex-start;
    gap:14px;
    min-width:0;
}

#ks-mspro-preview .rowSections {
    flex:0 1 auto;
    min-width:0;
    max-width:600px;
    align-self:flex-start;
}

#ks-mspro-preview .rowSections-ruler {
    box-sizing:border-box;
    width:100%;
    max-width:100%;
}

#ks-mspro-preview .rowSections-area {
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    overflow-x:auto;
}

#ks-mspro-preview .rowNewSection {
    flex:0 0 190px;
    width:190px;
    min-width:190px;
    margin:0;
    align-self:stretch;
}

@media(max-width:767px) {
    #ks-mspro-preview .rowItem-body {
        overflow-x:auto;
    }

    #ks-mspro-preview .rowNewSection {
        flex-basis:150px;
        width:150px;
        min-width:150px;
    }
}


/* KS-MSPRO-ADD-SECTION-WIDER-V1 */
#ks-mspro-preview .rowNewSection{
    flex:0 0 320px;
    width:320px;
    min-width:320px;
    padding:18px 22px;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
}

#ks-mspro-preview .rowNewSection .add,
#ks-mspro-preview .rowNewSection button,
#ks-mspro-preview .rowNewSection .rowAddSection,
#ks-mspro-preview .rowNewSection .row-add-section{
    margin:0 auto;
}

#ks-mspro-preview .rowNewSection .title,
#ks-mspro-preview .rowNewSection .label,
#ks-mspro-preview .rowNewSection span,
#ks-mspro-preview .rowNewSection .text{
    text-align:center;
    line-height:1.35;
    white-space:normal;
}

@media (max-width: 767px){
    #ks-mspro-preview .rowNewSection{
        flex:0 0 220px;
        width:220px;
        min-width:220px;
        padding:16px 14px;
    }
}



/* KS-MSPRO-SECTION-EDITOR-UI-V1 */

/* Редактор новой секции */
#ks-mspro-preview .rowNewSection {
  flex: 0 0 320px !important;
  width: 320px !important;
  min-width: 320px !important;
  padding: 20px !important;
  background: #f1f6f7 !important;
  border-radius: 10px;
  box-sizing: border-box;
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  align-self: flex-start !important;
}

/* Вертикальная компоновка формы */
#ks-mspro-preview .rowNewSection .rowSectionForm {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-sizing: border-box;
}

/* Подпись над полем */
#ks-mspro-preview .rowNewSection .rowSectionForm > label {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #456570 !important;
}

/* Выпадающие списки */
#ks-mspro-preview .rowNewSection .rowSectionForm select {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #bfd3da !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #173e49 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  box-sizing: border-box;
}

/* Нагрузка */
#ks-mspro-preview .rowNewSection .rowSectionForm > p {
  margin: 0 0 2px !important;
  color: #173e49 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* Стяжки */
#ks-mspro-preview .rowNewSection .rowSectionForm label.check {
  flex-direction: row !important;
  align-items: center !important;
  gap: 9px !important;
  font-weight: 500 !important;
}

#ks-mspro-preview .rowNewSection .rowSectionForm label.check input {
  margin: 0 !important;
}

/* Подсказка */
#ks-mspro-preview .rowNewSection .rowSectionForm small {
  display: block;
  font-size: 11px !important;
  line-height: 1.5 !important;
  color: #728b94 !important;
  margin: -5px 0 0 !important;
}

/* Кнопки */
#ks-mspro-preview .rowNewSection .rowSectionForm-submit {
  width: 100% !important;
  min-height: 42px !important;
  margin: 4px 0 0 !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  background: #173e49 !important;
  color: #fff !important;
  border: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer;
}

#ks-mspro-preview .rowNewSection > button.cancel {
  display: block;
  width: 100%;
  min-height: 38px;
  margin: 10px 0 0 !important;
  background: #fff;
  color: #173e49;
  border: 1px solid #bfd3da;
  border-radius: 8px;
  cursor: pointer;
}

/* На телефоне */
@media (max-width: 767px) {
  #ks-mspro-preview .rowNewSection {
    flex-basis: 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    padding: 14px !important;
  }
}



/* KS-MSPRO-UNIFIED-MSU-UI-V1 */
/* Единый стиль калькуляторов стеллажей */

/* Основные цвета */
#ks-mspro-preview {
    --ks-primary: #173e49;
    --ks-border: #c4d8de;
    --ks-muted: #62808a;
    --ks-panel: #edf3f4;
    --ks-white: #fff;
}

/* Панель рядов */
#ks-mspro-preview #msProRowTabs {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px 16px !important;
    padding: 12px 14px !important;
    margin: 0 0 20px !important;
    background: #f7f9fa !important;
    border: 1px solid #d8e2e4 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

/* Вкладки и действия */
#ks-mspro-preview #msProRowTabs
.mspro-row-tabs,
#ks-mspro-preview #msProRowTabs
.mspro-row-tab-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 7px !important;
}

/* Сбрасываем оформление кнопок Аспро и старого калькулятора */
#ks-mspro-preview #msProRowTabs
.mspro-row-tabs > button,
#ks-mspro-preview #msProRowTabs
.mspro-row-tab-actions > button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 36px !important;
    height: 36px !important;
    padding: 7px 13px !important;
    margin: 0 !important;
    border: 1px solid var(--ks-border) !important;
    border-radius: 7px !important;
    background: var(--ks-white) !important;
    background-image: none !important;
    box-shadow: none !important;
    color: var(--ks-primary) !important;
    font: 600 12px/1.3 Arial, sans-serif !important;
    text-transform: none !important;
    white-space: nowrap !important;
    cursor: pointer;
}

/* НЕАКТИВНЫЙ ряд — обязательно светлый */
#ks-mspro-preview #msProRowTabs
.mspro-row-tabs > button:not(.is-active) {
    background: #fff !important;
    border-color: #bfd3da !important;
    color: #173e49 !important;
}

/* АКТИВНЫЙ ряд — тёмный */
#ks-mspro-preview #msProRowTabs
.mspro-row-tabs > button.is-active {
    background: #173e49 !important;
    border-color: #173e49 !important;
    color: #fff !important;
}

/* Добавить ряд */
#ks-mspro-preview #msProRowTabs
.mspro-row-tab-actions > button.mspro-row-tab-add {
    background: #173e49 !important;
    border-color: #173e49 !important;
    color: #fff !important;
}

/* Удалить ряд */
#ks-mspro-preview #msProRowTabs
.mspro-row-tab-actions > button.mspro-row-tab-delete {
    color: #a44135 !important;
    background: #fff !important;
}

/* Отключённые действия */
#ks-mspro-preview #msProRowTabs
button:disabled {
    opacity: .4 !important;
    cursor: not-allowed !important;
}

/* Наведение */
#ks-mspro-preview #msProRowTabs
button:not(:disabled):hover {
    border-color: #527d89 !important;
}

/* Подпись под вкладками */
#ks-mspro-preview #msProRowTabs
.mspro-row-tab-note {
    flex: 1 0 100%;
    margin: 0 !important;
    color: #607d86 !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
}

/* Область выбранного ряда */
#ks-mspro-preview .rowItem {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin: 0 0 24px !important;
    border: 1px solid #d8e2e4;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

/* Левая панель параметров */
#ks-mspro-preview .rowDetail,
#ks-mspro-preview .rowForm {
    flex: 0 0 264px;
    width: 264px;
    min-width: 264px;
    box-sizing: border-box;
    padding: 22px 18px !important;
    background: var(--ks-panel) !important;
    color: #173e49;
}

#ks-mspro-preview .rowDetail-title,
#ks-mspro-preview .rowForm-title {
    color: #547481 !important;
    font-family: Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 0 !important;
}

#ks-mspro-preview .rowDetail-subtitle {
    color: #547481 !important;
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
}

#ks-mspro-preview .rowDetail-price {
    color: #173e49 !important;
    font-family: Arial, sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
}

#ks-mspro-preview .rowDetail a {
    color: #216274 !important;
    text-decoration: none;
}

/* Основная рабочая область */
#ks-mspro-preview .rowItem-main {
    min-width: 0;
    flex: 1 1 auto;
    padding: 18px 16px;
    box-sizing: border-box;
}

/* Карточки секций */
#ks-mspro-preview .rowSectionItem {
    background: #fff;
    border-right: 1px solid #dae5e8 !important;
    box-sizing: border-box;
}

#ks-mspro-preview .rowSectionItem-number {
    background: #ebf2f4 !important;
    color: #173e49 !important;
    border-radius: 5px;
}

/* Маленькие кнопки секций */
#ks-mspro-preview .rowSectionItem-foot button {
    color: #173e49 !important;
    border-radius: 5px;
}

/* Плитка добавления секции */
#ks-mspro-preview .rowNewSection {
    background: #edf3f4 !important;
    border-radius: 9px;
    color: #173e49;
}

/* Плюс */
#ks-mspro-preview .rowNewSection-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #173e49 !important;
    background-image: none !important;
    color: #fff !important;
    font-size: 30px !important;
    line-height: 1 !important;
    box-shadow: none !important;
    cursor: pointer;
}

/* Сохраняем уже настроенный редактор секции */
#ks-mspro-preview .rowNewSection .rowSectionForm {
    gap: 12px !important;
}

#ks-mspro-preview .rowNewSection
.rowSectionForm > label {
    color: #456570 !important;
}

/* Адаптивность */
@media (max-width: 900px) {
    #ks-mspro-preview .rowItem {
        flex-direction: column;
    }

    #ks-mspro-preview .rowDetail,
    #ks-mspro-preview .rowForm {
        width: 100%;
        min-width: 0;
        flex: auto;
    }

    #ks-mspro-preview .rowItem-main {
        width: 100%;
    }
}

@media (max-width: 600px) {
    #ks-mspro-preview #msProRowTabs {
        padding: 10px !important;
    }

    #ks-mspro-preview #msProRowTabs
    .mspro-row-tabs {
        width: 100%;
    }

    #ks-mspro-preview #msProRowTabs
    .mspro-row-tab-actions {
        width: 100%;
    }

    #ks-mspro-preview .rowItem-main {
        padding: 12px 8px;
    }
}
