/* FitsCalc Technical Forms R19.1 — additive design layer */
:root{--fc191-blue:#126ee3;--fc191-deep:#143d86;--fc191-ice:#e8f3ff;--fc191-ink:#163653;--fc191-border:#cbdff5}
body.fc-tf-body{background:linear-gradient(180deg,#f0f6ff 0,#f6f9fe 360px,#f4f7fc 100%)}
.fc-tf-main .fc-tf-container,.fc-tf-main .fc-tf-r19-seo,.fc-tf-main .fc-tf-r19-warning{width:min(1240px,calc(100% - 32px));max-width:1240px;margin-inline:auto;box-sizing:border-box}
.fc-tf-hero{position:relative;overflow:hidden;background:linear-gradient(118deg,#123c82 0%,#176fd7 63%,#3dacef 100%)!important;color:#fff!important;border:1px solid #397fd9!important;box-shadow:0 15px 35px rgba(25,81,155,.16);border-radius:22px;padding:30px 34px!important}
.fc-tf-hero:after{content:"";position:absolute;right:-110px;top:-140px;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,#ffffff36,transparent 70%);pointer-events:none}
.fc-tf-hero h1,.fc-tf-hero h2,.fc-tf-hero p,.fc-tf-hero .fc-tf-eyebrow,.fc-tf-hero .fc-tf-lead{color:#fff!important}
.fc-tf-hero .fc-tf-eyebrow{letter-spacing:.12em;font-weight:800;color:#c4e9ff!important}
.fc-tf-hero .fc-tf-lead{color:#e6f4ff!important}
.fc-tf-section{min-width:0}
.fc-tf-filters{background:linear-gradient(145deg,#fff,#f4f9ff)!important;border:1px solid var(--fc191-border)!important;box-shadow:0 9px 24px rgba(20,61,134,.06);border-radius:18px!important}
.fc-tf-filters label{color:var(--fc191-ink);font-weight:650}
.fc-tf-filters input,.fc-tf-filters select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;border-color:#c5d8ee!important;background:#fff!important}
.fc-tf-filters input:focus,.fc-tf-filters select:focus{outline:2px solid #80b8ff;outline-offset:1px}
.fc-tf-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:18px}
.fc-tf-card{display:flex;flex-direction:column;height:100%;min-width:0;border:1px solid #d4e2f4!important;background:#fff!important;border-radius:16px!important;overflow:hidden;box-shadow:0 3px 12px rgba(22,66,130,.04)}
.fc-tf-card-image{display:grid;place-items:center;min-height:155px;background:linear-gradient(140deg,#eff7ff,#e3edfa)!important}
.fc-tf-card-body{display:flex;flex-direction:column;flex:1;min-height:146px}
.fc-tf-card-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;color:#13385f!important}
.fc-tf-card-body>:last-child{margin-top:auto}
@media(hover:hover){.fc-tf-card:hover{transform:translateY(-4px)!important;border-color:#65a9f8!important;box-shadow:0 18px 35px rgba(26,93,180,.18)!important}.fc-tf-card:hover .fc-tf-card-image{background:linear-gradient(135deg,#e4f3ff,#cfe5ff)!important}}
.fc-tf-card:active{transform:translateY(-1px) scale(.997)!important}
.fc-tf-r19-warning{background:#eaf4ff!important;border:1px solid #b9d7ff!important;border-left:4px solid #1877e7!important;color:#25486b!important}
.fc-tf-r19-seo{border-top:3px solid #2b8aef!important;box-shadow:0 12px 30px rgba(19,70,150,.07)}
.fc-tf-r19-seo h2,.fc-tf-r19-seo h3{color:#153e80}
.fc-tf-r19-seo h2:before{content:"ГОСТ · ЕСКД · СПДС";display:block;color:#1979df;font-size:11px;letter-spacing:.13em;font-weight:800;margin-bottom:10px}
.fc-tf-main .fc-tf-detail-download a,.fc-tf-main .fc-tf-download a{transition:transform .15s ease,box-shadow .15s ease}
@media(min-width:850px){.fc-tf-main .fc-tf-detail-layout{align-items:stretch}}
@media(max-width:950px){.fc-tf-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.fc-tf-cards{grid-template-columns:minmax(0,1fr)}.fc-tf-hero{padding:24px 18px!important}.fc-tf-main .fc-tf-container,.fc-tf-main .fc-tf-r19-warning,.fc-tf-main .fc-tf-r19-seo{width:calc(100% - 24px)}}
@media(prefers-reduced-motion:reduce){.fc-tf-card{transition:none!important}}

/* R19.1: hero statistics contrast */
.fc-tf-hero .fc-tf-stats,
.fc-tf-hero .fc-tf-stats *,
.fc-tf-hero .fc-tf-stat,
.fc-tf-hero .fc-tf-stat * {
    color: #ffffff !important;
}

.fc-tf-hero .fc-tf-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.fc-tf-hero .fc-tf-stat {
    padding: 10px 15px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 10px;
}



/* R19.1: corrected hero statistics */
.fc-tf-hero .fc-tf-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.fc-tf-hero .fc-tf-hero-stats > span {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    padding: 11px 16px;
    color: #ffffff !important;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 11px;
}

.fc-tf-hero .fc-tf-hero-stats strong {
    color: #ffffff !important;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

@media (max-width: 600px) {
    .fc-tf-hero .fc-tf-hero-stats > span {
        padding: 9px 12px;
    }
    .fc-tf-hero .fc-tf-hero-stats strong {
        font-size: 20px;
    }
}
