/* BN SERSY V80.4 — Premium Navy & Gold portal layout */
:root{--bn-gold:#d9ad4d;--bn-gold2:#f3cf78;--bn-ink:#f6f8fc;--bn-muted:#c4d1e1;--bn-line:#49627d;--bn-deep:#061426;--bn-panel:#102945;}
html,body{min-height:100%;background:radial-gradient(ellipse at 18% 0%,#183b5d 0,transparent 36%),linear-gradient(135deg,#061426,#0b2038 58%,#061426)!important;color:#f4f7fb!important}
body{font-family:'Segoe UI',Tahoma,'Noto Kufi Arabic',Arial,sans-serif}
.wrap{max-width:none!important;width:calc(100% - 204px)!important;margin:0 190px 0 0!important;padding:8px 14px 44px!important}
/* Utility strip */
.topbar{position:sticky!important;top:0!important;z-index:120!important;width:100%!important;max-width:none!important;min-height:52px;display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:nowrap!important;margin:0 0 9px!important;padding:5px 10px!important;border:0!important;border-bottom:1px solid rgba(218,177,86,.6)!important;border-radius:0!important;background:linear-gradient(100deg,#07182c,#102a47 65%,#07182c)!important;box-shadow:0 5px 22px #0005!important;color:#fff!important}
.topbar .home-btn,#qr-bar,#qt-btn{display:none!important}
.bn-tool-btn,.bn-date-btn{height:38px!important;min-width:40px!important;border:1px solid rgba(226,190,106,.5)!important;border-radius:50%!important;background:linear-gradient(145deg,#1b3c5e,#07192d)!important;color:#fff!important;font-size:18px!important;box-shadow:0 3px 12px #0004!important}
#bn-lang-btn{border-radius:999px!important;min-width:100px!important;font-size:13px!important}
#bn-date-btn{margin-inline-start:auto!important;border-radius:10px!important;padding:0 12px!important;font-size:13px!important}
/* Right navigation rail */
.bn-sidebar{position:fixed!important;z-index:130!important;right:8px!important;left:auto!important;top:8px!important;bottom:8px!important;width:178px!important;padding:16px 10px!important;gap:7px!important;border:1.5px solid var(--bn-gold)!important;border-radius:25px!important;background:linear-gradient(165deg,#0b2039 0%,#061426 74%,#102b49)!important;box-shadow:0 16px 45px #0008!important;color:#fff!important}
.bn-side-brand{padding:8px 5px 18px!important;margin:0 0 5px!important;text-align:center!important;border-bottom:1px solid #d6aa4d55!important}
.bn-side-brand .his-script{display:block!important;width:142px!important;height:56px!important;margin:0 auto 4px!important;background-position:center!important;background-repeat:no-repeat!important;background-size:contain!important}
.bn-side-brand b{display:block!important;font-size:16px!important;letter-spacing:0!important;color:#fff!important}
.bn-side-brand span:not(.his-script){display:block!important;margin-top:1px!important;color:#e4c477!important;font-size:12px!important;font-weight:800!important}
.bn-side-link{min-height:42px!important;padding:8px 8px!important;gap:8px!important;border-radius:11px!important;color:#f5f7fb!important;font-size:12px!important;text-align:right!important}
.bn-side-link i{color:#f2c75f!important;font-size:19px!important}
.bn-side-link.active{background:linear-gradient(120deg,#f4d17b,#d6a13b)!important;color:#0c2038!important;box-shadow:0 6px 18px #d7a74140!important}
.bn-side-link.active i{color:#0c2038!important}
.bn-side-support{padding:11px 9px!important;border:1px solid var(--bn-gold)!important;border-radius:15px!important;background:linear-gradient(145deg,#122f4c,#08192c)!important;color:#fff!important;text-align:center!important}
.bn-side-support b{font-size:13px!important}.bn-side-support small{color:#e7c477!important}
/* Header: personal brand left, navigation center, firm mark right */
.pay-header{position:relative!important;top:auto!important;z-index:110!important;display:grid!important;grid-template-columns:205px minmax(0,1fr) 170px!important;grid-template-rows:auto!important;grid-template-areas:'personal nav firm'!important;align-items:center!important;gap:8px!important;min-height:120px!important;margin:0 0 9px!important;padding:9px 14px!important;border:1.5px solid var(--bn-gold)!important;border-bottom:3px solid var(--bn-gold)!important;border-radius:20px!important;background:linear-gradient(110deg,#06172a,#102c49 60%,#07182b)!important;box-shadow:0 12px 32px #0006!important;direction:ltr!important;overflow:visible!important}
.pay-header .self-side{grid-area:personal!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;min-width:0!important;padding:0!important;direction:rtl!important;text-align:center!important}
.pay-header .self-side .his-script{width:170px!important;height:60px!important;background-size:contain!important}
.pay-header .self-side .his-name{font-size:17px!important;line-height:1.3!important;color:#fff!important;font-weight:900!important}
.pay-header .self-side .his-phone{font-size:14px!important;color:#f4ca68!important;border:1px solid #c99b43!important;border-radius:999px!important;padding:1px 12px!important}
.pay-header .hdr-nav{grid-area:nav!important;display:flex!important;align-items:stretch!important;justify-content:center!important;gap:0!important;width:100%!important;min-width:0!important;margin:0!important;padding:0 7px!important;border-inline:1px solid #d9ad4d66!important;direction:rtl!important;overflow:visible!important}
.pay-header .hdr-nav button{flex:1 1 0!important;min-width:0!important;min-height:70px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:7px 5px!important;border:0!important;border-inline-start:1px solid #d9ad4d4a!important;border-radius:0!important;background:transparent!important;color:#fff!important;font-size:13px!important;font-weight:900!important;white-space:nowrap!important;transition:.18s!important}
.pay-header .hdr-nav button:first-child{border-inline-start:0!important}
.pay-header .hdr-nav button:hover,.pay-header .hdr-nav button:focus-visible{background:linear-gradient(145deg,#f1d17e,#c99535)!important;color:#0b2038!important;border-radius:12px!important;outline:none!important;box-shadow:0 0 18px #d7aa4e66!important}
.pay-header .hdr-nav button .hn-ic{width:28px!important;height:28px!important;color:#f2c65e!important}
.pay-header .hdr-nav button:hover .hn-ic{color:#0b2038!important}
.pay-header .firm-side{grid-area:firm!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;padding:0 4px!important;direction:rtl!important;text-align:center!important}
.pay-header .firm-logo{width:auto!important;height:58px!important;max-width:135px!important;object-fit:contain!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}
.pay-header .firm-txt{display:block!important;text-align:center!important}
.pay-header .firm-name{font-size:12px!important;line-height:1.4!important;color:#fff!important;font-weight:900!important}
.pay-header .firm-partners{font-size:10px!important;color:#e4c477!important}
/* Remove intermediate brand ribbon; it is already represented in the hero */
.brand-ribbon{display:none!important}
/* Hero artwork + headline */
.hero-bn{position:relative!important;display:grid!important;grid-template-columns:1.08fr .92fr!important;grid-template-rows:1fr!important;min-height:300px!important;margin:0 0 9px!important;padding:0!important;overflow:hidden!important;text-align:right!important;border:1px solid #d3a84e!important;border-radius:19px!important;background:linear-gradient(115deg,#06172a,#102d4a)!important;box-shadow:0 16px 38px #0007!important}
.hero-pic{grid-column:2!important;grid-row:1!important;position:relative!important;min-height:300px!important;opacity:1!important;background-image:url('bn-sersy-hero-visual.webp')!important;background-size:cover!important;background-position:center center!important}
.hero-pic:after{content:''!important;position:absolute!important;inset:0!important;background:linear-gradient(90deg,rgba(6,20,36,.02),rgba(6,20,36,.12) 70%,rgba(6,20,36,.35))!important}
.hero-curve{grid-column:2!important;grid-row:1!important;right:55%!important;z-index:3!important}
.hero-txt{grid-column:1!important;grid-row:1!important;z-index:4!important;align-self:center!important;padding:28px 26px 58px!important;text-align:right!important}
.bn-eyebrow{font-size:10px!important;letter-spacing:2px!important;color:#efc66d!important;font-weight:900!important}
.hero-bn h1{font-size:clamp(34px,4vw,54px)!important;color:#fff!important;letter-spacing:.04em!important;text-align:right!important;margin:4px 0!important;text-shadow:0 4px 22px #0007!important}
.hero-sub{justify-content:flex-start!important;color:#f0c66f!important;font-size:clamp(17px,2vw,22px)!important}
.hero-bn p{font-size:14px!important;line-height:1.95!important;color:#e0e8f2!important;max-width:620px!important;margin:8px 0!important}
.hero-tiles,.hero-acts{display:none!important}
/* Global search floats along the bottom of the hero */
.srch-wrap{position:absolute!important;z-index:8!important;left:17%!important;right:17%!important;bottom:11px!important;width:auto!important;margin:0!important;display:flex!important;align-items:center!important;min-height:46px!important;padding:0 16px!important;border:2px solid #d7a83e!important;border-radius:999px!important;background:#f8fafc!important;color:#122b46!important;box-shadow:0 5px 18px #0006!important}
.srch-wrap input{background:transparent!important;color:#122b46!important;border:0!important;box-shadow:none!important;font-weight:800!important}
#gsr{z-index:20!important}
/* Quick links strip */
.office-div{display:none!important}
.links-card{margin:0 0 9px!important;padding:8px 12px!important;border:1px solid #60758d!important;border-radius:17px!important;background:linear-gradient(100deg,#0b2038,#183957 55%,#0a1c31)!important;box-shadow:0 8px 22px #0005!important}
.links-card .sec-title{display:none!important}
.links-card .linkdir{margin:0!important}
.links-card .ld-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
.links-card .ld-row{min-height:56px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:7px!important;border:0!important;border-inline-start:1px solid #d8ad4d55!important;border-radius:0!important;background:transparent!important;color:#fff!important}
.links-card .ld-row:first-child{border-inline-start:0!important}
.links-card .ld-ic{color:#f1c65e!important}.links-card .ld-t{color:#fff!important;font-weight:900!important;font-size:12px!important}.links-card .ld-caret{color:#eac36c!important}
.links-card .ld-panels{position:relative!important;z-index:50!important}
.links-card .ld-sub{background:#0b2038!important;border:1px solid #d3a84e!important;border-radius:12px!important;box-shadow:0 12px 30px #0008!important;color:#fff!important}
.links-card .ld-subrow{color:#fff!important}
/* Professional calculator dashboard */
.bn-home-dashboard{margin:0 0 18px!important;padding:14px 15px 18px!important;border:1px solid #526b86!important;border-radius:19px!important;background:linear-gradient(145deg,#0a2038,#102d4c 62%,#07182b)!important;box-shadow:0 14px 35px #0006!important;color:#fff!important}
.bn-dashboard-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:10px!important}
.bn-kicker{color:#edc66d!important}.bn-dashboard-head h2{color:#fff!important;font-size:22px!important}.bn-dashboard-head p{color:#c8d5e3!important}
.bn-view-all{border:1px solid #e0b34e!important;color:#f7d98b!important;border-radius:999px!important;background:transparent!important}
.bn-calc-tools{display:flex!important;justify-content:flex-end!important;gap:10px!important;margin:6px 0 12px!important}
.bn-calc-search{display:none!important}
.bn-calc-filters{display:flex!important;gap:6px!important;flex-wrap:wrap!important}
.bn-calc-filters button{border:1px solid #b9934b88!important;border-radius:999px!important;padding:6px 12px!important;background:#ffffff0b!important;color:#e8edf5!important;font-size:11px!important}
.bn-calc-filters button.active,.bn-calc-filters button:hover{background:linear-gradient(135deg,#f4d17b,#d4a13b)!important;color:#10233c!important}
.bn-calc-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
.bn-calc-card{min-height:145px!important;padding:13px 10px 11px!important;border:1px solid #66809d!important;border-radius:17px!important;background:linear-gradient(145deg,#203d5c,#0b213b)!important;color:#fff!important;box-shadow:inset 0 1px #ffffff14,0 7px 16px #0004!important}
.bn-calc-card:hover{transform:translateY(-3px)!important;border-color:#efc96b!important;box-shadow:0 0 18px #d9ab4540!important}
.bn-calc-icon{font-size:34px!important;color:#f3c85f!important}.bn-calc-card b{font-size:13px!important;color:#fff!important}.bn-calc-card small{font-size:10px!important;color:#d2deeb!important}.bn-calc-card em{border:1px solid #e3b64f!important;border-radius:999px!important;padding:5px 16px!important;color:#f6d77e!important;background:#071a2d!important;font-size:10px!important}
.bn-fav{color:#f5c65b!important}.bn-grid-empty{color:#f3d78c!important}
/* Consistent dark navy / gold treatment for the long-form workspaces */
section.card,.tic-wrap,#bn-suite,.taxlib-layout,.taxlib-main,.taxlib-sidebar{background:linear-gradient(145deg,#102945,#0b2038)!important;border-color:#526b86!important;color:#edf3fa!important}
.sec-title,.field label{color:#f2d58f!important}.sec-sub,.hint,p,li{color:inherit}
input,select,textarea{background:#091a2e!important;border-color:#49627d!important;color:#f4f7fb!important}
button{font-family:inherit}
/* Contact us remains visible, lifted above the page edge */
.bn-connect-widget{left:14px!important;bottom:18px!important;z-index:160!important}
/* English mode: mirror the entire composition */
html[lang="en"] .wrap{margin:0 0 0 190px!important}
html[lang="en"] .bn-sidebar{right:auto!important;left:8px!important}
html[lang="en"] .pay-header{direction:rtl!important;grid-template-areas:'firm nav personal'!important}
html[lang="en"] .pay-header .self-side,html[lang="en"] .pay-header .firm-side{direction:ltr!important}
html[lang="en"] .hero-bn,html[lang="en"] .hero-txt{direction:ltr!important;text-align:left!important}
html[lang="en"] .hero-bn h1,html[lang="en"] .hero-bn p{text-align:left!important}
html[lang="en"] .hero-sub{justify-content:flex-start!important}
html[lang="en"] .links-card .ld-grid{direction:ltr!important}
html[lang="en"] .bn-dashboard-head,html[lang="en"] .bn-calc-tools{direction:ltr!important}
html[lang="en"] .bn-calc-card{direction:ltr!important}
html[lang="en"] .srch-wrap{direction:ltr!important}
/* Light mode is genuinely light; brand header/hero keep the signature navy */
html[data-theme="light"] body{background:linear-gradient(135deg,#e9eef5,#f7f9fc)!important;color:#142943!important}
html[data-theme="light"] .bn-home-dashboard,html[data-theme="light"] .links-card{background:linear-gradient(145deg,#102945,#0b2038)!important;color:#fff!important}
html[data-theme="light"] section.card,html[data-theme="light"] #bn-suite,html[data-theme="light"] .taxlib-layout,html[data-theme="light"] .taxlib-main{background:#fff!important;color:#142943!important}
html[data-theme="light"] section.card :is(h1,h2,h3,h4,b,strong,label){color:#173653!important}
html[data-theme="light"] section.card :is(p,small,li,.hint,.sec-sub){color:#52677f!important}
html[data-theme="light"] section.card input,html[data-theme="light"] section.card select,html[data-theme="light"] section.card textarea{background:#fff!important;color:#142943!important;border-color:#cbd7e4!important}
html[data-theme="light"] section.card table th{background:#eaf0f6!important;color:#173653!important}
html[data-theme="light"] section.card table td{color:#243b55!important;border-color:#dce4ed!important}
@media(max-width:1100px){.wrap{width:100%!important;margin:0 auto!important;padding:8px 12px 42px!important}.bn-sidebar{display:none!important}.bn-sidebar.open{display:flex!important;right:10px!important;left:auto!important;top:10px!important;bottom:10px!important;width:min(290px,calc(100vw - 20px))!important}.pay-header{grid-template-columns:155px minmax(0,1fr) 135px!important}.pay-header .self-side .his-script{width:135px!important;height:50px!important}.pay-header .hdr-nav button{font-size:11px!important}.pay-header .firm-logo{max-width:110px!important;height:48px!important}}
@media(max-width:760px){.wrap{padding:6px 8px 36px!important}.topbar{gap:5px!important;overflow-x:auto!important}.pay-header{grid-template-columns:1fr!important;grid-template-areas:'personal' 'nav' 'firm'!important;gap:7px!important;padding:9px!important}.pay-header .self-side{grid-area:personal!important}.pay-header .self-side .his-script{height:42px!important}.pay-header .self-side .his-name{font-size:14px!important}.pay-header .self-side .his-phone{font-size:12px!important}.pay-header .hdr-nav{grid-area:nav!important;overflow-x:auto!important}.pay-header .hdr-nav button{min-height:58px!important;font-size:10px!important}.pay-header .hdr-nav button .hn-ic{width:22px!important;height:22px!important}.pay-header .firm-side{grid-area:firm!important;flex-direction:row!important}.pay-header .firm-logo{height:38px!important}.hero-bn{grid-template-columns:1fr!important;min-height:390px!important}.hero-pic{grid-column:1!important;grid-row:1!important;position:absolute!important;inset:0!important;opacity:.55!important;min-height:0!important}.hero-txt{grid-column:1!important;grid-row:1!important;padding:24px 14px 72px!important;text-align:center!important}.hero-bn h1{text-align:center!important;font-size:34px!important}.hero-sub{justify-content:center!important;font-size:16px!important}.hero-bn p{text-align:center!important;font-size:12px!important}.srch-wrap{left:5%!important;right:5%!important;bottom:12px!important;min-height:42px!important}.links-card .ld-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.links-card .ld-row{min-height:48px!important}.bn-dashboard-head h2{font-size:17px!important}.bn-calc-tools{justify-content:flex-start!important;overflow-x:auto!important}.bn-calc-filters{flex-wrap:nowrap!important}.bn-calc-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.bn-calc-card{min-height:135px!important;padding:10px 7px!important}.bn-calc-card b{font-size:12px!important}.bn-calc-card small{font-size:9px!important}.bn-connect-widget{left:8px!important;bottom:10px!important}}
@media(max-width:380px){.bn-calc-grid{grid-template-columns:1fr 1fr!important}.topbar #bn-date-btn{font-size:10px!important}}
.pay-header.has-stage:not(.hdr-compact)>.firm-side,.pay-header.has-stage:not(.hdr-compact)>.self-side{display:flex!important}
.pay-header.has-stage:not(.hdr-compact)>.hdr-nav{display:flex!important}
.pay-header .hdr-stage{display:none!important}
/* v31: nicer updates ticker + stylish contact popup. Colors are fixed so text stays readable in light and dark. */
html body #bn-gnav.gn-min #bn-tick{height:40px!important;border-radius:999px!important;padding:0 6px 0 12px!important;gap:10px!important;border:1px solid transparent!important;background:linear-gradient(var(--card),var(--card)) padding-box,linear-gradient(110deg,#e9c46a,#b98a2e 45%,#f2d58a) border-box!important;box-shadow:0 4px 14px #14284b14,inset 0 0 0 1px #ffffff10!important}
html[data-theme="dark"] body #bn-gnav.gn-min #bn-tick{background:linear-gradient(#10243f,#0c1c33) padding-box,linear-gradient(110deg,#e9c46a,#8a6320 45%,#f2d58a) border-box!important;box-shadow:0 4px 18px #0007!important}
html body #bn-tick .tk-lab{display:inline-flex!important;align-items:center;gap:6px;font-size:11px!important;font-weight:900!important;letter-spacing:.2px;color:#3b2500!important;background:linear-gradient(135deg,#ffe29a,#f0b84a 60%,#e39b2f)!important;border-radius:999px!important;padding:5px 11px 5px 9px!important;box-shadow:0 2px 8px #e39b2f55}
html body #bn-tick .tk-lab::before{content:"";width:7px;height:7px;border-radius:50%;background:#b3261e;box-shadow:0 0 0 0 #b3261e88;animation:bnTkDot 1.8s ease-out infinite}
@keyframes bnTkDot{0%{box-shadow:0 0 0 0 #b3261e99}100%{box-shadow:0 0 0 7px #b3261e00}}
html body #bn-tick .tk-vp{-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)!important;mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)!important}
html body #bn-tick .tk-tr{gap:16px!important}
html body #bn-tick .tk-i{font-size:12.5px!important;font-weight:800!important;color:var(--ink)!important;padding:3px 2px!important;border-radius:6px!important;transition:color .15s,background .15s}
html body #bn-tick .tk-i:hover{text-decoration:none!important;color:#8a5a00!important;background:#f0b84a22!important}
html[data-theme="dark"] body #bn-tick .tk-i{color:#eef4fb!important}
html[data-theme="dark"] body #bn-tick .tk-i:hover{color:#ffd877!important}
html body #bn-tick .tk-s{color:#c69a45!important;font-size:9px!important;opacity:.9}
@media(prefers-reduced-motion:reduce){html body #bn-tick .tk-lab::before{animation:none}}

/* contact popup */
html body .bn-connect-panel{width:min(352px,calc(100vw - 28px))!important;padding:0!important;border:1px solid transparent!important;border-radius:24px!important;overflow:hidden;background:radial-gradient(120% 90% at 100% 0,#2b4f7d55,transparent 60%) padding-box,linear-gradient(165deg,#12294a,#071528 78%) padding-box,linear-gradient(150deg,#f2d58a,#9a6f22 50%,#e9c46a) border-box!important;box-shadow:0 26px 70px #000c,0 0 0 1px #ffffff0d,0 0 40px #e9c46a22!important}
html body .bn-connect-panel-head{padding:18px 18px 14px!important;margin:0!important;border-bottom:1px solid #ffffff17!important;background:linear-gradient(180deg,#ffffff0b,transparent)}
html body .bn-connect-orb{width:44px!important;height:44px!important;border-radius:15px!important;font-size:22px!important;box-shadow:0 6px 18px #e9c46a55,inset 0 1px 0 #fff8;animation:bnOrb 3.2s ease-in-out infinite}
@keyframes bnOrb{0%,100%{box-shadow:0 6px 18px #e9c46a44,inset 0 1px 0 #fff8}50%{box-shadow:0 6px 26px #e9c46a99,inset 0 1px 0 #fff8}}
html body .bn-connect-panel-head strong{font-size:16px!important;color:#fff!important;font-weight:900}
html body .bn-connect-panel-head small{font-size:12px!important;color:#c9d6e8!important}
html body .bn-connect-close{width:32px!important;height:32px!important;border-radius:11px!important;background:#ffffff14!important;border:1px solid #ffffff1f!important;color:#fff!important;transition:background .15s}
html body .bn-connect-close:hover{background:#ffffff26!important}
html body .bn-connect-choice{margin:10px 14px 0!important;padding:13px 12px!important;border-radius:16px!important;border:1px solid #ffffff1f!important;background:linear-gradient(115deg,#ffffff12,#ffffff06)!important;gap:12px!important;transition:transform .18s,border-color .18s,background .18s,box-shadow .18s!important}
html body .bn-connect-choice:hover{transform:translateY(-2px)!important;border-color:#e9c46a!important;background:linear-gradient(115deg,#e9c46a26,#ffffff0a)!important;box-shadow:0 8px 22px #0006,0 0 0 1px #e9c46a33!important}
html body .bn-connect-choice-icon{width:42px!important;height:42px!important;border-radius:14px!important;font-size:19px!important;background:linear-gradient(145deg,#f6d98f,#c08a2a)!important;color:#14243a!important;box-shadow:0 4px 12px #0005}
html body .bn-connect-choice-icon.firm{background:linear-gradient(145deg,#f4f7fb,#cfdbea)!important;color:#193653!important}
html body .bn-connect-choice-icon.soc{background:linear-gradient(145deg,#ffffff1f,#ffffff0d)!important;color:#ffd877!important;border:1px solid #ffffff2a;font-size:15px!important}
html body .bn-connect-choice b{font-size:13.5px!important;color:#fff!important;line-height:1.5}
html body .bn-connect-choice small{font-size:12.5px!important;color:#f0cd7c!important;letter-spacing:.6px;font-weight:700}
html body .bn-connect-choice i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e9c46a22;color:#ffd877!important;font-size:15px!important;flex:0 0 auto}
html body .bn-connect-foot{display:flex;align-items:center;justify-content:center;gap:7px;padding:16px 14px 18px!important;color:#c3d0e2!important;font-size:12px!important}
html body .bn-connect-foot::before{content:"";width:8px;height:8px;border-radius:50%;background:#70dfac;box-shadow:0 0 0 4px #70dfac26}
html body .bn-social-foot{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:8px 0 0}
html body .bn-social-foot a{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;border:1px solid var(--ln,#d5dfeb);color:var(--ink,#14263f);text-decoration:none;font-size:13px;font-weight:700}
@media(max-width:600px){html body .bn-connect-panel{width:min(330px,calc(100vw - 20px))!important}}
@media(prefers-reduced-motion:reduce){html body .bn-connect-orb{animation:none}}
html body #bn-gnav #bn-tick .tk-i{background:transparent!important;border:0!important;box-shadow:none!important;min-height:0!important;height:auto!important;line-height:1.4!important}
html body #bn-gnav #bn-tick .tk-i:hover{background:#f0b84a22!important}

/* v32: the ticker always moves (4 copies of the list, GPU transform). Reduced-motion only slows it down, it does not stop it. Pauses on hover/touch. */
@keyframes bnTick32{from{transform:translate3d(0,0,0)}to{transform:translate3d(25%,0,0)}}
html body #bn-tick .tk-tr{animation:bnTick32 var(--tkd,60s) linear infinite!important;animation-play-state:running!important;will-change:transform}
html body #bn-tick:hover .tk-tr,html body #bn-tick:active .tk-tr,html body #bn-tick:focus-within .tk-tr{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){html body #bn-tick .tk-tr{animation:bnTick32 calc(var(--tkd,60s) * 2.2) linear infinite!important}html body #bn-tick .tk-vp{overflow:hidden!important}}
/* v34: professional calculator look. Scoped to calculator tabs only. Uses existing theme variables. */
html body{--c34-head:#14284b;--c34-head-ink:#fff;--c34-acc:#c99b43;--c34-zebra:rgba(20,40,75,.035);--c34-ring:rgba(201,155,67,.35)}
html body.dark,html[data-theme="dark"] body{--c34-head:#27406a;--c34-head-ink:#fff;--c34-zebra:rgba(255,255,255,.04);--c34-ring:rgba(233,196,106,.38)}
html body section.card[data-tab="pay"],html body section.card[data-tab="vat"],html body section.card[data-tab="rat"],html body section.card[data-tab="dep"],html body section.card[data-tab="mat"],html body section.card[data-tab="chk"],html body section.card[data-tab="tq"],html body section.card[data-tab="pharm"],html body section.card[data-tab="lat"],html body section.card[data-tab="reg"]{border-radius:18px!important;padding:22px 24px!important;box-shadow:0 1px 2px rgba(15,35,60,.06),0 12px 32px rgba(15,35,60,.07)!important;border:1px solid var(--line)!important;background:var(--card)!important}
html body section.card[data-tab] h2.sec-title,html body section.card[data-tab] h1.sec-title{font-size:21px!important;font-weight:800!important;letter-spacing:0!important;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 6px!important}
html body section.card[data-tab] .tool-desc{font-size:13.5px!important;line-height:1.85!important;color:var(--ink-2)!important;margin:0 0 14px!important;max-width:78ch}
/* inputs */
html body section.card[data-tab] .fields{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px 16px!important;margin:12px 0 14px!important}
html body section.card[data-tab] .field{display:flex;flex-direction:column;gap:6px}
html body section.card[data-tab] .field>label,html body section.card[data-tab] .field label{font-size:12.5px!important;font-weight:700!important;color:var(--ink)!important;line-height:1.5}
html body section.card[data-tab] input[type=text],html body section.card[data-tab] input[type=number],html body section.card[data-tab] input[type=date],html body section.card[data-tab] input:not([type]),html body section.card[data-tab] select{height:46px;border-radius:12px!important;border:1.5px solid var(--border)!important;background:var(--card)!important;color:var(--ink)!important;padding:0 14px!important;font:inherit;font-size:15px!important;font-weight:600;font-variant-numeric:tabular-nums;transition:border-color .15s,box-shadow .15s}
html body section.card[data-tab] input:focus,html body section.card[data-tab] select:focus{outline:none!important;border-color:var(--c34-acc)!important;box-shadow:0 0 0 4px var(--c34-ring)!important}
html body section.card[data-tab] input::placeholder{color:var(--ink-2);opacity:.7;font-weight:500}
html body section.card[data-tab] .hint,html body section.card[data-tab] .field .hint{font-size:12px!important;line-height:1.7;color:var(--ink-2)!important}
/* check rows */
html body section.card[data-tab] label.chk{display:flex!important;align-items:flex-start;gap:10px;padding:11px 14px;border:1.5px solid var(--line);border-radius:12px;background:var(--cream);font-size:13.5px!important;font-weight:600;line-height:1.7;cursor:pointer}
html body section.card[data-tab] label.chk input{width:18px;height:18px;margin-top:3px;accent-color:#c99b43}
/* step headings in payroll */
html body section.card[data-tab] .pay-step{display:flex;align-items:center;gap:10px;font-weight:800;font-size:15px;margin:20px 0 8px;color:var(--ink)}
html body section.card[data-tab] .pay-n{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--c34-head);color:#fff;font-size:13px;font-weight:800;flex:none}
/* notes */
html body section.card[data-tab] .note,html body section.card[data-tab] .warn,html body section.card[data-tab] .proto-warn,html body section.card[data-tab] .method-note{border-radius:14px!important;padding:13px 16px!important;font-size:13px!important;line-height:1.85!important;border:1px solid var(--line)!important;border-inline-start:4px solid var(--c34-acc)!important;background:var(--note-bg,var(--cream))!important;color:var(--ink)!important}
html body section.card[data-tab] .warn{border-inline-start-color:#d9622b!important;background:var(--warn-bg)!important}
/* results */
html body section.card[data-tab] .mini-res.on{display:block;margin-top:14px!important;padding:6px 0 4px!important;border:1.5px solid var(--border)!important;border-radius:16px!important;background:var(--card)!important;overflow:hidden;box-shadow:0 6px 20px rgba(15,35,60,.06)}
html body section.card[data-tab] .mini-res table{width:100%;border-collapse:collapse;font-size:14px}
html body section.card[data-tab] .mini-res td{padding:11px 18px!important;border-bottom:1px solid var(--line)!important}
html body section.card[data-tab] .mini-res tr:last-child td{border-bottom:0!important}
html body section.card[data-tab] .mini-res td:last-child{font-weight:800!important;font-variant-numeric:tabular-nums;text-align:left!important;direction:ltr;white-space:nowrap}
html body section.card[data-tab] .mini-res tr.hl td{background:var(--c34-head)!important;color:#fff!important;font-size:16px;font-weight:800}
html body section.card[data-tab] #lt-out.on{padding:16px 20px!important;line-height:2!important;font-size:14.5px}
html body section.card[data-tab] #lt-out b{font-variant-numeric:tabular-nums}
/* tables */
html body section.card[data-tab] .tscroll,html body section.card[data-tab] .tbl-wrap{border:1.5px solid var(--border);border-radius:14px;overflow:auto;background:var(--card)}
html body section.card[data-tab] table.audit-out,html body section.card[data-tab] table.ratio-table,html body section.card[data-tab] table.reg-table,html body section.card[data-tab] table.lt-tbl{width:100%;border-collapse:separate;border-spacing:0;font-size:13.5px}
html body section.card[data-tab] table.audit-out th,html body section.card[data-tab] table.ratio-table th,html body section.card[data-tab] table.reg-table th,html body section.card[data-tab] table.lt-tbl th{background:var(--c34-head)!important;color:var(--c34-head-ink)!important;font-weight:800;font-size:12.5px;padding:11px 14px!important;text-align:start;white-space:nowrap}
html body section.card[data-tab] table.audit-out td,html body section.card[data-tab] table.ratio-table td,html body section.card[data-tab] table.reg-table td,html body section.card[data-tab] table.lt-tbl td{padding:10px 14px!important;border-bottom:1px solid var(--line)!important;color:var(--ink)!important;background:transparent}
html body section.card[data-tab] table tbody tr:nth-child(even) td{background:var(--c34-zebra)!important}
html body section.card[data-tab] table tbody tr:hover td{background:var(--c34-ring)!important}
html body section.card[data-tab] td.num,html body section.card[data-tab] th.num{text-align:left!important;direction:ltr;font-variant-numeric:tabular-nums;white-space:nowrap}
html body section.card[data-tab] table tfoot td{font-weight:800;background:var(--cream)!important;border-top:2px solid var(--c34-acc)!important}
/* fixed-assets register rows */
html body section.card[data-tab] .reg-item{border:1.5px solid var(--line)!important;border-radius:16px!important;background:var(--cream)!important;padding:14px!important;margin-bottom:12px}
html body section.card[data-tab] .reg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px 12px}
/* buttons */
html body section.card[data-tab] .exp-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;padding-top:14px;border-top:1px dashed var(--line)}
html body section.card[data-tab] .exp-btn,html body section.card[data-tab] .mini-btn{height:44px;border-radius:12px!important;padding:0 18px!important;font-weight:800!important;font-size:14px!important;box-shadow:0 1px 2px rgba(15,35,60,.08);transition:transform .12s,box-shadow .12s,border-color .12s}
html body section.card[data-tab] .exp-btn:hover,html body section.card[data-tab] .mini-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(15,35,60,.14)}
html body section.card[data-tab] .exp-btn.pdf{background:var(--c34-head)!important;color:#fff!important;border-color:var(--c34-head)!important}
html body section.card[data-tab] .exp-btn.xls{background:var(--card)!important;color:var(--ink)!important;border:1.5px solid var(--border)!important}
html body section.card[data-tab] details>summary{cursor:pointer;font-weight:700;font-size:13px;padding:8px 0}
html body section.card.prov[data-tab]{padding:14px 20px!important;box-shadow:none!important;background:var(--cream)!important}
@media(max-width:600px){html body section.card[data-tab]{padding:16px 14px!important;border-radius:16px!important}html body section.card[data-tab] .fields{grid-template-columns:1fr}html body section.card[data-tab] h2.sec-title{font-size:18px!important}html body section.card[data-tab] .exp-btn{flex:1 1 100%;justify-content:center}}
/* print: only the open calculator, clean sheet */
@media print{
 html body header,html body nav,html body .tabnav,html body #bn-gnav,html body #bn-tick,html body .bn-dock,html body footer,html body .bn-fab,html body [class*="bn-connect"],html body .exp-row,html body .tab-btn,html body .bn-calc-export-bar{display:none!important}
 html body{background:#fff!important;color:#000!important}
 html body section.card[data-tab]{box-shadow:none!important;border:1px solid #999!important;border-radius:0!important;break-inside:avoid;background:#fff!important;color:#000!important}
 html body section.card[data-tab] table th{background:#14284b!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 html body section.card[data-tab] *{color:#000!important}
 html body section.card[data-tab] table th *{color:#fff!important}
}
html body section.card[data-tab] table input,html body section.card[data-tab] table select{height:38px!important;font-size:14px!important;border-radius:10px!important}
html body section.card[data-tab] table td{vertical-align:middle}
html body section.card[data-tab] table.ratio-table td:first-child{font-weight:700;white-space:nowrap}
/* v39: site-map menu + floating settings window + preference effects */
@font-face{font-family:"BnNaskhUI";src:url(fonts/NotoNaskhArabic-Regular.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"BnNaskhUI";src:url(fonts/NotoNaskhArabic-Bold.ttf) format("truetype");font-weight:700;font-display:swap}
/* ---- preference effects ---- */
html[data-bnface="naskh"] body,html[data-bnface="naskh"] body *:not(svg):not(svg *):not(code){font-family:"BnNaskhUI","Noto Naskh Arabic",Tahoma,serif!important}
html[data-bnface="system"] body,html[data-bnface="system"] body *:not(svg):not(svg *):not(code){font-family:system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif!important}
html[data-acc="blue"] body{--orange:#2f6fd6;--c34-acc:#2f6fd6;--c34-ring:rgba(47,111,214,.32);--bn-gold:#2f6fd6}
html[data-acc="green"] body{--orange:#1f8a5b;--c34-acc:#1f8a5b;--c34-ring:rgba(31,138,91,.32);--bn-gold:#1f8a5b}
html[data-acc="blue"] body.dark,html[data-acc="blue"][data-theme="dark"] body{--orange:#7fb0ff;--c34-acc:#7fb0ff;--c34-ring:rgba(127,176,255,.38);--bn-gold:#7fb0ff}
html[data-acc="green"] body.dark,html[data-acc="green"][data-theme="dark"] body{--orange:#52d3a2;--c34-acc:#52d3a2;--c34-ring:rgba(82,211,162,.38);--bn-gold:#52d3a2}
html[data-acc="blue"] body section.card[data-tab] h2.sec-title,html[data-acc="green"] body section.card[data-tab] h2.sec-title{border-image:none}
html[data-hc="1"] body{--border:#000;--line:#444;--ink:#000;--ink-2:#1b1b1b}
html[data-hc="1"] body.dark{--border:#fff;--line:#c9d3e3;--ink:#fff;--ink-2:#f1f1f1}
html[data-hc="1"] body section.card[data-tab] input,html[data-hc="1"] body section.card[data-tab] select{border-width:2px!important}
html[data-tick="off"] #bn-tick{display:none!important}
html[data-tick="slow"] body #bn-tick .tk-tr{animation-duration:140s!important}
html[data-tick="still"] body #bn-tick .tk-tr{animation:none!important;transform:none!important}
html[data-tick="still"] body #bn-tick .tk-vp{overflow-x:auto!important}
html[data-soon="hide"] .soon-tag,html[data-soon="hide"] .soon-mini{display:none!important}
html[data-legal="short"] section.card.prov,html[data-legal="short"] details.hint-more,html[data-legal="short"] .hint-more{display:none!important}
html[data-hdr="normal"] #bn-gnav{position:static!important}
html[data-hdr="normal"] #bn-gnav-sp{display:none!important}
html[data-dens="compact"] body section.card[data-tab] table td,html[data-dens="compact"] body section.card[data-tab] table th{padding:5px 10px!important}
html[data-dens="compact"] body section.card[data-tab] table input,html[data-dens="compact"] body section.card[data-tab] table select{height:32px!important}
html[data-lay="compact"] body section.card[data-tab]{padding:14px 16px!important}
html[data-lay="compact"] body section.card[data-tab] .fields{gap:8px 10px!important;margin:6px 0 8px!important}
html[data-lay="compact"] body section.card[data-tab] input,html[data-lay="compact"] body section.card[data-tab] select{height:38px!important}
.bn-hij{display:block;font-size:10.5px;font-weight:600;opacity:.8;line-height:1.2;margin-top:1px}
.bn-print-head{display:none}
@media print{.bn-print-head{display:flex!important;justify-content:space-between;gap:20px;font-size:14px;border-bottom:2px solid #14284b;padding:0 0 8px;margin-bottom:12px;color:#000}#bn-menu39,#bn-set-win,.bn-toast39{display:none!important}}
/* ---- favorites strip ---- */
.bn-fav-strip{display:flex;flex-wrap:wrap;gap:10px 22px;margin:0 0 14px;padding:12px 16px;border:1px solid var(--line);border-radius:16px;background:var(--card);box-shadow:var(--shadow)}
.bn-fav-strip .fs-g{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.bn-fav-strip b{font-size:13px;color:var(--ink-2);margin-inline-end:4px}
.bn-fav-strip button{font:inherit;font-size:13px;font-weight:700;padding:7px 14px;border-radius:999px;border:1.5px solid var(--border);background:var(--cream);color:var(--ink);cursor:pointer}
.bn-fav-strip button:hover{border-color:var(--orange)}
/* ---- site map menu ---- */
.bn-menu{position:fixed;inset:0;z-index:10000;pointer-events:none;direction:rtl}
.bn-menu .bm-bd{position:absolute;inset:0;background:rgba(5,12,24,.5);opacity:0;transition:opacity .22s}
.bn-menu .bm-p{position:absolute;top:0;bottom:0;right:0;width:min(380px,92vw);background:var(--card,#fff);color:var(--ink,#1c2b3d);box-shadow:-18px 0 50px rgba(0,0,0,.28);transform:translateX(105%);transition:transform .28s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column;border-radius:22px 0 0 22px}
.bn-menu.open{pointer-events:auto}.bn-menu.open .bm-bd{opacity:1}.bn-menu.open .bm-p{transform:none}
.bm-h{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 8px;font-size:18px}
.bm-x,.sw-x{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:var(--cream);color:var(--ink);font-size:15px;cursor:pointer}
.bm-s{padding:4px 18px 10px}
.bm-s input,.sw-sr input{width:100%;height:42px;border-radius:12px;border:1.5px solid var(--border);background:var(--cream);color:var(--ink);padding:0 14px;font:inherit;font-size:14px}
.bm-b{overflow:auto;padding:0 14px 24px;flex:1}
.bm-g h4{margin:16px 6px 6px;font-size:12px;letter-spacing:.3px;color:var(--ink-2);font-weight:800}
.bm-r{display:flex;align-items:center;gap:6px}
.bm-i{flex:1;display:flex;align-items:center;gap:12px;text-align:start;padding:10px 12px;border:0;background:transparent;color:inherit;border-radius:12px;font:inherit;cursor:pointer}
.bm-i:hover,.bm-i:focus-visible{background:var(--cream)}
.bm-ic{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--cream);border:1px solid var(--line);font-size:16px;flex:none}
.bm-t{display:flex;flex-direction:column;gap:1px}.bm-t b{font-size:14px}.bm-t small{font-size:11.5px;color:var(--ink-2)}
.bm-f{width:34px;height:34px;border:0;background:transparent;font-size:18px;color:var(--ink-2);cursor:pointer;border-radius:50%}
.bm-f.on{color:#c99b43}
html.bn-menu-open,html.bn-set-open{overflow:hidden}
/* ---- settings window ---- */
.bn-sw{position:fixed;inset:0;z-index:10001;display:grid;place-items:center;padding:16px;pointer-events:none;direction:rtl}
.bn-sw .sw-bd{position:absolute;inset:0;background:rgba(5,12,24,.55);backdrop-filter:blur(3px);opacity:0;transition:opacity .22s}
.bn-sw .sw-card{position:relative;width:min(720px,100%);max-height:min(640px,92vh);display:flex;flex-direction:column;background:var(--card,#fff);color:var(--ink,#1c2b3d);border:1px solid var(--line);border-radius:22px;box-shadow:0 30px 80px rgba(0,0,0,.38);transform:translateY(16px) scale(.97);opacity:0;transition:transform .26s cubic-bezier(.2,.8,.2,1),opacity .2s}
.bn-sw.open{pointer-events:auto}.bn-sw.open .sw-bd{opacity:1}.bn-sw.open .sw-card{transform:none;opacity:1}
.sw-top{display:flex;align-items:center;justify-content:space-between;padding:18px 22px 6px}
.sw-top b{font-size:19px;display:block}.sw-top small{color:var(--ink-2);font-size:12.5px}
.sw-sr{padding:6px 22px 10px}
.sw-main{display:flex;min-height:0;flex:1;border-top:1px solid var(--line)}
.sw-nav{width:178px;flex:none;padding:12px 10px;display:flex;flex-direction:column;gap:3px;overflow:auto;border-inline-end:1px solid var(--line);background:var(--cream)}
.sw-tab{display:flex;align-items:center;gap:10px;padding:10px 12px;border:0;border-radius:11px;background:transparent;color:var(--ink);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer;text-align:start}
.sw-tab span{width:22px;text-align:center;opacity:.8}
.sw-tab.on{background:var(--c34-head,#14284b);color:#fff}
.sw-pane{flex:1;min-width:0;overflow:auto;padding:14px 22px 22px}
.sw-title{margin:0 0 6px;font-size:16px}
.sw-r{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--line)}
.sw-l{display:flex;flex-direction:column;gap:2px;min-width:0}.sw-l b{font-size:14px}.sw-l small{font-size:12px;color:var(--ink-2);line-height:1.6}
.sw-c{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;flex:none}
.sw-seg{display:inline-flex;border:1.5px solid var(--border);border-radius:12px;overflow:hidden;background:var(--card)}
.sw-seg button{border:0;background:transparent;color:var(--ink);font:inherit;font-size:12.5px;font-weight:700;padding:8px 12px;cursor:pointer;border-inline-start:1px solid var(--line)}
.sw-seg button:first-child{border-inline-start:0}
.sw-seg button.on{background:var(--c34-head,#14284b);color:#fff}
.sw-tg{width:48px;height:28px;border-radius:999px;border:0;background:var(--line);position:relative;cursor:pointer;transition:background .18s;padding:0}
.sw-tg i{position:absolute;top:3px;right:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.35);transition:transform .18s}
.sw-tg.on{background:#1f8a5b}.sw-tg.on i{transform:translateX(-20px)}
.sw-c select,.sw-c input[type=text]{height:38px;border-radius:10px;border:1.5px solid var(--border);background:var(--card);color:var(--ink);padding:0 10px;font:inherit;font-size:13px;max-width:210px}
.sw-b{height:38px;padding:0 14px;border-radius:10px;border:1.5px solid var(--border);background:var(--card);color:var(--ink);font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.sw-b.warn{border-color:#c4553a;color:#c4553a}
body.dark .sw-b.warn{color:#ff9b82;border-color:#ff9b82}
.sw-note{font-size:12px;color:var(--ink-2);line-height:1.8;margin:14px 0 0}
.bn-toast39{position:fixed;bottom:26px;left:50%;transform:translate(-50%,20px);opacity:0;z-index:10002;background:#14284b;color:#fff;padding:11px 18px;border-radius:12px;font-size:13.5px;font-weight:700;box-shadow:0 10px 30px rgba(0,0,0,.35);transition:.25s;max-width:88vw}
.bn-toast39.on{opacity:1;transform:translate(-50%,0)}
@media(max-width:640px){
 .bn-sw{padding:0;place-items:end center}
 .bn-sw .sw-card{width:100%;max-height:92vh;border-radius:22px 22px 0 0}
 .sw-main{flex-direction:column}
 .sw-nav{width:auto;flex-direction:row;overflow-x:auto;border-inline-end:0;border-bottom:1px solid var(--line);padding:8px}
 .sw-tab{white-space:nowrap;padding:8px 12px}
 .sw-r{flex-direction:column;align-items:stretch;gap:10px}.sw-c{justify-content:flex-start}
 .sw-pane{padding:12px 16px 24px}
}
@media(prefers-reduced-motion:reduce){.bn-menu .bm-p,.bn-sw .sw-card,.sw-tg i{transition:none}}
/* reset against global button rules */
html body .bn-menu button,html body .bn-sw button{box-shadow:none!important;text-shadow:none!important;transform:none!important;min-height:0!important;height:auto;letter-spacing:0!important;margin:0}
html body .bn-menu .bm-i,html body .bn-sw .sw-tab,html body .bn-sw .sw-seg button{background:transparent!important;border:0!important;color:var(--ink)!important;border-radius:12px!important}
html body .bn-sw .sw-seg button{border-radius:0!important;border-inline-start:1px solid var(--line)!important;padding:8px 13px!important}
html body .bn-sw .sw-seg button:first-child{border-inline-start:0!important}
html body .bn-sw .sw-seg button.on,html body .bn-sw .sw-tab.on{background:var(--c34-head,#14284b)!important;color:#fff!important}
html body .bn-menu .bm-i:hover,html body .bn-menu .bm-i:focus-visible,html body .bn-sw .sw-tab:not(.on):hover{background:var(--cream)!important}
html body .bn-menu .bm-f{background:transparent!important;border:0!important;color:var(--ink-2)!important;width:34px;height:34px;padding:0!important}
html body .bn-menu .bm-f.on{color:#c99b43!important}
html body .bn-menu .bm-x,html body .bn-sw .sw-x{width:36px!important;height:36px!important;padding:0!important;border:1px solid var(--line)!important;background:var(--cream)!important;color:var(--ink)!important;border-radius:50%!important}
html body .bn-sw .sw-tg{width:48px!important;height:28px!important;padding:0!important;border-radius:999px!important;border:0!important;background:var(--line)!important}
html body .bn-sw .sw-tg.on{background:#1f8a5b!important}
html body .bn-sw .sw-b{height:38px!important;padding:0 14px!important;border:1.5px solid var(--border)!important;background:var(--card)!important;color:var(--ink)!important;border-radius:10px!important}
html body .bn-sw .sw-b.warn{color:#c4553a!important;border-color:#c4553a!important}
html body.dark .bn-sw .sw-b.warn{color:#ff9b82!important;border-color:#ff9b82!important}
html body .bn-sw .sw-card,html body .bn-sw .sw-main,html body .bn-sw .sw-pane{min-width:0;max-width:100%}
html body .bn-sw .sw-tab span{width:22px;flex:none}
html body .bn-sw .sw-top{align-items:flex-start}
@media(max-width:640px){html body .bn-sw .sw-nav{max-width:100%;min-width:0}html body .bn-sw .sw-tab{flex:none}}

html[data-rm="1"] body *:not(#bn-tick):not(#bn-tick *){animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
html[data-ls="1"] body{letter-spacing:.04em!important;word-spacing:.12em!important}
html[data-ul="1"] body a{text-decoration:underline!important;text-underline-offset:3px}
.bn-ruler{position:fixed;left:0;right:0;height:36px;pointer-events:none;z-index:9990;background:rgba(201,155,67,.16);border-block:2px solid rgba(201,155,67,.55);display:none}
@media print{.bn-ruler{display:none!important}}
/* ---- v43 refined / smaller ---- */
html body .bn-sw .sw-card{width:min(620px,100%);border-radius:16px;max-height:min(560px,92vh)}
html body .bn-menu .bm-p{width:min(320px,90vw);border-radius:16px 0 0 16px}
.sw-top{padding:12px 16px 4px}.sw-top b{font-size:15px;font-weight:700}.sw-top small{font-size:11px}
.sw-sr{padding:4px 16px 8px}
.bm-s input,.sw-sr input{height:34px;border-radius:9px;font-size:12.5px;border-width:1px}
.bm-h{padding:12px 14px 4px;font-size:15px;font-weight:700}
html body .bn-menu .bm-x,html body .bn-sw .sw-x{width:28px!important;height:28px!important;font-size:12px}
.bm-s{padding:2px 14px 8px}.bm-b{padding:0 10px 16px}
.bm-g h4{font-size:10.5px;font-weight:700;margin:12px 6px 4px}
.bm-i{padding:6px 8px;gap:9px;border-radius:9px}
.bm-ic{width:26px;height:26px;border-radius:8px;font-size:13px}
.bm-t b{font-size:12.5px;font-weight:600}.bm-t small{font-size:10.5px}
html body .bn-menu .bm-f{width:26px;height:26px;font-size:15px}
.sw-nav{width:140px;padding:8px 6px;gap:1px}
.sw-tab{padding:7px 9px;font-size:12px;font-weight:600;gap:8px;border-radius:8px}
html body .bn-sw .sw-tab{border-radius:8px!important}
.sw-pane{padding:8px 16px 14px}.sw-title{font-size:13.5px;font-weight:700}
.sw-r{padding:9px 0;gap:12px}.sw-l b{font-size:12.5px;font-weight:600}.sw-l small{font-size:10.5px;line-height:1.5}
html body .bn-sw .sw-seg button{font-size:11px;font-weight:600;padding:5px 9px!important}
html body .bn-sw .sw-seg{border-radius:8px;border-width:1px}
html body .bn-sw .sw-tg{width:36px!important;height:21px!important}
.sw-tg i{width:15px;height:15px;top:3px;right:3px}.sw-tg.on i{transform:translateX(-15px)}
.sw-c select,.sw-c input[type=text]{height:30px;font-size:11.5px;border-width:1px;border-radius:8px}
html body .bn-sw .sw-b{height:30px!important;font-size:11.5px;font-weight:600;padding:0 11px!important;border-width:1px!important;border-radius:8px!important}
.sw-note{font-size:10.5px}
.bn-toast39{font-size:12px;padding:8px 14px;border-radius:9px}
.bn-fav-strip{padding:8px 12px;border-radius:12px}.bn-fav-strip button{font-size:11.5px;padding:5px 11px;font-weight:600}
html body #bn-dock button,html body #bn-dock a{transform:scale(.86);transform-origin:center}
@media(max-width:640px){html body .bn-sw .sw-card{border-radius:16px 16px 0 0}.sw-nav{width:auto}.sw-tab{padding:6px 10px}}

/* ---- wave 49 ---- */
html[data-skin="paper"]:not([data-theme="dark"]) body{background:#f3ead4!important;--card:#fbf5e6;--cream:#f1e6cc}
html[data-skin="calm"]:not([data-theme="dark"]) body{background:#e9eef2!important;--card:#f6f9fb;--cream:#e3eaf0}
html[data-focus="1"] #bn-gnav,html[data-focus="1"] #bn-gnav-sp,html[data-focus="1"] #bn-tick,html[data-focus="1"] footer,html[data-focus="1"] #bn-connect-trigger,html[data-focus="1"] #tm-fab,html[data-focus="1"] .bn-fab,html[data-focus="1"] .bn-fav-strip{display:none!important}
.bn-focus-exit{position:fixed;top:10px;left:50%;transform:translateX(-50%);z-index:9995;display:none;border:1px solid var(--line);background:var(--card);color:var(--ink);font:inherit;font-size:11.5px;font-weight:600;padding:5px 14px;border-radius:999px;box-shadow:0 4px 14px rgba(0,0,0,.18);cursor:pointer}
.bn-btt{position:fixed;bottom:84px;left:16px;z-index:9990;display:none;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--ink);font-size:15px;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.2);padding:0}
.sw-badge{background:var(--cream);border:1px solid var(--line);color:var(--ink-2);border-radius:999px;padding:1px 9px;font-size:10px;font-weight:700}
.bn-pal{position:fixed;inset:0;z-index:10003;display:grid;place-items:start center;padding:12vh 14px 0;pointer-events:none;direction:rtl}
.bn-pal .pl-bd{position:absolute;inset:0;background:rgba(5,12,24,.5);backdrop-filter:blur(3px);opacity:0;transition:opacity .18s}
.bn-pal .pl-card{position:relative;width:min(520px,100%);background:var(--card,#fff);color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.4);opacity:0;transform:translateY(10px);transition:.2s;overflow:hidden}
.bn-pal.open{pointer-events:auto}.bn-pal.open .pl-bd{opacity:1}.bn-pal.open .pl-card{opacity:1;transform:none}
.bn-pal input[type=search]{width:100%;height:42px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);padding:0 16px;font:inherit;font-size:13.5px;outline:0}
.pl-list{max-height:min(340px,50vh);overflow:auto;padding:6px}
html body .bn-pal .pl-i{display:flex;align-items:center;gap:10px;width:100%;text-align:start;background:transparent!important;border:0!important;color:var(--ink)!important;font:inherit;padding:7px 9px;border-radius:9px!important;cursor:pointer;box-shadow:none!important;min-height:0!important;height:auto!important}
html body .bn-pal .pl-i.on,html body .bn-pal .pl-i:hover{background:var(--cream)!important}
.pl-ic{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:var(--cream);border:1px solid var(--line);font-size:13px;flex:none}
.pl-t{display:flex;flex-direction:column}.pl-t b{font-size:12.5px;font-weight:600}.pl-t small{font-size:10.5px;color:var(--ink-2)}
.pl-ft{display:flex;gap:8px;align-items:center;padding:8px 14px;border-top:1px solid var(--line);font-size:10.5px;color:var(--ink-2)}
.pl-empty{padding:22px 12px;text-align:center;font-size:12px;color:var(--ink-2)}
.nt-h{display:flex;flex-direction:column;padding:12px 16px 6px}.nt-h b{font-size:14px}.nt-h small{font-size:10.5px;color:var(--ink-2)}
.bn-pal textarea{width:calc(100% - 28px);margin:6px 14px;border:1px solid var(--border);border-radius:9px;background:var(--card);color:var(--ink);font:inherit;font-size:13px;padding:10px;resize:vertical;box-sizing:border-box}
@media print{.bn-pal,.bn-btt,.bn-focus-exit{display:none!important}}
/* ---- skins (v49b): real look changes ---- */
html[data-skin="paper"]:not([data-theme="dark"]){--ink:#3a2a14;--ink-2:#6b5434;--line:#d9c8a0;--border:#c9b588;--card:#fbf4e2;--cream:#f0e4c8;--shadow:none;--c34-head:#5a3e1b}
html[data-skin="paper"]:not([data-theme="dark"]) body{background:#f2e8d0 repeating-linear-gradient(0deg,rgba(120,90,40,.035) 0 1px,transparent 1px 3px)!important;font-family:"BnNaskhUI","Noto Naskh Arabic",serif!important;color:#3a2a14!important}
html[data-skin="paper"]:not([data-theme="dark"]) body :is(.card,section.card,.h2-card,.h2-sec,.h2-row,#bn-gnav,.fx-panel,details,table,.tbl,.box){border-radius:5px!important;box-shadow:none!important;border-color:#d2bf93!important;background-color:#fbf4e2!important}
html[data-skin="paper"]:not([data-theme="dark"]) body :is(h1,h2,h3,h4){font-family:"BnNaskhUI","Noto Naskh Arabic",serif!important;color:#4a3213!important;font-weight:700!important}
html[data-skin="paper"]:not([data-theme="dark"]) body :is(button,.btn,a.btn,.tab-btn){border-radius:4px!important}
html[data-skin="calm"]:not([data-theme="dark"]){--ink:#1f3b49;--ink-2:#48646f;--line:#cbd9e0;--border:#b6c8d1;--card:#f7fafb;--cream:#e2ebf0;--shadow:0 6px 22px rgba(31,95,107,.08);--c34-head:#1f5f6b}
html[data-skin="calm"]:not([data-theme="dark"]) body{background:linear-gradient(180deg,#e6eef2,#dbe7ec)!important;color:#1f3b49!important}
html[data-skin="calm"]:not([data-theme="dark"]) body :is(.card,section.card,.h2-card,.h2-sec,.h2-row,#bn-gnav,.fx-panel,details,.box){border-radius:20px!important;border-color:#c3d4dc!important;background-color:#f7fafb!important;box-shadow:0 8px 26px rgba(31,95,107,.09)!important}
html[data-skin="calm"]:not([data-theme="dark"]) body :is(h1,h2,h3,h4){color:#1f5f6b!important;font-weight:600!important}
html[data-skin="calm"]:not([data-theme="dark"]) body :is(button,.btn,a.btn,.tab-btn){border-radius:999px!important}
html[data-skin="paper"]:not([data-theme="dark"]) body .h2-hero{background:linear-gradient(135deg,#4a3213,#6b4a1e 60%,#8a6322)!important;border-radius:6px!important}
html[data-skin="calm"]:not([data-theme="dark"]) body .h2-hero{background:linear-gradient(135deg,#1f5f6b,#2c7c87 60%,#3f98a0)!important;border-radius:26px!important}
html[data-skin="paper"]:not([data-theme="dark"]) body .wrap,html[data-skin="paper"]:not([data-theme="dark"]) body .h2-wrap{background:transparent!important}
html[data-skin="calm"]:not([data-theme="dark"]) body .wrap{background:transparent!important}
/* v44: smaller, lighter sticky header and ticker */
html body #bn-gnav{padding-block:5px!important}
html body #bn-gnav.gn-min{padding-block:3px!important}
html body #bn-gnav .gn-r1{gap:6px!important}
html body #bn-gnav .gn-brand{transform:scale(.8);transform-origin:right center;margin-inline-start:-14px}
html body #bn-gnav .gn-nm{font-size:13px!important;font-weight:700!important}
html body #bn-gnav .gn-nm small{font-size:10px!important;font-weight:500!important}
html body #bn-gnav .gn-g,html body #bn-gnav .gn-home,html body #bn-gnav .gn-tabs button{font-size:12px!important;font-weight:600!important;padding:5px 9px!important;min-height:0!important;height:auto!important}
html body #bn-gnav.gn-min .gn-g{padding:4px 8px!important;font-size:11.5px!important}
html body #bn-gnav .gn-sw{height:30px!important;font-size:12px!important}
html body #bn-gnav .gn-sw input{font-size:12px!important;height:28px!important}
html body #bn-gnav.gn-min .gn-sw{height:30px!important}
html body #bn-dock button,html body #bn-dock a{transform:none!important;width:26px!important;height:26px!important;font-size:12px!important;min-width:0!important;padding:0!important}
html body #bn-dock .bn-date-btn{width:auto!important;padding:0 8px!important;font-size:10.5px!important}
html body #bn-gnav.gn-min #bn-tick{height:28px!important;padding:0 4px 0 9px!important;gap:7px!important}
html body #bn-tick .tk-lab{font-size:9.5px!important;font-weight:700!important;padding:2px 8px!important;height:auto!important;min-height:0!important;line-height:1.5!important}
html body #bn-tick .tk-lab::before{width:5px;height:5px}
html body #bn-tick .tk-i{font-size:11px!important;font-weight:600!important;padding:1px 2px!important}
html body #bn-tick .tk-s{font-size:8px!important}
html body #bn-tick .tk-tr{gap:12px!important}
/* v45 */
html body #bn-gnav #bn-dock>button,html body #bn-gnav #bn-dock>a,html body #bn-gnav #bn-dock #qr-bar,html body #bn-gnav #bn-dock #qt-btn{width:26px!important;height:26px!important;min-width:0!important;min-height:0!important;padding:0!important;font-size:12px!important;border-radius:8px!important}
html body #bn-gnav #bn-dock #bn-date-btn{width:auto!important;height:26px!important}
html body #bn-gnav #bn-dock{gap:4px!important;flex:none!important;height:auto!important}
@media(min-width:901px){
 html body #bn-gnav.gn-min .gn-r1{flex-wrap:nowrap!important;gap:5px!important}
 html body #bn-gnav.gn-min .gn-brand{transform:scale(.7);margin-inline:-22px -18px;flex:none}
 html body #bn-gnav.gn-min .gn-home{flex:none!important;padding:4px 8px!important}
 html body #bn-gnav.gn-min .gn-gs{flex:0 0 auto!important;flex-wrap:nowrap!important;width:auto!important;gap:2px!important}
 html body #bn-gnav.gn-min .gn-g{white-space:nowrap;padding:4px 7px!important;font-size:11px!important}
 html body #bn-gnav.gn-min #bn-tick{flex:1 1 120px!important;min-width:110px;max-width:300px;width:auto!important}
 html body #bn-gnav.gn-min .gn-sw{flex:0 1 110px!important;min-width:90px;max-width:120px!important}
}
/* v45b */
html body #bn-gnav #bn-dock #bn-menu-btn,html body #bn-gnav #bn-dock #bn-notify-btn,html body #bn-gnav #bn-dock #bn-settings-btn,html body #bn-gnav #bn-dock #theme-btn,html body #bn-gnav #bn-dock #bn-user-btn,html body #bn-gnav #bn-dock #bn-lang-btn{width:26px!important;height:26px!important;min-width:26px!important;min-height:0!important;padding:0!important;font-size:12px!important;border-radius:8px!important;line-height:1!important}
html body #bn-gnav #bn-dock #bn-date-btn{font-size:10px!important;padding:0 6px!important}
@media(min-width:901px){
 html body #bn-gnav.gn-min .gn-sw{display:none!important}
 html body #bn-gnav.gn-min #bn-tick{flex:1 1 240px!important;min-width:200px!important;max-width:420px!important}
}
/* v46 */
@media(min-width:901px){
 html body #bn-gnav.gn-min .gn-brand{order:1!important}
 html body #bn-gnav.gn-min .gn-home{order:2!important}
 html body #bn-gnav.gn-min .gn-gs{order:3!important;margin:0!important}
 html body #bn-gnav.gn-min #bn-tick{order:4!important}
 html body #bn-gnav.gn-min #bn-dock{order:5!important;margin-inline-start:auto!important}
}
html body #bn-gnav #bn-dock.is-docked #theme-btn{width:26px!important;height:26px!important}
@media(min-width:901px){html body #bn-gnav.gn-min .gn-r1::after,html body #bn-gnav.gn-min .gn-r1::before{display:none!important;content:none!important}}
/* v54: bubble below overlays */
html body .qr-bubble{z-index:9000!important}
html.bn-menu-open body .qr-bubble,html.bn-set-open body .qr-bubble,body:has(.bn-pal.open) .qr-bubble{display:none!important}
.vl49{margin-top:18px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--card)}
.vl49 h3{margin:0 0 6px;font-size:15px;color:var(--ink)}.vl49 h4{margin:12px 0 6px;font-size:13px;color:var(--ink)}
.vl-s,.vl-n{font-size:12px;line-height:1.8;color:var(--ink-2);margin:4px 0}
.vl-f{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:10px 0}
.vl-f label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--ink)}
.vl-f input{height:36px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--ink);padding:0 8px;font:inherit}
.vl-r{padding:10px 12px;border-radius:10px;background:var(--cream);color:var(--ink);font-size:13px;line-height:1.9}
.vl-t{width:100%;border-collapse:collapse;font-size:12px;color:var(--ink)}.vl-t th,.vl-t td{padding:6px 8px;border-bottom:1px solid var(--line);text-align:start}
.vl-n a{color:var(--ink);text-decoration:underline}
@media(max-width:640px){.vl-f{grid-template-columns:1fr}}
