/* Học Tri Thức Mới - branded feedback windows, independent of theme styling */
#httm-brand-notify-stack{position:fixed!important;top:82px;right:24px;z-index:2147483640;display:flex;flex-direction:column;align-items:flex-end;gap:12px;pointer-events:none;max-width:calc(100vw - 24px);font-family:Arial,Roboto,sans-serif}
#httm-brand-notify-stack .httm-brand-toast{--brand-accent:#1f9b62;position:relative;pointer-events:auto;box-sizing:border-box;width:min(420px,calc(100vw - 32px));background:#fff;color:#132b4f;border:1px solid #dce7fa;border-top:4px solid #3159cf;border-radius:15px;box-shadow:0 18px 55px rgba(18,37,74,.23);overflow:hidden;transform:translate3d(18px,-12px,0) scale(.97);opacity:0;transition:opacity .28s ease,transform .33s cubic-bezier(.2,.7,.25,1);text-align:left}
#httm-brand-notify-stack .httm-brand-toast.httm-is-visible{transform:none;opacity:1}
#httm-brand-notify-stack .httm-brand-toast.httm-is-leaving{opacity:0;transform:translate3d(22px,-8px,0) scale(.97)}
#httm-brand-notify-stack .httm-brand-top{display:flex;align-items:center;justify-content:space-between;padding:11px 16px 10px;background:linear-gradient(115deg,#f0f6ff,#fff)}
#httm-brand-notify-stack .httm-brand-identity{display:flex;align-items:center;gap:9px;min-width:0}
#httm-brand-notify-stack .httm-brand-logo{width:30px;height:30px;border-radius:9px;background:linear-gradient(140deg,#147fc9,#22b9bd);display:grid;place-items:center;color:#fff;font-size:19px;line-height:1;flex-shrink:0}
#httm-brand-notify-stack .httm-brand-title{font-size:12px;letter-spacing:.02em;font-weight:800;color:#214482;margin:0;line-height:1.4}
#httm-brand-notify-stack .httm-brand-sub{font-size:10px;color:#6e819e;letter-spacing:.11em;margin:1px 0 0}
#httm-brand-notify-stack .httm-brand-close{position:static!important;min-width:30px!important;min-height:30px!important;width:30px!important;height:30px!important;display:grid!important;place-items:center!important;background:transparent!important;border:0!important;border-radius:8px!important;box-shadow:none!important;color:#6b7c93!important;font-size:24px!important;cursor:pointer!important;padding:0!important;margin:0!important;line-height:1!important}
#httm-brand-notify-stack .httm-brand-close:hover{background:#e8effb!important;color:#173b83!important}
#httm-brand-notify-stack .httm-brand-body{display:flex;align-items:flex-start;gap:12px;padding:16px 17px 19px}
#httm-brand-notify-stack .httm-brand-status{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:#e3f7ed;color:#168a52;font-size:21px;font-weight:800}
#httm-brand-notify-stack .httm-brand-heading{margin:0 0 5px!important;color:#18345a;font-size:16px;font-weight:800;line-height:1.4}
#httm-brand-notify-stack .httm-brand-description{margin:0!important;color:#566984;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
#httm-brand-notify-stack .httm-brand-progress{height:3px;background:#eef3fb}
#httm-brand-notify-stack .httm-brand-progress span{display:block;height:100%;width:100%;background:var(--brand-accent);transform-origin:left;animation:httm-brand-countdown var(--httm-duration,7s) linear forwards}
#httm-brand-notify-stack .httm-brand-toast[data-type=warning]{--brand-accent:#dfa62a}
#httm-brand-notify-stack .httm-brand-toast[data-type=warning] .httm-brand-status{color:#996600;background:#fff3d9}
#httm-brand-notify-stack .httm-brand-toast[data-type=error]{--brand-accent:#dd4343}
#httm-brand-notify-stack .httm-brand-toast[data-type=error] .httm-brand-status{color:#b02c2c;background:#ffe6e6}
#httm-brand-notify-stack .httm-brand-toast[data-type=info]{--brand-accent:#396be7}
#httm-brand-notify-stack .httm-brand-toast[data-type=info] .httm-brand-status{color:#2a5cc4;background:#e7efff}
@keyframes httm-brand-countdown{to{transform:scaleX(0)}}
@media(max-width:600px){#httm-brand-notify-stack{top:68px;left:12px;right:12px;align-items:center;max-width:none}#httm-brand-notify-stack .httm-brand-toast{width:100%}}
@media(prefers-reduced-motion:reduce){#httm-brand-notify-stack .httm-brand-toast{transition:none}#httm-brand-notify-stack .httm-brand-progress span{animation:none}}
