

/* Start:/calc/teplyy-pol/calc.css?179109868814610*/
/* Калькулятор тёплого пола (04.10.2026). Цвета и шрифт - как в шапках разделов. */
.sm-tp, .sm-tp-info { --tp-acc: #0a849b; --tp-acc-d: #076a7d; --tp-ink: #1d2733; --tp-mute: #4f5966; --tp-line: #e6e2db; --tp-bg: #f7f5f2; --tp-warm: #e0663a; font-family: Montserrat, Arial, sans-serif; color: var(--tp-ink); }
.sm-tp *, .sm-tp-info * { box-sizing: border-box; }
.sm-tp-lead { max-width: 760px; margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--tp-mute); }

.sm-tp-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) 280px; grid-template-areas: "a stage res" "a b res"; grid-template-rows: auto 1fr; gap: 20px; align-items: start; }
.sm-tp-input { grid-area: a; } .sm-tp-input2 { grid-area: b; } .sm-tp-stage { grid-area: stage; } .sm-tp-result { grid-area: res; }
.sm-tp-panel { background: #fff; border: 1px solid var(--tp-line); border-radius: 12px; padding: 20px; }
.sm-tp-step + .sm-tp-step { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--tp-line); }
.sm-tp-step__title { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--tp-mute); margin-bottom: 12px; }
.sm-tp-step__title span { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; background: var(--tp-acc); color: #fff; font-size: 12px; letter-spacing: 0; }

.sm-tp button { font-family: inherit; cursor: pointer; }
.sm-tp-rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sm-tp-room { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 10px 9px; border: 1px solid var(--tp-line); border-radius: 8px; background: #fff; font-size: 13px; line-height: 1.25; color: var(--tp-ink); text-align: left; transition: border-color .15s, background .15s; }
.sm-tp-room svg { width: 22px; height: 22px; fill: none; stroke: var(--tp-mute); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sm-tp-room:hover { border-color: #b9d9df; }
.sm-tp-room.is-on { border-color: var(--tp-acc); background: #eef7f9; box-shadow: inset 0 0 0 1px var(--tp-acc); }
.sm-tp-room.is-on svg { stroke: var(--tp-acc); }

.sm-tp-sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sm-tp-size > span:first-child { display: block; font-size: 13px; color: var(--tp-mute); margin-bottom: 6px; }
.sm-tp-stepper { display: flex; border: 1px solid var(--tp-line); border-radius: 8px; overflow: hidden; background: #fff; }
.sm-tp-stepper button { width: 34px; border: 0; background: var(--tp-bg); font-size: 18px; color: var(--tp-ink); }
.sm-tp-stepper button:hover { background: #eee9e1; }
.sm-tp-stepper input { width: 100%; min-width: 0; border: 0; text-align: center; font: 600 16px Montserrat, Arial, sans-serif; color: var(--tp-ink); padding: 9px 0; }
.sm-tp-stepper input:focus { outline: none; background: #f4fafb; }

.sm-tp-modes { display: grid; gap: 8px; }
.sm-tp-mode { display: block; text-align: left; padding: 10px 12px; border: 1px solid var(--tp-line); border-radius: 8px; background: #fff; }
.sm-tp-mode b { display: block; font-size: 14px; font-weight: 600; color: var(--tp-ink); }
.sm-tp-mode small { display: block; font-size: 12px; color: var(--tp-mute); margin-top: 2px; }
.sm-tp-mode.is-on { border-color: var(--tp-acc); background: #eef7f9; box-shadow: inset 0 0 0 1px var(--tp-acc); }

.sm-tp-addlist { display: flex; flex-wrap: wrap; gap: 6px; }
.sm-tp-chip { padding: 6px 10px; border: 1px solid var(--tp-line); border-radius: 16px; background: #fff; font-size: 12.5px; color: var(--tp-ink); }
.sm-tp-chip:hover { border-color: var(--tp-acc); color: var(--tp-acc); }
.sm-tp-chip.is-on { background: var(--tp-acc); border-color: var(--tp-acc); color: #fff; }

/* план */
.sm-tp-stage { background: var(--tp-bg); border-radius: 12px; padding: 18px 18px 14px; }
.sm-tp-plan { display: block; width: 100%; height: auto; max-height: 560px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.sm-tp-item, .sm-tp-handle { touch-action: none; }
.sm-tp-run.is-anim { transform-box: fill-box; transform-origin: left center; animation: smTpUnroll .45s cubic-bezier(.2,.7,.3,1) both; }
.sm-tp-run.is-anim.is-rev { transform-origin: right center; }
@keyframes smTpUnroll { from { transform: scaleX(0); opacity: .3; } to { transform: scaleX(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sm-tp-run.is-anim { animation: none; } }
.sm-tp-item { cursor: grab; outline: none; }
.sm-tp-item:active { cursor: grabbing; }
.sm-tp-item__box { fill: #fff; stroke: #9aa6b2; stroke-width: 1.4; filter: drop-shadow(0 2px 3px rgba(29,39,51,.12)); transition: stroke .15s; }
.sm-tp-item:hover .sm-tp-item__box, .sm-tp-item:focus .sm-tp-item__box { stroke: var(--tp-acc); }
.sm-tp-item.is-sel .sm-tp-item__box { stroke: var(--tp-acc); stroke-width: 2.2; }
.sm-tp-item__glyph { fill: none; stroke: #c5ced6; stroke-width: 1.3; }
.sm-tp-item__label { font: 500 10px Montserrat, Arial, sans-serif; fill: var(--tp-mute); pointer-events: none; }
.sm-tp-handle { cursor: pointer; }
.sm-tp-handle circle { fill: var(--tp-acc); }
.sm-tp-handle path { stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.sm-tp-handle circle { filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.sm-tp-kitnote { margin: 2px 0 0; font-size: 13px; color: var(--tp-mute); }
.sm-tp-kitnote a { color: var(--tp-acc); }
.sm-tp-sizehint { margin: 8px 0 0; font-size: 12px; color: #7a838d; }
.sm-tp-handle--del circle { fill: #d4553a; }
.sm-tp-dim line { stroke: #8b96a1; stroke-width: 1; }
.sm-tp-dim rect { fill: #fff; stroke: #d9d3ca; }
.sm-tp-dim text { font: 600 10px Montserrat, Arial, sans-serif; fill: var(--tp-ink); }
.sm-tp-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 12.5px; color: var(--tp-mute); }
.sm-tp-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 7px; }
.sm-tp-legend .is-mat { background: repeating-linear-gradient(90deg, #fff1e8 0 3px, var(--tp-warm) 3px 4px, #fff1e8 4px 6px); }
.sm-tp-legend .is-furn { background: #fff; box-shadow: inset 0 0 0 1.5px #9aa6b2, 0 1px 2px rgba(29,39,51,.15); border-radius: 4px; }
.sm-tp-legend .is-thermo { background: radial-gradient(circle, #fff 0 2.5px, var(--tp-acc) 3px 4.2px, #fff 4.6px); box-shadow: inset 0 0 0 1.5px var(--tp-acc); border-radius: 4px; }
.sm-tp-hint { margin: 8px 0 0; font-size: 12.5px; color: #7a838d; }

/* результат */
.sm-tp-result__big { display: grid; gap: 14px; }
.sm-tp-result__big small, .sm-tp-sum small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--tp-mute); }
.sm-tp-result__big strong { display: block; font-size: 30px; font-weight: 600; line-height: 1.15; color: var(--tp-ink); }
.sm-tp-barwrap { margin: 16px 0 6px; }
.sm-tp-bar { height: 8px; border-radius: 4px; background: #eee9e1; overflow: hidden; }
.sm-tp-bar i { display: block; height: 100%; background: linear-gradient(90deg, #f0a07f, var(--tp-warm)); border-radius: 4px; transition: width .4s; }
.sm-tp-barwrap span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--tp-mute); }
.sm-tp-dl { margin: 14px 0 0; }
.sm-tp-dl div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--tp-line); font-size: 13.5px; }
.sm-tp-dl dt { font-weight: 400; color: var(--tp-mute); }
.sm-tp-dl dd { margin: 0; font-weight: 600; white-space: nowrap; }
.sm-tp-note { list-style: none; margin: 12px 0 0; padding: 0; }
.sm-tp-note li { position: relative; padding: 10px 12px 10px 34px; margin-top: 8px; border-radius: 8px; background: #fff6ef; font-size: 13px; line-height: 1.45; color: #6b4a3a; }
.sm-tp-note li::before { content: '!'; position: absolute; left: 11px; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--tp-warm); color: #fff; font-size: 11px; font-weight: 700; text-align: center; line-height: 16px; }

/* комплект */
.sm-tp-kitbox { margin-top: 24px; border: 1px solid var(--tp-line); border-radius: 12px; background: #fff; padding: 22px 24px; }
.sm-tp-kitbox__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 14px; }
.sm-tp-kitbox h2 { margin: 0; font-size: 22px; font-weight: 500; }
.sm-tp-tpick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.sm-tp-tpick__groups { display: flex; flex-wrap: wrap; gap: 6px; }
.sm-tp-tpick__colors { display: flex; flex-wrap: wrap; gap: 6px; }
.sm-tp-swatch { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #cfd5db; padding: 0; }
.sm-tp-swatch.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--tp-acc); }
.sm-tp-kit { display: grid; gap: 10px; }
.sm-tp-card { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 14px 10px 10px; border: 1px solid var(--tp-line); border-radius: 10px; }
.sm-tp-card__img { display: block; width: 72px; height: 72px; border-radius: 8px; background: #fff; overflow: hidden; }
.sm-tp-card__img img { width: 100%; height: 100%; object-fit: contain; }
.sm-tp-card__name { display: block; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--tp-ink); text-decoration: none; }
.sm-tp-card__name:hover { color: var(--tp-acc); }
.sm-tp-card__meta { margin-top: 4px; font-size: 12.5px; color: var(--tp-mute); }
.sm-tp-stock { color: #2e8b57; font-weight: 500; }
.sm-tp-stock.is-order { color: #b8742a; }
.sm-tp-card__price { font-size: 16px; font-weight: 600; white-space: nowrap; }
.sm-tp-empty { margin: 0; color: var(--tp-mute); }
.sm-tp-kitbox__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--tp-line); }
.sm-tp-sum strong { font-size: 28px; font-weight: 600; }
.sm-tp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sm-tp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid var(--tp-acc); border-radius: 6px; background: var(--tp-acc); color: #fff; font: 600 14px Montserrat, Arial, sans-serif; cursor: pointer; transition: background .15s; }
.sm-tp-btn:hover { background: var(--tp-acc-d); }
.sm-tp-btn:disabled { opacity: .5; cursor: default; }
.sm-tp-btn.is-busy { opacity: .7; }
.sm-tp-btn--ghost { background: #fff; color: var(--tp-ink); border-color: #cfd5db; }
.sm-tp-btn--ghost:hover { background: var(--tp-bg); }
.sm-tp-done { width: 100%; padding: 12px 14px; border-radius: 8px; background: #eaf6ee; color: #23643f; font-size: 14px; }
.sm-tp-done a { color: inherit; font-weight: 600; }
.sm-tp-done.is-err { background: #fdeeea; color: #8a3a28; }

/* справка под калькулятором */
.sm-tp-info { margin-top: 48px; }
.sm-tp-sec { margin-bottom: 44px; }
.sm-tp-sec h2 { font-size: 24px; font-weight: 500; margin: 0 0 18px; }
.sm-tp-how { counter-reset: how; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sm-tp-how li, .sm-tp-layerlist li { margin: 0; }
.sm-tp-how li { counter-increment: how; position: relative; padding: 46px 18px 18px; border-radius: 12px; background: var(--tp-bg); font-size: 14px; line-height: 1.55; color: var(--tp-mute); }
.sm-tp-how li::before { content: counter(how); position: absolute; left: 18px; top: 14px; font-size: 22px; font-weight: 600; color: var(--tp-acc); }
.sm-tp-how b { display: block; color: var(--tp-ink); font-weight: 600; margin-bottom: 4px; }
.sm-tp-layers { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.sm-tp-layers__img img { display: block; width: 100%; height: auto; border-radius: 12px; }
.sm-tp-layerlist { margin: 0; padding: 0; list-style: none; counter-reset: lay; }
.sm-tp-layerlist li { counter-increment: lay; position: relative; padding: 0 0 14px 44px; font-size: 14.5px; line-height: 1.5; color: var(--tp-mute); }
.sm-tp-layerlist li::before { content: counter(lay); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #fff3ec; color: var(--tp-warm); font-weight: 700; text-align: center; line-height: 28px; }
.sm-tp-layerlist b { display: block; color: var(--tp-ink); font-weight: 600; }
.sm-tp-faq details { border-bottom: 1px solid var(--tp-line); }
.sm-tp-faq summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; position: relative; font-size: 16px; font-weight: 500; }
.sm-tp-faq summary::-webkit-details-marker { display: none; }
.sm-tp-faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--tp-acc); }
.sm-tp-faq details[open] summary::after { content: '\2212'; }
.sm-tp-faq p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--tp-mute); max-width: 820px; }
.sm-tp-links { display: flex; flex-wrap: wrap; gap: 10px; }
.sm-tp-links a { padding: 10px 16px; border-radius: 6px; background: var(--tp-bg); color: var(--tp-ink); font-size: 14px; text-decoration: none; }
.sm-tp-links a:hover { color: var(--tp-acc); }

@media (max-width: 1199px) {
  .sm-tp-grid { grid-template-columns: 290px minmax(0, 1fr); grid-template-areas: "a stage" "a res" "b res"; grid-template-rows: auto auto 1fr; }
  .sm-tp-how { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .sm-tp-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "stage" "b" "res"; gap: 14px; }
  .sm-tp-stage { padding: 10px 8px; }
  .sm-tp-plan { max-height: 62vh; }
  .sm-tp-result { display: block; }
  .sm-tp-panel { padding: 16px; }
  .sm-tp-rooms { grid-template-columns: 1fr 1fr 1fr; }
  .sm-tp-room { align-items: center; text-align: center; font-size: 12px; padding: 8px 4px; }
  .sm-tp-result__big { grid-template-columns: 1fr 1fr; }
  .sm-tp-result__big strong { font-size: 24px; }
  .sm-tp-kitbox { padding: 16px; }
  .sm-tp-card { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .sm-tp-card__img { width: 56px; height: 56px; }
  .sm-tp-card__price { grid-column: 2; }
  .sm-tp-actions, .sm-tp-btn { width: 100%; }
  .sm-tp-how { grid-template-columns: 1fr; }
  .sm-tp-layers { grid-template-columns: 1fr; gap: 18px; }
}

/* End */
/* /calc/teplyy-pol/calc.css?179109868814610 */
