/* Fixim — страница проблемы (/problem/q…). Основа — site.css, expertise.css (раскладка, списки, боковые блоки), category.css, product.css (форма-«мастерская», видео, оценка владельцев). */

/* ---------- карточка вопроса ---------- */
.fx-q { margin: 4px 0 0; padding: 26px 28px 18px; border: 1px solid #E3E9F0; border-radius: 22px; background: #fff; }
/* верх: модель плашкой слева, статус справа */
.fx-q-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 14px; }
.fx-q-dev { display: inline-flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; padding: 4px 12px 4px 4px; border: 1px solid #E3E9F0; border-radius: 12px; background: #F8FAFC; color: var(--fx-text); text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.fx-q-dev:hover { border-color: #9DBDE6; background: #fff; }
.fx-q-dev-img { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px #E3E9F0; }
.fx-q-dev-img img { max-width: 28px; max-height: 28px; width: auto; height: auto; }
.fx-q-dev b { min-width: 0; font-size: 14.5px; font-weight: 700; overflow-wrap: anywhere; }
.fx-q-dev:hover b { color: var(--fx-link); }
.fx-q-dev small { flex: none; font-size: 13px; color: var(--fx-muted); }
.fx-q-dev small:before { content: '·'; margin-right: 8px; color: #A8B4C1; }
.fx-q-general { font-size: 14px; color: var(--fx-muted); }
.fx-q-pills { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-left: auto; }
.fx-q-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.fx-q-pill-ok { background: #E7F7EC; color: #1E7A3C; }
.fx-q-pill-wait { background: #FFF2DB; color: #92400E; }
.fx-q-pill-urgent { background: #FDE8EC; color: #BE123C; }
.fx-qp .fx-q h1 { margin: 0; font-size: 30px; line-height: 1.22; font-weight: 800; letter-spacing: -0.02em; color: var(--fx-text); overflow-wrap: anywhere; }
.fx-qp .fx-q h1::first-letter { text-transform: uppercase; }

/* гость без аватарки — серый кружок с «?» */
.fx-ini-guest { background: #CBD5E1; color: #fff; }

/* автор (серый ник с человечком), дата, просмотры */
.fx-q-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 14px; padding-bottom: 16px; border-bottom: 1px solid #EEF2F6; font-size: 14px; color: var(--fx-muted); }
.fx-q-nick { display: inline-flex; align-items: center; gap: 4px; color: var(--fx-muted); }
.fx-q-meta, .fx-q-meta a, .fx-q-meta small { font-size: 14px; font-weight: 400; }
.fx-q-nick .icon-user:before { margin: 0; }
.fx-q-nick a { color: var(--fx-muted); text-decoration: none; }
.fx-q-nick a:hover { color: var(--fx-link); }
.fx-q-meta > a { color: var(--fx-muted); text-decoration: none; }
.fx-q-meta > a:hover { color: var(--fx-link); }

.fx-q-text { margin-top: 16px; font-size: 17px; line-height: 1.7; color: #1F2F40; overflow-wrap: anywhere; }
.fx-q-text img { max-width: 100%; height: auto; border-radius: 12px; }
.fx-q-images { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.fx-q-images .img_block img { max-height: 320px; border-radius: 12px; border: 1px solid #E3E9F0; }
.fx-q-addimg { margin-top: 12px; padding: 7px 14px; border: 1px dashed #9DB3CB; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; color: var(--fx-link); cursor: pointer; }

/* действия: «к решениям», «у меня такая же» со счётчиком, «нужно срочно?» */
.fx-q-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; }
.fx-q-same { display: inline-flex; align-items: stretch; height: 44px; box-sizing: border-box; border: 1.5px solid #F5B5C2; border-radius: 12px; background: #FFF5F7; overflow: hidden; }
.fx-q-same a { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; font-size: 15px; font-weight: 700; color: #BE123C; text-decoration: none; transition: background .15s ease; }
.fx-q-same a:hover { background: #FDE8EC; color: #BE123C; }
.fx-q-same .fx-q-same-n { padding: 0 14px; border-left: 1.5px solid #F5B5C2; font-weight: 800; font-variant-numeric: tabular-nums; }
.fx-q-same-on { border-color: #A7DDB8; background: #F0FAF4; }
.fx-q-same-on a, .fx-q-same-on a:hover { color: #1E7A3C; }
.fx-q-same-on a:hover { background: #E7F7EC; }
.fx-q-same-on .fx-q-same-n { border-left-color: #A7DDB8; }
.fx-q-go { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 12px; background: linear-gradient(180deg, #3BC06A, #2E9A4E); box-shadow: 0 6px 16px rgba(46,154,78,.28); font-size: 15px; font-weight: 800; color: #fff; text-decoration: none; }
.fx-q-go:hover { color: #fff; filter: brightness(1.05); }
.fx-q-down { width: 7px; height: 7px; margin-top: -4px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); }
.fx-q-urg { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 14px; font-weight: 600; color: #7A8A9A; text-decoration: none; }
.fx-q-urg .icon-flash { color: #F59E0B; }
.fx-q-urg:hover { color: #BE123C; text-decoration: underline; }

/* комментарии (к вопросу, к решениям, «такие же проблемы») */
.fx-q-comments { margin-top: 20px; padding: 6px 18px; border-radius: 16px; background: #F6F9FC; }
.fx-qp .fx-q-ctitle { display: flex; align-items: center; gap: 6px; margin: 8px 0 2px; font-size: 13px; font-weight: 700; color: var(--fx-muted); }
.fx-q-c { padding: 10px 0; border-top: 1px solid #E6ECF2; font-size: 15px; line-height: 1.55; color: #24384C; }
.fx-qp .fx-q-ctitle + .fx-q-c { border-top: 0; }
.fx-q-chead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 2px; }
.fx-qp .fx-q-chead .fx-q-ctitle { margin: 0; }
.fx-q-chead > a { font-size: 13.5px; font-weight: 700; color: var(--fx-link); text-decoration: none; }
.fx-q-chead > a:hover { text-decoration: underline; }
.fx-q-chead + .fx-q-c { border-top: 0; }
.fx-q-cfake { display: flex; align-items: center; gap: 10px; margin: 10px 0 12px; padding: 10px 14px; border: 1px solid #DCE5EE; border-radius: 12px; background: #fff; font-size: 14.5px; color: #8A99A8; text-decoration: none; cursor: text; transition: border-color .15s ease, color .15s ease; }
.fx-q-cfake:hover { border-color: #9DBDE6; color: var(--fx-muted); }
.fx-q-cfake .icon-commenting-o { color: #A8B4C1; }
.fx-q-cfake-solo { margin: 20px 0 0; }
.fx-q-c.fx-q-hide, .fx-q-call.fx-q-hide { display: none; }
.fx-q-ctext { overflow-wrap: anywhere; }
.fx-q-ctext img { max-width: 100%; height: auto; border-radius: 10px; }
.fx-q-cmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin-top: 4px; font-size: 12.5px; color: var(--fx-muted); }
.fx-q-cmeta a { color: var(--fx-muted); }
.fx-q-cmeta a:hover { color: var(--fx-link); }
.fx-q-cimg { float: right; margin: 0 0 6px 12px; }
.fx-q-cimg img { max-width: 120px; border-radius: 8px; }
.fx-q-cmore { display: block; margin: 4px 0 10px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--fx-link); cursor: pointer; }
.fx-q-cmore:hover { text-decoration: underline; }
.fx-q-cmore[hidden] { display: none; }
.fx-q-call { display: block; margin: 4px 0 10px; font-size: 14px; font-weight: 600; color: var(--fx-link); text-decoration: none; }
.fx-q-call:hover { text-decoration: underline; }
.fx-q-cform { margin-top: 18px; }
.fx-q-cform textarea, .fx-q-sqform textarea, .fx-q-offerform textarea { display: block; width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #CBD8E6; border-radius: 12px; background: #fff; font: inherit; font-size: 15px; line-height: 1.5; resize: vertical; }
.fx-q-cform textarea:focus, .fx-q-sqform textarea:focus { outline: 2px solid #93C5FD; border-color: #60A5FA; }
.fx-q-cform-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.fx-q-btn { padding: 9px 18px; border: 0; border-radius: 10px; background: #2563EB; font: inherit; font-size: 14.5px; font-weight: 700; color: #fff; cursor: pointer; }
.fx-q-btn:hover { background: #1D4ED8; }
.fx-q-btn-light { padding: 9px 14px; border: 1px solid #CBD8E6; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; color: var(--fx-text); cursor: pointer; }
.fx-q-ad, .fx-qs-ad { margin: 22px 0; text-align: center; }
.fx-q-ad:empty, .fx-qs-ad:empty { display: none; }
.fx-q-welcome { margin-top: 22px; padding: 22px 24px; border-color: #CDE7DA; background: linear-gradient(180deg, #F0FAF4, #fff); }
.fx-qp .fx-q-welcome h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 20px; font-weight: 800; color: #1E7A3C; }
.fx-qp .fx-q-welcome p { margin: 0 0 10px; font-size: 15px; line-height: 1.5; color: #3A4C5E; }
.fx-q-nickform { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.fx-q-nickform label { display: flex; flex-direction: column; gap: 4px; flex: 1 1 180px; font-size: 13px; font-weight: 600; color: var(--fx-muted); }
.fx-q-nickform input { padding: 9px 12px; border: 1px solid #CBD8E6; border-radius: 10px; font: inherit; font-size: 15px; }

/* ---------- решения ---------- */
.fx-qs-wrap { margin-top: 36px; scroll-margin-top: 90px; }
.fx-qp .fx-qs-wrap .fx-exp-listhead { margin: 0 0 14px; }
.fx-qs-add { font-size: 14px; font-weight: 700; color: var(--fx-link); text-decoration: none; }
.fx-qs-add:hover { text-decoration: underline; }
.fx-qs-list { display: flex; flex-direction: column; gap: 16px; }
/* после решений: к другим проблемам модели */
.fx-qs-more { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 18px; border: 1px solid #F3DFA8; border-radius: 16px; background: #FFFBEB; color: #5C4813; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.fx-qs-more:hover { border-color: #F5A524; background: #FFF6D6; color: #5C4813; }
.fx-qs-more-ico { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px #F3DFA8; font-size: 19px; color: #D4920F; }
.fx-qs-more-ico:before { margin: 0; }
.fx-qs-more-t { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.45; }
.fx-qs-more-t b { display: block; font-size: 15.5px; font-weight: 800; color: var(--fx-text); overflow-wrap: anywhere; }
.fx-qs-more-arr { flex: none; width: 8px; height: 8px; margin-right: 4px; border-top: 2.5px solid #B7791F; border-right: 2.5px solid #B7791F; transform: rotate(45deg); transition: transform .15s ease; }
.fx-qs-more:hover .fx-qs-more-arr { transform: translateX(3px) rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .fx-qs-more, .fx-qs-more-arr { transition: none; } }
.fx-qs { padding: 20px 24px 12px; border: 1px solid #E3E9F0; border-radius: 20px; background: #fff; scroll-margin-top: 90px; }
.fx-qs:target { box-shadow: 0 0 0 2px #93C5FD; }
.fx-qs:has(.fx-qs-best) { border-color: #A7DDB8; box-shadow: 0 10px 28px rgba(46,154,78,.10); }
.fx-qs-head { display: flex; align-items: center; gap: 12px; }
.fx-qs-ava .fx-ava, .fx-qs-ava .fx-ini { width: 44px; height: 44px; }
.fx-qs-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fx-qs-nick { font-size: 16px; font-weight: 700; }
.fx-qs-nick a { color: var(--fx-text); text-decoration: none; }
.fx-qs-nick a:hover { color: var(--fx-link); }
.fx-qs-rank { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 13px; color: var(--fx-muted); }
.fx-qs-rank a { color: inherit; }
.fx-qs-sol:before { content: '·'; margin-right: 6px; color: #A8B4C1; }
.fx-qs-side { flex: none; align-self: flex-start; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.fx-qs-best { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #2E9A4E; font-size: 12.5px; font-weight: 800; color: #fff; }
.fx-qs-date { font-size: 13px; color: #7A8A9A; text-decoration: none; }
.fx-qs-date:hover { color: var(--fx-link); text-decoration: underline; }
.fx-qs-text { margin-top: 14px; font-size: 16.5px; line-height: 1.7; color: #1F2F40; overflow-wrap: anywhere; }
.fx-qs-text img { max-width: 100%; height: auto; border-radius: 12px; }
.fx-qs-text .blog { margin: 10px 0; padding: 12px 14px; border-radius: 12px; background: #F5F0FF; }
.fx-qs-text .blog .post { margin-top: 4px; font-size: 14px; color: #4A5B6C; }
.fx-qs-text pre, .fx-qs-text code { overflow-x: auto; }
.fx-qs-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 14px; font-size: 14px; color: var(--fx-muted); }
/* «Это решение полезно? Да / Нет» — разметка Star::PrintSolutionVotings (меняется через xajax) */
.fx-qs-vote { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fx-qs-vote b { font-weight: 600; color: var(--fx-text); }
.fx-qs-vote br { display: none; }
.fx-qs-vote .button-green, .fx-qs-vote .button-red { display: inline-flex !important; align-items: center; gap: 5px; height: 34px; min-width: 0; margin: 0 0 0 4px; padding: 0 14px; border: 1px solid; border-radius: 999px; background: #fff; box-shadow: none; text-shadow: none; font-size: 14px; font-weight: 700; line-height: 32px; box-sizing: border-box; }
.fx-qs-vote .button-green { border-color: #A7DDB8; color: #1E7A3C !important; background: #F0FAF4; }
.fx-qs-vote .button-green:hover { background: #2E9A4E; border-color: #2E9A4E; color: #fff !important; }
.fx-qs-vote .button-red { border-color: #F5C2CC; color: #BE123C !important; background: #FFF5F7; }
.fx-qs-vote .button-red:hover { background: #E11D48; border-color: #E11D48; color: #fff !important; }
.fx-qs-vote .voted { margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: #E7F7EC; font-size: 13px; font-weight: 600; color: #1E7A3C; }
.fx-qs-thumbs { display: inline-flex; gap: 2px; color: #D3DCE6; }
.fx-qs-thumbs .fx-on { color: #2E9A4E; }
.fx-qs-comments { margin-top: 14px; padding: 4px 16px 6px; border-radius: 14px; background: #F6F9FC; }
.fx-qs-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #EEF2F6; font-size: 14px; }
.fx-qs-actions a { display: inline-flex; align-items: center; gap: 6px; color: var(--fx-muted); text-decoration: none; font-weight: 600; }
.fx-qs-actions a:hover { color: var(--fx-link); }
.fx-qp .fx-qs-more { margin: 12px 0 0; font-size: 14px; color: var(--fx-muted); }

.fx-qs-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 22px 24px; border: 1px dashed #F3C77A; border-radius: 20px; background: #FFFBF2; }
.fx-qs-empty-ico { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: #FFF2DB; font-size: 24px; font-weight: 900; color: #B45309; }
.fx-qs-empty > div { flex: 1 1 260px; }
.fx-qp .fx-qs-empty h2 { margin: 0; font-size: 20px; font-weight: 800; color: var(--fx-text); }
.fx-qp .fx-qs-empty p { margin: 4px 0 0; font-size: 15px; color: #5B4A2A; }

/* ---------- форма решения: «мастерская» (стили fx-pask из product.css) ---------- */
.fx-qsolve { scroll-margin-top: 90px; }
.fx-qsolve-ed { margin-top: 18px; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.fx-qsolve-ed:focus-within { box-shadow: 0 0 0 3px rgba(96,165,250,.6), 0 10px 30px rgba(0,0,0,.25); }
.fx-qsolve-ed > div { width: 100% !important; box-sizing: border-box; border: 0 !important; }
.fx-qsolve-ed .nicEdit-panelContain { padding: 4px 8px; border: 0 !important; border-bottom: 1px solid #E6ECF2 !important; background: #F6F9FC !important; }
.fx-qsolve-ed .nicEdit-main { width: auto !important; min-height: 150px !important; margin: 0 !important; padding: 14px 16px; font-size: 16px; line-height: 1.55; color: var(--fx-text); outline: 0; }
.fx-qsolve-ed .nicEdit-main:empty:before { content: attr(data-ph); color: #94A3B8; pointer-events: none; }
.fx-qsolve-ed .nicEdit-main img { max-width: 100%; height: auto; }
.fx-qsolve-ed { position: relative; }
.fx-qp .fx-qsolve-tool { margin: 12px 0 0; font-size: 14px; }
.fx-qsolve-tool a { color: #B9CBDD; text-decoration: underline; text-underline-offset: 3px; }
.fx-qsolve-tool a:hover { color: #fff; }
.fx-qsolve .fx-pask-foot { margin-top: 18px; }
.fx-qsolve-check { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.08); color: #E2EAF3; font-size: 15px; }
.fx-qp .fx-qsolve-check-t { margin: 0 0 8px; font-weight: 700; color: #fff; }
.fx-qsolve-check label { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; cursor: pointer; }
.fx-qsolve-check input { margin-top: 4px; }
.fx-qsolve-check .fx-pask-go { margin-top: 10px; }

/* ---------- «С такой же проблемой» ---------- */
.fx-q-samebox { margin-top: 36px; scroll-margin-top: 90px; }
.fx-qp .fx-q-samebox .fx-exp-listhead { margin: 0 0 14px; }
.fx-q-cnt { margin-left: 4px; font-size: 18px; font-weight: 600; color: #94A3B8; }
.fx-q-samelist { padding: 4px 22px 14px; }
.fx-q-samelist > .fx-q-c:first-child { border-top: 0; }
.fx-q-sp-ad { margin: 8px 0; }
.fx-q-sqform { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding-top: 14px; border-top: 1px solid #EEF2F6; }
.fx-q-sqform .fx-q-btn { align-self: flex-start; }
.fx-q-sqlabel { font-size: 15px; font-weight: 700; color: var(--fx-text); scroll-margin-top: 120px; }
.fx-q-samefoot { margin-top: 10px; padding-top: 14px; border-top: 1px solid #EEF2F6; }
.fx-qp .fx-help { margin-top: 36px; }

/* ---------- боковая колонка ---------- */
.fx-q-tell p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.5; color: #3A4C5E; }
.fx-q-tell { padding-bottom: 8px; }
.fx-q-offer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 6px 0 4px 52px; padding: 8px 12px; border-radius: 10px; background: #ECFEFF; font-size: 13.5px; color: #155E75; }
.fx-q-offer b { color: #0E7490; }
.fx-q-offer a { color: #7A8A9A; }
.fx-q-offerform { padding-bottom: 18px; }
.fx-q-offerform p { margin: 0 0 8px; font-size: 14px; }
.fx-q-price input { width: 64px; padding: 4px 6px; border: 1px solid #CBD8E6; border-radius: 8px; font: inherit; }
.fx-q-admin-link { margin-left: 12px; font-size: 12px; color: #B9C5B1; }

@media (max-width: 700px) {
	.fx-q { padding: 18px 16px 14px; border-radius: 18px; }
	.fx-qp .fx-q h1 { font-size: 23px; }
	.fx-q-text { font-size: 16px; }
	.fx-q-pills { margin-left: 0; }
	.fx-q-actions { flex-direction: column; align-items: stretch; }
	.fx-q-go { justify-content: center; }
	.fx-q-same a:first-child { flex: 1; justify-content: center; }
	.fx-q-urg { margin-left: 0; justify-content: center; }
	.fx-qs { padding: 16px 16px 10px; }
	.fx-qs-text { font-size: 16px; }
	.fx-q-comments, .fx-qs-comments { padding-left: 12px; padding-right: 12px; }
	.fx-q-samelist { padding: 4px 14px 12px; }
	.fx-q-offer { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .fx-q-dev, .fx-q-same a, .fx-q-cfake { transition: none; } }

.fx-q-anchor { display: block; scroll-margin-top: 120px; }
.fx-q-samelist > .fx-q-anchor + .fx-q-sqform, .fx-q-samelist > .fx-q-sqform:first-child { margin-top: 0; padding-top: 10px; border-top: 0; }

/* ---------- производные страницы проблемы: все комментарии, все с такой же, «у меня такая же», срочная, правка ---------- */
.fx-qsub-topad { margin: 0 0 18px; text-align: center; }
.fx-qsub-head { margin: 4px 0 14px; }
.fx-qsub .fx-qsub-head h1 { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: var(--fx-text); }
.fx-qsub-head p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--fx-muted); }
/* карточка проблемы со ссылкой «К проблеме» */
.fx-qref { padding: 18px 22px 16px; }
.fx-qref .fx-q-top { margin-bottom: 10px; }
.fx-qref-title { display: block; font-size: 19px; line-height: 1.35; font-weight: 800; letter-spacing: -0.01em; color: var(--fx-text); text-decoration: none; overflow-wrap: anywhere; }
.fx-qref-title::first-letter { text-transform: uppercase; }
.fx-qref-title:hover { color: var(--fx-link); }
.fx-qref-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 10px; }
.fx-qref-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 14px; color: var(--fx-muted); }
.fx-qref-meta span { display: inline-flex; align-items: center; gap: 4px; }
.fx-qref-meta [class^="icon-"]:before { margin: 0; }
.fx-qref-back, .fx-qsub-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--fx-link); text-decoration: none; }
.fx-qref-back:hover, .fx-qsub-cta:hover { text-decoration: underline; }
.fx-qref-arr { width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
/* список */
.fx-qsub-block { margin-top: 32px; }
.fx-qp .fx-qsub-block .fx-exp-listhead { margin: 0 0 14px; }
.fx-qsub-order { font-size: 13.5px; color: var(--fx-muted); }
.fx-qsub-who { display: inline-flex; align-items: center; gap: 4px; }
.fx-qsub-list .fx-q-cmeta a { text-decoration: none; }
.fx-qsub-list .fx-q-cmeta a:hover { text-decoration: underline; }
.fx-qsub-who .icon-user:before { margin: 0; }
.fx-qsub-list .fx-q-c { scroll-margin-top: 90px; }
.fx-qsub-list .fx-q-c:target { margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 12px; background: #FFF8E1; }
.fx-qsub-empty { margin: 10px 0 4px; font-size: 15px; color: var(--fx-muted); }
.fx-qsub-block > .fx-qsub-cta { margin-top: 14px; }
.fx-qsub-block .fx-q-actions { margin-top: 16px; }
.fx-qsub-ad { margin-top: 20px; text-align: center; }
.fx-qsub-ad:empty { display: none; }
@media (max-width: 700px) {
	.fx-qsub .fx-qsub-head h1 { font-size: 24px; }
	.fx-qref { padding: 16px; }
	.fx-qref-title { font-size: 17px; }
	.fx-q-samelist { padding: 4px 14px 12px; }
}
/* формы производных страниц */
.fx-qsub-solo { max-width: 808px; }
.fx-qform { margin-top: 22px; padding: 24px 26px; }
.fx-qp .fx-qform h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; color: var(--fx-text); }
.fx-qform-hint { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--fx-muted); }
.fx-qform label.fx-qform-l { display: block; margin: 14px 0 6px; font-size: 14px; font-weight: 700; color: var(--fx-text); }
.fx-qform textarea, .fx-qform input.fx-qform-in { display: block; width: 100%; box-sizing: border-box; padding: 11px 14px; border: 1px solid #CBD8E6; border-radius: 12px; background: #fff; font: inherit; font-size: 15.5px; line-height: 1.5; color: var(--fx-text); }
.fx-qform textarea { min-height: 130px; resize: vertical; }
.fx-qform input.fx-qform-title { font-size: 18px; font-weight: 700; }
.fx-qform textarea:focus, .fx-qform input.fx-qform-in:focus { outline: 2px solid #93C5FD; border-color: #60A5FA; }
.fx-qform-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fx-qform-chips button { padding: 6px 12px; border: 1px solid #DCE5EE; border-radius: 999px; background: #F8FAFC; font: inherit; font-size: 13.5px; font-weight: 600; color: #3A4C5E; cursor: pointer; }
.fx-qform-chips button:hover { border-color: #9DBDE6; background: #fff; color: var(--fx-link); }
.fx-qform-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.fx-qform .fx-q-go { border: 0; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.fx-qurg-row .fx-q-go { flex: none; height: auto; min-height: 46px; justify-content: center; }
.fx-qform-cancel { font-size: 14.5px; font-weight: 600; color: var(--fx-muted); text-decoration: none; }
.fx-qform-cancel:hover { color: var(--fx-link); text-decoration: underline; }
.fx-qform-note { flex-basis: 100%; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--fx-muted); }
.fx-qform-err { margin-top: 6px; font-size: 13.5px; color: #BE123C; }
.fx-qform-err:empty { display: none; }
.fx-qform-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 13px; color: var(--fx-muted); }
.fx-qform-or:before, .fx-qform-or:after { content: ''; flex: 1; height: 1px; background: #E3E9F0; }
.fx-qform-vk { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; background: #0077FF; font-size: 15px; font-weight: 700; color: #fff; text-decoration: none; }
.fx-qform-vk:hover { color: #fff; filter: brightness(1.06); }
.fx-qform .nicEdit-panelContain { border-radius: 12px 12px 0 0; }
.fx-qform-img { margin-top: 14px; }
.fx-qform-img img { max-width: 160px; max-height: 120px; border: 1px solid #E3E9F0; border-radius: 10px; }
.fx-qform-admin { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding: 14px 16px; border: 1px dashed #CBD8E6; border-radius: 14px; font-size: 13.5px; }
.fx-qform-admin b { flex-basis: 100%; color: var(--fx-muted); }
.fx-qform-admin input[type=submit] { padding: 7px 12px; border: 1px solid #CBD8E6; border-radius: 10px; background: #fff; font: inherit; font-size: 13.5px; cursor: pointer; }
/* «срочная»: шаги */
.fx-qurg-steps { margin: 6px 0 0; padding: 0; list-style: none; counter-reset: fxurg; }
.fx-qurg-steps > li { position: relative; padding: 0 0 22px 46px; counter-increment: fxurg; }
.fx-qurg-steps > li:last-child { padding-bottom: 0; }
.fx-qurg-steps > li:before { content: counter(fxurg); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #FDE8EC; font-size: 14px; font-weight: 800; color: #BE123C; }
.fx-qurg-steps > li:not(:last-child):after { content: ''; position: absolute; left: 14px; top: 36px; bottom: 6px; width: 2px; background: #F6CDD6; }
.fx-qurg-steps h3 { margin: 3px 0 6px; font-size: 16.5px; font-weight: 800; color: var(--fx-text); }
.fx-qurg-steps p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.5; color: #3A4C5E; }
.fx-qurg-row { display: flex; gap: 10px; }
.fx-qurg-row .fx-qform-in { flex: 1; min-width: 0; }
.fx-qurg-btn { flex: none; padding: 0 16px; border: 1px solid #CBD8E6; border-radius: 12px; background: #fff; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--fx-text); cursor: pointer; }
.fx-qurg-btn:hover { border-color: #9DBDE6; color: var(--fx-link); }
.fx-qurg-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fx-qurg-share a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 10px; background: #F1F5F9; font-size: 14px; font-weight: 700; color: #24384C; text-decoration: none; }
.fx-qurg-share a:hover { background: #E2E8F0; }
.fx-qurg-what { margin: 0; padding: 0; list-style: none; }
.fx-qurg-what li { position: relative; padding: 4px 0 4px 26px; font-size: 14.5px; line-height: 1.5; color: #3A4C5E; }
.fx-qurg-what li:before { content: ''; position: absolute; left: 4px; top: 10px; width: 10px; height: 6px; border-left: 2.5px solid #2E9A4E; border-bottom: 2.5px solid #2E9A4E; transform: rotate(-45deg); }
@media (max-width: 700px) {
	.fx-qform { padding: 18px 16px; }
	.fx-qurg-row { flex-direction: column; }
	.fx-qurg-btn { height: 44px; }
	.fx-qurg-steps > li { padding-left: 42px; }
}

/* админский блок «Похожие для продукта» — список как у «Похожих проблем», с пометкой */
.fx-q-admin-rel { margin-top: 32px; }
.fx-qp .fx-q-admin-rel .fx-exp-listhead { margin: 0 0 14px; }
.fx-q-admtag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px dashed #CBD5E1; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--fx-muted); }
.fx-q-admtag span:before { margin: 0; }
.fx-page .fx-q-admin-none { margin: 0; padding: 16px 20px; font-size: 14.5px; color: var(--fx-muted); }

/* форма решения: ссылка на заметку (вместо старого списка Chosen); абзацы — с .fx-prod .fx-pask, иначе их перекрашивает product.css */
.fx-qpost { margin-top: 12px; }
.fx-qpost-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(255,255,255,.07); font: inherit; font-size: 14px; font-weight: 600; color: #DCE7F3; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.fx-qpost-btn:hover, .fx-qpost-btn[aria-expanded="true"] { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; }
.fx-qpost-btn .icon-lightbulb { color: #FCC94B; }
.fx-qpost-btn .icon-lightbulb:before { margin: 0; }
.fx-prod .fx-pask .fx-qpost-done { margin: 8px 0 0; font-size: 13.5px; font-weight: 600; color: #6EE7A0; }
.fx-qpost-panel { margin-top: 10px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(2,12,27,.35); color: var(--fx-text); }
.fx-qpost-panel[hidden] { display: none; }
.fx-qpost-head { display: flex; align-items: center; gap: 8px; }
.fx-qpost-search { position: relative; flex: 1; min-width: 0; }
.fx-qpost-search span { position: absolute; left: 13px; top: 13px; font-size: 15px; color: #94A3B8; pointer-events: none; }
.fx-qpost-search span:before { margin: 0; }
.fx-qpost-search input { display: block; width: 100%; height: 44px; box-sizing: border-box; padding: 0 12px 0 38px; border: 1px solid #CBD8E6; border-radius: 11px; background: #fff; font: inherit; font-size: 15px; color: var(--fx-text); }
.fx-qpost-search input:focus { outline: 2px solid #93C5FD; border-color: #60A5FA; }
.fx-qpost-x { flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: #F1F5F9; font: inherit; font-size: 15px; color: var(--fx-muted); cursor: pointer; }
.fx-qpost-x:hover { background: #E2E8F0; color: var(--fx-text); }
.fx-prod .fx-pask .fx-qpost-hint { margin: 8px 2px 6px; font-size: 12.5px; color: var(--fx-muted); }
.fx-qpost-list { max-height: 320px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.fx-qpost-list li { margin: 0; }
.fx-qpost-list li[hidden] { display: none; }
.fx-qpost-grp { position: sticky; top: 0; z-index: 1; padding: 10px 10px 4px; background: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #94A3B8; }
.fx-qpost-list button { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; background: none; font: inherit; text-align: left; cursor: pointer; }
.fx-qpost-list button:hover, .fx-qpost-list button:focus-visible { background: #EFF6FF; outline: none; }
.fx-qpost-list b { font-size: 14.5px; font-weight: 700; line-height: 1.35; color: var(--fx-text); overflow-wrap: anywhere; }
.fx-qpost-list small { font-size: 12.5px; color: var(--fx-muted); }
.fx-qpost-list small:empty { display: none; }
.fx-prod .fx-pask .fx-qpost-empty { margin: 10px; line-height: 1.4; font-size: 14px; color: var(--fx-muted); }
@media (prefers-reduced-motion: reduce) { .fx-qpost-btn { transition: none; } }
