/* v6: pinned nav, opaque previews, radio bubble arrow */
#bn-gnav.gn-fixed{z-index:900!important;box-shadow:0 8px 26px rgba(15,40,80,.18)!important}
.taxlib-modal,.taxlib-modal *{background-image:none}
html body #tax-intelligence .taxlib-modal-shade{background-color:rgba(6,17,31,.78)!important}
html body #tax-intelligence .taxlib-reader{background-color:#fff!important;color:#1c314a!important}
html body #tax-intelligence .taxlib-reader :is(h2,h3,h4,p,li,a,span,b,small,div){color:inherit}
html body #tax-intelligence .taxlib-reader h3,html body #tax-intelligence .taxlib-reader h2{color:#14283f!important}
html body #tax-intelligence .taxlib-reader .reader-columns>aside,html body #tax-intelligence .taxlib-reader .reader-toc{background-color:#f3f6fa!important}
body.dark #tax-intelligence .taxlib-reader{background-color:#172a42!important;color:#e8eef5!important}
body.dark #tax-intelligence .taxlib-reader h3,body.dark #tax-intelligence .taxlib-reader h2{color:#fff!important}
body.dark #tax-intelligence .taxlib-reader .reader-columns>aside,body.dark #tax-intelligence .taxlib-reader .reader-toc{background-color:#0f1e33!important}
html body #tax-intelligence .taxlib-reader-close{background-color:#eff2f5!important;color:#253950!important}
body.dark #tax-intelligence .taxlib-reader-close{background-color:#2a3f5a!important;color:#fff!important}
#csp,.taxlib-modal{z-index:100000!important}
.qr-bubble{display:block!important;white-space:nowrap}
body.bn-inner .qr-bubble{display:block!important}
.qr-bubble:before{left:calc(50% + var(--ax,0px))!important;margin-left:-7px!important;border-width:7px!important}
body:has(.taxlib-modal:not([hidden])) #bn-gnav,body:has(.taxlib-modal:not([hidden])) .topbar,body:has(#csp[style*="flex"]) #bn-gnav,body:has(#csp[style*="flex"]) .topbar{display:none!important}
#bn-pub :is([class*=hero],[class*=head],header)::before,#bn-pub :is([class*=hero],[class*=head],header)::after{display:none!important}
#bn-pub [class*=hero]{filter:none!important}
body:has(.taxlib-modal:not([hidden])) .qr-bubble,body:has(#csp[style*="flex"]) .qr-bubble{display:none!important}
body.dir-c #bn-home2 .h2-logo{background:transparent!important;border:0!important;box-shadow:none!important;width:84px;height:64px}
body.dir-c #bn-home2 .h2-logo img{max-width:100%;max-height:100%;filter:none}
@media(max-width:700px){body.dir-c #bn-home2 .h2-logo{width:72px;height:54px}}
/* v8: contact button above the team fab, icon only */
html body .bn-connect-widget{left:auto!important;right:14px!important;bottom:96px!important;z-index:160!important}
html body .bn-connect-trigger .bn-connect-label,html body .bn-connect-trigger .bn-connect-live{display:none!important}
html body .bn-connect-trigger{width:66px!important;min-width:0!important;height:50px!important;padding:0!important;justify-content:center!important;gap:0!important}
html body .bn-connect-panel{left:auto!important;right:0!important}
/* v10: smart summary panel in document viewer */
#csp .sm{background:#f7f9fc;border:1px solid #d6dfec;border-radius:12px;padding:8px 12px;font-size:13px;color:#16263d}
#csp .sm>summary{cursor:pointer;font-weight:800;color:#0f3d75!important}
#csp .smb{max-height:30vh;overflow:auto;margin-top:8px;display:flex;flex-direction:column;gap:7px}
#csp .smr{display:flex;flex-direction:column;gap:3px}#csp .smr>b{color:#0f3d75;font-size:12.5px}
#csp .smr>span,#csp .smp{line-height:1.8;color:#16263d}#csp .smp i{font-style:normal;font-weight:800;color:#8a5a00}
#csp .smt{display:flex;flex-wrap:wrap;gap:6px}#csp .smo{display:flex;flex-direction:column;gap:4px}
#csp .smn{font-size:12px;color:#5b6678;line-height:1.7}
#csp .smq{font-size:12px;font-weight:800;border-radius:8px;padding:3px 9px;align-self:flex-start;background:#e6f4ea;color:#14532d}
#csp .smq.fair{background:#fff3d6;color:#7a4b00}#csp .smq.poor{background:#fde8e8;color:#8a1c1c}
body.dark #csp .sm{background:#0f1e33;border-color:#2b4163;color:#e8eef8}
body.dark #csp .sm>summary,body.dark #csp .smr>b{color:#8fc1ff!important}
body.dark #csp .smr>span,body.dark #csp .smp{color:#e8eef8}body.dark #csp .smp i{color:#f0c76a}body.dark #csp .smn{color:#b6c4d8}
body.dark #csp .smq{background:#12331f;color:#9be7b2}body.dark #csp .smq.fair{background:#3a2b08;color:#f5d58a}body.dark #csp .smq.poor{background:#3d1717;color:#ffb4b4}
@media(max-width:700px){#csp .smb{max-height:24vh}}
html body #tax-intelligence .bn-dsum{margin:14px 0;border:1px solid #d6dfec;border-radius:12px;padding:12px 14px;background-color:#f7f9fc!important;display:flex;flex-direction:column;gap:8px;font-size:13.5px;color:#16263d}
html body #tax-intelligence .bn-dsum>b{color:#0f3d75}
html body #tax-intelligence .bn-dsum .r{display:flex;flex-direction:column;gap:3px}html body #tax-intelligence .bn-dsum .r i{font-style:normal;font-weight:800;color:#8a5a00;font-size:12.5px}
html body #tax-intelligence .bn-dsum .chips{display:flex;flex-wrap:wrap;gap:6px}html body #tax-intelligence .bn-dsum em{font-style:normal;background-color:#e9f0fa!important;color:#0f3d75;border-radius:8px;padding:3px 9px;font-size:12.5px}
html body #tax-intelligence .bn-dsum small{color:#5b6678;line-height:1.7}
body.dark #tax-intelligence .bn-dsum{background-color:#0f1e33!important;border-color:#2b4163;color:#e8eef8}
body.dark #tax-intelligence .bn-dsum>b{color:#8fc1ff}body.dark #tax-intelligence .bn-dsum .r i{color:#f0c76a}
body.dark #tax-intelligence .bn-dsum em{background-color:#1d3556!important;color:#dbe9ff}body.dark #tax-intelligence .bn-dsum small{color:#b6c4d8}
#bn-gnav .gn-crumb a.cur{color:var(--g)}#bn-gnav .gn-crumb a{cursor:pointer}#bn-gnav .gn-crumb a:hover{text-decoration:underline}
/* v12 compact summary + law blocks */
#csp .sm{padding:5px 10px;font-size:12px}#csp .sm>summary{font-size:12.5px;list-style:none}
#csp .smb{max-height:34vh}
.lw{border:1px solid #d6dfec;border-radius:10px;padding:8px 10px;margin:4px 0;display:flex;flex-direction:column;gap:4px;font-size:12.5px;line-height:1.8}
.lw>b{color:#0f3d75}.lw .why{color:#5b6678}.lw .lr{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.lw .lr i{font-style:normal;font-weight:800;color:#8a5a00;min-width:92px}
.lw .lk{color:#0b5bb8!important;text-decoration:underline;font-weight:700;cursor:pointer}.lw .lk.ex{color:#0a6b4a!important}
.lw .vf{font-style:normal;font-size:11px;background:#fff3d6;color:#7a4b00;border-radius:6px;padding:1px 7px}
body.dark .lw{border-color:#2b4163}body.dark .lw>b{color:#8fc1ff}body.dark .lw .why{color:#b6c4d8}body.dark .lw .lr i{color:#f0c76a}
body.dark .lw .lk{color:#8fc1ff!important}body.dark .lw .lk.ex{color:#7be0b0!important}body.dark .lw .vf{background:#3a2b08;color:#f5d58a}
.lw .lr span{color:inherit}body.dark .lw{color:#e8eef8}.lw{color:#16263d}
#tax-intelligence .lw .lr span,#tax-intelligence .lw{color:inherit}
html body #tax-intelligence details.bn-dsum{padding:7px 12px;margin:10px 0;display:block}
html body #tax-intelligence details.bn-dsum>summary{cursor:pointer;font-weight:800;font-size:13px;color:#0f3d75}
body.dark #tax-intelligence details.bn-dsum>summary{color:#8fc1ff}
html body #tax-intelligence details.bn-dsum[open]>summary{margin-bottom:8px}
html body #tax-intelligence details.bn-dsum .r{margin-bottom:6px}
/* v13: contact + team chips, same motion */
@keyframes bnChipIn{from{opacity:0;transform:translateY(14px) scale(.9)}to{opacity:1;transform:none}}
html body .bn-connect-trigger,html body #tm-fab{width:46px!important;min-width:0!important;height:38px!important;padding:0!important;border-radius:13px!important;display:flex!important;align-items:center;justify-content:center;gap:0!important;border:1px solid rgba(239,194,91,.9)!important;background:linear-gradient(145deg,#142d4a,#07182d 72%)!important;color:#f7d68b!important;-webkit-text-fill-color:currentColor;box-shadow:0 6px 18px #0007,inset 0 1px 0 #ffffff25!important;transition:transform .22s,box-shadow .22s,border-color .22s;animation:bnChipIn .5s ease both;font-size:0!important}
html body #tm-fab{position:fixed!important;right:14px!important;bottom:14px!important;left:auto!important}
html body .bn-connect-widget{right:14px!important;left:auto!important;bottom:60px!important}
html body .bn-connect-trigger-icon{width:26px;height:26px}
html body #tm-fab:hover,html body #tm-fab:focus-visible,html body .bn-connect-trigger:hover{transform:translateY(-3px)!important;border-color:#ffe2a0!important;box-shadow:0 11px 26px #0009,0 0 18px #e5b64d55!important;outline:0;background:linear-gradient(145deg,#142d4a,#07182d 72%)!important}
html body #tm-fab svg{width:21px;height:21px;color:#f7d68b}
@media(prefers-reduced-motion:reduce){html body .bn-connect-trigger,html body #tm-fab{animation:none}}

/* v14: single header: date beside search always, icon cluster docks into header on scroll */
.topbar.tb-docked{visibility:hidden}
#bn-gnav #bn-dock{display:flex;align-items:center;gap:6px;flex:0 0 auto}
#bn-gnav #bn-dock .bn-date-btn{height:36px;padding:0 10px;font-size:12px;white-space:nowrap;margin:0;border-radius:12px}
#bn-gnav #bn-dock .bn-date-btn b{font-size:12px}
#bn-gnav.gn-min .gn-sw{display:flex!important;flex:0 1 150px;max-width:170px}
#bn-gnav.gn-min .gn-nm small{display:none}
#bn-gnav #bn-dock.is-docked .bn-tool-btn,#bn-gnav #bn-dock.is-docked #theme-btn,#bn-gnav #bn-dock.is-docked #qr-btn{width:32px!important;height:32px!important;min-width:0!important;padding:0!important;font-size:14px!important;flex:0 0 auto;border-radius:10px!important}
#bn-gnav #bn-dock.is-docked #bn-lang-btn{width:auto!important;padding:0 9px!important;font-size:12px!important}
#bn-gnav #bn-dock .qr-bar{flex:0 0 auto;margin:0!important;padding:0!important;min-height:0!important;border:0!important;background:none!important}
#bn-gnav #bn-dock .qr-bar>*:not(#qr-btn){display:none!important}
@media(max-width:700px){
 #bn-gnav .gn-sw{flex:1 1 0!important;min-width:0;max-width:none!important}
 #bn-gnav #bn-dock .bn-date-btn{height:43px;font-size:11px;padding:0 8px}#bn-gnav #bn-dock .bn-date-btn b{display:none}
 #bn-gnav.gn-min .gn-sw{display:none!important}
 #bn-gnav.gn-min .gn-nm{display:none}
 #bn-gnav.gn-min #bn-dock{flex:1 1 auto;justify-content:space-between;gap:3px}
 #bn-gnav #bn-dock.is-docked #bn-user-btn,#bn-gnav #bn-dock.is-docked #bn-lang-btn{display:none!important}
 #bn-gnav #bn-dock.is-docked .bn-date-btn{height:32px}
}
@media(min-width:701px){#bn-gnav:not(.gn-min) .gn-sw{flex:1 1 170px;max-width:230px}#bn-gnav:not(.gn-min) #bn-dock .bn-date-btn{padding:0 8px;font-size:11.5px}}
/* v14b fit */
#bn-gnav #bn-dock .bn-date-btn{flex:0 0 auto!important;width:auto!important;margin:0!important}
@media(min-width:701px){
 #bn-gnav .gn-r1{flex-wrap:nowrap!important}
 #bn-gnav:not(.gn-min) .gn-sw{flex:1 1 120px!important;min-width:110px;max-width:230px}
 #bn-gnav.gn-min .gn-sw{flex:0 1 130px!important;min-width:100px}
 #bn-gnav.gn-min .gn-nm,#bn-gnav.gn-min .gn-home span{display:none!important}
 #bn-gnav.gn-min .gn-g{padding:7px 10px!important;font-size:13px!important}
 #bn-gnav.gn-min .gn-gs{flex-wrap:nowrap!important}
 #bn-gnav #bn-dock.is-docked #bn-user-btn,#bn-gnav #bn-dock.is-docked #bn-lang-btn{display:none!important}
}
@media(max-width:700px){
 #bn-gnav.gn-min .gn-r1{flex-wrap:nowrap!important}
 #bn-gnav.gn-min #bn-dock{min-width:0}
 #bn-gnav #bn-dock.is-docked .bn-date-btn{flex:0 1 auto!important;min-width:0;max-width:96px;overflow:hidden;text-overflow:ellipsis;font-size:10.5px;padding:0 6px}
 #bn-gnav #bn-dock.is-docked .bn-date-btn #bn-date-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
 #bn-gnav.gn-min .gn-brand{flex:0 0 auto}
}
#bn-gnav #bn-dock #qr-bar,#bn-gnav #bn-dock #qt-btn{display:inline-flex!important;visibility:visible!important}
#bn-gnav #bn-dock #qt-btn{width:32px!important;height:32px!important;flex:0 0 auto}
@media(max-width:700px){#bn-gnav #bn-dock.is-docked #qt-btn{display:none!important}}
/* v14: team popup = contact popup look */
html body .team-bn{position:fixed!important;left:auto!important;top:auto!important;right:14px!important;bottom:111px!important;transform:translateY(9px) scale(.98)!important;transform-origin:bottom right;width:min(330px,calc(100vw - 32px))!important;max-height:min(68vh,560px)!important;overflow:auto;margin:0!important;padding:14px!important;border:1px solid #c69a45!important;border-radius:19px!important;text-align:right;z-index:10060!important;box-shadow:0 18px 55px #000b,inset 0 1px 0 #ffffff1c!important;background:linear-gradient(155deg,#142e4c,#07172a 80%)!important;color:#fff!important;display:block!important;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,transform .2s,visibility .2s}
html body .team-bn:not([hidden]){opacity:1;visibility:visible;pointer-events:auto;transform:none!important}
html[data-theme="light"] body .team-bn,html[data-theme="light"] .team-bn{background:linear-gradient(155deg,#fff,#f0f4f8)!important;color:#142943!important}
html body .team-bn .tm-head{display:flex;align-items:center;gap:10px;padding:3px 2px 13px;border-bottom:1px solid #ffffff1b;margin-bottom:10px;position:static}
html[data-theme="light"] .team-bn .tm-head{border-bottom-color:#14294322}
html body .team-bn .tm-orb{width:37px;height:37px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#f4d58d,#b77b1f);color:#172941}
html body .team-bn .tm-head div{display:grid;gap:3px;flex:1}
html body .team-bn .tm-head strong{font-size:14px;color:#fff!important}
html body .team-bn .tm-head small{font-size:11px;color:#c4cfdd!important}
html[data-theme="light"] .team-bn .tm-head strong{color:#142943!important}
html[data-theme="light"] .team-bn .tm-head small{color:#53677f!important}
html body .team-bn .tm-x{position:static!important;border:0;background:#ffffff12;color:#fff;border-radius:9px;width:28px;height:28px;font-size:20px;cursor:pointer}
html[data-theme="light"] .team-bn .tm-x{background:#14294312;color:#142943}
html body .team-bn>p{font-size:11.5px!important;line-height:1.8!important;margin:0 0 10px!important;color:#c4cfdd!important;max-width:none}
html[data-theme="light"] .team-bn>p{color:#53677f!important}
html body .team-bn .tm-grid{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}
html body .team-bn .tm-card{border-radius:13px;border:1px solid #ffffff1c}
html body .tm-back{background:transparent!important;z-index:10055!important}
@media(max-width:600px){html body .team-bn{right:12px!important;width:min(310px,calc(100vw - 24px))!important}}
@media(prefers-reduced-motion:reduce){html body .team-bn{transition:none}}
html body .bn-connect-choice-icon,html body .bn-connect-choice-icon.firm{color:#13263f!important}
html[data-theme="dark"] body .bn-connect-choice i{color:#eac56e!important}
html[data-theme="light"] body .bn-connect-choice i{color:#8b641e!important}
html[data-theme="light"] body .team-bn .tm-card{background:#fff!important;border-color:#d5dfeb}
html[data-theme="light"] body .team-bn .tm-card figcaption b{color:#142943!important}
html[data-theme="light"] body .team-bn .tm-card figcaption span{color:#4a5c74!important}
html[data-theme="dark"] body .team-bn .tm-card{background:#0f2038!important}
html[data-theme="dark"] body .team-bn .tm-card figcaption b{color:#fff!important}
html[data-theme="dark"] body .team-bn .tm-card figcaption span{color:#c4cfdd!important}
/* v14: scrolled header = row1 (logo, ticker, search, date+icons), row2 (tabs) */
#bn-tick{display:none}
#bn-gnav.gn-min #bn-tick{display:flex;align-items:center;gap:8px;flex:1 1 120px;min-width:0;height:36px;overflow:hidden;order:1;border-radius:12px;background:var(--card2,var(--card));border:1px solid var(--ln);padding:0 8px}
#bn-tick .tk-lab{flex:0 0 auto;font-size:10.5px;font-weight:800;color:#8a5a00;background:#fff3d6;border-radius:8px;padding:3px 8px;white-space:nowrap}
html[data-theme="dark"] #bn-tick .tk-lab{background:#3a2c0b;color:#f3c85f}
#bn-tick .tk-vp{flex:1 1 auto;min-width:0;overflow:hidden;position:relative;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
#bn-tick .tk-tr{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;animation:bnTick 60s linear infinite;will-change:transform}
#bn-tick:hover .tk-tr{animation-play-state:paused}
@keyframes bnTick{from{transform:translateX(0)}to{transform:translateX(50%)}}
#bn-tick .tk-i{border:0;background:none;font:inherit;font-size:12px;font-weight:700;color:var(--ink);cursor:pointer;padding:0}
#bn-tick .tk-i:hover{text-decoration:underline}
#bn-tick .tk-s{color:#c69a45;font-size:8px}
@media(prefers-reduced-motion:reduce){#bn-tick .tk-tr{animation:none}#bn-tick .tk-vp{overflow-x:auto}}
#bn-gnav.gn-min .gn-r1{flex-wrap:wrap!important}
#bn-gnav.gn-min .gn-brand{order:0}
#bn-gnav.gn-min .gn-sw{order:2}
#bn-gnav.gn-min #bn-dock{order:3}
#bn-gnav.gn-min .gn-home{order:4}
#bn-gnav.gn-min .gn-gs{order:5;display:flex!important;flex:1 1 0;min-width:0;width:auto!important}
#bn-gnav.gn-min .gn-home span{display:inline!important}
@media(min-width:701px){#bn-gnav.gn-min .gn-nm{display:block!important}#bn-gnav.gn-min .gn-nm small{display:none}#bn-gnav.gn-min .gn-g{padding:7px 14px!important;font-size:13.5px!important}#bn-gnav.gn-min .gn-r1{row-gap:6px}#bn-gnav.gn-min .gn-sw{flex:0 1 180px!important}}
@media(max-width:700px){
 #bn-gnav.gn-min .gn-brand{order:0}
 #bn-gnav.gn-min .gn-nm{display:none!important}
 #bn-gnav.gn-min #bn-tick{order:6;flex:1 1 100%;height:28px}
 #bn-gnav.gn-min .gn-home span{display:none!important}
 #bn-gnav.gn-min .gn-gs{overflow-x:auto;flex-wrap:nowrap}
}
#bn-gnav.gn-min .gn-r1::after{content:"";order:3;flex:0 0 100%;height:0}
/* v14: compact professional deadlines guide */
#bn-deadlines{max-width:1040px;margin:10px auto 60px}
#bn-deadlines .dl-head h2{font-size:20px;margin:2px 0 4px}
#bn-deadlines .dl-head p{font-size:12.5px;line-height:1.7;margin:0;max-width:none}
#bn-deadlines .dl-kick{font-size:11px}
#bn-deadlines .dl-next{margin:12px 0 8px}#bn-deadlines .dl-next h3{font-size:12px;margin:0 0 6px}
#bn-deadlines .dl-nextrow{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}
#bn-deadlines .dl-chip{padding:7px 10px;border-radius:10px;gap:1px;grid-template-columns:auto 1fr;grid-template-areas:"d r" "t t"}
#bn-deadlines .dl-chip b{grid-area:d;font-size:12.5px}#bn-deadlines .dl-chip em{grid-area:r;text-align:end;font-size:11px}
#bn-deadlines .dl-chip span{grid-area:t;font-size:11.5px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#bn-deadlines .dl-filters{gap:6px;margin:6px 0 8px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
#bn-deadlines .dl-filters button{padding:4px 11px;font-size:12px;white-space:nowrap;flex:0 0 auto}
#bn-deadlines .dl-list{display:block;border:1px solid var(--ln);border-radius:12px;overflow:hidden;background:var(--card)}
#bn-deadlines .dl-th,#bn-deadlines .dl-row{display:grid;grid-template-columns:104px minmax(0,1.6fr) minmax(0,1.2fr) 96px 70px 18px;gap:10px;align-items:center;padding:7px 12px}
#bn-deadlines .dl-th{background:var(--card2);font-size:11px;font-weight:800;color:var(--mut);padding-block:6px}
#bn-deadlines .dl-item{border:0;border-top:1px solid var(--ln);border-radius:0;padding:0;box-shadow:none;background:transparent}
#bn-deadlines .dl-row{cursor:pointer;font-size:12.5px}
#bn-deadlines .dl-row:hover,#bn-deadlines .dl-item.open .dl-row{background:var(--card2)}
#bn-deadlines .dl-d{font-weight:800;color:var(--bd);font-variant-numeric:tabular-nums;font-size:12.5px}
#bn-deadlines .dl-t{display:grid;gap:1px;min-width:0}#bn-deadlines .dl-t b{font-size:13px;color:var(--ink);font-weight:800;line-height:1.4}#bn-deadlines .dl-t small{font-size:11px;color:var(--mut)}
#bn-deadlines .dl-bs{font-size:11.5px;color:var(--mut);line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
#bn-deadlines .dl-badge{margin:0;font-size:10.5px;padding:2px 8px;text-align:center;white-space:nowrap}
#bn-deadlines .dl-r{font-style:normal;font-weight:800;color:var(--g);font-size:11.5px;white-space:nowrap}
#bn-deadlines .dl-ch{font-style:normal;color:var(--mut);transition:transform .2s}#bn-deadlines .dl-item.open .dl-ch{transform:rotate(180deg)}
#bn-deadlines .dl-body{padding:6px 14px 12px;background:var(--card2);border-top:1px dashed var(--ln)}
#bn-deadlines .dl-body[hidden]{display:none}
#bn-deadlines .dl-note{font-size:12px;margin:2px 0 8px}
#bn-deadlines dl{grid-template-columns:96px 1fr;gap:4px 12px;font-size:12.5px;line-height:1.7}
#bn-deadlines .dl-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px;font-size:12px}
#bn-deadlines .dl-foot{font-size:11px;line-height:1.7;color:var(--mut);margin-top:10px}
@media(max-width:700px){
 #bn-deadlines .dl-th{display:none}
 #bn-deadlines .dl-row{grid-template-columns:auto 1fr auto 14px;grid-template-areas:"d r b c" "t t t t";gap:2px 8px;padding:8px 10px}
 #bn-deadlines .dl-d{grid-area:d}#bn-deadlines .dl-r{grid-area:r;text-align:start}#bn-deadlines .dl-badge{grid-area:b}#bn-deadlines .dl-ch{grid-area:c}#bn-deadlines .dl-t{grid-area:t}
 #bn-deadlines .dl-bs{display:none}
 #bn-deadlines dl{grid-template-columns:1fr}#bn-deadlines dt{margin-top:4px}
}
#bn-deadlines .dl-th,#bn-deadlines .dl-row{grid-template-columns:100px minmax(0,1.5fr) minmax(0,1.1fr) 132px 66px 16px}
#bn-deadlines .dl-badge{overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){#bn-deadlines .dl-nextrow{display:flex;overflow-x:auto;gap:8px;scrollbar-width:none}#bn-deadlines .dl-chip{flex:0 0 210px}}
#bn-deadlines .dl-th,#bn-deadlines .dl-row{grid-template-columns:100px minmax(0,1.5fr) minmax(0,1fr) 152px 66px 16px}
/* v15: official references as organized cards */
.lib-q{width:100%;max-width:360px;display:block;margin:8px 0;padding:7px 12px;border:1px solid var(--ln);border-radius:10px;background:var(--card2,var(--card));color:var(--ink);font:inherit;font-size:13px}
.lib-chips{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 10px}
.lib-chip{border:1px solid var(--ln)!important;background:var(--card)!important;color:var(--bd,var(--ink))!important;border-radius:999px!important;padding:4px 12px!important;font:700 12px inherit!important;cursor:pointer}
.lib-chip.on{background:var(--b,#1d5fb4)!important;border-color:var(--b,#1d5fb4)!important;color:#fff!important}
.lib-chip small{opacity:.75;margin-inline-start:4px;font-weight:600}
.lib-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.lib-gh{grid-column:1/-1;display:flex;align-items:center;gap:8px;margin:10px 0 0;font-size:13px;font-weight:800;color:var(--bd,var(--ink))}
.lib-gh::after{content:"";flex:1;height:1px;background:var(--ln)}
.lib-gh em{font-style:normal;font-size:11px;color:var(--mut);font-weight:700}
.lib-gh[hidden]{display:none}
.lib-item{display:grid!important;grid-template-columns:1fr auto;grid-template-areas:"t t" "m o";gap:6px 8px;align-items:center;padding:10px 12px;border:1px solid var(--ln);border-radius:12px;background:var(--card);color:var(--ink)!important;text-decoration:none!important;transition:border-color .15s,transform .15s}
.lib-item:hover{border-color:var(--b,#1d5fb4);transform:translateY(-1px)}
.lib-item[hidden]{display:none!important}
.lib-item .lib-t{grid-area:t;font-size:13px;font-weight:800;line-height:1.55;color:var(--ink)}
.lib-item .lib-m{grid-area:m;display:flex;align-items:center;gap:8px;font-size:11px;color:var(--mut);min-width:0}
.lib-item .lib-ty{font-size:10.5px;font-weight:800;border-radius:6px;padding:2px 7px;background:var(--tint-b,#e8f0fb);color:var(--bd,#0f3d75)}
.lib-item .lib-h{direction:ltr;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lib-item::after{content:"فتح ↗";grid-area:o;font-size:11.5px;font-weight:800;color:var(--b,#1d5fb4)}
@media(max-width:1000px){.lib-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.lib-list{grid-template-columns:1fr}}
/* v15: tighten inner pages (not home) */
body:not(.home) .card{padding:14px 16px!important;border-radius:14px!important;margin-block:10px!important}
body:not(.home) .sec-title{font-size:19px!important;margin:0 0 6px!important;line-height:1.4}
body:not(.home) .tool-desc{font-size:12.5px!important;line-height:1.75!important;margin:0 0 8px!important}
body:not(.home) .hint{font-size:11.5px!important;line-height:1.7!important}
#bn-pub [class*=hero],#bn-suite [class*=hero],.su-hero,.pub-hero{padding:14px 18px!important;min-height:0!important}
#bn-pub h1,#bn-suite h1,.su-hero h1,.pub-hero h1{font-size:22px!important;margin:4px 0!important}
#bn-pub [class*=hero] p,.su-hero p{font-size:12.5px!important;line-height:1.7!important;margin:4px 0!important}
/* v16: result rows open the in-site viewer */
#bn-pub .pb-ent[data-row]{cursor:pointer}#bn-pub .pb-ent[data-row]:hover{background:rgba(201,162,74,.08)}
#bn-pub button.pb-open{font-family:inherit;cursor:pointer;border:0}
html[data-theme="dark"] #bn-gnav #bn-dock #qt-btn,html[data-theme="dark"] .topbar #qt-btn{background:#1d3050!important;color:#f3d58a!important}
#csp .pg i{color:#5b6678!important}
html:not([data-theme="dark"]) .tk-s{color:#8a6410!important}
