
/* PRTMX FLEET CATALOG V2 */

.prtmx-catalog-tools{
  margin:12px 0 20px;
  padding:16px;
  background:#f5f9fd;
  border:1px solid #dce7ef;
  border-radius:18px;
}
.prtmx-search-label{
  display:block;
  font-size:13px;
  font-weight:700;
  color:#263c52;
  margin-bottom:9px;
}
.prtmx-search-wrap input{
  display:block;
  width:100%;
  min-width:0;
  min-height:46px;
  border:1px solid #cedeea;
  border-radius:12px;
  padding:11px 14px;
  background:#fff;
  color:#18354d;
  font:inherit;
  font-size:15px;
  outline:none;
}
.prtmx-search-wrap input:focus{
  border-color:#2788d1;
  box-shadow:0 0 0 3px #2788d11a;
}
.prtmx-company-filters{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:12px;
}
.prtmx-company-filters button{
  min-height:34px;
  padding:7px 12px;
  border:1px solid #d7e2ec;
  border-radius:999px;
  background:white;
  color:#40586e;
  font:600 12px system-ui,sans-serif;
  cursor:pointer;
}
.prtmx-company-filters button.selected{
  background:#153f70;
  border-color:#153f70;
  color:#fff;
}
.prtmx-catalog-count{
  margin-top:12px;
  color:#74889b;
  font-size:12px;
}
.prtmx-catalog-empty{
  margin-top:14px;
  padding:18px;
  text-align:center;
  color:#74889b;
  background:#fff;
  border-radius:12px;
}
.prtmx-catalog-empty[hidden]{display:none!important}

#shipFleet .prtmx-catalog-hidden{
  display:none!important;
}

/* Убираем обрезание длинных названий. */
#shipFleet .ship-fleet-item{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
#shipFleet .ship-fleet-name,
#shipFleet .ship-name,
#shipFleet .ship-fleet-title,
#shipFleet .ship-title{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:5px;
  min-width:0!important;
  max-width:100%!important;
  width:100%;
  height:auto!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  -webkit-line-clamp:unset!important;
  line-clamp:unset!important;
  overflow-wrap:break-word;
  word-break:normal;
  line-height:1.3!important;
}

#shipFleet .prtmx-catalog-title .prtmx-brand{
  display:inline-flex!important;
  width:max-content;
  max-width:100%;
  margin:3px 0 0!important;
  flex:none!important;
  white-space:nowrap!important;
}
#shipFleet .ship-fleet-item [class*="ship-fleet-header"],
#shipFleet .ship-fleet-item [class*="ship-fleet-top"]{
  height:auto!important;
  min-height:0!important;
  align-items:flex-start!important;
}

@media(max-width:700px){
  .prtmx-catalog-tools{
    margin:10px 0 15px;
    padding:12px;
    border-radius:15px;
  }
  #shipFleet .ship-fleet-name,
  #shipFleet .ship-name,
  #shipFleet .ship-fleet-title{
    font-size:clamp(17px,4.4vw,23px)!important;
  }
  #shipFleet .ship-fleet-item{
    padding-top:15px;
    padding-bottom:15px;
  }
}


/* PRTMX ONE COMPANY BADGE FIX */
#shipFleet .ship-fleet-name,
#shipFleet .ship-fleet-title,
#shipFleet .ship-name,
#shipFleet .ship-title {
 display:flex!important;
 flex-direction:column!important;
 align-items:flex-start!important;
 gap:4px!important;
 white-space:normal!important;
 text-overflow:clip!important;
 overflow:visible!important;
 height:auto!important;
 min-width:0!important;
 max-width:100%!important;
 overflow-wrap:anywhere!important;
}
#shipFleet .prtmx-brand {
 margin:4px 0 0!important;
}
#shipFleet .all-company-v4 {
 display:none!important;
}
#shipFleet .ship-fleet-item {
 height:auto!important;
 min-height:0!important;
}



/* PRTMX-SECTION-IMAGES-FIX */

html body a.quick-card.quick-blue span.quick-icon {
  position: relative !important;
  width: 50px !important;
  height: 50px !important;
  flex: 0 0 50px !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  background: url("/static/prtmx-section-schedule.webp") center/cover no-repeat !important;
  box-shadow: none !important;
}

html body a.quick-card.quick-blue span.quick-icon::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 20 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
  background: url("/static/prtmx-section-schedule.webp") center/cover no-repeat !important;
}


html body a.quick-card.quick-green span.quick-icon {
  position: relative !important;
  width: 50px !important;
  height: 50px !important;
  flex: 0 0 50px !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  background: url("/static/prtmx-section-board.webp") center/cover no-repeat !important;
  box-shadow: none !important;
}

html body a.quick-card.quick-green span.quick-icon::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 20 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
  background: url("/static/prtmx-section-board.webp") center/cover no-repeat !important;
}


html body a.quick-card.quick-purple span.quick-icon {
  position: relative !important;
  width: 50px !important;
  height: 50px !important;
  flex: 0 0 50px !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  background: url("/static/prtmx-section-map.webp") center/cover no-repeat !important;
  box-shadow: none !important;
}

html body a.quick-card.quick-purple span.quick-icon::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 20 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
  background: url("/static/prtmx-section-map.webp") center/cover no-repeat !important;
}


html body a.quick-card.quick-orange span.quick-icon {
  position: relative !important;
  width: 50px !important;
  height: 50px !important;
  flex: 0 0 50px !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  background: url("/static/prtmx-section-shared.webp") center/cover no-repeat !important;
  box-shadow: none !important;
}

html body a.quick-card.quick-orange span.quick-icon::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 20 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
  background: url("/static/prtmx-section-shared.webp") center/cover no-repeat !important;
}


html body a.quick-card span.quick-icon svg {
  visibility: hidden !important;
  opacity: 0 !important;
}


/* PRTMX-TEPLOHODIKI-MOBILE-HEADER-V1 */
@media (max-width:700px) {

  html body :is(
    #prtmx-v59-initial-header,
    #prtmx-ui-v52-header
  ) .prtmx-ui-header-inner {
    gap:5px!important;
  }

  html body :is(
    #prtmx-v59-initial-header,
    #prtmx-ui-v52-header
  ) .prtmx-ui-logo img {
    width:clamp(146px,44vw,172px)!important;
    height:auto!important;
    max-width:100%!important;
    max-height:54px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }

  html body :is(
    #prtmx-v59-initial-header,
    #prtmx-ui-v52-header
  ) .prtmx-ui-brand-label {
    font-size:9px!important;
    padding:5px 6px!important;
    max-width:94px!important;
    min-width:0!important;
    letter-spacing:-.25px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

}
 /* END PRTMX-TEPLOHODIKI-MOBILE-HEADER-V1 */

/* TEPLOHODIKI-UI-STABILIZE-V4-BEGIN
   Shared first-paint navigation geometry for /, /catalog and /board.
   No rules for map routes or Leaflet. */

/* Remove only known legacy shells from first paint, leaving their DOM for JS. */
html body#prtmxPortalHome > header.header,
html body#prtmxPortalHome > nav.v2-bottom-nav,
html body[data-prtmx-ui-route="catalog"] > nav.bottom-nav,
html body[data-prtmx-ui-route="board"] > nav.bottom,
html body[data-prtmx-ui-route="board"] > .prtmx-v510-legacy-shell,
html body[data-prtmx-ui-route="board"] > nav.bottom-nav {
  display:none!important;
}


/* Two five-item docks exist: server V59 and interactive client V52.
   Keep the server first-paint dock until the interactive one is created,
   then hide the server copy, including the nested catalog copy. */
html body#prtmxPortalHome:has(> nav.prtmx-ui-dock:not(#prtmx-v59-initial-dock)) #prtmx-v59-initial-dock,
html body[data-prtmx-ui-route="catalog"]:has(> nav.prtmx-ui-dock:not(#prtmx-v59-initial-dock)) #prtmx-v59-initial-dock,
html body[data-prtmx-ui-route="board"]:has(> nav.prtmx-ui-dock:not(#prtmx-v59-initial-dock)) #prtmx-v59-initial-dock {
  display:none!important;visibility:hidden!important;
}
/* Never display a redundant server header over a working client header. */
html body#prtmxPortalHome:has(> #prtmx-ui-v52-header) #prtmx-v59-initial-header,
html body[data-prtmx-ui-route="catalog"]:has(> #prtmx-ui-v52-header) #prtmx-v59-initial-header,
html body[data-prtmx-ui-route="board"]:has(> #prtmx-ui-v52-header) #prtmx-v59-initial-header {
  display:none!important;
}

/* Uniform header on ordinary pages: initially server-rendered, then client-managed. */
@media (max-width:700px) {
  html body:is(#prtmxPortalHome,[data-prtmx-ui-route="catalog"],[data-prtmx-ui-route="board"])
  > :is(#prtmx-v59-initial-header:not(.prtmx-v510-legacy-shell),#prtmx-ui-v52-header) {
    height:74px!important;min-height:74px!important;max-height:74px!important;
    padding:0!important;background:#f9fbff!important;
    border-bottom:1px solid #dce8f4!important;
    box-shadow:0 2px 0 #dbe7f2!important;
    box-sizing:border-box!important;
  }
  html body:is(#prtmxPortalHome,[data-prtmx-ui-route="catalog"],[data-prtmx-ui-route="board"])
  > :is(#prtmx-v59-initial-header:not(.prtmx-v510-legacy-shell),#prtmx-ui-v52-header)
  > .prtmx-ui-header-inner {
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    flex-wrap:nowrap!important;gap:6px!important;
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    height:74px!important;min-height:74px!important;
    margin:0!important;padding:9px 12px!important;
  }
  html body:is(#prtmxPortalHome,[data-prtmx-ui-route="catalog"],[data-prtmx-ui-route="board"])
  > :is(#prtmx-v59-initial-header:not(.prtmx-v510-legacy-shell),#prtmx-ui-v52-header)
  .prtmx-ui-logo {
    width:clamp(130px,41vw,166px)!important;min-width:0!important;max-width:none!important;
    flex:0 1 auto!important;display:flex!important;align-items:center!important;
    padding:0!important;margin:0!important;
  }
  html body:is(#prtmxPortalHome,[data-prtmx-ui-route="catalog"],[data-prtmx-ui-route="board"])
  > :is(#prtmx-v59-initial-header:not(.prtmx-v510-legacy-shell),#prtmx-ui-v52-header)
  .prtmx-ui-logo img {
    display:block!important;width:100%!important;height:auto!important;
    min-width:0!important;max-width:100%!important;max-height:54px!important;
    object-fit:contain!important;object-position:left center!important;
  }
  html body:is(#prtmxPortalHome,[data-prtmx-ui-route="catalog"],[data-prtmx-ui-route="board"])
  > :is(#prtmx-v59-initial-header:not(.prtmx-v510-legacy-shell),#prtmx-ui-v52-header)
  .prtmx-ui-brand-label {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    flex:0 0 auto!important;width:max-content!important;min-width:0!important;
    max-width:none!important;box-sizing:border-box!important;
    min-height:26px!important;padding:6px 7px!important;
    margin:0!important;font:700 clamp(9px,2.8vw,11px)/1.15 system-ui,sans-serif!important;
    letter-spacing:-.3px!important;color:#506d86!important;
    white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;
    background:linear-gradient(#f8fbff,#e9f2f9)!important;
    border:1px solid #d9e5ef!important;border-radius:10px!important;
    box-shadow:0 3px 0 #dce9f3!important;
  }
  html body:is(#prtmxPortalHome,[data-prtmx-ui-route="catalog"],[data-prtmx-ui-route="board"])
  > :is(#prtmx-v59-initial-header:not(.prtmx-v510-legacy-shell),#prtmx-ui-v52-header)
  .prtmx-ui-top-menu {
    display:grid!important;place-items:center!important;
    flex:0 0 40px!important;width:40px!important;height:40px!important;
    margin-left:auto!important;border-radius:11px!important;
  }
  html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"])
  nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) {
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:center!important;box-sizing:border-box!important;
    position:fixed!important;z-index:2800!important;
    left:50%!important;right:auto!important;
    transform:translateX(-50%)!important;
    width:calc(100% - 16px)!important;max-width:570px!important;
    height:70px!important;min-height:70px!important;max-height:70px!important;
    bottom:calc(5px + env(safe-area-inset-bottom,0px))!important;
    padding:4px!important;gap:0!important;
    background:#fcfdfff4!important;backdrop-filter:blur(15px)!important;
    border:1px solid #d5e2ee!important;border-radius:17px!important;
    box-shadow:0 8px 27px #24496826!important;
    font-family:system-ui,sans-serif!important;
  }
  html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"])
  nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) :is(a,button) {
    display:flex!important;flex-direction:column!important;justify-content:center!important;
    align-items:center!important;gap:4px!important;
    min-width:0!important;min-height:60px!important;
    padding:6px 1px!important;margin:0!important;
    border:0!important;border-radius:13px!important;
    background:transparent!important;color:#687f92!important;
    font:700 10px/1.12 system-ui,sans-serif!important;
    box-shadow:none!important;text-align:center!important;text-decoration:none!important;
  }
  html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"])
  nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) :is(a,button).active {
    background:#e1effc!important;color:#2074af!important;
  }
  html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"])
  nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) :is(a,button) svg {
    width:23px!important;height:23px!important;
    min-width:23px!important;min-height:23px!important;
    color:#145b94!important;stroke:#145b94!important;
  }
}

@media (max-width:360px) {
  html body:is(#prtmxPortalHome,[data-prtmx-ui-route="catalog"],[data-prtmx-ui-route="board"])
  > :is(#prtmx-v59-initial-header:not(.prtmx-v510-legacy-shell),#prtmx-ui-v52-header)
  > .prtmx-ui-header-inner {padding-left:8px!important;padding-right:8px!important;gap:4px!important;}
  html body:is(#prtmxPortalHome,[data-prtmx-ui-route="catalog"],[data-prtmx-ui-route="board"])
  > :is(#prtmx-v59-initial-header:not(.prtmx-v510-legacy-shell),#prtmx-ui-v52-header)
  .prtmx-ui-logo {width:clamp(118px,39vw,138px)!important;}
  html body:is(#prtmxPortalHome,[data-prtmx-ui-route="catalog"],[data-prtmx-ui-route="board"])
  > :is(#prtmx-v59-initial-header:not(.prtmx-v510-legacy-shell),#prtmx-ui-v52-header)
  .prtmx-ui-brand-label {font-size:9px!important;padding-left:4px!important;padding-right:4px!important;}
}

/* Stable home hero in both SSR and client-upgraded phases. The legacy vector
   boat and decorative layers must never replace the same mobile image. */
html body#prtmxPortalHome .hero {
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  background:#eaf4fd!important;background-image:none!important;
}
html body#prtmxPortalHome .hero::before {
  content:""!important;display:block!important;position:absolute!important;
  inset:0!important;opacity:1!important;transform:none!important;
  z-index:-1!important;pointer-events:none!important;
  background:url('/static/prtmx-v53-hero-desktop.webp') center center / 100% 100% no-repeat!important;
}
html body#prtmxPortalHome .hero :is(.hero-art,.hero-curve){display:none!important;}
html body#prtmxPortalHome .hero::after{display:none!important;content:none!important;}
@media (max-width:700px){
  html body#prtmxPortalHome .hero {
    min-height:240px!important;
    margin-top:14px!important;
    border-radius:19px!important;
    box-shadow:0 6px 17px #386b9714!important;
  }
  html body#prtmxPortalHome .hero::before {
    background:url('/static/prtmx-v53-hero-mobile.webp') center bottom / 100% 100% no-repeat!important;
  }
  html body#prtmxPortalHome .hero-inner {min-height:240px!important;}
}

/* Stable banner appearance before/after V52 JS adds prtmx-unified-ui.
   Match the shipped V53 mobile artwork and keep underline geometry constant. */
html body#prtmxPortalHome.prtmx-v2 .hero,
html body#prtmxPortalHome.prtmx-v2.prtmx-unified-ui .hero {
  background-color:#eaf4fd!important;
  background-image:none!important;
  transition:none!important;
  animation:none!important;
}
html body#prtmxPortalHome.prtmx-v2 .hero::before,
html body#prtmxPortalHome.prtmx-v2.prtmx-unified-ui .hero::before {
  background-image:url('/static/prtmx-v53-hero-desktop.webp')!important;
  background-size:100% 100%!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  opacity:1!important;
  filter:none!important;
  transform:none!important;
  animation:none!important;
  transition:none!important;
}
html body#prtmxPortalHome.prtmx-v2 .hero h1::after,
html body#prtmxPortalHome.prtmx-v2.prtmx-unified-ui .hero h1::after {
  content:""!important;
  display:block!important;
  width:68px!important;height:5px!important;
  margin:13px 0 0!important;
  border-radius:4px!important;
  background:linear-gradient(90deg,#3fb1e3,#217ed6)!important;
  transform:none!important;
  animation:none!important;
  transition:none!important;
}
@media(max-width:700px){
 html body#prtmxPortalHome.prtmx-v2 .hero::before,
 html body#prtmxPortalHome.prtmx-v2.prtmx-unified-ui .hero::before {
  background-image:url('/static/prtmx-v53-hero-mobile.webp')!important;
  background-size:100% 100%!important;
  background-position:center bottom!important;
 }
 html body#prtmxPortalHome.prtmx-v2 .hero h1::after,
 html body#prtmxPortalHome.prtmx-v2.prtmx-unified-ui .hero h1::after {
  width:40px!important;height:3px!important;margin-top:9px!important;
 }
}
/* Card markup starts with a text arrow and native-v4 replaces it with SVG.
   Render one CSS chevron in both states so the image never jumps. */
html body#prtmxPortalHome .quick-grid .quick-card[data-prtmx-cardart] .quick-arrow {
  position:absolute!important;
  font-size:0!important;line-height:0!important;
  color:transparent!important;
  animation:none!important;transition:none!important;
}
html body#prtmxPortalHome .quick-grid .quick-card[data-prtmx-cardart] .quick-arrow > svg {
  visibility:hidden!important;opacity:0!important;
}
html body#prtmxPortalHome .quick-grid .quick-card[data-prtmx-cardart] .quick-arrow::before {
  content:""!important;display:block!important;
  position:absolute!important;inset:0!important;
  background:rgba(255,255,255,.98)!important;
  border-radius:50%!important;z-index:1!important;
  pointer-events:none!important;
}
html body#prtmxPortalHome .quick-grid .quick-card[data-prtmx-cardart] .quick-arrow::after {
  content:""!important;display:block!important;
  position:absolute!important;top:50%!important;left:50%!important;
  width:7px!important;height:7px!important;
  border-top:2px solid #2675b2!important;
  border-right:2px solid #2675b2!important;
  border-bottom:0!important;border-left:0!important;
  background:transparent!important;
  transform:translate(-65%,-50%) rotate(45deg)!important;
  visibility:visible!important;opacity:1!important;
  z-index:2!important;pointer-events:none!important;
}


/* Only the ordinary calendar pages: preserve the independent map toolbar. */
html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"]) nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) > :is(a,button) > svg,
html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"]) nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) > :is(a,button) > img.prtmx-v512-pixel-icon {
  display:none!important;
  visibility:hidden!important;
  width:0!important;height:0!important;
  flex:none!important;
  margin:0!important;padding:0!important;
}
/* One stable icon per button, visible from the first render. V512 can add its
   own image later, but its duplicate is hidden above. */
html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"]) nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) > :is(a,button)::before {
  content:""!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  flex:0 0 23px!important;
  width:23px!important;height:23px!important;
  min-width:23px!important;min-height:23px!important;
  max-width:23px!important;max-height:23px!important;
  margin:0!important;padding:0!important;
  border:0!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  background-position:center!important;
  pointer-events:none!important;
  transform:none!important;
  animation:none!important;
  transition:none!important;
}
html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"]) nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) > :is(a,button):nth-child(1)::before {
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M2%2011L12%203l10%208v2h-3v9H5v-9H2z%22%20fill%3D%22%23a7dafa%22%20stroke%3D%22%2316477a%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M10%2015h4v7h-4z%22%20fill%3D%22%23207fbd%22%2F%3E%3C%2Fsvg%3E")!important;
}

html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"]) nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) > :is(a,button):nth-child(2)::before {
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M9%203h6v3h4v3H5V6h4zM4%2011h16v3h2l-3%205H5l-3-5h2z%22%20fill%3D%22%23ffffff%22%20stroke%3D%22%23153f70%22%20stroke-width%3D%221.3%22%2F%3E%3Cpath%20d%3D%22M8%209v3m4-3v3m4-3v3%22%20stroke%3D%22%230b9fe1%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22M5%2016h14v2H5z%22%20fill%3D%22%231689d9%22%2F%3E%3C%2Fsvg%3E")!important;
}

html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"]) nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) > :is(a,button):nth-child(3)::before {
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M3%204h18v16H3z%22%20fill%3D%22%23edf8ff%22%20stroke%3D%22%2317457a%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22M5%206h14v4H5z%22%20fill%3D%22%23218ad1%22%2F%3E%3Cpath%20d%3D%22M6%2013h5v2H6zm7%200h5v2h-5zm-7%204h5v2H6zm7%200h5v2h-5z%22%20fill%3D%22%2317457a%22%2F%3E%3C%2Fsvg%3E")!important;
}

html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"]) nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) > :is(a,button):nth-child(4)::before {
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M3%205l6-2%206%202%206-2v16l-6%202-6-2-6%202z%22%20fill%3D%22%23bfe5f9%22%20stroke%3D%22%2316477a%22%20stroke-width%3D%221.6%22%2F%3E%3Cpath%20d%3D%22M9%203v16m6-14v16%22%20stroke%3D%22%23167fbb%22%20stroke-width%3D%221.6%22%2F%3E%3Cpath%20d%3D%22M12%207h4v4h-4z%22%20fill%3D%22%2312b2e9%22%2F%3E%3C%2Fsvg%3E")!important;
}

html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"]) nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) > :is(a,button):nth-child(5)::before {
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M3%205h18v3H3zm0%206h18v3H3zm0%206h18v3H3z%22%20fill%3D%22%2317457a%22%2F%3E%3C%2Fsvg%3E")!important;
}

/* The legacy V512 decorator was still prepending a small icon to each
   illustrated card at DOMContentLoaded. Never display it or its old SVG. */
html body#prtmxPortalHome a.quick-card[data-prtmx-cardart] > :is(img.prtmx-v512-pixel-icon,span.quick-icon) {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  position:absolute!important;
  width:0!important;height:0!important;
  margin:0!important;padding:0!important;
  pointer-events:none!important;
}
html body#prtmxPortalHome a.quick-card[data-prtmx-cardart]::before,
html body#prtmxPortalHome a.quick-card[data-prtmx-cardart]::after {
  content:none!important;
  display:none!important;
}
/* Keep identical dimensions before and after the V512/V4 scripts run. */
@media(max-width:700px) {
  html body#prtmxPortalHome a.quick-card[data-prtmx-cardart] {
    position:relative!important;
    display:block!important;
    box-sizing:border-box!important;
    height:132px!important;
    min-height:132px!important;
    max-height:132px!important;
    aspect-ratio:auto!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:16px!important;
    transform:none!important;
    animation:none!important;
    transition:none!important;
  }
}


/* V4: unified mobile dock, including SSR catalog dock nested in .container.
   One icon + one label per item, with identical geometry on every page.
   Routes with a separate map interface do not match this allow-list. */
@media (max-width:700px) {
  html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"])
  nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) {
    position:fixed!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-rows:50px!important;
    align-content:center!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    box-sizing:border-box!important;
    width:calc(100% - 16px)!important;
    max-width:570px!important;
    height:60px!important;
    min-height:60px!important;
    max-height:60px!important;
    left:50%!important;
    right:auto!important;
    top:auto!important;
    bottom:calc(5px + env(safe-area-inset-bottom, 0px))!important;
    padding:3px!important;
    margin:0!important;
    gap:0!important;
    overflow:hidden!important;
    transform:translateX(-50%)!important;
    border:1px solid #d5e2ee!important;
    border-radius:19px!important;
    background:rgba(252,253,255,.96)!important;
    box-shadow:0 8px 27px rgba(36,73,104,.15)!important;
    backdrop-filter:blur(12px)!important;
    z-index:2800!important;
  }
  html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"])
  nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) > :is(a,button) {
    position:relative!important;
    display:flex!important;
    flex-flow:column nowrap!important;
    justify-content:center!important;
    align-items:center!important;
    align-self:stretch!important;
    justify-self:stretch!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    margin:0!important;
    padding:3px 1px!important;
    gap:2px!important;
    border:0!important;
    border-radius:14px!important;
    text-align:center!important;
    text-decoration:none!important;
    white-space:nowrap!important;
    color:#677d90!important;
    font:500 11px/13px system-ui,-apple-system,'Segoe UI',sans-serif!important;
    box-shadow:none!important;
    background:transparent!important;
    overflow:hidden!important;
    transform:none!important;
  }
  html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"])
  nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) > :is(a,button).active,
  html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"])
  nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) > :is(a,button)[aria-current="page"] {
    background:#e3effb!important;
    color:#266b9d!important;
  }
  html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"])
  nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) > :is(a,button)::before {
    display:block!important;
    visibility:visible!important;
    flex:0 0 25px!important;
    width:25px!important;
    height:25px!important;
    min-width:25px!important;
    min-height:25px!important;
    max-width:25px!important;
    max-height:25px!important;
    margin:0!important;
    padding:0!important;
    position:static!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
    background-size:contain!important;
    opacity:1!important;
    transform:none!important;
  }
  html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"])
  nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) > :is(a,button) > :is(svg,img.prtmx-v512-pixel-icon) {
    display:none!important;
    visibility:hidden!important;
    position:absolute!important;
    width:0!important;height:0!important;
    min-width:0!important;min-height:0!important;
    margin:0!important;padding:0!important;
    opacity:0!important;
  }
  html body:not(.prtmx-v513-map):not([data-prtmx-ui-route="map"]):not([data-prtmx-v511-route="map"]):is(#prtmxPortalHome,:has(#shipFleet),[data-prtmx-ui-route="board"])
  nav.prtmx-ui-dock:not(.prtmx-v510-legacy-shell) > :is(a,button) > span {
    display:block!important;
    position:static!important;
    flex:0 0 13px!important;
    height:13px!important;
    min-height:13px!important;
    max-height:13px!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:inherit!important;
    font:500 11px/13px system-ui,-apple-system,'Segoe UI',sans-serif!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    transform:none!important;
  }
}

/* TEPLOHODIKI-UI-STABILIZE-V4-END */

