/* A single visual specification for every X-ray catalogue control. */
body.mtxn-browse{--mtxb-font:Brand,"Segoe UI",Arial,sans-serif;--mtxb-ink:#33305f;--mtxb-line:#ccd0df;--mtxb-red:#dc2935}
body.mtxn-browse main .mtxn-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,150px)!important;gap:10px!important}
body.mtxn-browse main .mtxn-tabs a.cat-branch{box-sizing:border-box!important;height:150px!important;min-height:0!important;padding:18px 20px!important;margin:0!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto 1fr auto!important;gap:6px!important;border-radius:3px!important;font:400 16px/1.4 var(--mtxb-font)!important;transform:none!important}
body.mtxn-browse main .mtxn-tabs a.cat-branch strong{font:600 16px/1.4 var(--mtxb-font)!important;margin:0!important;padding:0!important;min-block-size:0!important}
body.mtxn-browse main .mtxn-tabs .cat-intent-desc{font:400 14px/1.5 var(--mtxb-font)!important;margin:0!important;padding:0!important;min-block-size:0!important;align-self:start!important}
body.mtxn-browse main .mtxn-tabs .cat-count{font:400 13px/1.4 var(--mtxb-font)!important;margin:0!important;padding:0!important;align-self:end!important}
body.mtxn-browse main .mtxn-tabs a.mtxn-all{display:flex!important;justify-content:center!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls{font:400 14px/1.6 var(--mtxb-font)!important;margin-block:0!important;padding-top:8px!important;padding-bottom:24px!important;box-sizing:border-box!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-rows:224px!important;gap:12px!important;margin:0!important;padding:0!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button{box-sizing:border-box!important;width:auto!important;height:224px!important;min-height:224px!important;max-height:224px!important;margin:0!important;padding:16px!important;display:grid!important;grid-template-areas:"name count" "desc desc"!important;grid-template-columns:minmax(0,1fr) 24px!important;grid-template-rows:67.2px minmax(0,1fr)!important;gap:14px 8px!important;align-content:start!important;align-items:start!important;text-align:left!important;font:400 16px/1.4 var(--mtxb-font)!important;color:var(--mtxb-ink);border:1px solid var(--mtxb-line)!important;border-radius:5px!important;box-shadow:none;overflow:visible!important;transform:none!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button>strong{grid-area:name!important;align-self:start!important;font:600 16px/1.4 var(--mtxb-font)!important;min-block-size:0!important;min-height:0!important;width:auto!important;margin:0!important;padding:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;word-break:normal!important;hyphens:auto!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button>:is(.mf-count,.mtxn-xps-count,.cat-count){grid-area:count!important;justify-self:end!important;align-self:start!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;min-width:23px!important;min-height:25px!important;width:auto!important;height:25px!important;margin:0!important;padding:2px 5px!important;font:400 13px/1.4 var(--mtxb-font)!important;background:#edf1f5!important;color:var(--mtxb-ink)!important;border:0!important;border-radius:3px!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button>:is(.mf-desc,.mtxn-xps-desc,.cat-intent-desc){grid-area:desc!important;display:block!important;align-self:start!important;min-block-size:0!important;min-height:0!important;width:auto!important;margin:0!important;padding:0!important;font:400 14px/1.5 var(--mtxb-font)!important;color:var(--mtxb-ink)!important;white-space:normal!important;overflow:visible!important;overflow-wrap:normal!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button[aria-pressed=true]{background:var(--mtxb-ink)!important;color:#fff!important;border-color:var(--mtxb-ink)!important;box-shadow:inset 0 -3px 0 var(--mtxb-red)!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button[aria-pressed=true]>:is(strong,.mf-desc,.mtxn-xps-desc,.cat-intent-desc){color:#fff!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button[aria-pressed=true]>:is(.mf-count,.mtxn-xps-count,.cat-count){background:rgba(255,255,255,.18)!important;color:#fff!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-result{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:16px!important;box-sizing:border-box!important;min-height:40px!important;height:auto!important;margin:24px 0 0!important;padding:0!important;font:400 14px/1.6 var(--mtxb-font)!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls:not(:has(.mtxn-filter-grid)) .mtxn-result{margin-top:0!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls :is([data-category-status],#model-status){flex:1!important;margin:0!important;padding:0!important;font:400 14px/1.6 var(--mtxb-font)!important;letter-spacing:normal!important;color:var(--mtxb-ink)!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls :is([data-category-status],#model-status) strong{font:600 14px/1.6 var(--mtxb-font)!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-reset{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 120px!important;width:120px!important;min-width:120px!important;height:40px!important;min-height:40px!important;margin:0!important;padding:8px 14px!important;font:600 14px/1.4 var(--mtxb-font)!important;letter-spacing:normal!important;border:1px solid var(--mtxb-line)!important;border-radius:3px!important;background:#fff;color:var(--mtxb-ink)}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-reset[aria-pressed=true]{background:var(--mtxb-ink)!important;border-color:var(--mtxb-ink)!important;color:#fff!important;box-shadow:inset 0 -3px 0 var(--mtxb-red)!important}
@media(max-width:1100px) and (min-width:701px){body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){body.mtxn-browse main .mtxn-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(3,96px)!important;gap:8px!important}body.mtxn-browse main .mtxn-tabs a.cat-branch{height:96px!important;padding:12px!important;gap:6px!important}body.mtxn-browse main .mtxn-tabs a.cat-branch strong{font-size:14px!important;line-height:1.4!important}body.mtxn-browse main .mtxn-tabs .cat-intent-desc{display:none!important}body.mtxn-browse main .mtxn-tabs .cat-count{font-size:12px!important}body.mtxn-browse main .crumbs,body.mtxn-browse main .breadcrumbs{box-sizing:border-box!important;min-height:80.8px!important}body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button>strong{font-size:14px!important}body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-reset{flex-basis:110px!important;width:110px!important;min-width:110px!important}}
@media(max-width:420px){body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-grid{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:180px!important}body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button{height:180px!important;min-height:180px!important;max-height:180px!important;grid-template-rows:44.8px minmax(0,1fr)!important;row-gap:14px!important}body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button>strong{font-size:16px!important}}

/* Shared responsive breakpoints keep long Russian labels readable. */
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button>strong{overflow-wrap:normal!important;hyphens:manual!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-reset{flex:0 0 140px!important;width:140px!important;min-width:140px!important;white-space:nowrap!important}
@media(max-width:1399px) and (min-width:1000px){body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:999px) and (min-width:701px){body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-grid{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:180px!important}body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button{height:180px!important;min-height:180px!important;max-height:180px!important;grid-template-rows:44.8px minmax(0,1fr)!important;row-gap:14px!important}body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button>strong{font-size:16px!important}body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-result{align-items:flex-start!important;min-height:68px!important}}

/* Preserve each subcategory's existing number of buttons in one desktop row. */
@media(min-width:1000px){body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-grid{grid-template-columns:repeat(var(--mtxn-filter-count,4),minmax(0,1fr))!important;grid-auto-rows:208px!important}body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button{height:208px!important;min-height:208px!important;max-height:208px!important}}

/* Compact title-only cards: one shared six-column track for both levels. */
body.mtxn-browse main .mtxn-tabs,
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-grid{display:grid!important;grid-template-columns:repeat(6,minmax(184px,1fr))!important;grid-template-rows:92px!important;grid-auto-rows:92px!important;grid-auto-flow:column!important;gap:10px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important;padding:3px 0 7px!important;margin:0!important;align-items:stretch!important}
body.mtxn-browse main .mtxn-tabs a.cat-branch,
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button{box-sizing:border-box!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;grid-template-areas:none!important;grid-template-columns:none!important;grid-template-rows:none!important;gap:0!important;width:100%!important;height:92px!important;min-height:92px!important;max-height:92px!important;min-width:0!important;padding:10px!important;margin:0!important;border:1px solid var(--mtxb-line)!important;border-radius:4px!important;text-align:left!important;background:#fff!important;color:var(--mtxb-ink)!important;box-shadow:none!important;transform:none!important}
body.mtxn-browse main .mtxn-tabs a.cat-branch>strong,
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button>strong{display:block!important;flex:1!important;align-self:center!important;min-width:0!important;min-height:0!important;min-block-size:0!important;width:auto!important;margin:0!important;padding:0!important;font:600 14px/1.4 var(--mtxb-font)!important;letter-spacing:normal!important;color:inherit!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:manual!important;overflow:visible!important}
body.mtxn-browse main .mtxn-tabs a.cat-branch>:not(strong),
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button>:not(strong){display:none!important}
body.mtxn-browse main .mtxn-tabs a.cat-branch[aria-current=page],
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button{background:#dfe7ef!important;border-color:#c1cdda!important;color:var(--mtxb-ink)!important;box-shadow:none!important}
body.mtxn-browse main .mtxn-tabs a.cat-branch[aria-current=page]>strong{color:var(--mtxb-ink)!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button[aria-pressed=true]{background:var(--mtxb-ink)!important;border-color:var(--mtxb-ink)!important;color:#fff!important;box-shadow:inset 0 -3px 0 var(--mtxb-red)!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button[aria-pressed=true]>strong{color:#fff!important}
body.mtxn-browse main .mtxn-tabs a.cat-branch:hover,
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button:hover{border-color:#8c9bad!important}
body.mtxn-browse main .mtxn-tabs a.cat-branch:focus:not(:focus-visible){outline:none!important}
body.mtxn-browse main .mtxn-tabs a.cat-branch:focus-visible,
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button:focus-visible{outline:2px solid #8c9bad!important;outline-offset:-3px!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button>:is(.mf-count,.mtxn-xps-count,.cat-count,.mf-desc,.mtxn-xps-desc,.cat-intent-desc){display:none!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-grid{grid-template-columns:repeat(var(--mtxn-filter-count,4),max(184px,calc((100% - 50px)/6)))!important}

body.mtxn-browse main .mtxn-virtual-subsection :is(.cat-selection-heading,.mtxn-filter-grid,.mtxn-reset){display:none!important}
body.mtxn-browse main .mtxn-virtual-subsection.mtxn-controls .mtxn-result{margin-top:0!important}
body.mtxn-browse main .cat-selection-heading>p:not(.mtxn-filter-intro){display:none!important}

/* Every catalogue branch shares the same track width, including seven or more choices. */
body.mtxn-browse main .mtxn-tabs{grid-template-columns:repeat(var(--mtxn-nav-count,6),max(184px,calc((100% - 50px)/6)))!important;grid-auto-columns:max(184px,calc((100% - 50px)/6))!important}
body.mtxn-browse main .mtxn-single-section{display:none!important}
body.mtxn-browse main .v-family-intro{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important}
body.mtxn-browse main .ed-page>.mtxn-panel{width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important}
body.mtxn-browse main .v-breadcrumbs.crumbs,body.mtxn-browse main .ed-crumbs.crumbs{display:block!important;font:400 14px/1.6 var(--mtxb-font)!important;color:#575b73!important}
body.mtxn-browse main .v-breadcrumbs.crumbs>*,body.mtxn-browse main .ed-crumbs.crumbs>*{font:inherit!important;color:inherit!important}

/* Keep every navigation choice visible; compact tracks replace horizontal scrolling. */
body.mtxn-browse main .mtxn-tabs{width:100%!important;max-width:calc(var(--mtxn-nav-count,6)*184px + (var(--mtxn-nav-count,6) - 1)*8px)!important;grid-template-columns:repeat(var(--mtxn-nav-count,6),minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-flow:row!important;grid-auto-rows:88px!important;grid-auto-columns:auto!important;gap:8px!important;overflow:visible!important;padding:3px 0!important}
body.mtxn-browse main .mtxn-tabs a.cat-branch{height:88px!important;min-height:88px!important;max-height:88px!important;padding:8px!important}
body.mtxn-browse main .mtxn-tabs a.cat-branch>strong{overflow-wrap:anywhere!important;hyphens:auto!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-grid{width:100%!important;max-width:calc(var(--mtxn-filter-count,4)*184px + (var(--mtxn-filter-count,4) - 1)*8px)!important;grid-template-columns:repeat(var(--mtxn-filter-count,4),minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-flow:row!important;grid-auto-rows:92px!important;gap:8px!important;overflow:visible!important;padding:3px 0!important}
body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-button>strong{overflow-wrap:anywhere!important;hyphens:auto!important}
@media(max-width:1099px){body.mtxn-browse main .mtxn-tabs,body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-grid{max-width:none!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){body.mtxn-browse main .mtxn-tabs,body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:380px){body.mtxn-browse main .mtxn-tabs,body.mtxn-browse main :is(#selection,.cat-selection).mtxn-controls .mtxn-filter-grid{grid-template-columns:minmax(0,1fr)!important}}
