/* 2Bweb illustrative interfaces (website, dashboard, map, management software, mobile + AI).
   Pure HTML/CSS/SVG, shared by the /2bweb/ page and the explainer video. All data shown is fictitious. */
.mk { --mk-ink: #0f172a; --mk-ink2: #64748b; --mk-line: rgba(15, 23, 42, 0.08); --mk-blue: #2f5bff; --mk-violet: #7c4dff; --mk-pink: #ff5c8a; --mk-green: #10b981; --mk-amber: #f59e0b;
  font-family: "Manrope", system-ui, sans-serif; color: var(--mk-ink); letter-spacing: -0.01em; line-height: 1.3; text-align: left; }
.mk *, .mk *::before, .mk *::after { box-sizing: border-box; }
.mk svg { display: block; }

/* Window chrome */
.mk-win { position: relative; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 40px 80px -36px rgba(15, 23, 42, 0.45), 0 12px 24px -16px rgba(15, 23, 42, 0.18); }
.mk-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; background: #f6f7fb; border-bottom: 1px solid var(--mk-line); }
.mk-dots { display: flex; gap: 6px; }
.mk-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mk-dots i:nth-child(2) { background: #febc2e; } .mk-dots i:nth-child(3) { background: #28c840; }
.mk-url { flex: 1; max-width: 340px; margin-inline: auto; height: 22px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px var(--mk-line); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--mk-ink2); }
.mk-url::before { content: ""; width: 8px; height: 9px; border-radius: 2px; border: 1.5px solid #94a3b8; border-top-width: 3px; }

/* App shell: sidebar + main */
.mk-app { display: grid; grid-template-columns: 54px 1fr; min-height: 100%; }
.mk-side { background: #0f172a; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; }
.mk-side b { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, #2f5bff, #7c4dff); margin-bottom: 8px; }
.mk-side i { width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, 0.07); display: grid; place-items: center; }
.mk-side i.on { background: rgba(91, 140, 255, 0.28); box-shadow: inset 0 0 0 1px rgba(143, 176, 255, 0.5); }
.mk-side i::after { content: ""; width: 12px; height: 12px; border-radius: 3px; border: 2px solid rgba(255, 255, 255, 0.55); }
.mk-main { padding: 16px 18px; background: #f7f8fc; min-width: 0; }
.mk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.mk-head h4 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -0.03em; }
.mk-head small { display: block; font-size: 10.5px; color: var(--mk-ink2); font-weight: 600; margin-top: 1px; }
.mk-pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; background: #fff; box-shadow: 0 0 0 1px var(--mk-line); color: var(--mk-ink2); white-space: nowrap; }
.mk-pill--blue { background: linear-gradient(100deg, #2f5bff, #7c4dff); color: #fff; box-shadow: none; }
.mk-card { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--mk-line); padding: 12px; min-width: 0; }
.mk-card h5 { margin: 0 0 8px; font-size: 11px; font-weight: 800; color: var(--mk-ink2); text-transform: uppercase; letter-spacing: 0.08em; }

/* KPI */
.mk-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.mk-kpi { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--mk-line); padding: 10px 12px; min-width: 0; }
.mk-kpi span { display: block; font-size: 10px; font-weight: 700; color: var(--mk-ink2); }
.mk-kpi b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -0.04em; margin-top: 2px; }
.mk-kpi em { font-style: normal; font-size: 10px; font-weight: 800; color: var(--mk-green); }
.mk-kpi em.dn { color: #e11d48; }
.mk-grid2 { display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px; }
.mk-legend { display: flex; gap: 10px; font-size: 10px; font-weight: 700; color: var(--mk-ink2); }
.mk-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.mk-bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; padding-top: 6px; }
.mk-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #7c4dff, #2f5bff); height: calc(var(--h) * 1%); transform-origin: bottom; }
.mk-bars i:nth-child(odd) { background: linear-gradient(180deg, #a5b8ff, #5b8cff); }
.mk-donut { display: flex; align-items: center; gap: 12px; }
.mk-donut ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 10.5px; font-weight: 700; }
.mk-donut li i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.mk-table { width: 100%; border-collapse: collapse; font-size: 10.5px; }
.mk-table th { text-align: left; font-weight: 800; color: var(--mk-ink2); padding: 0 6px 6px; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.mk-table td { padding: 7px 6px; border-top: 1px solid var(--mk-line); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.mk-st { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 999px; font-size: 9.5px; font-weight: 800; background: rgba(16, 185, 129, 0.12); color: #047857; }
.mk-st--w { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.mk-st--b { background: rgba(47, 91, 255, 0.1); color: #1d4ed8; }
.mk-st--r { background: rgba(225, 29, 72, 0.1); color: #be123c; }

/* Website mockup */
.mk-site { background: #fffaf3; }
.mk-site__nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; font-size: 11px; font-weight: 700; color: #5b4636; }
.mk-site__nav b { font-size: 14px; font-weight: 800; color: #2b1d12; letter-spacing: -0.03em; }
.mk-site__nav span { display: flex; gap: 14px; }
.mk-site__nav u { text-decoration: none; padding: 5px 11px; border-radius: 999px; background: #2b1d12; color: #fff; }
.mk-site__hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 16px; align-items: center; padding: 8px 20px 18px; }
.mk-site__hero h6 { margin: 0; font-size: 26px; line-height: 1.02; font-weight: 800; letter-spacing: -0.05em; color: #2b1d12; }
.mk-site__hero p { margin: 8px 0 12px; font-size: 11px; color: #7a6656; font-weight: 600; }
.mk-site__cta { display: inline-flex; gap: 6px; }
.mk-site__cta i { font-style: normal; padding: 7px 12px; border-radius: 999px; font-size: 10.5px; font-weight: 800; background: #e8743b; color: #fff; }
.mk-site__cta i + i { background: #fff; color: #2b1d12; box-shadow: 0 0 0 1px rgba(43, 29, 18, 0.15); }
.mk-site__img { aspect-ratio: 1.25; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #fde9d3, #f6c79b); }
.mk-site__img svg { width: 100%; height: 100%; }
.mk-site__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 20px 18px; }
.mk-site__grid div { border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(43, 29, 18, 0.08); padding: 8px; font-size: 10.5px; font-weight: 800; color: #2b1d12; }
.mk-site__grid div > svg { width: 100%; aspect-ratio: 1.4; border-radius: 8px; margin-bottom: 6px; background: var(--p, linear-gradient(135deg, #fdeedd, #f7d3a8)); }
.mk-site__grid small { display: block; color: #e8743b; font-weight: 800; }
.mk-float { position: absolute; z-index: 2; border-radius: 14px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 24px 48px -20px rgba(15, 23, 42, 0.45); padding: 12px; font-size: 11px; font-weight: 700; }
.mk-blocks { display: grid; gap: 6px; width: 170px; }
.mk-blocks h5 { margin: 0 0 2px; font-size: 10px; font-weight: 800; color: var(--mk-ink2); text-transform: uppercase; letter-spacing: 0.08em; }
.mk-blocks div { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; border-radius: 8px; background: #f4f6fb; }
.mk-tog { width: 24px; height: 14px; border-radius: 999px; background: linear-gradient(100deg, #2f5bff, #7c4dff); position: relative; }
.mk-tog::after { content: ""; position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.mk-tog.off { background: #cbd5e1; } .mk-tog.off::after { right: auto; left: 2px; }

/* Phone */
.mk-phone { position: relative; width: 210px; aspect-ratio: 9 / 19; border-radius: 34px; background: #0b0f1c; padding: 8px; box-shadow: 0 40px 80px -30px rgba(15, 23, 42, 0.6), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12); }
.mk-phone__scr { position: relative; height: 100%; border-radius: 27px; overflow: hidden; background: #f7f8fc; display: flex; flex-direction: column; }
.mk-phone__scr::before { content: ""; position: absolute; top: 7px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 999px; background: #0b0f1c; z-index: 3; }
.mk-chat__top { padding: 34px 14px 10px; display: flex; align-items: center; gap: 8px; background: #fff; border-bottom: 1px solid var(--mk-line); }
.mk-chat__top b { width: 26px; height: 26px; border-radius: 9px; background: linear-gradient(135deg, #2f5bff, #7c4dff, #ff5c8a); }
.mk-chat__top span { font-size: 12px; font-weight: 800; } .mk-chat__top small { display: block; font-size: 9.5px; color: var(--mk-green); font-weight: 700; }
.mk-chat { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; font-size: 11px; font-weight: 600; line-height: 1.35; }
.mk-msg { max-width: 86%; padding: 8px 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--mk-line); }
.mk-msg--me { align-self: flex-end; background: linear-gradient(120deg, #2f5bff, #7c4dff); color: #fff; box-shadow: none; border-bottom-right-radius: 4px; }
.mk-msg--ai { border-bottom-left-radius: 4px; }
.mk-msg--ai b { color: var(--mk-blue); }
.mk-mini { display: flex; align-items: flex-end; gap: 3px; height: 34px; margin-top: 6px; }
.mk-mini i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, #8fb0ff, #2f5bff); height: calc(var(--h) * 1%); }
.mk-acts { display: flex; gap: 5px; flex-wrap: wrap; }
.mk-acts i { font-style: normal; padding: 5px 9px; border-radius: 999px; background: rgba(47, 91, 255, 0.1); color: var(--mk-blue); font-size: 10px; font-weight: 800; }
.mk-input { margin: 0 10px 14px; height: 32px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--mk-line); display: flex; align-items: center; justify-content: space-between; padding: 0 4px 0 12px; font-size: 10.5px; color: #94a3b8; font-weight: 600; }
.mk-input i { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #2f5bff, #7c4dff); }

/* Map */
.mk-map { position: relative; overflow: hidden; background: #eef2f8; }
.mk-map > svg { width: 100%; height: 100%; }
.mk-pin { position: absolute; transform: translate(-50%, -100%); display: grid; justify-items: center; }
.mk-pin b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--c, #2f5bff); box-shadow: 0 8px 16px -6px rgba(15, 23, 42, 0.5); }
.mk-pin b::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.mk-pin::after { content: ""; position: absolute; bottom: -6px; left: 50%; width: 18px; height: 6px; margin-left: -9px; border-radius: 50%; background: rgba(15, 23, 42, 0.18); }
.mk-pulse { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #2f5bff; box-shadow: 0 0 0 4px rgba(47, 91, 255, 0.25), 0 0 0 10px rgba(47, 91, 255, 0.12); border: 2.5px solid #fff; }
.mk-fleet { width: 210px; display: grid; gap: 7px; }
.mk-fleet h5 { margin: 0; font-size: 10px; font-weight: 800; color: var(--mk-ink2); text-transform: uppercase; letter-spacing: 0.08em; display: flex; justify-content: space-between; }
.mk-fleet h5 em { font-style: normal; color: var(--mk-green); }
.mk-veh { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; padding: 6px; border-radius: 9px; background: #f4f6fb; }
.mk-veh i { width: 26px; height: 26px; border-radius: 8px; background: var(--c, #2f5bff); opacity: 0.9; }
.mk-veh span { font-size: 10.5px; font-weight: 800; } .mk-veh small { display: block; font-size: 9.5px; font-weight: 600; color: var(--mk-ink2); }
.mk-eta { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.mk-eta b { font-size: 20px; font-weight: 800; letter-spacing: -0.04em; }

/* Management software (industry aware) */
.mk-erp .mk-main { padding: 14px 16px; }
.mk-tabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.mk-tabs i { font-style: normal; padding: 5px 10px; border-radius: 8px; font-size: 10.5px; font-weight: 800; color: var(--mk-ink2); background: #fff; box-shadow: 0 0 0 1px var(--mk-line); }
.mk-tabs i.on { color: #fff; background: #0f172a; box-shadow: none; }
.mk-gantt { display: grid; gap: 6px; }
.mk-gantt__days { display: grid; grid-template-columns: 92px repeat(5, 1fr); font-size: 9.5px; font-weight: 800; color: var(--mk-ink2); text-transform: uppercase; letter-spacing: 0.06em; }
.mk-gantt__row { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 0; font-size: 10.5px; font-weight: 700; }
.mk-gantt__row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 6px; }
.mk-gantt__track { position: relative; height: 22px; border-radius: 6px; background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), var(--mk-line) calc(20% - 1px) 20%); }
.mk-gantt__track i { position: absolute; top: 3px; bottom: 3px; left: calc(var(--s) * 20%); width: calc(var(--w) * 20% - 4px); border-radius: 5px; background: var(--c, linear-gradient(100deg, #2f5bff, #7c4dff)); color: #fff; font-style: normal; font-size: 9.5px; font-weight: 800; padding: 0 6px; display: flex; align-items: center; white-space: nowrap; overflow: hidden; }
.mk-erp__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; margin-top: 10px; }
.mk-alert { display: grid; gap: 8px; }
.mk-alert div { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; font-weight: 700; }
.mk-meter { height: 6px; border-radius: 999px; background: #eef1f7; overflow: hidden; }
.mk-meter i { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: inherit; background: var(--c, linear-gradient(90deg, #2f5bff, #7c4dff)); }

/* Job board (kanban) */
.mk-kan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mk-col { background: #eef1f7; border-radius: 12px; padding: 8px; display: grid; gap: 7px; align-content: start; }
.mk-col h5 { margin: 2px 2px 2px; display: flex; justify-content: space-between; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--mk-ink2); }
.mk-col h5 em { font-style: normal; color: var(--mk-ink); }
.mk-job { background: #fff; border-radius: 10px; padding: 9px; box-shadow: 0 0 0 1px var(--mk-line), 0 4px 10px -8px rgba(15, 23, 42, 0.4); display: grid; gap: 5px; font-size: 10.5px; font-weight: 700; }
.mk-job small { font-size: 9.5px; font-weight: 600; color: var(--mk-ink2); }
.mk-job__f { display: flex; justify-content: space-between; align-items: center; }
.mk-job__f b { font-size: 11px; font-weight: 800; }
.mk-av { display: flex; } .mk-av i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; margin-left: -5px; background: var(--c, #5b8cff); } .mk-av i:first-child { margin-left: 0; }
.mk-tag { justify-self: start; padding: 2px 7px; border-radius: 6px; font-size: 9px; font-weight: 800; background: var(--tb, rgba(47, 91, 255, 0.1)); color: var(--tc, #1d4ed8); }
.mk-job.is-hot { box-shadow: 0 0 0 2px #7c4dff, 0 10px 20px -10px rgba(124, 77, 255, 0.6); }
.mk-flow { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--mk-line); font-size: 10.5px; font-weight: 700; flex-wrap: wrap; }
.mk-flow > b { padding: 3px 8px; border-radius: 6px; background: linear-gradient(100deg, #2f5bff, #7c4dff); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.mk-flow i { font-style: normal; color: #94a3b8; }
.mk-flow span { padding: 3px 8px; border-radius: 6px; background: #f4f6fb; }
