/* AMS theme1: light overrides for the static /docs pages and the scoped site bar */
html[data-theme="light"]{--bg:#e8edf7;--panel:#e9edf6;--text:#1643ab;--muted:#415175;--accent:#007ec2;--active:#e9eef6;--link:#0482bd}
:where(html[data-theme="light"]) .brand{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .sidebar .ch{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .content h2{color:#006bc2}
:where(html[data-theme="light"]) .content code{background:#e8edf7}
:where(html[data-theme="light"]) .content pre{background:#e8edf7}
:where(html[data-theme="light"]) .content img{background:#eaecf5}
:where(html[data-theme="light"]) .topic-ids a:target,:where(html[data-theme="light"]) .content span:target,:where(html[data-theme="light"]) .content a:target{background:#e7f0f8}
:where(html[data-theme="light"]) .edition-banner.user{background:#e7f9ee;color:#0fb347}
:where(html[data-theme="light"]) .amsbar{--ab-bg:#e8edf7;--ab-bd:rgba(15,23,42,0.162);--ab-tx:#273444;--ab-ac:#c47e08}
:where(html[data-theme="light"]) .amsbar-logo{color:#141414}
:where(html[data-theme="light"]) .amsbar-links a:hover{color:#141414;background:rgba(15,23,42,0.066)}
:where(html[data-theme="light"]) .amsbar .lang-dd[open]>summary,:where(html[data-theme="light"]) .amsbar .lang-dd>summary:hover{color:#141414}
:where(html[data-theme="light"]) .amsbar .lang-dd-menu{background:#e8edf7;box-shadow:0 12px 28px rgba(15,23,42,0.158)}
:where(html[data-theme="light"]) .amsbar .lang-dd-menu a:hover{background:rgba(15,23,42,0.077);color:#141414}
:where(html[data-theme="light"]) .amsbar .lang-dd-note{color:#51627a}
:where(html[data-theme="light"]) .amsbar a.amsbar-page{color:#141414}
:where(html[data-theme="light"]) .amsbar a.amsbar-page:hover{background:rgba(15,23,42,0.066)}
html[data-theme="light"] #ams-sb{--accent-muted:rgba(245,158,11,0.14);--accent-border:rgba(217,119,6,0.5);--surface:#ffffff;--surface-elevated:#f6f8fb;--text:#0f172a;--text-muted:#556173;--border:rgba(15,23,42,0.12);--shadow:0 4px 20px rgba(15,23,42,0.08)}
html[data-theme="light"] #ams-sb{background:#f3f5f9}
html[data-theme="light"] #ams-sb a{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb a:hover{color:#92400e}
html[data-theme="light"] #ams-sb .skip-link:focus{outline:2px solid #334155}
html[data-theme="light"] #ams-sb .site-nav{background:rgba(232,237,247,0.85)}
html[data-theme="light"] #ams-sb .logo{color:#0b1220}
html[data-theme="light"] #ams-sb .logo:hover{color:#0b1220}
html[data-theme="light"] #ams-sb .nav-links a{color:#3c4757}
html[data-theme="light"] #ams-sb .nav-links a:hover{color:#0b1220;background:rgba(15,23,42,0.055)}
html[data-theme="light"] #ams-sb .nav-toggle span{background:#334155}
html[data-theme="light"] #ams-sb .nav-mobile{background:#ffffff}
html[data-theme="light"] #ams-sb .nav-mobile a{color:#273142}
html[data-theme="light"] #ams-sb .nav-mobile a:hover{color:#0b1220}
html[data-theme="light"] #ams-sb .hero::before{background:radial-gradient(ellipse 80% 50% at 70% 0%, rgba(245,158,11,0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(20,184,166,0.06), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f3f5f9 100%)}
html[data-theme="light"] #ams-sb .hero::after{background-image:linear-gradient(rgba(15,23,42,0.044) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.044) 1px, transparent 1px)}
html[data-theme="light"] #ams-sb .hero-badge{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .hero h1{color:#0b1220}
html[data-theme="light"] #ams-sb .hero h1 span{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .hero-ru{color:#5b6779}
html[data-theme="light"] #ams-sb .hero-lead{color:#3c4757}
html[data-theme="light"] #ams-sb .btn-ghost{color:#273142}
html[data-theme="light"] #ams-sb .btn-ghost:hover{background:rgba(15,23,42,0.055);border-color:#cbd5e1;color:#0b1220}
html[data-theme="light"] #ams-sb .hero-meta strong{color:#273142}
html[data-theme="light"] #ams-sb .frame-card--shot .frame-card-header{background:rgba(232,237,247,0.65)}
html[data-theme="light"] #ams-sb .frame-dots i{background:#e2e8f0}
html[data-theme="light"] #ams-sb .frame-svg .member{stroke:#5b6779}
html[data-theme="light"] #ams-sb .frame-svg .member-accent{stroke:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .frame-svg .node{stroke:#0f766e}
html[data-theme="light"] #ams-sb .frame-svg .load{stroke:#0f766e;fill:#0f766e}
html[data-theme="light"] #ams-sb .frame-svg .label{fill:#5b6779}
html[data-theme="light"] #ams-sb .section-label{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .section-title{color:#0b1220}
html[data-theme="light"] #ams-sb .section-alt{background:#ffffff}
html[data-theme="light"] #ams-sb .feature-icon{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .feature-card h3{color:#0b1220}
html[data-theme="light"] #ams-sb .analysis-item .num{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .analysis-item h3{color:#0b1220}
html[data-theme="light"] #ams-sb .limits-card{background:linear-gradient(160deg, var(--surface-elevated), #ffffff)}
html[data-theme="light"] #ams-sb .limits-card h3{color:#0b1220}
html[data-theme="light"] #ams-sb .limits-card h3 svg{color:#0f766e}
html[data-theme="light"] #ams-sb .limits-card li{color:#3c4757}
html[data-theme="light"] #ams-sb .limits-note{color:#5b6779}
html[data-theme="light"] #ams-sb .bim-format{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .bim-card h3{color:#0b1220}
html[data-theme="light"] #ams-sb .download-band .container{background:linear-gradient(135deg, #f1f4f8 0%, #ffffff 50%, #eaeef5 100%)}
html[data-theme="light"] #ams-sb .contact-info h3{color:#0b1220}
html[data-theme="light"] #ams-sb .contact-row svg{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .contact-row a,html[data-theme="light"] #ams-sb .contact-row span{color:#273142}
html[data-theme="light"] #ams-sb .contact-row a:hover{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .about-card h3{color:#0b1220}
html[data-theme="light"] #ams-sb .about-tag{color:#0f766e}
html[data-theme="light"] #ams-sb .site-footer{background:#f3f5f9}
html[data-theme="light"] #ams-sb .footer-links a{color:#5b6779}
html[data-theme="light"] #ams-sb .footer-links a:hover{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .footer-copy{color:#64748b}
html[data-theme="light"] #ams-sb .nav-links a.is-active,html[data-theme="light"] #ams-sb .nav-mobile a.is-active{color:#0b1220;background:rgba(15,23,42,0.066)}
html[data-theme="light"] #ams-sb .download-card-icon{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .download-card h2{color:#0b1220}
html[data-theme="light"] #ams-sb .download-meta-list li{color:#3c4757}
html[data-theme="light"] #ams-sb .download-meta-list code{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .download-counter{color:#0f766e}
html[data-theme="light"] #ams-sb .notes-alert{background:rgba(237,44,44,0.08);border:1px solid rgba(235,20,20,0.35);color:#bc0606}
html[data-theme="light"] #ams-sb .notes-alert strong{color:#be0404}
html[data-theme="light"] #ams-sb .notes-list h3{color:#0b1220}
html[data-theme="light"] #ams-sb .activation-card{background:linear-gradient(160deg, var(--surface-elevated), #ffffff)}
html[data-theme="light"] #ams-sb .activation-card h3{color:#0b1220}
html[data-theme="light"] #ams-sb .activation-card p{color:#3c4757}
html[data-theme="light"] #ams-sb .examples-band h3{color:#0b1220}
html[data-theme="light"] #ams-sb .social-row a{color:#3c4757}
html[data-theme="light"] #ams-sb .social-row a:hover{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .footer-social a{color:#5b6779}
html[data-theme="light"] #ams-sb .footer-social a:hover{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .lang-dd-btn{background:rgba(15,23,42,0.033);color:#3c4757}
html[data-theme="light"] #ams-sb .lang-dd-btn:hover,html[data-theme="light"] #ams-sb .lang-dd[open] .lang-dd-btn{color:#0b1220}
html[data-theme="light"] #ams-sb .lang-dd-menu{background:#ffffff;box-shadow:0 12px 28px rgba(15,23,42,0.158)}
html[data-theme="light"] #ams-sb .lang-dd .lang-dd-opt{color:#3c4757 !important}
html[data-theme="light"] #ams-sb .lang-dd .lang-dd-opt:hover,html[data-theme="light"] #ams-sb .lang-dd .lang-dd-opt:focus-visible{color:#141414 !important;background:rgba(15,23,42,0.077) !important}
html[data-theme="light"] #ams-sb .ams-profile-name{color:#0b1220}
html[data-theme="light"] #ams-sb .ams-profile-avatar{background:#ffffff}
html[data-theme="light"] #ams-sb .ams-profile-views .fa{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .ams-profile-link-card:hover{color:#0b1220 !important}
html[data-theme="light"] #ams-sb .ams-profile-link-card .fa{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .ams-profile-info-list li span{color:#3c4757}
html[data-theme="light"] #ams-sb .ams-profile-warn{color:#b90909}
html[data-theme="light"] #ams-sb .ams-profile-ok{color:#239f72}
html[data-theme="light"] #ams-sb .ams-profile-compose-btn{background:#f1f4f8 !important}
html[data-theme="light"] #ams-sb .ams-profile-compose-btn:hover{color:#0b1220 !important}
html[data-theme="light"] #ams-sb .ams-profile .panel a,html[data-theme="light"] #ams-sb .ams-profile-posts .panel a{color:var(--ams-accent-ink)}
html[data-theme="light"] #ams-sb .ams-profile .pagination > li.active > a,html[data-theme="light"] #ams-sb .ams-profile .pagination > .active > span{color:var(--ams-accent-ink) !important}
html[data-theme="light"] #ams-sb .ams-profile .pagination > li > a:hover{color:#0b1220 !important}
html[data-theme="light"] #ams-sb .ams-profile .form-control{background:#ffffff !important}
html[data-theme="light"] #ams-sb{--accent-muted:rgba(245,158,11,0.14);--accent-border:rgba(217,119,6,0.5);--surface:#ffffff;--surface-elevated:#f6f8fb;--text:#0f172a;--text-muted:#556173;--border:rgba(15,23,42,0.12);--shadow:0 4px 20px rgba(15,23,42,0.08)}
