/* Banana Friends · Modal Crear Plan embebido en Explora
   Misma capa visual que Planes, aislada para no tocar el resto de Explora. */
body.bf-page-explore {
  --plans-accent: #ff5a12;
  --plans-ink: #171719;
  --plans-muted: #68686f;
  --plans-border: #e6e3df;
  --plans-surface: #ffffff;
}
body.bf-page-explore .create-overlay { display:none; }
body.bf-page-explore .create-overlay[aria-hidden="true"] { pointer-events:none; }
/* =========================================================
   CREAR PLAN · PRODUCCIÓN 2026
   Capa final, aislada del modal antiguo.
========================================================= */
body.bf-page-explore .plans-list-heading {
  align-items: center !important;
}

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

body.bf-page-explore .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-explore .create-overlay.is-open {
  opacity: 1;
}

body.bf-page-explore.plans-create-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

body.bf-page-explore .create-sheet--production {
  position: fixed !important;
  z-index: 1201 !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  width: min(1120px, calc(100vw - 48px)) !important;
  height: min(92dvh, 940px) !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%, -50%) scale(.985) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  isolation: isolate;
  overscroll-behavior: none !important;
  contain: layout paint;
  transition: transform .26s cubic-bezier(.2,.8,.2,1), opacity .2s ease, visibility 0s linear .26s !important;
}

body.bf-page-explore .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-explore .create-sheet-handle {
  display: none;
}

body.bf-page-explore .create-header--production {
  position: relative !important;
  z-index: 8;
  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-explore .create-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

body.bf-page-explore .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-explore .create-heading-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
}

body.bf-page-explore .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-explore .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-explore .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-explore .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-explore .create-close:hover {
  border-color: rgba(24, 24, 27, .16) !important;
  background: #fff !important;
  transform: translateY(-1px);
}

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

body.bf-page-explore .create-form--production {
  position: relative;
  z-index: 1;
  min-height: 0;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 20px 24px 28px !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(24, 24, 27, .18) transparent;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

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

body.bf-page-explore .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-explore .create-form-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

body.bf-page-explore .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-explore .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-explore .create-form-alert[hidden] {
  display: none !important;
}

body.bf-page-explore .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-explore .create-section-card--wide {
  grid-column: 1 / -1;
}

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

body.bf-page-explore .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-explore .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-explore .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-explore .create-section-copy {
  margin: 4px 0 0;
  color: var(--plans-muted);
  font-size: .74rem;
  line-height: 1.42;
}

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

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

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

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

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

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

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

body.bf-page-explore .create-sheet--production input:not([type="hidden"]):not([type="file"]),
body.bf-page-explore .create-sheet--production textarea,
body.bf-page-explore .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;
}

body.bf-page-explore .create-sheet--production .form-row--datetime > .form-field {
  min-width: 0 !important;
  overflow: hidden;
}

body.bf-page-explore .create-sheet--production input[type="date"],
body.bf-page-explore .create-sheet--production input[type="time"] {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  inline-size: 100% !important;
  width: 100% !important;
  padding-inline: 12px 10px !important;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

body.bf-page-explore .create-sheet--production input[type="date"]::-webkit-date-and-time-value,
body.bf-page-explore .create-sheet--production input[type="time"]::-webkit-date-and-time-value {
  min-width: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

body.bf-page-explore .create-sheet--production input[type="date"]::-webkit-datetime-edit,
body.bf-page-explore .create-sheet--production input[type="time"]::-webkit-datetime-edit {
  min-width: 0 !important;
  padding: 0 !important;
}

body.bf-page-explore .create-sheet--production input[type="date"]::-webkit-calendar-picker-indicator,
body.bf-page-explore .create-sheet--production input[type="time"]::-webkit-calendar-picker-indicator {
  flex: 0 0 auto;
  margin: 0 0 0 6px;
}

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

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

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

body.bf-page-explore .create-sheet--production input:focus,
body.bf-page-explore .create-sheet--production textarea:focus,
body.bf-page-explore .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-explore .create-sheet--production .form-field.has-error input,
body.bf-page-explore .create-sheet--production .form-field.has-error textarea,
body.bf-page-explore .create-sheet--production .form-field.has-error select,
body.bf-page-explore .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-explore .create-sheet--production .select-wrap {
  position: relative;
}

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

body.bf-page-explore .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-explore .create-sheet--production .form-hint {
  margin: 0 !important;
  color: #7b7874 !important;
  font-size: .7rem !important;
  line-height: 1.45 !important;
}

body.bf-page-explore .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-explore .create-sheet--production .form-field--location {
  position: relative;
  z-index: 6;
}

body.bf-page-explore .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-explore .create-sheet--production .location-input-wrap input {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
}

body.bf-page-explore .create-sheet--production .location-input-icon {
  grid-column: 1 !important;
  grid-row: 1 !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  z-index: auto !important;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: var(--plans-accent);
  pointer-events: none;
}

body.bf-page-explore .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-explore .create-sheet--production .location-clear {
  grid-column: 3 !important;
  grid-row: 1 !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  z-index: 1 !important;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  display: grid !important;
  place-items: center;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #77736f !important;
  cursor: pointer;
  touch-action: manipulation;
}

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

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

body.bf-page-explore .create-sheet--production .location-clear:active {
  transform: scale(.94) !important;
}

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

body.bf-page-explore .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-explore .create-sheet--production .location-selected-card[hidden] {
  display: none !important;
}

body.bf-page-explore .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-explore .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-explore .create-sheet--production .location-selected-title {
  color: #247249 !important;
  font-size: .65rem !important;
  font-weight: 850 !important;
  letter-spacing: .075em !important;
}

body.bf-page-explore .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-explore .create-sheet--production .location-selected-meta {
  margin-top: 2px !important;
  color: #527160 !important;
  font-size: .68rem !important;
}

body.bf-page-explore .create-sheet--production .places-dropdown {
  position: relative !important;
  z-index: 20;
  width: 100%;
  max-height: 286px;
  margin: 2px 0 0 !important;
  padding: 6px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 1px solid rgba(24, 24, 27, .1) !important;
  border-radius: 15px !important;
  background: rgba(255, 255, 255, .985) !important;
  box-shadow: 0 22px 55px rgba(26, 21, 18, .16) !important;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

body.bf-page-explore .create-sheet--production .places-dropdown[hidden] {
  display: none !important;
}

body.bf-page-explore .create-sheet--production .place-option {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: transparent !important;
  color: #26231f !important;
  text-align: left;
  cursor: pointer;
  transition: background .14s ease, transform .14s ease !important;
}

body.bf-page-explore .create-sheet--production .place-option:hover,
body.bf-page-explore .create-sheet--production .place-option.is-active {
  background: #fff3eb !important;
}

body.bf-page-explore .create-sheet--production .place-option:active {
  transform: scale(.995);
}

body.bf-page-explore .create-sheet--production .place-option-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 90, 18, .09);
  color: var(--plans-accent);
}

body.bf-page-explore .create-sheet--production .place-option-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.bf-page-explore .create-sheet--production .place-option-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

body.bf-page-explore .create-sheet--production .place-option-copy strong,
body.bf-page-explore .create-sheet--production .place-option-copy small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.bf-page-explore .create-sheet--production .place-option-copy strong {
  color: #272421;
  font-size: .79rem;
  font-weight: 790;
}

body.bf-page-explore .create-sheet--production .place-option-copy small {
  color: #7b7772;
  font-size: .68rem;
  font-weight: 540;
}

body.bf-page-explore .create-sheet--production .places-state {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: #77736f;
  font-size: .73rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
}

body.bf-page-explore .create-sheet--production .places-state--loading::before {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-right: 8px;
  border: 2px solid rgba(255, 90, 18, .2);
  border-top-color: var(--plans-accent);
  border-radius: 50%;
  content: '';
  animation: plans-create-spin .72s linear infinite;
}

body.bf-page-explore .create-sheet--production .places-state--error {
  color: #a52b2b;
}

body.bf-page-explore .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-explore .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-explore .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-explore .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-explore .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-explore .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-explore .create-sheet--production .create-file-picker > span:last-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}

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

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

body.bf-page-explore .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-explore .create-sheet--production .file-preview[hidden] {
  display: none !important;
}

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

body.bf-page-explore .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-explore .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-explore .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-explore .create-footer--production {
  position: relative !important;
  z-index: 8;
  min-height: 76px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !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-explore .create-footer-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

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

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

body.bf-page-explore .create-footer-actions {
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

body.bf-page-explore .create-cancel,
body.bf-page-explore .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-explore .create-cancel {
  border: 1px solid rgba(24, 24, 27, .1) !important;
  background: rgba(255, 255, 255, .82) !important;
  color: #45423f !important;
}

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

body.bf-page-explore .create-submit {
  width: 100% !important;
  min-width: 0 !important;
  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-explore .create-submit:hover {
  background: #ea4c07 !important;
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(255, 90, 18, .25) !important;
}

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

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

body.bf-page-explore .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-explore .create-submit.is-loading svg * {
  display: none;
}

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

body.bf-page-explore .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-explore .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-explore .pac-item:hover,
body.bf-page-explore .pac-item-selected {
  background: #fff5ef !important;
}

body.bf-page-explore .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-explore .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-explore .create-sheet--production.open {
    transform: translateY(0) !important;
  }

  body.bf-page-explore .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-explore .create-header--production {
    gap: 12px !important;
    padding: 20px 15px 14px !important;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



/* Crear plan · ubicación confirmada (driver standalone v3) */
body.bf-page-explore .create-sheet--production .location-input-wrap.is-confirmed {
  border-color: rgba(34, 139, 84, .42) !important;
  background: rgba(247, 253, 249, .96) !important;
  box-shadow: 0 0 0 4px rgba(34, 139, 84, .08), inset 0 1px 0 #fff !important;
}

body.bf-page-explore .create-sheet--production .location-input-wrap.is-confirmed .location-input-icon {
  color: #218c56 !important;
}

/* =====================================================
   PLANES · VERIFICADO DEL ORGANIZADOR
   Mantiene el avatar separado del distintivo y evita que
   las reglas antiguas de .plan-host img deformen la insignia.
===================================================== */
body.bf-page-explore .plan-host .plan-host-copy {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

body.bf-page-explore .plan-host .plan-host-copy > span {
  color: var(--plans-muted, #6b6b72);
}

body.bf-page-explore .plan-host img.plan-host-verified {
  display: inline-block !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  margin-left: 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  vertical-align: middle !important;
  filter: drop-shadow(0 4px 9px rgba(59, 130, 246, .22));
  pointer-events: none;
  user-select: none;
}

@media (max-width: 700px) {
  body.bf-page-explore .plan-host .plan-host-copy {
    gap: 3px;
  }

  body.bf-page-explore .plan-host img.plan-host-verified {
    flex-basis: 17px !important;
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    min-height: 17px !important;
    max-width: 17px !important;
    max-height: 17px !important;
  }
}
/* Programador de planes recurrentes */
body.bf-page-explore .plan-schedule-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, .55fr);
  gap: 14px;
  margin-top: 16px;
  align-items: end;
}

body.bf-page-explore .plan-schedule-builder .form-field {
  margin: 0;
}

body.bf-page-explore .plan-schedule-repetitions[hidden],
body.bf-page-explore .create-sheet--production .plan-schedule-repetitions[hidden] {
  display: none !important;
}

body.bf-page-explore #createScheduleHint {
  margin-top: 10px;
}

@media (max-width: 620px) {
  body.bf-page-explore .plan-schedule-builder {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Crear plan · Controles numéricos +/- · 2026-09-02
========================================================= */
body.bf-page-explore .create-sheet--production .number-stepper {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 27, .105);
  border-radius: 13px;
  background: rgba(248, 247, 245, .88);
  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-explore .create-sheet--production .number-stepper:focus-within {
  border-color: rgba(24, 24, 27, .38);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(24, 24, 27, .055), inset 0 1px 0 rgba(255,255,255,.9);
}

body.bf-page-explore .create-sheet--production .number-stepper input[type="number"] {
  min-width: 0 !important;
  min-height: 46px !important;
  padding: 10px 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
  font-weight: 820 !important;
  font-variant-numeric: tabular-nums;
  appearance: textfield;
  -moz-appearance: textfield;
}

body.bf-page-explore .create-sheet--production .number-stepper input[type="number"]::-webkit-inner-spin-button,
body.bf-page-explore .create-sheet--production .number-stepper input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

body.bf-page-explore .create-sheet--production .number-stepper-btn {
  width: 44px;
  min-width: 44px;
  min-height: 46px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #292725;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .14s ease, transform .1s ease, color .14s ease;
}

body.bf-page-explore .create-sheet--production .number-stepper-btn:first-child {
  border-right: 1px solid rgba(24, 24, 27, .08);
}

body.bf-page-explore .create-sheet--production .number-stepper-btn:last-child {
  border-left: 1px solid rgba(24, 24, 27, .08);
}

body.bf-page-explore .create-sheet--production .number-stepper-btn:hover {
  background: rgba(24, 24, 27, .055);
}

body.bf-page-explore .create-sheet--production .number-stepper-btn:active {
  transform: scale(.92);
  background: rgba(24, 24, 27, .09);
}

body.bf-page-explore .create-sheet--production .number-stepper-btn:focus-visible {
  outline: 2px solid #18181b;
  outline-offset: -4px;
  border-radius: 10px;
}

body.bf-page-explore .create-sheet--production .number-stepper-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.bf-page-explore .create-sheet--production .number-limit-message {
  margin-top: 1px;
  color: #a33a27;
  font-weight: 700;
}

body.bf-page-explore .create-sheet--production .number-limit-message[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  body.bf-page-explore .create-sheet--production .number-stepper {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    min-height: 50px;
  }

  body.bf-page-explore .create-sheet--production .number-stepper-btn {
    width: 48px;
    min-width: 48px;
    min-height: 48px;
  }
}

/* =========================================================
   Crear plan · acceso privado, selector y enlace compartible
   Desktop ancho + móvil conservado
========================================================= */
body.bf-page-explore .create-sheet--production .private-plan-access {
  position: relative;
  z-index: 8;
  grid-column: 1 / -1;
  margin: 0 !important;
  padding: 19px !important;
  border: 1px solid rgba(17, 24, 39, .085) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 90, 18, .055), transparent 33%),
    rgba(255, 255, 255, .88) !important;
  box-shadow: 0 12px 32px rgba(36, 29, 25, .045), inset 0 1px 0 rgba(255,255,255,.96) !important;
  overflow: visible !important;
}

body.bf-page-explore .create-sheet--production .private-plan-access[hidden] {
  display: none !important;
}

body.bf-page-explore .create-sheet--production .private-plan-access-head {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(17, 24, 39, .075);
}

body.bf-page-explore .create-sheet--production .private-plan-access-icon,
body.bf-page-explore .create-sheet--production .private-plan-link-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 46px;
  border-radius: 15px;
  background: #111827;
  color: #fff;
  box-shadow: 0 9px 24px rgba(15, 23, 42, .14);
  overflow: visible;
}

body.bf-page-explore .create-sheet--production .private-plan-access-icon svg,
body.bf-page-explore .create-sheet--production .private-plan-link-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.bf-page-explore .create-sheet--production .private-plan-access-copy {
  min-width: 0;
}

body.bf-page-explore .create-sheet--production .private-plan-access-copy strong,
body.bf-page-explore .create-sheet--production .private-plan-link-copy > strong {
  display: block;
  margin: 0;
  color: #111827;
  font-size: .9rem;
  font-weight: 840;
  line-height: 1.25;
  letter-spacing: -.012em;
}

body.bf-page-explore .create-sheet--production .private-plan-access-copy > span,
body.bf-page-explore .create-sheet--production .private-plan-link-copy > span {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: .75rem;
  line-height: 1.5;
}

body.bf-page-explore .create-sheet--production .private-plan-access-badge {
  justify-self: end;
  padding: 7px 10px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 999px;
  background: #f3f4f6;
  color: #344054;
  font-size: .66rem;
  font-weight: 800;
  white-space: nowrap;
}

body.bf-page-explore .create-sheet--production .private-plan-access-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
  align-items: stretch;
  gap: 16px;
  margin-top: 16px;
}

body.bf-page-explore .create-sheet--production .private-plan-invites,
body.bf-page-explore .create-sheet--production .private-plan-link-card {
  min-width: 0;
  margin: 0;
  padding: 15px;
  border: 1px solid rgba(17, 24, 39, .085);
  border-radius: 18px;
  background: rgba(248, 250, 252, .82);
}

body.bf-page-explore .create-sheet--production .private-plan-invites {
  position: relative;
  z-index: 4;
}

body.bf-page-explore .create-sheet--production .private-plan-label-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

body.bf-page-explore .create-sheet--production .private-plan-label-row > div {
  min-width: 0;
}

body.bf-page-explore .create-sheet--production .private-plan-label-row label {
  display: block;
  margin: 0 !important;
  color: #111827 !important;
  font-size: .79rem !important;
  font-weight: 820 !important;
}

body.bf-page-explore .create-sheet--production .private-plan-label-row small {
  display: block;
  margin-top: 3px;
  color: #7a8290;
  font-size: .68rem;
  line-height: 1.35;
}

body.bf-page-explore .create-sheet--production .private-plan-label-row > span {
  flex: 0 0 auto;
  margin-top: 1px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff;
  color: #667085;
  font-size: .65rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .075);
}

body.bf-page-explore .create-sheet--production .private-plan-combobox {
  position: relative;
  z-index: 2;
  min-width: 0;
  overflow: visible;
}

body.bf-page-explore .create-sheet--production .private-plan-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

body.bf-page-explore .create-sheet--production .private-plan-search-icon {
  position: absolute;
  z-index: 2;
  left: 14px;
  width: 18px;
  height: 18px;
  pointer-events: none;
  fill: none;
  stroke: #667085;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.bf-page-explore .create-sheet--production .private-plan-search input {
  width: 100% !important;
  min-width: 0;
  min-height: 48px;
  margin: 0 !important;
  padding: 0 50px 0 42px !important;
  border: 1px solid rgba(17, 24, 39, .11) !important;
  border-radius: 15px !important;
  background: #fff !important;
  color: #111827 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95) !important;
  font-size: .78rem !important;
  outline: none;
}

body.bf-page-explore .create-sheet--production .private-plan-search input:focus {
  border-color: rgba(255, 90, 18, .55) !important;
  box-shadow: 0 0 0 4px rgba(255, 90, 18, .09) !important;
}

body.bf-page-explore .create-sheet--production .private-plan-search-toggle {
  position: absolute;
  z-index: 3;
  right: 6px;
  top: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: #f4f5f7;
  color: #475467;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

body.bf-page-explore .create-sheet--production .private-plan-search-toggle:hover {
  background: #eceff3;
  color: #111827;
}

body.bf-page-explore .create-sheet--production .private-plan-search-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}

body.bf-page-explore .create-sheet--production .private-plan-combobox.is-open .private-plan-search-toggle svg {
  transform: rotate(180deg);
}

body.bf-page-explore .create-sheet--production .private-plan-people {
  /* La lista forma parte del flujo del modal: al abrirse aumenta la altura
     del bloque privado y empuja Punto de encuentro hacia abajo. Así nunca
     puede quedar pintada por debajo de la siguiente tarjeta. */
  position: relative;
  z-index: 1;
  top: auto;
  right: auto;
  left: auto;
  width: 100%;
  display: grid;
  gap: 6px;
  max-height: 310px;
  margin: 8px 0 0;
  padding: 7px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: 17px;
  background: rgba(255,255,255,.985);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .10), 0 3px 10px rgba(15,23,42,.05);
  scrollbar-width: thin;
}

body.bf-page-explore .create-sheet--production .private-plan-people[hidden] {
  display: none !important;
}

body.bf-page-explore .create-sheet--production .private-plan-people-state {
  padding: 16px 14px;
  border-radius: 12px;
  background: #f8fafc;
  color: #667085;
  font-size: .72rem;
  line-height: 1.5;
  text-align: center;
}

body.bf-page-explore .create-sheet--production .private-plan-person {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: #fff;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

body.bf-page-explore .create-sheet--production .private-plan-person:hover {
  border-color: rgba(17, 24, 39, .09);
  background: #fafbfc;
}

body.bf-page-explore .create-sheet--production .private-plan-person.is-selected {
  border-color: rgba(255, 90, 18, .22);
  background: rgba(255, 246, 240, .92);
  box-shadow: inset 0 0 0 1px rgba(255, 90, 18, .05);
}

body.bf-page-explore .create-sheet--production .private-plan-person-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef2f6;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, .07);
}

body.bf-page-explore .create-sheet--production .private-plan-person-copy {
  min-width: 0;
}

body.bf-page-explore .create-sheet--production .private-plan-person-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111827;
  font-size: .77rem;
  font-weight: 810;
  line-height: 1.3;
}

body.bf-page-explore .create-sheet--production .private-plan-person-copy span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #7a8290;
  font-size: .67rem;
}

body.bf-page-explore .create-sheet--production .private-plan-person-select {
  min-width: 91px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(17, 24, 39, .095);
  border-radius: 11px;
  background: #f4f5f7;
  color: #344054;
  font: inherit;
  font-size: .67rem;
  font-weight: 820;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

body.bf-page-explore .create-sheet--production .private-plan-person-select:hover {
  border-color: rgba(17, 24, 39, .15);
  background: #e9edf2;
}

body.bf-page-explore .create-sheet--production .private-plan-person-select:active {
  transform: scale(.97);
}

body.bf-page-explore .create-sheet--production .private-plan-person-select.is-selected {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

body.bf-page-explore .create-sheet--production .private-plan-person-select svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.bf-page-explore .create-sheet--production .private-plan-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

body.bf-page-explore .create-sheet--production .private-plan-selected[hidden] {
  display: none !important;
}

body.bf-page-explore .create-sheet--production .private-plan-selected-chip {
  max-width: 210px;
  height: 34px;
  display: inline-grid;
  grid-template-columns: 24px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 6px;
  padding: 0 9px 0 5px;
  border: 1px solid rgba(17, 24, 39, .075);
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(15, 23, 42, .04);
}

body.bf-page-explore .create-sheet--production .private-plan-selected-chip img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef2f6;
}

body.bf-page-explore .create-sheet--production .private-plan-selected-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .67rem;
  font-weight: 760;
}

body.bf-page-explore .create-sheet--production .private-plan-selected-chip svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #7a8290;
  stroke-width: 2;
  stroke-linecap: round;
}

body.bf-page-explore .create-sheet--production .private-plan-link-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: start;
  gap: 12px;
  min-height: 100%;
  background: linear-gradient(145deg, #fff, #f8fafc);
}

body.bf-page-explore .create-sheet--production .private-plan-link-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  background: #f0f2f5;
  color: #111827;
  box-shadow: none;
}

body.bf-page-explore .create-sheet--production .private-plan-link-copy {
  min-width: 0;
}

body.bf-page-explore .create-sheet--production .private-plan-link-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 7px;
  margin-top: 12px;
}

body.bf-page-explore .create-sheet--production .private-plan-link-result[hidden] {
  display: none !important;
}

body.bf-page-explore .create-sheet--production .private-plan-link-result input {
  width: 100% !important;
  min-width: 0;
  height: 39px;
  min-height: 39px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(17, 24, 39, .10) !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: #475467 !important;
  font-size: .67rem !important;
}

body.bf-page-explore .create-sheet--production .private-plan-link-result button {
  min-height: 39px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: #111827;
  color: #fff;
  font: inherit;
  font-size: .67rem;
  font-weight: 820;
  cursor: pointer;
}

body.bf-page-explore .create-sheet--production .private-plan-link-result button:last-child {
  background: #edf0f3;
  color: #111827;
}

@media (min-width: 761px) and (max-width: 980px) {
  body.bf-page-explore .create-sheet--production .private-plan-access-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.bf-page-explore .create-sheet--production .private-plan-link-card {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  body.bf-page-explore .create-sheet--production .private-plan-access {
    padding: 14px !important;
    border-radius: 17px !important;
  }

  body.bf-page-explore .create-sheet--production .private-plan-access-head {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    padding-bottom: 13px;
  }

  body.bf-page-explore .create-sheet--production .private-plan-access-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 13px;
  }

  body.bf-page-explore .create-sheet--production .private-plan-access-badge {
    display: none;
  }

  body.bf-page-explore .create-sheet--production .private-plan-access-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 13px;
  }

  body.bf-page-explore .create-sheet--production .private-plan-invites,
  body.bf-page-explore .create-sheet--production .private-plan-link-card {
    padding: 12px;
    border-radius: 15px;
  }

  body.bf-page-explore .create-sheet--production .private-plan-label-row {
    gap: 8px;
  }

  body.bf-page-explore .create-sheet--production .private-plan-label-row small {
    display: none;
  }

  body.bf-page-explore .create-sheet--production .private-plan-people {
    max-height: 260px;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
  }

  body.bf-page-explore .create-sheet--production .private-plan-person-select {
    min-width: 38px;
    width: 38px;
    padding: 0;
  }

  body.bf-page-explore .create-sheet--production .private-plan-person-select span {
    display: none;
  }

  body.bf-page-explore .create-sheet--production .private-plan-link-result {
    grid-template-columns: 1fr 1fr;
  }

  body.bf-page-explore .create-sheet--production .private-plan-link-result input {
    grid-column: 1 / -1;
  }

  body.bf-page-explore .create-sheet--production .private-plan-link-result button {
    width: 100%;
  }
}

/* =====================================================
   PLANES · NUEVO PLAN · FECHA/HORA v3
   Recupera el formato original en dos columnas y corrige únicamente
   el ancho intrínseco de Safari para que jamás se solapen.
===================================================== */
body.bf-page-explore .create-sheet--production .form-row--datetime {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: end !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.bf-page-explore .create-sheet--production .form-row--datetime > .form-field {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

body.bf-page-explore .create-sheet--production .form-row--datetime input[type="date"],
body.bf-page-explore .create-sheet--production .form-row--datetime input[type="time"] {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  inline-size: 100% !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  max-width: 100% !important;
  max-inline-size: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 12px 9px !important;
  overflow: hidden !important;
  border-radius: 13px !important;
  font-size: max(16px, .85rem) !important;
  line-height: 1.2 !important;
  font-variant-numeric: tabular-nums;
  text-align: left !important;
}

body.bf-page-explore .create-sheet--production .form-row--datetime input[type="date"]::-webkit-date-and-time-value,
body.bf-page-explore .create-sheet--production .form-row--datetime input[type="time"]::-webkit-date-and-time-value {
  min-width: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

body.bf-page-explore .create-sheet--production .form-row--datetime input[type="date"]::-webkit-datetime-edit,
body.bf-page-explore .create-sheet--production .form-row--datetime input[type="time"]::-webkit-datetime-edit {
  min-width: 0 !important;
  padding: 0 !important;
}

body.bf-page-explore .create-sheet--production .form-row--datetime input[type="date"]::-webkit-calendar-picker-indicator,
body.bf-page-explore .create-sheet--production .form-row--datetime input[type="time"]::-webkit-calendar-picker-indicator {
  flex: 0 0 auto !important;
  margin-left: 3px !important;
}

@media (max-width: 640px) {
  body.bf-page-explore .create-sheet--production .form-row--datetime {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  body.bf-page-explore .create-sheet--production .form-row--datetime > .form-field {
    overflow: hidden !important;
  }

  body.bf-page-explore .create-sheet--production .form-row--datetime input[type="date"],
  body.bf-page-explore .create-sheet--production .form-row--datetime input[type="time"] {
    width: 100% !important;
    inline-size: 100% !important;
    min-width: 0 !important;
    min-inline-size: 0 !important;
    max-width: 100% !important;
    padding-inline: 9px 6px !important;
  }
}

/* =====================================================
   PLANES · NUEVO PLAN · FECHA/HORA v4
   Ajuste final: controles compactos y alineados en móvil/Safari.
===================================================== */
body.bf-page-explore .create-sheet--production .form-row--datetime {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: end !important;
}

body.bf-page-explore .create-sheet--production .form-row--datetime > .form-field {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
}

body.bf-page-explore .create-sheet--production .form-row--datetime input[type="date"],
body.bf-page-explore .create-sheet--production .form-row--datetime input[type="time"] {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  inline-size: 100% !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  max-width: 100% !important;
  max-inline-size: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 11px !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  line-height: 44px !important;
  text-align: left !important;
  vertical-align: middle !important;
  overflow: visible !important;
  -webkit-text-fill-color: var(--plans-ink) !important;
}

body.bf-page-explore .create-sheet--production .form-row--datetime input[type="date"]::-webkit-date-and-time-value,
body.bf-page-explore .create-sheet--production .form-row--datetime input[type="time"]::-webkit-date-and-time-value {
  min-width: 0 !important;
  height: 44px !important;
  line-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

body.bf-page-explore .create-sheet--production .form-row--datetime input[type="date"]::-webkit-datetime-edit,
body.bf-page-explore .create-sheet--production .form-row--datetime input[type="time"]::-webkit-datetime-edit {
  min-width: 0 !important;
  height: 44px !important;
  line-height: 44px !important;
  padding: 0 !important;
}

body.bf-page-explore .create-sheet--production .form-row--datetime input[type="date"]::-webkit-calendar-picker-indicator,
body.bf-page-explore .create-sheet--production .form-row--datetime input[type="time"]::-webkit-calendar-picker-indicator {
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 0 0 6px !important;
  padding: 0 !important;
}

@media (max-width: 640px) {
  body.bf-page-explore .create-sheet--production .form-row--datetime {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body.bf-page-explore .create-sheet--production .form-row--datetime input[type="date"],
  body.bf-page-explore .create-sheet--production .form-row--datetime input[type="time"] {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding-inline: 10px !important;
  }
}

/* =====================================================
   PLANES · NUEVO PLAN · FECHA/HORA v5
   Ancho compacto: fecha y hora más cortos sin alterar altura ni estilo.
===================================================== */
body.bf-page-explore .create-sheet--production .form-row--datetime {
  width: min(100%, 297px) !important;
  max-width: 297px !important;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr) !important;
  gap: 12px !important;
  justify-content: start !important;
}

body.bf-page-explore .create-sheet--production .form-row--datetime > .form-field,
body.bf-page-explore .create-sheet--production .form-row--datetime input[type="date"],
body.bf-page-explore .create-sheet--production .form-row--datetime input[type="time"] {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 390px) {
  body.bf-page-explore .create-sheet--production .form-row--datetime {
    width: min(100%, 276px) !important;
    max-width: 276px !important;
    gap: 10px !important;
  }
}

/* =====================================================
   PLANES · NUEVO PLAN · FECHA/HORA v6
   Fecha y hora del mismo ancho compacto y bloque centrado.
===================================================== */
body.bf-page-explore .create-sheet--production .form-row--datetime {
  width: min(100%, 252px) !important;
  max-width: 252px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  grid-template-columns: repeat(2, minmax(0, 120px)) !important;
  gap: 12px !important;
  justify-content: center !important;
  align-items: end !important;
}

body.bf-page-explore .create-sheet--production .form-row--datetime > .form-field {
  width: 120px !important;
  max-width: 120px !important;
  min-width: 0 !important;
}

body.bf-page-explore .create-sheet--production .form-row--datetime input[type="date"],
body.bf-page-explore .create-sheet--production .form-row--datetime input[type="time"] {
  width: 120px !important;
  inline-size: 120px !important;
  max-width: 120px !important;
  max-inline-size: 120px !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
}

@media (max-width: 340px) {
  body.bf-page-explore .create-sheet--production .form-row--datetime {
    width: min(100%, 236px) !important;
    max-width: 236px !important;
    grid-template-columns: repeat(2, minmax(0, 112px)) !important;
    gap: 12px !important;
  }

  body.bf-page-explore .create-sheet--production .form-row--datetime > .form-field,
  body.bf-page-explore .create-sheet--production .form-row--datetime input[type="date"],
  body.bf-page-explore .create-sheet--production .form-row--datetime input[type="time"] {
    width: 112px !important;
    inline-size: 112px !important;
    max-width: 112px !important;
    max-inline-size: 112px !important;
  }
}

/* =====================================================
   PLANES · INVITACIONES PRIVADAS PAGINADAS (5 EN 5)
   ===================================================== */
body.bf-page-explore .create-sheet--production .private-plan-people {
  max-height: 350px;
  scroll-behavior: smooth;
}

body.bf-page-explore .create-sheet--production .private-plan-person-copy strong {
  display: flex;
  align-items: center;
  gap: 5px;
}

body.bf-page-explore .create-sheet--production .private-plan-person-verified {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  object-fit: contain;
}

body.bf-page-explore .create-sheet--production .private-plan-people-more {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px 4px;
  color: #7a8290;
  font-size: .65rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

body.bf-page-explore .create-sheet--production .private-plan-people-more.is-loading::before {
  content: '';
  width: 12px;
  height: 12px;
  margin-right: 7px;
  border: 2px solid rgba(17, 24, 39, .13);
  border-top-color: #111827;
  border-radius: 50%;
  animation: privatePlanInviteSpin .7s linear infinite;
}

body.bf-page-explore .create-sheet--production .private-plan-people-more.is-complete {
  color: #98a2b3;
}

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

@media (max-width: 700px) {
  body.bf-page-explore .create-sheet--production .private-plan-people {
    max-height: 330px;
  }
}
/* ========================================================================== 
   EXPLORA · CREAR PLAN · CATEGORÍAS SVG CORREGIDAS · 2026-09-03
   Mismo componente visual que Planes, aislado dentro del modal de Explora.
   ========================================================================== */
body.bf-page-explore #createSheet .plan-category-field.has-error {
  padding: 8px;
  border-radius: 18px;
  background: rgba(198, 45, 45, .055);
  box-shadow: 0 0 0 1px rgba(198, 45, 45, .18);
}

body.bf-page-explore #createSheet .plan-category-choice {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  padding: 2px;
}

body.bf-page-explore #createSheet .plan-category-option {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.bf-page-explore #createSheet .plan-category-option input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  min-height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0;
  pointer-events: none;
}

body.bf-page-explore #createSheet .plan-category-option-ui {
  position: relative;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 34px 11px 11px;
  border: 1px solid rgba(24, 24, 27, .09);
  border-radius: 15px;
  background: rgba(248, 247, 245, .75);
  color: #484542;
  transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

body.bf-page-explore #createSheet .plan-category-option:hover .plan-category-option-ui {
  border-color: rgba(24, 24, 27, .17);
  background: #fff;
  transform: translateY(-1px);
}

body.bf-page-explore #createSheet .plan-category-option input:focus-visible + .plan-category-option-ui {
  box-shadow: 0 0 0 4px rgba(255, 90, 18, .15);
}

body.bf-page-explore #createSheet .plan-category-option input:checked + .plan-category-option-ui {
  border-color: rgba(255, 90, 18, .46);
  background: linear-gradient(145deg, rgba(255, 246, 240, .98), rgba(255, 255, 255, .98));
  color: #8e320a;
  box-shadow: 0 8px 22px rgba(255, 90, 18, .09);
}

body.bf-page-explore #createSheet .plan-category-option-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 24, 27, .07);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #f5f5f4);
  color: #34312f;
  box-shadow: 0 7px 18px rgba(18, 18, 18, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
  line-height: 1;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}

body.bf-page-explore #createSheet .plan-category-symbol {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.75 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke;
}

body.bf-page-explore #createSheet .plan-category-option:hover .plan-category-option-icon,
body.bf-page-explore #createSheet .plan-category-option input:checked + .plan-category-option-ui .plan-category-option-icon {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 9px 20px rgba(18, 18, 18, .11), inset 0 1px 0 rgba(255, 255, 255, .92);
}

body.bf-page-explore #createSheet .plan-category-option[data-category="amistad"] .plan-category-option-icon { background: linear-gradient(145deg,#f0f7ff,#e8f1ff); color:#2868c7; }
body.bf-page-explore #createSheet .plan-category-option[data-category="deporte"] .plan-category-option-icon { background: linear-gradient(145deg,#effbf4,#e4f7ec); color:#218252; }
body.bf-page-explore #createSheet .plan-category-option[data-category="fiesta"] .plan-category-option-icon { background: linear-gradient(145deg,#fff2f8,#ffe8f3); color:#c83d7a; }
body.bf-page-explore #createSheet .plan-category-option[data-category="viajes"] .plan-category-option-icon { background: linear-gradient(145deg,#eef8ff,#e1f2ff); color:#1476a8; }
body.bf-page-explore #createSheet .plan-category-option[data-category="comida"] .plan-category-option-icon { background: linear-gradient(145deg,#fff7ec,#ffedd5); color:#b75b16; }
body.bf-page-explore #createSheet .plan-category-option[data-category="cultura"] .plan-category-option-icon { background: linear-gradient(145deg,#f6f1ff,#eee5ff); color:#7250b5; }
body.bf-page-explore #createSheet .plan-category-option[data-category="otros"] .plan-category-option-icon { background: linear-gradient(145deg,#f5f5f5,#ececec); color:#55515a; }

body.bf-page-explore #createSheet .plan-category-option-check {
  position: absolute;
  top: 50%;
  right: 11px;
  width: 17px;
  height: 17px;
  transform: translateY(-50%) scale(.82);
  opacity: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity .16s ease, transform .16s ease;
}

body.bf-page-explore #createSheet .plan-category-option input:checked + .plan-category-option-ui .plan-category-option-check {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

@media (max-width: 760px) {
  body.bf-page-explore #createSheet .plan-category-choice {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.bf-page-explore #createSheet .plan-category-option-ui {
    min-height: 62px;
    padding: 9px 31px 9px 9px;
    border-radius: 14px;
  }

  body.bf-page-explore #createSheet .plan-category-option-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  body.bf-page-explore #createSheet .plan-category-symbol {
    width: 19px !important;
    height: 19px !important;
  }

  body.bf-page-explore #createSheet .plan-category-option-name {
    min-width: 0;
    overflow: hidden;
    font-size: .73rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
