/* ==========================================================================
   VERTASSIT — the animated product mocks
   Scripted, non-interactive copies of VERT STAFF (a phone) and VERT FLEET
   (the manager's dashboard), drawn in the apps' own design language:
   Charcoal ground, Bone ink, frosted glass, Vertassit Sans, N27 for the
   wordmarks. Each mock is laid out at the apps' real pixel size inside
   .mock-canvas and scaled to fit its .mock-fit frame by js/mocks.js, so the
   proportions always match the products.
   ========================================================================== */

.mock-fit {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.mock-canvas {
  --k: 0.75;   /* scale, set by mocks.js from the frame's width */
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--k));
  transform-origin: 0 0;

  /* the apps' dark tokens (VERT FLEET / VERT STAFF, dark theme) */
  --m-bg: #242422;
  --m-bezel: #161615;
  --m-ink: #e9e3d7;
  --m-ink-2: rgba(233, 227, 215, 0.66);
  --m-ink-3: rgba(233, 227, 215, 0.42);
  --m-line: rgba(233, 227, 215, 0.09);
  --m-line-strong: rgba(233, 227, 215, 0.18);
  --m-inset: rgba(233, 227, 215, 0.08);
  --m-solid: #e9e3d7;
  --m-on-solid: #2a2a28;
  --m-glass: rgba(56, 55, 51, 0.46);
  --m-glass-strong: rgba(64, 63, 58, 0.62);
  --m-glass-edge: rgba(233, 227, 215, 0.1);
  --m-edge-hi: rgba(233, 227, 215, 0.07);
  --m-card-inset: rgba(233, 227, 215, 0.05);
  --m-accent: #a3b4a1;
  --m-accent-soft: rgba(163, 180, 161, 0.16);
  --m-accent-text: #b9cab7;
  --m-on-go: #1e1f1c;
  --m-open: #e0a52c;
  --m-open-soft: rgba(224, 165, 44, 0.16);
  --m-open-text: #e9bb5e;
  --m-late: #e5584a;
  --m-late-soft: rgba(229, 88, 74, 0.16);
  --m-ok: #93b59a;
  --m-ok-soft: rgba(147, 181, 154, 0.15);
  --m-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --m-shadow-card: 0 1px 2px rgba(0, 0, 0, 0.18), 0 22px 50px -24px rgba(0, 0, 0, 0.6);
  --m-shadow-float: 0 2px 6px rgba(0, 0, 0, 0.25), 0 32px 80px -28px rgba(0, 0, 0, 0.7);

  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--m-ink);
  -webkit-font-smoothing: antialiased;
  pointer-events: none;
  user-select: none;
}

.mock-canvas * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mock-canvas ul {
  list-style: none;
}

.m-glass {
  background: linear-gradient(160deg, var(--m-glass-strong), var(--m-glass));
  border: 1px solid var(--m-glass-edge);
  box-shadow: 0 0 0 1px var(--m-line), var(--m-shadow-card), inset 0 1px 0 var(--m-edge-hi);
}

/* the V in a solid disc, as in both apps */
.m-logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--m-solid);
  color: var(--m-on-solid);
}

.m-logo svg {
  width: 17px;
  height: 11px;
  fill: currentColor;
}

.m-wordmark {
  font-family: 'N27', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.m-wordmark b {
  font-weight: 700;
}

.m-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--m-ink-2);
  background: var(--m-glass-strong);
  border: 1px solid var(--m-line);
}

.m-pill b {
  font-weight: 500;
  font-size: 12px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--m-inset);
  color: var(--m-ink-2);
  font-variant-numeric: tabular-nums;
}

.m-live {
  color: var(--m-accent-text);
  background: var(--m-accent-soft);
  border-color: transparent;
  transition: background 0.4s, color 0.4s;
}

.m-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: m-blink 2.2s ease-in-out infinite;
}

@keyframes m-blink {
  50% { opacity: 0.3; }
}

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.18s var(--m-ease), background 0.25s, color 0.25s;
}

.m-btn--solid {
  background: var(--m-solid);
  color: var(--m-on-solid);
}

.m-btn--ghost {
  background: var(--m-glass-strong);
  border-color: var(--m-line);
  color: var(--m-ink-2);
}

.m-btn--go {
  background: var(--m-accent);
  color: var(--m-on-go);
}

/* a tap, played by the script */
.m-btn.is-pressed {
  transform: scale(0.94);
  background: #f3eee4;
}

.m-btn--go.is-pressed {
  background: #b9cab7;
}

/* ==========================================================================
   VERT STAFF — the phone (396 × 860, the app's own device frame)
   Scenes, set on .mock-staff[data-scene] by mocks.js:
     home → listen → confirm → confirmed → done → toast → home …
   ========================================================================== */

.mock-fit--phone {
  max-width: 22rem;
  margin-inline: auto;
}

.mock-fit--fleet {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* cropped to the building card on phones, so it needs its own corners */
@media (max-width: 45rem) {
  .mock-fit--fleet {
    border-radius: var(--radius-md);
  }
}

.ms-device {
  position: relative;
  width: 396px;
  height: 860px;
  padding: 10px;
  border-radius: 58px;
  background: var(--m-bezel);
  box-shadow:
    0 0 0 1px rgba(233, 227, 215, 0.08),
    0 50px 90px -40px rgba(0, 0, 0, 0.75),
    0 24px 40px -24px rgba(0, 0, 0, 0.5);
}

.ms-device::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 50%;
  z-index: 9;
  width: 108px;
  height: 31px;
  border-radius: 20px;
  background: var(--m-bezel);
  transform: translateX(-50%);
}

.ms-app {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 48px;
  background: var(--m-bg);
  isolation: isolate;
}

/* soft colour fields behind the glass, as in the app */
.ms-ambient,
.mf-ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.ms-ambient i,
.mf-ambient i {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: m-float 38s ease-in-out infinite alternate;
}

.ms-ambient .b1 { width: 22rem; height: 18rem; left: -9rem; top: 30%; background: #5b4e3a; }
.ms-ambient .b2 { width: 20rem; height: 20rem; right: -9rem; top: -5rem; background: #2f4a3a; animation-delay: -12s; }
.ms-ambient .b3 { width: 20rem; height: 16rem; right: -4rem; bottom: -8rem; background: #4a3d33; animation-delay: -24s; }

@keyframes m-float {
  to { transform: translate3d(3rem, -2rem, 0) scale(1.1); }
}

.ms-bar {
  position: absolute;
  top: 56px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ms-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ms-initials {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: var(--m-ink);
  background: linear-gradient(150deg, #5d7b5a, #2c553a);
}

.mock-staff[data-scene='confirmed'] .m-live {
  background: var(--m-open-soft);
  color: var(--m-open-text);
}

/* ---- the two layers: home, and the conversation ---- */

.ms-home,
.ms-talk {
  position: absolute;
  left: 0;
  right: 0;
  top: 104px;
  bottom: 84px;
  display: flex;
  flex-direction: column;
  transition: opacity 0.6s var(--m-ease), transform 0.6s var(--m-ease);
}

.ms-talk {
  opacity: 0;
  transform: translateY(14px);
}

.mock-staff:not([data-scene='home']):not([data-scene='listen']):not([data-scene='toast']) .ms-home {
  opacity: 0;
  transform: translateY(-10px);
}

.mock-staff:not([data-scene='home']):not([data-scene='listen']):not([data-scene='toast']) .ms-talk {
  opacity: 1;
  transform: none;
}

.ms-welcome {
  padding: 18px 22px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-headline {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.m-headline .hl2 {
  color: var(--m-ink-3);
}

.m-liveline {
  font-size: 13.5px;
  color: var(--m-ink-2);
}

.ms-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* the orb: the Fleet mark grown, a frosted ring around a solid disc */
.ms-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 156px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.ms-orb > * {
  grid-area: 1 / 1;
}

.ms-orb-glow {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--m-accent-soft) 0%, transparent 62%);
  opacity: 0;
  transition: opacity 0.5s var(--m-ease);
}

.ms-orb-glass {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--m-glass-strong), var(--m-glass));
  border: 1px solid var(--m-glass-edge);
  box-shadow: 0 0 0 1px var(--m-line), var(--m-shadow-card), inset 0 1px 0 var(--m-edge-hi);
}

.ms-orb-glass::after {
  content: '';
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: var(--m-solid);
  transition: background 0.3s;
}

.ms-orb-mark {
  position: relative;
  width: 25%;
  height: 25%;
  /* the V's path paints in currentColor */
  color: var(--m-on-solid);
  transition: color 0.3s;
}

.ms-orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--m-accent);
  opacity: 0;
}

.mock-staff[data-scene='listen'] .ms-orb-glow {
  opacity: 1;
}

.mock-staff[data-scene='listen'] .ms-orb-glass::after {
  background: var(--m-accent);
  animation: ms-voice 0.9s ease-in-out infinite alternate;
}

.mock-staff[data-scene='listen'] .ms-orb-mark {
  color: var(--m-on-go);
}

.mock-staff[data-scene='listen'] .ms-orb-ring {
  animation: ms-ring 2.6s var(--m-ease) infinite;
}

.mock-staff[data-scene='listen'] .ms-orb-ring.r2 {
  animation-delay: 1.3s;
}

@keyframes ms-ring {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 0; transform: scale(1.45); }
}

/* the disc breathes with the voice it hears */
@keyframes ms-voice {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.ms-status {
  min-height: 1.4em;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--m-ink-2);
}

.ms-prompts {
  padding: 0 16px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ms-prompts li {
  padding: 7px 14px;
  border-radius: 18px;
  font-size: 13px;
  color: var(--m-ink-2);
  background: var(--m-glass-strong);
  border: 1px solid var(--m-line);
}

.mock-staff[data-scene='listen'] .ms-prompts li:first-child {
  color: var(--m-ink);
  border-color: var(--m-line-strong);
}

/* ---- the conversation layer ---- */

.ms-docked {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
}

.ms-docked .m-logo {
  width: 44px;
  height: 44px;
}

.ms-docked .m-logo svg {
  width: 18px;
  height: 12px;
}

.ms-docked .ms-status {
  font-size: 15px;
}

.ms-thread {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px 16px 0;
}

.ms-msg {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--m-ease), transform 0.45s var(--m-ease);
}

.ms-msg.is-in {
  opacity: 1;
  transform: none;
}

.ms-said-staff {
  align-items: flex-end;
  gap: 5px;
}

.ms-said-staff .who {
  font-size: 11.5px;
  color: var(--m-ink-3);
  padding-right: 4px;
}

.ms-said-staff .said {
  padding: 9px 14px;
  border-radius: 18px 18px 6px 18px;
  font-size: 14px;
  background: var(--m-inset);
}

.ms-said-vert .said {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

/* the confirmation card */
.ms-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
}

.ms-card .m-logo {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 26px;
  height: 26px;
}

.ms-card .m-logo svg {
  width: 13px;
  height: 8px;
}

.ms-card-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.ms-kv {
  display: grid;
  grid-template-columns: 96px 1fr;
}

.ms-kv dt,
.ms-kv dd {
  padding: 8px 0;
  border-top: 1px solid var(--m-line);
  font-size: 13.5px;
}

.ms-kv dt {
  color: var(--m-ink-3);
}

.ms-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.ms-resolution {
  display: none;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--m-ok-soft);
  color: var(--m-ok);
}

.ms-resolution::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.mock-staff[data-scene='confirmed'] .ms-actions,
.mock-staff[data-scene='done'] .ms-actions {
  display: none;
}

.mock-staff[data-scene='confirmed'] .ms-resolution,
.mock-staff[data-scene='done'] .ms-resolution {
  display: inline-flex;
}

/* completion steps tick in one after another */
.ms-steps {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ms-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--m-ink-2);
  opacity: 0;
  transition: opacity 0.35s;
}

.ms-steps li::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--m-ok-soft) center / 10px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393b59a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.ms-msg.is-in .ms-steps li { opacity: 1; }
.ms-msg.is-in .ms-steps li:nth-child(2) { transition-delay: 0.45s; }
.ms-msg.is-in .ms-steps li:nth-child(3) { transition-delay: 0.9s; }
.ms-msg.is-in .ms-steps li:nth-child(4) { transition-delay: 1.35s; }

/* ---- composer ---- */

.ms-composer {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 52px;
  padding: 0 5px 0 20px;
  border-radius: 999px;
}

.ms-input {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  color: var(--m-ink-3);
}

.ms-typed {
  color: var(--m-ink);
}

.ms-typed:not(:empty) + .ms-ph {
  display: none;
}

.ms-typed:not(:empty)::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--m-accent);
  animation: m-blink 1s steps(1) infinite;
}

.ms-mic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--m-ink-2);
  transition: background 0.3s, color 0.3s;
}

.ms-mic svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
}

.mock-staff[data-scene='listen'] .ms-mic {
  background: var(--m-accent);
  color: var(--m-on-go);
}

/* ---- the incoming guest request ---- */

.ms-toast {
  position: absolute;
  top: 52px;
  left: 12px;
  right: 12px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(52, 51, 47, 0.96), rgba(38, 38, 35, 0.94));
  box-shadow: 0 0 0 1px var(--m-glass-edge), var(--m-shadow-float);
  opacity: 0;
  transform: translateY(-130%);
  transition: transform 0.6s var(--m-ease), opacity 0.4s;
}

.mock-staff[data-scene='toast'] .ms-toast {
  opacity: 1;
  transform: none;
}

.ms-toast strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}

.ms-toast small {
  display: block;
  font-size: 12.5px;
  color: var(--m-ink-3);
}

/* ==========================================================================
   VERT FLEET — the dashboard (1280 × 760)
   ========================================================================== */

.mf {
  position: relative;
  width: 1280px;
  height: 760px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--m-bg);
  border: 1px solid rgba(233, 227, 215, 0.08);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.32);
  isolation: isolate;
}

.mf-ambient .b1 { width: 40rem; height: 30rem; left: 10rem; top: 16rem; background: #3a3428; opacity: 0.35; }
.mf-ambient .b2 { width: 34rem; height: 34rem; right: -8rem; top: -10rem; background: #263a2e; opacity: 0.35; animation-delay: -12s; }

/* left rail */
.mf-rail {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 14px;
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.mf-rail .m-logo {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}

.mf-rail-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--m-glass-strong);
  border: 1px solid var(--m-line);
  color: var(--m-ink-2);
}

.mf-rail-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
}

.mf-rail-gap {
  flex: 1;
}

.mf-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(150deg, #8b8577, #5e594f);
}

/* top bar */
.mf-top {
  position: absolute;
  top: 16px;
  left: 82px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mf-top .m-wordmark {
  margin-right: 22px;
  font-size: 16px;
}

.mf-tab.is-active {
  background: var(--m-solid);
  color: var(--m-on-solid);
  border-color: var(--m-solid);
}

.mf-top-gap {
  flex: 1;
}

.mf-search {
  width: 220px;
  color: var(--m-ink-3);
}

.mf-search kbd {
  margin-left: auto;
  font: inherit;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--m-inset);
}

.mf-clock {
  font-variant-numeric: tabular-nums;
}

/* headline */
.mf-head {
  position: absolute;
  top: 82px;
  left: 96px;
  right: 40px;
}

.mf-head .m-headline {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.mf-stats {
  margin-top: 10px;
  font-size: 14px;
  color: var(--m-ink-2);
}

.mf-stats b {
  font-weight: 600;
  color: var(--m-ink);
  font-variant-numeric: tabular-nums;
}

/* the two cards */
.mf-card {
  position: absolute;
  top: 236px;
  bottom: 20px;
  border-radius: 28px;
  padding: 20px 22px;
}

.mf-shift {
  left: 96px;
  width: 640px;
}

.mf-needs {
  left: 752px;
  right: 22px;
  overflow: hidden;
}

.mf-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mf-card-head h4 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.mf-floors {
  display: flex;
  gap: 4px;
}

.mf-floors span {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--m-ink-2);
  background: var(--m-inset);
}

.mf-floors span.is-active {
  background: var(--m-solid);
  color: var(--m-on-solid);
}

.mf-building {
  position: absolute;
  left: 0;
  right: 0;
  top: 58px;
  bottom: 74px;
  width: 100%;
  height: calc(100% - 132px);
}

.mf-legend {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--m-line);
}

.mf-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--m-ink-2);
  background: var(--m-inset);
}

.mf-legend i {
  width: 9px;
  height: 9px;
  background: var(--c);
}

.mf-legend .s-circle { border-radius: 50%; }
.mf-legend .s-diamond { transform: rotate(45deg) scale(0.85); }
.mf-legend .s-tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* Needs you */
.mf-needs-sub {
  margin-top: 6px;
  max-width: 34ch;
  font-size: 12.5px;
  color: var(--m-ink-3);
}

.mf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--m-late);
  background: var(--m-late-soft);
  white-space: nowrap;
}

.mf-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.mf-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}

.mf-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 4px 10px;
  padding: 14px 0;
  border-top: 1px solid var(--m-line);
  max-height: 200px;
  overflow: hidden;
  transition:
    opacity 0.5s var(--m-ease),
    transform 0.5s var(--m-ease),
    max-height 0.6s var(--m-ease),
    padding 0.6s var(--m-ease);
}

.mf-item:first-child {
  border-top: 0;
}

.mf-item.is-new {
  opacity: 0;
  transform: translateY(-12px);
}

.mf-item.is-leaving {
  opacity: 0;
  max-height: 0;
  padding-block: 0;
}

.mf-dot {
  margin-top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--m-open);
  transition: background 0.4s, box-shadow 0.4s;
}

.mf-item[data-p='late'] .mf-dot {
  background: var(--m-late);
  box-shadow: 0 0 0 3px var(--m-late-soft);
}

.mf-item.is-sorted .mf-dot {
  background: var(--m-ok);
  box-shadow: 0 0 0 3px var(--m-ok-soft);
}

.mf-item-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mf-title {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.mf-title small {
  margin-left: 6px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--m-ink-3);
  transition: color 0.4s;
}

.mf-item.is-sorted .mf-title small {
  color: var(--m-ok);
}

.mf-meta {
  font-size: 12.5px;
  color: var(--m-ink-2);
}

.mf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mf-chips span {
  height: 22px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--m-ink-2);
  background: var(--m-inset);
}

.mf-chips span.is-vip {
  color: var(--m-on-solid);
  background: var(--m-solid);
}

.mf-chips span.is-warn {
  color: var(--m-open-text);
  background: var(--m-open-soft);
}

.mf-acts {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

.mf-acts .m-btn {
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
}

.mf-item.is-sorted .mf-acts {
  display: none;
}

/* reduced motion: the mocks hold one telling frame */
@media (prefers-reduced-motion: reduce) {
  .mock-canvas *,
  .mock-canvas *::before,
  .mock-canvas *::after {
    animation: none !important;
    transition: none !important;
  }
}
