/* ==========================================================================
   Foggy Mountain — App UI kit (fm-app.css) · v2 "premium"
   Built from Brand Guidelines V1.0 (Jan 2024): Panton family, brand indigo
   #2E3192 plus five accent colours (amber, crimson, green, orange, sky).
   v2: quieter surfaces, hairline borders, layered soft shadows, refined type
   scale, deep-ink navigation rail, calmer data tables, glass action bars.
   Every class is prefixed fm- so it can sit beside the public-site CSS.
   ========================================================================== */

@font-face { font-family: 'Panton'; font-weight: 300; font-style: normal; font-display: swap; src: url('Panton-Light-CVKSYtvO.otf') format('opentype'); }
@font-face { font-family: 'Panton'; font-weight: 400; font-style: normal; font-display: swap; src: url('Panton-Regular-BVQUNQUS.otf') format('opentype'); }
@font-face { font-family: 'Panton'; font-weight: 600; font-style: normal; font-display: swap; src: url('Panton-SemiBold-B0_PlCD9.otf') format('opentype'); }
@font-face { font-family: 'Panton'; font-weight: 700; font-style: normal; font-display: swap; src: url('Panton-Bold-BoRe7d_k.otf') format('opentype'); }
@font-face { font-family: 'Panton'; font-weight: 800; font-style: normal; font-display: swap; src: url('Panton-ExtraBold-De0x0lGk.otf') format('opentype'); }
@font-face { font-family: 'Panton'; font-weight: 900; font-style: normal; font-display: swap; src: url('Panton-Heavy-D2MqX5nE.otf') format('opentype'); }
@font-face { font-family: 'Material Symbols Outlined'; font-weight: 100 700; font-style: normal; font-display: block; src: url('MaterialSymbolsOutlined.woff2') format('woff2'); }

:root {
  /* Brand palette — exact values from the guidelines */
  --fm-indigo: #2E3192;
  --fm-amber: #F9A600;
  --fm-crimson: #E93647;
  --fm-green: #89C540;
  --fm-orange: #F05F28;
  --fm-sky: #5AC7EF;

  /* Indigo ramp */
  --fm-indigo-950: #11133A;
  --fm-indigo-900: #181B52;
  --fm-indigo-800: #22256F;
  --fm-indigo-700: #282B86;
  --fm-indigo-500: #4C4FB4;
  --fm-indigo-300: #A2A4DC;
  --fm-indigo-200: #CFD0EF;
  --fm-indigo-100: #E9EAF8;
  --fm-indigo-50: #F4F4FC;

  /* Text-safe inks of the bright accents (4.5:1+ on white) */
  --fm-amber-ink: #885800;
  --fm-green-ink: #436B18;
  --fm-sky-ink: #0A6A8E;
  --fm-crimson-ink: #BE1E2F;
  --fm-orange-ink: #AE390C;

  /* Tints */
  --fm-amber-tint: #FFF6E0;
  --fm-green-tint: #F0F8E6;
  --fm-sky-tint: #E8F7FD;
  --fm-crimson-tint: #FDEDEE;
  --fm-orange-tint: #FEF0E9;

  /* Neutrals (cool, indigo-toned) */
  --fm-ink: #14163A;
  --fm-ink-2: #4A4D72;
  --fm-ink-3: #6B6E92;
  --fm-bg: #F6F6FA;
  --fm-surface: #FFFFFF;
  --fm-sunk: #F1F2F8;
  --fm-line: #E7E8F1;
  --fm-line-strong: #D3D5E6;

  --fm-font: 'Panton', 'Open Sans', system-ui, -apple-system, sans-serif;
  --fm-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --fm-r-sm: 8px; --fm-r-md: 12px; --fm-r-lg: 20px; --fm-r-xl: 28px; --fm-r-pill: 999px;
  --fm-sh-1: 0 1px 2px rgba(20,22,58,.04), 0 2px 8px -2px rgba(20,22,58,.05);
  --fm-sh-2: 0 1px 2px rgba(20,22,58,.04), 0 12px 32px -12px rgba(20,22,58,.14);
  --fm-sh-3: 0 2px 6px rgba(20,22,58,.06), 0 28px 60px -20px rgba(20,22,58,.30);
  --fm-ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------------------------------------------------------- */
.fm, .fm * { box-sizing: border-box; }
.fm { font-family: var(--fm-font); color: var(--fm-ink); background: var(--fm-bg); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; min-height: 100vh; font-feature-settings: 'kern' 1; }
.fm a { color: var(--fm-indigo); text-decoration: none; transition: color .15s var(--fm-ease); }
.fm a:hover { color: var(--fm-indigo-800); }
.fm h1, .fm h2, .fm h3, .fm h4, .fm p { margin: 0; }
.fm h1, .fm h2, .fm h3 { text-wrap: balance; }
.fm p { text-wrap: pretty; }
.fm button, .fm input, .fm select, .fm textarea { font-family: inherit; }
.fm img { max-width: 100%; display: block; }
.fm :focus-visible { outline: 3px solid rgba(90,199,239,.6); outline-offset: 2px; }
.fm ::selection { background: var(--fm-indigo-100); }

.ms { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; font-size: 20px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' 0, 'wght' 350, 'GRAD' 0, 'opsz' 24; flex: none; }
.ms.fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.ms.sm { font-size: 18px; } .ms.lg { font-size: 26px; } .ms.xl { font-size: 36px; }

/* ---------- Type ---------------------------------------------------------- */
.fm-eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--fm-indigo-500); display: inline-flex; align-items: center; gap: 8px; }
.fm-h1 { font-size: clamp(28px, 1.6vw + 16px, 40px); font-weight: 800; line-height: 1.08; letter-spacing: -.022em; color: var(--fm-ink); }
.fm-h2 { font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -.015em; }
.fm-h3 { font-size: 17px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.fm-sub { font-size: 15.5px; color: var(--fm-ink-2); max-width: 68ch; line-height: 1.6; }
.fm-muted { color: var(--fm-ink-3); }
.fm-small { font-size: 13px; }
.fm-xs { font-size: 12px; }
.fm-mono { font-family: var(--fm-mono); font-size: 12.5px; letter-spacing: 0; }
.fm-strong { font-weight: 800; }
.fm-num { font-variant-numeric: tabular-nums; }

/* ---------- Layout helpers ----------------------------------------------- */
.fm-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fm-row-tight { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fm-col { display: flex; flex-direction: column; gap: 12px; }
.fm-stack { display: flex; flex-direction: column; gap: 24px; }
.fm-spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fm-grow { flex: 1 1 auto; min-width: 0; }
.fm-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.fm-grid-sm { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.fm-split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.fm-split > .fm-main-col { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.fm-split > .fm-side-col { flex: 1 1 320px; min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 24px; }
.fm-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.fm-divider { height: 1px; background: var(--fm-line); border: 0; margin: 0; }

/* ---------- Staff shell: deep-ink rail + content -------------------------- */
.fm-shell { display: flex; flex-wrap: wrap; min-height: 100vh; background: var(--fm-bg); align-items: stretch; }
.fm-rail { flex: 0 0 264px; background: radial-gradient(120% 40% at 0% 0%, rgba(76,79,180,.55) 0%, rgba(76,79,180,0) 60%), var(--fm-indigo-900); color: #fff; display: flex; flex-direction: column; gap: 4px; padding: 22px 16px 18px; position: relative; overflow: hidden; border-right: 1px solid rgba(255,255,255,.06); }
.fm-rail::after { content: ''; position: absolute; left: -30px; right: -30px; bottom: -6px; height: 90px; background: url('graphic-waves.svg') center bottom / 150% auto no-repeat; opacity: .07; pointer-events: none; }
.fm-rail-brand { display: flex; align-items: center; gap: 12px; padding: 2px 8px 20px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
.fm-rail-logo { width: 58px; height: auto; flex: none; }
.fm-rail-app { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fm-rail-app b { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.01em; }
.fm-rail-role { display: inline-flex; align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--fm-indigo-950); background: var(--fm-amber); border-radius: var(--fm-r-pill); padding: 3px 9px; }
.fm-rail-sec { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(207,208,239,.55); padding: 16px 12px 6px; }
.fm-nav { display: flex; flex-direction: column; gap: 2px; }
.fm-rail a.fm-nav-item, .fm-nav-item { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 8px 12px; border-radius: 12px; color: rgba(233,234,248,.78); font-size: 14px; font-weight: 600; text-decoration: none; position: relative; transition: background .15s var(--fm-ease), color .15s var(--fm-ease); }
.fm-rail a.fm-nav-item .ms { color: rgba(207,208,239,.75); transition: color .15s; }
.fm-rail a.fm-nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.fm-rail a.fm-nav-item.is-active { background: rgba(255,255,255,.11); color: #fff; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.fm-rail a.fm-nav-item.is-active .ms { color: var(--fm-amber); font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.fm-rail a.fm-nav-item.is-active::before { content: ''; position: absolute; left: -16px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--fm-amber); }
.fm-nav-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--fm-orange); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.fm-rail-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); position: relative; z-index: 1; }
.fm-rail-user b { display: block; font-size: 13.5px; color: #fff; }
.fm-rail-user span { font-size: 12px; color: var(--fm-indigo-200); }

.fm-content { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.fm-topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 68px; padding: 12px 36px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--fm-line); }
.fm-topbar .fm-search { background: var(--fm-sunk); border-color: transparent; }
.fm-page { padding: 36px 36px 72px; display: flex; flex-direction: column; gap: 28px; width: 100%; max-width: 1360px; margin: 0 auto; }
.fm-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.fm-page-head > div:first-child { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1 1 420px; }
.fm-page-head > div:last-child:not(:first-child) { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fm-crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--fm-ink-3); }
.fm-crumbs a { color: var(--fm-ink-2); font-weight: 600; }
.fm-crumbs a:hover { color: var(--fm-indigo); }
.fm-crumbs .ms { font-size: 16px; color: var(--fm-line-strong); }

/* ---------- Buttons -------------------------------------------------------- */
.fm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--fm-r-pill); border: 1px solid transparent; font-family: var(--fm-font); font-size: 14px; font-weight: 700; letter-spacing: .005em; line-height: 1; cursor: pointer; text-decoration: none; white-space: nowrap; background: var(--fm-sunk); color: var(--fm-ink); transition: background-color .18s var(--fm-ease), color .18s var(--fm-ease), border-color .18s var(--fm-ease), box-shadow .18s var(--fm-ease), transform .18s var(--fm-ease); }
.fm-btn:active { transform: translateY(1px); }
.fm a.fm-btn { color: inherit; }
.fm-btn .ms { font-size: 19px; }
.fm-btn-primary, .fm a.fm-btn-primary { background: var(--fm-indigo); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(20,22,58,.2), 0 6px 16px -6px rgba(46,49,146,.55); }
.fm-btn-primary:hover, .fm a.fm-btn-primary:hover { background: var(--fm-indigo-800); color: #fff; }
.fm-btn-cta, .fm a.fm-btn-cta { background: var(--fm-amber); color: var(--fm-indigo-950); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(136,88,0,.25), 0 8px 20px -8px rgba(249,166,0,.7); }
.fm-btn-cta:hover, .fm a.fm-btn-cta:hover { background: #F0A000; color: var(--fm-indigo-950); }
.fm-btn-outline, .fm a.fm-btn-outline { background: #fff; color: var(--fm-ink); border-color: var(--fm-line-strong); box-shadow: 0 1px 2px rgba(20,22,58,.05); }
.fm-btn-outline:hover, .fm a.fm-btn-outline:hover { border-color: var(--fm-indigo-300); background: var(--fm-indigo-50); color: var(--fm-indigo); }
.fm-btn-ghost, .fm a.fm-btn-ghost { background: transparent; color: var(--fm-indigo); }
.fm-btn-ghost:hover, .fm a.fm-btn-ghost:hover { background: var(--fm-indigo-50); }
.fm-btn-danger, .fm a.fm-btn-danger { background: var(--fm-crimson-ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 6px 16px -8px rgba(190,30,47,.6); }
.fm-btn-danger:hover, .fm a.fm-btn-danger:hover { background: #9E1726; color: #fff; }
.fm-btn-danger-outline, .fm a.fm-btn-danger-outline { background: #fff; color: var(--fm-crimson-ink); border-color: #F3C7CC; }
.fm-btn-danger-outline:hover, .fm a.fm-btn-danger-outline:hover { background: var(--fm-crimson-tint); color: var(--fm-crimson-ink); }
.fm-btn-success, .fm a.fm-btn-success { background: var(--fm-green-ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 6px 16px -8px rgba(67,107,24,.6); }
.fm-btn-light, .fm a.fm-btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.fm-btn-light:hover, .fm a.fm-btn-light:hover { background: rgba(255,255,255,.2); color: #fff; }
.fm-btn-sm { min-height: 36px; padding: 7px 14px; font-size: 13px; }
.fm-btn-sm .ms { font-size: 17px; }
.fm-btn-lg { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.fm-btn-block { width: 100%; }
.fm-btn-icon { width: 40px; min-height: 40px; padding: 0; border-radius: 50%; }
.fm-btn[disabled], .fm-btn.is-disabled { opacity: .42; cursor: not-allowed; box-shadow: none; transform: none; }

/* ---------- Cards --------------------------------------------------------- */
.fm-card { background: var(--fm-surface); border: 1px solid var(--fm-line); border-radius: var(--fm-r-lg); box-shadow: var(--fm-sh-1); display: flex; flex-direction: column; min-width: 0; }
.fm-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 24px; border-bottom: 1px solid var(--fm-line); }
.fm-card-head h2, .fm-card-head h3 { font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.fm-card-body { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.fm-card-foot { padding: 16px 24px; border-top: 1px solid var(--fm-line); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; background: #FAFAFD; border-radius: 0 0 var(--fm-r-lg) var(--fm-r-lg); }
.fm-card-flat { box-shadow: none; }
.fm-card-indigo { background: radial-gradient(120% 90% at 100% 0%, rgba(90,199,239,.18) 0%, rgba(90,199,239,0) 55%), var(--fm-indigo); color: #fff; border-color: transparent; position: relative; overflow: hidden; box-shadow: var(--fm-sh-2); }
.fm-card-indigo .fm-muted { color: var(--fm-indigo-200); }
.fm-card-indigo .fm-card-head { border-color: rgba(255,255,255,.12); }

/* Module tiles coloured by brand concept */
.fm-tone-amber { --tone: var(--fm-amber); --tone-ink: var(--fm-amber-ink); --tone-tint: var(--fm-amber-tint); }
.fm-tone-green { --tone: var(--fm-green); --tone-ink: var(--fm-green-ink); --tone-tint: var(--fm-green-tint); }
.fm-tone-crimson { --tone: var(--fm-crimson); --tone-ink: var(--fm-crimson-ink); --tone-tint: var(--fm-crimson-tint); }
.fm-tone-orange { --tone: var(--fm-orange); --tone-ink: var(--fm-orange-ink); --tone-tint: var(--fm-orange-tint); }
.fm-tone-sky { --tone: var(--fm-sky); --tone-ink: var(--fm-sky-ink); --tone-tint: var(--fm-sky-tint); }
.fm-tone-indigo { --tone: var(--fm-indigo); --tone-ink: var(--fm-indigo); --tone-tint: var(--fm-indigo-50); }
.fm-icon-tile { width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--tone-tint, var(--fm-indigo-50)); color: var(--tone-ink, var(--fm-indigo)); box-shadow: inset 0 0 0 1px rgba(20,22,58,.04); }

/* ---------- Stat tiles --------------------------------------------------- */
.fm-stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.fm-stat { background: var(--fm-surface); border: 1px solid var(--fm-line); border-radius: var(--fm-r-lg); padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--fm-sh-1); position: relative; overflow: hidden; min-width: 0; }
.fm-stat > * { position: relative; z-index: 1; }
.fm-stat-label { font-size: 13px; font-weight: 700; color: var(--fm-ink-3); }
.fm-stat-value { font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.fm-stat-note { font-size: 12px; color: var(--fm-ink-3); margin-top: 2px; }

/* ---------- Toolbar / search / chips ------------------------------------ */
.fm-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fm-search { display: flex; align-items: center; gap: 10px; height: 44px; min-height: 44px; padding: 0 16px; border: 1px solid var(--fm-line-strong); border-radius: var(--fm-r-pill); background: #fff; width: 100%; max-width: 480px; flex: 0 1 auto; color: var(--fm-ink-3); transition: border-color .15s, box-shadow .15s, background .15s; }
.fm-toolbar > .fm-search, .fm-topbar > .fm-search, .fm-row > .fm-search, .fm-spread > .fm-search { flex: 1 1 260px; width: auto; }
.fm-search:focus-within { border-color: var(--fm-indigo); background: #fff; box-shadow: 0 0 0 4px rgba(46,49,146,.10); }
.fm-search input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; height: 100%; font-size: 14px; color: var(--fm-ink); }
.fm-search input::placeholder { color: var(--fm-ink-3); }
.fm-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border-radius: var(--fm-r-pill); border: 1px solid var(--fm-line-strong); background: #fff; color: var(--fm-ink-2); font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; transition: all .15s var(--fm-ease); }
.fm-chip:hover { border-color: var(--fm-indigo-300); color: var(--fm-indigo); }
.fm-chip.is-on { background: var(--fm-ink); border-color: var(--fm-ink); color: #fff; }
.fm-chip-count { font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 10px; background: var(--fm-sunk); color: var(--fm-ink-2); }
.fm-chip.is-on .fm-chip-count { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- Tabs --------------------------------------------------------- */
.fm-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--fm-line); overflow-x: auto; scrollbar-width: none; }
.fm-tab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 14px; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--fm-ink-3); cursor: pointer; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; transition: color .15s, border-color .15s; }
.fm a.fm-tab { color: var(--fm-ink-3); }
.fm-tab:hover, .fm a.fm-tab:hover { color: var(--fm-ink); }
.fm-tab.is-active, .fm a.fm-tab.is-active { color: var(--fm-ink); border-bottom-color: var(--fm-indigo); }
.fm-tab.is-active .ms { color: var(--fm-indigo); }

/* ---------- Badges / status ---------------------------------------------- */
.fm-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; min-height: 24px; border-radius: var(--fm-r-pill); font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap; background: var(--fm-sunk); color: var(--fm-ink-2); border: 1px solid transparent; }
.fm-badge .ms { font-size: 15px; }
.fm-badge.dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.fm-badge-green { background: var(--fm-green-tint); color: var(--fm-green-ink); border-color: #DCEDC5; }
.fm-badge-amber { background: var(--fm-amber-tint); color: var(--fm-amber-ink); border-color: #F7E2AE; }
.fm-badge-red { background: var(--fm-crimson-tint); color: var(--fm-crimson-ink); border-color: #F7D0D4; }
.fm-badge-sky { background: var(--fm-sky-tint); color: var(--fm-sky-ink); border-color: #C6EBF8; }
.fm-badge-orange { background: var(--fm-orange-tint); color: var(--fm-orange-ink); border-color: #F9D6C7; }
.fm-badge-indigo { background: var(--fm-indigo-50); color: var(--fm-indigo); border-color: var(--fm-indigo-100); }
.fm-badge-grey { background: var(--fm-sunk); color: var(--fm-ink-2); border-color: var(--fm-line); }
.fm-badge-solid { background: var(--fm-ink); color: #fff; }

/* ---------- Tables -------------------------------------------------------- */
.fm-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fm-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; min-width: 680px; }
.fm-table th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: none; color: var(--fm-ink-3); padding: 12px 18px; background: #FAFAFD; border-bottom: 1px solid var(--fm-line); white-space: nowrap; }
.fm-table td { padding: 16px 18px; border-bottom: 1px solid var(--fm-line); vertical-align: middle; }
.fm-table tr:last-child td { border-bottom: 0; }
.fm-table tbody tr { transition: background .12s; }
.fm-table tbody tr:hover td { background: #FAFAFF; }
.fm-table .fm-right, .fm-right { text-align: right; }
.fm-table .fm-cell { min-width: 180px; }
.fm-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fm-cell > div { min-width: 0; }
.fm-cell-main { font-weight: 700; color: var(--fm-ink); }
.fm-cell-sub { font-size: 12.5px; color: var(--fm-ink-3); }
.fm-row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: nowrap; }
.fm-thumb { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex: none; background: var(--fm-sunk); box-shadow: inset 0 0 0 1px rgba(20,22,58,.06); }
.fm-thumb-lg { width: 72px; height: 72px; border-radius: 16px; }
.fm-avatar { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; flex: none; background: var(--tone-tint, var(--fm-indigo-100)); color: var(--tone-ink, var(--fm-indigo)); box-shadow: inset 0 0 0 1px rgba(20,22,58,.05); }
.fm-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 24px; border-top: 1px solid var(--fm-line); font-size: 13px; color: var(--fm-ink-3); }

/* ---------- Forms --------------------------------------------------------- */
.fm-form { display: flex; flex-direction: column; gap: 24px; }
.fm-form-grid { display: grid; gap: 20px 22px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.fm-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fm-field-full { grid-column: 1 / -1; }
.fm-label { font-size: 13px; font-weight: 700; color: var(--fm-ink); display: flex; gap: 6px; align-items: baseline; }
.fm-label .req { color: var(--fm-crimson-ink); }
.fm-label .opt { font-weight: 600; color: var(--fm-ink-3); font-size: 12px; }
.fm-input, .fm-select, .fm-textarea { width: 100%; min-height: 48px; padding: 12px 15px; border: 1px solid var(--fm-line-strong); border-radius: var(--fm-r-md); background: #fff; font-size: 15px; color: var(--fm-ink); font-family: var(--fm-font); box-shadow: 0 1px 2px rgba(20,22,58,.04); transition: border-color .15s, box-shadow .15s; }
.fm-input::placeholder, .fm-textarea::placeholder { color: #9A9CBA; }
.fm-input:hover, .fm-select:hover, .fm-textarea:hover { border-color: #BFC2DA; }
.fm-input:focus, .fm-select:focus, .fm-textarea:focus { outline: none; border-color: var(--fm-indigo); box-shadow: 0 0 0 4px rgba(46,49,146,.10); }
.fm-textarea { min-height: 116px; resize: vertical; line-height: 1.55; }
.fm-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fm-ink-3) 50%), linear-gradient(135deg, var(--fm-ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.fm-input-group { display: flex; align-items: stretch; border: 1px solid var(--fm-line-strong); border-radius: var(--fm-r-md); background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(20,22,58,.04); transition: border-color .15s, box-shadow .15s; }
.fm-input-group:focus-within { border-color: var(--fm-indigo); box-shadow: 0 0 0 4px rgba(46,49,146,.10); }
.fm-input-group .fm-input { border: 0; border-radius: 0; box-shadow: none; min-width: 0; }
.fm-input-group .fm-addon { display: flex; align-items: center; padding: 0 14px; background: var(--fm-sunk); color: var(--fm-ink-2); font-weight: 700; font-size: 14px; white-space: nowrap; }
.fm-help { font-size: 12.5px; color: var(--fm-ink-3); line-height: 1.45; }
.fm-err { font-size: 12.5px; font-weight: 700; color: var(--fm-crimson-ink); display: flex; gap: 4px; align-items: center; }
.fm-field.is-error .fm-input, .fm-field.is-error .fm-select, .fm-field.is-error .fm-textarea { border-color: var(--fm-crimson); background: #FFF9FA; }
.fm-fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.fm-legend { font-size: 16.5px; font-weight: 800; padding: 0; letter-spacing: -.01em; }
.fm-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; line-height: 1.45; }
.fm-check input { width: 18px; height: 18px; accent-color: var(--fm-indigo); margin: 2px 0 0; flex: none; }
.fm-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 700; }
.fm-switch input { appearance: none; width: 42px; height: 24px; border-radius: 12px; background: var(--fm-line-strong); position: relative; cursor: pointer; transition: background .18s var(--fm-ease); margin: 0; flex: none; }
.fm-switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(20,22,58,.3); transition: left .18s var(--fm-ease); }
.fm-switch input:checked { background: var(--fm-indigo); }
.fm-switch input:checked::after { left: 21px; }
.fm-option-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.fm-option { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--fm-line-strong); border-radius: 16px; background: #fff; cursor: pointer; text-align: left; font-family: inherit; color: inherit; transition: border-color .15s, box-shadow .15s, background .15s; min-width: 0; }
.fm-option:hover { border-color: var(--fm-indigo-300); }
.fm-option.is-on { border-color: var(--fm-indigo); background: var(--fm-indigo-50); box-shadow: 0 0 0 3px rgba(46,49,146,.10); }
.fm-upload { border: 1.5px dashed var(--fm-line-strong); border-radius: var(--fm-r-lg); padding: 28px; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; text-align: center; color: var(--fm-ink-2); background: #FBFBFE; }
.fm-form-bar { position: sticky; bottom: 16px; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px 14px 24px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border: 1px solid var(--fm-line); border-radius: 20px; box-shadow: var(--fm-sh-3); }
.fm-stepper { display: inline-flex; align-items: center; border: 1px solid var(--fm-line-strong); border-radius: var(--fm-r-pill); overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(20,22,58,.04); }
.fm-stepper button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 18px; font-weight: 700; color: var(--fm-indigo); cursor: pointer; transition: background .12s; }
.fm-stepper button:hover { background: var(--fm-indigo-50); }
.fm-stepper span { min-width: 34px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- Detail view -------------------------------------------------- */
.fm-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px 28px; margin: 0; }
.fm-dl > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fm-dl dt { font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: none; color: var(--fm-ink-3); }
.fm-dl dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--fm-ink); overflow-wrap: anywhere; line-height: 1.45; }
.fm-kv { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--fm-line); font-size: 14px; }
.fm-kv:last-child { border-bottom: 0; }
.fm-kv span:first-child { color: var(--fm-ink-2); }
.fm-kv span:last-child { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.fm-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--fm-ink); font-size: 15px; font-weight: 800; }
.fm-total b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fm-hero-media { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--fm-r-lg); }

/* ---------- Alerts / notices -------------------------------------------- */
.fm-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid; font-size: 14px; line-height: 1.5; }
.fm-alert > .ms { margin-top: 1px; }
.fm-alert b { display: block; margin-bottom: 2px; }
.fm-alert-info { background: var(--fm-sky-tint); border-color: #CBEDF9; color: #0B4A63; }
.fm-alert-warn { background: var(--fm-amber-tint); border-color: #F6E1A9; color: #664300; }
.fm-alert-danger { background: var(--fm-crimson-tint); border-color: #F6D1D5; color: #8A1420; }
.fm-alert-success { background: var(--fm-green-tint); border-color: #D9ECC0; color: #324F12; }

/* ---------- Empty state -------------------------------------------------- */
.fm-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 56px 24px; color: var(--fm-ink-2); }
.fm-empty img { width: 180px; opacity: .9; }

/* ---------- Timeline ---------------------------------------------------- */
.fm-timeline { display: flex; flex-direction: column; gap: 0; }
.fm-tl-item { display: flex; gap: 14px; position: relative; padding-bottom: 20px; }
.fm-tl-item::before { content: ''; position: absolute; left: 7px; top: 20px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--fm-line); }
.fm-tl-item:last-child::before { display: none; }
.fm-tl-dot { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2.5px solid var(--tone, var(--fm-indigo)); flex: none; margin-top: 3px; box-shadow: 0 0 0 4px #fff; }

/* ---------- Booking steps (public flow) ---------------------------------- */
.fm-steps { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fm-step { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--fm-ink-3); }
.fm-step i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--fm-line-strong); font-size: 12px; font-weight: 800; background: #fff; }
.fm-step.is-done { color: var(--fm-ink-2); }
.fm-step.is-done i { background: var(--fm-green-ink); border-color: var(--fm-green-ink); color: #fff; }
.fm-step.is-now { color: var(--fm-ink); }
.fm-step.is-now i { background: var(--fm-indigo); border-color: var(--fm-indigo); color: #fff; box-shadow: 0 0 0 4px rgba(46,49,146,.14); }
.fm-step-line { width: 28px; height: 1.5px; background: var(--fm-line-strong); border-radius: 2px; }

/* ---------- QR + ticket ------------------------------------------------- */
.fm-qr { width: 180px; height: 180px; border-radius: 14px; background-color: #fff; border: 10px solid #fff; box-shadow: 0 0 0 1px var(--fm-line), var(--fm-sh-1); flex: none;
  background-image:
    linear-gradient(90deg, #14163A 0 28%, transparent 28% 72%, #14163A 72%),
    repeating-linear-gradient(0deg, #14163A 0 8px, transparent 8px 14px),
    repeating-linear-gradient(90deg, #14163A 0 6px, transparent 6px 15px);
  background-size: 100% 28%, 100% 100%, 100% 100%; background-repeat: no-repeat; }
.fm-ticket { background: #fff; border-radius: var(--fm-r-xl); border: 1px solid var(--fm-line); overflow: hidden; box-shadow: var(--fm-sh-2); }
.fm-ticket-top { background: radial-gradient(120% 120% at 100% 0%, rgba(90,199,239,.22) 0%, rgba(90,199,239,0) 50%), var(--fm-indigo); color: #fff; padding: 24px 26px; position: relative; overflow: hidden; }
.fm-ticket-cut { height: 0; border-top: 1.5px dashed var(--fm-line-strong); margin: 0 20px; position: relative; }

/* ---------- Modal (delete confirmations) -------------------------------- */
.fm-modal-back { position: fixed; inset: 0; background: rgba(17,19,58,.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.fm-modal { width: 460px; max-width: 100%; background: #fff; border-radius: var(--fm-r-xl); box-shadow: var(--fm-sh-3); padding: 28px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--fm-line); }

/* ---------- Public (guest/user) app header & footer --------------------- */
.fm-pub-head { background: radial-gradient(60% 140% at 85% 0%, rgba(90,199,239,.16) 0%, rgba(90,199,239,0) 60%), var(--fm-indigo); color: #fff; position: relative; }
.fm-pub-head-in { display: flex; align-items: center; gap: 20px; min-height: 76px; flex-wrap: wrap; padding: 10px 36px; max-width: 1320px; margin: 0 auto; }
.fm-pub-logo { height: 52px; width: auto; }
.fm-pub-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.fm-pub-nav a { color: rgba(255,255,255,.86); font-weight: 600; font-size: 14px; padding: 9px 14px; border-radius: var(--fm-r-pill); transition: background .15s, color .15s; }
.fm-pub-nav a:hover { background: rgba(255,255,255,.10); color: #fff; }
.fm-pub-nav a.is-active { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.fm-pub-foot { background: var(--fm-indigo-950); color: var(--fm-indigo-200); padding: 36px; font-size: 13px; }
.fm-pub-foot a { color: #fff; }

/* ---------- Brand graphic helpers -------------------------------------- */
.fm-waves { background-image: url('graphic-waves.svg'); background-position: center bottom; background-size: auto 40px; background-repeat: repeat-x; }
.fm-scene { background: url('graphic-scene.svg') right bottom / auto 88% no-repeat; }

/* ---------- Responsive --------------------------------------------------- */
.fm-only-m { display: none !important; }
@media (max-width: 900px) {
  .fm { font-size: 15px; }
  .fm-shell { flex-direction: column; flex-wrap: nowrap; }
  .fm-rail { flex: none; width: 100%; padding: 12px 0 0; gap: 0; display: block; border-right: 0; }
  .fm-rail::after { display: none; }
  .fm-rail-brand { padding: 0 16px 12px; margin: 0; border-bottom: 0; }
  .fm-rail-logo { width: 44px; }
  .fm-rail-sec, .fm-rail-user { display: none; }
  .fm-rail .fm-nav { display: inline-flex; flex-direction: row; gap: 4px; padding: 0 0 12px 12px; vertical-align: top; }
  .fm-rail { white-space: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .fm-rail .fm-rail-brand { white-space: normal; }
  .fm-rail a.fm-nav-item { flex: none; min-height: 38px; font-size: 13px; padding: 6px 12px; white-space: nowrap; }
  .fm-rail a.fm-nav-item.is-active::before { display: none; }
  .fm-topbar { position: static; padding: 10px 16px; min-height: 0; flex-wrap: nowrap; gap: 8px; }
  .fm-topbar .fm-search { flex: 1 1 auto; min-width: 0; max-width: none; }
  .fm-topbar > .fm-row { flex-wrap: nowrap; gap: 6px; margin-left: 0 !important; }
  .fm-topbar > .fm-row > span.fm-small, .fm-topbar > .fm-row > .fm-badge { display: none; }
  .fm-topbar .fm-btn-sm { padding: 7px 12px; }
  .fm-page { padding: 24px 16px 48px; gap: 20px; }
  .fm-page-head { align-items: flex-start; }
  .fm-page-head > div:first-child { flex-basis: 100%; }
  .fm-wrap { padding: 0 16px; }
  .fm-pub-head-in { padding: 8px 16px; gap: 6px 10px; min-height: 64px; }
  .fm-pub-logo { height: 42px; }
  .fm-pub-nav { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; order: 3; scrollbar-width: none; padding-bottom: 6px; }
  .fm-pub-nav a { white-space: nowrap; }
  .fm-card-head { padding: 16px 18px; }
  .fm-card-body { padding: 18px; }
  .fm-card-foot { padding: 12px 18px; }
  .fm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fm-stat { padding: 16px; flex-direction: column; gap: 10px; }
  .fm-stat-value { font-size: 24px; }
  .fm-stat .fm-icon-tile { width: 36px; height: 36px; border-radius: 11px; }
  .fm-hide-m { display: none !important; }
  .fm-only-m { display: revert !important; }
  .fm-form-bar { bottom: 8px; padding: 12px; border-radius: 16px; }
  .fm-form-bar > * { flex: 1 1 auto; }
  .fm-search { max-width: none; }
  .fm-split > .fm-side-col { flex-basis: 100%; }
  .fm-h1 { font-size: 28px; }
  .fm-pub-foot { padding: 28px 16px; }
}

/* ---------- Tables that become stacked cards on phones ------------------
   Add class fm-table-cards to <table class="fm-table"> and data-label="…"
   on each <td>. The first cell becomes the card title. */
@media (max-width: 640px) {
  .fm-table-wrap:has(.fm-table-cards) { overflow: visible; }
  .fm-table.fm-table-cards { min-width: 0; display: block; }
  .fm-table.fm-table-cards thead { display: none; }
  .fm-table.fm-table-cards tbody { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
  .fm-table.fm-table-cards tr { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid var(--fm-line); border-radius: 16px; background: #fff; box-shadow: var(--fm-sh-1); }
  .fm-table.fm-table-cards td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 0; border: 0; white-space: normal; text-align: right; background: transparent !important; }
  .fm-table.fm-table-cards td::before { content: attr(data-label); font-size: 12px; font-weight: 700; color: var(--fm-ink-3); text-align: left; flex: none; }
  .fm-table.fm-table-cards td:first-child { text-align: left; padding-bottom: 6px; margin-bottom: 2px; border-bottom: 1px dashed var(--fm-line); }
  .fm-table.fm-table-cards td:first-child::before { display: none; }
  .fm-table.fm-table-cards td[data-label=""]::before { display: none; }
  .fm-table.fm-table-cards .fm-row-actions { justify-content: flex-end; width: 100%; }
}

/* ---------- v2.1 kit refinements (from the screen audit) ---------------- */
.fm-input::placeholder, .fm-textarea::placeholder { text-transform: none; letter-spacing: normal; }
.fm-chips-scroll { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.fm-chips-scroll > * { flex: none; white-space: nowrap; }
.fm-proto { border: 1.5px dashed var(--fm-line-strong); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: transparent; }
@media (max-width: 640px) {
  .fm-dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
  .fm-table.fm-table-cards .fm-btn-sm { min-height: 44px; }
}

/* ---------- App behaviour in the browser (prototype build) --------------
   Desktop: the staff rail is pinned to the viewport and scrolls on its own;
   the public header stays on top while the page scrolls. */
@media (min-width: 901px) {
  .fm-shell { align-items: flex-start; }
  .fm-rail { position: sticky; top: 0; height: 100vh; max-height: 100vh; align-self: flex-start; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
  .fm-rail::-webkit-scrollbar { width: 6px; }
  .fm-rail::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 3px; }
  .fm-content { min-height: 100vh; }
  .fm-pub-head { position: sticky !important; top: 0; z-index: 40 !important; }
}
html { scroll-behavior: smooth; }
/* Phone: the staff rail becomes one compact sticky bar (logo + scrolling nav). */
@media (max-width: 900px) {
  .fm-rail { position: sticky; top: 0; z-index: 30; display: flex; flex-direction: row; align-items: center; gap: 6px; padding: 8px 12px 8px 12px; box-shadow: 0 8px 24px -14px rgba(17,19,58,.6); }
  .fm-rail .fm-rail-brand { padding: 0 6px 0 0; margin: 0; border: 0; flex: none; }
  .fm-rail .fm-rail-app { display: none; }
  .fm-rail .fm-rail-logo { width: 38px; }
  .fm-rail .fm-nav { padding: 0; flex: none; }
  .fm-rail a.fm-nav-item { min-height: 40px; }
}
.fm-btn-icon { min-width: 40px; }

/* QA pass: sticky side columns, disabled steppers, unbroken references */
@media (min-width: 901px) {
  .fm-side-sticky { position: sticky; top: 92px; max-height: calc(100vh - 108px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; margin: -6px; padding: 6px; }
}
.fm-stepper button:disabled { color: var(--fm-ink-3); cursor: not-allowed; background: transparent; }
.fm-mono { white-space: nowrap; }
@media (max-width: 640px) { .fm-table.fm-table-cards tfoot { display: block; padding: 0 12px 12px; } }
