/* Vessel finder in the home hero (x-vessel-finder, 17.11.2026). A separate file because the CSP allows no inline styles
   and the panel is not part of the Vite build. Colours and fonts are the site's: ink #0F2A44, flag #EAC400, rule #C7D6E2. */
.vf { position: relative; background: #fff; border: 1px solid #0F2A44; padding: 22px 24px 20px; color: #0F2A44; font-family: "IBM Plex Sans", "Text Fallback", system-ui, sans-serif; }
.vf p { margin: 0; }
.vf-kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #5E7891; }
.vf-title { margin-top: 4px !important; font: 700 30px/1.05 "Barlow Condensed", "Roboto Condensed", "Display Fallback", "Arial Narrow", sans-serif; color: #0F2A44; }

.vf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.vf-chip { appearance: none; margin: 0; border: 1px solid #A6BCCB; border-radius: 2px; background: #fff; color: #0F2A44; padding: 7px 12px; font: 500 14px/1.2 "IBM Plex Sans", "Text Fallback", system-ui, sans-serif; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.vf-chip:hover { border-color: #0F2A44; }
.vf-chip[aria-pressed="true"] { background: #0F2A44; border-color: #0F2A44; color: #fff; }
.vf-chip:focus-visible, .vf-range:focus-visible, .vf a:focus-visible { outline: 2px solid #1E3FB3; outline-offset: 2px; }

.vf-qty { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; margin-top: 18px; }
.vf-label { font-size: 15px; color: #2F4B64; }
.vf-out { font: 700 26px/1 "Barlow Condensed", "Roboto Condensed", "Display Fallback", "Arial Narrow", sans-serif; color: #0F2A44; font-variant-numeric: tabular-nums; }
.vf-range { --p: 69%; grid-column: 1 / -1; width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.vf-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, #EAC400 var(--p), #C7D6E2 var(--p)); }
.vf-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: #0F2A44; border: 3px solid #fff; box-shadow: 0 0 0 1px #0F2A44; }
.vf-range::-moz-range-track { height: 4px; border-radius: 2px; background: #C7D6E2; }
.vf-range::-moz-range-progress { height: 4px; border-radius: 2px; background: #EAC400; }
.vf-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #0F2A44; border: 3px solid #fff; box-shadow: 0 0 0 1px #0F2A44; }

/* the drawing sits on a small piece of the site's chart grid */
.vf-ship { display: flex; align-items: flex-end; justify-content: center; height: 152px; margin-top: 12px; overflow: hidden; border: 1px solid #C7D6E2; background-color: #F3F8FB;
  background-image: linear-gradient(to right, rgba(15,42,68,.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(15,42,68,.07) 1px, transparent 1px); background-size: 24px 24px; background-position: center top; }
.vf-dia { width: min(100%, 430px); padding: 0 12px 4px; }
.vf-dia[hidden] { display: none; }
.vf-svg { display: block; width: 100%; height: auto; animation: vfBob 4.5s ease-in-out infinite; transform-origin: 50% 90%; }
.vf-dia.vf-in { animation: vfIn .5s ease-out; }
@keyframes vfIn { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes vfBob { 50% { transform: translateY(2px) rotate(-.35deg); } }

.vf-res { min-height: 96px; margin-top: 14px; }
.vf-cls { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.vf-name { font: 700 25px/1.1 "Barlow Condensed", "Roboto Condensed", "Display Fallback", "Arial Narrow", sans-serif; color: #0F2A44; text-decoration: none; }
.vf-name:hover { color: #1E3FB3; text-decoration: underline; text-underline-offset: 3px; }
.vf-dwt { font-size: 15px; color: #0F2A44; font-variant-numeric: tabular-nums; }
.vf-gear { margin-top: 2px !important; font-size: 14px; color: #2F4B64; }
.vf-also { margin-top: 6px !important; font-size: 14px; color: #5E7891; }
.vf-also[hidden] { display: none; }
.vf-also a { color: #1E3FB3; text-decoration: underline; text-underline-offset: 2px; }
.vf-also a:hover { color: #0F2A44; }

.vf-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 14px; }
.vf-more { color: #1E3FB3; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.vf-more:hover { color: #0F2A44; }
.vf-note { margin-top: 12px !important; font-size: 12.5px; line-height: 1.45; color: #5E7891; }

@media (max-width: 640px) {
  .vf { padding: 18px 16px 16px; }
  .vf-title { font-size: 26px; }
  .vf-chips { gap: 6px; }
  .vf-chip { padding: 6px 10px; font-size: 13px; }
  .vf-ship { height: 124px; }
  .vf-name { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { .vf-svg, .vf-dia.vf-in { animation: none; } }
/* PDF / print drops background colours (the client's consultant reviews pages as PDF): keep the chosen chip readable */
@media print {
  .vf-chip[aria-pressed="true"] { background: #fff !important; color: #0F2A44 !important; border: 2px solid #0F2A44 !important; font-weight: 600; }
  .vf-svg, .vf-dia.vf-in { animation: none !important; }
}
