/* Live HTML mockups of the Wharfly screens. Built at 1100 px wide, then scaled to fit. Sample data only. */
.mk-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

:root {
  --mk-bg: #f1f1f1;
  --mk-card: #fff;
  --mk-line: #e3e3e3;
  --mk-text: #303030;
  --mk-muted: #5f5f5f;
  --mk-link: #2851b8;
  --mk-late: #b42318;
  /* Status colours: background and text, each pair checked for 4.5:1 contrast at build time */
  --pill-success-bg: #cdfed4; --pill-success-fg: #014b40;
  --pill-critical-bg: #fed1d7; --pill-critical-fg: #8e0b21;
  --pill-warning-bg: #ffd6a4; --pill-warning-fg: #5e4200;
  --pill-caution-bg: #ffef9d; --pill-caution-fg: #4f4700;
  --pill-info-bg: #cde5ff; --pill-info-fg: #00385c;
  --pill-neutral-bg: #e3e3e3; --pill-neutral-fg: #303030;
  --pill-amber-bg: #fde9a8; --pill-amber-fg: #5a3b00;
  --pill-b1-bg: #cdfed4; --pill-b1-fg: #014b40;
  --pill-b2-bg: #f2eb9e; --pill-b2-fg: #4a4300;
  --pill-b3-bg: #fbd7a0; --pill-b3-fg: #5a3800;
  --pill-b4-bg: #fcc9bd; --pill-b4-fg: #7c1a08;
  --pill-b5-bg: #ecb3a6; --pill-b5-fg: #54110a;
}

/* ---------------------------------------------------------------- frame, scaling, views */
.mk-frame { max-width: 1112px; margin-inline: auto; }
.mk { position: relative; width: 100%; }
.mk-view { position: relative; }
.mk-desktop { overflow: auto; background: var(--mk-bg); }
.js .mk-desktop { overflow: hidden; }
.mk-scale { width: 1100px; transform-origin: 0 0; }
.mk-mobile { display: none; background: var(--mk-bg); }
@media (max-width: 760px) {
  .mk-desktop { display: none; }
  .mk-mobile { display: block; }
}
.mk-note { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 12px; background: var(--sky-50); border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }
.mk-open { font: 600 0.8125rem/1 var(--body); color: var(--sky-700); background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 7px 12px; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.mk-open:hover { background: var(--sky-100); border-color: var(--sky-500); }
.mk-tip { position: absolute; z-index: 6; max-width: 280px; padding: 7px 11px; border-radius: 8px; background: #1a1a1a; color: #fff; font: 500 12px/1.35 var(--body); pointer-events: none; transform: translate(-50%, -100%); white-space: normal; }
.mk-tip[hidden] { display: none; }

/* ---------------------------------------------------------------- base look of the app screens */
.mk-screen, .mk-m { color: var(--mk-text); font: 400 12px/1.4 var(--body); text-align: left; background: var(--mk-bg); cursor: default; letter-spacing: 0; }
.mk-screen { width: 1100px; }
.mk-screen *, .mk-m * { box-sizing: border-box; }
/* the site stylesheet gives every section 88px of padding; the mockups must not inherit it */
:where(.mk-screen, .mk-m) section { padding: 0; }
.mk-screen h3, .mk-m h3 { font: 650 14px/1.3 var(--body); letter-spacing: 0; margin: 0; }
.mk-screen p, .mk-m p { margin: 0; }
.mk-muted { color: var(--mk-muted); }
.mk-strong { font-weight: 600; }
.mk-link { color: var(--mk-link); }
.mk-late { color: var(--mk-late); }
.mk-num { text-align: right; font-variant-numeric: tabular-nums; }
.mk-mt { margin-top: 4px; }
.mk-gap { margin-left: 8px; }
.mk-small { font-size: 11.5px; margin-top: 6px; }
.mk-p { margin: 6px 0 !important; max-width: 90ch; }
.mi { width: 13px; height: 13px; flex: none; vertical-align: -2px; }

.mk-top { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--mk-line); }
.mk-back { width: 28px; height: 28px; border: 1px solid #d4d4d4; border-radius: 50%; display: grid; place-items: center; }
.mk-appicon { width: 16px; height: 16px; border-radius: 4px; background: #d9d9d9; }
.mk-sep { color: #9a9a9a; }
.mk-title { font-size: 13px; font-weight: 600; }
.mk-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.mk-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid #cfcfcf; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 550; white-space: nowrap; }
.mk-btn--primary { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.mk-btn--danger { color: #8e1f0b; }
.mk-btn--round { width: 28px; height: 28px; padding: 0; justify-content: center; }
.mk-btn--small { padding: 3px 11px; font-size: 11.5px; }
.mk-body { padding: 16px; display: flex; flex-direction: column; gap: 16px; }

.mk-card { background: var(--mk-card); border: 1px solid var(--mk-line); border-radius: 12px; }
.mk-card--pad { padding: 16px 20px; }
.mk-card-head { padding: 16px 20px 10px; display: flex; flex-direction: column; gap: 2px; }
.mk-card-head h3 { font-size: 15px; }
.mk-card-foot { padding: 10px 20px 14px; border-top: 1px solid #efefef; }
.mk-card-title { margin-bottom: 4px !important; font-size: 14px; }

.mk-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 8px; font-size: 11px; font-weight: 600; line-height: 1.45; white-space: nowrap; }
.mk-pill .mi { width: 11px; height: 11px; vertical-align: 0; }
.mk-pill--success { background: var(--pill-success-bg); color: var(--pill-success-fg); }
.mk-pill--critical { background: var(--pill-critical-bg); color: var(--pill-critical-fg); }
.mk-pill--warning { background: var(--pill-warning-bg); color: var(--pill-warning-fg); }
.mk-pill--caution { background: var(--pill-caution-bg); color: var(--pill-caution-fg); }
.mk-pill--info { background: var(--pill-info-bg); color: var(--pill-info-fg); }
.mk-pill--neutral { background: var(--pill-neutral-bg); color: var(--pill-neutral-fg); }
.mk-pill--amber { background: var(--pill-amber-bg); color: var(--pill-amber-fg); }
.mk-pill--b1 { background: var(--pill-b1-bg); color: var(--pill-b1-fg); }
.mk-pill--b2 { background: var(--pill-b2-bg); color: var(--pill-b2-fg); }
.mk-pill--b3 { background: var(--pill-b3-bg); color: var(--pill-b3-fg); }
.mk-pill--b4 { background: var(--pill-b4-bg); color: var(--pill-b4-fg); }
.mk-pill--b5 { background: var(--pill-b5-bg); color: var(--pill-b5-fg); }
.mk-badge { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: 8px; font-size: 11px; font-weight: 600; }
.mk-badge .mi { width: 10px; height: 10px; vertical-align: 0; }
.mk-badge--good { background: var(--pill-success-bg); color: var(--pill-success-fg); }
.mk-badge--bad { background: var(--pill-critical-bg); color: var(--pill-critical-fg); }
.mk-badge--neutral { background: #ececec; color: #303030; }
.mk-vs { color: var(--mk-muted); font-size: 11.5px; }

/* banners */
.mk-banner { border-radius: 12px; overflow: hidden; border: 1px solid var(--mk-line); background: #fff; }
.mk-banner-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 12px; font-weight: 600; }
.mk-banner-body { padding: 11px 14px; }
.mk-banner--info .mk-banner-head { background: #b4d9ff; color: #002b4d; }
.mk-banner--critical .mk-banner-head { background: #b3261e; color: #fff; }
.mk-banner .mk-link { color: var(--mk-text); text-decoration: underline; }
.mk-note-banner { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #fff; border: 1px solid var(--mk-line); border-radius: 12px; }
.mk-note-banner .mi { width: 22px; height: 22px; padding: 4px; border-radius: 6px; background: #b4d9ff; color: #00385c; }

/* tables */
.mk-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.mk-table th { text-align: left; font-size: 11.5px; font-weight: 500; color: var(--mk-muted); padding: 8px 12px; background: #f7f7f7; border-bottom: 1px solid var(--mk-line); border-top: 1px solid var(--mk-line); }
.mk-table th.mk-num { text-align: right; }
.mk-table td { padding: 10px 12px; border-bottom: 1px solid #efefef; vertical-align: top; }
.mk-table tbody tr:last-child td { border-bottom: 0; }
.mk-table tbody tr:hover td { background: #f4f7ff; }
.mk-empty { text-align: center; padding: 22px 12px !important; }
.mk-table--tasks td { vertical-align: middle; }
.mk-table--tasks th:nth-child(1) { width: 56%; } .mk-table--tasks th:nth-child(2) { width: 14%; } .mk-table--tasks th:nth-child(3) { width: 16%; } .mk-table--tasks th:nth-child(4) { width: 14%; }
.mk-act { text-align: right; }
.mk-table--demand th:nth-child(1) { width: 25%; } .mk-table--demand th:nth-child(2) { width: 10%; } .mk-table--demand th:nth-child(3) { width: 12%; } .mk-table--demand th:nth-child(4) { width: 11%; } .mk-table--demand th:nth-child(5) { width: 14%; } .mk-table--demand th:nth-child(6) { width: 14%; } .mk-table--demand th:nth-child(7) { width: 14%; }
.mk-table--po th:nth-child(1) { width: 17%; } .mk-table--po th:nth-child(2) { width: 17%; } .mk-table--po th:nth-child(3) { width: 14%; } .mk-table--po th:nth-child(4) { width: 11%; } .mk-table--po th:nth-child(5) { width: 19%; } .mk-table--po th:nth-child(6) { width: 9%; } .mk-table--po th:nth-child(7) { width: 13%; }
.mk-table--po td, .mk-table--sup td { vertical-align: middle; }
.mk-table--ship th:nth-child(1) { width: 18%; } .mk-table--ship th:nth-child(2) { width: 14%; } .mk-table--ship th:nth-child(3) { width: 16%; } .mk-table--ship th:nth-child(4) { width: 17%; } .mk-table--ship th:nth-child(5) { width: 11%; } .mk-table--ship th:nth-child(6) { width: 12%; } .mk-table--ship th:nth-child(7) { width: 12%; }
.mk-table--sup th:nth-child(1) { width: 25%; } .mk-table--sup th:nth-child(2) { width: 11%; } .mk-table--sup th:nth-child(3) { width: 11%; } .mk-table--sup th:nth-child(4) { width: 11%; } .mk-table--sup th:nth-child(5) { width: 11%; } .mk-table--sup th:nth-child(6) { width: 13%; } .mk-table--sup th:nth-child(7) { width: 9%; } .mk-table--sup th:nth-child(8) { width: 9%; }
.mk-table--aging, .mk-table--inv { margin-top: 12px; }
.mk-table--aging th:first-child { width: 22%; }
.mk-table--inv th:nth-child(1) { width: 14%; } .mk-table--inv th:nth-child(2) { width: 24%; } .mk-table--inv th:nth-child(3) { width: 12%; } .mk-table--inv th:nth-child(4) { width: 16%; } .mk-table--inv th:nth-child(5) { width: 20%; } .mk-table--inv th:nth-child(6) { width: 14%; }
.mk-table--team { margin-top: 10px; }
.mk-table--team th:nth-child(1) { width: 42%; } .mk-table--team th:nth-child(2) { width: 20%; } .mk-table--team th:nth-child(3) { width: 20%; } .mk-table--team th:nth-child(4) { width: 18%; }
.mk-table--team td { vertical-align: middle; }
.mk-total td { font-weight: 600; background: #fafafa; }
.mk-task .mk-muted { margin-top: 1px; }

/* KPI figures */
.mk-group { display: flex; flex-direction: column; gap: 10px; }
.mk-group-title { font: 650 15px/1.3 var(--body); margin: 4px 0 0 !important; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mk-kpi, .mk-stat { background: #fff; border: 1px solid var(--mk-line); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.mk-kpi-label, .mk-stat-label { color: var(--mk-muted); font-size: 12px; }
.mk-kpi-value, .mk-stat-value { font: 650 22px/1.2 var(--body); margin-top: 6px; font-variant-numeric: tabular-nums; }
.mk-kpi-sub, .mk-stat-sub { color: var(--mk-muted); font-size: 12px; margin-top: 3px; }
.mk-kpi-chg { display: flex; align-items: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.mk-kpi--toggle .mk-kpi-value { margin-top: 2px; }
.mk-kpi-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.mk-panel .mk-spark { display: block; width: 100%; height: auto; margin-top: 8px; }
.mk-panel[hidden] { display: none; }
.mk-seg { display: inline-flex; border: 1px solid #c9c9c9; border-radius: 8px; overflow: hidden; background: #fff; }
.mk-seg-btn { border: 0; background: #fff; color: var(--mk-text); font: 600 11.5px/1 var(--body); padding: 6px 10px; cursor: pointer; }
.mk-seg-btn + .mk-seg-btn { border-left: 1px solid #c9c9c9; }
.mk-seg-btn:hover { background: #f1f1f1; }
.mk-seg-btn[aria-pressed="true"] { background: #303030; color: #fff; }
.mk-stats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* charts and layout helpers */
.mk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 8px; }
.mk-two > div { min-width: 0; }
.mk-sumline { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.mk-sumline b { font-weight: 650; font-size: 13px; }
.mk-right { text-align: right; }
.mk-chart { display: block; width: 100%; height: auto; font-family: inherit; }
.mk-chart text, .mk-map text { font-family: inherit; }
.mk-axis { font-size: 10.5px; fill: #5f5f5f; }
.mk-axis--strong { fill: #303030; font-size: 12px; font-weight: 600; }
.mk-axis--label { fill: #303030; font-size: 11.5px; }
.mk-axis--value { fill: #303030; font-size: 13px; font-weight: 600; }
.mk-grid { stroke: #e3e3e3; stroke-width: 1; }
.mk-grid--strong { stroke: #b8b8b8; }
.mk-pipe { margin: 10px 0 8px; }
.mk-stack { display: block; width: 100%; height: 12px; margin: 10px 0; }
.mk-mini { display: block; margin-top: 4px; }

/* filters, chips, status cards */
.mk-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 14px 16px 6px; }
.mk-chip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #c9c9c9; border-radius: 999px; background: #fff; color: var(--mk-text); font: 550 11.5px/1.3 var(--body); padding: 4px 11px; cursor: pointer; transition: background 0.12s; }
button.mk-chip:hover { background: #f1f1f1; }
.mk-chip[aria-pressed="true"], .mk-chip--on { background: #303030; border-color: #303030; color: #fff; }
.mk-chip--on, span.mk-chip { cursor: default; }
.mk-filters { display: flex; gap: 12px; padding: 10px 16px 12px; }
.mk-search { flex: 1; display: flex; align-items: center; gap: 8px; border: 1px solid #c9c9c9; border-radius: 8px; padding: 7px 11px; color: #707070; background: #fff; }
.mk-select { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; width: 190px; border: 1px solid #c9c9c9; border-radius: 8px; padding: 7px 11px; background: #fff; }
.mk-table--team .mk-select { width: 100%; max-width: 170px; }
.mk-table--team .mk-input { min-width: 0; width: 100%; max-width: 190px; }
.mk-input { display: inline-flex; align-items: center; min-width: 200px; border: 1px solid #c9c9c9; border-radius: 8px; padding: 7px 11px; background: #fff; white-space: pre; }
.mk-input--muted { color: #707070; }
.mk-cards9 { display: grid; grid-template-columns: 1.1fr 0.85fr 1.6fr 1fr 1.05fr 1.15fr 1fr 0.9fr 1.1fr; gap: 8px; }
.mk-sc { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; min-width: 0; background: #fff; border: 1px solid var(--mk-line); border-radius: 12px; padding: 10px 11px; font: inherit; color: var(--mk-text); cursor: pointer; transition: background 0.12s, border-color 0.12s; }
.mk-sc:hover { border-color: #9a9a9a; }
.mk-sc[aria-pressed="true"] { background: #ebebeb; border-color: #303030; }
.mk-sc-label { font-weight: 600; font-size: 12px; min-height: 20px; display: inline-flex; align-items: center; }
.mk-sc-pill { min-height: 20px; display: inline-flex; align-items: center; }
.mk-sc-count { font: 650 16px/1.2 var(--body); }
.mk-sc-value { font-size: 11px; color: var(--mk-muted); font-variant-numeric: tabular-nums; }
.mk-explain { padding: 14px 20px 18px; border-top: 1px solid #efefef; }
.mk-explain p { color: var(--mk-muted); margin-top: 4px; }
button:focus-visible.mk-chip, button.mk-sc:focus-visible, .mk-seg-btn:focus-visible { outline: 3px solid var(--sky-500); outline-offset: 2px; }

/* maps */
.mk-mapwrap { margin: 12px 0; background: #eef1f6; border-radius: 12px; padding: 6px; position: relative; }
.mk-map { display: block; width: 100%; height: auto; }
.mk-land { fill: #cfd7e2; }
.mk-maplabel { font-size: 15px; fill: #1f2933; }
.mk-maplabel--store { font-size: 17px; font-weight: 700; }
.mk-route path:last-child { transition: stroke-width 0.12s; }
.mk-route:hover path:last-child { stroke-width: 4.6; }
.mk-bubble circle:first-child { fill: rgba(74, 111, 220, 0.42); stroke: #3a5bd0; stroke-width: 2; transition: fill 0.12s; }
.mk-bubble:hover circle:first-child { fill: rgba(74, 111, 220, 0.66); }
.mk-legend { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }

/* accounting and team */
.mk-segnav { display: inline-flex; align-self: flex-start; border: 1px solid #c9c9c9; border-radius: 8px; background: #fff; overflow: hidden; }
.mk-segnav-item { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; font-weight: 500; }
.mk-segnav-item + .mk-segnav-item { border-left: 1px solid #c9c9c9; }
.mk-segnav-item--on { background: #ebebeb; font-weight: 650; }
.mk-pays { margin-top: 6px; }
.mk-pay { display: flex; justify-content: space-between; align-items: flex-start; padding: 9px 0; border-top: 1px solid #efefef; }
.mk-pay:first-child { border-top: 0; }
.mk-thresh { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.mk-thresh .mk-input { flex: 1; }
.mk-access { display: flex; align-items: center; gap: 8px; }
.mk-check { width: 15px; height: 15px; border-radius: 4px; background: #303030; color: #fff; display: inline-grid; place-items: center; }
.mk-check .mi { width: 11px; height: 11px; vertical-align: 0; }
.mk-roles { display: grid; gap: 10px; margin-top: 8px; }
.mk-role { display: flex; align-items: center; gap: 16px; }
.mk-role .mk-pill { min-width: 86px; justify-content: center; }
.mk-table--team td .mk-pill { margin-left: 6px; }

/* ---------------------------------------------------------------- phone versions: real size text, 12px or more */
.mk-m { padding: 12px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; width: 100%; }
.mk-m .mk-muted, .mk-m .mk-m-kpi-sub { font-size: 13px; }
.mk-m h3 { font-size: 15px; margin-bottom: 2px; }
.mk-m-card { background: #fff; border: 1px solid var(--mk-line); border-radius: 12px; padding: 12px 14px; }
.mk-m-list { list-style: none; margin: 8px 0 0; padding: 0; }
.mk-m-list > li { padding: 10px 0; border-top: 1px solid #efefef; display: flex; flex-direction: column; gap: 4px; }
.mk-m-list > li:first-child { border-top: 0; }
.mk-m-list > li[hidden] { display: none; }
.mk-m-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mk-m-row--start { justify-content: flex-start; flex-wrap: wrap; }
.mk-m-foot { margin-top: 8px; }
.mk-m-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-m-kpi { background: #fff; border: 1px solid var(--mk-line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.mk-m-kpi-label { font-size: 12.5px; color: var(--mk-muted); }
.mk-m-kpi-value { font: 650 19px/1.25 var(--body); margin-top: 2px; font-variant-numeric: tabular-nums; }
.mk-m-kpi-sub { color: var(--mk-muted); }
.mk-m-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.mk-m-chips .mk-chip { flex: none; font-size: 13px; padding: 7px 13px; }
.mk-m-chipsrow { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-m .mk-pill, .mk-m .mk-badge { font-size: 12px; padding: 3px 9px; }
.mk-m .mk-pill .mi { width: 12px; height: 12px; }
.mk-m .mk-btn--small { font-size: 13px; padding: 5px 14px; }
.mk-m .mk-banner-head, .mk-m .mk-link { font-size: 13px; }
.mk-m-ages { list-style: none; margin: 8px 0 0; padding: 0; }
.mk-m-ages li { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.mk-m-ages li b { margin-left: auto; font-variant-numeric: tabular-nums; }
.mk-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.mk-dot--b1 { background: #3c8a62; } .mk-dot--b2 { background: #a68f1e; } .mk-dot--b3 { background: #dc8a1f; } .mk-dot--b4 { background: #cb4125; } .mk-dot--b5 { background: #8d2b15; }
.mk-m .mk-stack { margin: 8px 0 4px; }

/* ---------------------------------------------------------------- full screen view */
dialog.fs { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100dvh; background: #dbe6ee; color: var(--ink); }
dialog.fs::backdrop { background: #072035; }
body:has(dialog.fs[open]) { overflow: hidden; }
.fs-wrap { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; }
.fs-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.fs-bar h2 { font: 700 1.0625rem/1.2 var(--display); letter-spacing: -0.01em; }
.fs-bar span { color: var(--muted); font-size: 0.875rem; margin-left: 8px; font-weight: 400; font-family: var(--body); }
.fs-close { font: 600 0.9375rem/1 var(--body); color: #fff; background: var(--sky-700); border: 1.5px solid var(--sky-700); border-radius: 10px; padding: 10px 16px; cursor: pointer; }
.fs-close:hover { background: var(--ink); border-color: var(--ink); }
.fs-body { overflow: auto; padding: 16px; }
.fs-body .mk-screen { margin: 0 auto; box-shadow: 0 10px 40px -12px rgba(7, 32, 53, 0.35); border-radius: 8px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .mk-route path, .mk-bubble circle, .mk-chip, .mk-sc { transition: none !important; }
}

/* Home panels: figure cards inside a white panel */
.mk-group.mk-card--pad { padding: 16px; }
.mk-group .mk-kpis { margin-top: 10px; }
.mk-kpis--4 { grid-template-columns: repeat(4, 1fr); }
.mk-group .mk-kpi { border-radius: 10px; }
.mk-note-grey { color: #707070; font-size: 11.5px; margin-top: 4px; }
.mk-kpi--toggle { position: relative; }
.mk-kpi--toggle .mk-seg { position: absolute; top: 12px; right: 14px; }
.mk-seg-check { display: none; margin-right: 4px; }
.mk-seg-check .mi { width: 11px; height: 11px; vertical-align: -1px; }
.mk-seg-btn[aria-pressed="true"] .mk-seg-check { display: inline-flex; }
