/* Bankamatic 5.7 — header market dock, tool sidebar and accessible theme polish */
.bm-head-main{min-height:92px;height:auto;gap:20px;padding:14px 0}.bm-brand-zone{display:flex;align-items:center;gap:30px;min-width:0;flex:1}.bm-market-strip{display:none!important}.bm-market-dock{display:grid;grid-template-columns:repeat(4,minmax(122px,1fr));gap:8px;min-width:0;max-width:660px;flex:1}.bm-market-chip{display:flex!important;align-items:center;gap:9px;min-height:54px;padding:9px 11px;border:1px solid var(--bm-line);border-radius:13px;background:var(--bm-soft);color:var(--bm-ink)!important;text-decoration:none!important;overflow:hidden;transition:border-color .18s ease,background .18s ease,transform .18s ease}.bm-market-chip:hover{background:var(--bm-card);border-color:color-mix(in srgb,var(--bm-brand) 55%,var(--bm-line));transform:translateY(-1px)}.bm-market-chip i{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:var(--bm-card);border:1px solid var(--bm-line);font-style:normal;font-weight:900;color:var(--bm-brand)}.bm-market-chip span{display:block;min-width:0}.bm-market-chip small{display:block;color:var(--bm-muted);font-size:10px;font-weight:800;line-height:1.1;white-space:nowrap}.bm-market-chip strong{display:block;margin-top:4px;color:var(--bm-ink);font-size:13px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bm-market-gram-altin i{color:#a87910}.bm-market-bitcoin i{color:#d97706}
.bm-side-card{background:var(--bm-card)!important;color:var(--bm-ink)!important;border:1px solid var(--bm-line)!important;border-radius:18px!important;box-shadow:none!important;padding:22px!important}.bm-side-card h2{display:block!important;max-width:none!important;margin:7px 0 18px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--bm-ink)!important;font-size:23px!important}.bm-side-tool-list{display:grid;gap:9px}.bm-side-tool-list>a{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;padding:11px;border:1px solid var(--bm-line);border-radius:12px;background:var(--bm-soft);color:var(--bm-ink)!important}.bm-side-tool-list>a:hover{background:var(--bm-card);border-color:var(--bm-brand)}.bm-side-tool-list i{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--bm-card);color:var(--bm-brand);font-style:normal;font-weight:900}.bm-side-tool-list span,.bm-side-tool-list strong,.bm-side-tool-list small{display:block}.bm-side-tool-list strong{font-size:13px;line-height:1.25}.bm-side-tool-list small{margin-top:3px;color:var(--bm-muted);font-size:10px;line-height:1.3}.bm-side-tool-list b{color:var(--bm-muted)}.bm-side-pills{display:flex;flex-wrap:wrap;gap:8px}.bm-side-pills a{padding:8px 10px;border:1px solid var(--bm-line);border-radius:999px;background:var(--bm-soft);color:var(--bm-ink)!important;font-size:12px;font-weight:750}.bm-side-pills a:hover{border-color:var(--bm-brand);color:var(--bm-brand)!important}
html[data-theme=dark] .bm-market-chip,html[data-theme=dark] .bm-side-tool-list>a,html[data-theme=dark] .bm-side-pills a{background:#151d2b!important;border-color:#344057!important}html[data-theme=dark] .bm-market-chip:hover,html[data-theme=dark] .bm-side-tool-list>a:hover{background:#1b2638!important;border-color:#5b87d8!important}html[data-theme=dark] .bm-market-chip i,html[data-theme=dark] .bm-side-tool-list i{background:#0e1521!important;border-color:#344057!important}html[data-theme=dark] .bm-market-chip strong,html[data-theme=dark] .bm-side-tool-list strong{color:#f4f7fb!important}html[data-theme=dark] .bm-market-chip small,html[data-theme=dark] .bm-side-tool-list small{color:#b6c1d2!important}
/* Body copy contrast: no dark-on-dark remnants. */
html[data-theme=dark] .bm-site-main p,html[data-theme=dark] .bm-site-main li,html[data-theme=dark] .entry-content p,html[data-theme=dark] .entry-content li{color:#c4cedd!important}html[data-theme=dark] .bm-site-main h1,html[data-theme=dark] .bm-site-main h2,html[data-theme=dark] .bm-site-main h3{color:#f4f7fb!important}
@media(max-width:1100px){.bm-brand-zone{gap:18px}.bm-market-dock{grid-template-columns:repeat(2,minmax(120px,1fr));max-width:390px}.bm-market-chip:nth-child(n+3){display:none!important}}
@media(max-width:760px){.bm-head-main{min-height:72px;padding:10px 0}.bm-brand-zone{width:100%;justify-content:space-between}.bm-market-dock{display:flex;max-width:205px;overflow:hidden}.bm-market-chip{flex:1 0 96px;min-height:46px;padding:7px}.bm-market-chip:nth-child(n+3){display:none!important}.bm-market-chip i{display:none}.bm-market-chip small{font-size:9px}.bm-market-chip strong{font-size:11px}.bm-wordmark small{display:none}.bm-head-actions{flex:0 0 auto}}
@media(max-width:480px){.bm-market-dock{max-width:108px}.bm-market-chip:nth-child(n+2){display:none!important}.bm-head-actions .bm-search-open{display:none}}
