/* Fixim — инструкции (manual.fixim.ru): каталог, документ, вкладка модели. Основа — site.css, service.css (раскладка, чипы), expertise.css (значок файла .fx-docf). */

.fx-man-head { display: flex; align-items: center; gap: 18px; margin: 14px 0 0; }
.fx-man-head h1 { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: var(--fx-text); overflow-wrap: anywhere; }
.fx-man-head > div { flex: 1; min-width: 0; }
.fx-man-head-img { flex: none; display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #E3E9F0; }
.fx-man-head-img img { max-width: 60px; max-height: 60px; }
.fx-man-head-ico { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(160deg, #3B82F6, #1D4ED8); font-size: 24px; color: #fff; }
.fx-man-head-ico:before { margin: 0; }
.fx-man-add { flex: none; padding: 0 18px; }
.fx-man-add [class^="icon-"]:before { margin: 0; }
.fx-man-chips a small { margin-left: 6px; font-size: 12.5px; font-weight: 600; color: #94A3B8; }

.fx-man-list { margin: 0; padding: 6px 20px; list-style: none; }
.fx-man-item { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 16px 0; border-top: 1px solid #EEF2F6; }
.fx-man-item:first-child { border-top: 0; }
.fx-man-item .fx-docf { margin-top: 2px; }
.fx-man-body { flex: 1; min-width: 0; }
.fx-man-title { font-size: 16.5px; font-weight: 800; line-height: 1.35; color: var(--fx-text); text-decoration: none; overflow-wrap: anywhere; }
.fx-man-title:hover { color: var(--fx-link); }
.fx-page .fx-man-descr { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: #3A4C5E; overflow-wrap: anywhere; }
.fx-page .fx-man-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 8px 0 0; font-size: 13.5px; color: var(--fx-muted); }
.fx-man-meta [class^="icon-"]:before { margin: 0; }
.fx-man-model { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #24384C; text-decoration: none; }
.fx-man-model:hover { color: var(--fx-link); }
.fx-man-model img { width: 22px; height: 22px; object-fit: contain; }
.fx-man-dl { flex: none; align-self: center; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid #CBD8E6; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--fx-link); text-decoration: none; }
.fx-man-dl:hover { border-color: #9DBDE6; background: #F5F9FF; }
.fx-page .fx-man-side-p { margin: 0; font-size: 14px; line-height: 1.5; color: #3A4C5E; }

@media (max-width: 700px) {
	.fx-man-head { flex-wrap: wrap; }
	.fx-man-head h1 { font-size: 24px; }
	.fx-man-add { width: 100%; justify-content: center; }
	.fx-man-list { padding: 4px 16px; }
	.fx-man-dl { display: none; }
}

/* ---------- страница документа ---------- */
.fx-mandoc { padding-bottom: 56px; }
.fx-mandoc-head { margin-top: 14px; padding: 24px 26px; }
.fx-mandoc-top { display: flex; gap: 18px; align-items: flex-start; }
.fx-docf.fx-mandoc-ico { width: 52px; height: 64px; border-radius: 8px 16px 8px 8px; }
.fx-mandoc-ico:before { width: 15px; height: 15px; border-radius: 0 14px 0 6px; }
.fx-mandoc-ico span { left: -6px; bottom: 9px; padding: 2px 7px; font-size: 12px; }
.fx-mandoc-t { flex: 1; min-width: 0; }
.fx-mandoc-t h1 { margin: 0; font-size: 26px; line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; color: var(--fx-text); overflow-wrap: anywhere; }
.fx-page .fx-mandoc-descr { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: #3A4C5E; }
.fx-mandoc-t .fx-man-meta a { color: var(--fx-muted); text-decoration: none; }
.fx-mandoc-t .fx-man-meta a:hover { color: var(--fx-link); }
.fx-mandoc-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #EEF2F6; }
.fx-mandoc-open { padding: 0 22px; }
.fx-mandoc-open [class^="icon-"]:before { margin: 0; }
.fx-mandoc-model { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.35; color: var(--fx-muted); text-decoration: none; }
.fx-mandoc-model b { display: block; font-size: 15px; color: var(--fx-text); }
.fx-mandoc-model:hover b { color: var(--fx-link); }
.fx-mandoc-model-img { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: #F8FAFC; box-shadow: 0 0 0 1px #E3E9F0; }
.fx-mandoc-model-img img { max-width: 38px; max-height: 38px; }
.fx-mandoc-view { margin-top: 16px; padding: 8px; overflow: hidden; }
.fx-mandoc-view iframe { display: block; width: 100%; height: 640px; border: 0; border-radius: 12px; background: #F1F5F9; }
.fx-mandoc .fx-co-block { margin-top: 28px; }
@media (max-width: 900px) { .fx-mandoc { padding-left: 16px; padding-right: 16px; } }
@media (max-width: 700px) {
	.fx-mandoc-head { padding: 18px 16px; }
	.fx-mandoc-t h1 { font-size: 21px; }
	.fx-mandoc-open { width: 100%; justify-content: center; }
	.fx-mandoc-view iframe { height: 460px; }
}
@media (max-width: 700px) {
	.fx-man-head { align-items: flex-start; }
	.fx-man-head > div { flex-basis: calc(100% - 74px); }
	.fx-man-head-ico { width: 44px; height: 44px; font-size: 19px; }
	.fx-man-head h1 { font-size: 22px; overflow-wrap: anywhere; }
}
.fx-man-add { box-sizing: border-box; }
