/* Dashboard glass lies over the sea; instrumentation stays on quiet graphite surfaces. */
.y-plancia {
  --ocean: #080b0e;
  --glass-ink: #f4f4f0;
  --glass-muted: #a7aaa9;
  --signal: #edf31b;
  --rim: rgba(235,240,240,.12);
  background: var(--ocean);
  color: var(--glass-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.y-plancia .y-app {
  --y-bg: var(--ocean); --y-card: #121518; --y-edge: var(--rim); --y-ink: var(--glass-ink);
  --y-calm: var(--glass-muted); --y-accent: #dce399; --y-blue: var(--signal);
  --pad: clamp(16px,1.8vw,34px);
  --gap: clamp(6px,.63vw,11px);
  --inset: clamp(12px,1.18vw,22px);
  --toolbar-scale: 1.25;
  --key: calc(clamp(44px,min(4.05vw,5.9svh),61px) * var(--toolbar-scale));
  --bar: clamp(77px,min(8.15vw,10.7svh),124px);
  --mast: clamp(330px,min(36.65vw,48.6svh),608px);
  --panel: linear-gradient(139deg,rgba(23,27,30,.94) 0%,rgba(16,19,23,.94) 47%,rgba(14,17,20,.96) 100%);
  min-height: 100svh; background: var(--ocean); line-height: 1.4;
  padding: env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);
}
.helm-shell { max-width: 1780px; margin-inline: auto; }
.y-plancia :where(button,select,a,input) { -webkit-tap-highlight-color: transparent; }
.y-plancia :is(button,a,select,input):focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.y-plancia button { cursor: pointer; }
.y-plancia button:disabled { cursor: default; }
.y-plancia :is(#y-title,#y-content):focus { outline: none; }
.y-plancia .skip { color: #141606; background: var(--signal); }
.helm-bar {
  position: relative; z-index: 2; height: var(--bar); padding: 0 var(--pad);
  display: grid; grid-template-columns: minmax(max-content,.76fr) auto minmax(max-content,1.24fr);
  align-items: center; gap: clamp(8px,1.2vw,22px);
}
.helm-brand {
  width: fit-content; display: inline-flex; gap: clamp(8px,.86vw,15px); align-items: center;
  font-size: clamp(18px,1.72vw,28px); letter-spacing: -.052em; white-space: nowrap;
  font-style: italic; font-weight: 580; line-height: 1;
}
.helm-brand svg { width: clamp(25px,2.1vw,36px); height: auto; color: var(--signal); }
.helm-nav,.helm-actions { display: flex; align-items: center; gap: clamp(5px,.55vw,10px); }
.helm-bar > :is(.helm-brand,.helm-nav,.helm-actions) { position: relative; z-index: 1; }
.helm-actions.y-top-actions { margin: 0; justify-self: end; flex-wrap: nowrap; }
.glass-key,.sea-tag,.sheet-close,.service-icon {
  color: #d8dcda; border: 1px solid rgba(238,244,241,.13);
  border-right-color: rgba(230,235,230,.055); border-bottom-color: rgba(230,235,230,.095);
  background: linear-gradient(146deg,rgba(236,245,243,.087),rgba(83,91,92,.105) 47%,rgba(224,235,231,.061));
  box-shadow: inset 0 1px 1px rgba(245,248,247,.075), inset 1px 0 1px rgba(238,245,241,.045), 0 4px 12px #0002;
  -webkit-backdrop-filter: blur(18px) saturate(135%); backdrop-filter: blur(18px) saturate(135%);
}
.glass-key {
  isolation: isolate; overflow: hidden; position: relative; padding: 0; border-radius: 100px;
  height: var(--key); min-width: var(--key); flex: 0 0 auto; display: inline-flex;
  align-items: center; justify-content: center; gap: calc(.55rem * var(--toolbar-scale));
  font-size: calc(clamp(.82rem,1.05vw,1.07rem) * var(--toolbar-scale)); font-weight: 450; letter-spacing: -.018em;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.glass-key .icon { width: 1.04em; height: 1.04em; }
.glass-key::before {
  content: ""; pointer-events: none; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(ellipse at var(--contact-x,18%) var(--contact-y,-16%),#f2fcff4d,transparent 65%);
  opacity: .32; transition: opacity .2s ease;
}
.helm-nav .glass-key span { display: none; }
.helm-nav .glass-key[data-helm-view] { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.helm-nav .glass-key[aria-current="page"] { width: calc(clamp(116px,9vw,152px) * var(--toolbar-scale)); padding-inline: calc(8px * var(--toolbar-scale)); color: #fff; }
.helm-nav .glass-key[aria-current="page"] span { display: inline; }
.glass-selection {
  position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; overflow: hidden;
  border: 1px solid #e8eee848; border-right-color: #e6efdf26; border-bottom-color: #12160ce6; border-radius: 999px;
  background: radial-gradient(ellipse at 25% 0%,#d1e4dc1f,transparent 64%),linear-gradient(156deg,#a4b7aa1d,#383f3823 48%,#b5bd531a);
  box-shadow: inset 0 1px 1px #fbfff739,inset 0 -2px 2px #0e120d8f,0 3px 9px #0005;
  -webkit-backdrop-filter: blur(7px) saturate(135%); backdrop-filter: blur(7px) saturate(135%);
}
.glass-selection[hidden] { display: none; }
.helm-bar[data-tracking] .glass-key[aria-current="page"] {
  background: transparent; box-shadow: none; border-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.helm-bar:not([data-tracking]) .glass-key[aria-current="page"] { box-shadow: inset 0 -2px 3px #dce73091; }
.glass-wave {
  pointer-events: none; position: absolute; width: 90%; height: calc(11px * var(--toolbar-scale));
  right: -3%; bottom: calc(-3px * var(--toolbar-scale)); color: var(--signal); display: block;
  filter: blur(1.05px) drop-shadow(0 0 2.2px #eff622b0);
  mask-image: linear-gradient(90deg,transparent,#000 13%,#000 85%,transparent);
}
.helm-search {
  padding: 0 calc(clamp(12px,1.14vw,20px) * var(--toolbar-scale)); justify-content: flex-start;
  min-width: calc(clamp(120px,11.8vw,185px) * var(--toolbar-scale));
  font-size: calc(clamp(.77rem,.96vw,.94rem) * var(--toolbar-scale)); color: var(--glass-muted);
}
.helm-search .icon { color: #d5dad7; }
.helm-profile {
  display: inline-flex; align-items: center; gap: calc(clamp(6px,.65vw,11px) * var(--toolbar-scale));
  padding: 0; min-height: calc(44px * var(--toolbar-scale));
  color: inherit; background: transparent; border: 0; text-align: left; line-height: 1.3;
}
.helm-profile img { width: var(--key); height: var(--key); border-radius: 50%; border: 1px solid #e8eee321; object-fit: cover; }
.helm-profile strong,.helm-profile small { display: block; white-space: nowrap; }
.helm-profile strong { font-weight: 540; font-size: calc(clamp(.8rem,1vw,1.03rem) * var(--toolbar-scale)); }
.helm-profile .y-label { margin-top: calc(2px * var(--toolbar-scale)); color: var(--glass-muted); font-weight: 400; font-size: calc(clamp(.67rem,.88vw,.86rem) * var(--toolbar-scale)); }

.helm-hero { position: relative; isolation: isolate; height: calc(var(--mast) - var(--bar)); padding: clamp(12px,1.2vw,24px) var(--pad) 0; }
.helm-seascape { z-index: -1; position: absolute; inset: calc(-1 * var(--bar)) 0 0; overflow: hidden; pointer-events: none; }
.helm-photo {
  position: absolute; display: block; width: 94%; max-width: none; height: auto;
  top: calc(65% + var(--bar) * .1575); left: 50%; transform: translate(-50%,-50%);
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 7%,#000 92%,transparent);
  mask-image: linear-gradient(90deg,transparent,#000 7%,#000 92%,transparent);
}
.helm-seascape::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,rgba(8,11,14,.84) 0%,rgba(8,11,14,.54) 20%,rgba(8,11,14,.1) 44%,transparent 57%,transparent 81%,var(--ocean) 100%),
    radial-gradient(ellipse at 9% 22%,rgba(8,11,14,.5),transparent 43%);
}
.glass-optics { position: absolute; inset: 0; width: 100%; height: 100%; visibility: hidden; pointer-events: none; }
.y-app[data-optics="ready"] .glass-optics { visibility: visible; }
.y-app[data-optics="ready"][data-page="overview"] :is(.glass-selection,.sea-tag,.vessel-spec,.glass-key:not([aria-current])) {
  -webkit-backdrop-filter: blur(1.3px) saturate(125%); backdrop-filter: blur(1.3px) saturate(125%);
}
.helm-hero-copy { position: relative; z-index: 1; width: fit-content; max-width: 78%; }
.helm-hero h1 {
  margin: 0; line-height: 1.07; letter-spacing: -.047em;
  font-size: clamp(35px,3.35vw,59px); font-weight: 490; color: #fafaf7;
}
.hero-sub { color: #bcc1bf; font-size: clamp(.83rem,1.06vw,1.06rem); margin-top: .48rem; font-weight: 385; letter-spacing: -.012em; }
.hero-demo { color: var(--glass-muted); }
.sea-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; margin-top: clamp(24px,3.15vw,55px); border-radius: 9px; font-size: clamp(.73rem,.93vw,.93rem); line-height: 1.3; }
.sea-tag i,.service-state::before { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.vessel-spec {
  position: absolute; z-index: 1; top: clamp(12px,1.12vw,21px); right: var(--pad); overflow: hidden;
  isolation: isolate; min-width: clamp(100px,8.35vw,148px); max-width: 17%;
  padding: clamp(12px,1.1vw,19px); display: grid; gap: clamp(12px,1.55vw,24px);
  border: 1px solid #f1f3ea1d; border-radius: 12px;
  background: linear-gradient(142deg,rgba(26,31,34,.72),rgba(17,21,24,.56));
  box-shadow: inset 1px 1px 0 #f7fff909, inset -1px -1px 0 #ffffff04, 0 7px 22px #0002;
  -webkit-backdrop-filter: blur(14px) saturate(125%); backdrop-filter: blur(14px) saturate(125%);
}
.vessel-spec::before {
  content: ""; position: absolute; z-index: -1; right: -7px; top: -9px; width: 36px; height: 31px;
  transform: rotate(12deg); border-radius: 33% 48% 55% 31%;
  background: radial-gradient(ellipse at 42% 52%,#fbff3e 15%,#f0f423 48%,#bcc200 73%,transparent 77%);
  filter: blur(1.9px); box-shadow: 0 0 8px #f4f52c57;
}
.vessel-spec dt { color: var(--glass-muted); font-size: clamp(.73rem,.98vw,.97rem); font-weight: 380; }
.vessel-spec dd { color: #fcfcf8; margin-top: 2px; font-size: clamp(.78rem,1.08vw,1.06rem); font-weight: 510; line-height: 1.22; overflow-wrap: anywhere; }
.y-app[data-page="overview"] .helm-detail-only,.y-app:not([data-page="overview"]) :is(.helm-overview-only,.helm-seascape) { display: none; }

.dash-grid {
  display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);
  gap: var(--gap); height: clamp(346px,min(36.8vw,48.6svh),610px);
  margin: 0 var(--pad) clamp(17px,1.6vw,32px);
}
.dash-instruments,.dash-starboard { display: grid; min-width: 0; min-height: 0; gap: var(--gap); }
.dash-instruments { grid-template-rows: clamp(110px,min(10.5vw,14.4svh),166px) minmax(0,1fr); }
.dash-starboard { grid-template-rows: 1.02fr 1fr; }
.dash-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--gap); min-height: 0; }
.dash-card {
  position: relative; padding: var(--inset); min-width: 0; min-height: 0;
  background: var(--panel); border: 1px solid #e5eeed0c; border-radius: clamp(12px,1.18vw,21px);
  box-shadow: inset .5px .75px 0 rgba(245,249,245,.052), inset -.5px -.5px 0 #ffffff03, 0 3px 12px #0002;
}
.dash-heading {
  display: flex; align-items: center; gap: clamp(6px,.58vw,10px);
  margin: 0; color: #c4c8c6; font-weight: 430; font-size: clamp(.78rem,1.08vw,1.08rem);
  line-height: 1.24; letter-spacing: -.018em;
}
.dash-heading .icon { width: 1.1em; height: 1.1em; color: #b6bbb9; stroke-width: 1.35; }
.stat-card { display: flex; flex-direction: column; align-items: stretch; text-align: left; color: inherit; }
.stat-number { display: block; margin-top: clamp(8px,1.08vw,18px); font-size: clamp(26px,2.24vw,39px); line-height: 1; letter-spacing: -.057em; font-weight: 355; font-variant-numeric: tabular-nums; }
.stat-number small { font-size: .75em; font-weight: 350; }
.stat-card:first-child small,.stat-card:nth-child(2) small { font-size: .98em; }
.stat-graphic { display: block; margin-top: auto; width: 100%; height: clamp(22px,2.25vw,37px); overflow: visible; }
.instrument-yellow { stroke: var(--signal); }
.performance,.voyage,.sea-conditions,.service { display: flex; flex-direction: column; }
.card-title-row { display: flex; align-items: baseline; gap: 10px; justify-content: space-between; }
.chart-context { color: #929894; font-size: clamp(.63rem,.78vw,.82rem); }
.performance-graph { display: grid; grid-template-columns: auto minmax(0,1fr); grid-template-rows: minmax(0,1fr) auto; gap: 7px clamp(8px,.9vw,15px); flex: 1; min-height: 0; margin-top: clamp(18px,1.9vw,31px); }
.chart-scale { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 12px; text-align: right; }
.chart-scale,.chart-times { color: #969b99; font-size: clamp(.62rem,.81vw,.84rem); font-variant-numeric: tabular-nums; font-weight: 380; }
.chart-track { --sample: 50%; --tip-span: 71px; position: relative; min-width: 0; min-height: 0; margin-top: 3px; }
#helm-plot { display: block; width: 100%; height: calc(100% - 13px); overflow: visible; }
.plot-column path { fill: none; stroke: #414648; stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.plot-column:not(.is-lit) :is(.plot-fuel,.plot-load),.plot-column.is-lit .plot-neutral { display: none; }
.plot-column.is-lit .plot-fuel { stroke: #f3f5ef; }
.plot-column.is-lit .plot-load { stroke: var(--signal); }
.chart-times { grid-column: 2; display: flex; justify-content: space-between; }
.time-ruler,.voyage-ticks {
  background: repeating-linear-gradient(90deg,#616561 0 1px,transparent 1px 3.2px);
}
.time-ruler { position: absolute; bottom: 0; height: 8px; width: 100%; overflow: hidden; opacity: .9; }
.time-ruler i { position: absolute; inset: 0 auto 0 var(--sample); width: 17%; transform: translateX(-50%); background: repeating-linear-gradient(90deg,var(--signal) 0 1.4px,transparent 1.4px 3.2px); }
.helm-tooltip {
  position: absolute; z-index: 1; pointer-events: none; top: 22%;
  left: clamp(var(--tip-span),var(--sample),calc(100% - var(--tip-span))); transform: translateX(-50%);
  min-width: calc(var(--tip-span) * 2); padding: .56rem .72rem; white-space: nowrap; font-size: clamp(.68rem,.84vw,.85rem);
  letter-spacing: -.012em; color: #dadcd3; border: 1px solid #e3e5b134; border-radius: 13px;
  background: radial-gradient(ellipse at 105% 67%,#82860872,transparent 56%),linear-gradient(135deg,#2c3030cc,#202522cb);
  box-shadow: inset 1px 1px 1px #ffffff18, 0 5px 16px #0005;
  -webkit-backdrop-filter: blur(11px) saturate(165%); backdrop-filter: blur(11px) saturate(165%);
}
.helm-tooltip span { display: flex; align-items: center; gap: 5px; }
.helm-tooltip span + span { margin-top: 4px; }
.helm-tooltip span::before { content: ""; width: 7px; height: 7px; border-radius: 100%; background: #f5f6ef; }
.helm-tooltip .tip-load::before { background: var(--signal); }
.helm-tooltip b { color: #fcfcf4; font-weight: 650; margin-left: auto; }
.chart-input { position: absolute; z-index: 2; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: crosshair; }
.chart-track:focus-within { outline: 1px solid var(--signal); outline-offset: 5px; border-radius: 3px; }

.heading-link { color: inherit; border: 0; padding: 0; background: none; font: inherit; text-align: left; }
.heading-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.vessel-profile { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 62px; margin: 4px calc(var(--inset) * -.45) 2px; }
.vessel-profile img { width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: lighten; }
.voyage-stage { margin: 2px 0 clamp(10px,1.3vw,21px); }
.voyage-stops { display: flex; align-items: center; justify-content: space-between; font-size: clamp(.7rem,.93vw,.94rem); color: #f0f3ed; }
.voyage-ruler { --progress: 0%; position: relative; height: 20px; margin: 6px 5px 0; }
.voyage-ticks { position: absolute; inset: 3px 0; background: repeating-linear-gradient(90deg,#aeb3ae 0 1px,transparent 1px 5px); mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); }
.voyage-ruler::before,.voyage-ruler::after { content: ""; position: absolute; top: 50%; width: 5px; height: 5px; background: #f3f4ea; box-shadow: 0 0 0 4px #b4bab31b; border-radius: 100%; transform: translateY(-50%); }
.voyage-ruler::before { left: 0; }.voyage-ruler::after { right: 0; }
.voyage-arrow { position: absolute; z-index: 1; left: clamp(4px,var(--progress),calc(100% - 5px)); top: 50%; transform: translate(-50%,-50%); filter: drop-shadow(0 0 3px #dce400); }
.voyage-arrow::before { content: ""; display: block; width: 17px; height: 18px; background: #ffffec; clip-path: polygon(0 0,100% 50%,0 100%,19% 52%); }
.reading-list { margin: 0; color: var(--glass-ink); font-size: clamp(.7rem,.93vw,.94rem); font-variant-numeric: tabular-nums; }
.reading-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 7px; padding-block: clamp(7px,.92vw,14px); border-bottom: 1px solid #eef2ea10; }
.reading-list > div:last-child { padding-bottom: 0; border: none; }
.reading-list dt { color: var(--glass-muted); font-weight: 385; }
.reading-list dd { text-align: right; }
.sea-conditions .reading-list > div { padding-block: clamp(5px,.62vw,10px); }
.sea-conditions .reading-list > div:last-child { padding-bottom: 0; }
.wind-dial { position: relative; width: min(91%,245px); margin: 3px auto 0; flex: 1; min-height: 56px; }
.wind-dial svg { position: absolute; inset: 2% 0 0; width: 100%; height: 92%; overflow: visible; }
.wind-dial line { stroke: #898e89; }.wind-dial line.is-lit { stroke: var(--signal); }
.wind-reading { position: absolute; bottom: 2%; inset-inline: 13%; text-align: center; line-height: 1.12; pointer-events: none; }
.wind-reading > span { display: block; margin-bottom: 4px; font-size: clamp(.65rem,.86vw,.89rem); color: var(--glass-muted); }
.wind-reading strong { font-weight: 380; font-size: clamp(20px,1.62vw,29px); letter-spacing: -.04em; }
.wind-reading small { font-size: .65em; color: #d6d9d4; }
.wind-limits { position: absolute; bottom: 2%; inset-inline: 0; display: flex; justify-content: space-between; color: #999e98; font-size: clamp(.55rem,.72vw,.74rem); }
.service-list { display: flex; flex-direction: column; flex: 1; margin: clamp(6px,.7vw,12px) 0 0; padding: 0; list-style: none; }
.service-list li { flex: 1; display: flex; align-items: center; gap: clamp(6px,.69vw,12px); border-bottom: 1px solid #eef2ea11; }
.service-list li:last-child { border-bottom: 0; }
.service-icon { display: grid; place-items: center; flex: 0 0 auto; width: clamp(24px,2.52vw,42px); aspect-ratio: 1; border-radius: 50%; }
.service-icon .icon { width: 46%; height: 46%; stroke-width: 1.3; }
.service-list b,.service-list small { display: block; }
.service-list b { font-size: clamp(.72rem,.93vw,.96rem); font-weight: 490; letter-spacing: -.016em; }
.service-list small { color: var(--glass-muted); margin-top: 2px; font-size: clamp(.61rem,.81vw,.84rem); }
.service-state { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #b8bcb7; font-size: clamp(.6rem,.78vw,.85rem); }
.service-state::before { content: ""; width: 6px; height: 6px; }
.service-state.attention::before { background: #f5a823; }

@media (hover:hover) {
  .glass-key:hover::before { opacity: .88; }
  .glass-key:hover,.sheet-close:hover { background-color: #e4eddd14; box-shadow: inset 0 1px 1px #ffffff22,0 4px 18px #0004; }
  .stat-card:hover,.voyage:has(.heading-link:hover) { border-color: #e6eac238; background-color: #252a26; }
  .heading-link:hover { color: #f8f9ee; }
}
.glass-key[data-contact]::before { opacity: 1; }
:is(.glass-key,.sheet-close,.helm-subnav button,.y-tile,.y-chip,.y-subtle,.y-primary,.y-mode button) {
  scale: calc(1 - .038 * var(--glass-press,0));
}

/* The working controls use the same material as the dashboard. */
.y-app:not([data-page="overview"]) .helm-hero { height: auto; padding-block: 1rem 1.4rem; }
.helm-detail-only.y-eyebrow { margin-bottom: .48rem; }
.helm-subnav {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(min-content,1fr);
  gap: clamp(2px,.65vw,11px);
  overflow-x: auto;
  padding: 5px; margin: 0 calc(var(--pad) - 5px) 1.25rem;
}
.y-plancia .y-chip,.y-plancia .y-subtle,.y-plancia .y-field select,.y-plancia .y-input input,.setting-row select,.y-plancia .y-mode {
  border: 1px solid var(--rim); color: var(--y-ink); background: #191d20; border-radius: 11px;
}
.helm-subnav button {
  position: relative; overflow: hidden;
  /* Paint the glass on the key itself so adjacent keys render independently. */
  color: #d8dcda; border: 1px solid #34393a; border-bottom-color: #24292a;
  background: radial-gradient(ellipse at var(--contact-x,18%) var(--contact-y,-16%),var(--key-glint,#e6f4f215),transparent 70%),
    linear-gradient(150deg,var(--key-top,#202527),var(--key-bottom,#14181b) 85%);
  box-shadow: inset 0 1px 1px #f3fbf513, inset 0 -1px 2px #090c0d80;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(6px,.65vw,12px); padding: .65rem .5rem .85rem;
  min-height: clamp(54px,5vw,72px); border-radius: 999px;
  font-size: clamp(1rem,1.36vw,1.3rem); font-weight: 500;
  line-height: 1.15; text-align: center; white-space: nowrap;
}
.helm-subnav button .icon { flex: none; width: 1.25em; height: 1.25em; }
.helm-subnav .glass-wave {
  width: min(58%,72px); height: 7px; inset: auto auto 1px 50%; opacity: 0;
  transform: translateX(-50%) scaleX(.68); filter: blur(.5px) drop-shadow(0 0 2px #eff62280);
}
.helm-subnav button[aria-current="page"] {
  --key-top: #333a36; --key-bottom: #222820;
  color: #fafbf2; border-color: #535b4d; border-bottom-color: #32392c;
}
@media (hover: hover) {
  .helm-subnav button:hover { --key-glint: #e6f4f231; }
}
.helm-subnav button[data-contact] { --key-glint: #e6f4f23d; }
.helm-subnav button[aria-current="page"] .icon { color: #eaf39b; }
.helm-subnav button[aria-current="page"] .glass-wave { opacity: 1; transform: translateX(-50%); }
@media (prefers-reduced-motion: no-preference) {
  .helm-subnav .glass-wave { transition: opacity .16s ease, transform .2s ease-out; }
}
@media (max-width: 54rem) {
  .helm-subnav button {
    flex-direction: column; justify-content: flex-start; gap: .32rem;
    padding: .55rem 1px; min-height: 4rem;
    font-size: clamp(.75rem,2.55vw,1.05rem); letter-spacing: -.012em; white-space: normal;
  }
  .helm-subnav button .icon { width: 1.4rem; height: 1.4rem; }
  .helm-subnav button span { text-wrap: balance; }
}
.y-plancia .y-mode button[aria-pressed="true"] { color: #f5f7c5; background: #323622; border-color: #d6de6355; }
.y-app:not([data-page="overview"]) #y-view { margin: 0 var(--pad) 2rem; }
.y-plancia :is(.y-card,.y-tile) { background: var(--panel); border: 1px solid var(--rim); border-radius: 17px; padding: clamp(.9rem,1.35vw,1.45rem); }
.y-plancia .y-card h2,.y-plancia .y-card h3 { margin-top: 0; }
.y-plancia .y-primary { background: var(--signal); border: 1px solid #f5f994; border-radius: 10px; color: #1a1c07; }
.y-plancia .y-primary:hover { background: #f4f861; }
.y-plancia .y-subtle:hover,.y-plancia .y-chip:hover,.search-results button:hover { background: #292e30; }
.y-plancia .y-eyebrow { color: #adb1a3; font-size: .67rem; text-transform: uppercase; }
.y-plancia .y-value { font-weight: 440; }
.y-plancia .y-card.is-selected { border-color: #bbc65470; }
.y-field.y-range-label {
  display: flex; justify-content: space-between; align-items: baseline; gap: .75rem;
}
.y-range-label output { white-space: nowrap; font-variant-numeric: tabular-nums; }
.y-plancia .y-device input[data-y-controlled="range"] {
  --range-hit: 80px;
  -webkit-appearance: none; appearance: none; display: block; height: var(--range-hit); margin: 0;
  border: 0; border-radius: 12px; padding: 0; background: transparent; touch-action: pan-y pinch-zoom;
  --rail: linear-gradient(to right,#e5ea46 0 var(--range-fill,0%),#363c3d var(--range-fill,0%) 100%);
  --knob: radial-gradient(ellipse at 30% 5%,#f8ffed9c,transparent 46%),linear-gradient(160deg,#c0c8b3,#62685d 48%,#a7af8c);
  --knob-shadow: inset 0 1px 1px #ffffffbb,inset 0 -2px 2px #232b1fb3,0 2px 5px #0008;
  --release: cubic-bezier(.16,1.45,.32,1);
}
/* The native track receives gestures across its full height. Only its centre line is painted. */
.y-device input[data-y-controlled]::-webkit-slider-runnable-track { height: var(--range-hit); background: var(--rail) center / 100% 5px no-repeat; }
.y-device input[data-y-controlled]::-moz-range-track { height: var(--range-hit); background: var(--rail) center / 100% 5px no-repeat; }
.y-device input[data-y-controlled]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 29px; height: 22px; margin-top: calc((var(--range-hit) - 22px) / 2); border-radius: 999px;
  border: 1px solid #ecf1dc99; background: var(--knob); box-shadow: var(--knob-shadow);
  transform: scale(var(--thumb-x,1),var(--thumb-y,1)); transition: transform .32s var(--release);
}
.y-device input[data-y-controlled]::-moz-range-thumb {
  width: 27px; height: 20px; border-radius: 999px;
  border: 1px solid #ecf1dc99; background: var(--knob); box-shadow: var(--knob-shadow);
  transform: scale(var(--thumb-x,1),var(--thumb-y,1)); transition: transform .32s var(--release);
}
.y-device input[data-y-controlled]:active { --thumb-x: 1.15; --thumb-y: 1.1; }
.y-plancia .y-action-row [aria-disabled="true"] { opacity: .47; }
.y-vessel-line { color: var(--glass-muted); font-size: .9rem; }
.y-vessel-line strong,.y-plancia .y-document dt { color: var(--glass-ink); }
.y-section-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--gap); margin: 6px 0 12px; }
.y-system-group h2 { font-size: 1.15rem; margin: .4rem 0 .7rem; letter-spacing: -.028em; }
.y-tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.y-plancia .y-tile { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: .8rem; min-height: 95px; line-height: 1.3; }
.y-tile .icon { margin-bottom: 6px; color: #bec1ac; }
.y-tile[data-on="true"] .icon { color: var(--signal); }.y-tile-name { font-size: .86rem; }.y-tile-status { color: var(--glass-muted); font-size: .75rem; font-weight: 450; }
.y-vessel-details summary { cursor: pointer; min-height: 32px; align-content: center; }
.y-device-part { border-top: 1px solid var(--rim); margin-top: 1rem; padding-top: 1rem; }
.y-curtain-header { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: .5rem; }
.y-curtain-header h3 { display: flex; align-items: baseline; gap: .4rem; overflow-wrap: anywhere; }
.y-curtain-header .y-action-row { margin: 0; gap: .3rem; flex-wrap: nowrap; }
.y-curtain-header .y-button { min-width: 44px; min-height: 44px; }
@media (max-width: 539px) {
  .y-curtain-header h3 .icon { display: none; }
  .y-curtain-header .y-button { padding-inline: .5rem; }
}
.y-motion { display: flex; align-items: baseline; gap: .5rem; margin: .5rem 0; }.y-motion strong { font-size: 1.5rem; font-weight: 440; }.y-motion span,.y-source-label { color: var(--glass-muted); font-size: .82rem; }
.y-video-display { padding: 1.3rem; margin: .7rem 0; background: #090b0d; border: 1px solid var(--rim); border-radius: 12px; }.y-video-display[data-playing="true"] { background: linear-gradient(140deg,#191d1f,#252b29); }
.y-plancia .y-gauge,.y-plancia progress::-webkit-progress-bar { background: #24292c; }
.y-plancia .y-gauge progress::-webkit-progress-value { background: var(--signal); }.y-plancia .y-gauge progress::-moz-progress-bar { background: var(--signal); }
.y-load-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; }
.y-load-summary div { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; }
.y-load-summary p { flex: 1 1 12rem; margin: 0; }
.y-load-summary strong,.y-load-list dd { font-variant-numeric: tabular-nums; color: var(--glass-ink); }
.y-load-list { margin-top: .6rem; font-size: .9rem; }
.y-machinery { grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); }
.y-machine .y-action-row { margin-top: .8rem; }
.y-machinery > .y-machine { display: flex; flex-direction: column; }
.y-machinery .y-copy { flex-grow: 1; }
.y-machinery .y-action-row { flex-wrap: nowrap; align-items: flex-end; }
.y-machine .y-button,.y-device-loads summary { min-height: 44px; }
.y-machine .y-button[hidden] { display: none; }
.y-device-loads { border-bottom: 1px solid var(--rim); }
.y-device-loads:last-child { border-bottom: 0; }
.y-device-loads summary { cursor: pointer; align-content: center; }
.y-device-loads .y-load-list { margin: 0 0 .7rem 1rem; }
.y-simulation-rate { text-align: right; font-size: .83rem; font-weight: 500; }
.y-energy-history table { width: 100%; border-collapse: collapse; margin-top: .65rem; font-size: .82rem; font-variant-numeric: tabular-nums; }
.y-energy-history :is(th,td) { text-align: right; padding: .5rem .3rem; border-top: 1px solid var(--rim); }.y-energy-history :is(th,td):first-child { text-align: left; }
.y-plancia .y-bridge-map { border-color: var(--rim); }.y-plancia .y-bridge-map .map { min-height: 0; display: grid; place-items: center; }
.y-plancia .y-bridge-map .map > svg { position: static; width: 100%; max-width: 100dvh; height: auto; aspect-ratio: 680 / 447; }
.y-route-form { display: flex; align-items: end; flex-wrap: wrap; gap: .7rem; }
.y-route-form .y-field { flex: 1 1 14rem; }
.y-route-form :is(select,button) { min-height: 44px; }
.y-route-form button:disabled { opacity: .48; cursor: default; }
.y-bridge-map .map-ports text { paint-order: stroke; stroke: #112036; stroke-width: 4px; stroke-linejoin: round; }
@media (max-width: 520px) {
  .y-route-form .y-field { flex-basis: 100%; }
  .y-route-form button { width: 100%; }
  .y-bridge-map .map-ports { font-size: 22px; }
  .y-bridge-map .map-region { font-size: 15px; }
}
.y-feedback { position: fixed; bottom: max(1rem,env(safe-area-inset-bottom)); inset-inline: var(--pad); display: flex; justify-content: center; z-index: 3; pointer-events: none; }
.y-plancia .y-notice:not(:empty) { margin: 0; padding: .55rem .9rem; color: #f3f4e9; border: 1px solid var(--rim); border-radius: 12px; background: #232724f2; }

body:has(dialog[open]) { overflow: hidden; }
.helm-dialog,.y-plancia .y-dialog {
  color: var(--glass-ink); width: min(430px,calc(100vw - 28px)); margin: auto;
  max-height: calc(100dvh - 28px); overflow: auto; overscroll-behavior: contain; padding: 1.3rem;
  border: 1px solid #f0f5e830; border-radius: 24px;
  background: linear-gradient(145deg,#282d2eee,#15181bf2 66%); box-shadow: inset 1px 1px 0 #fff1,0 20px 80px #0008;
  -webkit-backdrop-filter: blur(26px) saturate(140%); backdrop-filter: blur(26px) saturate(140%);
}
.helm-dialog:not([open]) { display: none; }
.helm-dialog[open] { animation: glass-sheet-in .28s cubic-bezier(.18,.92,.29,1.09); }
@keyframes glass-sheet-in { from { opacity: .12; scale: .935; } to { opacity: 1; scale: 1; } }
.helm-dialog::backdrop,.y-plancia .y-dialog::backdrop { background: #03060885; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.sheet-head,.setting-row,.settings-footer,.settings-vessel,.helm-search-field { display: flex; align-items: center; gap: 10px; }
.sheet-head,.setting-row,.settings-footer { justify-content: space-between; }
.sheet-head h2,.y-plancia .y-assistant-header h2,.y-plancia .y-dialog h2 { font-size: 1.45rem; font-weight: 530; letter-spacing: -.045em; margin: 0; }
.sheet-close,.y-plancia .y-voice-toggle { display: inline-grid; place-items: center; padding: 0; width: 38px; min-width: 38px; height: 38px; border-radius: 50%; }
.sheet-close .icon,.y-plancia .y-voice-toggle .icon { width: 16px; height: 16px; }
.settings-vessel { margin: 1rem 0 .4rem; padding: 1rem 0; border-block: 1px solid var(--rim); }
.settings-logbook { width: 100%; min-height: 44px; justify-content: flex-start; }
.settings-logbook .icon:last-child { margin-left: auto; }
.settings-vessel > .icon { color: var(--signal); }.settings-vessel strong { font-weight: 520; }.settings-vessel p { color: var(--glass-muted); font-size: .8rem; }.settings-vessel time { margin-left: auto; font-size: 1.55rem; font-weight: 320; font-variant-numeric: tabular-nums; }
.setting-row { padding-block: .7rem; font-size: .9rem; }.setting-row select { padding: .5rem; font: inherit; min-height: 42px; }.settings-footer { margin-top: .65rem; }
.helm-search-field { padding: .58rem .8rem; border: 1px solid var(--rim); border-radius: 12px; background: #0c0f12aa; margin: 1rem 0 .5rem; }
.helm-search-field input { border: 0; background: none; color: inherit; font: inherit; min-width: 0; flex: 1; padding: .3rem 0; outline: none; }
.helm-search-field:focus-within { border-color: #b6be63; }.search-results { display: grid; gap: 3px; max-height: 48dvh; overflow-y: auto; color: var(--glass-muted); }
.search-results button { display: flex; align-items: center; gap: .7rem; background: transparent; color: #f2f3ed; padding: .65rem; text-align: left; border: 0; border-radius: 9px; min-height: 40px; }
.search-results button .icon { width: 1rem; color: #c9cdb6; }
.instrument-caption { color: var(--glass-muted); font-size: .81rem; margin: .5rem 0 .8rem; }
.helm-dialog .reading-list { font-size: .92rem; }
.y-plancia .y-assistant { display: flex; position: static; min-height: 0; max-height: none; flex-direction: column; gap: .65rem; padding: 0; border: 0; background: transparent; overflow: visible; }
.y-plancia .y-assistant-header { align-items: center; }.y-plancia .y-assistant-header h2 { margin-top: .28rem; }.y-plancia .y-assistant-actions { align-items: center; flex-wrap: nowrap; }
.y-plancia .y-voice-toggle { border: 1px solid var(--rim); background: #272c2c; }
.y-plancia .y-talk { display: block; text-align: center; padding: .6rem 0; }
.y-plancia .y-mic {
  --ring: #ecf32088; display: grid; place-items: center; width: 74px; height: 74px; margin: .22rem auto .78rem;
  background: radial-gradient(ellipse at 37% 20%,#555b3b,#32372d 44%,#242922); border: 1px solid var(--ring);
  box-shadow: inset 0 1px 2px #faffb045,0 0 0 5px #d3dd4811; touch-action: none;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.y-plancia .y-mic .icon { width: 29px; height: 29px; color: #f1f5a8; }
.y-plancia .y-mic[aria-pressed="true"] { background: #4a3b2e; border-color: #faa658; box-shadow: 0 0 0 5px #faa65820; }
.y-plancia .y-mic-caption { margin: .2rem 0; }.y-plancia .y-voice-note { margin: .2rem auto 0; max-width: 32ch; color: var(--glass-muted); }
.y-plancia .y-history,.y-plancia .y-conversation { display: grid; gap: .6rem; }
.y-plancia .y-chat { min-height: 58px; max-height: clamp(85px,21dvh,230px); padding: .2rem 0; }
.y-plancia .y-message,.y-plancia .y-transcript { background: #222629; border-color: var(--rim); }.y-plancia .y-message[data-role="user"] { background: #353a29; }
.y-plancia .y-voice-steps li.is-current { background: #353b24; color: #f1f4c9; border-color: #dbe56a60; }
.y-plancia .y-suggestions { display: flex; flex-wrap: wrap; overflow: visible; }
.y-plancia .y-chip { font-size: .75rem; min-height: 32px; border-radius: 9px; }
.y-plancia .y-input { position: sticky; bottom: 0; margin-top: 0; background: #171a1c; border-radius: 10px; }
.y-plancia .y-input input { min-height: 42px; }
.y-app[data-keyboard-fit] .assistant-sheet { position: fixed; inset: var(--y-visible-top,0px) auto auto 50%; transform: translateX(-50%); max-height: var(--y-visible-height,100dvh); margin: 0; }
.y-app[data-keyboard-fit="compact"] .assistant-sheet :is(.y-talk,.y-voice-steps,.y-suggestions) { display: none; }

@media (max-width: 1090px) {
  .helm-search { min-width: var(--key); width: var(--key); padding: 0; justify-content: center; }.helm-search span { display: none; }
  .y-section-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .helm-profile > span { display: none; }
  .hero-demo { display: inline; }
  .dash-grid { height: auto; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dash-instruments { grid-column: 1 / -1; grid-template-rows: clamp(105px,15vw,135px) 255px; }
  .dash-starboard,.voyage { min-height: 406px; }
  .helm-hero h1 { font-size: clamp(34px,4.4vw,40px); }
  .reading-list,.service-list b { font-size: .81rem; }
  .dash-heading { font-size: .87rem; }
  .dash-stats .stat-number { font-size: 30px; }
  .service-list small,.service-state { font-size: .7rem; }
  .reading-list > div { padding-block: 9px; }
}
@media (min-width: 901px) and (max-height: 820px) {
  .voyage .reading-list > div { padding-block: 6px; }
  .voyage .reading-list > div:last-child { padding-bottom: 0; }
  .sea-conditions .reading-list > div { padding-block: 4px; }
  .service-list { margin-top: 4px; }
}
@media (max-width: 660px) {
  .y-plancia .y-app { --pad: 14px; --inset: 12px; --gap: 7px; }
  .helm-hero { height: clamp(246px,54vw,302px); padding-top: 15px; }
  .helm-photo { width: 109%; left: 47%; top: calc(59% + var(--bar) * .41); }.helm-seascape::after { background: linear-gradient(180deg,var(--ocean),#080b0ec4 26%,transparent 53%,transparent 83%,var(--ocean)); }
  .helm-hero-copy { max-width: 100%; width: 100%; }.helm-hero h1 { font-size: clamp(29px,6.6vw,39px); }
  .hero-sub { font-size: .78rem; margin-top: 3px; }
  .sea-tag { margin-top: 8px; padding: 3px 7px; font-size: .65rem; gap: 5px; border-radius: 6px; }.sea-tag i { width: 5px; height: 5px; }
  .vessel-spec { inset: auto var(--pad) 8px; max-width: none; display: grid; gap: 0; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 6px 10px; border-radius: 10px; }
  .vessel-spec::before { width: 19px; height: 17px; right: -6px; top: -6px; }.vessel-spec div + div { border-left: 1px solid var(--rim); padding-left: 10px; }
  .vessel-spec dt { font-size: .61rem; }.vessel-spec dd { font-size: .75rem; margin-top: 0; }
  .dash-grid { grid-template-columns: minmax(0,1fr); }.dash-instruments { grid-template-rows: 100px 220px; }
  .stat-card { padding: 10px 8px; }.dash-stats .dash-heading { gap: 4px; font-size: clamp(.64rem,2.65vw,.83rem); }.dash-stats .stat-number { font-size: clamp(23px,6.1vw,30px); margin-top: 7px; }.stat-graphic { height: 21px; }
  .performance-graph { margin-top: 17px; column-gap: 7px; }.chart-track { --tip-span: 56px; }.helm-tooltip { border-radius: 9px; padding: .36rem .45rem; font-size: .63rem; }.chart-context,.chart-scale,.chart-times { font-size: .58rem; }
  .chart-times span:nth-child(even) { display: none; }
  .dash-starboard { min-height: 0; grid-template-rows: auto auto; }.voyage { min-height: 0; }.vessel-profile { min-height: 100px; height: 115px; flex: none; }.vessel-profile img { width: min(100%,360px); }
  .voyage-stage { margin-bottom: 8px; }.wind-dial { flex: none; height: 98px; width: 210px; }.service-list li { padding: 9px 0; }.service-icon { width: 31px; }.service-list li:last-child { padding-bottom: 0; }
  .y-section-grid { grid-template-columns: 1fr; }.y-tile-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .y-plancia .y-grid,.y-plancia .y-two-fields { grid-template-columns: 1fr; }.y-plancia .y-input input { font-size: 16px; }
  .helm-dialog { padding: 1rem; }.sheet-close,.y-plancia .y-voice-toggle { width: 42px; height: 42px; }
}
@media (max-width: 370px) {
  .y-plancia .y-app { --pad: 10px; --gap: 5px; }
  .dash-stats .dash-heading { font-size: .61rem; }.stat-card { padding-inline: 6px; }
}
@media (max-width: 780px), (max-width: 960px) and (max-height: 500px) {
  .y-plancia .y-app {
    --key: calc(44px * var(--toolbar-scale));
    --bar: calc(var(--key) + 12px);
    --dock-key: clamp(44px,11vw,52px);
    --dock: calc(var(--dock-key) + 22px);
    padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom,0px));
  }
  .helm-bar { grid-template-columns: minmax(0,1fr) auto; gap: 4px; }
  .helm-brand { min-height: 44px; max-width: 100%; gap: 6px; font-size: clamp(1rem,4.7vw,1.3rem); white-space: normal; }
  .helm-brand span { text-wrap: balance; }
  .helm-brand svg { flex: none; width: 23px; }
  .helm-actions { gap: 2px; }
  .helm-actions .glass-key,.helm-profile { width: var(--key); height: var(--key); min-height: var(--key); justify-content: center; }
  .helm-profile img { width: calc(34px * var(--toolbar-scale)); height: calc(34px * var(--toolbar-scale)); }
  .helm-profile > span { display: none; }
  .helm-bar > .helm-nav {
    position: fixed; inset: auto max(6px,env(safe-area-inset-right,0px)) max(6px,env(safe-area-inset-bottom,0px)) max(6px,env(safe-area-inset-left,0px));
    display: flex; justify-content: center; width: fit-content; max-width: calc(100% - 12px); margin-inline: auto;
    gap: clamp(3px,1vw,7px); padding: 4px; isolation: isolate; border-radius: 999px;
    border: 1px solid #dfece229; background: linear-gradient(160deg,#272e31d9,#101519e8 70%);
    box-shadow: inset 0 1px 1px #ffffff18,0 5px 16px #0007;
    -webkit-backdrop-filter: blur(20px) saturate(135%); backdrop-filter: blur(20px) saturate(135%);
  }
  .helm-bar .helm-nav .glass-key {
    z-index: 1; width: var(--dock-key); min-width: 44px; height: var(--dock-key);
    padding: 0; gap: 6px; font-size: .875rem; line-height: 1.15; color: #e1e6e3;
  }
  .helm-nav .glass-key .icon { flex: none; width: 19px; height: 19px; }
  .helm-bar .helm-nav .glass-key[aria-current="page"] {
    width: clamp(98px,27vw,132px); color: #fff; padding-inline: 5px;
  }
  .helm-nav .glass-wave { height: 10px; bottom: -2px; }
  .helm-nav #y-chat-toggle .icon { color: var(--signal); }
  .y-feedback { bottom: calc(var(--dock) + env(safe-area-inset-bottom,0px) + 6px); }
  .y-app:not([data-page="overview"]) .helm-hero { padding-block: .35rem .65rem; }
  .helm-detail-only.y-eyebrow { margin-bottom: .15rem; }
  .y-app:not([data-page="overview"]) .helm-hero h1 { font-size: clamp(1.55rem,4.9vw,1.9rem); }
  .helm-subnav {
    grid-auto-flow: row; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px;
    overflow: visible; margin: 0 var(--pad) .65rem; padding: 0;
  }
  .helm-subnav button {
    flex-direction: column; justify-content: center; gap: 3px; min-width: 0; min-height: 48px; padding: 3px 4px 9px;
    font-size: .8125rem; line-height: 1.15; white-space: normal;
  }
  .helm-subnav button .icon { width: 17px; height: 17px; }
  .y-vessel-line { margin: 0; font-size: .81rem; }
}
@media (max-width: 660px), (max-width: 960px) and (max-height: 500px) {
  .helm-subnav { grid-template-columns: repeat(12,minmax(0,1fr)); }
  .helm-subnav button { grid-column: span 3; }
  .helm-subnav button:nth-child(-n+3) { grid-column: span 4; }
}
@media (max-width: 539px) {
  .y-vessel-model { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .glass-key,.glass-key::before,.sheet-close { transition: none; }
  .helm-dialog[open] { animation: none; }
  :is(.glass-key,.sheet-close,.helm-subnav button,.y-tile,.y-chip,.y-subtle,.y-primary,.y-mode button) { scale: 1; }
  .y-device input[data-y-controlled]:active { --thumb-x: 1; --thumb-y: 1; }
  .y-device input[data-y-controlled]::-webkit-slider-thumb { transition: none; }
  .y-device input[data-y-controlled]::-moz-range-thumb { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass-selection,.glass-key,.vessel-spec,.sea-tag,.helm-tooltip,.helm-dialog,.service-icon { background-color: #1b1f21; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .helm-bar > .helm-nav { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .helm-nav:has(> .glass-selection) { background: #191e20; }
  .helm-subnav button,.helm-subnav button[aria-current="page"] { background: #1b1f21; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (forced-colors: active) {
  .helm-bar[data-tracking] .glass-key[aria-current="page"],.helm-subnav button[aria-current="page"] { outline: 2px solid Highlight; outline-offset: -2px; }
  .y-plancia .y-device input[data-y-controlled] { -webkit-appearance: auto; appearance: auto; }
}
