/* HV570 · Huellas Viajeras: campaña y monedero independiente. No estilos de WhatsApp. */
:root{--hv570-navy:#2f3568;--hv570-navy-deep:#20274f;--hv570-lime:#98ab33;--hv570-cream:#fbfbf4;--hv570-ink:#343b55}
.hv570-backdrop{position:fixed;inset:0;z-index:18040;display:grid;place-items:center;padding:20px;
 background:rgba(17,21,47,.58);backdrop-filter:blur(16px) saturate(.86);-webkit-backdrop-filter:blur(16px) saturate(.86);overflow:auto;
 animation:hv570-backdrop-in .25s ease-out}
.hv570-modal{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);width:min(900px,100%);min-width:0;max-height:min(94dvh,900px);overflow:auto;
 border:1px solid rgba(255,255,255,.7);border-radius:32px;background:#fff;
 box-shadow:0 35px 110px rgba(10,15,45,.38);animation:hv570-modal-in .36s cubic-bezier(.2,.85,.24,1)}
.hv570-modal *{box-sizing:border-box}
.hv570-hero{position:relative;min-height:450px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:34px 35px 33px;
 background:radial-gradient(circle at 85% 18%,rgba(190,202,87,.2) 0,transparent 40%),
 linear-gradient(155deg,#303968,#20294f 83%);color:white}
.hv570-hero:before{content:'';position:absolute;right:-95px;top:75px;width:330px;height:330px;border:1px solid rgba(220,238,170,.17);border-radius:50%;box-shadow:0 0 0 52px rgba(255,255,255,.026),0 0 0 105px rgba(255,255,255,.02)}
.hv570-kicker{position:relative;z-index:1;display:inline-flex;gap:11px;align-items:center;letter-spacing:.15em;font-size:11px;line-height:1.5;font-weight:800;color:#e3e9bc}
.hv570-kicker span{font-size:22px;color:#b8cc60}
.hv570-hero-main{position:relative;z-index:1;display:grid;gap:3px;align-content:center;margin:35px 0 12px}
.hv570-symbol{font-size:33px;color:#c4d477;line-height:1}
.hv570-amount{font:800 clamp(60px,7vw,96px)/1.12 system-ui,-apple-system,Segoe UI,sans-serif;letter-spacing:-.075em;color:#d8ea90;text-shadow:0 8px 35px rgba(10,20,27,.1)}
.hv570-currency{font-size:11px;letter-spacing:.15em;font-weight:800;color:#d3dcca}
.hv570-hero h2{position:relative;z-index:1;max-width:380px;margin:0;font-size:clamp(21px,2.25vw,29px);font-weight:650;line-height:1.3;letter-spacing:-.025em;color:#fff}
.hv570-hero-line{position:absolute;bottom:18px;width:72px;height:4px;border-radius:99px;background:#a7ba48}
.hv570-content{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:34px 34px 30px;background:linear-gradient(155deg,#fff 0%,#fbfcf7 98%);color:var(--hv570-ink)}
.hv570-rule-title{margin:0 0 22px;font-size:15px;line-height:1.5;font-weight:800;color:var(--hv570-navy)}
.hv570-rules{display:grid;gap:14px}
.hv570-rules>div{display:grid;grid-template-columns:37px 1fr;align-items:center;gap:12px;padding:11px 10px;border:1px solid #e8ebdf;border-radius:16px;background:rgba(250,251,244,.9)}
.hv570-rule-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#edf1dc;color:#6f8434;font-size:12px;font-weight:900}
.hv570-rules p{font-size:15px;line-height:1.38;color:#404963;margin:0}
.hv570-rules strong{color:#2f3568;font-weight:850}
.hv570-actions{display:grid;gap:10px;margin-top:24px}
.hv570-actions button{min-height:49px;padding:13px 18px;border-radius:14px;font-size:15px;font-weight:750;line-height:1.3;cursor:pointer;transition:transform .16s ease,box-shadow .2s ease,background .2s ease}
.hv570-accept{border:1px solid #8ba12d;background:linear-gradient(110deg,#94a92e,#a7be42);color:#1d2941;box-shadow:0 10px 24px rgba(94,119,22,.21)}
.hv570-accept:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 14px 24px rgba(94,119,22,.3)}
.hv570-reject{border:1px solid #cdd5e1;background:#fff;color:var(--hv570-navy)}
.hv570-reject:hover:not(:disabled){background:#f1f3f6}
.hv570-actions button:focus-visible,.hv570-owner button:focus-visible,.hv570-booking button:focus-visible{outline:3px solid #8aa4ee;outline-offset:2px}
.hv570-actions button:disabled{opacity:.6;cursor:default}
.hv570-consent{margin:16px 0 0;color:#697284;font-size:12px;line-height:1.55}
.hv570-feedback{margin:9px 0 0;color:#8d3442;font-size:13px;line-height:1.4}
.hv570-preview-close{margin-top:8px;padding:8px;background:#e8eae8;border:0;border-radius:8px;font-size:14px}
@keyframes hv570-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes hv570-modal-in{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
/* Monedero de promoción separado del saldo y cortesías habituales */
#hv570-wallet{margin:18px 0;padding:21px 22px;border:1px solid #dfe7c6;border-radius:22px;
 background:linear-gradient(130deg,#f7f9ed,#fffdf9);color:#2f3568;box-shadow:0 8px 26px rgba(47,53,104,.05)}
.hv570-wallet-head{display:flex;gap:15px;align-items:center;justify-content:space-between}
.hv570-wallet-head small{display:block;font-size:10px;letter-spacing:.14em;font-weight:900;color:#78912d}
.hv570-wallet-head h4{margin:6px 0;font-size:21px;color:#2f3568}
.hv570-wallet-status{padding:7px 10px;border-radius:30px;background:#e6eed3;color:#506e22;font-size:12px;font-weight:700;white-space:nowrap}
.hv570-wallet-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:16px 0}
.hv570-wallet-numbers>div{padding:12px;background:#fff;border:1px solid #ecefe7;border-radius:15px}
.hv570-wallet-numbers small{display:block;font-size:11px;color:#747e87}
.hv570-wallet-numbers strong{display:block;margin-top:6px;font-size:clamp(17px,2.8vw,25px);color:#2f3568}
.hv570-progress{height:9px;background:#e3e9d1;border-radius:99px;overflow:hidden}
.hv570-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7c992e,#b4c94c)}
.hv570-wallet-note{font-size:12px!important;line-height:1.5;color:#667183;margin:10px 0 0}
.hv570-bookings{display:grid;gap:8px;margin-top:15px;font-size:14px;color:#5e6975}
.hv570-bookings h5{margin:2px 0;color:#2f3568;font-size:15px}
.hv570-booking{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#fff;border-radius:12px;border:1px solid #e9ebdf;padding:12px}
.hv570-booking strong{display:block;font-size:14px;color:#2f3568}
.hv570-booking small{display:block;font-size:12px;color:#68727b}
.hv570-booking button{flex-shrink:0;padding:10px 12px;border:0;border-radius:11px;background:#98ab33;color:#20274f;font-weight:750;cursor:pointer}
.hv570-booking button:disabled{opacity:.5}
.hv570-wallet-message{font-size:13px;color:#435b2f}
/* Centro de operaciones exclusivo de Propietario */
#hv570-owner-nav{border-radius:14px!important}
#hv570-owner-nav:hover{background:#e5ebd0!important}
#hv570-owner-dialog{position:fixed;inset:0;margin:auto;width:min(1100px,calc(100vw - 24px));max-width:calc(100vw - 24px);
 max-height:92dvh;padding:0;overflow:auto;border:1px solid rgba(47,53,104,.1);border-radius:27px;background:#fff;
 box-shadow:0 25px 95px rgba(14,18,49,.3);color:#2f3568;z-index:18500}
#hv570-owner-dialog::backdrop{background:rgba(15,20,50,.6);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.hv570-owner{padding:22px 25px 27px;font-size:15px}
.hv570-owner-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:8px 4px 20px;border-bottom:1px solid #edf0e8}
.hv570-owner-head span{color:#84982c;font-size:11px;letter-spacing:.11em;font-weight:900}
.hv570-owner-head h2{margin:6px 0;color:#2f3568;font-size:clamp(22px,3vw,28px);line-height:1.2}
.hv570-owner-head p{margin:5px 0;color:#6b7483;font-size:14px}
.hv570-owner-head>button{border:0;width:36px;height:36px;background:#eff2e8;border-radius:50%;font-size:25px;cursor:pointer;color:#2f3568}
.hv570-owner-tabs{display:flex;gap:6px;margin:16px 0 20px;padding:5px;border-radius:14px;background:#f4f6ef;overflow:auto}
.hv570-owner-tabs button{padding:11px 15px;border:0;background:transparent;border-radius:11px;color:#616d7f;font-size:14px;font-weight:750;white-space:nowrap;cursor:pointer}
.hv570-owner-tabs button.active{color:#2f3568;background:#fff;box-shadow:0 3px 13px rgba(47,53,104,.1)}
.hv570-owner-info{padding:13px 16px;border:1px solid #e0e8c5;border-radius:13px;background:#f8fbed;color:#667c37;font-size:14px;line-height:1.5;margin-bottom:17px}
.hv570-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.hv570-form-grid label,.hv570-owner-wide{display:grid;gap:7px;font-size:13px;font-weight:800;color:#4a5577}
.hv570-form-grid input:not([type=checkbox]),.hv570-owner-wide textarea{width:100%;border:1px solid #dce2e5;border-radius:12px;padding:12px 14px;background:#fff;
 font:inherit;font-size:15px;color:#2f3568;box-sizing:border-box}
.hv570-owner-wide{margin-top:16px}
.hv570-owner-toggle{display:flex!important;align-items:center;justify-content:space-between;padding:13px;background:#f4f7ed;border-radius:13px}
.hv570-owner-toggle input{width:22px;height:22px;accent-color:#8fa831}
.hv570-owner-consent{padding:14px;border-left:3px solid #98ab33;color:#647080;background:#fbfcf7;font-size:13px;line-height:1.5;margin:18px 0}
.hv570-owner-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.hv570-owner-actions button{border-radius:12px;padding:12px 17px;border:1px solid #cbd1df;background:white;color:#2f3568;cursor:pointer;font-size:14px;font-weight:750}
.hv570-owner-actions button:last-child{border-color:#91a331;background:#98ab33;color:#20274f}
#hv570-owner-status{min-height:18px;margin:15px 0 0;color:#4c7837;font-size:14px}
#hv570-owner-status.error{color:#ad3a3a}
.hv570-metrics,.hv570-usage-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:17px}
.hv570-metrics>div,.hv570-usage-metrics>div{background:#f7f9f1;border:1px solid #e8eddc;border-radius:15px;padding:14px}
.hv570-metrics small,.hv570-usage-metrics small{display:block;color:#788198;font-size:12px}
.hv570-metrics strong,.hv570-usage-metrics strong{font-size:clamp(20px,3vw,27px);display:block;margin-top:4px}
.hv570-table-scroll{max-height:55dvh;max-width:100%;overflow:auto;border:1px solid #ecefe8;border-radius:15px}
.hv570-table-scroll table{width:100%;border-collapse:collapse;min-width:560px;font-size:13px}
.hv570-table-scroll th{text-align:left;position:sticky;top:0;background:#eff2e9;color:#46536f;padding:12px 11px}
.hv570-table-scroll td{border-bottom:1px solid #eff2f1;padding:11px;color:#46536f}
.hv570-semaforo{display:inline-block;padding:6px 9px;border-radius:30px;white-space:nowrap;font-size:12px;font-weight:800}
.hv570-semaforo.authorized{color:#3f722b;background:#e7f3e2}
.hv570-semaforo.pending{color:#957124;background:#fff3d6}
.hv570-semaforo.revoked,.hv570-semaforo.rejected{color:#a64747;background:#fae7e7}
@media(max-width:760px){
 .hv570-backdrop{padding:10px;align-items:center}
 .hv570-modal{grid-template-columns:1fr;border-radius:23px;max-height:95dvh}
 .hv570-hero{min-height:0;padding:23px 22px 25px}
 .hv570-hero-main{margin:14px 0 14px}
 .hv570-amount{font-size:clamp(52px,14vw,77px)}
 .hv570-hero h2{font-size:21px;max-width:500px}
 .hv570-hero-line{display:none}
 .hv570-content{padding:20px 19px 23px}
 .hv570-rule-title{margin-bottom:12px}
 .hv570-rules{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .hv570-rules>div{grid-template-columns:1fr;gap:7px;padding:10px}
 .hv570-rules p{font-size:13px}
 .hv570-rule-icon{width:28px;height:28px;border-radius:9px;font-size:10px}
 .hv570-actions{margin-top:18px}
 .hv570-consent{font-size:11px}
 .hv570-wallet-numbers{grid-template-columns:1fr 1fr}
 .hv570-wallet-numbers>div:last-child{grid-column:1/-1}
 .hv570-form-grid{grid-template-columns:1fr}
 .hv570-metrics,.hv570-usage-metrics{grid-template-columns:repeat(2,1fr)}
 .hv570-owner{padding:16px 14px}
 .hv570-owner-head{padding:8px 0 15px}
 .hv570-booking{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.hv570-backdrop,.hv570-modal{animation:none!important}
 .hv570-actions button{transition:none!important}}

/* HV578 · viajes elegibles y precios mínimos del bono */
#hv570-owner-dialog .hv578-trip-eligibility{margin:16px 0;padding:16px;border:1px solid #e0e8d7;
 border-radius:14px;background:#fafcf7}
#hv570-owner-dialog .hv578-trip-eligibility h3{margin:0 0 12px;color:#303965;font-size:16px}
#hv570-owner-dialog .hv578-trip-eligibility>label:not(.hv570-owner-toggle){display:grid;gap:7px;color:#404d5f;font-weight:700}
#hv570-owner-dialog .hv578-trip-eligibility select{width:100%;min-height:42px;
 border:1px solid #cbd9bc;border-radius:9px;padding:8px;background:#fff;color:#303965;font:inherit}
#hv570-owner-dialog .hv578-trip-list{max-height:225px;overflow-y:auto;display:grid;gap:7px;
 padding:10px;margin:9px 0 15px;border:1px solid #d5e1cc;border-radius:10px;background:#fff}
#hv570-owner-dialog .hv578-trip-list[hidden]{display:none}
#hv570-owner-dialog .hv578-trip-list label{display:flex;align-items:center;gap:9px;
 padding:7px 5px;font-size:14px;color:#334061;cursor:pointer}
#hv570-owner-dialog .hv578-trip-list input{height:18px;width:18px;accent-color:#6d8e38}
#hv570-owner-dialog .hv578-trip-eligibility .hv570-owner-toggle{margin:13px 0 9px}
#hv570-owner-dialog .hv578-owner-footnote{font-size:12px;color:#62716a;line-height:1.5;margin:7px 0 0}
#hv570-offer .hv578-gift-public-rule{margin:10px 0 0;color:#65784b;
 font-size:12px;line-height:1.5}
@media(max-width:650px){
 #hv570-owner-dialog .hv578-trip-eligibility{padding:12px}
 #hv570-owner-dialog .hv578-trip-list{max-height:190px}
}


/* HV581: regalo protagonista, solo su la bolsa promocional. */
#hv570-wallet .hv570-wallet-numbers>div:first-child{
 background:linear-gradient(135deg,#303967,#222b59);border-color:#303967;
 box-shadow:0 9px 24px rgba(38,47,102,.19)
}
#hv570-wallet .hv570-wallet-numbers>div:first-child small{color:#e9edfc;font-weight:800}
#hv570-wallet .hv570-wallet-numbers>div:first-child strong{
 color:#fff;font-size:clamp(26px,5vw,36px);font-weight:900;letter-spacing:-.035em
}

/* HV582: edición global del mínimo promocional */
#hv570-owner-dialog .hv582-floor-editor{margin:16px 0;padding:17px;background:#f7f9ed;border:1px solid #dce4ca;border-radius:16px}
#hv570-owner-dialog .hv582-floor-editor h3{margin:0 0 10px;font-size:17px;color:#303967}
#hv570-owner-dialog .hv582-floor-editor p{margin:7px 0 12px;font-size:13px;line-height:1.5;color:#63716e}
#hv570-owner-dialog .hv582-floor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#hv570-owner-dialog .hv582-floor-grid label{display:grid;gap:7px;font-size:13px;font-weight:750;color:#303967}
#hv570-owner-dialog .hv582-floor-grid input{width:100%;min-height:44px;box-sizing:border-box;border:1px solid #c8d5b8;border-radius:11px;padding:9px 11px;background:#fff;color:#303967;font:inherit}
@media(max-width:540px){#hv570-owner-dialog .hv582-floor-grid{grid-template-columns:1fr}}
