/* Справочник «Испытание → стандарт» */
.calc-hero__fig--std { display: flex; align-items: center; justify-content: center; min-height: 220px; background: linear-gradient(135deg, #0a3a68, #0d4f8b); border-radius: 12px; }
.std-badges { display: grid; gap: 12px; }
.std-badges span { display: block; padding: 10px 28px; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; font-weight: 800; font-size: 28px; letter-spacing: .08em; text-align: center; border: 1px solid rgba(255,255,255,.3); }
.std-badges span:nth-child(2) { margin-left: 28px; }
.std-badges span:nth-child(3) { margin-left: 56px; background: #f08a00; border-color: #f08a00; }
.std-tools { margin: 18px 0 14px; display: grid; gap: 12px; }
.std-search { position: relative; max-width: 560px; }
.std-search input { width: 100%; padding: 12px 96px 12px 14px; font-size: 16px; border: 1px solid var(--c-border, #c9d3de); border-radius: 8px; background: #fff; }
.std-search input:focus { outline: 2px solid var(--c-primary, #0a3a68); outline-offset: 1px; }
.std-reset { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 6px 12px; border: 0; border-radius: 6px; background: #eef3f8; color: var(--c-primary-dark, #0a3a68); font-size: 14px; cursor: pointer; }
.std-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.std-chips .calc__chip { padding: 8px 14px; }
.std-n { margin-left: 4px; opacity: .65; font-size: .9em; }
.std-count { margin: 0; color: var(--c-muted, #5b6b7b); font-size: 14px; }
.std-table { width: 100%; }
.std-table th, .std-table td { vertical-align: top; text-align: left; }
.std-table tbody th { font-weight: 400; min-width: 240px; }
.std-name { display: block; font-weight: 700; color: var(--c-primary-dark, #0a3a68); }
.std-meas { display: block; margin-top: 2px; font-size: 14px; color: var(--c-muted, #5b6b7b); }
.std-tag { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: #eef3f8; color: #3a5068; font-size: 12px; }
.std-none { color: #9aa7b4; }
.std-links a { display: block; margin: 0 0 4px; font-size: 14px; line-height: 1.35; }
.std-link--type, .std-link--calc { font-weight: 600; }
.std-empty { margin: 16px 0; padding: 14px; background: #fff4e0; border-radius: 8px; }
.std-table tr[hidden] { display: none; }
mark.std-hit { background: #ffe3a8; color: inherit; padding: 0 1px; border-radius: 2px; }
@media (max-width: 760px) {
	.std-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.std-table, .std-table tbody, .std-table tr, .std-table th, .std-table td { display: block; width: 100%; }
	.std-table tbody tr { margin: 0 0 12px; padding: 12px; border: 1px solid var(--c-border, #d6dee7); border-radius: 10px; background: #fff; }
	.std-table tbody th { min-width: 0; padding: 0 0 8px; border: 0; }
	.std-table td { padding: 6px 0; border: 0; border-top: 1px dashed #e1e8ef; }
	.std-table td::before { content: attr(data-label); display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted, #5b6b7b); }
	.std-badges span { font-size: 22px; padding: 8px 22px; }
}
@media (min-width: 761px) {
	.std-table { table-layout: fixed; }
	.std-table thead th:nth-child(1) { width: 31%; }
	.std-table thead th:nth-child(2) { width: 15%; }
	.std-table thead th:nth-child(3) { width: 15%; }
	.std-table thead th:nth-child(4) { width: 12%; }
	.std-table thead th:nth-child(5) { width: 27%; }
	.std-table tbody th { white-space: normal; min-width: 0; background: #fff; }
	.std-table td { overflow-wrap: anywhere; }
	.std-table tbody tr:nth-child(even) th, .std-table tbody tr:nth-child(even) td { background: #fafcfe; }
}

.std-pdf { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.std-pdf .btn { padding: 8px 16px; font-size: .9rem; }
