/* Market research v2 — reuses the marketing dashboard tokens (.mx / .ov-*) plus market-specific visuals */
.mk2 { padding-top: 6px; }
.mk-ix-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.mk-ix-act { display: flex; gap: 6px; flex-wrap: wrap; }
.mk-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; padding: 5px 11px; border-radius: 99px; border: 1px solid #2c362f; color: #a9b5ab; }
.mk-pill.done { color: #b8de7a; border-color: rgba(159,208,90,.35); } .mk-pill.running { color: #e9a36b; }
.ov-kpi b em { font-style: normal; font-size: 14px; color: var(--tx3); margin-inline-start: 4px; font-weight: 500; }
.ov-kpi b.sm { font-size: 22px; } .ov-kpi b.up { color: var(--pri); } .ov-kpi b.dn { color: var(--red); }
.mk-run .pill { height: 40px; }
.mk-legend { display: inline-flex; gap: 8px; align-items: center; font-size: 11.5px; color: var(--tx3); }
.mk-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.mk-legend .l { background: #75b72a; } .mk-legend .a { background: none; border-top: 2px dashed #1c2a20; height: 0; width: 14px; border-radius: 0; } .mk-legend .d { background: #9db4a2; border-radius: 50%; } .mk-legend .o { background: #e8590c; border-radius: 50%; }

/* demand */
.mk-trend { width: 100%; height: 240px; display: block; }
.mk-trend .g { stroke: #eef1ec; stroke-width: 1; } .mk-trend .avg { stroke: #1c2a20; stroke-width: 1.2; stroke-dasharray: 5 5; opacity: .5; }
.mk-trend .ln { fill: none; stroke: #5a9a1f; stroke-width: 2.4; stroke-linejoin: round; } .mk-trend .pk { fill: #fff; stroke: #e8590c; stroke-width: 3; }
.mk-trend-x { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--tx3); margin-top: 4px; } .mk-trend-x span:nth-child(2) { color: #e8590c; font-weight: 700; }
.mk-season { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.mk-season > div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mk-season i { width: 100%; height: 110px; border-radius: 10px; background: linear-gradient(0deg, rgb(117 183 42 / calc(.15 + var(--v) * .85)) calc(var(--v) * 100%), #f1f4ee 0); }
.mk-season .top i { box-shadow: 0 0 0 2px #e8590c inset; }
.mk-season b { font-size: 13px; color: var(--ink); } .mk-season small { font-size: 10.5px; color: var(--tx3); }
.mk-seeds { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } .mk-seeds small { color: var(--tx3); display: inline-flex; gap: 4px; align-items: center; }
.mk-seeds span { font-size: 12px; padding: 4px 11px; border-radius: 99px; background: #fff; border: 1px solid var(--ln); color: var(--tx2); }

/* keywords */
.mk-intents { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; }
.mk-intents button { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; padding: 0; font: inherit; }
.mk-ib { position: relative; width: 100%; height: 170px; border-radius: 12px; background: repeating-linear-gradient(135deg, #eef1ec 0 2px, transparent 2px 8px); display: flex; align-items: flex-end; }
.mk-ib i { position: relative; width: 100%; height: var(--h); border-radius: 12px; background: linear-gradient(180deg, #d6ebbd, #b7da8c); transition: .2s; }
.mk-ib i.buy { background: linear-gradient(180deg, #8cc63f, #4e8a17); }
.mk-ib em { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 700; background: #fff; padding: 1px 7px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.08); color: var(--pri); }
.mk-intents button:hover i, .mk-intents button.on i { filter: brightness(.92); } .mk-intents button.on .mk-ib { outline: 2px solid var(--ink); outline-offset: 2px; }
.mk-intents b { font-size: 16px; color: var(--ink); } .mk-intents small { font-size: 12px; color: var(--tx2); }
.mk-kwboard { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; align-items: start; }
.mk-kwg { background: #fff; border: 1px solid var(--ln); border-radius: 18px; overflow: hidden; }
.mk-kwg header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--sf2); border-bottom: 1px solid var(--ln); } .mk-kwg header span { font-weight: 700; color: var(--pri); }
.mk-kwg.buy header { background: linear-gradient(135deg, #1d4a26, #0f2a17); color: #fff; } .mk-kwg.buy header span { color: #d4f28a; }
.mk-kw { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 16px; border-bottom: 1px solid #f1f4ee; font-size: 13.5px; } .mk-kw:last-child { border: 0; }
.mk-kw .n { font-size: 11px; color: var(--tx3); font-weight: 700; } .mk-kw .lg { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 5px; background: var(--sf2); color: var(--tx3); } .mk-kw em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--pri); }

/* competitors */
.mk-range { background: #121714; color: #e8efe4; border-radius: 20px; padding: 18px 22px 16px; }
.mk-range .mx-ch h3 { color: #fff; } .mk-range .mx-ch h3 .ic { color: #9fd05a; } .mk-range .mk-legend { color: #a9b5ab; } .mk-range .mk-legend .a { border-color: #fff; }
.mk-axis { margin-top: 18px; }
.mk-track { position: relative; height: 70px; border-radius: 12px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 5%); border-bottom: 1px solid #2c362f; }
.mk-dot { position: absolute; top: 50%; inset-inline-start: var(--x); width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #9db4a2; border: 2px solid #121714; opacity: .85; transition: .15s; }
[dir=rtl] .mk-dot { inset-inline-start: auto; left: var(--x); } [dir=rtl] .mk-med { left: var(--x); inset-inline-start: auto !important; }
.mk-dot:nth-child(3n) { top: 30%; } .mk-dot:nth-child(3n+1) { top: 70%; }
.mk-dot:hover { transform: scale(1.5); opacity: 1; background: #d4f28a; z-index: 2; }
.mk-dot.own { background: #e8590c; width: 18px; height: 18px; margin: -9px; box-shadow: 0 0 0 4px rgba(232,89,12,.25); z-index: 3; }
.mk-med { position: absolute; top: -6px; bottom: -6px; inset-inline-start: var(--x); width: 2px; background: #fff; }
.mk-med em { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 700; background: #fff; color: #121714; padding: 1px 7px; border-radius: 5px; white-space: nowrap; }
.mk-ticks { display: flex; justify-content: space-between; font-size: 11.5px; color: #8a978d; margin-top: 6px; direction: ltr; }
.mk-srow { display: grid; grid-template-columns: 120px 1fr 40px; gap: 10px; align-items: center; border: 0; background: none; padding: 4px; border-radius: 8px; font: inherit; font-size: 13px; text-align: start; }
.mk-srow:hover, .mk-srow.on { background: var(--pri-ll); } .mk-srow b { text-align: end; color: var(--ink); }
.mk-verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-verdict > div { padding: 14px; border-radius: 14px; background: var(--sf2); border: 1px solid var(--ln); display: flex; flex-direction: column; gap: 2px; }
.mk-verdict small { color: var(--tx3); font-size: 11.5px; } .mk-verdict b { font-size: 20px; color: var(--ink); } .mk-verdict span { font-size: 11.5px; color: var(--tx2); }
.mk-verdict > div:last-child { background: #fdf0e6; border-color: #f6d9c3; } .mk-verdict > div:last-child b { color: #c2410c; }
.mk-rec { margin: 8px 0 0; padding: 12px 14px; border-radius: 12px; background: #121714; color: #e8efe4; font-size: 13.5px; line-height: 1.7; }
.mk-offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.mk-of { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 16px; border: 1px solid var(--ln); background: #fff; color: var(--tx) !important; text-decoration: none !important; transition: .2s; }
.mk-of:hover { transform: translateY(-3px); box-shadow: var(--sh-h); border-color: #cfe4b5; }
.mk-of.own { border-color: #e8590c; box-shadow: 0 0 0 3px rgba(232,89,12,.12); }
.mk-of-img { height: 130px; border-radius: 12px; background: var(--sf2); display: grid; place-items: center; overflow: hidden; } .mk-of-img img { max-width: 90%; max-height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.mk-own { position: absolute; top: 18px; inset-inline-start: 18px; font-size: 10.5px; font-weight: 700; background: #e8590c; color: #fff; padding: 2px 8px; border-radius: 99px; }
.mk-of small { font-size: 11px; color: var(--tx3); display: inline-flex; gap: 4px; align-items: center; } .mk-of small.k { color: var(--pri); font-weight: 700; }
.mk-of b { font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; }
.mk-of-f { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.mk-of-f .pr { font-size: 16px; font-weight: 700; color: var(--ink); } .mk-of-f .rel { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 5px; } .rel.lo { background: var(--pri-l); color: var(--pri); } .rel.hi { background: #fdf0e6; color: #c2410c; }
@media (max-width: 760px) { .mk-season { grid-template-columns: repeat(6, 1fr); } .mk-season i { height: 70px; } .mk-verdict { grid-template-columns: 1fr; } .mk-offers { grid-template-columns: 1fr 1fr; } }
