/* Capa de revisión (solo en el servidor local / túnel, nunca en la web publicada). */
.fbr, .fbr * { box-sizing: border-box; font-family: Barlow, system-ui, sans-serif; }
.fbr-btn { position: fixed; left: 20px; bottom: 20px; z-index: 2147483000; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #2456E6; color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 8px 24px rgb(0 0 0 / .25); cursor: pointer; }
.fbr-btn b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: #2456E6; font-size: 13px; }
.fbr-btn.is-placing { background: #111; }
.fbr-btn { opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .5s ease, transform .5s ease; }
.fbr-btn.is-in { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 860px) { .fbr-btn { bottom: 96px; left: 12px; } }
.fbr-panel { position: fixed; left: 20px; bottom: 76px; z-index: 2147483000; width: min(360px, calc(100vw - 24px)); max-height: min(70vh, 560px); display: flex; flex-direction: column; background: #fff; color: #111; border-radius: 14px; box-shadow: 0 18px 48px rgb(0 0 0 / .28); overflow: hidden; }
@media (max-width: 860px) { .fbr-panel { left: 12px; bottom: 152px; max-height: 60vh; } }
.fbr-panel[hidden] { display: none; }
.fbr-panel__head { padding: 16px 18px 12px; border-bottom: 1px solid #ECEBE7; }
.fbr-panel__head h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.fbr-panel__head p { margin: 0; font-size: 14px; line-height: 1.4; color: #55554F; }
.fbr-panel__list { flex: 1; overflow: auto; padding: 6px 0; }
.fbr-panel__empty { padding: 14px 18px; font-size: 14px; color: #8A8A86; }
.fbr-item { display: flex; gap: 10px; width: 100%; padding: 10px 18px; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.fbr-item:hover { background: #F4F3F0; }
.fbr-item__n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #2456E6; color: #fff; font-size: 12px; font-weight: 700; }
.fbr-item__t { font-size: 14px; line-height: 1.4; white-space: pre-wrap; word-break: break-word; }
.fbr-item__m { display: block; margin-top: 3px; font-size: 12px; color: #8A8A86; }
.fbr-panel__foot { display: flex; gap: 8px; padding: 12px 18px 16px; border-top: 1px solid #ECEBE7; }
.fbr-panel__foot button { flex: 1; height: 40px; border: 1px solid #111; border-radius: 10px; background: #111; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.fbr-panel__foot button.is-ghost { background: #fff; color: #111; }
.fbr-pins { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 2147482000; }
.fbr-pin { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50% 50% 50% 4px; background: #2456E6; color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 4px 14px rgb(0 0 0 / .35); cursor: pointer; transition: transform .2s; }
.fbr-pin:hover, .fbr-pin.is-flash { transform: scale(1.25); }
.fbr-pop { position: fixed; z-index: 2147483001; width: min(320px, calc(100vw - 24px)); padding: 14px; background: #fff; color: #111; border-radius: 12px; box-shadow: 0 18px 48px rgb(0 0 0 / .3); }
.fbr-pop label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; }
.fbr-pop input, .fbr-pop textarea { width: 100%; margin: 0 0 10px; padding: 10px 12px; border: 1px solid #D9D7D2; border-radius: 8px; font-size: 15px; color: #111; background: #fff; }
.fbr-pop textarea { min-height: 96px; resize: vertical; }
.fbr-pop__row { display: flex; gap: 8px; }
.fbr-pop__row button { flex: 1; height: 40px; border: 1px solid #111; border-radius: 8px; background: #111; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.fbr-pop__row button.is-ghost { background: #fff; color: #111; }
.fbr-pop__row button.is-danger { border-color: #CB1628; background: #fff; color: #CB1628; }
.fbr-pop__text { margin: 0 0 6px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.fbr-pop__meta { margin: 0 0 12px; font-size: 12px; color: #8A8A86; }
.fbr-toast { position: fixed; left: 50%; top: 20px; z-index: 2147483002; transform: translateX(-50%); width: min(440px, calc(100vw - 24px)); padding: 16px 18px; background: #111; color: #fff; border-radius: 14px; box-shadow: 0 18px 48px rgb(0 0 0 / .35); font-size: 15px; line-height: 1.45; }
.fbr-toast b { display: block; margin-bottom: 4px; font-size: 16px; }
.fbr-toast button { margin-top: 12px; height: 38px; padding: 0 16px; border: 0; border-radius: 8px; background: #2456E6; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.fbr-placing, .fbr-placing * { cursor: crosshair !important; }
.fbr-welcome { position: fixed; inset: 0; z-index: 2147483003; display: grid; place-items: center; padding: 16px; background: rgb(11 15 20 / 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fbrIn .4s ease both; }
.fbr-welcome__card { width: min(620px, 100%); text-align: center; max-height: calc(100vh - 32px); overflow: auto; padding: 36px 36px 32px; background: #fff; color: #111; border-radius: 18px; box-shadow: 0 30px 80px rgb(0 0 0 / .4); }
.fbr-welcome h2 { margin: 0 0 22px; font-size: 30px; font-weight: 600; line-height: 1.15; }
.fbr-welcome__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 20px; }
.fbr-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 10px 16px; background: #F4F3F0; border-radius: 14px; text-align: center; }
.fbr-tile__art { display: grid; place-items: center; height: 72px; margin-bottom: 6px; }
.fbr-tile__art svg { width: 64px; height: 64px; fill: none; stroke: #2456E6; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.fbr-tile__art .fbr-dot { fill: #2456E6; stroke: none; }
.fbr-tile b { font-size: 17px; }
.fbr-tile span { font-size: 15px; line-height: 1.3; color: #55554F; }
.fbr-tile .fbr-tile__btn { display: inline-flex; color: #fff; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: #2456E6; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; box-shadow: 0 6px 16px rgb(36 86 230 / .35); }
.fbr-wave { animation: fbrWave 1.6s ease-in-out infinite; }
.fbr-wave--2 { animation-delay: .2s; }
.fbr-ring { transform-origin: 32px 30px; animation: fbrRing 1.6s ease-out infinite; }
@keyframes fbrWave { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes fbrRing { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
@media (max-width: 600px) {
  .fbr-welcome__tiles { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .fbr-tile { display: grid; grid-template-columns: 100px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 0; align-items: center; padding: 10px 14px; text-align: left; }
  .fbr-tile__art { grid-row: 1 / 3; height: 52px; margin: 0; }
  .fbr-tile__art svg { width: 44px; height: 44px; }
  .fbr-tile b { align-self: end; }
  .fbr-tile span { align-self: start; }
  .fbr-tile .fbr-tile__btn { height: 28px; padding: 0 9px; font-size: 11px; }
}
.fbr-welcome__what { margin: 0 0 22px; font-size: 17px; line-height: 1.5; color: #55554F; }
.fbr-welcome__ok { width: 100%; height: 54px; border: 0; border-radius: 12px; background: #2456E6; color: #fff; font-size: 17px; font-weight: 600; cursor: pointer; }
@media (max-width: 600px) { .fbr-welcome__card { padding: 26px 22px 22px; } .fbr-welcome h2 { font-size: 25px; } .fbr-welcome__intro { font-size: 17px; } }
@keyframes fbrIn { from { opacity: 0; } to { opacity: 1; } }
.fbr-panel__help { margin-top: 8px; padding: 0; border: 0; background: none; color: #2456E6; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
