/* The three live products as self-playing demos (mocks.js draws them into <div class="mock" data-mock="...">), not as pictures. A demo cannot be changed by the visitor:
   it plays a scripted story with a pointer and a step caption; the box takes no clicks, the link around it does. Each demo is a fixed stage that mocks.js scales to the width of
   its box: 1280x800 on a desktop, 390x720 (class "ph", laid out like the product on a phone) when the page is 640 px wide or less. The colours, radii, sizes and type come from
   the products' own styles:
   TeamFind    web-services/teamfind/design/styles.css (indigo #496afe for the call, violet #8230ca for the account)
   RealPlan    web-services/realplan/backend/assets/static/landing/css/{tokens,theme,demo}.css, its logo
   MobileParts web-services/mobile-parts/design/main.css (.product-card, the filters)
   Only div, span, svg, img and i are used inside a stage, so the rules of the site (h1, a, p, .shot img ...) never reach it. */
.mock { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; pointer-events: none; user-select: none; }
.mock.ph { aspect-ratio: auto; background: #0f1720; } /* mocks.js sets the height: the screen plus a 40 px strip for the caption */
.mock .m-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; text-align: left; letter-spacing: normal; text-transform: none; }
.mock .m-stage * { box-sizing: border-box; margin: 0; }
.mock .m-stage svg { display: block; }
.mock .m-stage img { display: block; width: auto; height: auto; max-width: none; aspect-ratio: auto; object-fit: fill; object-position: 0 0; background: none; }
.mock .m-scr { position: absolute; inset: 0; }
.mock .m-stage .m-ph { color: #9aa3b2; }
.m-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.15em; background: currentColor; animation: m-blink 1s steps(1) infinite; }
@keyframes m-blink { 50% { opacity: 0; } }
/* the pointer: an arrow on a desktop, a finger dot on a phone; a ring on a click */
.mock .m-cur { position: absolute; left: 0; top: 0; z-index: 20; width: 0; height: 0; opacity: 0; transition: transform .55s cubic-bezier(.3, .7, .3, 1), opacity .3s; }
.mock .m-cur.on { opacity: 1; }
.mock .m-cur svg { position: absolute; left: -3px; top: -2px; width: 30px; height: 30px; fill: #0f1720; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.mock .m-cur i { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 3px solid #f59e0b; opacity: 0; }
.mock .m-cur.tap i { animation: m-tap .5s ease-out; }
@keyframes m-tap { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.3); } }
.mock .ph .m-cur svg { display: none; }
.mock .ph .m-cur::before { content: ""; position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: rgba(15, 23, 32, .28); border: 2px solid rgba(255, 255, 255, .9); }
@media (prefers-reduced-motion: reduce) { html:not(.motion) .mock .m-cur { transition: opacity .3s; } html:not(.motion) .m-caret { animation: none; } }
/* the caption of the step, over the bottom left corner of the box (not scaled with the stage) */
.mock .m-cap { position: absolute; left: 12px; bottom: 12px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); padding: 6px 12px 6px 6px; border-radius: 999px;
  background: rgba(15, 23, 32, .88); color: #fff; font: 600 13px/1.2 'DM Sans', system-ui, sans-serif; letter-spacing: 0; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.mock .m-cap:empty { display: none; }
.mock .m-cap b { flex: none; padding: 3px 8px; border-radius: 999px; background: #f59e0b; color: #0f1720; font: 600 11px/1 'JetBrains Mono', ui-monospace, monospace; }
.mock.live .m-cap { left: 18px; bottom: 18px; font-size: 15px; padding: 8px 16px 8px 8px; }
.win .mock .m-cap { display: none; }
.mock.ph .m-cap { left: 0; right: 0; bottom: 0; max-width: none; height: 40px; padding: 0 12px; border-radius: 0; box-shadow: none; background: #0f1720; }
/* a form field, shared by the three products (the colours come from each product below) */
.m-fld { display: grid; gap: 6px; }
.m-flab { font-size: 13px; font-weight: 500; color: var(--ink-500, #64748b); }
.m-fin { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border: 1px solid var(--line-300, #d7dfea); border-radius: 8px; background: var(--surface, #fff); font-size: 14px; white-space: nowrap; overflow: hidden; }
.m-fin.f { border-color: var(--focus, #4f46e5); box-shadow: 0 0 0 3px var(--focus-ring, #c7d2fe); }
.m-fin.sel { justify-content: space-between; }
.m-fin svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.live-tag { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.live-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: live-pulse 1.6s ease-in-out infinite; }
.term-bar .live-tag { margin-left: auto; }
@keyframes live-pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .live-tag::before { animation: none; } }
@keyframes m-fresh { 0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .7); } 100% { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); } }

/* ---------- RealPlan: the cabinet (tokens.css + theme.css, the app window of demo.css) ---------- */
.m-rp { --brand-50: #eef2ff; --brand-600: #4f46e5; --brand-700: #4338ca; --ink-900: #111827; --ink-500: #64748b; --ink-300: #9aa3b2; --line-100: #eef0f5; --line-200: #e7eaf2; --line-300: #d7dfea; --surface: #fff; --alt: #f5f7fa; --sunken: #f8f9fc;
  --warning-50: #fff6e0; --warning-700: #b54708; --success-50: #ecfdf3; --success-700: #15803d; --danger-50: #fef3f2; --danger-700: #b42318; --shadow-card: 0 2px 8px #1118271f; --focus: #4f46e5; --focus-ring: #c7d2fe;
  background: var(--alt); color: var(--ink-900); font: 400 14px/1.4 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; }
.m-rp svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-rp .rp-app { position: absolute; inset: 0; display: flex; }
.m-rp .rp-side { flex: none; width: 240px; display: flex; flex-direction: column; gap: 36px; padding: 26px 18px; border-right: 1px solid var(--line-200); background: var(--surface); }
.m-rp .rp-side .rp-logo { width: 140px; height: 29px; margin-left: 8px; }
.m-rp .rp-nav { display: grid; gap: 4px; }
.m-rp .rp-ni { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border-radius: 8px; color: var(--ink-500); font-size: 15px; font-weight: 500; }
.m-rp .rp-ni svg { width: 19px; height: 19px; }
.m-rp .rp-ni.on { background: var(--brand-50); color: var(--brand-700); }
.m-rp .rp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.m-rp .rp-top { flex: none; display: flex; align-items: center; gap: 16px; height: 68px; padding: 0 40px; border-bottom: 1px solid var(--line-200); background: var(--surface); }
.m-rp .rp-top .rp-logo { display: none; }
.m-rp .rp-date { font-weight: 600; font-size: 15px; }
.m-rp .rp-av { margin-left: auto; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-600); color: #fff; font-weight: 600; font-size: 13px; }
.m-rp .rp-body { flex: 1; display: grid; align-content: start; gap: 20px; padding: 32px 40px; overflow: hidden; }
.m-rp .rp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.m-rp .rp-title { font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.m-rp .rp-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 8px; background: var(--brand-600); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.m-rp .rp-btn svg { width: 16px; height: 16px; }
.m-rp .rp-ghost { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--line-300); font-weight: 500; }
.m-rp .rp-seg { justify-self: start; display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line-200); border-radius: 8px; background: var(--sunken); }
.m-rp .rp-seg span { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 6px; color: var(--ink-500); font-weight: 500; font-size: 13px; }
.m-rp .rp-seg span.on { background: var(--surface); color: var(--ink-900); box-shadow: var(--shadow-card); }
.m-rp .rp-goals, .m-rp .rp-list { display: grid; gap: 10px; }
.m-rp .rp-goal { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 24px; border: 1px solid var(--line-200); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-card); }
.m-rp .rp-goal.fresh, .m-rp .rp-row.fresh, .m-tf .tf-card.fresh { animation: m-fresh 1.2s ease-out 2; }
.m-rp .rp-gi { display: grid; justify-items: start; gap: 3px; min-width: 0; }
.m-rp .rp-gi b { font-size: 17px; font-weight: 600; }
.m-rp .rp-gi > span { font-size: 14px; color: var(--ink-500); }
.m-rp .rp-goal.muted .rp-gi b { color: var(--ink-500); }
.m-rp .rp-gm { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--ink-500); }
.m-rp .rp-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; line-height: 1; }
.m-rp .rp-badge.medium { background: var(--warning-50); color: var(--warning-700); }
.m-rp .rp-badge.low, .m-rp .rp-badge.achieved { background: var(--success-50); color: var(--success-700); }
.m-rp .rp-badge.active { background: var(--brand-50); color: var(--brand-700); }
.m-rp .rp-badge.cancelled { background: var(--line-100); color: var(--ink-500); }
.m-rp .rp-ring { position: relative; flex: none; width: 76px; height: 76px; }
.m-rp .rp-ring.big { width: 170px; height: 170px; }
.m-rp .rp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.m-rp .rp-ring .tr, .m-rp .rp-ring .br { stroke-width: 9; stroke-linecap: round; }
.m-rp .rp-ring .tr { stroke: var(--line-100); }
.m-rp .rp-ring .br { stroke: var(--brand-600); transition: stroke-dashoffset .6s; }
.m-rp .rp-rt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.m-rp .rp-rt b { font-size: 16px; font-weight: 600; } .m-rp .rp-rt small { font-size: 11px; color: var(--ink-500); }
.m-rp .rp-ring.big .rp-rt b { font-size: 34px; } .m-rp .rp-ring.big .rp-rt small { font-size: 14px; }
.m-rp .rp-row { display: flex; align-items: center; gap: 16px; min-height: 66px; padding: 10px 18px; border: 1px solid var(--line-200); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-card); }
.m-rp .rp-check { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line-300); }
.m-rp .rp-row.done .rp-check { background: var(--success-700); border-color: var(--success-700); color: #fff; }
.m-rp .rp-check svg { width: 14px; height: 14px; stroke-width: 3; }
.m-rp .rp-rm { flex: 1; min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 3px 10px; }
.m-rp .rp-rm b { font-size: 15px; font-weight: 600; white-space: nowrap; }
.m-rp .rp-row.done .rp-rm b { text-decoration: line-through; opacity: .55; }
.m-rp .rp-rm .rp-badge { justify-self: start; }
.m-rp .rp-rg { grid-column: 1 / -1; font-size: 12px; color: var(--ink-500); }
.m-rp .rp-time { flex: none; font-weight: 600; font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.m-rp .rp-play { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-600); }
.m-rp .rp-play.on { background: var(--warning-700); }
.m-rp .rp-play svg { width: 13px; height: 13px; fill: #fff; stroke: none; }
.m-rp .rp-stats { display: grid; grid-template-columns: 260px 1fr; gap: 16px; }
.m-rp .rp-card { padding: 22px 24px; border: 1px solid var(--line-200); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-card); }
.m-rp .rp-sc { grid-row: span 2; display: grid; justify-items: center; align-content: center; gap: 14px; }
.m-rp .rp-sl { font-weight: 600; color: var(--ink-500); }
.m-rp .rp-bars { display: grid; gap: 14px; }
.m-rp .rp-sum { color: var(--ink-500); font-size: 14px; } .m-rp .rp-sum b { color: var(--ink-900); font-size: 18px; margin-left: 6px; }
.m-rp .rp-brow, .m-rp .rp-gp { display: grid; grid-template-columns: 150px 1fr 64px; align-items: center; gap: 12px; font-size: 13px; }
.m-rp .rp-brow > i, .m-rp .rp-gp > i { display: block; height: 14px; border-radius: 7px; background: var(--line-100); overflow: hidden; }
.m-rp .rp-brow > i > i, .m-rp .rp-gp > i > i { display: block; height: 100%; border-radius: 7px; background: var(--brand-600); opacity: .45; }
.m-rp .rp-brow > i > i.done, .m-rp .rp-gp > i > i { opacity: 1; }
.m-rp .rp-brow em, .m-rp .rp-gp em { font-style: normal; color: var(--ink-500); text-align: right; font-variant-numeric: tabular-nums; }
.m-rp .rp-gp span { font-weight: 600; }
.m-rp .rp-veil { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; background: rgba(17, 24, 39, .42); }
.m-rp .rp-modal { width: 520px; display: grid; gap: 16px; padding: 28px; border-radius: 16px; background: var(--surface); box-shadow: 0 24px 60px rgba(17, 24, 39, .3); }
.m-rp .rp-mt { font-size: 22px; font-weight: 700; }
.m-rp .rp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.m-rp .rp-pri { display: flex; gap: 6px; height: 42px; }
.m-rp .rp-pri span { flex: 1; display: grid; place-items: center; border: 1px solid var(--line-300); border-radius: 8px; font-size: 13px; color: var(--ink-500); }
.m-rp .rp-pri span.on.medium { background: var(--warning-50); border-color: var(--warning-700); color: var(--warning-700); font-weight: 600; }
.m-rp .rp-mf { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
/* RealPlan on a phone: a top bar with the logo, the sidebar becomes the tab bar, a dialog becomes a sheet */
.m-rp.ph .rp-app { flex-direction: column; }
.m-rp.ph .rp-side { order: 2; width: auto; height: 70px; flex-direction: row; padding: 6px 8px 10px; border-right: 0; border-top: 1px solid var(--line-200); }
.m-rp.ph .rp-side .rp-logo { display: none; }
.m-rp.ph .rp-nav { flex: 1; grid-template-columns: repeat(4, 1fr); }
.m-rp.ph .rp-ni { flex-direction: column; justify-content: center; gap: 3px; height: 54px; padding: 0; font-size: 11px; }
.m-rp.ph .rp-main { flex: 1; min-height: 0; }
.m-rp.ph .rp-top { height: 58px; padding: 0 16px; }
.m-rp.ph .rp-top .rp-logo { display: block; width: 112px; height: 23px; }
.m-rp.ph .rp-date { display: none; }
.m-rp.ph .rp-av { width: 34px; height: 34px; }
.m-rp.ph .rp-body { padding: 18px 16px; gap: 14px; }
.m-rp.ph .rp-title { font-size: 23px; }
.m-rp.ph .rp-btn { height: 38px; padding: 0 12px; font-size: 13px; }
.m-rp.ph .rp-goal { padding: 14px 16px; gap: 12px; }
.m-rp.ph .rp-gi b { font-size: 15px; }
.m-rp.ph .rp-gi > span { font-size: 13px; }
.m-rp.ph .rp-ring { width: 60px; height: 60px; } .m-rp.ph .rp-rt b { font-size: 13px; } .m-rp.ph .rp-rt small { font-size: 9px; }
.m-rp.ph .rp-row { gap: 10px; padding: 10px 12px; }
.m-rp.ph .rp-rm b { font-size: 14px; white-space: normal; }
.m-rp.ph .rp-time { font-size: 12px; }
.m-rp.ph .rp-stats { grid-template-columns: 1fr; gap: 12px; }
.m-rp.ph .rp-card { padding: 16px; }
.m-rp.ph .rp-sc { grid-row: auto; grid-template-columns: auto 1fr; justify-items: start; }
.m-rp.ph .rp-ring.big { width: 104px; height: 104px; } .m-rp.ph .rp-ring.big .rp-rt b { font-size: 22px; } .m-rp.ph .rp-ring.big .rp-rt small { font-size: 11px; }
.m-rp.ph .rp-brow, .m-rp.ph .rp-gp { grid-template-columns: 112px 1fr 52px; gap: 8px; font-size: 12px; }
.m-rp.ph .rp-veil { place-items: end stretch; }
.m-rp.ph .rp-modal { width: auto; padding: 22px 16px 26px; border-radius: 18px 18px 0 0; }
.m-rp.ph .rp-two { grid-template-columns: 1fr; }
.m-rp.ph .rp-mf .rp-ghost { display: none; }
.m-rp.ph .rp-mf .rp-btn { flex: 1; justify-content: center; }

/* ---------- TeamFind: the cabinet, a white page, indigo (#496afe) for the call, violet (#8230ca) for the account ---------- */
.m-tf { --primary: #496afe; --accent: #8230ca; --accent-50: #f4effe; --ink-900: #111827; --ink-700: #374151; --ink-500: #64748b; --line-200: #e7eaf2; --line-300: #d7dfea; --surface-alt: #f5f7fa; --surface: #fff; --focus: #496afe; --focus-ring: #c7d2fe;
  background: var(--surface-alt); color: var(--ink-900); font: 400 15px/22px Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; }
.m-tf svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-tf .tf-head { position: absolute; left: 0; right: 0; top: 0; height: 72px; display: flex; align-items: center; gap: 40px; padding: 0 60px 0 90px; border-bottom: 1px solid #eceef2; background: #fff; z-index: 2; }
.m-tf .tf-logo { font-size: 23px; line-height: 28px; font-weight: 800; color: var(--primary); letter-spacing: -0.01em; }
.m-tf .tf-nav { display: flex; gap: 36px; flex: 1; font-weight: 500; }
.m-tf .tf-nav span { padding: 6px 0; border-bottom: 2px solid transparent; }
.m-tf .tf-nav .cur { color: var(--primary); border-bottom-color: var(--primary); }
.m-tf .tf-me { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; }
.m-tf .tf-av { flex: none; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #e2d3fe; color: #6a24ad; font-weight: 700; font-size: 15px; }
.m-tf .tf-av.sm { width: 36px; height: 36px; font-size: 13px; background: var(--accent); color: #fff; }
.m-tf .tf-page { position: absolute; left: 0; right: 0; top: 72px; bottom: 0; padding: 34px 90px 0; display: grid; align-content: start; gap: 18px; }
.m-tf .tf-pt { display: flex; align-items: baseline; gap: 14px; font-size: 34px; line-height: 42px; font-weight: 700; letter-spacing: -0.02em; }
.m-tf .tf-pt small { font-size: 15px; font-weight: 400; color: var(--ink-500); letter-spacing: 0; }
.m-tf .tf-pt.sm { font-size: 22px; line-height: 28px; }
.m-tf .tf-form { width: 760px; display: grid; gap: 18px; padding: 28px 30px; border-radius: 14px; background: #fff; border: 1px solid var(--line-200); box-shadow: 0 2px 8px #0000000d; }
.m-tf .tf-togs { display: flex; gap: 8px; }
.m-tf .tf-tog { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--line-300); background: #fff; font-size: 14px; font-weight: 500; }
.m-tf .tf-tog.on { background: #eef2ff; border-color: var(--primary); color: var(--primary); }
.m-tf .tf-add { justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 8px; border: 1px dashed var(--primary); color: var(--primary); font-size: 14px; font-weight: 500; }
.m-tf .tf-add svg { width: 15px; height: 15px; }
.m-tf .tf-ff { display: flex; justify-content: flex-end; }
.m-tf .tf-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 8px; border: 2px solid transparent; font-weight: 600; font-size: 14px; white-space: nowrap; }
.m-tf .tf-btn.fill { background: var(--primary); color: #fff; }
.m-tf .tf-btn.out { height: 34px; margin-left: auto; border-color: var(--accent); color: var(--accent); background: #fff; }
.m-tf .tf-toast { position: absolute; right: 60px; top: 24px; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 10px; background: #ecfdf3; color: #15803d; font-weight: 600; font-size: 14px; border: 1px solid #a6f4c5; }
.m-tf .tf-toast svg { width: 16px; height: 16px; stroke-width: 3; }
.m-tf .tf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.m-tf .tf-card { padding: 18px 22px; border-radius: 12px; background: #fff; border: 1px solid var(--line-200); box-shadow: 0 2px 8px #0000000d; display: flex; flex-direction: column; gap: 6px; }
.m-tf .tf-ctop { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 500; }
.m-tf .tf-st { padding: 3px 8px; border-radius: 6px; background: #ecfdf3; color: #15803d; }
.m-tf .tf-wk, .m-tf .tf-cb { color: var(--ink-500); font-size: 13px; }
.m-tf .tf-cn { font-size: 19px; line-height: 25px; font-weight: 600; }
.m-tf .tf-ct { color: var(--ink-700); font-size: 14px; line-height: 20px; }
.m-tf .tf-slots { margin-top: 6px; display: grid; gap: 8px; }
.m-tf .tf-slot { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding: 8px 10px; border-radius: 8px; background: var(--surface-alt); font-size: 13px; }
.m-tf .tf-form .tf-slot { padding: 10px 12px; border: 1px solid var(--line-200); }
.m-tf .tf-grade, .m-tf .tf-pay { padding: 1px 7px; border-radius: 6px; background: #eef2ff; color: #4338ca; font-size: 12px; font-weight: 500; }
.m-tf .tf-pay { background: #ecfdf3; color: #15803d; }
.m-tf .tf-skl { width: 100%; color: var(--ink-500); font-size: 12px; }
.m-tf .tf-search { display: flex; align-items: center; gap: 10px; width: 460px; height: 44px; padding: 0 14px; border: 1px solid var(--line-300); border-radius: 8px; background: #fff; font-size: 15px; }
.m-tf .tf-search.f { border-color: var(--primary); box-shadow: 0 0 0 3px #c7d2fe; }
.m-tf .tf-search svg { width: 16px; height: 16px; color: var(--ink-500); }
.m-tf .tf-mtop { display: flex; align-items: center; gap: 14px; }
.m-tf .tf-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.m-tf .tf-chips span { padding: 3px 9px; border-radius: 999px; background: var(--surface-alt); color: var(--ink-700); font-size: 12px; font-weight: 500; }
.m-tf .tf-chips span.hit { background: #eef2ff; color: #4338ca; box-shadow: inset 0 0 0 1px var(--primary); }
.m-tf .tf-chat { position: absolute; left: 0; right: 0; top: 72px; bottom: 0; display: flex; }
.m-tf .tf-convs { flex: none; width: 340px; padding: 26px 18px; border-right: 1px solid var(--line-200); background: #fff; display: grid; align-content: start; gap: 14px; }
.m-tf .tf-conv { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; }
.m-tf .tf-conv.on { background: #eef2ff; }
.m-tf .tf-conv > div, .m-tf .tf-th > div { display: grid; min-width: 0; }
.m-tf .tf-conv b, .m-tf .tf-th b { font-weight: 600; }
.m-tf .tf-conv span:not(.tf-av), .m-tf .tf-th span:not(.tf-av) { font-size: 13px; color: var(--ink-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-tf .tf-thread { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.m-tf .tf-th { flex: none; display: flex; align-items: center; gap: 12px; height: 76px; padding: 0 28px; border-bottom: 1px solid var(--line-200); background: #fff; }
.m-tf .tf-msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 24px 28px; }
.m-tf .tf-empty { align-self: center; margin-bottom: auto; margin-top: auto; color: var(--ink-500); }
.m-tf .tf-bub { max-width: 64%; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--line-200); font-size: 15px; line-height: 21px; display: grid; gap: 4px; }
.m-tf .tf-bub.me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--primary); border-color: var(--primary); color: #fff; }
.m-tf .tf-bub small { justify-self: end; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; opacity: .75; }
.m-tf .tf-bub small svg { width: 12px; height: 12px; stroke-width: 3; }
.m-tf .tf-comp { flex: none; display: flex; align-items: center; gap: 12px; padding: 16px 28px 22px; }
.m-tf .tf-cin { flex: 1; min-width: 0; display: flex; align-items: center; height: 48px; padding: 0 16px; border: 1px solid var(--line-300); border-radius: 24px; background: #fff; white-space: nowrap; overflow: hidden; }
.m-tf .tf-cin.f { border-color: var(--primary); box-shadow: 0 0 0 3px #c7d2fe; }
.m-tf .tf-send { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; }
.m-tf .tf-send svg { width: 20px; height: 20px; }
/* TeamFind on a phone: the logo and the avatar, the menu as a row of tabs under it, one column, only the open conversation */
.m-tf.ph .tf-head { height: 104px; flex-wrap: wrap; align-content: center; gap: 10px 0; padding: 0 16px; }
.m-tf.ph .tf-logo { font-size: 21px; flex: 1; }
.m-tf.ph .tf-mn { display: none; }
.m-tf.ph .tf-nav { order: 3; flex: 1 0 100%; gap: 24px; font-size: 14px; }
.m-tf.ph .tf-page { top: 104px; padding: 20px 16px 0; gap: 14px; }
.m-tf.ph .tf-pt { font-size: 25px; line-height: 32px; flex-wrap: wrap; gap: 4px 10px; }
.m-tf.ph .tf-form { width: auto; padding: 18px 16px; gap: 14px; }
.m-tf.ph .tf-tog { padding: 0 12px; }
.m-tf.ph .tf-ff .tf-btn { flex: 1; }
.m-tf.ph .tf-toast { position: static; justify-self: start; }
.m-tf.ph .tf-grid { grid-template-columns: 1fr; gap: 12px; }
.m-tf.ph .tf-card { padding: 14px 16px; }
.m-tf.ph .tf-search { width: auto; }
.m-tf.ph .tf-av { width: 40px; height: 40px; font-size: 14px; }
.m-tf.ph .tf-chat { top: 104px; }
.m-tf.ph .tf-convs { display: none; }
.m-tf.ph .tf-th { height: 64px; padding: 0 16px; }
.m-tf.ph .tf-msgs { padding: 16px; }
.m-tf.ph .tf-bub { max-width: 84%; font-size: 14px; line-height: 20px; }
.m-tf.ph .tf-comp { padding: 10px 12px 16px; gap: 8px; }
.m-tf.ph .tf-cin { height: 44px; font-size: 14px; }
.m-tf.ph .tf-send { width: 44px; height: 44px; }

/* ---------- MobileParts: main.css, a light page with a green chip for the mark and slate ink ---------- */
.m-mp { --bg: #f8fafc; --dark: #0f172a; --muted: #64748b; --light: #f1f5f9; --border: #e2e8f0; --green: #22c55e; --green-soft: #dcfce7; --green-dark: #15803d; --amber: #f59e0b;
  background: var(--bg); color: var(--dark); font: 400 14px/1.4 Geist, Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; }
.m-mp svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-mp .mp-head { position: absolute; left: 0; right: 0; top: 0; height: 64px; display: flex; align-items: center; gap: 20px; padding: 0 67px 0 110px; background: #fff; border-bottom: 1px solid var(--border); z-index: 3; }
.m-mp .mp-brand { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.m-mp .mp-brand svg { width: 28px; height: 28px; stroke: none; }
.m-mp .mp-brand g { stroke: #22c55e; }
.m-mp .mp-search { display: flex; align-items: center; gap: 10px; width: 478px; height: 40px; padding: 0 16px; border-radius: 20px; background: #eef2f9; border: 1px solid #e6ebf3; font-size: 14px; white-space: nowrap; overflow: hidden; }
.m-mp .mp-search.f { border-color: var(--green); box-shadow: 0 0 0 3px #dcfce7; background: #fff; }
.m-mp .mp-search svg { width: 15px; height: 15px; flex: none; color: var(--muted); }
.m-mp .mp-pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--border); background: #fff; font-weight: 600; font-size: 13.5px; }
.m-mp .mp-sell { margin-left: auto; }
.m-mp .mp-cart svg { width: 17px; height: 17px; }
.m-mp .mp-cart b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--green); color: #fff; font-size: 12px; }
.m-mp .mp-cat { position: absolute; left: 110px; right: 67px; top: 86px; bottom: 0; display: flex; gap: 26px; }
.m-mp .mp-panel { flex: none; width: 230px; align-self: start; padding: 18px 19px 22px; border-radius: 12px; background: #fff; border: 1px solid var(--border); box-shadow: 0 1px 3px #0f172a14; }
.m-mp .mp-t { font-size: 16px; font-weight: 700; }
.m-mp .mp-lab { margin-top: 20px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5a677a; }
.m-mp .mp-sel { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 18px; background: #f8fafc; color: var(--muted); font-size: 13px; }
.m-mp .mp-sel svg { width: 12px; height: 12px; }
.m-mp .mp-chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.m-mp .mp-chips span { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--border); background: #fff; font-size: 12.5px; font-weight: 600; }
.m-mp .mp-res { flex: 1; min-width: 0; }
.m-mp .mp-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.m-mp .mp-h { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; }
.m-mp .mp-count { font-size: 13px; color: var(--muted); }
.m-mp .mp-fbtn { display: none; }
.m-mp .mp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.m-mp .mp-pc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px #0f172a14; }
.m-mp .mp-pm { position: relative; height: 128px; background: radial-gradient(120% 120% at 20% 10%, #e2e8f0 0%, #f1f5f9 45%, #cbd5e1 100%); border-bottom: 1px solid var(--border); }
.m-mp .mp-pm img { width: 100%; height: 100%; object-fit: cover; }
.m-mp .mp-bd { position: absolute; display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.m-mp .mp-bd.cond { top: 8px; left: 8px; background: var(--green-soft); color: var(--green-dark); border: 1px solid rgb(34 197 94 / .35); }
.m-mp .mp-bd.ver { bottom: 8px; left: 8px; background: #fff; color: var(--green-dark); border: 1px solid rgb(34 197 94 / .35); }
.m-mp .mp-pb { display: flex; flex-direction: column; gap: 4px; padding: 11px 14px 13px; flex: 1; }
.m-mp .mp-model { font: 400 11px/1.3 'Geist Mono', ui-monospace, monospace; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.m-mp .mp-pt { font-size: 14px; line-height: 1.35; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.m-mp .mp-rate { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.m-mp .star { color: #cbd5e1; font-size: 13px; } .m-mp .star.on { color: var(--amber); }
.m-mp .mp-pf { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 9px; border-top: 1px solid var(--light); }
.m-mp .mp-price { font-size: 17px; font-weight: 700; white-space: nowrap; }
.m-mp .mp-add { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; background: var(--dark); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.m-mp .mp-add.in { background: var(--green-soft); color: var(--green-dark); }
.m-mp .mp-page { position: absolute; left: 110px; right: 67px; top: 64px; bottom: 0; padding-top: 30px; display: grid; align-content: start; gap: 20px; }
.m-mp .mp-cartw { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.m-mp .mp-line { display: flex; align-items: center; gap: 18px; padding: 16px; border-radius: 12px; background: #fff; border: 1px solid var(--border); }
.m-mp .mp-line img { flex: none; width: 110px; height: 80px; border-radius: 8px; object-fit: cover; }
.m-mp .mp-li { flex: 1; min-width: 0; display: grid; gap: 3px; }
.m-mp .mp-li b { font-size: 15px; font-weight: 600; }
.m-mp .mp-li span { font-size: 13px; color: var(--muted); }
.m-mp .mp-sumc { display: grid; gap: 12px; padding: 20px; border-radius: 12px; background: #fff; border: 1px solid var(--border); }
.m-mp .mp-sr { display: flex; justify-content: space-between; color: var(--muted); }
.m-mp .mp-sr.tot { padding-top: 12px; border-top: 1px solid var(--light); color: var(--dark); font-size: 18px; font-weight: 700; }
.m-mp .mp-go { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 10px; background: var(--green); color: #fff; font-weight: 700; font-size: 15px; }
.m-mp .mp-note { font-size: 12px; color: var(--muted); text-align: center; }
.m-mp .mp-done { justify-self: center; width: 620px; margin-top: 10px; display: grid; justify-items: center; gap: 16px; padding: 34px 40px; border-radius: 16px; background: #fff; border: 1px solid var(--border); text-align: center; }
.m-mp .mp-ok { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); }
.m-mp .mp-ok svg { width: 30px; height: 30px; stroke-width: 3; }
.m-mp .mp-dt { color: var(--muted); max-width: 460px; }
.m-mp .mp-done .mp-line { width: 100%; text-align: left; }
.m-mp .mp-line.sm img { width: 72px; height: 52px; }
.m-mp .mp-steps { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; font-size: 12px; color: var(--muted); }
.m-mp .mp-steps span { display: grid; justify-items: center; gap: 6px; }
.m-mp .mp-steps i { width: 100%; height: 6px; border-radius: 3px; background: var(--light); }
.m-mp .mp-steps .on { color: var(--green-dark); font-weight: 600; } .m-mp .mp-steps .on i { background: var(--green); }
.m-mp .mp-done .mp-go { width: 100%; background: var(--dark); }
/* MobileParts on a phone: the brand and the cart on top, the search under them, filters behind a button, two cards a row */
.m-mp.ph .mp-head { height: 112px; flex-wrap: wrap; align-content: center; gap: 12px 10px; padding: 0 14px; }
.m-mp.ph .mp-brand { flex: 1; }
.m-mp.ph .mp-sell { display: none; }
.m-mp.ph .mp-cl { display: none; }
.m-mp.ph .mp-search { order: 3; flex: 1 0 100%; width: auto; }
.m-mp.ph .mp-cat { left: 14px; right: 14px; top: 128px; }
.m-mp.ph .mp-panel { display: none; }
.m-mp.ph .mp-top { margin-bottom: 12px; }
.m-mp.ph .mp-h { font-size: 19px; line-height: 24px; }
.m-mp.ph .mp-fbtn { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border); background: #fff; font-weight: 600; font-size: 12.5px; }
.m-mp.ph .mp-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
.m-mp.ph .mp-pm { height: 96px; }
.m-mp.ph .mp-pb { padding: 9px 10px 10px; }
.m-mp.ph .mp-pt { font-size: 12.5px; min-height: 34px; }
.m-mp.ph .mp-rate { display: none; }
.m-mp.ph .mp-pf { flex-direction: column; align-items: stretch; gap: 6px; }
.m-mp.ph .mp-price { font-size: 15px; }
.m-mp.ph .mp-add { justify-content: center; }
.m-mp.ph .mp-page { left: 14px; right: 14px; top: 112px; padding-top: 20px; gap: 14px; }
.m-mp.ph .mp-cartw { grid-template-columns: 1fr; gap: 14px; }
.m-mp.ph .mp-line { gap: 12px; padding: 12px; }
.m-mp.ph .mp-line img { width: 76px; height: 56px; }
.m-mp.ph .mp-line .mp-price { display: none; }
.m-mp.ph .mp-done { width: auto; padding: 24px 16px; margin-top: 0; gap: 14px; }
.m-mp.ph .mp-steps { font-size: 10.5px; gap: 4px; }

@media (max-width: 560px) { .term-bar span { white-space: nowrap; } .live-tag { font-size: 10px; letter-spacing: 0; gap: 5px; } }
