.hsm-pwa-install{position:fixed;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:99997;max-width:620px;margin:0 auto;background:rgba(255,253,249,.98);border:1px solid rgba(155,100,46,.22);border-radius:22px;box-shadow:0 20px 70px rgba(55,34,18,.24);padding:14px;display:none;gap:12px;align-items:center;color:#2f261f;backdrop-filter:blur(14px)}
.hsm-pwa-install.show{display:flex}.hsm-pwa-icon{width:54px;height:54px;border-radius:15px;flex:0 0 54px;overflow:hidden;background:#5b3518;display:grid;place-items:center}.hsm-pwa-icon img{width:100%;height:100%;object-fit:cover}.hsm-pwa-copy{min-width:0;flex:1}.hsm-pwa-copy strong{display:block;color:#5b3518;font-size:15px;margin-bottom:4px}.hsm-pwa-copy span{display:block;color:#756d64;font-size:12px;line-height:1.35}.hsm-pwa-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.hsm-pwa-btn{border:0;border-radius:999px;background:#9b642e;color:#fff;font-weight:900;font-size:12px;padding:10px 14px;cursor:pointer}.hsm-pwa-btn.secondary{background:#f1e6d7;color:#5b3518}.hsm-pwa-close{position:absolute;right:7px;top:5px;border:0;background:transparent;color:#8a7767;font-size:18px;cursor:pointer;padding:4px 7px}.hsm-pwa-modal{position:fixed;inset:0;z-index:99999;background:rgba(30,20,12,.58);display:none;place-items:center;padding:20px}.hsm-pwa-modal.show{display:grid}.hsm-pwa-dialog{width:min(470px,100%);background:#fffdfa;border-radius:26px;padding:24px;box-shadow:0 28px 90px rgba(0,0,0,.3);color:#2f261f}.hsm-pwa-dialog h3{margin:0 0 8px;color:#5b3518;font-size:25px}.hsm-pwa-dialog p,.hsm-pwa-dialog li{color:#756d64;line-height:1.55}.hsm-pwa-dialog ol{padding-left:22px}.hsm-pwa-dialog .hsm-pwa-btn{width:100%;margin-top:8px}.hsm-pwa-standalone .hsm-pwa-install{display:none!important}@media(max-width:560px){.hsm-pwa-install{align-items:flex-start;padding:13px 13px 13px 12px}.hsm-pwa-actions{width:100%;justify-content:flex-start;margin-top:8px}.hsm-pwa-copy strong{padding-right:22px}.hsm-pwa-install{flex-wrap:wrap}.hsm-pwa-icon{width:48px;height:48px;flex-basis:48px}.hsm-pwa-copy{width:calc(100% - 64px)}}
.hsm-push-bell{position:fixed;left:16px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:99994;width:54px;height:54px;border:0;border-radius:50%;background:#6b3d19;color:#fff;box-shadow:0 16px 44px rgba(60,35,18,.28);display:grid;place-items:center;cursor:pointer}
.hsm-push-bell-icon{font-size:23px;line-height:1}.hsm-push-bell-count{position:absolute;right:-3px;top:-4px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#c5914c;color:#fff;border:2px solid #fffdfa;display:grid;place-items:center;font-size:11px;font-weight:950}
.hsm-push-modal{position:fixed;inset:0;z-index:100002;background:rgba(31,21,13,.62);display:none;place-items:end center;padding:18px}.hsm-push-modal.show{display:grid}
.hsm-push-panel{width:min(560px,100%);max-height:min(82vh,760px);overflow:auto;background:#fffdfa;border:1px solid rgba(155,100,46,.18);border-radius:28px;padding:20px;box-shadow:0 28px 90px rgba(0,0,0,.32);color:#2f261f}
.hsm-push-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.hsm-push-head h3{margin:2px 0 0;color:#5b3518;font-size:26px}.hsm-push-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:950;color:#9b642e}
.hsm-push-x,.hsm-push-prompt-x{border:0;background:transparent;color:#806f61;font-size:24px;cursor:pointer;line-height:1;padding:4px 7px}
.hsm-push-permission-status{margin:14px 0 10px;background:#f5ede2;border-radius:16px;padding:11px 13px;color:#6a594c;font-size:12px;line-height:1.45;font-weight:800}
.hsm-push-action{border:0;border-radius:999px;background:#9b642e;color:#fff;font-weight:900;font-size:12px;padding:10px 14px;cursor:pointer}.hsm-push-action[disabled]{opacity:.55}
.hsm-push-list{display:grid;gap:9px;margin-top:16px}.hsm-push-item{width:100%;text-align:left;border:1px solid rgba(155,100,46,.12);background:#fff;border-radius:18px;padding:13px;cursor:pointer;color:#2f261f}
.hsm-push-item strong{display:block;color:#5b3518;font-size:14px}.hsm-push-item span{display:block;color:#746a61;font-size:12px;line-height:1.45;margin-top:5px}.hsm-push-item small{display:block;color:#9a8d82;font-size:10px;margin-top:7px}.hsm-push-empty{text-align:center;color:#81766d;padding:20px 8px}
.hsm-push-prompt{position:fixed;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:100001;max-width:640px;margin:0 auto;background:rgba(255,253,249,.99);border:1px solid rgba(155,100,46,.22);border-radius:22px;box-shadow:0 20px 70px rgba(55,34,18,.26);padding:14px;display:none;gap:12px;align-items:center;color:#2f261f}.hsm-push-prompt.show{display:flex}
.hsm-push-prompt-icon{width:48px;height:48px;flex:0 0 48px;border-radius:15px;background:#6b3d19;color:#fff;display:grid;place-items:center;font-size:21px}.hsm-push-prompt-copy{min-width:0;flex:1}.hsm-push-prompt-copy strong{display:block;color:#5b3518;font-size:14px;margin-bottom:4px}.hsm-push-prompt-copy span{display:block;color:#756d64;font-size:12px;line-height:1.4}.hsm-push-prompt-x{position:absolute;right:6px;top:4px;font-size:19px}
@media(max-width:560px){.hsm-push-bell{width:50px;height:50px}.hsm-push-prompt{flex-wrap:wrap;padding:13px}.hsm-push-prompt-copy{width:calc(100% - 64px)}.hsm-push-prompt .hsm-push-action{margin-left:60px}.hsm-push-panel{border-radius:24px;padding:17px}.hsm-push-modal{padding:10px}}


/* v1.3.1 — refinamento visual das notificações */
.hsm-push-bell[hidden]{display:none!important}
.hsm-push-prompt{
  box-sizing:border-box;
}
.hsm-push-prompt .hsm-push-action{
  white-space:nowrap;
}
@media(max-width:560px){
  .hsm-push-prompt{
    left:12px;
    right:12px;
    bottom:calc(12px + env(safe-area-inset-bottom));
    max-width:none;
    padding:14px 42px 14px 13px;
    gap:11px;
    flex-wrap:nowrap;
    align-items:center;
  }
  .hsm-push-prompt-icon{
    width:44px;
    height:44px;
    flex-basis:44px;
    border-radius:13px;
  }
  .hsm-push-prompt-copy{
    width:auto;
    flex:1;
  }
  .hsm-push-prompt-copy strong{
    font-size:14px;
    padding-right:0;
  }
  .hsm-push-prompt-copy span{
    font-size:11px;
    line-height:1.35;
  }
  .hsm-push-prompt .hsm-push-action{
    margin-left:0;
    padding:9px 11px;
    font-size:11px;
  }
}
@media(max-width:390px){
  .hsm-push-prompt{
    flex-wrap:wrap;
    padding-right:38px;
  }
  .hsm-push-prompt .hsm-push-action{
    margin-left:55px;
  }
}


/* v1.3.2 — cartão mobile mais compacto e elegante */
@media(max-width:560px){
  .hsm-push-prompt{
    display:none!important;
    left:10px;
    right:10px;
    bottom:calc(10px + env(safe-area-inset-bottom));
    max-width:none;
    width:auto;
    padding:14px;
    padding-right:40px;
    border-radius:22px;
    gap:10px 12px;
    align-items:center;
    grid-template-columns:46px minmax(0,1fr);
    grid-template-areas:
      "icon copy"
      "action action";
    box-shadow:0 16px 40px rgba(65,38,11,.18);
  }
  .hsm-push-prompt.show{
    display:grid!important;
  }
  .hsm-push-prompt-icon{
    grid-area:icon;
    width:46px;
    height:46px;
    flex:none;
    border-radius:14px;
    align-self:start;
  }
  .hsm-push-prompt-copy{
    grid-area:copy;
    width:auto;
    min-width:0;
  }
  .hsm-push-prompt-copy strong{
    display:block;
    font-size:15px;
    line-height:1.18;
    margin:0 0 4px;
    padding:0;
  }
  .hsm-push-prompt-copy span{
    display:block;
    font-size:12px;
    line-height:1.35;
    margin:0;
  }
  .hsm-push-prompt .hsm-push-action{
    grid-area:action;
    width:100%;
    margin:2px 0 0;
    padding:11px 14px;
    border-radius:14px;
    font-size:12px;
    font-weight:800;
    text-align:center;
    justify-content:center;
    white-space:nowrap;
  }
  .hsm-push-prompt .hsm-push-close{
    top:10px;
    right:10px;
  }
}

@media(max-width:380px){
  .hsm-push-prompt{
    left:8px;
    right:8px;
    padding:12px;
    padding-right:36px;
    grid-template-columns:42px minmax(0,1fr);
  }
  .hsm-push-prompt-icon{
    width:42px;
    height:42px;
  }
  .hsm-push-prompt-copy strong{
    font-size:14px;
  }
  .hsm-push-prompt-copy span{
    font-size:11px;
  }
}


/* v1.4 — detalhe individual das notificações */
.hsm-push-detail-modal{
  position:fixed;
  inset:0;
  z-index:2147483647;
  display:none;
  place-items:center;
  padding:18px;
  background:rgba(35,21,9,.58);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
.hsm-push-detail-modal.show{display:grid}
.hsm-push-detail-panel{
  position:relative;
  box-sizing:border-box;
  width:min(520px,100%);
  max-height:min(82vh,720px);
  overflow:auto;
  padding:24px;
  border:1px solid rgba(112,65,24,.14);
  border-radius:28px;
  background:linear-gradient(165deg,#fffdfa 0%,#fff 55%,#f8f1e7 100%);
  box-shadow:0 24px 70px rgba(52,29,7,.28);
  color:#2f2118;
}
.hsm-push-detail-x{
  position:absolute;
  top:13px;
  right:13px;
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:#f4eadc;
  color:#60401f;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.hsm-push-detail-brand{
  display:flex;
  align-items:center;
  gap:10px;
  padding-right:42px;
  color:#8b5a1d;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.hsm-push-detail-brand img{
  width:34px;
  height:34px;
  border-radius:10px;
  object-fit:cover;
}
.hsm-push-detail-icon{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  margin:24px 0 16px;
  border-radius:18px;
  background:linear-gradient(145deg,#75400f,#b9781b);
  color:#fff;
  font-size:28px;
  box-shadow:0 10px 24px rgba(121,74,18,.22);
}
.hsm-push-detail-panel h3{
  margin:0;
  color:#3a2718;
  font-size:clamp(24px,5vw,31px);
  line-height:1.12;
  letter-spacing:-.025em;
}
.hsm-push-detail-body{
  margin-top:15px;
  color:#5e5147;
  font-size:16px;
  line-height:1.62;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.hsm-push-detail-date{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(109,75,40,.12);
  color:#96877a;
  font-size:12px;
}
.hsm-push-detail-actions{
  display:flex;
  gap:10px;
  margin-top:20px;
}
.hsm-push-detail-actions .hsm-push-action{
  flex:1;
  margin:0;
  justify-content:center;
}
.hsm-push-detail-actions .hsm-push-action.secondary{
  background:#f4eadc;
  color:#744612;
  box-shadow:none;
}
.hsm-push-item{
  position:relative;
}
.hsm-push-item-dot{
  display:none;
  position:absolute;
  top:14px;
  right:14px;
  width:9px;
  height:9px;
  border-radius:50%;
  background:#b66f0b;
  box-shadow:0 0 0 4px rgba(182,111,11,.12);
}
.hsm-push-item.is-unread{
  background:#fff9ef;
  border-color:rgba(182,111,11,.25);
}
.hsm-push-item.is-unread .hsm-push-item-dot{
  display:block;
}

@media(max-width:560px){
  .hsm-push-detail-modal{
    align-items:end;
    padding:10px;
    padding-bottom:calc(10px + env(safe-area-inset-bottom));
  }
  .hsm-push-detail-panel{
    width:100%;
    max-height:86vh;
    padding:22px 20px 20px;
    border-radius:28px;
  }
  .hsm-push-detail-icon{
    margin-top:20px;
  }
  .hsm-push-detail-body{
    font-size:15px;
  }
  .hsm-push-detail-actions{
    position:sticky;
    bottom:0;
    margin:20px -4px -4px;
    padding-top:10px;
    background:linear-gradient(to top,#faf4eb 70%,rgba(250,244,235,0));
  }
}


/* v1.5.2 — contador do sino */
.hsm-push-bell-count[hidden]{
  display:none!important;
}
