/* AMS theme1: light overrides for /assets/ams-home.css (generated + hand fixes; only active under html[data-theme=light]) */
html[data-theme="light"]{--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)}
:where(html[data-theme="light"]) body{background:#f3f5f9}
:where(html[data-theme="light"]) a{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) a:hover{color:#92400e}
:where(html[data-theme="light"]) .skip-link:focus{outline:2px solid #334155}
:where(html[data-theme="light"]) .site-nav{background:rgba(232,237,247,0.85)}
:where(html[data-theme="light"]) .logo{color:#0b1220}
:where(html[data-theme="light"]) .logo:hover{color:#0b1220}
:where(html[data-theme="light"]) .nav-links a{color:#3c4757}
:where(html[data-theme="light"]) .nav-links a:hover{color:#0b1220;background:rgba(15,23,42,0.055)}
:where(html[data-theme="light"]) .nav-toggle span{background:#334155}
:where(html[data-theme="light"]) .nav-mobile{background:#ffffff}
:where(html[data-theme="light"]) .nav-mobile a{color:#273142}
:where(html[data-theme="light"]) .nav-mobile a:hover{color:#0b1220}
:where(html[data-theme="light"]) .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%)}
:where(html[data-theme="light"]) .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)}
:where(html[data-theme="light"]) .hero-badge{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .hero h1{color:#0b1220}
:where(html[data-theme="light"]) .hero h1 span{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .hero-ru{color:#5b6779}
:where(html[data-theme="light"]) .hero-lead{color:#3c4757}
:where(html[data-theme="light"]) .btn-ghost{color:#273142}
:where(html[data-theme="light"]) .btn-ghost:hover{background:rgba(15,23,42,0.055);border-color:#cbd5e1;color:#0b1220}
:where(html[data-theme="light"]) .hero-meta strong{color:#273142}
:where(html[data-theme="light"]) .frame-card--shot .frame-card-header{background:rgba(232,237,247,0.65)}
:where(html[data-theme="light"]) .frame-dots i{background:#e2e8f0}
:where(html[data-theme="light"]) .frame-svg .member{stroke:#5b6779}
:where(html[data-theme="light"]) .frame-svg .member-accent{stroke:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .frame-svg .node{stroke:#0f766e}
:where(html[data-theme="light"]) .frame-svg .load{stroke:#0f766e;fill:#0f766e}
:where(html[data-theme="light"]) .frame-svg .label{fill:#5b6779}
:where(html[data-theme="light"]) .section-label{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .section-title{color:#0b1220}
:where(html[data-theme="light"]) .section-alt{background:#ffffff}
:where(html[data-theme="light"]) .feature-icon{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .feature-card h3{color:#0b1220}
:where(html[data-theme="light"]) .analysis-item .num{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .analysis-item h3{color:#0b1220}
:where(html[data-theme="light"]) .limits-card{background:linear-gradient(160deg, var(--surface-elevated), #ffffff)}
:where(html[data-theme="light"]) .limits-card h3{color:#0b1220}
:where(html[data-theme="light"]) .limits-card h3 svg{color:#0f766e}
:where(html[data-theme="light"]) .limits-card li{color:#3c4757}
:where(html[data-theme="light"]) .limits-note{color:#5b6779}
:where(html[data-theme="light"]) .bim-format{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .bim-card h3{color:#0b1220}
:where(html[data-theme="light"]) .download-band .container{background:linear-gradient(135deg, #f1f4f8 0%, #ffffff 50%, #eaeef5 100%)}
:where(html[data-theme="light"]) .contact-info h3{color:#0b1220}
:where(html[data-theme="light"]) .contact-row svg{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .contact-row a,:where(html[data-theme="light"]) .contact-row span{color:#273142}
:where(html[data-theme="light"]) .contact-row a:hover{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .about-card h3{color:#0b1220}
:where(html[data-theme="light"]) .about-tag{color:#0f766e}
:where(html[data-theme="light"]) .site-footer{background:#f3f5f9}
:where(html[data-theme="light"]) .footer-links a{color:#5b6779}
:where(html[data-theme="light"]) .footer-links a:hover{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .footer-copy{color:#64748b}
:where(html[data-theme="light"]) .nav-links a.is-active,:where(html[data-theme="light"]) .nav-mobile a.is-active{color:#0b1220;background:rgba(15,23,42,0.066)}
:where(html[data-theme="light"]) .download-card-icon{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .download-card h2{color:#0b1220}
:where(html[data-theme="light"]) .download-meta-list li{color:#3c4757}
:where(html[data-theme="light"]) .download-meta-list code{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .download-counter{color:#0f766e}
:where(html[data-theme="light"]) .notes-alert{background:rgba(237,44,44,0.08);border:1px solid rgba(235,20,20,0.35);color:#bc0606}
:where(html[data-theme="light"]) .notes-alert strong{color:#be0404}
:where(html[data-theme="light"]) .notes-list h3{color:#0b1220}
:where(html[data-theme="light"]) .activation-card{background:linear-gradient(160deg, var(--surface-elevated), #ffffff)}
:where(html[data-theme="light"]) .activation-card h3{color:#0b1220}
:where(html[data-theme="light"]) .activation-card p{color:#3c4757}
:where(html[data-theme="light"]) .examples-band h3{color:#0b1220}
:where(html[data-theme="light"]) .social-row a{color:#3c4757}
:where(html[data-theme="light"]) .social-row a:hover{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .footer-social a{color:#5b6779}
:where(html[data-theme="light"]) .footer-social a:hover{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .lang-dd-btn{background:rgba(15,23,42,0.033);color:#3c4757}
:where(html[data-theme="light"]) .lang-dd-btn:hover,:where(html[data-theme="light"]) .lang-dd[open] .lang-dd-btn{color:#0b1220}
:where(html[data-theme="light"]) .lang-dd-menu{background:#ffffff;box-shadow:0 12px 28px rgba(15,23,42,0.158)}
:where(html[data-theme="light"]) .lang-dd .lang-dd-opt{color:#3c4757 !important}
:where(html[data-theme="light"]) .lang-dd .lang-dd-opt:hover,:where(html[data-theme="light"]) .lang-dd .lang-dd-opt:focus-visible{color:#141414 !important;background:rgba(15,23,42,0.077) !important}
:where(html[data-theme="light"]) .ams-profile-name{color:#0b1220}
:where(html[data-theme="light"]) .ams-profile-avatar{background:#ffffff}
:where(html[data-theme="light"]) .ams-profile-views .fa{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .ams-profile-link-card:hover{color:#0b1220 !important}
:where(html[data-theme="light"]) .ams-profile-link-card .fa{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .ams-profile-info-list li span{color:#3c4757}
:where(html[data-theme="light"]) .ams-profile-warn{color:#b90909}
:where(html[data-theme="light"]) .ams-profile-ok{color:#239f72}
:where(html[data-theme="light"]) .ams-profile-compose-btn{background:#f1f4f8 !important}
:where(html[data-theme="light"]) .ams-profile-compose-btn:hover{color:#0b1220 !important}
:where(html[data-theme="light"]) .ams-profile .panel a,:where(html[data-theme="light"]) .ams-profile-posts .panel a{color:var(--ams-accent-ink)}
:where(html[data-theme="light"]) .ams-profile .pagination > li.active > a,:where(html[data-theme="light"]) .ams-profile .pagination > .active > span{color:var(--ams-accent-ink) !important}
:where(html[data-theme="light"]) .ams-profile .pagination > li > a:hover{color:#0b1220 !important}
:where(html[data-theme="light"]) .ams-profile .form-control{background:#ffffff !important}
:where(html[data-theme="light"]) .page-profile body,:where(html[data-theme="light"]) body.page-profile{background:#f3f5f9 !important}
