.bf-dialog{border:0;border-radius:22px;padding:0;width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);color:#183c2a;background:#f7faf8;font:14px system-ui,sans-serif;overflow:auto}.bf-dialog::backdrop{background:#062516b3}.bf-dialog>header{position:sticky;top:0;background:#0a3b25;color:white;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;z-index:2}.bf-dialog h2{font-size:19px;margin:0}.bf-dialog h3{font-size:19px;margin:8px 0 16px}.bf-dialog h4{font-size:16px;margin:0 0 10px}.bf-dialog main{padding:20px}.bf-dialog p{line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.bf-dialog button{border:0;border-radius:10px;min-height:44px;padding:10px 15px;background:#0b5431;color:white;font:700 13px system-ui;cursor:pointer;margin:4px 4px 4px 0}.bf-dialog button:disabled{opacity:.5;cursor:wait}.bf-dialog .bf-secondary{background:#e6eee8;color:#204c32}.bf-dialog>header button{background:#ffffff20;color:white}.bf-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.bf-heading small{font-weight:800;letter-spacing:.1em;color:#607b68;font-size:10px}.bf-state{padding:6px 10px;border-radius:20px;background:#f4e4b5;color:#60460b;font-size:12px;font-weight:700}.bf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bf-card{padding:18px;background:white;border:1px solid #dce7de;border-radius:16px;margin-bottom:12px}.bf-card p{margin:6px 0;font-size:13px}.bf-credit{border-color:#dfc473;background:#fffcf1}.bf-credit h4{margin-top:12px}.bf-dialog .bf-notice{padding:12px;border-radius:10px;background:#fff5da;color:#61490f;font-size:12px}.bf-dialog label{display:block;font-weight:700;margin:12px 0}.bf-dialog input:not([type=checkbox]),.bf-dialog textarea,.bf-dialog select{box-sizing:border-box;display:block;width:100%;min-height:44px;padding:10px;margin-top:6px;border:1px solid #bdcfc2;border-radius:9px;background:white;color:#183c2a;font:14px system-ui}.bf-dialog .bf-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5}.bf-check input{width:22px;height:22px;flex-shrink:0;accent-color:#126336}.bf-dialog fieldset{border:1px solid #dce7de;border-radius:12px;margin:12px 0;padding:12px}.bf-terms{padding:14px;background:#edf3ef;border-radius:12px;margin:14px 0}.bf-terms summary{cursor:pointer;font-weight:700;min-height:28px}.bf-terms p{font-size:13px}.bf-dialog [role=alert]{background:#ffebe8;color:#8f271c;padding:12px;margin:10px 20px}.bf-dialog :focus-visible{outline:3px solid #d8a73c;outline-offset:2px}.bf-open{margin-top:12px;min-height:44px;padding:10px 14px;border:0;border-radius:10px;font-weight:800;background:#ffbd29;color:#173824;cursor:pointer}.bf-toolbar{margin-bottom:16px}.bf-dates{color:#4d6857}@media(max-width:560px){.bf-grid{grid-template-columns:1fr}.bf-dialog main{padding:14px}.bf-dialog>header{padding:12px 14px}.bf-dialog h2{font-size:17px}}

.bf-table-wrap{background:#fff;border:1px solid #dce7de;border-radius:16px;overflow:hidden;margin-top:16px}.bf-benefits-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}.bf-benefits-table caption{text-align:left;padding:18px;font-size:20px;font-weight:800;color:#0b5431}.bf-benefits-table th,.bf-benefits-table td{padding:14px;vertical-align:top;overflow-wrap:anywhere;line-height:1.5;border-top:1px solid #e5ede7}.bf-benefits-table thead{background:#edf4ef;font-size:12px}.bf-benefits-table th:first-child{width:35%}.bf-benefits-table tbody th{font-size:13px}.bf-benefits-table td{font-size:13px;color:#4d6857}.bf-accepted{padding:14px;background:#e4f3e9;border-radius:12px;color:#0b5431;font-weight:700}.bf-dialog .bf-accept-note{font-size:12px;color:#4d6857}.bf-dialog [data-accept] button{width:100%;margin:0}

/* Reconocimiento compacto del negocio fundador */
#rest-fundador .fundador-tarjeta{box-sizing:border-box;width:100%;max-width:440px;margin:0 auto 12px;padding:14px 18px;text-align:center;border-radius:16px;background:linear-gradient(135deg,#063f28,#12553a);border:1px solid #ffffff18;box-shadow:0 4px 14px #0a432512}
#rest-fundador .fundador-logo{display:block;width:34px;height:auto;aspect-ratio:420/218;background:transparent;object-fit:contain;margin:0 auto 6px}
#rest-fundador .fundador-etiqueta{font-size:9px;letter-spacing:1px;margin:0 0 4px;color:#ffc447}
#rest-fundador .fundador-tarjeta h3{font-size:16px;line-height:1.25;margin:0 0 5px;color:#fff}
#rest-fundador .fundador-tarjeta p{max-width:300px;margin:0 auto;color:#e2eee7;font-size:11px;line-height:1.4}
#rest-fundador .bf-open{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:36px;margin:9px 0 0;padding:7px 13px;border-radius:20px;background:#ffbf32;color:#163c29;font-size:11px;font-weight:800;box-shadow:none}
#rest-fundador .bf-open:focus-visible{outline:2px solid white;outline-offset:3px}

#rest-fundador .fundador-logo img{filter:url(#fundador-quitar-fondo)}
