/* ==========================================================================
   Finin2min Judgment Search
   Every selector is namespaced under .f2m so the widget can be dropped into
   any Finin2min page without colliding with the host stylesheet.
   ========================================================================== */

.f2m {
  /* Inherited from judgment-full.css so the widget reads as part of the site. */
  --f2m-ink: #0d2137;
  --f2m-blue: #165d9c;
  --f2m-text: #172033;
  --f2m-muted: #667085;
  --f2m-faint: #8b97ab;
  --f2m-line: #e4e7ec;
  --f2m-line-soft: #eef1f5;
  --f2m-bg: #f6f8fb;
  --f2m-soft: #eef4fb;
  --f2m-paper: #ffffff;

  /* Disposal bands. A reading aid for the recorded outcome, nothing more. */
  --f2m-fav-fg: #0b6b43;
  --f2m-fav-bg: #e7f6ee;
  --f2m-fav-line: #b8e2cc;
  --f2m-adv-fg: #9c3033;
  --f2m-adv-bg: #fceded;
  --f2m-adv-line: #f2cccd;
  --f2m-mix-fg: #855700;
  --f2m-mix-bg: #fdf4e3;
  --f2m-mix-line: #ecd9ac;
  --f2m-neu-fg: #475467;
  --f2m-neu-bg: #f0f3f7;
  --f2m-neu-line: #dde3ec;

  --f2m-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  --f2m-radius: 10px;
  --f2m-shadow: 0 1px 2px rgba(13, 33, 55, .05), 0 8px 24px rgba(13, 33, 55, .05);

  color: var(--f2m-text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

.f2m *,
.f2m *::before,
.f2m *::after { box-sizing: border-box; }

.f2m :focus-visible {
  outline: 2px solid var(--f2m-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Visible only to screen readers. */
.f2m-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Search bar
   -------------------------------------------------------------------------- */

.f2m-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--f2m-bg);
  padding: 14px 0 10px;
  margin-bottom: 4px;
}

.f2m-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--f2m-paper);
  border: 1.5px solid var(--f2m-line);
  border-radius: 12px;
  padding: 0 10px 0 14px;
  box-shadow: var(--f2m-shadow);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.f2m-field:focus-within {
  border-color: var(--f2m-blue);
  box-shadow: 0 0 0 4px rgba(22, 93, 156, .1);
}

.f2m-field svg { flex: none; color: var(--f2m-faint); }

.f2m-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 16px; /* 16px keeps iOS from zooming on focus */
  color: inherit;
  padding: 15px 0;
}

.f2m-input:focus { outline: none; }
.f2m-input::placeholder { color: var(--f2m-faint); }

.f2m-clear {
  flex: none;
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--f2m-muted);
  cursor: pointer;
}

.f2m-clear:hover { background: var(--f2m-neu-bg); color: var(--f2m-text); }
.f2m-clear[data-show="1"] { display: flex; }

.f2m-hint {
  flex: none;
  font: 500 11px/1 var(--f2m-mono);
  color: var(--f2m-faint);
  border: 1px solid var(--f2m-line);
  border-radius: 5px;
  padding: 4px 6px;
  margin-right: 4px;
}

@media (max-width: 720px) { .f2m-hint { display: none; } }

/* --------------------------------------------------------------------------
   Autocomplete
   -------------------------------------------------------------------------- */

.f2m-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  z-index: 40;
  max-height: min(60vh, 420px);
  overflow-y: auto;
  background: var(--f2m-paper);
  border: 1px solid var(--f2m-line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(13, 33, 55, .14);
  padding: 6px;
  display: none;
}

.f2m-suggest[data-open="1"] { display: block; }

.f2m-suggest-group {
  font: 700 10px/1 Inter, system-ui, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--f2m-faint);
  padding: 12px 10px 6px;
}

.f2m-suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14.5px;
}

.f2m-suggest-item[aria-selected="true"],
.f2m-suggest-item:hover { background: var(--f2m-soft); }

.f2m-suggest-item .f2m-suggest-key {
  flex: none;
  font-family: var(--f2m-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--f2m-blue);
  background: var(--f2m-soft);
  border-radius: 5px;
  padding: 3px 7px;
}

.f2m-suggest-item .f2m-suggest-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.f2m-suggest-item .f2m-suggest-count {
  flex: none;
  font-size: 12px;
  color: var(--f2m-faint);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Section rail - the fastest route into Indian tax case law
   -------------------------------------------------------------------------- */

.f2m-rail-wrap { position: relative; margin: 12px 0 0; }

.f2m-rail-label {
  font: 700 10px/1 Inter, system-ui, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--f2m-faint);
  margin-bottom: 8px;
}

.f2m-rail {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent);
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.f2m-rail::-webkit-scrollbar { height: 5px; }
.f2m-rail::-webkit-scrollbar-thumb { background: var(--f2m-line); border-radius: 3px; }

.f2m-chip {
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  border: 1px solid var(--f2m-line);
  background: var(--f2m-paper);
  border-radius: 999px;
  padding: 7px 13px;
  font-family: var(--f2m-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--f2m-ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}

.f2m-chip:hover { border-color: var(--f2m-blue); color: var(--f2m-blue); }

.f2m-chip[aria-pressed="true"] {
  background: var(--f2m-ink);
  border-color: var(--f2m-ink);
  color: #fff;
}

.f2m-chip .f2m-chip-n {
  font-size: 11px;
  font-weight: 500;
  color: var(--f2m-faint);
  font-variant-numeric: tabular-nums;
}

.f2m-chip[aria-pressed="true"] .f2m-chip-n { color: rgba(255, 255, 255, .7); }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.f2m-layout {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .f2m-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* --------------------------------------------------------------------------
   Filters
   -------------------------------------------------------------------------- */

.f2m-filters {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.f2m-facet { border-bottom: 1px solid var(--f2m-line); padding: 4px 0; }
.f2m-facet:last-child { border-bottom: 0; }

.f2m-facet > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  padding: 11px 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}

.f2m-facet > summary::-webkit-details-marker { display: none; }

.f2m-facet > summary::after {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  border-right: 1.8px solid var(--f2m-muted);
  border-bottom: 1.8px solid var(--f2m-muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .18s ease;
}

.f2m-facet[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.f2m-facet-body { padding: 2px 2px 14px; }

.f2m-facet-search {
  width: 100%;
  border: 1px solid var(--f2m-line);
  border-radius: 7px;
  padding: 7px 9px;
  font: inherit;
  font-size: 13px;
  margin-bottom: 8px;
  background: var(--f2m-paper);
}

.f2m-facet-list { max-height: 232px; overflow-y: auto; scrollbar-width: thin; }

.f2m-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 4px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13.5px;
  min-height: 32px;
}

.f2m-opt:hover { background: var(--f2m-bg); }
.f2m-opt input { flex: none; accent-color: var(--f2m-blue); width: 15px; height: 15px; margin: 0; }
.f2m-opt-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.f2m-opt-name.is-mono { font-family: var(--f2m-mono); font-size: 12.5px; font-weight: 600; }

.f2m-opt-n {
  flex: none;
  font-size: 11.5px;
  color: var(--f2m-faint);
  font-variant-numeric: tabular-nums;
}

.f2m-opt.is-empty { opacity: .38; cursor: not-allowed; }
.f2m-opt.is-empty:hover { background: none; }

.f2m-dates { display: grid; grid-template-columns: 1fr; gap: 8px; }

@media (max-width: 900px) { .f2m-dates { grid-template-columns: 1fr 1fr; } }

.f2m-dates label {
  display: block;
  font-size: 11px;
  color: var(--f2m-muted);
}

.f2m-dates label input { margin-top: 3px; }

.f2m-dates input {
  width: 100%;
  border: 1px solid var(--f2m-line);
  border-radius: 7px;
  padding: 7px 8px;
  font: inherit;
  font-size: 13px;
  background: var(--f2m-paper);
  color: inherit;
}

.f2m-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.f2m-quick button {
  border: 1px solid var(--f2m-line);
  background: var(--f2m-paper);
  border-radius: 999px;
  padding: 5px 11px;
  font: inherit;
  font-size: 12px;
  color: var(--f2m-muted);
  cursor: pointer;
}

.f2m-quick button:hover { border-color: var(--f2m-blue); color: var(--f2m-blue); }
.f2m-quick button[aria-pressed="true"] {
  background: var(--f2m-soft);
  border-color: var(--f2m-blue);
  color: var(--f2m-blue);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Results toolbar
   -------------------------------------------------------------------------- */

.f2m-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--f2m-line);
  margin-bottom: 4px;
}

.f2m-count { font-size: 13.5px; color: var(--f2m-muted); margin-right: auto; }
.f2m-count strong { color: var(--f2m-text); font-variant-numeric: tabular-nums; }

.f2m-sort {
  border: 1px solid var(--f2m-line);
  border-radius: 8px;
  background: var(--f2m-paper);
  padding: 7px 9px;
  font: inherit;
  font-size: 13px;
  color: inherit;
  cursor: pointer;
}

.f2m-filterbtn {
  display: none;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--f2m-line);
  background: var(--f2m-paper);
  border-radius: 8px;
  padding: 8px 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
}

.f2m-filterbtn .f2m-badge {
  background: var(--f2m-blue);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
}

@media (max-width: 900px) { .f2m-filterbtn { display: inline-flex; } }

/* Applied-filter pills */
.f2m-applied { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 0; }

.f2m-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--f2m-soft);
  border: 1px solid #cfe0f1;
  color: var(--f2m-blue);
  border-radius: 999px;
  padding: 5px 6px 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
}

.f2m-pill button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 50%;
  opacity: .65;
}

.f2m-pill button:hover { opacity: 1; background: rgba(22, 93, 156, .12); }

.f2m-clearall {
  border: 0;
  background: none;
  color: var(--f2m-muted);
  font: inherit;
  font-size: 12.5px;
  text-decoration: underline;
  cursor: pointer;
  padding: 5px 4px;
}

.f2m-clearall:hover { color: var(--f2m-text); }

/* --------------------------------------------------------------------------
   Result cards
   -------------------------------------------------------------------------- */

.f2m-results { list-style: none; margin: 0; padding: 0; }

.f2m-card {
  background: var(--f2m-paper);
  border: 1px solid var(--f2m-line);
  border-radius: var(--f2m-radius);
  padding: 17px 18px;
  margin: 12px 0;
  transition: border-color .13s ease, box-shadow .13s ease, transform .13s ease;
}

.f2m-card:hover {
  border-color: #c6d6e6;
  box-shadow: 0 4px 16px rgba(13, 33, 55, .07);
}

.f2m-card-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}

.f2m-card-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -.011em;
  flex: 1 1 260px;
}

.f2m-card-title a { color: var(--f2m-ink); text-decoration: none; }
.f2m-card-title a:hover { color: var(--f2m-blue); text-decoration: underline; }

.f2m-tag {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 5px;
  padding: 3px 8px;
  white-space: nowrap;
  border: 1px solid transparent;
}

.f2m-tag[data-tone="favourable"] { color: var(--f2m-fav-fg); background: var(--f2m-fav-bg); border-color: var(--f2m-fav-line); }
.f2m-tag[data-tone="adverse"]    { color: var(--f2m-adv-fg); background: var(--f2m-adv-bg); border-color: var(--f2m-adv-line); }
.f2m-tag[data-tone="mixed"]      { color: var(--f2m-mix-fg); background: var(--f2m-mix-bg); border-color: var(--f2m-mix-line); }
.f2m-tag[data-tone="neutral"]    { color: var(--f2m-neu-fg); background: var(--f2m-neu-bg); border-color: var(--f2m-neu-line); }

.f2m-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 9px;
  font-size: 12.5px;
  color: var(--f2m-muted);
  margin-bottom: 9px;
}

.f2m-meta .f2m-dot { color: var(--f2m-line); }
.f2m-meta .f2m-forum { font-weight: 600; color: var(--f2m-text); }
.f2m-meta .f2m-cite { font-family: var(--f2m-mono); font-size: 12px; }
.f2m-meta time { font-variant-numeric: tabular-nums; }

.f2m-snippet {
  font-size: 14px;
  line-height: 1.6;
  color: #3d4a5c;
  margin: 0 0 11px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

.f2m-snippet.is-missing { color: #8b97ab; font-style: italic; }

.f2m-card-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.f2m-sec {
  font-family: var(--f2m-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--f2m-blue);
  background: var(--f2m-soft);
  border: 1px solid #dbe8f4;
  border-radius: 5px;
  padding: 2.5px 7px;
  cursor: pointer;
}

.f2m-sec:hover { background: #dfebf7; }

/* The section the visitor actually searched for. */
.f2m-sec.is-hit {
  background: #fdf0c4;
  border-color: #e8d08a;
  color: #6d4a06;
}

.f2m-sec.is-hit:hover { background: #fbe7a4; }

.f2m-why {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--f2m-faint);
  white-space: nowrap;
}

.f2m-why b { font-weight: 600; color: var(--f2m-muted); }

.f2m mark {
  background: #fdf0c4;
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
  font-weight: 600;
}

.f2m-src {
  font-size: 11px;
  color: var(--f2m-faint);
  border: 1px solid var(--f2m-line);
  border-radius: 5px;
  padding: 2.5px 7px;
}

.f2m-src[data-src="official"] { color: var(--f2m-fav-fg); border-color: var(--f2m-fav-line); background: var(--f2m-fav-bg); }

/* --------------------------------------------------------------------------
   States
   -------------------------------------------------------------------------- */

.f2m-note {
  background: var(--f2m-mix-bg);
  border: 1px solid var(--f2m-mix-line);
  color: #6d4a06;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 13px;
  margin: 14px 0 0;
}

.f2m-note button {
  border: 0; background: none; padding: 0;
  color: inherit; font: inherit; font-weight: 700;
  text-decoration: underline; cursor: pointer;
}

.f2m-empty {
  text-align: center;
  padding: 48px 22px;
  border: 1px dashed var(--f2m-line);
  border-radius: var(--f2m-radius);
  background: var(--f2m-paper);
  margin-top: 14px;
}

.f2m-empty h3 { margin: 0 0 7px; font-size: 17px; }
.f2m-empty p { margin: 0 auto 16px; color: var(--f2m-muted); font-size: 14px; max-width: 42ch; }

.f2m-empty-ideas { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }

.f2m-empty-ideas button {
  border: 1px solid var(--f2m-line);
  background: var(--f2m-bg);
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  color: var(--f2m-text);
}

.f2m-empty-ideas button:hover { border-color: var(--f2m-blue); color: var(--f2m-blue); }

.f2m-more {
  display: block;
  width: 100%;
  border: 1px solid var(--f2m-line);
  background: var(--f2m-paper);
  border-radius: var(--f2m-radius);
  padding: 13px;
  margin: 8px 0 26px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--f2m-blue);
  cursor: pointer;
  min-height: 46px;
}

.f2m-more:hover { background: var(--f2m-soft); border-color: #cfe0f1; }

.f2m-skeleton { margin-top: 14px; }

.f2m-skeleton div {
  height: 96px;
  border-radius: var(--f2m-radius);
  background: linear-gradient(100deg, #eef1f5 30%, #f7f9fc 50%, #eef1f5 70%);
  background-size: 220% 100%;
  animation: f2m-shimmer 1.3s linear infinite;
  margin-bottom: 12px;
}

@keyframes f2m-shimmer { to { background-position: -220% 0; } }

/* --------------------------------------------------------------------------
   Mobile filter sheet
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .f2m-filters {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 60;
    max-height: 84vh;
    background: var(--f2m-paper);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 40px rgba(13, 33, 55, .22);
    padding: 8px 18px 22px;
    transform: translateY(101%);
    transition: transform .26s cubic-bezier(.32, .72, 0, 1);
    visibility: hidden;
  }

  .f2m-filters[data-open="1"] { transform: translateY(0); visibility: visible; }

  .f2m-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 12px;
    border-bottom: 1px solid var(--f2m-line);
    position: sticky;
    top: 0;
    background: var(--f2m-paper);
  }

  .f2m-sheet-head strong { font-size: 16px; }

  .f2m-sheet-head button {
    border: 0; background: var(--f2m-neu-bg);
    width: 34px; height: 34px; border-radius: 50%;
    font-size: 17px; cursor: pointer; color: var(--f2m-text);
  }

  .f2m-scrim {
    position: fixed; inset: 0; z-index: 50;
    background: rgba(13, 33, 55, .42);
    opacity: 0; pointer-events: none;
    transition: opacity .26s ease;
  }

  .f2m-scrim[data-open="1"] { opacity: 1; pointer-events: auto; }

  .f2m-apply-bar {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: var(--f2m-paper);
    box-shadow: 0 -10px 14px -6px var(--f2m-paper);
    padding: 10px 0 6px;
    margin-top: 6px;
  }

  .f2m-apply {
    display: block;
    width: 100%;
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: var(--f2m-ink);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    min-height: 48px;
  }

  .f2m-facet-list { max-height: none; }
}

@media (min-width: 901px) {
  .f2m-sheet-head, .f2m-scrim, .f2m-apply-bar { display: none; }
}

/* --------------------------------------------------------------------------
   Compact mode - for embedding on a hub or landing page
   -------------------------------------------------------------------------- */

.f2m[data-compact="1"] .f2m-layout { grid-template-columns: minmax(0, 1fr); }
.f2m[data-compact="1"] .f2m-filters,
.f2m[data-compact="1"] .f2m-filterbtn,
.f2m[data-compact="1"] .f2m-sort { display: none; }
.f2m[data-compact="1"] .f2m-bar { position: static; }
.f2m[data-compact="1"] .f2m-card { padding: 13px 14px; margin: 9px 0; }
.f2m[data-compact="1"] .f2m-snippet { -webkit-line-clamp: 2; line-clamp: 2; }

/* --------------------------------------------------------------------------
   Static fallback list - keeps every case page crawlable and reachable
   without JavaScript
   -------------------------------------------------------------------------- */

.f2m-all { margin: 34px 0 10px; border-top: 1px solid var(--f2m-line); padding-top: 18px; }
.f2m-all > summary { cursor: pointer; font-size: 14px; font-weight: 700; padding: 6px 0; }
.f2m-all ul { columns: 2; column-gap: 28px; list-style: none; padding: 14px 0 0; margin: 0; font-size: 13.5px; }
.f2m-all li { break-inside: avoid; margin-bottom: 8px; }
.f2m-all a { color: var(--f2m-blue); text-decoration: none; }
.f2m-all a:hover { text-decoration: underline; }
@media (max-width: 720px) { .f2m-all ul { columns: 1; } }

/* --------------------------------------------------------------------------
   Motion and print
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .f2m *, .f2m *::before, .f2m *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .f2m-bar, .f2m-filters, .f2m-toolbar, .f2m-rail-wrap, .f2m-more, .f2m-scrim { display: none !important; }
  .f2m-card { break-inside: avoid; border-color: #ccc; }
}
