/* Shared screen identity for every public entry and its dialogs. Business data and product colours are unchanged. */
@media screen{
 html body :is(dialog,[role="dialog"]){font-family:NZMO-Golos,Arial,sans-serif!important;color:#1B2D42;background-color:#fff}
 html body :is(dialog,[role="dialog"]) :is(button,input,select,textarea){font-family:NZMO-Golos,Arial,sans-serif!important}
 html body:not(:has(#siteNavigation,#dealerNavigation)):not(:has(>header img[alt^="НЗМО"]))>main:not(:has(>img[alt^="НЗМО"],>.brand,>header>img[alt^="НЗМО"]))::before{content:'';display:block;width:180px;max-width:75%;height:46px;margin:0 0 24px;background:url('/potok-logo-dark-20261118.svg') left center/contain no-repeat}
 html body.supplier-page main{border-radius:4px;border-color:#DFE2E6}
 html body.supplier-page .brand{display:block;width:180px;max-width:75%;height:auto;margin:0 0 24px}
 html body.supplier-page .sr-message{background:#F4F3F1;color:#1B2D42;border-radius:4px}
 html body.supplier-page .sr-error{background:#F7EFDF;color:#B4483A}
 html body.supplier-page .sr-muted{color:#70727A}
 html body.supplier-page .sr-btn.primary{background:#05445E!important;border-color:#05445E!important;color:#fff!important}
 html body:has(#heading)>main{border-radius:4px}
 html body:has(#heading) dialog{border-radius:4px}
}

/* Identical modal backdrop and keyboard focus inside document and component roots. */
@media screen{dialog::backdrop{background:#101C2A80!important}:is(input,select,textarea,button,a,summary):focus-visible{outline:2px solid #D1A250!important;outline-offset:2px!important;box-shadow:none!important}}

/* Platform lockup only; corporate logos in generated documents stay unchanged. */
@media screen{
 html body :is(#siteNavigation,#dealerNavigation) :is(.site-brand,.dealer-brand)::before{background-image:url("/potok-logo-light-20261118.svg")!important}
}
