/* Makiety przykładowych projektów — wymiary stałe, skalowane z zewnątrz (transform / zoom kamery).
   Wymagane fonty: DM Serif Display, Inter, Syne. */

.mk { position: relative; overflow: hidden; font-family: "Inter", system-ui, sans-serif; line-height: 1.4; text-align: left; -webkit-font-smoothing: antialiased; letter-spacing: normal; }
.mk *, .mk *::before, .mk *::after { box-sizing: border-box; }
.mk-site, .mk-app, .mk-brand { width: 1280px; height: 800px; }
.mk-sitem { width: 390px; height: 800px; }
.mk .bp-l, .mk .bp-only { display: none; }

/* ================= Ziarno — strona palarni ================= */
.mk-site, .mk-sitem { background: #f5efe6; color: #2b1d14; }
.zs-nav { position: relative; display: flex; align-items: center; height: 88px; padding: 0 64px; }
.zs-logo { display: inline-flex; align-items: center; gap: 10px; font: 400 30px/1 "DM Serif Display", Georgia, serif; letter-spacing: -0.01em; }
.zs-mark { width: 30px; height: 30px; fill: #c8553d; stroke: #f5efe6; stroke-width: 1.6; stroke-linecap: round; }
.zs-mark path { fill: none; }
.zs-links { display: flex; gap: 34px; margin-left: 64px; font-size: 16px; font-weight: 500; color: #5b4a3d; }
.zs-cart { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 20px; border-radius: 23px; border: 1.5px solid #2b1d14; font-weight: 600; font-size: 15px; }
.zs-cart i { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #c8553d; color: #fff; font-size: 12px; }

.zs-hero { position: relative; display: grid; grid-template-columns: 560px 1fr; gap: 40px; padding: 34px 64px 0; height: 504px; }
.zs-copy { position: relative; padding-top: 30px; }
.zs-tag { display: inline-block; padding: 7px 14px; border-radius: 20px; background: #eadfce; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: #7a5a44; }
.zs-h { margin-top: 22px; font: 400 64px/1.03 "DM Serif Display", Georgia, serif; letter-spacing: -0.015em; }
.zs-p { margin-top: 20px; font-size: 19px; line-height: 1.58; color: #5b4a3d; max-width: 440px; }
.zs-btns { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.zs-b1 { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border-radius: 26px; background: #2b1d14; color: #f5efe6; font-weight: 600; font-size: 16px; transition: background-color 0.5s, padding 0.5s, transform 0.5s, box-shadow 0.5s; }
.zs-b1.hot { background: #c8553d; padding: 0 36px; transform: scale(1.06); box-shadow: 0 14px 26px -10px rgba(200, 85, 61, 0.7); }
.zs-b2 { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: 26px; border: 1.5px solid #cdbba6; font-weight: 600; font-size: 16px; }
.zs-proof { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14px; color: #7a6656; }
.zs-stars { color: #d9a066; letter-spacing: 2px; }

.zs-art { position: relative; }
.zs-sun { position: absolute; left: 70px; top: 14px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f0b58c, #e39368); }
.zs-bag { position: absolute; width: 220px; height: 300px; border-radius: 16px 16px 24px 24px; background: #2b1d14; box-shadow: 0 34px 50px -22px rgba(43, 29, 20, 0.6); }
.zs-bag1 { left: 214px; top: 76px; rotate: 6deg; }
.zs-bag2 { left: 96px; top: 112px; rotate: -10deg; background: #6f7d5c; }
.zs-bag-top { position: absolute; left: 0; right: 0; top: 0; height: 34px; border-radius: 16px 16px 0 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0 2px, transparent 2px 9px), rgba(0, 0, 0, 0.18); }
.zs-lbl { position: absolute; left: 22px; right: 22px; top: 86px; height: 150px; padding: 18px 16px; border-radius: 10px; background: #f5efe6; display: grid; align-content: start; gap: 6px; }
.zs-lbl-k { font: 400 16px/1 "DM Serif Display", Georgia, serif; color: #c8553d; }
.zs-lbl-o { font: 400 34px/1 "DM Serif Display", Georgia, serif; color: #2b1d14; }
.zs-lbl-r { font-size: 11.5px; color: #7a6656; }
.zs-valve { position: absolute; left: 50%; top: 50px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.25); }
.zs-bean { position: absolute; width: 24px; height: 34px; border-radius: 50%; background: #5a3a22; box-shadow: inset -4px -4px 0 rgba(0, 0, 0, 0.2); }
.zs-bean::after { content: ""; position: absolute; left: 50%; top: 5px; bottom: 5px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: #2b1d14; transform: rotate(8deg); }
.zs-badge { position: absolute; right: 26px; top: 318px; display: grid; gap: 2px; padding: 14px 18px; border-radius: 14px; background: #fff; box-shadow: 0 18px 30px -16px rgba(43, 29, 20, 0.4); font-size: 14px; font-weight: 500; color: #5b4a3d; rotate: -4deg; }
.zs-badge b { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #c8553d; }

.zs-cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 64px; }
.zs-card { position: relative; display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 18px; height: 132px; padding: 0 22px; border-radius: 20px; background: #fff; box-shadow: 0 1px 0 rgba(43, 29, 20, 0.06), 0 20px 40px -30px rgba(43, 29, 20, 0.45); }
.zs-mini { position: relative; width: 64px; height: 84px; border-radius: 8px; background: #2b1d14; }
.zs-mini::after { content: ""; position: absolute; left: 9px; right: 9px; top: 28px; height: 34px; border-radius: 4px; background: #f5efe6; }
.zs-mini.c2 { background: #6f7d5c; } .zs-mini.c3 { background: #c8553d; }
.zs-cn { font: 400 22px/1.1 "DM Serif Display", Georgia, serif; }
.zs-ct { margin-top: 6px; font-size: 13.5px; color: #8a7666; }
.zs-cp { font-weight: 700; font-size: 20px; text-align: right; }
.zs-cp small { display: block; font-weight: 500; font-size: 12px; color: #8a7666; }
.zs-add { position: absolute; right: 14px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: #f1e8db; display: grid; place-items: center; font-weight: 600; }

/* Ziarno — telefon */
.zm-nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 22px; }
.zm-nav .zs-logo { font-size: 24px; } .zm-nav .zs-mark { width: 24px; height: 24px; }
.zm-burger { display: grid; gap: 6px; } .zm-burger i { display: block; width: 22px; height: 2px; border-radius: 2px; background: #2b1d14; }
.zm-art { position: relative; height: 300px; margin: 0 18px; border-radius: 22px; background: #eadfce; overflow: hidden; }
.zm-art .zs-sun { left: 50%; top: 34px; width: 250px; height: 250px; margin-left: -125px; }
.zm-art .zs-bag1 { left: 50%; top: 38px; margin-left: -88px; width: 176px; height: 236px; rotate: 5deg; }
.zm-art .zs-lbl { top: 66px; height: 118px; left: 16px; right: 16px; padding: 14px 12px; }
.zm-art .zs-lbl-o { font-size: 28px; }
.zm-copy { position: relative; padding: 24px 22px 0; }
.zm-copy .zs-h { font-size: 40px; margin-top: 14px; }
.zm-copy .zs-p { font-size: 16px; margin-top: 12px; }
.zm-b { display: flex; width: 100%; margin-top: 22px; }
.zm-tabs { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 62px; border-radius: 20px; background: #2b1d14; display: flex; justify-content: space-around; align-items: center; color: #b9a690; font-size: 13px; font-weight: 600; }
.zm-tabs .on { color: #f5efe6; }

/* ================= Autopilot — panel aplikacji ================= */
.mk-app { background: #f5f6f8; color: #111827; display: grid; grid-template-columns: 232px 1fr; }
.mk-app svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ap-side { position: relative; background: #0f1222; color: #c9cde0; padding: 26px 18px; display: flex; flex-direction: column; gap: 28px; }
.ap-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: #fff; }
.ap-logo i { width: 32px; height: 32px; border-radius: 9px; background: #5b5bf6; display: grid; place-items: center; color: #fff; }
.ap-nav { display: grid; gap: 4px; }
.ap-nav span { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 10px; font-size: 14.5px; }
.ap-nav .on { background: rgba(255, 255, 255, 0.09); color: #fff; }
.ap-int { margin-top: auto; display: grid; gap: 9px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); font-size: 13px; }
.ap-int small { color: #7d83a3; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.ap-int span { display: flex; align-items: center; gap: 8px; }
.ap-int i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.ap-main { position: relative; padding: 26px 30px; display: grid; grid-template-rows: auto auto 1fr; gap: 20px; min-width: 0; }
.ap-top { display: flex; align-items: center; gap: 20px; }
.ap-h { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.ap-sub { margin-top: 3px; font-size: 13.5px; color: #6b7280; }
.ap-search { margin-left: auto; width: 300px; height: 42px; border-radius: 11px; background: #fff; border: 1px solid #e5e7eb; display: flex; align-items: center; padding: 0 14px; font-size: 13.5px; color: #9ca3af; }
.ap-av { width: 42px; height: 42px; border-radius: 50%; background: #f59e0b; color: #fff; display: grid; place-items: center; font-weight: 700; }
.ap-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ap-kpi { position: relative; display: grid; gap: 6px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid #eceef2; }
.ap-kpi small { font-size: 13px; color: #6b7280; }
.ap-kpi b { font-size: 34px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ap-kpi span { font-size: 12.5px; color: #6b7280; }
.ap-kpi .up { color: #16a34a; font-weight: 600; } .ap-kpi .warn { color: #d97706; font-weight: 600; }
.ap-kpi.hl { background: #5b5bf6; border-color: #5b5bf6; color: #fff; }
.ap-kpi.hl small, .ap-kpi.hl span { color: rgba(255, 255, 255, 0.82); }
.ap-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px; min-height: 0; }
.ap-card { position: relative; border-radius: 16px; background: #fff; border: 1px solid #eceef2; padding: 18px 20px; }
.ap-ct { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 700; font-size: 15.5px; }
.ap-ct span { font-weight: 600; font-size: 13px; color: #5b5bf6; }
.ap-tr { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr 1fr; align-items: center; height: 56px; border-top: 1px solid #f1f2f5; font-size: 14px; }
.ap-th { height: 34px; border-top: 0; font-size: 12px; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.06em; }
.ap-tr span:first-child { color: #6b7280; font-variant-numeric: tabular-nums; }
.ap-tr span:nth-child(3) { font-weight: 600; font-variant-numeric: tabular-nums; }
.ap-st { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; font-style: normal; font-size: 12.5px; font-weight: 600; transition: background-color 0.4s, color 0.4s; }
.ap-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ap-st.ok { background: #dcfce7; color: #15803d; } .ap-st.wait { background: #f3f4f6; color: #6b7280; }
.ap-flow { display: flex; flex-direction: column; }
.ap-steps { position: relative; display: grid; gap: 10px; }
.ap-steps::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: #eceef2; }
.ap-step { position: relative; display: flex; align-items: center; gap: 14px; height: 54px; }
.ap-step i { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #eef0ff; color: #5b5bf6; transition: background-color 0.4s, color 0.4s, transform 0.4s; }
.ap-step.done i { background: #16a34a; color: #fff; transform: scale(1.06); }
.ap-step b { display: block; font-size: 14.5px; } .ap-step small { font-size: 12.5px; color: #6b7280; }
.ap-run { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 12px; background: #111827; color: #fff; font-weight: 600; font-size: 14.5px; transition: transform 0.2s, background-color 0.3s; }
.ap-run.press { transform: scale(0.96); background: #5b5bf6; }

/* ================= Glina — identyfikacja ================= */
.mk-brand { --gl: #6b7048; background: #ece6dd; color: #1f1a17; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr 220px; gap: 16px; padding: 24px; }
.gl-t { position: relative; border-radius: 18px; overflow: hidden; background: #f6f1ea; }
.gl-logo { grid-column: 1 / 3; grid-row: 1 / 3; background: var(--gl); color: #f6f1ea; display: grid; place-content: center; justify-items: center; gap: 8px; transition: background-color 0.8s; }
.gl-markw { position: relative; width: 150px; height: 150px; }
.gl-mark { width: 150px; height: 150px; fill: #f6f1ea; overflow: visible; }
.gl-mark ellipse { fill: rgba(31, 26, 23, 0.28); }
.gl-cons { position: absolute; inset: 0; width: 150px; height: 150px; overflow: visible; }
.gl-word { margin-top: 6px; font: 800 92px/0.9 "Syne", sans-serif; letter-spacing: -0.04em; }
.gl-sub { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.82; }
.gl-pal { grid-column: 3; grid-row: 1; display: grid; grid-template-rows: repeat(4, 1fr); }
.gl-sw { background: var(--sw); display: flex; justify-content: space-between; align-items: flex-end; padding: 8px 14px; font-size: 13px; font-weight: 600; color: #fff; }
.gl-sw:nth-child(2) { color: #1f1a17; }
.gl-sw small { font: 500 11px ui-monospace, Menlo, monospace; opacity: 0.85; }
.gl-type { grid-column: 4; grid-row: 1; padding: 18px 20px; display: grid; align-content: space-between; }
.gl-aa { font: 800 110px/0.9 "Syne", sans-serif; letter-spacing: -0.04em; }
.gl-tn { display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid #e2d8ca; font-size: 13px; }
.gl-tn span { color: #8a7d70; }
.gl-cards { grid-column: 3; grid-row: 2; background: #d9cbb7; }
.gl-card { position: absolute; width: 196px; height: 124px; border-radius: 8px; box-shadow: 0 16px 30px -14px rgba(31, 26, 23, 0.5); }
.gl-card.back { left: 26px; top: 26px; rotate: -8deg; background: #f6f1ea; padding: 14px 16px; display: grid; align-content: start; gap: 1px; font-size: 12px; }
.gl-card.back b { font: 700 15px "Syne", sans-serif; } .gl-card.back span { color: #8a7d70; }
.gl-card.back small { margin-top: 12px; font-size: 10.5px; line-height: 1.5; }
.gl-card.front { right: 18px; bottom: 22px; rotate: 6deg; background: var(--gl); color: #f6f1ea; display: grid; place-content: center; justify-items: center; gap: 4px; transition: background-color 0.8s; }
.gl-card.front svg { width: 46px; height: 46px; fill: #f6f1ea; }
.gl-card.front svg ellipse, .gl-post-in svg ellipse, .gl-stamp ellipse, .gl-pattern svg ellipse { fill: rgba(31, 26, 23, 0.25); }
.gl-card.front b { font: 800 22px "Syne", sans-serif; letter-spacing: -0.03em; }
.gl-post { grid-column: 4; grid-row: 2; background: #c9b8a2; display: grid; place-items: center; }
.gl-post-in { position: relative; height: 86%; aspect-ratio: 4 / 5; border-radius: 10px; background: linear-gradient(160deg, #b4583a, #8e3f27); color: #f6f1ea; padding: 14px; display: grid; align-content: start; gap: 2px; overflow: hidden; box-shadow: 0 16px 30px -14px rgba(31, 26, 23, 0.55); }
.gl-post-in small { font-size: 10px; opacity: 0.8; }
.gl-post-in b { margin-top: 8px; font: 800 20px/1 "Syne", sans-serif; }
.gl-post-in span { font-size: 12px; opacity: 0.9; }
.gl-post-in svg { position: absolute; right: -16px; bottom: -12px; width: 116px; height: 116px; fill: rgba(246, 241, 234, 0.92); }
.gl-band { grid-column: 1 / 5; grid-row: 3; background: #1f1a17; color: #f6f1ea; display: flex; align-items: center; gap: 34px; padding: 0 34px; }
.gl-stamp { flex: none; width: 168px; height: 168px; fill: #f6f1ea; }
.gl-stamp text { font: 700 10.5px "Syne", sans-serif; letter-spacing: 0.2em; }
.gl-pattern { flex: 1; height: 168px; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, 1fr); gap: 8px; }
.gl-pattern svg { width: 100%; height: 100%; fill: var(--gl); transition: fill 0.8s; }
.gl-pattern svg:nth-child(even) { fill: #e8d8c3; transform: rotate(180deg); }
.gl-bt { flex: none; width: 250px; display: grid; gap: 6px; }
.gl-bt b { font: 700 22px/1.1 "Syne", sans-serif; } .gl-bt span { font-size: 14px; opacity: 0.7; }

/* ================= tryb „rentgen”: konstrukcja zamiast wykończenia ================= */
.mk.bp {
  color: transparent; -webkit-text-stroke: 0.7px rgba(120, 238, 255, 0.9);
  background-color: #061a2c !important;
  background-image: linear-gradient(rgba(94, 231, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(94, 231, 255, 0.08) 1px, transparent 1px) !important;
  background-size: 20px 20px !important;
}
.mk.bp * { color: transparent !important; background: transparent !important; box-shadow: none !important; border-color: rgba(94, 231, 255, 0.5) !important; transition: none !important; }
.mk.bp *::before, .mk.bp *::after { background: transparent !important; outline: 1px solid rgba(94, 231, 255, 0.35); }
.mk.bp [class]:not(.bp-l):not(.bp-only):not(svg) { outline: 1px solid rgba(94, 231, 255, 0.34); outline-offset: -1px; }
.mk.bp svg, .mk.bp svg * { fill: none !important; stroke: #78eeff !important; stroke-width: 1px; }
.mk.bp text { fill: none !important; stroke: #78eeff !important; stroke-width: 0.4px; }
.mk.bp .bp-only { display: block; }
.mk.bp .bp-l {
  display: block; position: absolute; z-index: 5; left: 6px; top: 6px;
  padding: 3px 7px; border-radius: 4px; background: #78eeff !important; color: #04121f !important; -webkit-text-stroke: 0;
  font: 600 11px/1.25 "Geist Mono", "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0; white-space: nowrap;
}
.mk.bp .bp-cols { position: absolute; inset: 0 64px; z-index: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; pointer-events: none; }
.mk.bp .bp-cols.m { inset: 0 22px; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mk.bp .bp-cols i { display: block; background: rgba(255, 122, 184, 0.06) !important; border-left: 1px solid rgba(255, 122, 184, 0.28) !important; border-right: 1px solid rgba(255, 122, 184, 0.28) !important; outline: 0; }
.mk.bp .bp-dim { position: absolute; z-index: 4; display: flex; align-items: center; justify-content: center; height: 18px; border-top: 1px solid #ff7ab8 !important; color: #ff7ab8 !important; -webkit-text-stroke: 0; font: 600 11px "Geist Mono", ui-monospace, monospace; outline: 0; }
.mk.bp .bp-dim.d1 { left: 0; top: 330px; width: 64px; }
.mk.bp .bp-dim.d2 { left: 432px; top: 664px; width: 24px; }
.mk.bp .zs-copy .l-h { top: 86px; left: auto; right: 0; }
.mk.bp .zs-copy .l-p { top: 300px; left: auto; right: 0; }
.mk.bp .zs-copy .l-b { top: 404px; }
.mk.bp .zs-art .l-art { left: auto; right: 6px; }
.mk.bp .zs-cards .l-cards { top: -26px; left: 64px; }
.mk.bp .zm-copy .l-h { top: 70px; left: auto; right: 22px; }
.mk.bp .zm-copy .l-b { top: auto; bottom: 0; }
.mk.bp .zm-tabs .l-tab { top: -24px; }
.mk.bp .ap-side .bp-l { top: auto; bottom: 160px; left: 18px; }
.mk.bp .ap-kpi .bp-l { top: auto; bottom: 8px; left: auto; right: 8px; }
.mk.bp .ap-table .l-t { top: 16px; left: auto; right: 160px; }
.mk.bp .ap-flow .l-f { top: auto; bottom: 64px; left: 20px; }
.mk.bp .gl-logo .l-logo { top: 14px; left: 14px; }
.mk.bp .gl-pal .l-pal { left: auto; right: 6px; }
.mk.bp .gl-cons circle { stroke: #ff7ab8 !important; stroke-dasharray: 2 2; }
.mk.bp .gl-cons path { stroke: rgba(120, 238, 255, 0.5) !important; }
.mk.bp .gl-base, .mk.bp .gl-x { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed #ff7ab8 !important; outline: 0; }
.mk.bp .gl-base { top: 105px; } .mk.bp .gl-x { top: 52px; }
.mk.bp .gl-sw small { -webkit-text-stroke: 0; color: #78eeff !important; }
