

/* Start:/local/components/tehstroy/calc.kp/templates/.compact/style.css?179114887018138*/
/**
 * Стили калькулятора производственного здания
 * @version 1.0
 */

.techstroy-calculator {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* В компактном шаблоне детальная таблица скрыта */
.calculator-details {
  display: none !important;
}

.calculator-title {
  margin: 0 0 20px 0;
  font-size: 28px;
  color: #1f2630;
}

:root {
  --bg: #f5f6f8;
  --muted: #d9dce1;
  --ink: #1f2630;
  --ink-weak: #5a6472;
  --brand: #767f8c;
  --table-border: #000;
  --panel-radius: 10px;
}

* {
  box-sizing: border-box;
}

.config-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 20px 0;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--muted);
  border-radius: var(--panel-radius);
}

.config-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
}

.config-panel select,
.config-panel input {
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--muted);
  border-radius: 5px;
  background: #fff;
  min-width: 72px;
  font-size: 14px;
}

.config-panel input[type="number"] {
  width: 92px;
}

.config-panel input[type="checkbox"] {
  width: auto;
  height: auto;
  min-width: auto;
}

.summary {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  flex-basis: 100%;
  text-align: center;
  padding: 10px 12px;
  background: rgba(118, 127, 140, 0.12);
  border-radius: 5px;
}

.summary b {
  color: var(--ink);
}

.tabl_metall {
  max-width: 1190px;
  width: 100%;
  border-collapse: collapse;
  margin: 24px auto;
  border: 1px solid var(--table-border);
}

.tabl_metall th,
.tabl_metall td {
  border: 1px solid var(--table-border);
  padding: 10px 12px;
  background: #e9eaec;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.tabl_metall th.head {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-align: center;
  font-size: 16px;
}

.tabl_metall th.hdr {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}

.tabl_metall td small {
  display: block;
  margin-top: 4px;
  opacity: 0.85;
  font-size: 12px;
}

.tabl_metall tfoot td {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.calculating {
  opacity: 0.7;
  transition: opacity 0.2s;
}

.export-btn {
  display: inline-block;
  margin: 0 0 20px 0;
  padding: 14px 28px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.2s;
}

.export-btn:hover {
  background: #5a6472;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.export-btn:active {
  transform: translateY(0px);
}

.export-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.export-btn {
  display: inline-block;
  margin: 0 0 20px 0;
  padding: 14px 28px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.2s;
}

.export-btn:hover {
  background: #5a6472;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.export-btn:active {
  transform: translateY(0px);
}

.export-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.export-pdf-btn {
  display: inline-block;
  margin: 0 0 20px 0;
  padding: 12px 24px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.export-pdf-btn:hover {
  background: #5a6472;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.export-pdf-btn:active {
  transform: translateY(0);
}

.export-pdf-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.calculator-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.more-details-btn {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.more-details-btn:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.more-details-btn:active {
  transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 768px) {
  .config-panel {
    gap: 10px;
  }
  
  .config-panel label {
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .config-panel select,
  .config-panel input[type="number"] {
    width: 100%;
  }
  
  .tabl_metall {
    font-size: 12px;
  }
  
  .tabl_metall th,
  .tabl_metall td {
    padding: 6px 8px;
  }
}

@media print {
  .config-panel {
    display: none;
  }
  
  .calculator-title {
    font-size: 18px;
  }
}
/* =========================================================
   Techstroy compact calculator — site style override
   (added by ChatGPT)
   ========================================================= */

:root{
  --ts-ink: #1f2630;
  --ts-ink-weak: #5a6472;
  --ts-bg: #eef0f2;
  --ts-card: #ffffff;
  --ts-border: #d9dde3;
  --ts-accent: #4aa6b6;
  --ts-accent-dark: #2e7f8c;
  --ts-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.techstroy-calculator.techstroy-calculator--compact{
  max-width: 1200px;
  padding: 14px 16px 22px;
}

.techstroy-calculator--compact .calculator-title{
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ts-ink);
}

.techstroy-calculator--compact .calculator-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.techstroy-calculator--compact .export-pdf-btn{
  background: var(--ts-accent);
  border: 1px solid var(--ts-accent);
  color: #fff;
  border-radius: 5px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(74,166,182,.18);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.techstroy-calculator--compact .export-pdf-btn:hover{
  background: var(--ts-accent-dark);
  border-color: var(--ts-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(46,127,140,.22);
}

.techstroy-calculator--compact .more-details-btn{
  border: 1px solid var(--ts-border);
  color: var(--ts-ink);
  background: #fff;
  border-radius: 5px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.techstroy-calculator--compact .more-details-btn:hover{
  border-color: rgba(74,166,182,.55);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
  transform: translateY(-1px);
}

.techstroy-calculator--compact .config-panel{
  position: relative;
  background: var(--ts-card);
  border: 1px solid var(--ts-border);
  border-radius: 5px;
  padding: 16px 16px 12px;
  box-shadow: var(--ts-shadow);
  gap: 12px 16px;
}

.techstroy-calculator--compact .config-panel::after{
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 140px;
  height: 120px;
  background: rgba(74,166,182,.10);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  border-bottom-right-radius: 14px;
  pointer-events: none;
}

.techstroy-calculator--compact .config-panel label{
    font-size: 13px;
    font-weight: 400;
    color: var(--ts-ink);
    letter-spacing: 0.02em;
}

.techstroy-calculator--compact .config-panel select,
.techstroy-calculator--compact .config-panel input{
  height: 38px;
  border-radius: 5px;
  border: 1px solid var(--ts-border);
  background: #fff;
  color: var(--ts-ink);
  font-size: 14px;
  padding: 0 12px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.techstroy-calculator--compact .config-panel input[type="number"]{
  width: 98px;
}

.techstroy-calculator--compact .config-panel select:focus,
.techstroy-calculator--compact .config-panel input:focus{
  border-color: rgba(74,166,182,.75);
  box-shadow: 0 0 0 4px rgba(74,166,182,.16);
}

.techstroy-calculator--compact .config-panel input[type="checkbox"]{
  accent-color: var(--ts-accent);
  transform: translateY(1px);
}

.techstroy-calculator--compact .summary{
  margin-top: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(74,166,182,.14), rgba(74,166,182,.06));
  border: 1px solid rgba(74,166,182,.25);
  color: var(--ts-ink);
  font-size: 18px;
  font-weight: 800;
  padding: 10px 12px;
}

@media (max-width: 768px){
  .techstroy-calculator--compact .config-panel{
    padding: 14px;
  }
  .techstroy-calculator--compact .config-panel label{
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .techstroy-calculator--compact .config-panel select,
  .techstroy-calculator--compact .config-panel input[type="number"],
  .techstroy-calculator--compact .config-panel input{
    width: 100%;
  }
}

/* Mobile calculator C: smartphones below 768 CSS px only. */
@media (max-width: 767.98px) {
  .techstroy-calculator--compact {
    --calc-mobile-accent: #44798e;
    --calc-mobile-ink: #1f2630;
    margin: 0 auto;
    padding: 24px 12px 28px;
  }

  .techstroy-calculator--compact .service-prices__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
  }

  .techstroy-calculator--compact .service-prices__header h2 {
    max-width: 620px;
    margin: 0;
    padding: 0 !important;
    color: #343b3f;
    font-size: clamp(28px, 8.4vw, 36px) !important;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .techstroy-calculator--compact .service-prices__controle,
  .techstroy-calculator--compact .more-details-btn {
    width: 100%;
  }

  .techstroy-calculator--compact .more-details-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
  }

  .techstroy-calculator--compact .config-panel {
    display: block;
    margin: 0;
    padding: 12px;
    overflow: visible;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    background: #f5f6f8;
    box-shadow: 0 12px 28px rgba(68, 121, 142, 0.14);
  }

  .techstroy-calculator--compact .config-panel::after {
    display: none;
  }

  .techstroy-calculator--compact .config-panel label {
    min-width: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
  }

  .techstroy-calculator--compact .config-panel select,
  .techstroy-calculator--compact .config-panel input[type='number'] {
    width: 100%;
    min-width: 0;
    height: 46px;
    font-size: 16px;
  }

  .techstroy-calculator--compact .config-panel label:has(#crane) {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    font-size: 15px;
  }

  .techstroy-calculator--compact #crane {
    flex: 0 0 22px;
    width: 22px !important;
    min-width: 22px;
    height: 22px;
    margin: 0;
    transform: none;
  }

  .techstroy-calculator--compact .summary {
    position: sticky;
    top: 10px;
    z-index: 3;
    min-width: 0;
    margin: 0 0 12px;
    padding: 14px;
    overflow-wrap: anywhere;
    border: 1px solid #44798e;
    border-radius: 12px;
    background: #44798e;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.45;
    box-shadow: 0 8px 18px rgba(68, 121, 142, 0.22);
  }

  .techstroy-calculator--compact .summary::before {
    content: 'Итог обновляется автоматически';
    display: block;
    margin-bottom: 4px;
    color: #eef0f2;
    font-size: 12px;
    font-weight: 700;
  }

  .techstroy-calculator--compact .calc-mobile-step {
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #ffffff;
  }

  .techstroy-calculator--compact .calc-mobile-step__heading {
    position: relative;
    padding: 14px 42px 14px 14px;
    color: #343b3f;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .techstroy-calculator--compact .calc-mobile-step__heading::-webkit-details-marker {
    display: none;
  }

  .techstroy-calculator--compact .calc-mobile-step__heading::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
  }

  .techstroy-calculator--compact .calc-mobile-step[open] .calc-mobile-step__heading::after {
    content: '−';
  }

  .techstroy-calculator--compact .calc-mobile-step__fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 0 14px 14px;
  }

  .techstroy-calculator--compact .calc-mobile-step__fields label {
    flex-basis: auto;
  }
}

/* Homepage compact calculator: aligned fields and a light result row. */
#techstroyCalculator.techstroy-calculator--compact {
  width: calc(100% - 48px);
  max-width: 1296px;
  margin: 0 auto;
  padding: 32px 0;
}

#techstroyCalculator .service-prices__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 20px;
}

#techstroyCalculator .service-prices__header h2 {
  margin: 0;
  padding: 0 !important;
  color: #24454d;
  font-size: 32px !important;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: none;
}

#techstroyCalculator .service-prices__controle {
  flex: 0 0 auto;
  width: auto;
}

#techstroyCalculator .more-details-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid #dce5e5;
  border-radius: 8px;
  background: #fff;
  color: #356f7a;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}

#techstroyCalculator .more-details-btn:hover {
  border-color: #7aaeb5;
  background: #f0f7f7;
  box-shadow: none;
  transform: none;
}

#techstroyCalculator .config-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px 18px;
  margin: 0;
  padding: 24px;
  border: 1px solid #dfe7e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(24, 55, 61, 0.04);
}

#techstroyCalculator .config-panel::after,
#techstroyCalculator .summary::before {
  display: none;
}

#techstroyCalculator .config-panel label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  margin: 0;
  color: #52676d;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

#techstroyCalculator .config-panel select,
#techstroyCalculator .config-panel input[type='number'] {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #dbe4e5;
  border-radius: 7px;
  background: #f8fafa;
  color: #203d45;
  font: inherit;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  box-shadow: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

#techstroyCalculator .config-panel select:focus,
#techstroyCalculator .config-panel input[type='number']:focus {
  border-color: #4f929d;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 146, 157, 0.12);
}

#techstroyCalculator .config-panel label:has(#crane) {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 24px;
  color: #34545b;
  font-size: 14px;
}

#techstroyCalculator #crane {
  flex: 0 0 18px;
  width: 18px !important;
  min-width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  accent-color: #417f8b;
  transform: none;
}

#techstroyCalculator .summary {
  grid-column: 1 / -1;
  position: static;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid #d4e8e8;
  border-radius: 8px;
  background: #edf7f6;
  color: #244b53;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  overflow-wrap: anywhere;
  box-shadow: none;
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  #techstroyCalculator .config-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #techstroyCalculator .service-prices__header h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 767.98px) {
  #techstroyCalculator.techstroy-calculator--compact {
    width: calc(100% - 32px);
    padding: 24px 0;
  }

  #techstroyCalculator .service-prices__header {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
  }

  #techstroyCalculator .service-prices__header h2 {
    font-size: 24px !important;
    line-height: 1.3;
  }

  #techstroyCalculator .config-panel {
    display: block;
    padding: 14px;
  }

  #techstroyCalculator .summary {
    margin-bottom: 14px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
  }

  #techstroyCalculator .calc-mobile-step {
    margin-top: 10px;
    border-color: #e1e9e9;
    border-radius: 8px;
    background: #fff;
  }

  #techstroyCalculator .calc-mobile-step__heading {
    padding: 13px 38px 13px 12px;
    color: #34545b;
    font-size: 14px;
    font-weight: 600;
  }

  #techstroyCalculator .calc-mobile-step__heading::after {
    right: 12px;
    color: #4d828c;
    font-size: 20px;
  }

  #techstroyCalculator .calc-mobile-step__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
    padding: 0 12px 14px;
  }

  #techstroyCalculator .calc-mobile-step__fields label {
    font-size: 12px;
  }

  #techstroyCalculator .calc-mobile-step__fields label:has(#height),
  #techstroyCalculator .calc-mobile-step__fields label:has(#roof) {
    grid-column: 1 / -1;
  }
}

#techstroyCalculator .service-prices__header h2 {
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

/* End */


/* Start:/local/templates/tehstroy/components/bitrix/news.list/index-news/style.css?17910613762809*/
.ts-news {
    margin: 90px 0;
}

.ts-news__container {
    max-width: 1160px;
    margin: 0 auto;
}

.ts-news__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.ts-news h2 {
    margin: 0 0 14px;
    color: #1e1f21;
    font-size: 40px;
    line-height: 1.15;
}

.ts-news__intro {
    max-width: 650px;
    margin: 0;
    color: #60646b;
    font-size: 16px;
    line-height: 1.6;
}

.ts-news__all,
.ts-news__read {
    color: #44798e;
    font-size: 16px;
    font-weight: 600;
}

.ts-news__all {
    flex-shrink: 0;
    padding: 10px 0;
    text-decoration: none;
}

.ts-news__all span,
.ts-news__read span {
    margin-left: 8px;
}

.ts-news__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ts-news__grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ts-news__card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e3e5e8;
    border-radius: 12px;
    background: #fff;
}

.ts-news__link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.ts-news__cover {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f0f1f2;
}

.ts-news__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ts-news__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
}

.ts-news__date {
    color: #60646b;
    font-size: 14px;
}

.ts-news__name {
    margin: 0;
    color: #1e1f21;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.ts-news__preview {
    color: #60646b;
    font-size: 16px;
    line-height: 1.6;
}

.ts-news__read {
    margin-top: auto;
    padding-top: 8px;
}

.ts-news__link:hover .ts-news__name,
.ts-news__all:hover {
    color: #44798e;
}

.ts-news__link:focus-visible,
.ts-news__all:focus-visible {
    outline: 3px solid #44798e;
    outline-offset: -3px;
}

.ts-news__empty {
    padding: 24px;
    border: 1px solid #e3e5e8;
    border-radius: 12px;
    color: #60646b;
}

@media (max-width: 1199px) {
    .ts-news__container {
        margin-right: 20px;
        margin-left: 20px;
    }
}

@media (max-width: 767px) {
    .ts-news {
        margin: 50px 0;
    }

    .ts-news__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .ts-news h2 {
        font-size: 28px;
    }

    .ts-news__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .ts-news__content {
        padding: 20px;
    }

    .ts-news__name {
        font-size: 20px;
    }
}

/* End */
/* /local/components/tehstroy/calc.kp/templates/.compact/style.css?179114887018138 */
/* /local/templates/tehstroy/components/bitrix/news.list/index-news/style.css?17910613762809 */
