/* Solutions pages (/solutions and /solutions/<x>): action cards with connector tiles and mocks.
   Builds on the "Action cards (solutions) + mock panels" block of site.css; only additions here. */

/* Hero */
.sol-hero .chip { margin-top: 18px; }
.sol-hero .chip .tico { width: 22px; height: 22px; border-radius: 7px; background: none; }
.sol-hero .chip .tico svg { width: 15px; height: 15px; }

/* Connector logo tiles */
.ltiles { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lt { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 2px 8px rgba(15, 23, 42, .05); overflow: hidden; }
.lt img { width: 22px; height: 22px; object-fit: contain; }
.lt.pic img { width: 100%; height: 100%; object-fit: cover; }
.lt.gen { background: var(--panel); }
.lt.gen svg { width: 20px; height: 20px; stroke: var(--text-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ltiles.sm .lt { width: 32px; height: 32px; border-radius: 10px; }
.ltiles.sm .lt img { width: 18px; height: 18px; }
.ltiles.sm .lt.gen svg { width: 17px; height: 17px; }
html[data-theme="dark"] .lt { border-color: rgba(255, 255, 255, .16); box-shadow: none; }

/* Action cards: tag chip, "done by" line, credits chip */
.acards { align-items: stretch; }
.acard-top .chip { white-space: nowrap; }
.acard .by { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.acard .by img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.acard .by .sc { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--text-2); background: var(--panel-2); border: 1px solid var(--line); border-radius: 99px; padding: 2px 8px; white-space: nowrap; }
.acard .by .sc img { width: 13px; height: 13px; border-radius: 0; }
.acard .mockwrap { min-height: 190px; }
.acard .mock { min-height: 172px; }
.acard.syz { border-color: color-mix(in srgb, var(--acc) 35%, var(--line)); }

/* Mock: header sub-label, file rows, sheet, KPIs, WhatsApp, post, shipment, bars */
.mock-hd small { font-weight: 500; color: var(--text-3); font-size: 11.5px; }
.mock-hd .chip.ok, .mock-hd .chip.warn, .mock-hd .chip.acc, .mock-hd .chip.line { margin-left: auto; }
.mk-row .sub { display: block; font-size: 11px; color: var(--text-3); font-weight: 500; }
.mk-row .nm .sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-row .v.bad { color: var(--bad); }
.mk-tot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mk-tot b { font-size: 18px; color: var(--text); font-weight: 780; letter-spacing: -.02em; }
.mk-tot span { font-size: 11.5px; color: var(--text-3); }
.ft { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font: 800 9px/1 var(--mono); color: #fff; flex: none; letter-spacing: .02em; }
.ft.pdf { background: #dc2626; } .ft.xls { background: #16a34a; } .ft.doc { background: #2563eb; } .ft.csv { background: #0d9488; } .ft.img { background: #9333ea; }
.mk-sheet { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.mk-sheet th, .mk-sheet td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 6px 8px; text-align: left; white-space: nowrap; }
.mk-sheet th:last-child, .mk-sheet td:last-child { border-right: 0; }
.mk-sheet thead th { background: var(--panel-2); color: var(--text-3); font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; }
.mk-sheet td.n { text-align: right; font-family: var(--mono); color: var(--text); }
.mk-sheet td.ok { color: var(--ok); font-weight: 700; } .mk-sheet td.wr { color: var(--warn); font-weight: 700; } .mk-sheet td.bd { color: var(--bad); font-weight: 700; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); }
.mk-kpis > div { padding: 12px; border-right: 1px solid var(--line); min-width: 0; }
.mk-kpis > div:last-child { border-right: 0; }
.mk-kpis span { display: block; font-size: 10.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-kpis b { display: block; font-size: 17px; color: var(--text); font-weight: 780; letter-spacing: -.02em; margin-top: 4px; white-space: nowrap; }
.mk-kpis i { font-style: normal; font-size: 11px; font-weight: 700; }
.mk-kpis i.up { color: var(--ok); } .mk-kpis i.dn { color: var(--bad); }
.mk-bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; padding: 0 12px 12px; }
.mk-bars span { flex: 1; background: var(--acc-bg); border-radius: 4px 4px 0 0; border-top: 2px solid var(--acc); }
.mk-wa { background: #efeae2; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 130px; }
html[data-theme="dark"] .mk-wa { background: #0b141a; }
.mk-wa .wa-msg { max-width: 92%; font-size: 12.5px; animation: none; color: #111b21; }
html[data-theme="dark"] .mk-wa .wa-msg { color: #e9edef; }
.mk-post { padding: 12px; }
.mk-post .who { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; }
.mk-post .who .av { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); flex: none; }
.mk-post .who small { display: block; font-weight: 500; color: var(--text-3); font-size: 11px; }
.mk-post p { margin: 8px 0; color: var(--text-2); line-height: 1.5; }
.mk-post .img { height: 64px; border-radius: 10px; background: linear-gradient(135deg, #fbcfe8, #c7d2fe 55%, #bae6fd); }
html[data-theme="dark"] .mk-post .img { background: linear-gradient(135deg, #831843, #312e81 55%, #0c4a6e); }
.mk-ship { padding: 14px 12px; }
.mk-ship .rt { display: flex; justify-content: space-between; font-weight: 700; color: var(--text); font-size: 12px; }
.mk-ship .rt small { display: block; font-weight: 500; color: var(--text-3); font-size: 11px; }
.mk-ship .rt > div:last-child { text-align: right; }
.mk-ship .line { position: relative; height: 4px; border-radius: 4px; background: var(--line-2); margin: 12px 0; }
.mk-ship .line i { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; border-radius: 4px; background: var(--grad); }
.mk-ship .line b { position: absolute; left: 62%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--panel); border: 3px solid var(--acc); }
.mk-ship .meta { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--text-3); }
.mk-chat .a b, .mk-chat .q b { color: var(--text); }
.mk-chat .a small { display: block; color: var(--text-3); font-size: 11px; margin-top: 3px; }

/* Shared "how it works" strip */
.sol-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.sol-how .card { position: relative; }
.sol-how .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: var(--panel); font: 800 12px/1 var(--mono); }
.sol-how .card h3 { margin-top: 14px; }
.sol-how .ltiles { margin-top: 14px; }

/* /solutions index */
.sol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sol-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 24px; transition: border-color .15s, transform .15s; }
.sol-card:hover { border-color: var(--border-hover, var(--acc)); transform: translateY(-2px); }
.sol-card .hd { display: flex; align-items: center; gap: 12px; }
.sol-card h3 { font-size: 19px; font-weight: 740; }
.sol-card p { font-size: 14.5px; color: var(--text-3); margin-top: 10px; line-height: 1.6; flex: 1; }
.sol-card .ft-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.sol-card .more { font-size: 13.5px; font-weight: 650; color: var(--acc-ink); white-space: nowrap; }

@media (max-width: 900px) {
    .sol-how, .sol-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .acard { padding: 18px 18px 0; }
    .acard .mockwrap { margin: 16px -18px 0; padding: 14px 14px 0; }
    .lt { width: 36px; height: 36px; border-radius: 11px; }
    .lt img { width: 20px; height: 20px; }
    .mk-kpis b { font-size: 15px; }
    .sol-card { padding: 20px; }
}
.mock-hd .chip { white-space: nowrap; }
.mk-row .v .chip, .mk-row .v .chk { font-family: var(--sans); }
.mk-cal .slot small { white-space: nowrap; }
.acard .mockwrap { display: flex; flex-direction: column; }
.acard .mockwrap > .mock { flex: 1; }
