.hfPwaControls{position:relative;z-index:2147483000;font-family:"DM Sans",system-ui,sans-serif}
.hfPwaActions{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:10px}
.hfPwaActionsTop{top:max(14px,env(safe-area-inset-top));bottom:auto}
.hfPwaActionsSlot{right:auto!important;bottom:auto!important}
.hfPwaActions button{font:inherit}
.hfPwaBell{position:relative;flex:0 0 auto;width:46px;height:46px;padding:0;border:1px solid #5b5b60;border-radius:14px;background:linear-gradient(145deg,#2a2a2e,#111113);box-shadow:inset 0 1px #ffffff1f,0 12px 28px #0009;color:#f5f3ee;display:grid;place-items:center;cursor:pointer;transition:transform .18s,border-color .18s,background .18s}
.hfPwaBell:active{transform:scale(.94);border-color:#8b8b91;background:#202024}
.hfPwaBell svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hfPwaBellDocked{position:relative;z-index:2;margin:0 2px;order:8}
.hfPwaBell>b{position:absolute;right:-5px;top:-6px;min-width:20px;height:20px;padding:0 5px;border:2px solid #080808;border-radius:999px;background:#d90100;color:#fff;font-size:10px;line-height:16px}
@media(min-width:701px){
  .hfPwaActionsSlot:has(.hfPwaBell){gap:0}
  .hfPwaActionsSlot .hfPwaBell{width:28px;height:28px;margin:0;border-radius:999px;border-color:#76767d;background:linear-gradient(145deg,#35353a,#171719);box-shadow:0 7px 18px #000b,inset 0 1px #ffffff26;pointer-events:auto}
  .hfPwaActionsSlot .hfPwaBell svg{width:14px;height:14px;stroke-width:2}
  .hfPwaActionsSlot .hfPwaBell>b{right:-6px;top:-7px;min-width:17px;height:17px;padding:0 4px;border-width:2px;font-size:8px;line-height:13px}
  [data-hf-notification-desktop-slot] .hfPwaBell{width:30px;height:30px;margin:0;border-radius:10px;border-color:#4b4b51;background:#171719;box-shadow:inset 0 1px #ffffff17;pointer-events:auto}
  [data-hf-notification-desktop-slot] .hfPwaBell svg{width:16px;height:16px;stroke-width:1.8}
  [data-hf-notification-desktop-slot] .hfPwaBell>b{right:-6px;top:-7px;min-width:17px;height:17px;padding:0 4px;border-width:2px;font-size:8px;line-height:13px}
}
.hfPwaInstall{min-width:188px;height:54px;padding:6px 10px 6px 7px;border:1px solid #393939;border-radius:17px;background:rgba(15,15,15,.96);box-shadow:0 18px 50px #000a;color:#fff;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}
.hfPwaInstall[hidden]{display:none}
.hfPwaInstall img{width:40px;height:40px;border-radius:11px}
.hfPwaInstall span{display:grid;flex:1}
.hfPwaInstall small{font-size:8px;letter-spacing:.15em;color:#8c8c8c}
.hfPwaInstall b{font-size:12px}
.hfPwaInstall strong{color:#d90100;font-size:22px}
/* A notification control must never float over an account or course modal. */
body:has(.streamModalShade:not([hidden])) .hfPwaControls{visibility:hidden;pointer-events:none}
.hfPwaDrawer{position:fixed;inset:0}
.hfPwaDrawer[hidden]{display:none}
.hfPwaScrim{position:absolute;inset:0;border:0!important;background:rgba(0,0,0,.76)!important;box-shadow:none!important;opacity:0;transition:opacity .22s}
.hfPwaDrawer>article{position:absolute;right:0;top:0;width:min(420px,100%);height:100%;padding:max(20px,env(safe-area-inset-top)) 18px max(20px,env(safe-area-inset-bottom));box-sizing:border-box;border-left:1px solid #292929;background:#0a0a0a;box-shadow:-30px 0 80px #000b;transform:translateX(100%);transition:transform .22s;overflow:auto}
.hfPwaDrawer.open .hfPwaScrim{opacity:1}
.hfPwaDrawer.open>article{transform:none}
.hfPwaDrawer header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.hfPwaDrawer header>div{display:flex;align-items:center;gap:11px}
.hfPwaDrawer header img{width:46px;height:46px;border-radius:13px}
.hfPwaDrawer header span{display:grid}
.hfPwaDrawer header small{font-size:8px;letter-spacing:.16em;color:#777}
.hfPwaDrawer header b{font-size:14px;color:#fff}
.hfPwaDrawer header>button{width:38px;height:38px;border:1px solid #333;border-radius:50%;background:#151515;color:#fff;font-size:24px}
.hfPwaPermission{width:100%;padding:14px 16px;margin-bottom:18px;border:1px solid #3a3a3a;border-radius:14px;background:#151515;color:#fff;display:flex;align-items:center;gap:10px;font:inherit;font-weight:700;text-align:left}
.hfPwaPermission i{color:#d90100}
.hfPwaPermission.active i{color:#33cb77}
.hfPwaPermission.blocked{opacity:.55}
.hfPwaList{display:grid;gap:8px}
.hfPwaList>button{width:100%;padding:15px 13px;border:1px solid #262626;border-radius:15px;background:#111;color:#fff;display:grid;grid-template-columns:7px 1fr auto;gap:11px;text-align:left;font:inherit}
.hfPwaList>button>i{width:7px;height:7px;margin-top:6px;border-radius:50%;background:#444}
.hfPwaList>button.unread>i{background:#d90100;box-shadow:0 0 16px #d90100}
.hfPwaList span{display:grid;gap:5px}
.hfPwaList b{font-size:13px}
.hfPwaList p{margin:0;color:#999;font-size:12px;line-height:1.45}
.hfPwaList small{color:#555;font-size:10px}
.hfPwaList strong{align-self:center;font-size:22px;color:#666}
.hfPwaEmpty{padding:50px 20px;border:1px dashed #292929;border-radius:18px;text-align:center;display:grid;gap:8px}
.hfPwaEmpty b{color:#fff}
.hfPwaEmpty span{color:#777;font-size:12px;line-height:1.5}
.hfPwaInstallHelp{position:fixed;left:50%;top:50%;width:min(390px,calc(100% - 32px));padding:30px;box-sizing:border-box;border:1px solid #333;border-radius:26px;background:#101010;box-shadow:0 30px 100px #000;color:#fff;text-align:center;transform:translate(-50%,-50%)}
.hfPwaInstallHelp[hidden]{display:none}
.hfPwaInstallHelp>button:first-child{position:absolute;right:14px;top:14px;width:34px;height:34px;border:1px solid #333;border-radius:50%;background:#181818;color:#fff;font-size:20px}
.hfPwaInstallHelp img{width:92px;height:92px;border-radius:22px}
.hfPwaInstallHelp small{display:block;margin-top:18px;color:#d90100;font-size:9px;font-weight:800;letter-spacing:.16em}
.hfPwaInstallHelp h2{margin:10px 0;font-size:24px}
.hfPwaInstallHelp p{margin:0;color:#999;line-height:1.6;font-size:13px}
.hfPwaInstallHelp>button:last-child{width:100%;padding:14px;margin-top:22px;border:0;border-radius:13px;background:#d90100;color:#fff;font-weight:800}
.hfPwaPushPrompt{position:fixed;z-index:99996;left:50%;bottom:max(24px,env(safe-area-inset-bottom));width:min(460px,calc(100% - 28px));padding:12px 12px 12px 16px;border:1px solid #3c3c42;border-radius:18px;background:rgba(24,24,28,.96);box-shadow:0 18px 60px #000b;backdrop-filter:blur(18px);transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;gap:14px;color:#fff}.hfPwaPushPrompt[hidden]{display:none}.hfPwaPushPrompt span{min-width:0;display:grid;gap:3px}.hfPwaPushPrompt b{font-size:12px}.hfPwaPushPrompt small{color:#929298;font-size:9px}.hfPwaPushPrompt button{flex:none;padding:10px 15px;border:0;border-radius:999px;background:#f2f2f2;color:#090909;font:850 9px "DM Sans",sans-serif}
@media(max-width:700px){.hfPwaPushPrompt{bottom:calc(88px + env(safe-area-inset-bottom));width:calc(100% - 24px)}}
.hfPwaTest{width:100%;margin:-8px 0 18px;padding:11px 14px;border:1px solid #292929;border-radius:12px;background:transparent;color:#aaa;font:inherit;font-size:11px;font-weight:700}
.hfPwaTest[hidden]{display:none}
@media(max-width:600px){.hfPwaActions{right:14px;bottom:calc(82px + env(safe-area-inset-bottom))}
.hfPwaInstall{min-width:174px}
.hfPwaDrawer>article{border-left:0}
.hfPwaBell{width:44px;height:44px;border-radius:14px}
.hfPwaBellDocked{width:44px;height:44px;margin-right:3px}
.hfPwaDrawer{display:flex;align-items:flex-end;padding:10px;box-sizing:border-box}
.hfPwaDrawer>article{position:relative;right:auto;top:auto;width:100%;height:auto;max-height:86svh;padding:20px 16px max(20px,env(safe-area-inset-bottom));border:1px solid #39393e;border-radius:24px;background:linear-gradient(160deg,#1b1b1f,#09090b 58%);transform:translateY(calc(100% + 24px));box-shadow:0 -30px 90px #000d}
.hfPwaDrawer.open>article{transform:none}
.hfPwaScrim{position:fixed}
}

@media(max-width:700px){
  .streamMobileAccountActions>[data-hf-notification-slot]>.hfPwaBellDocked{position:relative!important;inset:auto!important;order:0;width:44px;height:44px;margin:0!important;transform:none!important}
}

/* App-style notification center. */
.hfPwaDrawer{display:block;padding:0}
.hfPwaDrawer>article{left:50%;right:auto;top:50%;width:min(570px,calc(100% - 36px));height:min(760px,calc(100svh - 44px));max-height:none;padding:0 18px 20px;border:1px solid #4b4b52;border-radius:34px;background:radial-gradient(circle at 82% 0,rgba(217,1,0,.2),transparent 38%),linear-gradient(155deg,#202025,#111114 72%);box-shadow:0 34px 100px #000e,inset 0 1px #ffffff12;transform:translate(-50%,-46%) scale(.97);opacity:0;overflow:hidden;display:flex;flex-direction:column;transition:transform .22s ease,opacity .22s ease}
.hfPwaDrawer.open>article{transform:translate(-50%,-50%) scale(1);opacity:1}
.hfPwaDrawer>article>header{flex:0 0 108px;margin:0 -18px 0;padding:0 24px;border-bottom:1px solid #3e3e44;display:grid;grid-template-columns:54px 1fr 46px;align-items:center;gap:16px}
.hfPwaDrawer header>div{display:grid;gap:4px;text-align:center}.hfPwaDrawer header>div b{font-family:"Bebas Neue","Arial Narrow",sans-serif;font-size:28px;letter-spacing:.04em}.hfPwaDrawer header>div small{font-size:12px;color:#aaa;letter-spacing:0}
.hfPwaDrawerBell{width:50px;height:50px;border:1px solid #777b82;border-radius:16px;background:linear-gradient(145deg,#3b3b42,#202025);box-shadow:inset 0 1px #ffffff24;display:grid;place-items:center;color:#edf1f5}
.hfPwaDrawerBell svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hfPwaDrawer header>button{position:relative;width:46px;height:46px;padding:0;border-radius:15px;border-color:#6d5255;background:rgba(255,255,255,.06);color:transparent;font-size:0;line-height:0;display:grid;place-items:center}
.hfPwaDrawer header>button:before,.hfPwaDrawer header>button:after{content:"";position:absolute;left:50%;top:50%;width:20px;height:2px;border-radius:999px;background:#e5e0d8;transform:translate(-50%,-50%) rotate(45deg)}
.hfPwaDrawer header>button:after{transform:translate(-50%,-50%) rotate(-45deg)}
.hfPwaDrawerTools{flex:0 0 64px;display:flex;align-items:center;justify-content:space-between;gap:10px}.hfPwaPermission{width:auto;min-width:0;margin:0;padding:9px 12px;border-radius:12px;font-size:10px;color:#bbb}.hfPwaClear{padding:9px 13px;border:1px solid #814249;border-radius:12px;background:#3e2025;color:#ff9ba2;font:700 11px "DM Sans",sans-serif}.hfPwaClear[hidden]{display:none}
.hfPwaSectionLabel{display:block;padding:4px 10px 13px;color:#77727a;font-size:10px;font-weight:800;letter-spacing:.19em;text-align:center}
.hfPwaList{min-height:0;overflow-y:auto;display:grid;align-content:start;gap:11px;padding:0 1px 16px;scrollbar-width:thin;scrollbar-color:#555 transparent}
.hfPwaNotice{position:relative;min-height:112px;border:1px solid #3f3f46;border-radius:21px;background:linear-gradient(145deg,#27272d,#1d1d22);box-shadow:inset 0 1px #ffffff0c;overflow:hidden}.hfPwaNotice.unread{border-color:#624146;background:linear-gradient(145deg,#322329,#202025)}
.hfPwaNoticeSummary{position:relative;display:flex;align-items:center;min-height:112px}.hfPwaNoticeOpen{width:100%;min-height:112px;padding:15px 52px 15px 15px;border:0;background:transparent;color:#fff;display:grid;grid-template-columns:54px minmax(0,1fr) 12px;align-items:center;gap:13px;text-align:left;font:inherit}.hfPwaNoticeOpen>span{display:grid;gap:5px;min-width:0}.hfPwaNoticeOpen b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.hfPwaNoticeOpen p{margin:0;overflow:hidden;color:#bbb;font-size:12px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.hfPwaNoticeOpen small{color:#777;font-size:10px}.hfPwaNoticeOpen>strong{color:#777;font-size:18px}
.hfPwaNoticeIcon{width:52px;height:52px;border:1px solid #8e4f56;border-radius:16px;background:rgba(217,1,0,.12);display:grid;place-items:center;color:#ff6d77}.hfPwaNoticeIcon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hfPwaNoticeIcon-access,.hfPwaNoticeIcon-course{border-color:#337d83;background:#143d42;color:#42d7e8}
.hfPwaNoticeDelete,.hfPwaNoticeToggle,.hfPwaNoticeChildDelete{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #774148;border-radius:11px;background:#382127;color:#ff9aa1;font:400 20px/1 "DM Sans",sans-serif}.hfPwaNoticeSummary>.hfPwaNoticeDelete{position:absolute;z-index:2;right:13px;top:14px}.hfPwaNoticeDelete:disabled,.hfPwaNoticeChildDelete:disabled{opacity:.4}
.hfPwaNotice.is-grouped .hfPwaNoticeOpen{min-width:0;padding-right:8px;grid-template-columns:54px minmax(0,1fr)}.hfPwaNoticeActions{flex:0 0 auto;margin-right:13px;display:flex;align-items:center;gap:7px}.hfPwaNoticeActions .hfPwaNoticeDelete{position:static}.hfPwaNoticeCount{width:34px;height:34px;border:1px solid #ff525d;border-radius:999px;background:#a20e18;color:#fff;display:grid;place-items:center;font:800 10px/1 "DM Sans",sans-serif;font-style:normal}.hfPwaNoticeToggle{border-color:#54545b;background:#303036;color:#ddd;font-size:17px}
.hfPwaNoticeChildren[hidden]{display:none}.hfPwaNoticeChildren{padding:0 13px 14px;border-top:1px solid #3c3c42;background:#17171b}.hfPwaNoticeHint{margin:0;padding:14px 8px;color:#777;font-size:9px;font-weight:800;letter-spacing:.08em;text-align:center}.hfPwaNoticeChild{position:relative;margin-top:9px;border:1px solid #3f3f46;border-radius:18px;background:linear-gradient(145deg,#29292f,#222227);overflow:hidden}.hfPwaNoticeChild>button:first-child{width:100%;min-height:104px;padding:13px 46px 13px 13px;border:0;background:transparent;color:#fff;display:grid;grid-template-columns:48px minmax(0,1fr) 10px;align-items:center;gap:11px;font:inherit;text-align:left}.hfPwaNoticeChild>button:first-child>span{min-width:0;display:grid;gap:5px}.hfPwaNoticeChild b{font-size:12px;line-height:1.3}.hfPwaNoticeChild p{margin:0;color:#aaa;font-size:11px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.hfPwaNoticeChild small{color:#777;font-size:9px}.hfPwaNoticeChild>button:first-child>strong{color:#777}.hfPwaNoticeChildDelete{position:absolute;right:10px;top:10px;width:30px;height:30px;border-color:#505057;background:#303036;color:#888;font-size:18px}
.hfPwaEmpty{margin-top:15px;padding:52px 20px;border-style:solid;background:#18181c}.hfPwaEmpty>i{width:48px;height:48px;margin:auto;border:1px solid #315a48;border-radius:16px;background:#173428;color:#59d894;display:grid;place-items:center;font-style:normal;font-size:20px}
.hfPwaTest{flex:0 0 auto;margin:0 0 10px}

@media(max-width:700px){
  .hfPwaDrawer{display:block;padding:0}
  .hfPwaDrawer>article{position:absolute;left:50%;right:auto;top:50%;width:calc(100% - 22px);height:min(720px,calc(100svh - 32px));padding:0 14px 16px;border-radius:28px;transform:translate(-50%,-46%) scale(.97)}
  .hfPwaDrawer.open>article{transform:translate(-50%,-50%) scale(1)}
  .hfPwaDrawer>article>header{flex-basis:96px;margin:0 -14px;padding:0 17px;grid-template-columns:48px 1fr 42px;gap:9px}
  .hfPwaDrawerBell{width:46px;height:46px;border-radius:15px}.hfPwaDrawer header>div b{font-size:24px}.hfPwaDrawer header>div small{font-size:10px}.hfPwaDrawer header>button{width:42px;height:42px;border-radius:14px}
  .hfPwaDrawerTools{flex-basis:58px}.hfPwaPermission{max-width:58%;padding:8px 9px}.hfPwaPermission span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hfPwaClear{padding:8px 10px;font-size:10px}
  .hfPwaNotice{min-height:104px;border-radius:19px}.hfPwaNoticeSummary{min-height:104px}.hfPwaNoticeOpen{min-height:104px;padding:13px 48px 13px 12px;grid-template-columns:48px minmax(0,1fr) 9px;gap:10px}.hfPwaNoticeIcon{width:46px;height:46px;border-radius:14px}.hfPwaNoticeOpen b{font-size:12px}.hfPwaNoticeOpen p{font-size:10px}.hfPwaNoticeSummary>.hfPwaNoticeDelete{right:10px;top:11px;width:30px;height:30px}.hfPwaNotice.is-grouped .hfPwaNoticeOpen{padding-right:5px;grid-template-columns:46px minmax(0,1fr)}.hfPwaNoticeActions{margin-right:9px;gap:5px}.hfPwaNoticeCount,.hfPwaNoticeActions .hfPwaNoticeDelete,.hfPwaNoticeToggle{width:29px;height:29px;border-radius:10px}.hfPwaNoticeCount{font-size:8px}.hfPwaNoticeActions .hfPwaNoticeDelete{font-size:17px}.hfPwaNoticeToggle{font-size:14px}.hfPwaNoticeChildren{padding:0 9px 11px}.hfPwaNoticeChild>button:first-child{grid-template-columns:43px minmax(0,1fr) 8px;padding-left:10px;gap:9px}
  .hfStudioTopActions .hfStudioAvatar{display:grid!important;width:44px!important;height:44px!important;border-radius:14px!important;order:9}
}

.cinemaTop,.hf-course-detail-top{position:relative}
.cinemaTop>.hfPwaBellDocked,.hf-course-detail-top>.hfPwaBellDocked{position:absolute;right:88px;top:12px;margin:0}
@media(max-width:700px){
  .cinemaTop>.hfPwaBellDocked{right:76px;top:7px}
  .hf-course-detail-top>.hfPwaBellDocked{right:76px;top:12px}
}
/* Hostinger's Kodee assistant belongs to the public site, never to Education. */
#vue-app:has(.kodee-fab),
.kodee-fab,
.kodee-chatbot-widget,
[class*="kodee-"]{display:none!important}
.streamMobileNav.isAuthenticated>[data-account-toggle],
.streamMobileNav.isAuthenticated>a[href*="mis-cursos"]+a[href*="mis-cursos"]{display:none!important}
@media(max-width:700px){
  .streamMobileNav.isAuthenticated{grid-template-columns:repeat(3,1fr)!important}
  .streamMobileNav.isAuthenticated:has(>a[href="#guardados"]){grid-template-columns:repeat(4,1fr)!important}
}

/* Unified responsive navigation: Hermarfit red and Instagram-style scroll compaction. */
@media(max-width:700px){
  .streamTopbar,.streamMobileNav{transition:height .3s cubic-bezier(.22,1,.36,1),left .3s cubic-bezier(.22,1,.36,1),right .3s cubic-bezier(.22,1,.36,1),bottom .3s cubic-bezier(.22,1,.36,1),padding .3s cubic-bezier(.22,1,.36,1),border-radius .3s cubic-bezier(.22,1,.36,1),background .3s ease,transform .3s cubic-bezier(.22,1,.36,1)!important}
  .streamMobileNav{background:rgba(12,12,14,.78)!important;-webkit-backdrop-filter:blur(38px) saturate(190%)!important;backdrop-filter:blur(38px) saturate(190%)!important}
  .streamMobileNav .active{border-radius:13px!important;background:#d90100!important;color:#fff!important;box-shadow:0 9px 24px rgba(217,1,0,.3),inset 0 1px rgba(255,255,255,.16)!important}
  html.hf-nav-condensed .streamTopbar{height:52px!important;background:rgba(5,5,6,.91)!important}
  html.hf-nav-condensed .streamTopbar .streamWordmark img{width:64px!important}
  html.hf-nav-condensed .streamMobileNav{left:clamp(28px,8vw,58px)!important;right:clamp(28px,8vw,58px)!important;bottom:max(7px,env(safe-area-inset-bottom))!important;height:48px!important;min-height:48px!important;padding:4px!important;border-radius:17px!important;background:rgba(10,10,12,.8)!important;-webkit-backdrop-filter:blur(42px) saturate(195%)!important;backdrop-filter:blur(42px) saturate(195%)!important}
  html.hf-nav-condensed .streamMobileNav a,html.hf-nav-condensed .streamMobileNav button{min-height:38px!important;gap:0!important;border-radius:12px!important}
  html.hf-nav-condensed .streamMobileNav a:not(.active) span,html.hf-nav-condensed .streamMobileNav button:not(.active) span,html.hf-nav-condensed .streamMobileNav b{display:none!important}
  html.hf-nav-condensed .streamMobileNav .active span{display:block!important;font-size:8px!important}
  html.hf-nav-condensed .streamMobileNav i{font-size:17px!important}
}
@media(prefers-reduced-motion:reduce){.streamTopbar,.streamMobileNav,.streamTopbar *,.streamMobileNav *{transition:none!important}}

/* The public Education catalog scrolls with the document. Admin keeps its own fixed viewport. */
html.hf-permanent-dark:has(body.hf-education-standalone:not(.hf-education-admin-page)){
  width:100%!important;
  min-height:100%!important;
  height:auto!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:auto!important;
}
body.hf-education-standalone:not(.hf-education-admin-page){
  width:100%!important;
  min-height:100vh!important;
  height:auto!important;
  overflow:visible!important;
  overscroll-behavior-y:auto!important;
  touch-action:pan-y!important;
}

/* Mobile overlays own the screen; navigation must never cover their actions. */
.hfPwaContentUpdate{position:fixed;z-index:2147483000;right:max(18px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));width:min(420px,calc(100vw - 32px));box-sizing:border-box;display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #744344;border-radius:17px;background:#1b1719f5;color:#fff;box-shadow:0 16px 50px #000a;backdrop-filter:blur(16px);font-family:"DM Sans",sans-serif}
.hfPwaContentUpdate span{min-width:0;flex:1;display:grid;gap:3px}.hfPwaContentUpdate b{font-size:13px}.hfPwaContentUpdate small{font-size:11px;line-height:1.35;color:#c7bfc0}.hfPwaContentUpdate button{flex:none;min-height:36px;border:0;border-radius:9px;background:linear-gradient(135deg,#d90100,#9f0504);padding:0 12px;color:#fff;font:700 11px "DM Sans",sans-serif;cursor:pointer}.hfPwaContentUpdate [data-hf-content-dismiss]{width:30px;min-height:30px;padding:0;background:transparent;color:#c7bfc0;font-size:20px}
@media(max-width:900px){.hfPwaContentUpdate{left:16px;right:16px;bottom:calc(86px + env(safe-area-inset-bottom));width:auto}}
@media (max-width:900px){
  body:has(:is(.hfPublishModal,.hfAccessModal,.hfMediaModal,.hfStudentDetailBackdrop,.hfLessonDrawer,.hfAdminSidePanel,.streamModalShade,.eduModalBackdrop,.studentChatShade,.studentNotificationShade)) :is(.hfStudioMobileNav,.streamMobileNav){display:none!important}
  :is(.hfPublishModal,.hfAccessModal,.hfMediaModal,.hfStudentDetailBackdrop,.streamModalShade,.eduModalBackdrop){
    z-index:2147483100!important;position:fixed!important;inset:0!important;
    height:100dvh!important;min-height:0!important;box-sizing:border-box!important;
    padding:calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom))!important;
    align-items:center!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  }
  :is(.hfPublishModal,.hfAccessModal,.hfMediaModal)>section,.hfStudentDetailModal,.streamModal,.eduLoginModal{
    box-sizing:border-box!important;min-height:0!important;height:auto!important;
    max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
    overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  }
  .hfLessonDrawer{z-index:2147483101!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;padding-top:env(safe-area-inset-top);box-sizing:border-box!important}
  .hfLessonDrawer>header,.hfLessonDrawer>footer{flex-shrink:0!important}
  .hfLessonDrawerBody{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}
  .hfDrawerShade{z-index:2147483100!important}
  .hfAdminSidePanel{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}
  .hfNotificationList{min-height:0!important;-webkit-overflow-scrolling:touch!important}
}

/* Keep fallback controls hidden even when their component sets display:grid. */
.hfPwaBell[hidden]{display:none!important}
@media(max-width:700px){
  .streamMobileAccountActions>[data-hf-notification-slot]{display:flex!important;align-items:center;flex:0 0 auto}
}

/* Minimal notification center, matching the approved Apphermarfit reference. */
.hfPwaDrawer>article{width:min(430px,calc(100% - 24px));height:min(680px,calc(100dvh - 32px));padding:0 13px 12px;border:1px solid #3b3e44;border-radius:20px;background:#202124;color:#f2f2f4;box-shadow:none;backdrop-filter:none}
.hfPwaDrawer>article>header{flex-basis:82px;margin:0 -13px;padding:0 22px;grid-template-columns:44px minmax(0,1fr) 32px;gap:12px;border-bottom:1px solid #3b3e44;background:transparent}
.hfPwaDrawer header>div{text-align:left;gap:5px}
.hfPwaDrawer header>div b{font-family:"DM Sans",sans-serif;font-size:18px;font-weight:650;letter-spacing:0;color:#f2f2f4}
.hfPwaDrawer header>div small{font-size:11px;color:#a6a9b1;letter-spacing:0}
.hfPwaDrawerBell{width:40px;height:40px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#a6a9b1}
.hfPwaDrawerBell svg{width:22px;height:22px}
.hfPwaDrawer header>button{width:32px;height:32px;border:0;border-radius:6px;background:transparent;box-shadow:none}
.hfPwaDrawer header>button:before,.hfPwaDrawer header>button:after{width:16px;background:#a6a9b1}
.hfPwaDrawerTools{flex:0 0 49px;justify-content:flex-end;align-items:center}
.hfPwaClear{padding:7px 10px;border:1px solid #3b3e44;border-radius:6px;background:#282a2e;color:#f2f2f4;font:500 10px "DM Sans",sans-serif;cursor:pointer}
.hfPwaSectionLabel{padding:10px 0 16px;color:#a6a9b1;font-size:9px;font-weight:700;letter-spacing:.12em}
.hfPwaList{gap:9px;padding:0 0 4px;flex:1;scrollbar-color:#3b3e44 transparent}
.hfPwaNotice,.hfPwaNotice.unread{min-height:108px;border:1px solid #3b3e44;border-radius:12px;background:#282a2e;box-shadow:none}
.hfPwaNotice.unread{border-left:2px solid #d90100}
.hfPwaNoticeSummary{min-height:108px;align-items:flex-start}
.hfPwaNoticeOpen{min-height:108px;padding:15px 22px 15px 14px;grid-template-columns:44px minmax(0,1fr) 10px;gap:13px;color:#f2f2f4}
.hfPwaNoticeOpen>span{gap:5px}
.hfPwaNoticeOpen b{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;white-space:normal;line-height:1.3;overflow:visible}
.hfPwaNoticeOpen p{font-size:12px;line-height:1.45;color:#a6a9b1}
.hfPwaNoticeOpen small{margin-top:2px;font-size:10px;font-weight:600;color:#a6a9b1}
.hfPwaNoticeOpen>strong{align-self:start;padding-top:4px;font-size:18px;color:#a6a9b1}
.hfPwaNoticeIcon,.hfPwaNoticeIcon-access,.hfPwaNoticeIcon-course{width:40px;height:40px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#a6a9b1}
.hfPwaNoticeIcon svg{width:22px;height:22px}
.hfPwaNoticeIcon-new_question,.hfPwaNoticeIcon-question_answered{color:#31c8cf}
.hfPwaNoticeIcon-access,.hfPwaNoticeIcon-course,.hfPwaNoticeIcon-new_access{color:#24c995}
.hfPwaNoticeDelete,.hfPwaNoticeToggle,.hfPwaNoticeChildDelete{width:28px;height:28px;border:0;border-radius:6px;background:transparent;color:#a6a9b1;font-size:20px;cursor:pointer}
.hfPwaNoticeSummary>.hfPwaNoticeDelete{top:auto;bottom:14px;right:12px;width:28px;height:28px}
.hfPwaNotice.is-grouped .hfPwaNoticeOpen{padding-right:0;grid-template-columns:44px minmax(0,1fr)}
.hfPwaNoticeActions{margin:14px 12px 0 5px;gap:4px;display:flex;flex-direction:row}
.hfPwaNoticeCount{display:inline-grid;flex:0 0 auto;min-width:22px;width:auto;height:24px;padding:0 5px;box-sizing:border-box;border:0;border-radius:6px;background:#d90100;color:#fff;font:500 11px "DM Sans",sans-serif}
.hfPwaNoticeActions .hfPwaNoticeDelete,.hfPwaNoticeToggle{width:28px;height:28px;border-radius:6px}
.hfPwaNoticeToggle{font-size:14px}
.hfPwaNoticeChildren{background:transparent;border-top:1px solid #3b3e44}
.hfPwaNoticeChild{background:#282a2e;border:1px solid #3b3e44;border-radius:12px}
.hfPwaNoticeChild p,.hfPwaNoticeChild small,.hfPwaNoticeHint{color:#a6a9b1}
.hfPwaDrawer>article>.hfPwaPermission{flex:0 0 auto;align-self:flex-start;max-width:100%;margin:12px 0 0;padding:6px 8px;border:1px solid #3b3e44;border-radius:6px;background:transparent;color:#a6a9b1;font-size:10px;cursor:pointer}
.hfPwaEmpty{background:#282a2e;border:1px solid #3b3e44;border-radius:12px}
.hfPwaEmpty>i{background:transparent;border:0}
.hfPwaDrawer button:focus-visible{outline:2px solid #a6a9b1;outline-offset:2px}
.hfPwaDrawer :is(.hfPwaNoticeDelete,.hfPwaNoticeToggle,.hfPwaNoticeChildDelete):hover{background:#35373c}
@media(max-width:480px){
 .hfPwaDrawer>article>header{padding:0 14px;grid-template-columns:30px minmax(0,1fr) 28px;gap:10px}
 .hfPwaDrawer header>div b{font-size:17px}
 .hfPwaDrawerBell{width:30px}
 .hfPwaNoticeOpen{padding-left:10px;gap:9px;grid-template-columns:30px minmax(0,1fr) 10px}
 .hfPwaNotice.is-grouped .hfPwaNoticeOpen{grid-template-columns:30px minmax(0,1fr)}
 .hfPwaNoticeIcon{width:30px}
 .hfPwaNoticeOpen b{font-size:12px;gap:6px}
 .hfPwaNoticeOpen p{font-size:11px}
 .hfPwaNoticeActions{margin-right:6px;margin-left:3px;gap:0}
}
.hfPwaList .hfPwaNoticeActions{display:flex;flex-direction:row;align-items:center;gap:4px}
@media(max-width:480px){.hfPwaList .hfPwaNoticeActions{gap:0}}
@media(prefers-reduced-motion:reduce){.hfPwaDrawer>article,.hfPwaScrim{transition:none}}
