/* Mobile-only repairs. Desktop rules and product data are unchanged. */
@media(max-width:760px){
 html{scroll-padding-top:76px;-webkit-text-size-adjust:100%}
 body{min-width:0}
 body header{position:sticky!important;top:0!important;z-index:80!important;isolation:isolate;background:var(--bg,#000)!important}
 body header [data-sitenav],body header #cabinet-site-navigation{background:var(--bg,#000)!important;z-index:90!important;max-height:calc(100dvh - 64px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 18px 30px #0008;border-bottom:1px solid var(--line,#303238)}
 body header [data-sitenav] a,body header #cabinet-site-navigation a{min-height:46px;box-sizing:border-box;display:flex;align-items:center;border-radius:6px!important;font-size:16px!important}
 body header [data-sitenav] [aria-current=page]{background:#233bff20!important}
 body header [data-burger],body header #site-menu-toggle{min-width:76px;min-height:44px;border-radius:6px!important}
 body header [data-account-trigger]{min-height:46px!important;border-radius:6px!important}
 html[data-color-theme=light] header,html[data-color-theme=light] header [data-sitenav],html[data-color-theme=light] header #cabinet-site-navigation{background:#fff!important}
 input:not([type=checkbox]):not([type=radio]),textarea,select{font-size:16px!important;max-width:100%;min-width:0}
 input[type=checkbox],input[type=radio]{flex:none}
 dialog{max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 24px)!important;overscroll-behavior:contain}
 h1,h2,h3{overflow-wrap:break-word}
 html body h1[data-hero]{font-size:clamp(26px,7.2vw,34px)!important;line-height:1.22!important;hyphens:none!important;word-break:normal!important;overflow-wrap:normal!important;max-width:100%!important}
 footer[data-dc-tpl] [data-dc-tpl="307"]{grid-template-columns:1fr 1fr!important;gap:24px 18px!important;padding:30px 18px 24px!important}
 footer[data-dc-tpl] [data-dc-tpl="309"]:first-child,footer[data-dc-tpl] [data-dc-tpl="315"]{grid-column:1/-1}
 footer[data-dc-tpl] [data-dc-tpl="311"],footer[data-dc-tpl] [data-dc-tpl="317"]{gap:0!important;margin-top:8px!important}
 footer[data-dc-tpl] li>button,footer[data-dc-tpl] li>a{display:flex;align-items:center;min-height:44px;font-size:14px!important;line-height:1.45!important}
 footer[data-dc-tpl] [data-dc-tpl="318"]{font-size:14px!important;line-height:1.6!important;margin-bottom:8px}
 footer[data-dc-tpl] [data-dc-tpl="326"]{font-size:13px!important}
 footer[data-dc-tpl] [data-dc-tpl="327"]{padding:18px!important;gap:12px!important}
 footer[data-dc-tpl] [data-dc-tpl="329"]{gap:12px!important;align-items:start!important}
 footer[data-dc-tpl] [data-dc-tpl="330"]{text-align:left;font-size:13px!important;line-height:1.5!important;min-height:44px}
 footer[data-dc-tpl] [data-dc-tpl="331"]{min-height:44px}
 #workspace .titlebar{padding-bottom:14px!important;margin-bottom:20px!important}
 #workspace #workspace-title{font-size:clamp(23px,6.6vw,29px)!important;line-height:1.4!important}
 #workspace .form-section{min-width:0;margin-inline:0!important;padding:16px 12px!important}
 #workspace fieldset{min-inline-size:0}
 #workspace textarea{min-height:120px}
 #workspace .project-equipment-heading [data-open-camera-picker]{width:100%!important;margin:0!important}
 #workspace .project-equipment [data-project-documents]{width:100%;white-space:normal;min-height:46px}
 .auth-panel{max-width:100%!important;padding-inline:16px!important;box-sizing:border-box}
 .entry-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
 .entry-actions>button{flex:1 1 135px;min-height:46px;white-space:normal}
 #entry h1,#briefchoice h1,#registration h1{font-size:clamp(26px,7vw,34px)!important}
 #camera-picker-dialog{width:calc(100vw - 16px)!important;height:calc(100dvh - 24px)!important;max-height:calc(100dvh - 24px)!important;margin:12px auto!important}
 .camera-picker-modal{padding:14px 10px!important;min-width:0}
 .camera-picker-heading h2{font-size:20px!important;line-height:1.3!important;overflow-wrap:normal}
 .camera-picker-controls{margin-top:12px!important;gap:4px!important}
 .camera-picker-status{padding-bottom:6px!important}
 .camera-picker-results{grid-template-columns:1fr!important;scrollbar-gutter:auto;padding:2px!important;gap:12px!important}
 .camera-picker-results .camera-option{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;padding:12px!important;gap:10px!important;overflow:visible!important}
 .camera-picker-results .camera-option-photo{grid-row:1!important;grid-column:1;width:88px!important;height:96px!important;aspect-ratio:auto!important;align-self:start!important;min-height:0!important}
 .camera-picker-results .camera-option-photo img{height:96px!important;width:88px!important;object-fit:contain}
 .camera-picker-results .camera-option-info{padding:0!important;grid-column:2;grid-row:1;min-width:0}
 .camera-picker-results .camera-option-info h3{font-size:13px!important;line-height:1.5!important;font-family:Golos,'Golos Text VF',sans-serif!important}
 .camera-picker-results .camera-option-name{font-size:12px;line-height:1.5;-webkit-line-clamp:3}
 .camera-picker-results .camera-option-info ul{font-size:12px!important}
 .camera-picker-results .camera-option-actions{grid-column:1/-1!important;display:flex!important;justify-content:space-between!important;flex-wrap:nowrap!important;padding:0!important;gap:12px!important}
 .camera-option-actions label{font-size:12px!important}
 .camera-option-actions input{height:44px!important;min-height:44px!important;width:84px!important}
 .camera-option-actions button{min-height:44px!important;min-width:110px!important}
 .camera-picker-footer{padding-top:10px!important;margin-top:8px!important;gap:8px!important}
 .camera-picker-footer>button{flex:1;min-height:46px!important}
 .camera-picker-footer>span{font-size:12px!important}
 .basket-model-info h3{font-family:Golos,'Golos Text VF',sans-serif!important;line-height:1.5!important;overflow-wrap:anywhere}
 .stock-model-dialog,.request-detail-dialog{width:calc(100vw - 16px)!important}
 .request-open-title{overflow-wrap:anywhere}
 .request-camera-items{width:100%;table-layout:fixed}.request-camera-items td,.request-camera-items th{overflow-wrap:anywhere}
 #workspace input[type=file]{width:100%;font-size:13px!important;padding:8px}
 #workspace input[type=file]::file-selector-button{min-height:44px;margin-right:6px;padding:8px}
 #account-popover,.account-popover,.pc-account-menu{max-width:calc(100vw - 24px)!important;right:12px!important;left:auto!important}
}
@media(max-width:360px){footer[data-dc-tpl] [data-dc-tpl="307"]{gap:20px 12px!important} .camera-picker-heading h2{font-size:18px!important}.camera-picker-results .camera-option{grid-template-columns:72px minmax(0,1fr)!important;padding:10px!important}.camera-picker-results .camera-option-photo,.camera-picker-results .camera-option-photo img{width:72px!important;height:84px!important}}
@media(max-width:760px){
 .pc-account-panel{right:12px!important;max-width:calc(100vw - 24px)!important}
 body:has(section[aria-label="Даташиты"]) main{padding-inline:16px}
 body:has(section[aria-label="Даташиты"]) .title{gap:16px}
 body:has(section[aria-label="Даташиты"]) .title>.primary{min-height:46px}
 body:has(section[aria-label="Даташиты"]) .tools{display:grid;grid-template-columns:1fr;gap:10px}
 body:has(section[aria-label="Даташиты"]) article{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;padding:14px}
 body:has(section[aria-label="Даташиты"]) article img{width:76px;height:64px}
 body:has(section[aria-label="Даташиты"]) article h2{font-size:15px;line-height:1.5;overflow-wrap:anywhere}
 body:has(section[aria-label="Даташиты"]) article .actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px}
 body:has(section[aria-label="Даташиты"]) article .actions a,body:has(section[aria-label="Даташиты"]) article .actions button{min-height:44px;display:flex;align-items:center;justify-content:center;font-size:14px}
}
@media(min-width:761px) and (max-width:1000px){
 body header{position:sticky!important;top:0!important;z-index:80!important;isolation:isolate}
 body header [data-sitenav],body header #cabinet-site-navigation{background:var(--bg,#000)!important;max-height:calc(100dvh - 64px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 18px 30px #0008}
 html[data-color-theme=light] header [data-sitenav],html[data-color-theme=light] header #cabinet-site-navigation{background:#fff!important}
}
@media(max-width:760px){.camera-picker-results .camera-option-actions label{flex:0 0 86px!important;width:86px!important;min-width:86px!important}.camera-picker-results .camera-option-actions button{flex:1 1 auto!important;width:auto!important;min-width:0!important}.camera-picker-footer>button{width:auto!important}}
@media(max-width:760px){.camera-modal-specs dl{font-size:14px!important;line-height:1.55!important;grid-template-columns:98px minmax(0,1fr)!important}.camera-model-description{font-size:14px!important;line-height:1.6!important}.camera-modal-specs dd{overflow-wrap:anywhere}}
@media(max-width:760px){html[data-color-theme=light] #workspace #identity{color:#53637a!important}}
@media(max-width:760px){
 html[data-color-theme=light] :is(.camera-option,.basket-selected-card,.test-camera-preview,.camera-documents a,.camera-documents button){background:#fff!important;color:#182032!important;border-color:#cbd3e1!important}
 html[data-color-theme=light] .camera-option.is-selected{background:#e8edff!important;border-color:#7c92d4!important}
 html[data-color-theme=light] :is(.camera-option-info h3,.basket-model-info h3,.camera-choice-info h3,.camera-modal h2,.camera-modal h3){color:#182032!important}
 html[data-color-theme=light] :is(.camera-option-name,.camera-option-info ul,.camera-option-actions label,.camera-picker-status>span,.camera-picker-status>p,.camera-picker-footer>span,.camera-choice-description,.camera-choice-info dt,.camera-model-description,.camera-modal-specs dt){color:#53637a!important}
 html[data-color-theme=light] :is(.camera-option-stock,.camera-option-stock strong){color:#285b43!important}
 html[data-color-theme=light] :is(.camera-picker-status>button,.camera-modal .text-button){color:#254b96!important}
 html[data-color-theme=light] .camera-picker-heading>button{background:#fff!important;border-color:#bdc9da!important;color:#182032!important}
 html[data-color-theme=light] .camera-picker-footer{border-color:#cbd3e1!important}
 html[data-color-theme=light] .camera-modal-specs dd{color:#182032!important}
 html[data-color-theme=light] .camera-analytics li{background:#e7edf7!important;color:#334562!important}
 html[data-color-theme=light] .camera-option-actions button:not(.primary){background:#f3f5f8!important;color:#334562!important;border-color:#bdc9da!important}
}
