/* Header v4 — uses the existing SiteStudio brand image and local font. */
.public-approved .bh4-header{direction:rtl;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 18px;background:#fff;border-bottom:2px solid #9fd3ff;position:relative;z-index:20;isolation:isolate}
.public-approved .bh4-brand{display:flex;align-items:center;gap:9px;min-width:0;text-decoration:none;color:#0b1947}
.public-approved .bh4-brand img{display:block;width:64px;height:64px;flex:none;object-fit:contain;border:0;border-radius:0;background:transparent;padding:0}
.public-approved .bh4-brand-copy{min-width:0;display:block}
.public-approved .bh4-brand b{display:block;font-size:16px;font-weight:900;line-height:1.8;overflow-wrap:anywhere}
.public-approved .bh4-brand small{display:block;font-size:11px;line-height:1.8;color:#b17d0a;max-width:200px;overflow-wrap:anywhere}
.public-approved .bh4-tools{display:flex;align-items:center;gap:12px;flex:none}
.public-approved .bh4-tools>.bh4-login,.bh4-account>summary{display:flex;align-items:center;justify-content:center;gap:6px;width:auto;height:auto;min-height:44px;padding:8px 12px;border:1px solid #c7e4ff;border-radius:18px;background:#eaf5ff;color:#0b1947;text-decoration:none;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer;list-style:none}
.bh4-account>summary::-webkit-details-marker{display:none}.bh4-account>summary .ui-icon:last-child{width:14px;height:14px}
.public-approved .bh4-tools>.bh4-toggle{display:grid;place-items:center;width:40px;height:44px;min-width:40px;padding:6px;border:0;background:transparent;border-radius:10px;color:#0b1947}.bh4-toggle .ui-icon{width:28px;height:28px}
.bh4-account-panel{position:absolute;inset-inline-end:16px;top:calc(100% - 6px);width:min(310px,calc(100% - 32px));padding:12px 16px;background:#fff;border:1px solid #dbe6f0;border-radius:18px;box-shadow:0 14px 35px #0a1f4424;color:#0b1947}
.bh4-account-panel .bh4-greeting{display:flex;gap:10px;align-items:center;overflow-wrap:anywhere;padding:10px 0 14px;margin:0;border-bottom:1px solid #dfebf7;font-size:13px;font-weight:800}
.bh4-account-panel>a,.bh4-account-panel form>button{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px 6px;border:0;border-radius:8px;background:#fff;text-decoration:none;text-align:right;color:#0b1947;font-size:13px}.bh4-account-panel a span{flex:1}.bh4-account-panel a>.ui-icon:last-child{width:16px;color:#7186a1}.bh4-account-panel form{margin:6px 0 0;border-top:1px solid #dfebf7;padding-top:6px}.bh4-account-panel form>button{color:#99443b}
.public-approved .bh4-drawer{direction:rtl;position:fixed;inset:0 0 0 auto;margin:0;box-sizing:border-box;width:min(88vw,410px);max-width:100vw;height:100dvh;max-height:100dvh;padding:24px 18px max(20px,env(safe-area-inset-bottom));border:0;border-radius:24px 0 0 24px;background:#fff;color:#0b1947;box-shadow:-12px 0 50px #07183333;overflow-y:auto;overscroll-behavior:contain}
.public-approved .bh4-drawer:not([open]){display:none!important}.public-approved .bh4-drawer[open]{display:flex;flex-direction:column;gap:20px;animation:bh4-enter .22s ease-out}.bh4-drawer::backdrop{background:#07162999;backdrop-filter:blur(2px)}
.bh4-drawer .bh4-drawer-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.bh4-drawer .bh4-brand{padding:0;min-height:0;border-radius:0}.bh4-drawer .bh4-brand img{width:56px;height:56px}.bh4-drawer .bh4-brand b{font-size:16px}.bh4-drawer .bh4-close{display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:#e5f2ff;color:#0b1947;font-size:32px;line-height:1;text-align:center}
.bh4-drawer nav{display:grid;gap:5px}.public-approved .bh4-drawer nav>a,.public-approved .bh4-drawer nav>button{display:flex;align-items:center;gap:12px;min-height:55px;width:100%;padding:12px;border:0;border-radius:12px;background:transparent;color:#0b1947;text-align:right;text-decoration:none;font-size:14px;font-weight:750;line-height:1.9}.bh4-drawer nav span{flex:1}.bh4-drawer nav .ui-icon{width:26px;height:26px}.bh4-drawer nav .ui-icon:last-child{width:17px;height:17px;color:#7186a1}.public-approved .bh4-drawer nav [aria-current=page]{background:#e2f1ff}.bh4-drawer nav hr{width:calc(100% - 16px);border:0;border-top:1px solid #cfe6ff;margin:12px auto}
.public-approved .bh4-drawer .bh4-drawer-account{display:flex;align-items:center;justify-content:center;gap:10px;flex:none;min-height:54px;margin-top:auto;padding:12px;background:linear-gradient(115deg,#62b8ff,#4ca5f7);color:#071d43;border-radius:13px;text-decoration:none;font-size:17px;font-weight:900}
.bh4-account-panel a:hover,.bh4-account-panel button:hover,.public-approved .bh4-drawer nav a:hover,.public-approved .bh4-drawer nav button:hover{background:#eff7ff}.bh4-scroll-lock{overflow:hidden!important}
@keyframes bh4-enter{from{opacity:0;transform:translateX(32px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:380px){.public-approved .bh4-header{padding:15px 10px;gap:6px}.public-approved .bh4-header .bh4-brand{gap:6px}.public-approved .bh4-header .bh4-brand img{width:48px;height:48px}.public-approved .bh4-header .bh4-brand b{font-size:12px}.public-approved .bh4-header .bh4-brand small{font-size:9px}.public-approved .bh4-tools{gap:4px}.public-approved .bh4-tools>.bh4-login,.bh4-account>summary{padding:8px;font-size:11px;gap:4px}.bh4-account>summary .ui-icon:last-child{display:none}.public-approved .bh4-tools>.bh4-toggle{width:36px;min-width:36px}.bh4-drawer .bh4-brand b{font-size:13px}.public-approved .bh4-drawer{padding-inline:12px}.public-approved .bh4-drawer nav>a,.public-approved .bh4-drawer nav>button{font-size:12px;gap:8px}}
@media(prefers-reduced-motion:reduce){.public-approved .bh4-drawer[open]{animation:none}}
