/* Banana Friends · Grupos · Crear grupo. Referencia: Cuenta > Conocer.
   Aislado a la vista Grupos. No altera la creación de planes ni el backend. */
body.bf-page-planes.bf-page-groups #pgOverlay {
  background:rgba(17,17,20,.43) !important;
  -webkit-backdrop-filter:blur(3px);
  backdrop-filter:blur(3px);
}
body.bf-page-planes.bf-page-groups #pgSheet {
  box-sizing:border-box !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  grid-template-rows:none !important;
  background-color:#fff !important;
  background-image:none !important;
  width:min(600px,calc(100vw - 32px)) !important;
  max-width:600px !important;
  height:min(85dvh,780px) !important;
  min-height:0 !important;
  max-height:min(85dvh,780px) !important;
  border:1px solid #e6e6e8 !important;
  border-radius:24px !important;
  background:#fff !important;
  box-shadow:0 24px 75px rgba(18,18,22,.18) !important;
  color:#1d1d21 !important;
  overflow:hidden !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet :is(.create-heading-icon,.create-kicker,.create-section-icon,.pg-access-icon,.pg-access-panel-icon,.pg-switch-feature-icon,.pg-type-icon,.create-stage-progress-percent,.create-stage-dots,.pg-safety-icon,.pg-preview-eyebrow,.pg-review-setting-icon) {
  display:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .create-sheet-handle {display:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-sheet-head {
  display:flex !important;
  flex:0 0 auto !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  grid-template-columns:none !important;
  gap:14px !important;
  padding:22px 24px 12px !important;
  border:0 !important;
  background:#fff !important;
  box-shadow:none !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .create-heading {display:block !important;min-width:0 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .create-title {
  margin:0 !important;
  font-size:23px !important;
  font-weight:760 !important;
  line-height:1.2 !important;
  letter-spacing:-.035em !important;
  color:#18181a !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .create-subtitle {
  display:block !important;
  max-width:440px !important;
  margin:5px 0 0 !important;
  font-size:12px !important;
  font-weight:400 !important;
  line-height:1.5 !important;
  color:#828289 !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-close {
  flex:0 0 34px !important;
  width:34px !important;
  min-width:34px !important;
  height:34px !important;
  min-height:34px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:50% !important;
  background:#f1f1f3 !important;
  color:#3a3a40 !important;
  box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-close svg {width:16px !important;height:16px !important;}
body.bf-page-planes.bf-page-groups #pgSheet .create-stage-progress {
  flex:0 0 auto !important;
  width:auto !important;
  min-height:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:4px 24px 15px !important;
  border:0 !important;
  background:#fff !important;
  box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .create-stage-progress-head {
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  padding:0 !important;
  margin:0 0 9px !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .create-stage-progress-head > div {
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:8px !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .create-stage-progress-count {
  font-size:11px !important;
  font-weight:580 !important;
  color:#85858b !important;
  letter-spacing:0 !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .create-stage-progress-title {
  font-size:12px !important;
  font-weight:700 !important;
  color:#242428 !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .create-stage-progress-copy {display:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .create-stage-track {
  height:4px !important;
  width:100% !important;
  margin:0 !important;
  overflow:hidden !important;
  border:0 !important;
  border-radius:999px !important;
  background:#ededf0 !important;
  box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .create-stage-track > span {
  display:block !important;
  height:100% !important;
  border:0 !important;
  border-radius:inherit !important;
  background:#26262a !important;
  box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-form {
  display:block !important;
  flex:1 1 auto !important;
  min-height:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  margin:0 !important;
  padding:0 24px 20px !important;
  background:#fff !important;
  scrollbar-width:thin;
  scrollbar-color:#dedee2 transparent;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-form-layout {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  gap:12px !important;
  align-items:start !important;
}
body.bf-page-planes.bf-page-groups #pgSheet [hidden] {display:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .create-section-card,
body.bf-page-planes.bf-page-groups #pgSheet .pg-review-step {
  grid-column:1/-1 !important;
  min-width:0 !important;
  margin:0 !important;
  padding:16px !important;
  border:1px solid #eeedef !important;
  border-radius:16px !important;
  background:#f8f8f9 !important;
  box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .create-section-head {
  display:block !important;
  margin:0 0 12px !important;
  padding:0 !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .create-section-title {
  margin:0 !important;
  font-size:14px !important;
  line-height:1.4 !important;
  font-weight:720 !important;
  letter-spacing:-.012em !important;
  color:#252529 !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .create-section-copy {
  margin:4px 0 0 !important;
  font-size:11px !important;
  line-height:1.5 !important;
  color:#818187 !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:8px !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-card {min-width:0 !important;--type-color:#27272b !important;--type-tint:#fff !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-card[data-kind=test] {grid-column:1/-1 !important;--type-color:#27272b !important;--type-tint:#fff !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-surface,
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-card[data-kind=test] .pg-type-surface {
  box-sizing:border-box !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  min-height:72px !important;
  gap:3px !important;
  padding:13px 14px !important;
  border:1px solid #e2e2e6 !important;
  border-radius:12px !important;
  background:#fff !important;
  color:#35353a !important;
  box-shadow:none !important;
  transform:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-text strong {font-size:12.5px !important;font-weight:680 !important;color:#252529 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-text small {margin-top:4px !important;font-size:10px !important;line-height:1.4 !important;color:#898990 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-check {top:9px !important;right:9px !important;width:17px !important;height:17px !important;border:1px solid #e4e4e6 !important;background:#fff !important;color:transparent !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-card input:checked + .pg-type-surface {
  border-color:#27272b !important;
  background:#27272b !important;
  color:#fff !important;
  box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-card input:checked + .pg-type-surface .pg-type-text :is(strong,small) {color:#fff !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-card input:checked + .pg-type-surface .pg-type-text small {color:#d5d5da !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-card input:checked + .pg-type-surface .pg-type-check {color:#27272b !important;background:#fff !important;border-color:#fff !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-card input:focus-visible + .pg-type-surface {outline:2px solid #515158 !important;outline-offset:3px !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-grid.has-error {outline:2px solid #65656a !important;outline-offset:3px !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-context-note {margin:9px 0 0 !important;padding:0 !important;border:0 !important;background:transparent !important;font-size:11px !important;line-height:1.4 !important;color:#82828a !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-access-card {
  margin:15px 0 0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-access-head {display:block !important;margin:0 0 8px !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-access-head h4 {font-size:13px !important;font-weight:700 !important;color:#27272b !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-access-head p {margin-top:3px !important;font-size:11px !important;color:#898990 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-access-layout {display:grid !important;gap:12px !important;grid-template-columns:1fr !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-access-panel {
  min-width:0 !important;
  margin:0 !important;
  padding:13px !important;
  border:1px solid #e8e8eb !important;
  border-radius:13px !important;
  background:#fff !important;
  box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-access-panel-head {display:block !important;margin-bottom:9px !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-access-panel-copy {display:block !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-access-panel-copy strong {font-size:12px !important;color:#323236 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-access-panel-copy small {display:block !important;font-size:10px !important;line-height:1.4 !important;color:#929298 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-select-label {display:block !important;margin:0 0 7px !important;font-size:11px !important;font-weight:640 !important;color:#5b5b62 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-select-shell {min-height:42px !important;border:1px solid #e4e4e7 !important;border-radius:11px !important;background:#fff !important;box-shadow:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-select-shell:focus-within {border-color:#55555d !important;box-shadow:0 0 0 2px rgba(30,30,35,.10) !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-select-shell select {
  min-height:42px !important;height:42px !important;padding:0 34px 0 12px !important;
  font-size:16px !important;border:0 !important;background:transparent !important;color:#242428 !important;
  box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-switch-card {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  min-height:50px !important;
  margin:10px 0 0 !important;
  padding:10px 0 0 !important;
  border:0 !important;
  border-top:1px solid #ededee !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-switch-card:has(input:checked) {background:transparent !important;border-color:#ededee !important;box-shadow:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-switch-copy strong {font-size:12px !important;line-height:1.3 !important;font-weight:640 !important;color:#303035 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-switch-copy small {font-size:10px !important;line-height:1.4 !important;color:#939399 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-switch-track {width:39px !important;height:24px !important;border-radius:99px !important;background:#dcdce0 !important;box-shadow:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-switch-track span {width:18px !important;height:18px !important;top:3px !important;left:3px !important;box-shadow:0 1px 3px #0002 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-switch-control input:checked + .pg-switch-track {background:#2b2b30 !important;box-shadow:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-switch-control input:checked + .pg-switch-track span {transform:translateX(15px) !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-switch-control input:focus-visible + .pg-switch-track {outline:2px solid #515158 !important;outline-offset:3px !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-private-pill {display:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-hidden-invite-picker {
  margin:0 !important;padding:13px !important;
  border:1px solid #e8e8eb !important;border-radius:13px !important;
  background:#fff !important;box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-hidden-invite-picker :is(button,input) {color:#333338 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-field {margin:0 0 14px !important;gap:7px !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-field:last-child {margin-bottom:0 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .form-label-row label {font-size:12px !important;font-weight:680 !important;color:#333338 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .form-counter {padding:0 !important;background:transparent !important;border:0 !important;font-size:10px !important;font-weight:500 !important;color:#96969d !important;}
body.bf-page-planes.bf-page-groups #pgSheet :is(input[type="text"],textarea) {
  box-sizing:border-box !important;width:100% !important;max-width:100% !important;
  min-height:44px !important;padding:12px 13px !important;
  border:1px solid #e4e4e7 !important;border-radius:11px !important;
  background:#fff !important;color:#28282c !important;
  font-size:16px !important;line-height:1.4 !important;
  box-shadow:none !important;-webkit-appearance:none !important;appearance:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet textarea {min-height:110px !important;resize:vertical !important;}
body.bf-page-planes.bf-page-groups #pgSheet :is(input[type="text"],textarea):focus {outline:2px solid rgba(40,40,44,.12) !important;border-color:#59595e !important;background:#fff !important;box-shadow:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .form-hint {margin-top:5px !important;font-size:10px !important;color:#929299 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-review-step {display:grid !important;gap:10px !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-live-preview {
  display:flex !important;align-items:center !important;gap:12px !important;
  min-width:0 !important;padding:12px !important;border:1px solid #e8e8eb !important;
  border-radius:12px !important;background:#fff !important;box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-live-preview::after {display:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-live-preview > img {flex:0 0 54px !important;width:54px !important;height:54px !important;border-radius:11px !important;box-shadow:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-live-preview h3 {margin:0 0 4px !important;font-size:14px !important;line-height:1.2 !important;color:#262629 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-live-preview p {margin:0 0 5px !important;font-size:11px !important;color:#77777e !important;line-height:1.4 !important;}
body.bf-page-planes.bf-page-groups #pgSheet #pgSummaryMeta {padding:0 !important;border:0 !important;background:transparent !important;color:#94949b !important;box-shadow:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-review-settings {display:grid !important;grid-template-columns:1fr 1fr !important;gap:9px !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-review-setting {display:block !important;min-width:0 !important;margin:0 !important;padding:12px !important;border:1px solid #e9e9ec !important;border-radius:12px !important;background:#fff !important;box-shadow:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-review-setting-copy :is(small,strong,span) {display:block !important;max-width:100% !important;overflow-wrap:anywhere !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-review-setting-copy small {font-size:10px !important;color:#919197 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-review-setting-copy strong {font-size:12px !important;color:#303034 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-review-setting-copy > span {font-size:10px !important;color:#898990 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-review-invites {border:1px solid #e9e9ec !important;border-radius:12px !important;background:#fff !important;box-shadow:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .create-file-picker {
  display:flex !important;align-items:center !important;gap:11px !important;
  width:100% !important;min-height:60px !important;padding:12px !important;
  border:1px dashed #d8d8dc !important;border-radius:12px !important;
  background:#fff !important;color:#242428 !important;box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .create-file-picker-icon {width:35px !important;height:35px !important;border:0 !important;border-radius:10px !important;background:#ececef !important;color:#343439 !important;box-shadow:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .create-file-picker strong {font-size:12px !important;color:#29292d !important;}
body.bf-page-planes.bf-page-groups #pgSheet .create-file-picker small {font-size:10px !important;color:#8b8b92 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-camera-button {min-height:39px !important;margin-top:8px !important;border:1px solid #e5e5e8 !important;border-radius:10px !important;background:#fff !important;color:#333338 !important;box-shadow:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-file-preview {border:1px solid #e8e8eb !important;border-radius:12px !important;background:#fff !important;box-shadow:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-file-preview .file-preview-meta {color:#66666d !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-file-preview button {color:#333338 !important;background:#f2f2f4 !important;border-radius:9px !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-safety-section {padding:12px 16px !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-safety-section .create-section-head {margin:0 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-safety-section .create-section-title {font-size:12px !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-safety-section .create-section-copy {font-size:10px !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-status {margin:0 0 12px !important;padding:12px 13px !important;border-radius:11px !important;border:1px solid #e5e5e9 !important;background:#f8f8f9 !important;color:#35353a !important;box-shadow:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .create-footer--production {
  flex:0 0 auto !important;
  position:relative !important;
  z-index:2 !important;
  min-height:0 !important;
  padding:12px 24px calc(12px + env(safe-area-inset-bottom,0px)) !important;
  border:0 !important;
  border-top:1px solid #ededee !important;
  border-radius:0 !important;
  background:#fff !important;
  box-shadow:none !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .create-footer-actions {display:flex !important;align-items:center !important;justify-content:flex-end !important;width:100% !important;gap:9px !important;}
body.bf-page-planes.bf-page-groups #pgSheet :is(.create-stage-next,.create-submit) {
  flex:1 1 auto !important;width:auto !important;max-width:none !important;
  min-height:44px !important;padding:10px 16px !important;
  border:1px solid #252529 !important;border-radius:11px !important;
  background:#252529 !important;background-image:none !important;
  color:#fff !important;font-size:12.5px !important;font-weight:700 !important;
  box-shadow:none !important;transform:none !important;
  -webkit-appearance:none !important;appearance:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .create-stage-back {
  min-height:44px !important;padding:10px 15px !important;
  border:1px solid #e3e3e6 !important;border-radius:11px !important;
  background:#f4f4f5 !important;color:#343439 !important;
  font-size:12.5px !important;font-weight:650 !important;box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet button:hover {transform:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet :is(button,select,textarea,input):focus-visible {outline:2px solid #54545b !important;outline-offset:2px !important;}
@media (max-width:760px) {
  body.bf-page-planes.bf-page-groups #pgSheet {
    top:auto !important;right:0 !important;bottom:0 !important;left:0 !important;
    width:100% !important;max-width:none !important;
    height:min(90dvh,790px) !important;max-height:90dvh !important;
    height:min(90dvh,var(--pg-viewport-height,90dvh)) !important;
    max-height:min(90dvh,var(--pg-viewport-height,90dvh)) !important;
    border:0 !important;border-radius:25px 25px 0 0 !important;
    box-shadow:0 -12px 40px rgba(0,0,0,.12) !important;
  }
  body.bf-page-planes.bf-page-groups #pgSheet .create-sheet-handle {
    display:block !important;
    width:34px !important;height:4px !important;
    margin:10px auto 0 !important;
    background:#dbdbdf !important;border-radius:999px !important;
  }
  body.bf-page-planes.bf-page-groups #pgSheet .pg-sheet-head {padding:16px 19px 12px !important;}
  body.bf-page-planes.bf-page-groups #pgSheet .create-title {font-size:22px !important;}
  body.bf-page-planes.bf-page-groups #pgSheet .create-stage-progress {padding:1px 19px 13px !important;}
  body.bf-page-planes.bf-page-groups #pgSheet .pg-form {padding:0 19px 20px !important;}
  body.bf-page-planes.bf-page-groups #pgSheet .create-footer--production {padding:10px 19px calc(12px + env(safe-area-inset-bottom,0px)) !important;}
  body.bf-page-planes.bf-page-groups #pgSheet .pg-type-surface {min-height:75px !important;padding:11px 12px !important;}
  body.bf-page-planes.bf-page-groups #pgSheet .pg-review-settings {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  body.bf-page-planes.bf-page-groups #pgSheet .pg-access-card {margin-top:13px !important;}
}
@media (max-width:350px) {
  body.bf-page-planes.bf-page-groups #pgSheet .pg-sheet-head {padding-inline:14px !important;}
  body.bf-page-planes.bf-page-groups #pgSheet .create-stage-progress {padding-inline:14px !important;}
  body.bf-page-planes.bf-page-groups #pgSheet .pg-form {padding-inline:14px !important;}
  body.bf-page-planes.bf-page-groups #pgSheet .create-footer--production {padding-inline:14px !important;}
  body.bf-page-planes.bf-page-groups #pgSheet .pg-type-grid {grid-template-columns:1fr !important;}
  body.bf-page-planes.bf-page-groups #pgSheet .pg-type-surface {min-height:54px !important;}
}
@media (prefers-reduced-motion:reduce) {
  body.bf-page-planes.bf-page-groups #pgSheet,body.bf-page-planes.bf-page-groups #pgSheet * {animation-duration:.01ms !important;transition-duration:.01ms !important;}
}

/* Las secciones de otro paso no se renderizan aunque los bundles apliquen display. */
body.bf-page-planes.bf-page-groups #pgSheet [data-pg-step][hidden],
body.bf-page-planes.bf-page-groups #pgSheet .pg-review-step[hidden],
body.bf-page-planes.bf-page-groups #pgSheet .pg-file-preview[hidden],
body.bf-page-planes.bf-page-groups #pgSheet .pg-hidden-invite-picker[hidden] {display:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet :is(.pg-sheet-head,.create-stage-progress)::before,
body.bf-page-planes.bf-page-groups #pgSheet :is(.pg-sheet-head,.create-stage-progress)::after {display:none !important;content:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-check {opacity:0 !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-card input:checked + .pg-type-surface .pg-type-check {opacity:1 !important;}
body.bf-page-planes.bf-page-groups #pgSheet #pgNombre,
body.bf-page-planes.bf-page-groups #pgSheet #pgDesc {
  border-color:#e4e4e7 !important;box-shadow:none !important;background:#fff !important;
}
body.bf-page-planes.bf-page-groups #pgSheet #pgNombre:focus,
body.bf-page-planes.bf-page-groups #pgSheet #pgDesc:focus {
  border-color:#626269 !important;outline:2px solid rgba(32,32,36,.10) !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-type-card[data-kind=test] .pg-type-surface {align-items:flex-start !important;}
/* Sin adornos heredados de los antiguos modales de Planes. */
body.bf-page-planes.bf-page-groups #pgSheet::before,
body.bf-page-planes.bf-page-groups #pgSheet::after {content:none !important;display:none !important;}

/* Estados de validación discretos, sin paletas de alerta heredadas. */
body.bf-page-planes.bf-page-groups #pgSheet .pg-status:is(.is-error,.is-success,.is-loading) {
  background:#f4f4f5 !important;color:#343439 !important;border-color:#dfdfe2 !important;
  box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-field.has-error :is(input,textarea),
body.bf-page-planes.bf-page-groups #pgSheet :is(input,textarea)[aria-invalid="true"] {
  border-color:#77777e !important;box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-invite-select,
body.bf-page-planes.bf-page-groups #pgSheet .pg-invite-dropdown,
body.bf-page-planes.bf-page-groups #pgSheet .pg-invite-search {
  border-color:#e4e4e7 !important;background:#fff !important;color:#333338 !important;box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-invite-select-icon {color:#4a4a50 !important;background:#f1f1f3 !important;box-shadow:none !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-invite-footer button {
  background:#28282d !important;background-image:none !important;color:#fff !important;border-color:#28282d !important;box-shadow:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-invite-search input {
  font-size:16px !important;color:#2b2b30 !important;background:#fff !important;
}

/* Grupos 1.9: apartados realmente separados, como Cuenta > Conocer. */
body.bf-page-planes.bf-page-groups #pgSheet .pg-form-layout {gap:14px!important}
body.bf-page-planes.bf-page-groups #pgSheet .pg-category-section,
body.bf-page-planes.bf-page-groups #pgSheet .pg-standalone-section,
body.bf-page-planes.bf-page-groups #pgSheet .pg-description-section,
body.bf-page-planes.bf-page-groups #pgSheet .pg-invite-step-slot > .pg-hidden-invite-picker {
  box-sizing:border-box!important;
  padding:17px!important;
  border:1px solid #ececef!important;
  border-radius:17px!important;
  background:#f6f6f7!important;
  box-shadow:0 2px 9px rgba(25,25,30,.045)!important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-invite-step-slot {grid-column:1/-1;min-width:0}
body.bf-page-planes.bf-page-groups #pgSheet .pg-standalone-section .pg-access-panel-head {
  display:block!important;margin-bottom:13px!important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-standalone-section .pg-access-panel-copy strong {
  font-size:14px!important;font-weight:720!important;color:#252529!important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-standalone-section .pg-access-panel-copy small {
  margin-top:4px!important;font-size:11px!important;line-height:1.45!important;color:#77777f!important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-standalone-section .pg-switch-card {
  border-top:1px solid #e6e6e9!important;margin-top:13px!important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-privacy-section .pg-switch-card {
  border:1px solid #e7e7ea!important;border-radius:13px!important;
  margin:0!important;padding:12px!important;background:#fff!important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-privacy-section .pg-switch-card:has(input:checked) {
  border-color:#d4d4d9!important;background:#fff!important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-age-choice {margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-age-help {margin:4px 0 12px!important;line-height:1.4!important}
body.bf-page-planes.bf-page-groups #pgSheet .pg-invite-step-slot .pg-hidden-invite-picker {
  margin:0!important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-invite-step-slot .pg-hidden-invite-head {margin-bottom:14px!important}
@media(max-width:350px){
 body.bf-page-planes.bf-page-groups #pgSheet .pg-category-section,
 body.bf-page-planes.bf-page-groups #pgSheet .pg-standalone-section,
 body.bf-page-planes.bf-page-groups #pgSheet .pg-description-section,
 body.bf-page-planes.bf-page-groups #pgSheet .pg-invite-step-slot > .pg-hidden-invite-picker {padding:13px!important;}
}
/* El contenedor de invitaciones no ocupa una fila vacía si es público. */
body.bf-page-planes.bf-page-groups #pgSheet .pg-invite-step-slot:not([hidden]) {display:contents!important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-invite-step-slot[hidden] {display:none!important;}

/* Grupos 2.0 — teclado móvil Safari/Chrome y navegación equilibrada.
   El panel sigue el visualViewport reducido, sin empujar los campos bajo el teclado. */
@media (max-width:760px) {
  body.bf-page-planes.bf-page-groups #pgSheet {
    bottom:var(--pg-viewport-inset,0px) !important;
    height:min(90dvh,var(--pg-viewport-height,90dvh)) !important;
    max-height:var(--pg-viewport-height,100dvh) !important;
  }
  body.bf-page-planes.bf-page-groups #pgSheet.is-keyboard-open {
    height:min(100dvh,var(--pg-viewport-height,100dvh)) !important;
    max-height:var(--pg-viewport-height,100dvh) !important;
    transition:none !important;
  }
  body.bf-page-planes.bf-page-groups #pgSheet.is-keyboard-open .create-stage-progress {
    display:none !important;
  }
  body.bf-page-planes.bf-page-groups #pgSheet.is-keyboard-open .create-sheet-handle {
    margin-top:6px !important;
  }
  body.bf-page-planes.bf-page-groups #pgSheet.is-keyboard-open .pg-sheet-head {
    padding-top:9px !important;
    padding-bottom:8px !important;
  }
  body.bf-page-planes.bf-page-groups #pgSheet.is-keyboard-open .create-subtitle {
    display:none !important;
  }
  body.bf-page-planes.bf-page-groups #pgSheet.is-keyboard-open .pg-form {
    padding-bottom:10px !important;
  }
  body.bf-page-planes.bf-page-groups #pgSheet.is-keyboard-open textarea {
    min-height:76px !important;
  }
  body.bf-page-planes.bf-page-groups #pgSheet.is-keyboard-open .create-footer--production {
    padding-top:7px !important;
    padding-bottom:7px !important;
  }
  body.bf-page-planes.bf-page-groups #pgSheet .pg-form {
    scroll-padding-top:14px;
    scroll-padding-bottom:16px;
  }
  body.bf-page-planes.bf-page-groups #pgSheet #pgNombre,
  body.bf-page-planes.bf-page-groups #pgSheet #pgDesc {
    scroll-margin-block:16px;
    font-size:16px !important; /* evita el zoom automático en iPhone */
  }
}
/* Atrás y Continuar/Publicar comparten proporciones, sin cambiar otros modales. */
body.bf-page-planes.bf-page-groups #pgSheet #pgFooterActions > :is(#pgBack,#pgNext,#pgSend):not([hidden]) {
  flex:1 1 0 !important;
  width:0 !important;
  max-width:none !important;
  min-width:0 !important;
  min-height:46px !important;
  box-sizing:border-box !important;
  padding:9px 10px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  border-radius:11px !important;
  font-size:13px !important;
  white-space:nowrap;
}
body.bf-page-planes.bf-page-groups #pgSheet #pgFooterActions > [hidden] {
  display:none !important;
}
/* Corrige el margen negativo heredado del footer de Planes, que desborda el móvil. */
body.bf-page-planes.bf-page-groups #pgSheet .create-footer--production {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;
}
@media(max-width:760px){
  body.bf-page-planes.bf-page-groups #pgSheet.is-keyboard-open #pgDesc {
    height:96px !important;
    max-height:112px !important;
    resize:none !important;
  }
}

/* Grupos 2.1 — aceptación explícita antes de publicar, estilo Conocer. */
body.bf-page-planes.bf-page-groups #pgSheet .pg-safety-section {
  padding:17px !important;
  border:1px solid #ececef !important;
  border-radius:17px !important;
  background:#f6f6f7 !important;
  box-shadow:0 2px 9px rgba(25,25,30,.045) !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-safety-section .create-section-title {
  font-size:14px !important;
  font-weight:720 !important;
  color:#252529 !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-safety-section .create-section-head {margin-bottom:12px !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-consent {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  min-height:64px !important;
  padding:13px !important;
  background:#fff !important;
  border:1px solid #e4e4e8 !important;
  border-radius:13px !important;
  cursor:pointer !important;
  box-sizing:border-box !important;
  -webkit-tap-highlight-color:transparent;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-copy {
  flex:1 1 auto;
  min-width:0;
  font-size:12px !important;
  line-height:1.5 !important;
  font-weight:560 !important;
  color:#333338 !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-toggle {
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  flex:0 0 auto !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-toggle input {
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  z-index:1 !important;
  opacity:0 !important;
  cursor:pointer !important;
  margin:0 !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-track {
  display:block !important;
  width:43px !important;
  height:26px !important;
  flex:0 0 43px !important;
  border-radius:999px !important;
  background:#dcdce0 !important;
  border:1px solid #d3d3d8 !important;
  position:relative !important;
  box-sizing:border-box !important;
  transition:background-color .18s ease,border-color .18s ease !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-knob {
  position:absolute !important;
  top:3px !important;
  left:3px !important;
  width:18px !important;
  height:18px !important;
  border-radius:50% !important;
  background:#fff !important;
  box-shadow:0 1px 3px rgba(0,0,0,.15) !important;
  transition:transform .18s ease !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-toggle input:checked + .pg-terms-track {
  background:#222226 !important;
  border-color:#222226 !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-toggle input:checked + .pg-terms-track .pg-terms-knob {
  transform:translateX(17px) !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-toggle input:focus-visible + .pg-terms-track {
  outline:2px solid #37373c !important;
  outline-offset:3px !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-value {
  min-width:16px !important;
  font-size:11px !important;
  font-weight:700 !important;
  color:#777780 !important;
  text-align:center !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-consent.is-accepted {border-color:#c9c9cf !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-consent.is-accepted .pg-terms-value {color:#26262b !important;}
body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-note {
  margin:9px 2px 0 !important;
  font-size:11px !important;
  color:#77777e !important;
  line-height:1.5 !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-note a {
  color:#27272b !important;
  font-weight:650 !important;
  text-decoration:underline !important;
  text-underline-offset:2px !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-send:disabled {
  opacity:.48 !important;
  cursor:not-allowed !important;
  box-shadow:none !important;
}
@media (prefers-reduced-motion:reduce) {
  body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-track,
  body.bf-page-planes.bf-page-groups #pgSheet .pg-terms-knob {transition:none !important;}
}

/* Grupos 1.12 — botones de altura constante en Safari y Chrome.
   Se evita el alto estirado heredado de los estilos generales de Planes. */
body.bf-page-planes.bf-page-groups #pgSheet #pgFooterActions {
  display:grid !important;
  grid-template-columns:50px minmax(0,1fr) !important;
  align-items:center !important;
  grid-auto-rows:50px !important;
  gap:10px !important;
  width:100% !important;
  height:auto !important;
  min-height:50px !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
}
body.bf-page-planes.bf-page-groups #pgSheet #pgFooterActions[data-stage="0"] {
  grid-template-columns:minmax(0,1fr) !important;
}
body.bf-page-planes.bf-page-groups #pgSheet #pgFooterActions > :is(#pgBack,#pgNext,#pgSend):not([hidden]) {
  display:inline-flex !important;
  flex:initial !important;
  align-self:center !important;
  justify-self:stretch !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  height:50px !important;
  min-height:50px !important;
  max-height:50px !important;
  aspect-ratio:auto !important;
  margin:0 !important;
  padding:0 12px !important;
  border-radius:13px !important;
  line-height:1.2 !important;
  font-size:14px !important;
  -webkit-appearance:none !important;
  appearance:none !important;
}
body.bf-page-planes.bf-page-groups #pgSheet #pgFooterActions > :is(#pgBack,#pgNext,#pgSend) svg {
  display:block !important;
  width:18px !important;
  height:18px !important;
  flex:0 0 18px !important;
}
body.bf-page-planes.bf-page-groups #pgSheet #pgFooterActions > [hidden] {display:none !important;}
/* Error de fotografía visible junto al selector, sin exponer fallos técnicos. */
body.bf-page-planes.bf-page-groups #pgSheet .pg-photo-error:not([hidden]) {
  display:block !important;
  margin:10px 0 0 !important;
  padding:10px 12px !important;
  border-radius:10px !important;
  border:1px solid #dedee2 !important;
  background:#fff !important;
  color:#27272c !important;
  font-size:13px !important;
  line-height:1.4 !important;
  font-weight:600 !important;
}
body.bf-page-planes.bf-page-groups #pgSheet .pg-photo-section.has-error .pg-file-picker {
  border:2px solid #777780 !important;
}

/* Grupos 1.13 — botón de retorno compacto y acción principal amplia. */
body.bf-page-planes.bf-page-groups #pgSheet #pgFooterActions > #pgBack:not([hidden]) {
  width:50px !important;
  min-width:50px !important;
  max-width:50px !important;
  height:50px !important;
  padding:0 !important;
  justify-self:start !important;
}
body.bf-page-planes.bf-page-groups #pgSheet #pgFooterActions > #pgBack svg {
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:2.3 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
  width:22px !important;
  height:22px !important;
  flex:0 0 22px !important;
}
