/* Panel de propuestas — SOLO muestra local. Todo prefijado .dfp: no toca la web. */
.dfp-fab {
  position: fixed; left: 16px; bottom: 16px; z-index: 9000;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  font: 700 13px/1 "Space Grotesk", system-ui, sans-serif; letter-spacing: 0.06em; text-transform: uppercase;
  color: #111; background: #FFE500; border: 2px solid #111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); cursor: pointer;
}
.dfp-fab__n { font-variant-numeric: tabular-nums; background: #111; color: #FFE500; border-radius: 999px; padding: 4px 7px; font-size: 11px; }
.dfp-fab:focus-visible, .dfp button:focus-visible, .dfp textarea:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: none; }

.dfp {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 9001;
  width: min(380px, calc(100vw - 24px));
  display: flex; flex-direction: column;
  background: #161718; color: #f5f6f7; border-right: 1px solid #3a3d42;
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.6);
  font: 400 14px/1.4 "Inter", system-ui, sans-serif;
}
.dfp[hidden] { display: none !important; }
.dfp__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 4px; }
.dfp__head h2 { margin: 0; font: 700 18px/1.2 "Space Grotesk", system-ui, sans-serif; color: #fff; letter-spacing: -0.01em; }
.dfp__close { width: 40px; height: 40px; border-radius: 8px; border: 1px solid #3a3d42; background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.dfp__hint { margin: 0; padding: 0 16px 10px; color: #b6bbc2; font-size: 13px; }
.dfp__list { flex: 1; overflow-y: auto; padding: 0 16px 8px; overscroll-behavior: contain; }
.dfp__grp h3 { margin: 14px 0 6px; font: 600 11px/1.2 "Space Grotesk", system-ui, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: #FFE500; }
.dfp__grp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dfp-item label { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start; padding: 10px; border: 1px solid #2a2c2f; border-radius: 10px; background: #1b1c1e; cursor: pointer; position: relative; }
.dfp-item label:hover { border-color: #6b7078; }
.dfp-item input { position: absolute; opacity: 0; width: 40px; height: 24px; margin: 0; left: 10px; top: 10px; cursor: pointer; }
.dfp-item__sw { width: 40px; height: 24px; border-radius: 999px; background: #3a3d42; position: relative; transition: background-color 0.15s; }
.dfp-item__sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #f5f6f7; transition: transform 0.15s; }
.dfp-item input:checked + .dfp-item__sw { background: #FFE500; }
.dfp-item input:checked + .dfp-item__sw::after { transform: translateX(16px); background: #111; }
.dfp-item input:focus-visible + .dfp-item__sw { outline: 3px solid #fff; outline-offset: 2px; }
.dfp-item__txt { display: grid; gap: 2px; min-width: 0; }
.dfp-item__txt b { color: #fff; font-weight: 600; font-size: 14px; }
.dfp-item__txt b em { font-style: normal; font: 600 10px/1 "Space Grotesk", system-ui, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: #111; background: #8b919a; border-radius: 4px; padding: 3px 5px; margin-left: 4px; vertical-align: 2px; }
.dfp-item__txt span { color: #b6bbc2; font-size: 12.5px; }
.dfp-item__txt code { color: #8b919a; font-size: 11px; font-family: ui-monospace, monospace; }
.dfp-item.is-pend label { cursor: not-allowed; opacity: 0.72; }
.dfp-item.is-pend input { cursor: not-allowed; }
.dfp__foot { border-top: 1px solid #2a2c2f; padding: 12px 16px 16px; }
.dfp__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.dfp__btns button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #6b7078; background: transparent; color: #fff; font: 600 13px/1 "Space Grotesk", system-ui, sans-serif; cursor: pointer; }
.dfp__btns button.is-main { background: #FFE500; color: #111; border-color: #FFE500; }
.dfp__status { margin: 8px 0 0; min-height: 1.2em; color: #b6bbc2; font-size: 12.5px; }
.dfp__out { width: 100%; margin-top: 8px; background: #111; color: #f5f6f7; border: 1px solid #3a3d42; border-radius: 8px; padding: 8px; font: 12px/1.45 ui-monospace, monospace; resize: vertical; }
@media (prefers-reduced-motion: reduce) { .dfp-item__sw, .dfp-item__sw::after { transition: none; } }
