/* Friends · Planes móvil. Listado unificado y navegación móvil original. */
@media (max-width:899px) {
  html body.bf-page-plans-index {
    --plans-accent:#4b14a5; --plans-accent-hover:#391080; --pl-filter-accent:#4b14a5; --bf-red:#4b14a5; --bf-red-dark:#391080; --bf-ideas-primary:#4b14a5;
  }
  html body.bf-page-plans-index :is(#createPlanWrap,#friendsPlansShowcase,#friendsPlansListView,#createSheet,#editSheet,#commentsSheet,#planFactsModal,#planPublishedDialog) {font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;}
  html body.bf-page-plans-index #createPlanWrap .friends-plans-hero-copy h1 {font-family:inherit!important;font-size:30px!important;font-weight:700!important;color:#201d26!important;letter-spacing:-.05em!important;}
  html body.bf-page-plans-index #createPlanWrap .friends-plans-hero-location {color:#625d6b!important;}
  html body.bf-page-plans-index #createPlanWrap .friends-plans-hero-location svg {color:#4b14a5!important;}
  html body.bf-page-plans-index #createPlanWrap .fd-plans-description[hidden] {display:block!important;font:400 13px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:#625d6b!important;margin:0!important;}
  html body.bf-page-plans-index #createPlanWrap .friends-plans-hero-copy {gap:5px!important;}
  html body.bf-page-plans-index :is(#friendsPlansShowcase,#friendsPlansListView) .bf-plan-card {border:1px solid #e6deef!important;border-radius:20px!important;background:#fff!important;box-shadow:none!important;overflow:hidden;}
  html body.bf-page-plans-index :is(#friendsPlansShowcase,#friendsPlansListView) .bf-plan-card :is(h3,p,a,span,strong,small) {font-family:inherit!important;}
  html body.bf-page-plans-index :is(#friendsPlansShowcase,#friendsPlansListView) .bf-plan-body h3 {color:#201d26!important;font-weight:700!important;letter-spacing:-.025em!important;}
  html body.bf-page-plans-index :is(#friendsPlansShowcase,#friendsPlansListView) .bf-plan-date {background:#fff!important;border:1px solid #eee5fa!important;border-radius:12px!important;color:#4b14a5!important;}
  html body.bf-page-plans-index :is(#friendsPlansShowcase,#friendsPlansListView) :is(.bf-plan-date strong,.bf-plan-date small,.bf-plan-time,.bf-plan-place svg,.bf-home-plan-people-icon) {color:#4b14a5!important;}
  html body.bf-page-plans-index :is(#friendsPlansShowcase,#friendsPlansListView) :is(.bf-plan-place,.bf-plan-people) {background:#f7f4fb!important;border-color:#eee5fa!important;color:#201d26!important;border-radius:10px!important;}
  html body.bf-page-plans-index :is(#friendsPlansShowcase,#friendsPlansListView) .bf-home-plan-detail-row > a.bf-plan-view-details:any-link {display:flex!important;align-items:center!important;justify-content:center!important;gap:6px;min-height:44px!important;width:100%!important;padding:9px 12px!important;box-sizing:border-box!important;background:#4b14a5!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:0!important;border-radius:999px!important;}
  html body.bf-page-plans-index :is(#friendsPlansShowcase,#friendsPlansListView) .bf-home-plan-detail-row {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;height:auto!important;min-height:0!important;}
  html body.bf-page-plans-index :is(#friendsPlansShowcase,#friendsPlansListView) .bf-home-plan-detail-row > a.bf-plan-chat-cta:any-link {background:#eee5fa!important;color:#4b14a5!important;-webkit-text-fill-color:#4b14a5!important;border-color:#e2d5f2!important;border-radius:999px!important;min-height:44px!important;}
  html body.bf-page-plans-index #friendsPlansShowcase .friends-plans-inline-all:any-link,html body.bf-page-plans-index #friendsPlansListView :is(.friends-plans-list-more,.friends-plans-list-reset,#friendsPlansEmptyReset) {background:#eee5fa!important;color:#4b14a5!important;border-color:#e2d5f2!important;border-radius:999px!important;}
  html body.bf-page-plans-index #friendsPlansShowcase .bf-home-plans-invite {background:#f7f4fb!important;border-color:#e2d5f2!important;color:#201d26!important;}
  html body.bf-page-plans-index #friendsPlansShowcase :is(.bf-home-plans-invite-icon,.bf-home-plans-invite-action) {background:#eee5fa!important;color:#4b14a5!important;}
  html body.bf-page-plans-index #friendsPlansListView :is(.friends-plans-search,.friends-plans-select-wrap select) {min-height:44px!important;border-color:#e2d9ed!important;border-radius:12px!important;background-color:#fff!important;color:#201d26!important;font-size:16px!important;}
  html body.bf-page-plans-index #friendsPlansListView .friends-plans-search input {font-size:16px!important;min-width:0!important;}
  html body.bf-page-plans-index #friendsPlansListView .friends-plans-search svg {stroke:#4b14a5!important;}
  html body.bf-page-plans-index #friendsPlansListView .friends-plans-list-controls {gap:10px!important;}
  /* Las reglas de posición y apertura originales se mantienen; solo se adapta su presentación. */
  html body.bf-page-plans-index #createSheet#createSheet {--plans-accent:#4b14a5;--plans-accent-hover:#391080;--bf-red:#4b14a5;--bf-red-dark:#391080;color:#201d26!important;background:#fff!important;}
  html body.bf-page-plans-index #createSheet#createSheet .create-heading {gap:10px!important;align-items:center!important;min-width:0!important;}
  html body.bf-page-plans-index #createSheet#createSheet .create-heading-icon,html body.bf-page-plans-index #createSheet#createSheet .create-section-icon {display:grid!important;place-items:center!important;width:36px!important;height:36px!important;flex:0 0 36px!important;border-radius:11px!important;background:#eee5fa!important;color:#4b14a5!important;box-shadow:none!important;}
  html body.bf-page-plans-index #createSheet#createSheet :is(.create-heading-icon,.create-section-icon) svg {width:20px!important;height:20px!important;stroke:currentColor!important;fill:none!important;}
  html body.bf-page-plans-index #createSheet#createSheet .create-title {font:700 20px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:#201d26!important;}
  html body.bf-page-plans-index #createSheet#createSheet .create-close,html body.bf-page-plans-index :is(#editSheet,#commentsSheet,#planFactsModal) :is(.edit-close,.comments-close,.plan-facts-close) {background:#eee5fa!important;color:#4b14a5!important;border:0!important;border-radius:50%!important;min-width:40px!important;min-height:40px!important;box-shadow:none!important;}
  html body.bf-page-plans-index #createSheet#createSheet :is(.create-stage-progress-count,.create-stage-progress-percent) {color:#4b14a5!important;}
  html body.bf-page-plans-index #createSheet#createSheet .create-stage-track {background:#eee5fa!important;}
  html body.bf-page-plans-index #createSheet#createSheet #createStageTrackFill {background:#4b14a5!important;}
  html body.bf-page-plans-index #createSheet#createSheet:not(.is-chatbot) .create-form-layout {grid-template-columns:minmax(0,1fr)!important;gap:16px!important;}
  html body.bf-page-plans-index #createSheet#createSheet:not(.is-chatbot) .create-section-card {min-width:0!important;border:0!important;border-bottom:1px solid #eee8f3!important;padding:0 0 16px!important;}
  html body.bf-page-plans-index #createSheet#createSheet .create-section-head {gap:10px!important;align-items:center!important;}
  html body.bf-page-plans-index #createSheet#createSheet :is(.plan-category-option-ui,.create-audience-option-ui) {background:#fff!important;color:#201d26!important;border:1px solid #e2d9ec!important;border-radius:14px!important;box-shadow:none!important;min-height:54px!important;}
  html body.bf-page-plans-index #createSheet#createSheet :is(.plan-category-option,.create-audience-option) > input:checked + :is(.plan-category-option-ui,.create-audience-option-ui) {background:#eee5fa!important;border-color:#4b14a5!important;color:#4b14a5!important;box-shadow:none!important;}
  html body.bf-page-plans-index #createSheet#createSheet :is(.plan-category-option-icon,.create-audience-option-icon,.create-file-picker-icon,.location-input-icon,.number-stepper-btn) {background:#eee5fa!important;color:#4b14a5!important;}
  html body.bf-page-plans-index #createSheet#createSheet :is(.plan-category-option,.create-audience-option) > input:checked + :is(.plan-category-option-ui,.create-audience-option-ui) :is(.plan-category-option-check,.create-audience-check) {background:#4b14a5!important;border-color:#4b14a5!important;color:#fff!important;}
  html body.bf-page-plans-index #createSheet#createSheet :is(input,textarea,select) {accent-color:#4b14a5;font-family:inherit!important;}
  html body.bf-page-plans-index #createSheet#createSheet .form-field :is(input:not([type=hidden]):not([type=radio]):not([type=checkbox]):not([type=file]),textarea,select) {font-size:16px!important;min-width:0!important;max-width:100%!important;border-color:#ded5e9!important;}
  html body.bf-page-plans-index #createSheet#createSheet :is(.create-file-picker,.private-plan-link-card,.location-selected-card) {background:#f7f4fb!important;border-color:#ddd2ea!important;}
  html body.bf-page-plans-index #createSheet#createSheet .create-age-access-switch input:checked + .create-age-access-track {background:#4b14a5!important;}
  html body.bf-page-plans-index #createSheet#createSheet :is(#createStageNext,#submitCreatePlan,.fp-chat-next,.fp-chat-send,.fp-chat-send-round) {background:#4b14a5!important;color:white!important;border-color:#4b14a5!important;box-shadow:none!important;}
  html body.bf-page-plans-index #createSheet#createSheet #createStageBack {background:#eee5fa!important;color:#4b14a5!important;border-color:#e2d5f2!important;}
  html body.bf-page-plans-index #createSheet#createSheet .fp-chat-thread {background:#f7f4fb!important;}
  html body.bf-page-plans-index #createSheet#createSheet .fp-chat-bubble--assistant {background:white!important;color:#201d26!important;border-color:#e8e1f0!important;}
  html body.bf-page-plans-index #createSheet#createSheet .fp-chat-bubble--user {background:#4b14a5!important;color:white!important;}
  html body.bf-page-plans-index #createSheet#createSheet :is(.fp-chat-choice,.fp-chat-review-edit,.fp-chat-edit-option,.fp-chat-edit-open,.fp-chat-style-choice,.fp-chat-photo-cta) {background:#eee5fa!important;color:#4b14a5!important;border-color:#e2d5f2!important;}
  html body.bf-page-plans-index #createSheet#createSheet .fp-chat-style-choice.is-active {background:#4b14a5!important;color:#fff!important;}
  html body.bf-page-plans-index #createSheet#createSheet :is(.fp-chat-suggestion,.fp-chat-review,.fp-chat-reply-row) {background:#faf8fc!important;border-color:#e2d9ed!important;}
  html body.bf-page-plans-index #createSheet#createSheet .fp-chat-field {font-size:16px!important;}
  html body.bf-page-plans-index :is(#editSheet,#commentsSheet,#planFactsModal,#planPublishedDialog) {border-radius:24px 24px 0 0!important;}
  html body.bf-page-plans-index :is(#editSheet,#commentsSheet,#planFactsModal,#planPublishedDialog) :is(.edit-heading-icon,.comments-heading-icon,.plan-facts-icon) {background:#eee5fa!important;color:#4b14a5!important;}
  html body.bf-page-plans-index :is(#acceptPlanFacts,.plan-published-primary) {background:#4b14a5!important;color:white!important;border-color:#4b14a5!important;}
  html body.bf-page-plans-index .plan-published-secondary {background:#eee5fa!important;color:#4b14a5!important;border-color:#e2d5f2!important;}
  html body.bf-page-plans-index :is(#createSheet,#editSheet,#commentsSheet,#planFactsModal,#friendsPlansListView) :is(button,input,select,textarea,a):focus-visible {outline:2px solid #7442c4!important;outline-offset:2px!important;}
}
@media (max-width:380px) {
  html body.bf-page-plans-index #createSheet#createSheet .plan-category-choice {grid-template-columns:minmax(0,1fr)!important;}
  html body.bf-page-plans-index #createSheet#createSheet .form-row--three {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}

/* Vista unificada: mismos filtros y colección que escritorio. */
@media (max-width:899px) {
  html body.bf-web-page.bf-page-planes.bf-page-plans-index.bf-plans-list-mode[data-friends-tab="planes"] #createPlanWrap {display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;grid-template-rows:auto auto!important;align-items:center!important;gap:8px 10px!important;}
  html body.bf-page-plans-index #createPlanWrap .friends-plans-hero-copy {display:contents!important;}
  html body.bf-web-page.bf-page-planes.bf-page-plans-index #createPlanWrap .friends-plans-hero-copy h1 {grid-column:1;grid-row:1;justify-self:start;margin:0!important;font-size:clamp(23px,7vw,30px)!important;line-height:1.15!important;}
  html body.bf-web-page.bf-page-planes.bf-page-plans-index #createPlanWrap p.friends-plans-hero-location {grid-column:2;grid-row:1;justify-self:end;display:flex!important;align-items:center!important;gap:4px!important;margin:0!important;padding:0!important;font-size:clamp(10px,3vw,12px)!important;line-height:1.3!important;white-space:nowrap!important;text-align:right!important;color:#625d6b!important;}
  html body.bf-page-plans-index #createPlanWrap .fd-plans-description[hidden] {grid-column:1;grid-row:2;min-width:0!important;}
  html body.bf-web-page.bf-page-planes.bf-page-plans-index #createPlanWrap > #openCreatePlan {grid-column:2;grid-row:2;justify-self:end;position:relative!important;inset:auto!important;margin:0!important;}
  html body.bf-page-plans-index #createPlanWrap #openCreatePlan {flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;border-radius:50%!important;background:#4b14a5!important;color:#fff!important;border:0!important;box-shadow:none!important;-webkit-tap-highlight-color:transparent;}
  html body.bf-web-page.bf-page-planes.bf-page-plans-index #createPlanWrap > #openCreatePlan.plans-create-button:is(:hover,:focus-visible,:active) {background:#391080!important;background-image:none!important;color:#fff!important;border-color:#391080!important;box-shadow:0 4px 12px #4b14a526!important;transform:none!important;}
  html body.bf-web-page.bf-page-planes.bf-page-plans-index #createPlanWrap > #openCreatePlan.plans-create-button:focus-visible {outline:2px solid #4b14a5!important;outline-offset:3px;}
  html body.bf-web-page.bf-page-planes.bf-page-plans-index #friendsPlansListView #friendsPlansBack {display:none!important;}
  html body.bf-page-plans-index #friendsPlansListView #friendsPlansListTitle {gap:0!important;}
  html body.bf-page-plans-index #friendsPlansListView #friendsPlansListTitle::before {content:none!important;display:none!important;}
  html body.bf-page-plans-index #friendsPlansListView .friends-plans-list-head {margin:0 0 14px!important;}
  html body.bf-page-plans-index #friendsPlansListTitle {font:700 22px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:#201d26!important;}
  html body.bf-page-plans-index #friendsPlansListView .fd-plans-mode[hidden] {display:grid!important;grid-column:1/-1;}
  html body.bf-page-plans-index #friendsPlansListView #fdMobilePlansFilters {display:flex!important;align-items:center;gap:9px;min-height:44px;width:100%;box-sizing:border-box;padding:10px 14px;margin:0 0 12px;border:1px solid #e2d5f2;border-radius:14px;background:#eee5fa;color:#4b14a5;font:650 14px/1.3 Inter,-apple-system,sans-serif;cursor:pointer;}
  html body.bf-page-plans-index #fdMobilePlansFilters svg {width:20px;height:20px;flex:0 0 20px;}
  html body.bf-page-plans-index #fdMobilePlansFilters .fd-filter-chevron {margin-left:auto;}
  html body.bf-page-plans-index #fdMobilePlansFilters[aria-expanded="true"] .fd-filter-chevron {transform:rotate(180deg);}
  html body.bf-page-plans-index #friendsPlansListView #fdPlansFilterPanel {display:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:end;gap:10px!important;box-sizing:border-box;margin:0 0 12px!important;padding:12px!important;border:1px solid #e6deef;border-radius:16px;background:#faf8fc;}
  html body.bf-page-plans-index #friendsPlansListView.fd-mobile-filters-open #fdPlansFilterPanel {display:grid!important;}
  html body.bf-page-plans-index #friendsPlansListView .friends-plans-list-heading {min-width:0;}
  html body.bf-page-plans-index #friendsPlansListGrid .bf-plan-card {display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;}
  html body.bf-page-plans-index #friendsPlansListGrid .bf-plan-body {display:flex!important;flex-direction:column!important;flex:1 1 auto;min-width:0!important;min-height:0!important;padding:16px!important;box-sizing:border-box;}
  html body.bf-page-plans-index #friendsPlansListGrid .bf-plan-body h3 {font-size:21px!important;line-height:1.2!important;height:auto!important;min-height:0!important;margin:7px 0 14px!important;display:block!important;overflow-wrap:anywhere;}
  html body.bf-page-plans-index #friendsPlansListGrid .bf-plan-time {font-size:13px!important;font-weight:650!important;line-height:1.4!important;color:#4b14a5!important;}
  html body.bf-page-plans-index #friendsPlansListGrid .bf-home-plan-meta {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;align-items:stretch!important;margin:0 0 14px!important;}
  html body.bf-page-plans-index #friendsPlansListGrid :is(.bf-plan-place,.bf-plan-people) {display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:42px!important;box-sizing:border-box;padding:10px 12px!important;margin:0!important;border:1px solid #eee5fa!important;font-size:13px!important;line-height:1.4!important;font-weight:550!important;}
  html body.bf-page-plans-index #friendsPlansListGrid :is(.bf-plan-place,.bf-plan-people) svg {display:block!important;flex:0 0 18px!important;width:18px!important;height:18px!important;stroke:#4b14a5!important;fill:none!important;}
  html body.bf-page-plans-index #friendsPlansListGrid :is(.bf-plan-place,.bf-plan-people) > span {min-width:0!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere;line-height:1.4!important;}
  html body.bf-page-plans-index #friendsPlansListGrid :is(.bf-plan-people small,.bf-plan-actions) {display:none!important;}
  html body.bf-page-plans-index #friendsPlansListGrid .bf-home-plan-detail-row {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;width:100%!important;box-sizing:border-box;margin-top:auto!important;padding-top:12px!important;border-top:1px solid #eee5fa!important;}
  html body.bf-page-plans-index #friendsPlansListGrid .bf-home-plan-detail-row .bf-plan-detail-hint {font-size:12px!important;line-height:1.4!important;color:#625d6b!important;}
  html body.bf-page-plans-index #friendsPlansListGrid .bf-home-plan-detail-row > a {min-width:0!important;max-width:100%!important;box-sizing:border-box;justify-content:center!important;white-space:normal!important;}
  html body.bf-page-plans-index #friendsPlansListGrid .bf-plan-chat-cta .bf-plan-chat-label {color:#4b14a5!important;-webkit-text-fill-color:#4b14a5!important;}
  html body.bf-page-plans-index #friendsPlansListGrid .bf-plan-chat-cta svg {stroke:#4b14a5!important;}
  html body.bf-page-plans-index #friendsPlansListGrid .bf-plan-chat-cta .bf-plan-chat-arrow {position:static!important;}
  html body.bf-page-plans-index #friendsPlansListView .friends-plans-search {grid-column:1/-1;}
  html body.bf-page-plans-index #friendsPlansListView .friends-plans-select-wrap {min-width:0!important;}
  html body.bf-page-plans-index #friendsPlansListView .friends-plans-select-wrap select {width:100%!important;max-width:100%!important;padding-left:10px!important;}
  html body.bf-page-plans-index #friendsPlansListGrid {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;}
  html body.bf-page-plans-index #friendsPlansListGrid .friends-plans-list-item {min-width:0!important;}
  html body.bf-page-plans-index #friendsPlansListGrid .bf-plan-card {width:100%!important;min-width:0!important;max-width:none!important;}
  html body.bf-page-plans-index #friendsPlansListGrid .bf-plan-image {position:relative;width:100%!important;height:auto!important;aspect-ratio:16/10;overflow:hidden;}
  html body.bf-page-plans-index #friendsPlansListGrid .bf-plan-image img {width:100%!important;height:100%!important;object-fit:cover!important;}
  html body.bf-page-plans-index #fdHistoryHeading:not([hidden]) {display:flex!important;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;}
  html body.bf-page-plans-index #fdHistoryHeading h2 {font-size:18px!important;color:#201d26!important;margin:0;}
  html body.bf-page-plans-index #fdHistoryHeading p {font-size:12px;color:#625d6b;margin:4px 0 0;}
  html body.bf-page-plans-index #fdHistoryHeading .fd-history-arrows {display:flex;gap:6px;flex-shrink:0;}
  html body.bf-page-plans-index #fdHistoryHeading .fd-history-arrows button {display:grid!important;place-items:center;width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;background:#eee5fa!important;color:#4b14a5!important;border:0!important;border-radius:50%!important;box-shadow:none!important;}
  html body.bf-page-plans-index #fdHistoryHeading .fd-history-arrows button:disabled {opacity:.4!important;}
  html body.bf-page-plans-index #fdHistoryHeading .fd-history-arrows button svg {width:22px;height:22px;fill:none!important;stroke:currentColor!important;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
  html body.bf-page-plans-index #friendsPlansListGrid.fd-history-rail {display:flex!important;grid-template-columns:none!important;overflow-x:auto!important;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;padding:2px 0 12px;}
  html body.bf-page-plans-index #friendsPlansListGrid.fd-history-rail > .friends-plans-list-item {flex:0 0 85%;scroll-snap-align:start;}
}
@media (min-width:621px) and (max-width:899px) {
  html body.bf-page-plans-index #friendsPlansListGrid:not(.fd-history-rail) {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html body.bf-page-plans-index #friendsPlansListGrid.fd-history-rail > .friends-plans-list-item {flex-basis:46%;}
}
