html{color-scheme:light}button{font:inherit;cursor:pointer;background:#eaf6ff;border:1px solid #7895d8;padding:8px 14px;color:#164b85}button:hover{background:#d9efff}input:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:2px solid #0083d5;outline-offset:2px}.site-layout>tbody>tr>td:nth-child(3){min-width:0}.recovery-notice{padding:10px 12px;background:#f3f8fc;border-left:3px solid #7895d8;color:#476076;font-size:12px;margin:0 0 20px}.missing-media{display:inline-block;color:#677b8c;background:#f0f5f8;padding:8px;border:1px dashed #bdcbd6;font-size:11px}.content button{margin:10px 0}dialog{width:min(620px,calc(100% - 36px));max-height:90vh;padding:0;border:1px solid #7895d8;background:white;color:#1d3448;box-shadow:0 12px 60px #182e4b55;box-sizing:border-box}dialog::backdrop{background:#19314c99}.modal-head{background:#7895d8;color:white;padding:16px 20px;display:flex;align-items:center;justify-content:space-between}.modal-head h2{font-size:19px;font-weight:400;margin:0}.modal-head button{background:transparent;color:white;border:0;font-size:24px;padding:0 4px}.modal-body{padding:20px}.modal-body form{display:grid;gap:13px}.modal-body label{display:grid;gap:5px;font-size:12px}.modal-body input,.modal-body textarea{width:100%;padding:9px;border:1px solid #a9bfd3}.modal-body textarea{min-height:110px}.modal-body .privacy{font-size:11px;line-height:1.5;color:#62758a}.modal-body .error{color:#ad2925}.cart-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid #bdcbd6;padding:12px 0}.cart-row span{flex:1}.cart-row input{width:65px}#search-results article{border-bottom:1px solid #d1dfed;padding:15px 0}#search-results h2{font-size:16px;margin:0 0 8px}.search-count{color:#61798c}@media(max-width:760px){.site-header{table-layout:fixed}.site-header>tbody>tr>td:first-child,.site-header>tbody>tr>td:last-child{display:none}.site-header img{width:100%;height:auto}.site-header>tbody>tr>td:nth-child(2){width:100%}.site-layout,.site-layout>tbody,.site-layout>tbody>tr,.site-layout>tbody>tr>td:nth-child(3){display:block;width:100%!important}.site-layout>tbody>tr>td:first-child{display:block;width:100%;max-width:none;min-width:0;background:#edf7fe}.site-layout>tbody>tr>td:first-child>img,.site-layout>tbody>tr>td:first-child>div{display:none}.site-layout>tbody>tr>td:first-child .menu{display:inline-block;width:auto!important;padding:8px}.site-layout>tbody>tr>td:first-child table{display:inline-table;max-width:100%}.site-layout>tbody>tr>td:nth-child(2),.site-layout>tbody>tr>td:nth-child(4){display:none}.site-layout #table31{display:none}.content{padding:12px;max-width:100vw;box-sizing:border-box}.site-layout>tbody>tr>td:nth-child(3)>p{padding:16px 12px 0}#table5>tbody>tr>td:last-child{display:none}#table57 img{max-width:100%;height:auto}.site-navigation{table-layout:fixed}.site-navigation>tbody>tr>td:first-child{width:170px}.site-navigation>tbody>tr>td:nth-child(2){width:auto!important}.site-navigation #table57{display:block}.site-navigation #table57>tbody,.site-navigation #table57>tbody>tr{display:flex;flex-wrap:wrap}.site-navigation #table57 td{padding:5px!important;width:auto!important}.site-navigation #table57 td img{display:none}ol.categories li{width:calc(50% - 12px);margin:0 12px 14px 0;height:190px}.content [width]{max-width:100%}dialog{width:calc(100% - 24px)}.cart-row{flex-wrap:wrap}#table30 img{width:100%}}

.mobile-sections{display:none}@media(max-width:760px){.site-navigation,.site-navigation>tbody,.site-navigation>tbody>tr,.site-navigation>tbody>tr>td:nth-child(2),.site-navigation>tbody>tr>td:first-child{display:block;width:100%!important}.site-navigation>tbody>tr>td:first-child{height:32px}.site-navigation #table57 td{padding:6px 10px!important}.site-navigation #table57 td a{font-size:12px}.site-layout>tbody>tr>td:first-child{display:none}.mobile-sections{display:block;background:#edf7fe;border-block:1px solid #c4d9e9;padding:10px 12px}.mobile-sections summary{cursor:pointer;font-weight:bold;color:#0083d5}.mobile-sections a{display:inline-block;padding:10px 14px 4px 0;color:#0083d5;font-weight:bold}.site-layout>tbody>tr>td:nth-child(3)>p{margin-bottom:0!important}.content h1{font-size:21px}.site-layout>tbody>tr>td:nth-child(3)>p font br{display:none}}


.recovered-figure{margin:1.2rem 0;text-align:center}.recovered-figure img{display:block;max-width:100%;height:auto;margin:auto}.recovered-figure figcaption{margin-top:.4rem;font-size:.85rem;color:#56708a}

/* Семантический H1 не заменяет видимый архивный font/p и не меняет его геометрию. */
.recovery-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Нативные новые формы и отдельно обозначенная мобильная адаптация. */
dialog input,dialog textarea,#recovery-cart input,#site-search input{font:inherit;box-sizing:border-box}
@media(max-width:760px){.content{overflow-x:auto}.content img{max-width:100%;height:auto}.site-header img{display:block}.site-navigation form{margin:0}}

/* Место неполученного файла резервируется только по исходным width/height. */
.missing-media-sized{box-sizing:border-box;overflow:hidden;vertical-align:baseline;padding:2px;font-size:10px}.missing-catalog-image{box-sizing:content-box;border:1px solid #a9dffb;padding:1px}
@media(max-width:760px){.missing-media-sized{max-width:100%}}

/* Мобильный низ: исходные растр484+507px масштабируются одинаково, без фона/высоты68px. */
@media(max-width:760px){#table30{table-layout:fixed}#table30 td{height:auto;line-height:0;background:none}#table30 td:nth-child(2){display:none}#table30 td:first-child{width:48.839556%}#table30 td:last-child{width:51.160444%}#table30 img{display:block;width:100%;max-width:100%;height:auto}}

/* Нативный просмотр доступных изображений вместо архивного Thickbox. */
#image-preview{width:fit-content;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:12px;overflow:auto}#image-preview .preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}#image-preview img{display:block;max-width:calc(100vw - 50px);max-height:calc(100dvh - 130px);height:auto;width:auto;object-fit:contain}#image-preview p:empty{display:none}

/* Узкие окна с обычной полосой прокрутки: ширина по контейнеру, а не 100vw. */
@media(max-width:760px){#table1{table-layout:fixed;width:100%;max-width:100%}.content{max-width:100%}}

/* Миниатюры товарной таблицы на телефоне оставляют место описанию. */
@media(max-width:760px){.content .c-cart td.image img,.content .c-cart .missing-catalog-image{max-width:90px}}
