/* Desktop-only compact header; mobile and tall windows retain the legacy layout. */
@media screen and (min-width:1024px) and (max-height:800px) and (pointer:fine) {
    html body { background-image:linear-gradient(to bottom,#ffcd75 0,#ffcd75 48px,#4a2889 48px,#4a2889 80px,transparent 80px); background-repeat:no-repeat; }
    #headerBrand { height:48px !important; margin-top:0 !important; }
    #homeimg, #homeimg1 { width:42px !important; height:42px !important; top:3px; }
    body #kabinet.log { box-sizing:border-box; height:80px; padding-top:5px; background:#4a2889; }
    #kabinet > span:last-child { top:4px !important; }
    #ASPmenu > table { border-collapse:collapse; }
    #ASPmenu > table > tbody > tr > td[id] { vertical-align:top; }
    #ASPmenu { top:-32px; height:56px; }
    #ASPmenu .div_left, #ASPmenu .div_right { display:none; }
    #ASPmenu .div_text { box-sizing:border-box; display:flex; float:none !important; align-items:center; justify-content:center; width:183px; height:32px; background:#4a2889; border-left:2px solid #eee5fa; border-right:1px solid #eee5fa; }
    #ASPmenu .div_text > span { top:0 !important; }
    .fa-contract-page #ASPmenu { height:32px; margin-bottom:-32px; }
}