/* Banana Friends · Planes production web
   Final responsive layer over the shared mobile-compatible markup. */
body.bf-page-planes {
  --plans-accent: #ff5a12;
  --plans-ink: #171719;
  --plans-muted: #68686f;
  --plans-border: #e6e3df;
  --plans-surface: #ffffff;
  background: #f7f6f4 !important;
  color: var(--plans-ink);
}

body.bf-page-planes > .app {
  display: block !important;
  width: min(calc(100% - 40px), 1120px) !important;
  min-height: calc(100dvh - 110px) !important;
  margin: 24px auto 72px !important;
  padding: 0 0 56px !important;
}

body.bf-page-planes .top-snap {
  position: relative;
  z-index: 5;
  width: 100%;
}

body.bf-page-planes .filters {
  top: 78px !important;
  width: 100% !important;
  min-height: 56px !important;
  justify-content: flex-start;
  gap: 4px !important;
  margin: 0 0 24px !important;
  padding: 5px !important;
  border: 1px solid var(--plans-border) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 8px 28px rgba(27, 24, 21, .06) !important;
}

body.bf-page-planes .filter,
body.bf-page-planes .filter-map {
  min-height: 44px !important;
  padding: 0 15px !important;
  border-radius: 11px !important;
  color: #5e5e65 !important;
  font-size: .84rem !important;
  font-weight: 700 !important;
}

body.bf-page-planes .filter-map {
  width: auto !important;
  min-width: max-content !important;
  gap: 7px;
}

body.bf-page-planes .filter-map span { display: inline !important; }

body.bf-page-planes .filter.active,
body.bf-page-planes .filter-map.active {
  border-color: var(--plans-ink) !important;
  background: var(--plans-ink) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.bf-page-planes .plans-list-heading,
body.bf-page-planes .pg-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 18px;
  padding: 4px 2px;
}

body.bf-page-planes .plans-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--plans-accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.bf-page-planes .plans-list-heading h1 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.08;
}

body.bf-page-planes .plans-list-heading p,
body.bf-page-planes .pg-subtitle {
  max-width: 640px;
  margin: 8px 0 0;
  color: var(--plans-muted);
  font-size: .93rem;
  line-height: 1.5;
}

body.bf-page-planes .plans-create-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 0 17px;
  border: 1px solid var(--plans-accent) !important;
  border-radius: 12px !important;
  background: var(--plans-accent) !important;
  color: #fff !important;
  box-shadow: 0 9px 22px rgba(255, 90, 18, .19) !important;
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
}

body.bf-page-planes .plans-create-button:hover { background: #e94a04 !important; }
body.bf-page-planes .plans-create-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.2;
}

body.bf-page-planes #mapTabWrap,
body.bf-page-planes .map-wrap {
  height: clamp(520px, 68dvh, 720px) !important;
  min-height: 520px !important;
  margin: 0 0 26px !important;
  border: 1px solid var(--plans-border) !important;
  border-radius: 20px !important;
  background: #ebe9e5 !important;
  box-shadow: 0 14px 40px rgba(31, 27, 24, .09) !important;
}

body.bf-page-planes .map-sub {
  top: 14px !important;
  left: 14px !important;
  min-height: 40px !important;
  border: 1px solid #e5e2de !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 8px 24px rgba(25, 22, 20, .12) !important;
}

body.bf-page-planes .map-photo-marker {
  position: absolute !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

body.bf-page-planes .map-error-card {
  position: absolute;
  z-index: 4;
  inset: 50% auto auto 50%;
  width: min(calc(100% - 32px), 420px);
  padding: 22px;
  border: 1px solid var(--plans-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(30, 27, 24, .12);
  text-align: center;
  transform: translate(-50%, -50%);
}

body.bf-page-planes .map-error-card strong { display: block; margin-bottom: 6px; }
body.bf-page-planes .map-error-card span { color: var(--plans-muted); font-size: .86rem; line-height: 1.5; }

/* Booking-like list: one complete plan per row. */
body.bf-page-planes .card {
  width: 100% !important;
  height: auto !important;
  min-height: 286px !important;
  margin: 0 0 18px !important;
  overflow: hidden !important;
  border: 1px solid var(--plans-border) !important;
  border-radius: 18px !important;
  background: var(--plans-surface) !important;
  box-shadow: 0 8px 26px rgba(29, 26, 23, .06) !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

body.bf-page-planes .card:hover {
  border-color: #d6d1cc !important;
  box-shadow: 0 16px 40px rgba(29, 26, 23, .09) !important;
  transform: translateY(-2px) !important;
}

body.bf-page-planes .card-image {
  display: grid !important;
  width: 100% !important;
  height: auto !important;
  min-height: 286px;
  grid-template-columns: 320px minmax(0, 1fr);
  overflow: visible !important;
  border-radius: 0 !important;
}

body.bf-page-planes .card-image > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 286px;
  border-radius: 0 !important;
  object-fit: cover !important;
}

body.bf-page-planes .card:hover .card-image > img { transform: none !important; }

body.bf-page-planes .card-overlay {
  position: relative !important;
  inset: auto !important;
  min-width: 0;
  min-height: 286px;
  padding: 21px 22px 19px !important;
  border-radius: 0 !important;
  background: #fff !important;
}

body.bf-page-planes .card-overlay .plan-people-strip {
  top: 20px !important;
  right: 21px !important;
  left: auto !important;
  width: auto !important;
  transform: scale(.9);
  transform-origin: top right;
}

body.bf-page-planes .card-glass-meta {
  position: static !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.bf-page-planes .plan-host {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 9px;
  margin: 0 140px 13px 0;
  color: var(--plans-muted);
  font-size: .76rem;
}

body.bf-page-planes .plan-host img {
  width: 32px;
  height: 32px;
  border: 1px solid #e1ddd9;
  border-radius: 50%;
  object-fit: cover;
}

body.bf-page-planes .plan-host strong { color: var(--plans-ink); font-weight: 800; }

body.bf-page-planes .meta-title { font-size: clamp(1.25rem, 2vw, 1.55rem) !important; }

body.bf-page-planes .meta-subdesc {
  margin: 8px 0 13px !important;
  color: #5e5e65 !important;
  font-size: .86rem !important;
  line-height: 1.52 !important;
  -webkit-line-clamp: 2;
}

body.bf-page-planes .meta-location {
  min-height: 39px !important;
  margin-bottom: 10px !important;
  border: 0 !important;
  background: #f7f6f4 !important;
}

body.bf-page-planes .meta-stats {
  flex-wrap: wrap;
  margin-bottom: 14px !important;
}

body.bf-page-planes .meta-stats span {
  border-color: #e8e5e1 !important;
  background: #fff !important;
}

body.bf-page-planes .plan-actions {
  padding-top: 13px;
  border-top: 1px solid #efedea;
}

body.bf-page-planes .plan-action-btn,
body.bf-page-planes .plan-details-btn {
  border-color: #e3dfdb !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.bf-page-planes .plan-action-btn { position: relative; }
body.bf-page-planes .action-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #252528;
  color: #fff;
  font-size: .59rem;
  font-weight: 800;
}

body.bf-page-planes .plan-join-btn {
  border-color: var(--plans-accent) !important;
  background: var(--plans-accent) !important;
  box-shadow: none !important;
}

/* Groups */
body.bf-page-planes #planesGruposWrap {
  padding: 2px 0 28px !important;
}

body.bf-page-planes .pg-title {
  color: var(--plans-ink);
  font-size: 1.8rem;
  font-weight: 850;
  letter-spacing: -.04em;
}

body.bf-page-planes .pg-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

body.bf-page-planes .pg-item {
  min-height: 92px;
  gap: 15px;
  padding: 14px !important;
  border: 1px solid var(--plans-border) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 6px 20px rgba(29, 26, 23, .045) !important;
}

body.bf-page-planes .pg-item:hover { border-color: #d6d1cc !important; }
body.bf-page-planes .pg-avatar { width: 64px; height: 64px; border-radius: 13px; }
body.bf-page-planes .pg-name { color: var(--plans-ink); font-size: .95rem; }
body.bf-page-planes .pg-desc,
body.bf-page-planes .pg-meta { color: var(--plans-muted); }
body.bf-page-planes .pg-fav { border-color: #e3dfdb; }

/* Current mobile contract has no activity/restaurant inventory yet. */
body.bf-page-planes .coming-soon-wrap > :not(.coming-soon-card) { display: none !important; }
body.bf-page-planes .coming-soon-wrap { padding: 0 !important; }
body.bf-page-planes .coming-soon-card {
  display: grid;
  min-height: 420px;
  place-items: center;
  align-content: center;
  padding: 48px 24px;
  border: 1px solid var(--plans-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(29, 26, 23, .055);
  text-align: center;
}

body.bf-page-planes .coming-soon-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fff0e9;
  color: var(--plans-accent);
}

body.bf-page-planes .coming-soon-icon svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body.bf-page-planes .coming-soon-card h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -.04em;
}

body.bf-page-planes .coming-soon-card p {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--plans-muted);
  line-height: 1.6;
}

/* Production forms and sheets */
body.bf-page-planes :is(.create-sheet, .edit-sheet, .comments-sheet, .pg-sheet) {
  border: 1px solid #ddd8d3 !important;
  background: #fff !important;
  box-shadow: 0 -20px 60px rgba(27, 24, 21, .2) !important;
}

body.bf-page-planes :is(.create-section-card, .pg-card) {
  border: 1px solid #e8e4df !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.bf-page-planes :is(.create-form, .pg-form) input,
body.bf-page-planes :is(.create-form, .pg-form) textarea,
body.bf-page-planes :is(.create-form, .pg-form) select {
  border-color: #dcd7d2 !important;
  background: #fff !important;
  color: var(--plans-ink) !important;
}

body.bf-page-planes .pg-official-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

body.bf-page-planes .pg-official-row span { display: grid; gap: 4px; }
body.bf-page-planes .pg-official-row strong { color: var(--plans-ink); font-size: .86rem; }
body.bf-page-planes .pg-official-row small { color: var(--plans-muted); font-size: .76rem; }
body.bf-page-planes .pg-official-row input { width: 20px; height: 20px; accent-color: var(--plans-accent); }

body.bf-page-planes :is(.create-submit, .pg-send) {
  background: var(--plans-accent) !important;
  color: #fff !important;
  box-shadow: none !important;
}

@media (max-width: 820px) {
  body.bf-page-planes > .app { width: min(calc(100% - 24px), 720px) !important; }
  body.bf-page-planes .card-image { grid-template-columns: 250px minmax(0, 1fr); }
  body.bf-page-planes .card-overlay .plan-people-strip { display: none !important; }
  body.bf-page-planes .plan-host { margin-right: 0; }
}

@media (max-width: 640px) {
  body.bf-page-planes > .app {
    width: 100% !important;
    margin: 10px auto 42px !important;
    padding: 0 10px 30px !important;
  }

  body.bf-page-planes .filters {
    top: 64px !important;
    margin-bottom: 18px !important;
    overflow-x: auto;
    border-radius: 14px !important;
  }

  body.bf-page-planes .filter,
  body.bf-page-planes .filter-map { min-height: 41px !important; padding: 0 12px !important; }
  body.bf-page-planes .plans-list-heading,
  body.bf-page-planes .pg-head { align-items: flex-start; }
  body.bf-page-planes .plans-list-heading p { display: none; }
  body.bf-page-planes .plans-create-button { min-height: 42px; padding: 0 12px; font-size: .79rem; }

  body.bf-page-planes .card {
    min-height: 0 !important;
    margin-bottom: 14px !important;
    border-radius: 16px !important;
  }

  body.bf-page-planes .card-image {
    display: block !important;
    min-height: 0;
  }

  body.bf-page-planes .card-image > img {
    height: 220px !important;
    min-height: 220px;
  }

  body.bf-page-planes .card-overlay {
    min-height: 0;
    padding: 18px 16px 16px !important;
  }

  body.bf-page-planes .plan-host { margin-bottom: 11px; }
  body.bf-page-planes .meta-subdesc { -webkit-line-clamp: 3; }
  body.bf-page-planes .meta-stats .meta-visits { display: none !important; }
  body.bf-page-planes .plan-actions { align-items: flex-end !important; }
  body.bf-page-planes .plan-actions-left { gap: 5px !important; }
  body.bf-page-planes .plan-actions-right { flex: 1; justify-content: flex-end; }
  body.bf-page-planes .plan-join-btn { flex: 1; max-width: 180px; min-width: 112px !important; }

  body.bf-page-planes #mapTabWrap,
  body.bf-page-planes .map-wrap {
    height: calc(100dvh - 172px) !important;
    min-height: 480px !important;
    border-radius: 16px !important;
  }

  body.bf-page-planes .pg-head { gap: 12px; }
  body.bf-page-planes .pg-title { font-size: 1.45rem; }
  body.bf-page-planes .pg-subtitle { font-size: .8rem; }
  body.bf-page-planes .coming-soon-card { min-height: 360px; border-radius: 16px; }
}

@media (max-width: 390px) {
  body.bf-page-planes .filters { gap: 2px !important; }
  body.bf-page-planes .filter,
  body.bf-page-planes .filter-map { padding-inline: 10px !important; font-size: .77rem !important; }
  body.bf-page-planes .filter-map span { display: none !important; }
  body.bf-page-planes .plans-list-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  body.bf-page-planes .plans-list-heading h1 { font-size: 1.42rem; }
}

/* =========================================================
   CREAR PLAN · PRODUCCIÓN 2026
   Capa final, aislada del modal antiguo.
========================================================= */
body.bf-page-planes .plans-list-heading {
  align-items: center !important;
}

body.bf-page-planes #openCreatePlan {
  align-self: center !important;
  margin-block: auto !important;
}

body.bf-page-planes .create-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1200 !important;
  background: rgba(18, 16, 15, .52) !important;
  backdrop-filter: blur(16px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(125%) !important;
  opacity: 0;
  transition: opacity .22s ease;
}

body.bf-page-planes .create-overlay.is-open {
  opacity: 1;
}

body.bf-page-planes .create-sheet--production {
  position: fixed !important;
  z-index: 1201 !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  width: min(920px, calc(100vw - 40px)) !important;
  height: min(90dvh, 900px) !important;
  min-height: 560px;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, .88) !important;
  border-radius: 30px !important;
  background: rgba(250, 249, 247, .96) !important;
  color: var(--plans-ink) !important;
  box-shadow: 0 42px 110px rgba(22, 18, 16, .28), 0 12px 36px rgba(22, 18, 16, .13), inset 0 1px 0 rgba(255, 255, 255, .96) !important;
  backdrop-filter: blur(30px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(145%) !important;
  transform: translate(-50%, -46%) scale(.985) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .26s cubic-bezier(.2,.8,.2,1), opacity .2s ease, visibility 0s linear .26s !important;
}

body.bf-page-planes .create-sheet--production.open {
  transform: translate(-50%, -50%) scale(1) !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s !important;
}

body.bf-page-planes .create-sheet-handle {
  display: none;
}

body.bf-page-planes .create-header--production {
  min-width: 0;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 22px !important;
  padding: 24px 26px 20px !important;
  border-bottom: 1px solid rgba(24, 24, 27, .075);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

body.bf-page-planes .create-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

body.bf-page-planes .create-heading-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 90, 18, .16);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 123, 53, .16), rgba(255, 90, 18, .08));
  color: var(--plans-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

body.bf-page-planes .create-heading-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
}

body.bf-page-planes .create-kicker {
  margin: 1px 0 5px !important;
  color: var(--plans-accent) !important;
  font-size: .69rem !important;
  font-weight: 850 !important;
  letter-spacing: .105em !important;
  text-transform: uppercase;
}

body.bf-page-planes .create-title {
  margin: 0 !important;
  color: var(--plans-ink) !important;
  font-size: clamp(1.35rem, 1.1rem + .55vw, 1.75rem) !important;
  font-weight: 860 !important;
  letter-spacing: -.035em;
  line-height: 1.12 !important;
}

body.bf-page-planes .create-subtitle {
  max-width: 650px !important;
  margin: 7px 0 0 !important;
  color: var(--plans-muted) !important;
  font-size: .86rem !important;
  line-height: 1.5 !important;
}

body.bf-page-planes .create-close {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  display: grid !important;
  place-items: center;
  padding: 0 !important;
  border: 1px solid rgba(24, 24, 27, .09) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .82) !important;
  color: #343438 !important;
  box-shadow: 0 7px 20px rgba(30, 26, 23, .07), inset 0 1px 0 #fff !important;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease !important;
}

body.bf-page-planes .create-close:hover {
  border-color: rgba(24, 24, 27, .16) !important;
  background: #fff !important;
  transform: translateY(-1px);
}

body.bf-page-planes .create-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

body.bf-page-planes .create-form--production {
  min-height: 0;
  overflow: auto !important;
  padding: 20px 24px 28px !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(24, 24, 27, .18) transparent;
  overscroll-behavior: contain;
}

body.bf-page-planes .create-form--production::-webkit-scrollbar {
  width: 7px;
}

body.bf-page-planes .create-form--production::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(24, 24, 27, .16);
  background-clip: padding-box;
}

body.bf-page-planes .create-form-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

body.bf-page-planes .create-form-alert {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(198, 45, 45, .17);
  border-radius: 14px;
  background: rgba(255, 239, 239, .9);
  color: #9d2424;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.45;
}

body.bf-page-planes .create-form-alert svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

body.bf-page-planes .create-form-alert[hidden] {
  display: none !important;
}

body.bf-page-planes .create-section-card {
  min-width: 0;
  margin: 0 !important;
  padding: 17px !important;
  border: 1px solid rgba(24, 24, 27, .08) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: 0 12px 32px rgba(36, 29, 25, .045), inset 0 1px 0 rgba(255,255,255,.95) !important;
}

body.bf-page-planes .create-section-card--wide {
  grid-column: 1 / -1;
}

body.bf-page-planes .create-section-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

body.bf-page-planes .create-section-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f4f2ef;
  color: #4d4945;
}

body.bf-page-planes .create-section-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.bf-page-planes .create-section-title {
  margin: 0 !important;
  color: var(--plans-ink) !important;
  font-size: .91rem !important;
  font-weight: 830 !important;
  letter-spacing: -.015em;
  line-height: 1.2;
}

body.bf-page-planes .create-section-copy {
  margin: 4px 0 0;
  color: var(--plans-muted);
  font-size: .74rem;
  line-height: 1.42;
}

body.bf-page-planes .create-sheet--production .form-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.bf-page-planes .create-sheet--production .form-row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.bf-page-planes .create-sheet--production .form-field {
  min-width: 0;
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  margin: 12px 0 0 !important;
}

body.bf-page-planes .create-sheet--production .create-section-head + .form-field,
body.bf-page-planes .create-sheet--production .create-section-head + .form-row {
  margin-top: 0 !important;
}

body.bf-page-planes .create-sheet--production .form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.bf-page-planes .create-sheet--production .form-field label {
  color: #3f3d3a !important;
  font-size: .76rem !important;
  font-weight: 760 !important;
  line-height: 1.25;
}

body.bf-page-planes .create-sheet--production .form-counter {
  flex: 0 0 auto;
  color: #8a8783;
  font-size: .68rem;
  font-variant-numeric: tabular-nums;
}

body.bf-page-planes .create-sheet--production input:not([type="hidden"]):not([type="file"]),
body.bf-page-planes .create-sheet--production textarea,
body.bf-page-planes .create-sheet--production select {
  width: 100% !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 12px 13px !important;
  border: 1px solid rgba(24, 24, 27, .105) !important;
  border-radius: 13px !important;
  outline: none !important;
  background: rgba(248, 247, 245, .88) !important;
  color: var(--plans-ink) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82) !important;
  font-family: inherit !important;
  font-size: max(16px, .85rem) !important;
  line-height: 1.4;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease !important;
}

@media (min-width: 641px) {
  body.bf-page-planes .create-sheet--production input:not([type="hidden"]):not([type="file"]),
  body.bf-page-planes .create-sheet--production textarea,
  body.bf-page-planes .create-sheet--production select {
    font-size: .84rem !important;
  }
}

body.bf-page-planes .create-sheet--production textarea {
  min-height: 116px !important;
  resize: vertical !important;
}

body.bf-page-planes .create-sheet--production input::placeholder,
body.bf-page-planes .create-sheet--production textarea::placeholder {
  color: #9b9894 !important;
  opacity: 1;
}

body.bf-page-planes .create-sheet--production input:focus,
body.bf-page-planes .create-sheet--production textarea:focus,
body.bf-page-planes .create-sheet--production select:focus {
  border-color: rgba(255, 90, 18, .62) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(255, 90, 18, .105), inset 0 1px 0 #fff !important;
}

body.bf-page-planes .create-sheet--production .form-field.has-error input,
body.bf-page-planes .create-sheet--production .form-field.has-error textarea,
body.bf-page-planes .create-sheet--production .form-field.has-error select,
body.bf-page-planes .create-sheet--production .form-field.has-error .location-input-wrap {
  border-color: rgba(204, 43, 43, .66) !important;
  box-shadow: 0 0 0 4px rgba(204, 43, 43, .09) !important;
}

body.bf-page-planes .create-sheet--production .select-wrap {
  position: relative;
}

body.bf-page-planes .create-sheet--production .select-wrap select {
  padding-right: 42px !important;
  appearance: none;
  -webkit-appearance: none;
}

body.bf-page-planes .create-sheet--production .select-wrap > svg {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #696661;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(-50%);
  pointer-events: none;
}

body.bf-page-planes .create-sheet--production .form-hint {
  margin: 0 !important;
  color: #7b7874 !important;
  font-size: .7rem !important;
  line-height: 1.45 !important;
}

body.bf-page-planes .create-sheet--production .location-input-wrap {
  min-height: 50px;
  display: grid !important;
  grid-template-columns: 21px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 13px !important;
  border: 1px solid rgba(24, 24, 27, .105) !important;
  border-radius: 14px !important;
  background: rgba(248, 247, 245, .88) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

body.bf-page-planes .create-sheet--production .location-input-wrap:focus-within {
  border-color: rgba(255, 90, 18, .62) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(255, 90, 18, .105), inset 0 1px 0 #fff !important;
}

body.bf-page-planes .create-sheet--production .location-input-wrap input {
  min-height: 48px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.bf-page-planes .create-sheet--production .location-input-icon {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: var(--plans-accent);
}

body.bf-page-planes .create-sheet--production .location-input-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.bf-page-planes .create-sheet--production .location-clear {
  width: 30px !important;
  height: 30px !important;
  display: grid !important;
  place-items: center;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #77736f !important;
  cursor: pointer;
}

body.bf-page-planes .create-sheet--production .location-clear:hover {
  background: rgba(24, 24, 27, .06) !important;
  color: #2e2c2a !important;
}

body.bf-page-planes .create-sheet--production .location-clear svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

body.bf-page-planes .create-sheet--production .location-selected-card {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin-top: 9px !important;
  padding: 11px 12px !important;
  border: 1px solid rgba(34, 139, 84, .15) !important;
  border-radius: 13px !important;
  background: rgba(235, 249, 241, .88) !important;
}

body.bf-page-planes .create-sheet--production .location-selected-card[hidden] {
  display: none !important;
}

body.bf-page-planes .create-sheet--production .location-selected-check {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #218c56;
  color: #fff;
}

body.bf-page-planes .create-sheet--production .location-selected-check svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.bf-page-planes .create-sheet--production .location-selected-title {
  color: #247249 !important;
  font-size: .65rem !important;
  font-weight: 850 !important;
  letter-spacing: .075em !important;
}

body.bf-page-planes .create-sheet--production .location-selected-address {
  margin-top: 3px !important;
  color: #173e2b !important;
  font-size: .78rem !important;
  font-weight: 760 !important;
  line-height: 1.35;
}

body.bf-page-planes .create-sheet--production .location-selected-meta {
  margin-top: 2px !important;
  color: #527160 !important;
  font-size: .68rem !important;
}

body.bf-page-planes .create-sheet--production .create-file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

body.bf-page-planes .create-sheet--production .create-file-picker {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px !important;
  border: 1px dashed rgba(24, 24, 27, .17) !important;
  border-radius: 15px !important;
  background: rgba(248, 247, 245, .72) !important;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

body.bf-page-planes .create-sheet--production .create-file-picker:hover {
  border-color: rgba(255, 90, 18, .48) !important;
  background: rgba(255, 247, 242, .92) !important;
  transform: translateY(-1px);
}

body.bf-page-planes .create-sheet--production .create-file-input:focus-visible + .create-file-picker {
  outline: 3px solid rgba(255, 90, 18, .18);
  outline-offset: 2px;
}

body.bf-page-planes .create-sheet--production .create-file-picker-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: var(--plans-accent);
  box-shadow: 0 8px 20px rgba(32, 27, 24, .07), inset 0 1px 0 #fff;
}

body.bf-page-planes .create-sheet--production .create-file-picker-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.bf-page-planes .create-sheet--production .create-file-picker > span:last-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}

body.bf-page-planes .create-sheet--production .create-file-picker strong {
  color: #292724;
  font-size: .8rem;
  font-weight: 800;
}

body.bf-page-planes .create-sheet--production .create-file-picker small {
  color: #7c7975;
  font-size: .69rem;
  font-weight: 500;
  line-height: 1.35;
}

body.bf-page-planes .create-sheet--production .file-preview {
  position: relative;
  margin-top: 10px !important;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 27, .085) !important;
  border-radius: 15px !important;
  background: #f4f2ef !important;
}

body.bf-page-planes .create-sheet--production .file-preview[hidden] {
  display: none !important;
}

body.bf-page-planes .create-sheet--production .file-preview img {
  width: 100% !important;
  height: 190px !important;
  display: block;
  object-fit: cover !important;
}

body.bf-page-planes .create-sheet--production .file-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .92);
}

body.bf-page-planes .create-sheet--production .file-preview-meta span {
  min-width: 0;
  overflow: hidden;
  color: #4e4b47;
  font-size: .72rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.bf-page-planes .create-sheet--production .file-preview-meta button {
  flex: 0 0 auto;
  padding: 5px 8px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: rgba(199, 43, 43, .08) !important;
  color: #b42a2a !important;
  font: inherit;
  font-size: .68rem !important;
  font-weight: 760 !important;
  cursor: pointer;
}

body.bf-page-planes .create-footer--production {
  position: relative !important;
  min-height: 82px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 15px 24px calc(15px + env(safe-area-inset-bottom)) !important;
  border-top: 1px solid rgba(24, 24, 27, .075) !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: 0 -10px 28px rgba(40, 33, 29, .035) !important;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

body.bf-page-planes .create-footer-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

body.bf-page-planes .create-footer-copy strong {
  color: #393633;
  font-size: .76rem;
  font-weight: 800;
}

body.bf-page-planes .create-footer-copy span {
  color: #85817d;
  font-size: .68rem;
  line-height: 1.35;
}

body.bf-page-planes .create-footer-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

body.bf-page-planes .create-cancel,
body.bf-page-planes .create-submit {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  font-family: inherit !important;
  font-size: .79rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, opacity .16s ease, box-shadow .16s ease !important;
}

body.bf-page-planes .create-cancel {
  border: 1px solid rgba(24, 24, 27, .1) !important;
  background: rgba(255, 255, 255, .82) !important;
  color: #45423f !important;
}

body.bf-page-planes .create-cancel:hover {
  background: #fff !important;
  transform: translateY(-1px);
}

body.bf-page-planes .create-submit {
  min-width: 148px;
  border: 1px solid var(--plans-accent) !important;
  background: var(--plans-accent) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(255, 90, 18, .22) !important;
}

body.bf-page-planes .create-submit:hover {
  background: #ea4c07 !important;
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(255, 90, 18, .25) !important;
}

body.bf-page-planes .create-submit svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.bf-page-planes .create-submit.is-loading {
  pointer-events: none;
}

body.bf-page-planes .create-submit.is-loading svg {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: plans-create-spin .72s linear infinite;
}

body.bf-page-planes .create-submit.is-loading svg * {
  display: none;
}

body.bf-page-planes .create-submit:disabled,
body.bf-page-planes .create-cancel:disabled,
body.bf-page-planes .create-close:disabled {
  opacity: .58 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

body.bf-page-planes .pac-container {
  z-index: 1300 !important;
  margin-top: 6px !important;
  overflow: hidden !important;
  border: 1px solid rgba(24, 24, 27, .1) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 22px 55px rgba(26, 21, 18, .18) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body.bf-page-planes .pac-item {
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  padding: 8px 12px !important;
  border-top-color: rgba(24, 24, 27, .06) !important;
  color: #696560 !important;
  font-size: .76rem !important;
  cursor: pointer;
}

body.bf-page-planes .pac-item:hover,
body.bf-page-planes .pac-item-selected {
  background: #fff5ef !important;
}

body.bf-page-planes .pac-item-query {
  color: #282522 !important;
  font-size: .79rem !important;
  font-weight: 750 !important;
}

@keyframes plans-create-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 760px) {
  body.bf-page-planes .create-sheet--production {
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: min(93dvh, 900px) !important;
    min-height: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 25px 25px 0 0 !important;
    transform: translateY(105%) !important;
    opacity: 1;
  }

  body.bf-page-planes .create-sheet--production.open {
    transform: translateY(0) !important;
  }

  body.bf-page-planes .create-sheet-handle {
    position: absolute;
    z-index: 2;
    top: 7px;
    left: 50%;
    width: 36px;
    height: 4px;
    display: block;
    border-radius: 999px;
    background: rgba(24, 24, 27, .16);
    transform: translateX(-50%);
  }

  body.bf-page-planes .create-header--production {
    gap: 12px !important;
    padding: 20px 15px 14px !important;
  }

  body.bf-page-planes .create-heading {
    gap: 10px;
  }

  body.bf-page-planes .create-heading-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
  }

  body.bf-page-planes .create-title {
    font-size: 1.22rem !important;
  }

  body.bf-page-planes .create-subtitle {
    display: none;
  }

  body.bf-page-planes .create-close {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 11px !important;
  }

  body.bf-page-planes .create-form--production {
    padding: 14px 11px 22px !important;
  }

  body.bf-page-planes .create-form-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  body.bf-page-planes .create-section-card--wide {
    grid-column: auto;
  }

  body.bf-page-planes .create-section-card {
    padding: 14px !important;
    border-radius: 17px !important;
  }

  body.bf-page-planes .create-section-head {
    margin-bottom: 12px;
  }

  body.bf-page-planes .create-sheet--production .form-row--three {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.bf-page-planes .create-sheet--production .form-row--three .form-field:last-child {
    grid-column: 1 / -1;
  }

  body.bf-page-planes .create-footer--production {
    min-height: 70px;
    padding: 10px 11px calc(10px + env(safe-area-inset-bottom)) !important;
  }

  body.bf-page-planes .create-footer-copy {
    display: none;
  }

  body.bf-page-planes .create-footer-actions {
    width: 100%;
  }

  body.bf-page-planes .create-cancel {
    flex: 0 0 auto;
  }

  body.bf-page-planes .create-submit {
    min-width: 0;
    flex: 1;
  }
}

@media (max-width: 430px) {
  body.bf-page-planes .plans-list-heading {
    gap: 12px !important;
  }

  body.bf-page-planes #openCreatePlan {
    min-height: 40px !important;
    padding-inline: 11px !important;
  }

  body.bf-page-planes .create-sheet--production .form-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.bf-page-planes .create-sheet--production .form-row--three {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.bf-page-planes .create-sheet--production .form-row--three .form-field:last-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.bf-page-planes .create-overlay,
  body.bf-page-planes .create-sheet--production,
  body.bf-page-planes .create-close,
  body.bf-page-planes .create-cancel,
  body.bf-page-planes .create-submit,
  body.bf-page-planes .create-file-picker {
    transition: none !important;
  }
}


/* =========================================================
   PLANES · COMENTARIOS MODAL PRODUCCIÓN 2026
   Mismo lenguaje visual que los modales de Feeds.
========================================================= */
body.bf-page-planes.plans-comments-modal-open {
  overflow: hidden !important;
}

body.bf-page-planes #commentsOverlay.comments-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10020 !important;
  margin: 0 !important;
  background: rgba(18,18,20,.38) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  backdrop-filter: blur(14px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(125%) !important;
  transition: opacity .22s ease, visibility 0s linear .22s !important;
}

body.bf-page-planes #commentsOverlay.comments-overlay.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition-delay: 0s !important;
}

body.bf-page-planes #commentsSheet.comments-sheet--production {
  position: fixed !important;
  z-index: 10021 !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  top: 50% !important;
  display: flex !important;
  flex-direction: column !important;
  width: min(680px, calc(100vw - 28px)) !important;
  height: min(76dvh, 760px) !important;
  max-height: 760px !important;
  min-height: 430px !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  border: 0 !important;
  border-radius: 32px !important;
  background: rgba(255,255,255,.95) !important;
  color: #171719 !important;
  box-shadow: 0 34px 100px rgba(22,22,25,.28) !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate(-50%, calc(-50% + 18px)) scale(.985) !important;
  backdrop-filter: blur(30px) saturate(170%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(170%) !important;
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s !important;
}

body.bf-page-planes #commentsSheet.comments-sheet--production.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(-50%, -50%) scale(1) !important;
  transition-delay: 0s !important;
}

body.bf-page-planes #commentsSheet .sheet-handle {
  display: none !important;
}

body.bf-page-planes #commentsSheet .comments-sheet-top {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  min-height: 92px !important;
  padding: 20px 20px 17px !important;
  border-bottom: 1px solid rgba(23,23,25,.065) !important;
  background: rgba(255,255,255,.82) !important;
  backdrop-filter: blur(22px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
}

body.bf-page-planes #commentsSheet .comments-heading {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 13px !important;
}

body.bf-page-planes #commentsSheet .comments-heading-icon {
  display: grid !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  height: 46px !important;
  place-items: center !important;
  border-radius: 16px !important;
  color: #fff !important;
  background: linear-gradient(145deg,#ff9419,#ff5511) !important;
  box-shadow: 0 12px 26px rgba(255,91,18,.24) !important;
}

body.bf-page-planes #commentsSheet .comments-heading-icon svg {
  width: 22px !important;
  height: 22px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.bf-page-planes #commentsSheet .comments-kicker {
  display: block !important;
  margin: 0 0 3px !important;
  color: #ff6412 !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
  letter-spacing: .095em !important;
  text-transform: uppercase !important;
}

body.bf-page-planes #commentsSheet .sheet-title {
  margin: 0 !important;
  color: #171719 !important;
  font-size: 23px !important;
  line-height: 1.1 !important;
  font-weight: 880 !important;
  letter-spacing: -.035em !important;
  text-align: left !important;
}

body.bf-page-planes #commentsSheet .comments-close {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-grid !important;
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  place-items: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(239,239,242,.92) !important;
  color: #171719 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background .16s ease, transform .16s ease !important;
}

body.bf-page-planes #commentsSheet .comments-close:hover {
  background: #e5e5e8 !important;
}

body.bf-page-planes #commentsSheet .comments-close:active {
  transform: scale(.92) !important;
}

body.bf-page-planes #commentsSheet .comments-close svg {
  width: 18px !important;
  height: 18px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.1 !important;
  stroke-linecap: round !important;
}

body.bf-page-planes #commentsSheet .comments-list {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 8px 16px 18px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(23,23,25,.18) transparent !important;
  background: transparent !important;
}

body.bf-page-planes #commentsSheet .comments-list::-webkit-scrollbar {
  width: 5px !important;
}

body.bf-page-planes #commentsSheet .comments-list::-webkit-scrollbar-thumb {
  border-radius: 999px !important;
  background: rgba(23,23,25,.18) !important;
}

body.bf-page-planes #commentsSheet .comment-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 15px 4px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(23,23,25,.06) !important;
  background: transparent !important;
}

body.bf-page-planes #commentsSheet .comment-item:last-child {
  border-bottom: 0 !important;
}

body.bf-page-planes #commentsSheet .comment-avatar-link {
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
}

body.bf-page-planes #commentsSheet .comment-avatar {
  display: block !important;
  width: 44px !important;
  height: 44px !important;
  border: 2px solid rgba(255,255,255,.92) !important;
  border-radius: 999px !important;
  object-fit: cover !important;
  box-shadow: 0 0 0 1px rgba(23,23,25,.08),0 8px 20px rgba(23,23,25,.1) !important;
}

body.bf-page-planes #commentsSheet .comment-body {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

body.bf-page-planes #commentsSheet .comment-header-main {
  min-width: 0 !important;
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

body.bf-page-planes #commentsSheet .comment-name {
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #171719 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 820 !important;
}

body.bf-page-planes #commentsSheet .verified-badge-img {
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  object-fit: contain !important;
}

body.bf-page-planes #commentsSheet .comment-date {
  flex: 0 0 auto !important;
  color: #97979f !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 680 !important;
  white-space: nowrap !important;
}

body.bf-page-planes #commentsSheet .comment-text {
  margin-top: 5px !important;
  color: #4f4f57 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere !important;
}

body.bf-page-planes #commentsSheet .comments-composer {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom,0px)) !important;
  border-top: 1px solid rgba(23,23,25,.07) !important;
  background: rgba(255,255,255,.9) !important;
  backdrop-filter: blur(22px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
}

body.bf-page-planes #commentsSheet .comment-input {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.bf-page-planes #commentsSheet .comment-input input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  min-height: 50px !important;
  padding: 0 17px !important;
  border: 1px solid rgba(23,23,25,.08) !important;
  border-radius: 22px !important;
  outline: none !important;
  background: #f2f2f4 !important;
  color: #171719 !important;
  box-shadow: none !important;
  font-size: 15px !important;
  transition: border-color .16s ease,background .16s ease,box-shadow .16s ease !important;
}

body.bf-page-planes #commentsSheet .comment-input input:focus {
  border-color: rgba(23,23,25,.2) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(23,23,25,.06) !important;
}

body.bf-page-planes #commentsSheet .comment-input button {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: relative !important;
  flex: 0 0 50px !important;
  width: 50px !important;
  min-width: 50px !important;
  height: 50px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg,#ff8a16 0%,#ff5b13 100%) !important;
  box-shadow: 0 12px 25px rgba(255,100,18,.25) !important;
  cursor: pointer !important;
}

body.bf-page-planes #commentsSheet .comment-input button:disabled {
  opacity: .5 !important;
  box-shadow: none !important;
  cursor: wait !important;
}

body.bf-page-planes #commentsSheet .comment-login-gate {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 14px 15px !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: #f1f1f3 !important;
  box-shadow: none !important;
}

body.bf-page-planes #commentsSheet .comment-login-gate[hidden],
body.bf-page-planes #commentsSheet .comment-input[hidden] {
  display: none !important;
}

body.bf-page-planes #commentsSheet .comment-login-gate > div {
  min-width: 0 !important;
  display: grid !important;
  gap: 3px !important;
}

body.bf-page-planes #commentsSheet .comment-login-gate strong {
  color: #303035 !important;
  font-size: 13px !important;
  font-weight: 820 !important;
}

body.bf-page-planes #commentsSheet .comment-login-gate span {
  color: #777780 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}

body.bf-page-planes #commentsSheet .comment-login-btn,
body.bf-page-planes #commentsSheet .comments-retry {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 17px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #171719 !important;
  font-size: 12px !important;
  font-weight: 820 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

body.bf-page-planes #commentsSheet .comments-state {
  min-height: 230px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 28px !important;
  color: #85858d !important;
  text-align: center !important;
}

body.bf-page-planes #commentsSheet .comments-state strong {
  color: #343439 !important;
  font-size: 15px !important;
  font-weight: 840 !important;
}

body.bf-page-planes #commentsSheet .comments-state > span:not(.comments-spinner):last-of-type {
  max-width: 320px !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.bf-page-planes #commentsSheet .comments-spinner {
  width: 28px !important;
  height: 28px !important;
  margin-bottom: 4px !important;
  border: 3px solid #e2e2e5 !important;
  border-top-color: #ff6b13 !important;
  border-radius: 50% !important;
  animation: plansCommentsSpin .75s linear infinite !important;
}

body.bf-page-planes #commentsSheet .comments-state-icon {
  display: grid !important;
  width: 54px !important;
  height: 54px !important;
  place-items: center !important;
  margin-bottom: 4px !important;
  border-radius: 19px !important;
  background: #ededf0 !important;
  color: #707078 !important;
}

body.bf-page-planes #commentsSheet .comments-state-icon svg {
  width: 25px !important;
  height: 25px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

@keyframes plansCommentsSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  body.bf-page-planes #commentsSheet.comments-sheet--production {
    top: auto !important;
    bottom: calc(8px + env(safe-area-inset-bottom,0px)) !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    height: min(78dvh,720px) !important;
    min-height: 420px !important;
    border-radius: 30px !important;
    transform: translateY(28px) scale(.99) !important;
  }

  body.bf-page-planes #commentsSheet.comments-sheet--production.open {
    transform: translateY(0) scale(1) !important;
  }

  body.bf-page-planes #commentsSheet .sheet-handle {
    position: absolute !important;
    z-index: 5 !important;
    top: 7px !important;
    left: 50% !important;
    display: block !important;
    width: 42px !important;
    height: 4px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: rgba(23,23,25,.14) !important;
    transform: translateX(-50%) !important;
  }

  body.bf-page-planes #commentsSheet .comments-sheet-top {
    min-height: 78px !important;
    padding: 18px 15px 13px !important;
  }

  body.bf-page-planes #commentsSheet .comments-heading-icon {
    flex-basis: 38px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 14px !important;
  }

  body.bf-page-planes #commentsSheet .comments-heading-icon svg {
    width: 19px !important;
    height: 19px !important;
  }

  body.bf-page-planes #commentsSheet .comments-kicker {
    display: none !important;
  }

  body.bf-page-planes #commentsSheet .sheet-title {
    font-size: 19px !important;
  }

  body.bf-page-planes #commentsSheet .comments-close {
    flex-basis: 38px !important;
    width: 38px !important;
    height: 38px !important;
  }

  body.bf-page-planes #commentsSheet .comments-list {
    padding: 6px 12px 12px !important;
  }

  body.bf-page-planes #commentsSheet .comment-item {
    padding: 13px 3px !important;
  }

  body.bf-page-planes #commentsSheet .comment-date {
    display: block !important;
    margin-top: 3px !important;
    white-space: normal !important;
  }

  body.bf-page-planes #commentsSheet .comment-header-main {
    display: block !important;
  }

  body.bf-page-planes #commentsSheet .comments-composer {
    padding-inline: 12px !important;
  }

  body.bf-page-planes #commentsSheet .comment-login-gate {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  body.bf-page-planes #commentsSheet .comment-login-btn {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.bf-page-planes #commentsOverlay,
  body.bf-page-planes #commentsSheet,
  body.bf-page-planes #commentsSheet .comments-spinner {
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   DATOS DEL PLAN · MISMO DISEÑO, ICONOS Y AFORO 2026
   Conserva los chips originales; solo añade iconografía y semáforo.
========================================================= */
body.bf-page-planes .meta-stats .plan-meta-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

body.bf-page-planes .meta-stats .plan-meta-icon {
  flex: 0 0 14px !important;
  width: 14px !important;
  height: 14px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  opacity: .82 !important;
}

body.bf-page-planes .meta-stats .meta-item-value {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  white-space: nowrap !important;
}

body.bf-page-planes .meta-stats .plan-capacity-dot {
  flex: 0 0 7px !important;
  width: 7px !important;
  height: 7px !important;
  min-height: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #24b75b !important;
  box-shadow: none !important;
}
body.bf-page-planes .meta-stats .plan-capacity-dot.is-yellow { background: #e8aa18 !important; }
body.bf-page-planes .meta-stats .plan-capacity-dot.is-red { background: #e5484d !important; }

/* El estado finalizado siempre debe conservar fondo negro y texto blanco. */
body.bf-page-planes .meta-plan-status.meta-plan-status-past,
body.bf-page-planes .meta-title-row .meta-plan-status-past {
  background: #111113 !important;
  color: #ffffff !important;
  border-color: #111113 !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* =========================================================
   INDICADORES INTERACTIVOS · MISMO DISEÑO ORIGINAL
   Solo añade interacción, sin alterar tamaño ni composición.
========================================================= */
body.bf-page-planes .meta-stats .plan-meta-action {
  cursor: pointer !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: manipulation !important;
  transition: border-color .16s ease, background-color .16s ease, transform .16s ease !important;
}

body.bf-page-planes .meta-stats .plan-meta-action:hover {
  border-color: #d9d4ce !important;
  background: #fbfaf8 !important;
}

body.bf-page-planes .meta-stats .plan-meta-action:active {
  transform: scale(.98) !important;
}

body.bf-page-planes .meta-stats .plan-meta-action:focus-visible {
  outline: 2px solid rgba(255, 104, 0, .34) !important;
  outline-offset: 2px !important;
}

/* =========================================================
   MODAL DE INFORMACIÓN DEL PLAN · CRISTAL PRODUCCIÓN
========================================================= */
body.bf-page-planes .plan-facts-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1510 !important;
  display: block !important;
  background: rgba(18, 16, 15, .48) !important;
  backdrop-filter: blur(14px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(125%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .2s ease, visibility 0s linear .2s !important;
}

body.bf-page-planes .plan-facts-overlay.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition-delay: 0s !important;
}

body.bf-page-planes .plan-facts-modal {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  z-index: 1511 !important;
  width: min(500px, calc(100vw - 32px)) !important;
  max-height: min(78dvh, 680px) !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, .88) !important;
  border-radius: 28px !important;
  background: rgba(252, 251, 249, .97) !important;
  color: #171719 !important;
  box-shadow: 0 34px 90px rgba(22, 18, 16, .28), 0 10px 30px rgba(22, 18, 16, .12), inset 0 1px 0 rgba(255, 255, 255, .98) !important;
  backdrop-filter: blur(28px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(145%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate(-50%, -46%) scale(.985) !important;
  transition: transform .23s cubic-bezier(.2,.8,.2,1), opacity .18s ease, visibility 0s linear .23s !important;
}

body.bf-page-planes .plan-facts-modal.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(-50%, -50%) scale(1) !important;
  transition-delay: 0s !important;
}

body.bf-page-planes .plan-facts-handle { display: none !important; }

body.bf-page-planes .plan-facts-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 22px 22px 18px !important;
  border-bottom: 1px solid rgba(24, 24, 27, .075) !important;
  background: rgba(255, 255, 255, .7) !important;
}

body.bf-page-planes .plan-facts-heading {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 13px !important;
}

body.bf-page-planes .plan-facts-icon {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 14px !important;
  background: #fff1e7 !important;
  color: #ff6800 !important;
}

body.bf-page-planes .plan-facts-icon svg {
  width: 21px !important;
  height: 21px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.bf-page-planes .plan-facts-kicker {
  display: block !important;
  margin-bottom: 2px !important;
  color: #8a817b !important;
  font-size: .7rem !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.bf-page-planes .plan-facts-header h3 {
  margin: 0 !important;
  color: #171719 !important;
  font-size: 1.18rem !important;
  line-height: 1.15 !important;
}

body.bf-page-planes .plan-facts-close {
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid #e8e4df !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #252326 !important;
  cursor: pointer !important;
}

body.bf-page-planes .plan-facts-close svg {
  width: 17px !important;
  height: 17px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
}

body.bf-page-planes .plan-facts-content {
  min-height: 0 !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  padding: 20px 22px 22px !important;
}

body.bf-page-planes .plan-facts-description {
  margin: 0 0 16px !important;
  color: #666068 !important;
  font-size: .88rem !important;
  line-height: 1.55 !important;
}

body.bf-page-planes .plan-facts-rows {
  display: grid !important;
  gap: 9px !important;
}

body.bf-page-planes .plan-facts-row {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 50px !important;
  padding: 11px 14px !important;
  border: 1px solid #ebe7e2 !important;
  border-radius: 15px !important;
  background: rgba(255, 255, 255, .88) !important;
}

body.bf-page-planes .plan-facts-row-label {
  color: #817a75 !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
}

body.bf-page-planes .plan-facts-row-value {
  min-width: 0 !important;
  color: #1c1a1d !important;
  font-size: .84rem !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
  text-align: right !important;
  overflow-wrap: anywhere !important;
}

body.bf-page-planes .plan-facts-row-value.is-green { color: #178746 !important; }
body.bf-page-planes .plan-facts-row-value.is-yellow { color: #a96f00 !important; }
body.bf-page-planes .plan-facts-row-value.is-red { color: #c9383e !important; }

body.bf-page-planes .plan-facts-footer {
  padding: 14px 22px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  border-top: 1px solid rgba(24, 24, 27, .075) !important;
  background: rgba(255, 255, 255, .76) !important;
}

body.bf-page-planes .plan-facts-done {
  width: 100% !important;
  min-height: 46px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #ff6800 !important;
  color: #fff !important;
  font-size: .86rem !important;
  font-weight: 850 !important;
  cursor: pointer !important;
}

@media (max-width: 640px) {
  body.bf-page-planes .plan-facts-modal {
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-height: min(78dvh, 620px) !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 24px 24px 0 0 !important;
    transform: translateY(104%) !important;
  }

  body.bf-page-planes .plan-facts-modal.is-open {
    transform: translateY(0) !important;
  }

  body.bf-page-planes .plan-facts-handle {
    display: block !important;
    width: 38px !important;
    height: 4px !important;
    margin: 8px auto 0 !important;
    border-radius: 999px !important;
    background: #d8d3ce !important;
  }

  body.bf-page-planes .plan-facts-header {
    padding: 13px 16px 14px !important;
  }

  body.bf-page-planes .plan-facts-content {
    padding: 17px 16px 19px !important;
  }

  body.bf-page-planes .plan-facts-footer {
    padding-inline: 16px !important;
  }

  body.bf-page-planes .plan-facts-row {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.bf-page-planes .plan-facts-overlay,
  body.bf-page-planes .plan-facts-modal,
  body.bf-page-planes .meta-stats .plan-meta-action {
    transition: none !important;
  }
}

/* =========================================================
   FEED DE PLANES · SELECTOR DE PRODUCCIÓN
   Próximos / Participo / Finalizados
========================================================= */
body.bf-page-planes .plans-feed-toolbar[hidden],
body.bf-page-planes .plans-feed-empty[hidden],
body.bf-page-planes .card[hidden] {
  display: none !important;
}

body.bf-page-planes .plans-feed-toolbar {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 2px 0 16px !important;
  box-sizing: border-box !important;
}

body.bf-page-planes .plans-feed-selector {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 4px;
  border: 1px solid var(--plans-border, #e6e3df);
  border-radius: 15px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 24px rgba(26, 23, 20, .055);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

body.bf-page-planes .plans-feed-filter {
  position: relative;
  min-width: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #656169;
  font: inherit;
  font-size: .81rem;
  font-weight: 780;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}

body.bf-page-planes .plans-feed-filter:hover {
  border-color: rgba(23, 23, 25, .08);
  background: rgba(23, 23, 25, .045);
  color: #242226;
}

body.bf-page-planes .plans-feed-filter:active {
  transform: scale(.985);
}

body.bf-page-planes .plans-feed-filter:focus-visible {
  outline: 3px solid rgba(255, 90, 18, .22);
  outline-offset: 2px;
}

body.bf-page-planes .plans-feed-filter.is-active {
  border-color: #171719;
  background: #171719;
  color: #fff;
  box-shadow: 0 7px 18px rgba(20, 19, 21, .14);
}

body.bf-page-planes .plans-feed-filter__icon {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
}

body.bf-page-planes .plans-feed-filter__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.bf-page-planes .plans-feed-filter__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.bf-page-planes .plans-feed-filter__count {
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(23, 23, 25, .075);
  color: #545058;
  font-size: .69rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

body.bf-page-planes .plans-feed-filter.is-active .plans-feed-filter__count {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

body.bf-page-planes .plans-feed-empty {
  width: 100%;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 0 18px;
  padding: 34px 22px;
  border: 1px solid var(--plans-border, #e6e3df);
  border-radius: 20px;
  background: rgba(255, 255, 255, .88);
  color: var(--plans-muted, #68686f);
  text-align: center;
  box-shadow: 0 10px 30px rgba(27, 24, 21, .045);
  box-sizing: border-box;
}

body.bf-page-planes .plans-feed-empty__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 5px;
  border-radius: 15px;
  background: #fff1e7;
  color: var(--plans-accent, #ff5a12);
}

body.bf-page-planes .plans-feed-empty__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.bf-page-planes .plans-feed-empty strong {
  color: var(--plans-ink, #171719);
  font-size: 1rem;
  font-weight: 850;
}

body.bf-page-planes .plans-feed-empty > span:last-child {
  max-width: 470px;
  font-size: .84rem;
  line-height: 1.5;
}

@media (min-width: 941px) {
  body.bf-page-planes > .app > .plans-feed-toolbar,
  body.bf-page-planes > .app > .plans-feed-empty {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 640px) {
  body.bf-page-planes .plans-feed-toolbar {
    margin: 0 0 12px !important;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.bf-page-planes .plans-feed-toolbar::-webkit-scrollbar {
    display: none;
  }

  body.bf-page-planes .plans-feed-selector {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
    border-radius: 14px;
  }

  body.bf-page-planes .plans-feed-filter {
    width: 100%;
    min-height: 40px;
    gap: 5px;
    padding: 0 7px;
    border-radius: 10px;
    font-size: .73rem;
  }

  body.bf-page-planes .plans-feed-filter__icon,
  body.bf-page-planes .plans-feed-filter__icon svg {
    width: 17px;
    height: 17px;
  }

  body.bf-page-planes .plans-feed-filter__count {
    min-width: 19px;
    height: 19px;
    padding-inline: 5px;
    font-size: .64rem;
  }

  body.bf-page-planes .plans-feed-empty {
    min-height: 210px;
    margin-bottom: 14px;
    border-radius: 16px;
  }
}

@media (max-width: 390px) {
  body.bf-page-planes .plans-feed-filter {
    flex-direction: column;
    gap: 3px;
    min-height: 54px;
    padding-block: 5px;
  }

  body.bf-page-planes .plans-feed-filter__count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 17px;
    height: 17px;
    padding-inline: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.bf-page-planes .plans-feed-filter {
    transition: none;
  }
}
