/* hi4.in marketing pages: products, solutions, features, templates, shop, compare, partners, developers, roadmap, directory.
   Tokens only (dark-mode safe). Sample-page / template palettes are content, so they use inline custom properties. */

/* ---------- Status legend + feature cards ---------- */
.mk-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.mk-legend span { display: inline-flex; align-items: center; gap: 8px; }
.mk-feats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.mk-feat { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink); text-decoration: none; }
a.mk-feat { transition: border-color .15s, box-shadow .15s, transform .15s; }
a.mk-feat:hover { border-color: var(--accent-line); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.mk-feat .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.mk-feat .t { font-weight: 800; font-size: 17px; line-height: 1.3; }
.mk-feat .d { font-size: 14px; color: var(--muted); line-height: 1.55; }
.mk-feat.is-soon { background: var(--surface-2); border-style: dashed; }
.mk-group-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 24px; }

/* ---------- Mock UI (clearly labelled examples) ---------- */
.mk-mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.mk-mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mk-dots { display: flex; gap: 6px; }
.mk-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mk-mock-body { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.mk-stats { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.mk-stats .stat { padding: 14px; }
.mk-stats .stat .v { font-size: 22px; }
.mk-rows { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
.mk-rows li { display: grid; grid-template-columns: minmax(90px, 1fr) 2fr 44px; align-items: center; gap: 10px; font-size: 14px; }
.mk-rows li b { text-align: right; font-weight: 700; color: var(--ink-2); }
.mk-mock .bars { height: 120px; }
.mk-linkpill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--accent-tint); border: 1px solid var(--accent-line); color: var(--accent); font-weight: 700; font-family: var(--mono); font-size: 14px; max-width: 100%; overflow-wrap: anywhere; }
.mk-linkpill svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* Routing flow */
.mk-flow { display: flex; flex-direction: column; align-items: center; gap: 0; }
.mk-flow .src { z-index: 1; }
.mk-flow .stem { width: 2px; height: 22px; background: var(--accent-line); }
.mk-flow .branches { width: 100%; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 2px solid var(--accent-line); padding-top: 18px; }
.mk-flow .br { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; background: var(--surface); display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.mk-flow .br strong { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.mk-flow .br strong svg { width: 18px; height: 18px; color: var(--accent); }
.mk-flow .br span { color: var(--muted); overflow-wrap: anywhere; }

/* Sample label above a phone */
.mk-sample { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mk-sample .phone-screen { height: 560px; }
.mk-sample-note { font-size: 13px; color: var(--muted-2); text-align: center; max-width: 300px; }

/* ---------- SMS mock ---------- */
.mk-sms { background: var(--soft); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mk-sms .from { align-self: center; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
.mk-sms .bubble { align-self: flex-start; max-width: 92%; background: var(--surface); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 10px 14px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.mk-sms .bubble u { color: var(--accent); text-decoration-thickness: 1.5px; overflow-wrap: anywhere; }
.mk-anatomy { display: flex; flex-wrap: wrap; align-items: stretch; font-family: var(--mono); font-size: clamp(15px, 2.4vw, 22px); font-weight: 700; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.mk-anatomy > span { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mk-anatomy b { font-weight: 700; }
.mk-anatomy small { font-family: var(--font); font-size: 11px; font-weight: 700; color: var(--muted); line-height: 1.3; }
.mk-anatomy .a1 { background: var(--soft); color: var(--ink); }
.mk-anatomy .a2 { background: var(--accent-soft); color: var(--accent); }
.mk-anatomy .a3 { background: var(--green-soft); color: var(--green-ink); }

/* ---------- Plan box (solutions) ---------- */
.mk-plan { display: flex; flex-direction: column; gap: 14px; }
.mk-plan .price .amt { font-size: 36px; }

/* ---------- Comparison of static / dynamic etc. ---------- */
.mk-x { color: var(--faint); }
.mk-yes { color: var(--green); font-weight: 700; }

/* ---------- Template gallery ---------- */
.mk-tpl-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
@media (max-width: 480px) { .mk-tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.tpl.mk-t .thumb { background: var(--tb); padding: 0 0 14px; gap: 0; position: relative; overflow: hidden; }
.tpl.mk-t .cv { width: 100%; height: 26%; background: var(--ta); flex: 0 0 auto; }
.tpl.mk-t .av { width: 42px; height: 42px; border-radius: 50%; background: var(--ta); border: 3px solid var(--tb); margin-top: -21px; flex: 0 0 auto; }
.tpl.mk-t .nm { width: 52%; height: 9px; border-radius: 5px; background: var(--tt); margin-top: 9px; flex: 0 0 auto; }
.tpl.mk-t .sb { width: 34%; height: 6px; border-radius: 4px; background: var(--tt); opacity: .45; margin-top: 6px; flex: 0 0 auto; }
.tpl.mk-t .acts { display: flex; gap: 6px; margin: 11px 0 9px; }
.tpl.mk-t .acts span { width: 19px; height: 19px; border-radius: 6px; background: var(--tc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.tpl.mk-t .ln { width: 80%; height: 19px; border-radius: 7px; background: var(--tc); margin-bottom: 6px; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); }
.tpl.mk-t .ln.hl { background: var(--ta); }
.tpl.mk-t.round .ln, .tpl.mk-t.round .acts span { border-radius: 999px; }
.tpl.mk-t.outline .ln { background: transparent; box-shadow: inset 0 0 0 1.5px var(--tc); }
.tpl.mk-t.plain .cv { display: none; }
.tpl.mk-t.plain .av { margin-top: 18px; }
.tpl.mk-t.square .av { border-radius: 12px; }
.tpl.mk-t .gr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; width: 80%; margin-bottom: 6px; }
.tpl.mk-t .gr span { aspect-ratio: 1; border-radius: 7px; background: var(--tc); }
.tpl.mk-t .meta { flex-direction: column; align-items: stretch; gap: 6px; }
.tpl.mk-t .meta .nmx { font-size: 15px; line-height: 1.3; }
.tpl.mk-t .mk-cat { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
html[lang="hi"] .tpl.mk-t .mk-cat { letter-spacing: 0; text-transform: none; font-size: 12px; }
.tpl.mk-t .use { margin-top: 4px; }
.tpl.mk-t:hover .use { background: var(--accent-hover); }

/* ---------- NFC shop visuals ---------- */
.mk-prod-vis { height: 190px; border-radius: var(--r-md); background: var(--soft); display: grid; place-items: center; position: relative; overflow: hidden; }
.mk-nfc { width: 200px; aspect-ratio: 1.586; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: linear-gradient(135deg, #3730C9, #B0479B); box-shadow: 0 14px 30px rgba(16, 19, 38, .25); transform: rotate(-6deg); position: relative; }
.mk-nfc.metal { background: linear-gradient(135deg, #2B3045 0%, #5B6178 45%, #2B3045 100%); }
.mk-nfc.white { background: linear-gradient(135deg, #FFFFFF, #EEEDFC); color: #101326; }
.mk-nfc .n { font-weight: 800; font-size: 15px; line-height: 1.2; }
.mk-nfc .r { font-size: 10px; opacity: .8; }
.mk-nfc svg { width: 22px; height: 22px; opacity: .9; }
.mk-nfc .row { display: flex; justify-content: space-between; align-items: flex-end; }
.mk-standee { width: 120px; height: 160px; border-radius: 14px 14px 6px 6px; background: #FFFFFF; color: #101326; box-shadow: 0 14px 30px rgba(16, 19, 38, .22); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; text-align: center; font-size: 11px; font-weight: 800; line-height: 1.25; position: relative; }
.mk-standee::after { content: ""; position: absolute; bottom: -10px; left: 10px; right: 10px; height: 10px; border-radius: 0 0 8px 8px; background: #2B3045; }
.mk-standee .q { width: 64px; height: 64px; border-radius: 6px; background:
  linear-gradient(90deg, #101326 50%, transparent 0) 0 0 / 16px 16px,
  linear-gradient(#101326 50%, transparent 0) 0 0 / 16px 16px; opacity: .85; }
.mk-standee .stars { color: #E8A84A; letter-spacing: 2px; font-size: 13px; }
.mk-key { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, #0B7A55, #3CC28F); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(16, 19, 38, .22); position: relative; }
.mk-key::before { content: ""; position: absolute; top: -26px; left: 50%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; border: 4px solid #8A8FA6; }
.mk-key svg { width: 36px; height: 36px; }
.mk-sticker { width: 74px; height: 74px; border-radius: 50%; background: #101326; color: #fff; display: grid; place-items: center; margin-left: 18px; box-shadow: 0 10px 22px rgba(16, 19, 38, .2); }
.mk-sticker svg { width: 28px; height: 28px; }
.mk-tap { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: tap; }
.mk-tap > div { position: relative; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.mk-tap > div svg { width: 30px; height: 30px; color: var(--accent); }

/* ---------- Code blocks (developers) ---------- */
.mk-code { background: var(--dark); color: #E6E8F2; border-radius: var(--r-md); padding: 16px 18px; font-family: var(--mono); font-size: 13px; line-height: 1.6; overflow-x: auto; margin: 0; white-space: pre; border: 1px solid var(--dark-line); }
.mk-code .c { color: #8A8FA6; }
.mk-code .s { color: #5AD3A3; }
.mk-code .k { color: #A9A4F5; }

/* ---------- Small helpers ---------- */
.mk-kicker { display: inline-flex; align-items: center; gap: 8px; }
.mk-note { font-size: 13px; color: var(--muted-2); }
.mk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-chips a.chip { text-decoration: none; color: var(--ink-2); }
.mk-chips a.chip:hover { background: var(--accent-soft); color: var(--accent); }
.mk-problem { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.mk-problem li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.mk-problem li svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--orange); margin-top: 2px; }
.mk-seg-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.mk-seg-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.mk-seg-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.mk-seg-card .t { font-weight: 800; font-size: 18px; display: block; }
.mk-seg-card .d { font-size: 14px; color: var(--muted); display: block; margin-top: 4px; line-height: 1.5; }
.mk-seg-card .link-arrow { font-size: 14px; margin-top: 10px; }
.mk-steps .step { display: flex; flex-direction: column; gap: 8px; }
.mk-steps .step::before { margin-bottom: 6px; }
.mk-steps .step .mk-chips { margin-top: auto; padding-top: 6px; }
@media (max-width: 640px) { .mk-hide-sm { display: none !important; } }
.mk-plan-table { min-width: 600px; }
.mk-plan-table thead th { vertical-align: bottom; }
.mk-pp { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.mk-yes svg, .mk-x svg { width: 18px; height: 18px; }
.mk-sample .bio-actions a, .mk-sample .bio-link, .mk-sample .bio-badge a { cursor: default; }
.mk-mock-bar .mk-linkpill { white-space: nowrap; }
@media (max-width: 480px) { .mk-mock-bar { padding: 10px 12px; } .mk-mock-bar .mk-linkpill { font-size: 12.5px; padding: 6px 10px; } .mk-mock-body { padding: 14px; } }
.mk-plan-table th[scope="row"] .badge { margin-left: 4px; vertical-align: 1px; }
.mk-qrcard { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; border-radius: 14px; background: #FFFFFF; color: #101326; border: 1px solid var(--line); box-shadow: var(--shadow-sm); width: 172px; flex: 0 0 auto; text-align: center; }
.mk-qrcard canvas { width: 140px; height: 140px; image-rendering: pixelated; background: #F5F6FA; border-radius: 6px; }
.mk-standee canvas { width: 64px; height: 64px; image-rendering: pixelated; }

/* ---------- Compare pages ---------- */
.cmp-glance { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.cmp-glance > div { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.cmp-glance .k { font-size: 14px; font-weight: 700; color: var(--muted); }
.cmp-glance .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.cmp-glance .row > span { flex: 0 0 auto; font-size: 14px; font-weight: 600; color: var(--muted); }
.cmp-glance .row b { font-size: 17px; font-weight: 800; text-align: right; color: var(--ink-2); }
.cmp-glance .row.us b { font-size: 21px; color: var(--accent); }
.cmp-ladder th[scope="row"] { width: 30%; }
.cmp-ladder td small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--muted-2); }
.cmp-one .cmp-min { min-width: 0; }
@media (max-width: 640px) { .cmp-one .table th, .cmp-one .table td, .cmp-ladder th, .cmp-ladder td { padding: 10px 12px; font-size: 14px; } }
.cmp-side .check-list .badge { margin-left: 4px; vertical-align: 1px; }
.cmp-soon { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.cmp-soon > .stack { flex: 1 1 260px; }
.cmp-soon-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; flex: 2 1 380px; }
.cmp-soon-list li { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r); background: var(--soft); font-size: 14px; color: var(--ink-2); }
.cmp-cta-gap { height: 56px; }
@media (min-width: 900px) { .cmp-cta-gap { height: 88px; } }
@media (max-width: 640px) {
  .cmp-ladder th[scope="row"] { width: 24%; font-size: 13px; }
  .cmp-soon-list { flex-direction: column; }
  .cmp-soon-list li { flex-wrap: nowrap; justify-content: space-between; }
  .cmp-tools .tool-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: start; padding: 16px; }
  .cmp-tools .tool-card .icon-tile { grid-column: 1; grid-row: 1 / span 2; }
  .cmp-tools .tool-card .t, .cmp-tools .tool-card .d { grid-column: 2; }
  .cmp-tools .tool-card .badge { top: 12px; right: 12px; }
  .cmp-tools .tool-card:has(.badge) .t { padding-right: 84px; }
}
.label .opt { border: 0; padding: 0; background: none; display: inline; font-size: inherit; font-weight: 500; color: var(--muted-2); cursor: auto; } /* .opt in hi4.css (tool option tile) collides with the lead-form "optional" label */

/* ---------- Developers / roadmap / directory / partners ---------- */
/* Developers: facts, endpoint list, method tags, code pairs, responsive tables */
.mk-facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.mk-fact { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); min-width: 0; }
.mk-fact .k { font-size: 13px; font-weight: 700; color: var(--muted); }
.mk-fact .v { font-weight: 800; color: var(--ink); overflow-wrap: anywhere; }
.mk-fact .v.mono { font-family: var(--mono); font-size: 15px; }
@media (max-width: 640px) { .mk-facts { gap: 8px; } .mk-fact { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 12px 14px; } }
.mk-meth { display: inline-block; min-width: 58px; text-align: center; padding: 3px 8px; border-radius: 6px; font-family: var(--mono); font-size: 12px; font-weight: 800; background: var(--soft); color: var(--ink-2); }
.mk-meth.get { background: var(--green-soft); color: var(--green-ink); }
.mk-meth.post { background: var(--accent-soft); color: var(--accent); }
.mk-meth.put { background: var(--amber-soft); color: var(--amber); }
.mk-meth.del { background: var(--red-soft); color: var(--red); }
.mk-eps { list-style: none; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.mk-eps li { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mk-eps li:last-child { border-bottom: 0; }
.mk-eps .p { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.mk-eps .d { grid-column: 2; font-size: 14px; color: var(--muted); }
.mk-eps .a { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 900px) {
  .mk-eps li { grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.5fr) 190px; }
  .mk-eps .d, .mk-eps .a { grid-column: auto; }
  .mk-eps .a { justify-content: flex-end; }
}
.mk-code-pair { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.mk-code-pair > * { min-width: 0; }
.mk-code-label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
@media (max-width: 480px) { .mk-code-dev { font-size: 12px; padding: 14px; } }
#endpoints .tab .badge { padding: 1px 7px; font-size: 11px; }
.mk-rt code { font-size: 13px; overflow-wrap: anywhere; }
.mk-rt tbody th { white-space: nowrap; }
@media (max-width: 640px) {
  .mk-rt thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mk-rt, .mk-rt tbody, .mk-rt tr, .mk-rt th, .mk-rt td { display: block; width: 100%; }
  .mk-rt tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .mk-rt tr:last-child { border-bottom: 0; }
  .table.mk-rt tbody th, .table.mk-rt td { padding: 3px 0; border: 0; }
  .mk-rt td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--muted-2); }
  .mk-rt tbody th, .mk-rt td.in { display: inline-block; width: auto; margin-right: 10px; vertical-align: middle; }
  .mk-rt td.in { font-size: 13px; color: var(--muted-2); }
  .mk-rt td:not(.in) { color: var(--muted); }
  .table.mk-rt tbody tr:hover > * { background: none; }
}

/* Roadmap: counts, three-column board, vote buttons */
.mk-tally { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mk-tally-i { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink); text-decoration: none; }
.mk-tally-i:hover { border-color: var(--accent-line); color: var(--ink); }
.mk-tally-i .v { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.mk-tally-i .k { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); }
.mk-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--faint); flex: 0 0 auto; }
.mk-dot.live { background: var(--green); }
.mk-dot.beta { background: var(--amber); }
.mk-board { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .mk-board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mk-col { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--soft); scroll-margin-top: calc(var(--header-h) + 64px); }
.mk-col-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 4px 4px 6px; }
.mk-col-head .badge { font-size: 13px; padding: 4px 11px; }
.mk-col.is-soon .mk-col-head .badge { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.mk-col-head .n { font-size: 13px; font-weight: 700; color: var(--muted); }
.mk-item { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.mk-col.is-soon .mk-item { border-style: dashed; }
.mk-item .t { font-size: 16px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.mk-item .d { font-size: 14px; line-height: 1.5; color: var(--muted); }
.mk-item .f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.mk-item .f .link-arrow { font-size: 14px; }
[data-vote] .ic-on, [data-vote][aria-pressed="true"] .ic-off { display: none; }
[data-vote][aria-pressed="true"] .ic-on { display: inline-block; }
.btn[data-vote][aria-pressed="true"]:disabled { opacity: 1; background: var(--green-soft); border-color: transparent; color: var(--green-ink); }

/* Directory: listing preview */
.mk-search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r); background: var(--surface); color: var(--ink-2); font-weight: 600; }
.mk-search svg { width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto; }
.mk-listing { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r); background: var(--soft); }
.mk-listing .av { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: 0 0 auto; }
.mk-listing .badge svg { width: 13px; height: 13px; }
.mk-listing.is-ghost { background: transparent; border: 1.5px dashed var(--line-2); }
.mk-listing.is-ghost .av { background: var(--soft); color: var(--muted); }
.mk-listing-acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mk-listing-acts span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: var(--r); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.mk-listing-acts svg { width: 18px; height: 18px; color: var(--accent); }
.mk-city-chips .chip { font-size: 14px; padding: 8px 12px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); }
.mk-city-chips .chip svg { color: var(--accent); }

/* Partners: programme cards */
.mk-prog-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.mk-prog { display: flex; flex-direction: column; gap: 16px; }
.mk-prog-head { display: flex; gap: 14px; align-items: flex-start; }
.mk-prog-foot { margin-top: auto; padding-top: 6px; }
.mk-for { color: var(--ink-2); }
.mk-sub { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.mk-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 14px; border-radius: var(--r); background: var(--soft); }
.mk-price-row .bold { font-size: 18px; color: var(--ink); }
.mk-counts { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .mk-counts { gap: 8px; } .mk-counts .stat { padding: 12px; } .mk-counts .stat .v { font-size: 24px; } .mk-counts .stat .d { font-size: 12px; } .mk-counts .badge { font-size: 11px; padding: 2px 7px; } }
.mk-inline-ico { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; color: var(--accent); }
