/* Тёмная тема — ручные правки поверх сгенерированной css/lav316-tema.css, и кнопка-переключатель */
.lav316-theme{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin-left:4px;padding:0;border:1px solid #DCE8F0;border-radius:999px;background:#fff;color:#049DEA;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.lav316-theme:hover{background:#EAF6FD}
.lav316-theme:active{transform:scale(.94)}
.lav316-theme:focus-visible{outline:2px solid #049DEA;outline-offset:2px}
.lav316-theme .lav316-theme-sun,.lav316-theme .lav316-theme-moon{display:inline-flex}
.lav316-theme .lav316-theme-sun{display:none}
html[data-theme="dark"] .lav316-theme .lav316-theme-sun{display:inline-flex}
html[data-theme="dark"] .lav316-theme .lav316-theme-moon{display:none}
html[data-theme="dark"] .lav316-theme{background:#1C2A36;border-color:#27384A;color:#FFD66B}
html[data-theme="dark"] .lav316-theme:hover{background:#243546}
html[data-theme="dark"]{background:#0F171F}
html[data-theme="dark"] body{background:#0F171F;color:#E9EFF4}
html[data-theme="dark"] img.lav-brand-logo{filter:invert(1) hue-rotate(180deg)}
html[data-theme="dark"] .btn-primary,html[data-theme="dark"] .btn.btn-primary{background:#1FB4FD;color:#0F171F;border-color:#1FB4FD}
html[data-theme="dark"] .btn-primary:hover,html[data-theme="dark"] .btn.btn-primary:hover{background:#4EC3FF}
html[data-theme="dark"] .lav316-hero .v3-hero-photo.lav316-slonik{background:#15293A}
html[data-theme="dark"] ::selection{background:#1FB4FD;color:#0F171F}
html[data-theme="dark"] select,html[data-theme="dark"] input,html[data-theme="dark"] textarea{color:#E9EFF4;background:#16212B;border-color:#27384A}
html[data-theme="dark"] .public-header-nav a{color:#A6B4C0}
html[data-theme="dark"] .public-header-nav a:hover{color:#4EC3FF}
html[data-theme="dark"] .lav316-cmp-tag-before{background:rgba(0,0,0,.6)}
/* переключатель в шапке: на компьютере после MAX, на телефоне — в конце строки значков, компактнее */
html body #topbar#topbar > .public-utility > .lav316-theme{order:4;flex:0 0 auto;margin:0 0 0 4px}
@media(max-width:767px){html body #topbar#topbar > .public-utility > .lav316-theme{width:32px;height:32px;margin-left:auto}}
