/* Sobekhanei shared visual system - Sobekhanei Blue Utility */
:root{
  --sob-bg:#F8FAFC;
  --sob-surface:#FFFFFF;
  --sob-ink:#0F172A;
  --sob-accent:#2563EB;
  --sob-accent-strong:#1D4ED8;
  --sob-accent-soft:#DBEAFE;
  --sob-accent-border:#BFDBFE;
  --sob-muted:#64748B;
  --sob-muted-strong:#52627E;
  --sob-border:#E2E8F0;
  --sob-pale:#EFF6FF;
  --sob-subtle:#F1F5F9;
  --sob-radius-sm:8px;
  --sob-radius-md:12px;
  --sob-shadow:0 5px 18px rgba(37,99,235,.07);
}
html.sob-site-page,html.sob-site-page body{background:var(--sob-bg);color:var(--sob-ink)}
html.sob-site-page body{font-family:Inter,"Noto Sans Bengali",sans-serif}
html.sob-site-page #app{min-height:100vh;display:flex;flex-direction:column}
html.sob-site-page #main{flex:1 0 auto;min-width:0}
html.sob-site-page .wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}

/* Shared navigation */
html.sob-site-page header{position:relative;z-index:100;background:rgba(255,255,255,.97);border-bottom:1px solid var(--sob-border);box-shadow:0 2px 12px rgba(15,23,42,.035)}
html.sob-site-page .nav{width:min(1360px,calc(100% - 40px));min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:18px}
html.sob-site-page .brand{width:245px;flex:0 0 245px;display:flex;align-items:center}
html.sob-site-page .brand img{display:block;width:245px;height:56px;object-fit:contain;object-position:left center}
html.sob-site-page .nav nav.home-nav{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-width:0}
html.sob-site-page .home-nav-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 13px;border:1px solid transparent;border-radius:24px;color:#0F172A;font-size:14px;font-weight:650;white-space:nowrap;transition:background .18s ease,color .18s ease,border-color .18s ease}
html.sob-site-page .home-nav-link svg{width:19px;height:19px;flex:0 0 19px;stroke-width:2.1}
html.sob-site-page .home-nav-link:nth-child(1) svg{color:#2563EB}
html.sob-site-page .home-nav-link:nth-child(2) svg{color:#166534}
html.sob-site-page .home-nav-link:nth-child(3) svg{color:#2563EB}
html.sob-site-page .home-nav-link:nth-child(4) svg{color:#1D4ED8}
html.sob-site-page .home-nav-link:nth-child(5) svg{color:#EF4444}
html.sob-site-page .home-nav-link:hover,
html.sob-site-page .home-nav-link.is-active{background:#EFF6FF;border-color:#BFDBFE;color:var(--sob-accent)}
html.sob-site-page .home-nav-link.is-active{font-weight:750}
html.sob-site-page .home-nav-link:hover svg{filter:saturate(1.2)}
html.sob-site-page .home-language-hidden{display:none!important}
html.sob-site-page .home-header-controls{display:flex;align-items:center;gap:10px;flex:0 0 auto}
html.sob-site-page .home-language-switch{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid #E2E8F0;border-radius:24px;background:#EFF6FF}
html.sob-site-page .home-language-switch button{border:0;border-radius:20px;background:transparent;color:#0F172A;padding:8px 13px;font-size:13px;font-weight:700;line-height:1.2}
html.sob-site-page .home-language-switch button[aria-pressed="true"]{background:var(--sob-accent);color:#fff;box-shadow:0 3px 9px rgba(37,99,235,.18)}
html.sob-site-page .home-theme-toggle{width:40px;height:40px;display:grid;place-items:center;border:1px solid #DBEAFE;border-radius:50%;background:#EFF6FF;color:#1E40AF}
html.sob-site-page .home-theme-toggle svg{width:19px;height:19px}
html.sob-site-page #menu{display:none;width:40px;height:40px;border:1px solid var(--sob-accent-border);border-radius:11px;background:#EFF6FF;color:var(--sob-accent);font-size:22px;line-height:1}

/* Shared page hierarchy */
html.sob-site-page .page-intro{width:min(1180px,calc(100% - 40px));min-height:0;padding:42px 0 34px}
html.sob-site-page .page-intro h1{margin:7px 0 8px;color:var(--sob-ink);font-size:clamp(28px,3vw,38px);font-weight:750;line-height:1.35;letter-spacing:-.5px}
html.sob-site-page .page-intro>p{max-width:720px;margin:0;color:var(--sob-muted-strong);font-size:15px;line-height:1.8}
html.sob-site-page .eyebrow{color:var(--sob-accent);font-size:11px;letter-spacing:1.1px;font-weight:750}
html.sob-site-page .tool-section{padding-top:12px;padding-bottom:36px}
html.sob-site-page .section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}
html.sob-site-page .section-head h2{margin:5px 0 0;padding-left:13px;border-left:4px solid var(--sob-accent);color:var(--sob-ink);font-size:23px;font-weight:750;line-height:1.35}
html.sob-site-page .section-head>a,
html.sob-site-page .text-link{color:var(--sob-accent-strong);font-weight:700}
html.sob-site-page .hero{background:#EFF6FF;border-bottom:1px solid #DBEAFE;padding:48px 0}
html.sob-site-page .hero h1{color:var(--sob-ink);font-size:clamp(30px,3.5vw,44px);line-height:1.35}
html.sob-site-page .hero p{color:var(--sob-muted-strong);line-height:1.8}
html.sob-site-page .hero-art{filter:saturate(1.12)}
html.sob-site-page .workspace{padding:30px 0 56px;min-height:540px}
html.sob-site-page .breadcrumb{color:var(--sob-muted);font-size:12px}
html.sob-site-page .breadcrumb a{color:var(--sob-accent-strong);font-weight:650}
html.sob-site-page .workspace-heading{gap:17px;margin-bottom:22px}
html.sob-site-page .workspace-heading h1{color:var(--sob-ink);font-size:28px;font-weight:750;line-height:1.35}
html.sob-site-page .workspace-heading p{color:var(--sob-muted);line-height:1.7}

/* Tool cards and real category colours */
html.sob-site-page .tool-grid{gap:16px}
html.sob-site-page .tool-card{min-height:190px;padding:20px 18px;border:1px solid var(--sob-border);border-radius:16px;background:#FFFFFF;box-shadow:0 2px 8px rgba(15,23,42,.025);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
html.sob-site-page .tool-card:hover{transform:translateY(-3px);border-color:#BFDBFE;box-shadow:0 10px 22px rgba(37,99,235,.10)}
html.sob-site-page .tool-icon{width:62px;height:62px;margin-bottom:13px;border:1px solid var(--icon-border,#BFDBFE);border-radius:15px;background:var(--icon-bg,#EFF6FF);color:var(--icon-color,#2563EB);font-size:34px;text-shadow:none;box-shadow:inset 0 1px 0 #fff,0 3px 8px rgba(15,23,42,.06)}
html.sob-site-page .tool-icon svg{width:43px;height:43px;display:block;stroke:currentColor;stroke-width:2.5;filter:drop-shadow(0 1px 1px rgba(15,23,42,.12))}
html.sob-site-page .i-age{--icon-bg:#DBEAFE;--icon-border:#93C5FD;--icon-color:#2563EB}
html.sob-site-page .i-percentage{--icon-bg:#DBEAFE;--icon-border:#BFDBFE;--icon-color:#1D4ED8}
html.sob-site-page .i-electricity{--icon-bg:#DBEAFE;--icon-border:#BFDBFE;--icon-color:#1D4ED8}
html.sob-site-page .i-currency{--icon-bg:#DCFCE7;--icon-border:#DCFCE7;--icon-color:#166534}
html.sob-site-page .i-time{--icon-bg:#EFF6FF;--icon-border:#BFDBFE;--icon-color:#1D4ED8}
html.sob-site-page .i-merge{--icon-bg:#FEE2E2;--icon-border:#FECACA;--icon-color:#B91C1C}
html.sob-site-page .i-pdf-compress,html.sob-site-page .i-pdf-editor{--icon-bg:#FEE2E2;--icon-border:#FECACA;--icon-color:#EF4444}
html.sob-site-page .i-image-compress{--icon-bg:#DBEAFE;--icon-border:#BFDBFE;--icon-color:#2563EB}
html.sob-site-page .i-image-resize{--icon-bg:#DBEAFE;--icon-border:#BFDBFE;--icon-color:#1D4ED8}
html.sob-site-page .i-background{--icon-bg:#DCFCE7;--icon-border:#DCFCE7;--icon-color:#166534}
html.sob-site-page .i-counter{--icon-bg:#DBEAFE;--icon-border:#BFDBFE;--icon-color:#2563EB}
html.sob-site-page .i-case{--icon-bg:#DBEAFE;--icon-border:#BFDBFE;--icon-color:#2563EB}
html.sob-site-page .i-qr{--icon-bg:#DBEAFE;--icon-border:#93C5FD;--icon-color:#1D4ED8}
html.sob-site-page .i-password{--icon-bg:#DCFCE7;--icon-border:#DCFCE7;--icon-color:#166534}
html.sob-site-page .i-compare{--icon-bg:#EFF6FF;--icon-border:#BFDBFE;--icon-color:#1D4ED8}
html.sob-site-page .i-gpa{--icon-bg:#DBEAFE;--icon-border:#93C5FD;--icon-color:#1D4ED8}
html.sob-site-page .i-emi{--icon-bg:#DCFCE7;--icon-border:#DCFCE7;--icon-color:#166534}
html.sob-site-page .i-unit{--icon-bg:#EFF6FF;--icon-border:#BFDBFE;--icon-color:#1D4ED8}
html.sob-site-page .i-typing{--icon-bg:#DBEAFE;--icon-border:#93C5FD;--icon-color:#2563EB}
html.sob-site-page .i-date{--icon-bg:#FEE2E2;--icon-border:#FECACA;--icon-color:#EF4444}
html.sob-site-page .i-cv{--icon-bg:#DBEAFE;--icon-border:#93C5FD;--icon-color:#1D4ED8}
html.sob-site-page .tool-card h3{color:var(--sob-ink);font-size:15px;font-weight:750}
html.sob-site-page .tool-card p{color:var(--sob-muted-strong);line-height:1.65}
html.sob-site-page .arrow{color:#2563EB}
html.sob-site-page .tool-card:hover .arrow{color:var(--sob-accent)}

/* Consistent controls and surfaces */
html.sob-site-page .btn{min-height:43px;padding:10px 18px;border:1px solid var(--sob-accent);border-radius:10px;background:var(--sob-accent);color:#fff;font-weight:700;box-shadow:none}
html.sob-site-page .btn:hover{background:var(--sob-accent-strong);border-color:var(--sob-accent-strong);color:#fff}
html.sob-site-page .btn.secondary{background:#fff;color:var(--sob-accent-strong);border-color:var(--sob-accent-border)}
html.sob-site-page .btn.secondary:hover{background:var(--sob-pale)}
html.sob-site-page .search{border:1px solid var(--sob-border);border-radius:14px;background:#fff;box-shadow:var(--sob-shadow)}
html.sob-site-page .search input{color:var(--sob-ink)}
html.sob-site-page .filters button{border:1px solid var(--sob-border);border-radius:9px;background:#fff;color:var(--sob-muted-strong)}
html.sob-site-page .filters button.active{border-color:var(--sob-accent);background:var(--sob-accent);color:#fff}
html.sob-site-page .tool-panel{border:1px solid var(--sob-border);border-radius:16px;background:#fff;box-shadow:var(--sob-shadow)}
html.sob-site-page .field{color:var(--sob-ink)}
html.sob-site-page .field input,
html.sob-site-page .field textarea,
html.sob-site-page .field select{border:1px solid #CBD5E1;border-radius:9px;background:#fff;color:var(--sob-ink)}
html.sob-site-page .field input:focus,
html.sob-site-page .field textarea:focus,
html.sob-site-page .field select:focus{border-color:var(--sob-accent);box-shadow:0 0 0 3px rgba(37,99,235,.12);outline:0}
html.sob-site-page .result{border:1px solid #BFDBFE;border-radius:12px;background:#EFF6FF;color:#1E40AF}
html.sob-site-page .notice{border:1px solid #DBEAFE;border-radius:10px;background:#EFF6FF;color:#52627E}
html.sob-site-page .feature{border:1px solid #DBEAFE;border-radius:16px;background:#EFF6FF}
html.sob-site-page .store-banner{border:1px solid var(--sob-border);border-radius:16px;background:#fff;box-shadow:var(--sob-shadow)}
html.sob-site-page .resource{border:1px solid var(--sob-border);border-radius:14px;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.025)}
html.sob-site-page .resource-art{border-radius:12px;background:#DBEAFE;color:#2563EB}
html.sob-site-page .faq details{border:1px solid var(--sob-border);border-radius:10px;background:#fff}
html.sob-site-page .faq summary{color:var(--sob-ink)}
html.sob-site-page input[type=checkbox],
html.sob-site-page input[type=radio]{accent-color:var(--sob-accent)}

/* Shared footer: same light-blue footer on every route */
html.sob-site-page .site-footer{margin-top:10px;border-top:1px solid #DBEAFE;background:#EFF6FF;color:var(--sob-ink)}
html.sob-site-page .footer-main{display:grid;grid-template-columns:1.2fr .8fr 1fr 1.05fr;align-items:center;gap:26px;padding-top:24px;padding-bottom:20px}
html.sob-site-page .footer-brand{min-width:0;padding-right:18px;border-right:1px solid #BFDBFE}
html.sob-site-page .footer-brand-link{display:inline-flex;align-items:center;gap:10px;color:var(--sob-ink)}
html.sob-site-page .footer-brand-mark{display:grid;place-items:center;width:46px;height:46px;border:0;border-radius:14px;background:#2563EB;color:#fff;font-size:27px;font-weight:800;font-style:italic;box-shadow:0 4px 10px rgba(37,99,235,.2)}
html.sob-site-page .footer-brand-name{display:flex;flex-direction:column;line-height:1.25}
html.sob-site-page .footer-brand-name strong{color:#0F172A;font-size:20px;font-weight:800}
html.sob-site-page .footer-brand-name small{margin-top:3px;color:#52627E;font-size:11px;font-weight:500}
html.sob-site-page .footer-brand>p{max-width:290px;margin:8px 0 12px;color:#334155;font-size:12px;line-height:1.7}
html.sob-site-page .footer-column{min-width:0}
html.sob-site-page .footer-column h3,
html.sob-site-page .footer-social-column h3{margin:0 0 9px;color:#0F172A;font-size:15px;font-weight:800}
html.sob-site-page .footer-column>a:not(.footer-contact-link){display:flex;align-items:center;gap:7px;width:auto;margin:0 0 4px;color:#334155;font-size:12px;line-height:1.45}
html.sob-site-page .footer-column>a:not(.footer-contact-link):before{content:"›";color:var(--sob-accent);font-size:17px;font-weight:800}
html.sob-site-page .footer-column>a:not(.footer-contact-link):hover{color:var(--sob-accent)}
html.sob-site-page .footer-quick-divider{height:1px;margin:8px 0;background:#BFDBFE}
html.sob-site-page .footer-quick-label{display:block;margin-bottom:5px;color:#64748B;font-size:10px;font-weight:750}
html.sob-site-page .footer-social-column{min-width:0;min-height:88px;padding-left:18px;border-left:1px solid #BFDBFE}
html.sob-site-page .footer-social{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
html.sob-site-page .footer-social-link{display:grid;place-items:center;width:42px;height:42px;border:1px solid #E2E8F0;border-radius:50%;background:#fff;color:#2563EB;box-shadow:0 4px 10px rgba(37,99,235,.10);transition:transform .18s ease,box-shadow .18s ease}
html.sob-site-page .footer-social-link:hover{transform:translateY(-2px);box-shadow:0 7px 14px rgba(37,99,235,.15)}
html.sob-site-page .footer-social-link[aria-label*="Facebook"]{color:#2563EB}
html.sob-site-page .footer-social-link[aria-label*="Instagram"]{color:#EF4444}
html.sob-site-page .footer-social-link[aria-label*="WhatsApp"]{color:#166534}
html.sob-site-page .footer-social-link[aria-label*="YouTube"]{color:#EF4444}
html.sob-site-page .footer-social-link svg{width:20px;height:20px;fill:currentColor}
html.sob-site-page .footer-social-link svg rect,
html.sob-site-page .footer-social-link svg circle{fill:none;stroke:currentColor}
html.sob-site-page .footer-support-column{position:relative;min-width:0;min-height:88px;display:flex;flex-direction:column;justify-content:center;padding:12px 14px;border:1px solid #BFDBFE;border-radius:15px;background:rgba(255,255,255,.86);box-shadow:0 5px 14px rgba(37,99,235,.08)}
html.sob-site-page .footer-support-card-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
html.sob-site-page .footer-support-icon{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#DBEAFE;color:#2563EB}
html.sob-site-page .footer-support-icon svg{width:33px;height:33px}
html.sob-site-page .footer-support-card-head>span:last-child{display:flex;flex-direction:column;gap:2px}
html.sob-site-page .footer-support-card-head strong{color:#0F172A;font-size:14px;font-weight:800}
html.sob-site-page .footer-support-card-head small{color:#52627E;font-size:11px}
html.sob-site-page .footer-support-column .support-widget{position:static;right:auto;bottom:auto;z-index:2;width:100%;font-family:inherit}
html.sob-site-page .footer-support-column .support-trigger{width:100%;min-height:37px;gap:8px;padding:0 12px;border:0;border-radius:22px;background:#2563EB;color:#fff;font-size:12px;box-shadow:none}
html.sob-site-page .footer-support-column .support-trigger svg{width:17px;height:17px}
html.sob-site-page .footer-support-column .support-panel{right:0;bottom:48px;z-index:100}
html.sob-site-page .footer-bottom{border-top:1px solid #BFDBFE}
html.sob-site-page .footer-bottom-inner{min-height:38px;display:flex;align-items:center;justify-content:center;gap:16px;padding-top:8px;padding-bottom:8px;color:#52627E;font-size:11px}
html.sob-site-page .footer-bottom-inner span+span:before{content:"|";margin-right:16px;color:#94A3B8}

/* Dark mode, shared across every route */
html.sob-site-page.sob-home-dark,
html.sob-site-page.sob-home-dark body{background:#0F172A;color:#E2E8F0}
html.sob-site-page.sob-home-dark header{background:#0F172A;border-color:#334155}
html.sob-site-page.sob-home-dark .home-nav-link{color:#DBEAFE}
html.sob-site-page.sob-home-dark .home-nav-link.is-active,
html.sob-site-page.sob-home-dark .home-nav-link:hover{background:#1E40AF;border-color:#1E40AF;color:#93C5FD}
html.sob-site-page.sob-home-dark .home-language-switch{background:#0F172A;border-color:#334155}
html.sob-site-page.sob-home-dark .home-language-switch button{color:#E2E8F0}
html.sob-site-page.sob-home-dark .home-theme-toggle{background:#0F172A;border-color:#334155;color:#DBEAFE}
html.sob-site-page.sob-home-dark .page-intro h1,
html.sob-site-page.sob-home-dark .section-head h2,
html.sob-site-page.sob-home-dark .workspace-heading h1{color:#F1F5F9}
html.sob-site-page.sob-home-dark .page-intro>p,
html.sob-site-page.sob-home-dark .workspace-heading p{color:#94A3B8}
html.sob-site-page.sob-home-dark .tool-card,
html.sob-site-page.sob-home-dark .tool-panel,
html.sob-site-page.sob-home-dark .resource,
html.sob-site-page.sob-home-dark .faq details,
html.sob-site-page.sob-home-dark .search{background:#1E40AF;border-color:#334155;color:#E2E8F0}
html.sob-site-page.sob-home-dark .tool-card h3,
html.sob-site-page.sob-home-dark .faq summary{color:#F1F5F9}
html.sob-site-page.sob-home-dark .tool-card p{color:#94A3B8}
html.sob-site-page.sob-home-dark .field{color:#DBEAFE}
html.sob-site-page.sob-home-dark .field input,
html.sob-site-page.sob-home-dark .field textarea,
html.sob-site-page.sob-home-dark .field select{background:#0F172A;border-color:#475569;color:#F1F5F9}
html.sob-site-page.sob-home-dark .result{background:#1E40AF;border-color:#1E40AF;color:#DBEAFE}
html.sob-site-page.sob-home-dark .feature,
html.sob-site-page.sob-home-dark .store-banner{background:#1E40AF;border-color:#334155}
html.sob-site-page.sob-home-dark .feature h2,
html.sob-site-page.sob-home-dark .store-banner h2{color:#F1F5F9}
html.sob-site-page.sob-home-dark .feature p,
html.sob-site-page.sob-home-dark .store-banner p{color:#94A3B8}
html.sob-site-page.sob-home-dark .site-footer{background:#0F172A;border-color:#334155}
html.sob-site-page.sob-home-dark .footer-brand-name strong,
html.sob-site-page.sob-home-dark .footer-column h3,
html.sob-site-page.sob-home-dark .footer-social-column h3,
html.sob-site-page.sob-home-dark .footer-support-card-head strong{color:#F1F5F9}
html.sob-site-page.sob-home-dark .footer-brand>p,
html.sob-site-page.sob-home-dark .footer-column>a:not(.footer-contact-link),
html.sob-site-page.sob-home-dark .footer-brand-name small,
html.sob-site-page.sob-home-dark .footer-bottom-inner,
html.sob-site-page.sob-home-dark .footer-support-card-head small{color:#94A3B8}
html.sob-site-page.sob-home-dark .footer-support-column{background:#1E40AF;border-color:#334155}
html.sob-site-page.sob-home-dark .footer-bottom{border-color:#334155}

/* Responsive header, cards and footer */
@media(max-width:1100px){
  html.sob-site-page .nav{gap:12px}
  html.sob-site-page .brand{width:200px;flex-basis:200px}
  html.sob-site-page .brand img{width:200px}
  html.sob-site-page .home-nav-link{padding:0 9px;font-size:12px}
  html.sob-site-page .home-header-controls{gap:6px}
  html.sob-site-page .home-language-switch button{padding:7px 9px;font-size:12px}
  html.sob-site-page .footer-main{grid-template-columns:1.1fr .8fr 1fr;gap:20px}
  html.sob-site-page .footer-support-column{grid-column:3}
}
@media(max-width:760px){
  html.sob-site-page .wrap,
  html.sob-site-page .page-intro{width:calc(100% - 30px)}
  html.sob-site-page .nav{width:calc(100% - 30px);min-height:64px;gap:8px}
  html.sob-site-page .brand{width:160px;flex:1 1 auto}
  html.sob-site-page .brand img{width:160px;height:48px}
  html.sob-site-page #menu{display:grid;place-items:center;order:3}
  html.sob-site-page .nav nav.home-nav{position:absolute;top:calc(100% + 1px);left:0;right:0;display:none;flex-direction:column;align-items:stretch;gap:5px;padding:12px 15px 15px;border-bottom:1px solid #DBEAFE;background:#fff;box-shadow:0 14px 20px rgba(18,54,103,.1)}
  html.sob-site-page .nav nav.home-nav.open{display:flex}
  html.sob-site-page .home-nav-link{justify-content:flex-start;min-height:43px;padding:0 12px;font-size:13px}
  html.sob-site-page .home-header-controls{gap:5px;order:2}
  html.sob-site-page .home-language-switch{gap:1px;padding:2px}
  html.sob-site-page .home-language-switch button{padding:7px 7px;font-size:10px}
  html.sob-site-page .home-theme-toggle{width:34px;height:34px}
  html.sob-site-page .home-theme-toggle svg{width:17px;height:17px}
  html.sob-site-page .page-intro{padding:30px 0 25px}
  html.sob-site-page .page-intro h1{font-size:28px}
  html.sob-site-page .page-intro>p{font-size:13px}
  html.sob-site-page .section-head h2{font-size:19px}
  html.sob-site-page .tool-grid{gap:10px}
  html.sob-site-page .tool-card{min-height:160px;padding:14px 12px;border-radius:13px}
  html.sob-site-page .tool-icon{width:50px;height:50px;margin-bottom:10px;border-radius:12px}
  html.sob-site-page .tool-icon svg{width:36px;height:36px}
  html.sob-site-page .workspace{padding-top:22px}
  html.sob-site-page .workspace-heading{gap:12px}
  html.sob-site-page .workspace-heading h1{font-size:22px}
  html.sob-site-page .tool-panel{padding:18px}
  html.sob-site-page .footer-main{grid-template-columns:1fr 1fr;gap:18px;padding-top:20px;padding-bottom:17px}
  html.sob-site-page .footer-brand{padding-right:8px;border-right:0}
  html.sob-site-page .footer-brand-mark{width:40px;height:40px;font-size:24px}
  html.sob-site-page .footer-brand-name strong{font-size:17px}
  html.sob-site-page .footer-brand>p{font-size:11px}
  html.sob-site-page .footer-social-column{min-height:0;padding-left:12px;border-left:1px solid #BFDBFE}
  html.sob-site-page .footer-social-link{width:35px;height:35px}
  html.sob-site-page .footer-social-link svg{width:17px;height:17px}
  html.sob-site-page .footer-support-column{grid-column:1/-1;min-height:0}
  html.sob-site-page .footer-bottom-inner{flex-wrap:wrap;gap:5px;font-size:10px}
  html.sob-site-page .footer-bottom-inner span+span:before{margin-right:8px}
}
@media(max-width:380px){
  html.sob-site-page .brand{width:130px}
  html.sob-site-page .brand img{width:130px}
  html.sob-site-page .home-language-switch button{padding:6px 5px;font-size:9px}
  html.sob-site-page .home-theme-toggle{width:31px;height:31px}
}
@media(prefers-reduced-motion:reduce){
  html.sob-site-page *,html.sob-site-page *:before,html.sob-site-page *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}


/* Final shared header layout: one navigation and one set of controls */
html.sob-global-theme header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid #E2E8F0;
  box-shadow:0 2px 10px rgba(15,23,42,.045);
}
html.sob-global-theme .nav{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:min(1480px,calc(100% - 48px));
  height:72px;
  min-height:72px;
  gap:10px;
}
html.sob-global-theme .nav .brand{
  display:flex;
  align-items:center;
  flex:0 0 160px;
  width:160px;
  min-width:0;
}
html.sob-global-theme .nav .brand img{
  display:block;
  width:160px;
  height:50px;
  object-fit:contain;
  object-position:left center;
}
html.sob-global-theme .nav nav.global-site-nav{
  position:static;
  display:flex;
  flex:1 1 auto;
  align-items:center;
  justify-content:center;
  gap:2px;
  min-width:0;
  margin:0;
  padding:0;
  overflow:visible;
  background:transparent;
  border:0;
  box-shadow:none;
}
html.sob-global-theme .global-nav-link{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:40px;
  padding:0 8px;
  border:1px solid transparent;
  border-radius:22px;
  color:#334155;
  font-size:13px;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
  text-decoration:none;
}
html.sob-global-theme .global-nav-link span{
  display:inline;
  white-space:nowrap;
}
html.sob-global-theme .global-nav-link svg{
  display:block;
  width:17px;
  height:17px;
  flex:0 0 17px;
}
html.sob-global-theme .global-nav-link:hover,
html.sob-global-theme .global-nav-link.is-active{
  background:#EFF6FF;
  border-color:#DBEAFE;
  color:#1D4ED8;
}
html.sob-global-theme .global-hidden-language,
html.sob-global-theme .home-language-hidden,
html.sob-global-theme .home-header-controls{
  display:none!important;
}
html.sob-global-theme .global-header-controls{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  margin:0;
}
html.sob-global-theme .global-lang-switch{
  display:flex;
  align-items:center;
  gap:2px;
  padding:3px;
  border:1px solid #E2E8F0;
  border-radius:24px;
  background:#F1F5F9;
}
html.sob-global-theme .global-lang-switch button{
  min-height:34px;
  padding:7px 10px;
  border:0;
  border-radius:20px;
  background:transparent;
  color:#334155;
  font-size:12px;
  font-weight:750;
  white-space:nowrap;
}
html.sob-global-theme .global-lang-switch button[aria-pressed="true"]{
  background:#2563EB;
  color:#fff;
}
html.sob-global-theme .global-theme-toggle{
  display:grid;
  flex:0 0 38px;
  place-items:center;
  width:38px;
  height:38px;
  padding:0;
  border:1px solid #DBEAFE;
  border-radius:50%;
  background:#EFF6FF;
  color:#1D4ED8;
}
html.sob-global-theme .global-theme-toggle svg{
  display:block;
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
html.sob-global-theme #menu{display:none}

/* Tablet and mobile: compact logo, menu drawer, single language/theme control */
@media(max-width:1100px){
  html.sob-global-theme .nav{
    width:calc(100% - 32px);
    height:66px;
    min-height:66px;
    justify-content:space-between;
    gap:8px;
  }
  html.sob-global-theme .nav .brand{
    flex:1 1 auto;
    width:auto;
  }
  html.sob-global-theme .nav .brand img{
    width:min(175px,100%);
    height:48px;
  }
  html.sob-global-theme #menu{
    display:grid!important;
    order:3;
    flex:0 0 38px;
    place-items:center;
    width:38px;
    height:38px;
    padding:0;
    border:1px solid #BFDBFE;
    border-radius:10px;
    background:#EFF6FF;
    color:#1D4ED8;
    font-size:21px;
  }
  html.sob-global-theme .global-header-controls{
    order:2;
    gap:5px;
  }
  html.sob-global-theme .nav nav.global-site-nav{
    position:absolute;
    top:100%;
    left:-16px;
    right:-16px;
    z-index:120;
    display:none;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:4px;
    max-height:calc(100vh - 90px);
    overflow:auto;
    padding:12px 16px;
    border:1px solid #E2E8F0;
    border-top:0;
    border-radius:0 0 14px 14px;
    background:#fff;
    box-shadow:0 12px 22px rgba(15,23,42,.12);
  }
  html.sob-global-theme .nav nav.global-site-nav.open{display:flex}
  html.sob-global-theme .global-nav-link{
    justify-content:flex-start;
    width:100%;
    min-height:43px;
    padding:0 12px;
    font-size:14px;
  }
}
@media(max-width:420px){
  html.sob-global-theme .nav{width:calc(100% - 24px);gap:5px}
  html.sob-global-theme .nav .brand img{width:min(145px,100%);height:44px}
  html.sob-global-theme .global-lang-switch button{min-height:31px;padding:6px 7px;font-size:10px}
  html.sob-global-theme .global-theme-toggle{flex-basis:33px;width:33px;height:33px}
  html.sob-global-theme .global-theme-toggle svg{width:17px;height:17px}
  html.sob-global-theme #menu{flex-basis:34px;width:34px;height:34px}
}

/* Shared header in dark appearance */
html.sob-global-dark.sob-global-theme header{
  background:rgba(15,23,42,.98);
  border-color:#334155;
}
html.sob-global-dark.sob-global-theme .global-nav-link{color:#E2E8F0}
html.sob-global-dark.sob-global-theme .global-nav-link:hover,
html.sob-global-dark.sob-global-theme .global-nav-link.is-active{
  background:#1D4ED8;
  border-color:#1D4ED8;
  color:#DBEAFE;
}
html.sob-global-dark.sob-global-theme .global-lang-switch{
  background:#334155;
  border-color:#475569;
}
html.sob-global-dark.sob-global-theme .global-lang-switch button{color:#E2E8F0}
html.sob-global-dark.sob-global-theme .global-lang-switch button[aria-pressed="true"]{background:#2563EB;color:#fff}
html.sob-global-dark.sob-global-theme .global-theme-toggle{
  background:#334155;
  border-color:#475569;
  color:#DBEAFE;
}
@media(max-width:1100px){
  html.sob-global-dark.sob-global-theme .nav nav.global-site-nav.open{
    background:#334155;
    border-color:#475569;
  }
}



/* WordPress-rendered pages and archives use the exact same shared site shell */
html.sob-global-theme body.sbk-page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  margin:0;
  background:#F8FAFC;
  color:#0F172A;
  font-family:Inter,"Noto Sans Bengali",sans-serif;
}
html.sob-global-theme body.sbk-page > header{
  flex:0 0 auto;
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid #E2E8F0;
  box-shadow:0 2px 10px rgba(15,23,42,.045);
}
html.sob-global-theme body.sbk-page > main.sbk-main{
  flex:1 0 auto;
  width:min(1180px,calc(100% - 40px));
  min-height:50vh;
  margin:0 auto;
  padding:34px 0 48px;
}
html.sob-global-theme body.sbk-page .sbk-art{
  display:block;
  max-width:900px;
  margin:0 auto;
  padding:clamp(20px,4vw,42px);
  border:1px solid #E2E8F0;
  border-radius:16px;
  background:#FFFFFF;
  color:#0F172A;
  box-shadow:0 3px 12px rgba(37,99,235,.055);
}
html.sob-global-theme body.sbk-page .sbk-art h1{
  margin:.2em 0 .55em;
  color:#0F172A;
  font-size:clamp(1.65rem,4vw,2.35rem);
  font-weight:750;
  line-height:1.4;
}
html.sob-global-theme body.sbk-page .sbk-meta,
html.sob-global-theme body.sbk-page .sbk-crumb{
  color:#64748B;
  font-size:13px;
}
html.sob-global-theme body.sbk-page .sbk-crumb a,
html.sob-global-theme body.sbk-page .sbk-body a{
  color:#2563EB;
}
html.sob-global-theme body.sbk-page .sbk-body{
  color:#334155;
  font-size:16px;
  line-height:1.9;
}
html.sob-global-theme body.sbk-page .sbk-body h2{
  margin:1.6em 0 .55em;
  color:#0F172A;
  font-size:1.35rem;
  font-weight:750;
}
html.sob-global-theme body.sbk-page .sbk-body h3{
  color:#0F172A;
  font-size:1.12rem;
  font-weight:700;
}
html.sob-global-theme body.sbk-page .sbk-body ul,
html.sob-global-theme body.sbk-page .sbk-body ol{
  padding-left:1.5em;
}
html.sob-global-theme body.sbk-page .sbk-body img{
  max-width:100%;
  height:auto;
  border-radius:10px;
}
html.sob-global-theme body.sbk-page .sbk-form label{
  display:block;
  margin:14px 0;
  color:#0F172A;
  font-weight:650;
}
html.sob-global-theme body.sbk-page .sbk-form input,
html.sob-global-theme body.sbk-page .sbk-form textarea{
  display:block;
  width:100%;
  box-sizing:border-box;
  margin-top:6px;
  padding:11px 13px;
  border:1px solid #CBD5E1;
  border-radius:9px;
  background:#FFFFFF;
  color:#0F172A;
  font:inherit;
}
html.sob-global-theme body.sbk-page .sbk-form input:focus,
html.sob-global-theme body.sbk-page .sbk-form textarea:focus{
  border-color:#2563EB;
  outline:2px solid #BFDBFE;
  outline-offset:1px;
}
html.sob-global-theme body.sbk-page .sbk-form .btn{
  cursor:pointer;
}
html.sob-global-theme body.sbk-page > footer.site-footer{
  flex:0 0 auto;
  display:block;
  width:100%;
  margin-top:0;
  border-top:1px solid #DBEAFE;
  background:#EFF6FF;
}
html.sob-global-theme body.sbk-page .footer-main{
  width:min(1180px,calc(100% - 40px));
}
html.sob-global-theme.sob-global-dark body.sbk-page{
  background:#0F172A;
  color:#E2E8F0;
}
html.sob-global-dark.sob-global-theme body.sbk-page .sbk-art{
  border-color:#334155;
  background:#334155;
  color:#E2E8F0;
}
html.sob-global-dark.sob-global-theme body.sbk-page .sbk-art h1,
html.sob-global-dark.sob-global-theme body.sbk-page .sbk-body h2,
html.sob-global-dark.sob-global-theme body.sbk-page .sbk-body h3{
  color:#F1F5F9;
}
html.sob-global-dark.sob-global-theme body.sbk-page .sbk-body{
  color:#CBD5E1;
}
html.sob-global-dark.sob-global-theme body.sbk-page .sbk-form label{
  color:#E2E8F0;
}
html.sob-global-dark.sob-global-theme body.sbk-page .sbk-form input,
html.sob-global-dark.sob-global-theme body.sbk-page .sbk-form textarea{
  border-color:#475569;
  background:#0F172A;
  color:#F8FAFC;
}
html.sob-global-dark.sob-global-theme body.sbk-page > footer.site-footer{
  background:#0F172A;
  border-color:#334155;
}
@media(max-width:760px){
  html.sob-global-theme body.sbk-page > main.sbk-main{
    width:calc(100% - 30px);
    padding:22px 0 34px;
  }
  html.sob-global-theme body.sbk-page .sbk-art{
    padding:20px 16px;
  }
  html.sob-global-theme body.sbk-page .sbk-body{
    font-size:15px;
  }
  html.sob-global-theme body.sbk-page .footer-main{
    width:calc(100% - 30px);
  }
}
