.site-shell {
  position: relative;
}

.navdesk-page {
  display: grid;
  gap: 18px;
}

.navdesk-hero {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.navdesk-hero .section-heading {
  gap: 6px;
}

.navdesk-hero .section-heading p:last-child {
  max-width: 760px;
}

.navdesk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.navdesk-dashboard {
  display: grid;
  gap: 14px;
}

.navdesk-dashboard__heading {
  max-width: 820px;
}

.navdesk-tool-grid {
  counter-reset: navdesk-tool-order;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.navdesk-tool-card {
  counter-increment: navdesk-tool-order;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 148px;
  padding: 16px 54px 16px 16px;
  border: 1px solid rgba(27, 55, 88, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 239, 225, 0.72)),
    #fff;
  color: var(--color-brand);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(17, 36, 58, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.navdesk-tool-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: rgba(27, 55, 88, 0.18);
}

.navdesk-tool-card::after {
  content: "0" counter(navdesk-tool-order);
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(27, 55, 88, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(16, 36, 58, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.navdesk-tool-card--simple::before {
  background: rgba(83, 120, 76, 0.46);
}

.navdesk-tool-card--calc::before {
  background: rgba(199, 134, 67, 0.48);
}

.navdesk-tool-card--route-link::before {
  background: rgba(56, 93, 123, 0.46);
}

.navdesk-tool-card--cashbox::before {
  background: rgba(54, 112, 86, 0.46);
}

.navdesk-tool-card--operations::before {
  background: rgba(127, 29, 29, 0.42);
}

.navdesk-tool-card--learning::before {
  background: rgba(92, 78, 128, 0.38);
}

.navdesk-tool-card:hover,
.navdesk-tool-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(27, 55, 88, 0.22);
  box-shadow: 0 18px 42px rgba(17, 36, 58, 0.12);
  outline: none;
}

.navdesk-tool-card__kicker {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(27, 55, 88, 0.08);
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.navdesk-tool-card strong {
  font-size: 1.02rem;
  line-height: 1.2;
}

.navdesk-tool-card span:last-child {
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.navdesk-tool-card--soon {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(226, 236, 233, 0.78)),
    #fff;
}

.navdesk-learning-placeholder {
  display: grid;
  gap: 14px;
}

.navdesk-learning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.navdesk-learning-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(27, 55, 88, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(17, 36, 58, 0.08);
}

.navdesk-learning-card h3,
.navdesk-learning-card p {
  margin: 0;
}

.navdesk-learning-card h3 {
  color: var(--color-brand);
  font-size: 1.05rem;
  line-height: 1.2;
}

.navdesk-learning-card p {
  color: var(--color-muted);
  line-height: 1.45;
}

.navdesk-tool-page .navdesk-card-toolbar,
.navdesk-tool-page .navdesk-card-toggle--bottom,
.navdesk-tool-page #navdesk_watch_close {
  display: none !important;
}

.navdesk-landing-legacy-tool,
.navdesk-layout--compact .navdesk-main--legacy {
  display: none;
}

.navdesk-layout.navdesk-layout--compact {
  grid-template-columns: minmax(0, 760px);
  justify-content: start;
}

.navdesk-layout--compact .navdesk-side {
  position: static;
}

.navdesk-layout {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.navdesk-side {
  position: sticky;
  top: 24px;
}

.navdesk-main {
  min-width: 0;
}

.navdesk-card {
  display: grid;
  gap: 14px;
}

.navdesk-calc,
.navdesk-tides {
  display: grid;
  gap: 14px;
}

.navdesk-calc__grid,
.navdesk-tides__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.navdesk-calc__field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.navdesk-calc__field--full {
  grid-column: 1 / -1;
}

.navdesk-calc__field span {
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--color-muted);
}

.navdesk-calc__field input,
.navdesk-calc__field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 14px;
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-brand);
  font: inherit;
  box-sizing: border-box;
}

.navdesk-calc__field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%2310243a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.navdesk-calc__field input:focus,
.navdesk-calc__field select:focus {
  outline: none;
  border-color: rgba(27, 55, 88, 0.35);
  box-shadow: 0 0 0 3px rgba(27, 55, 88, 0.08);
}

.navdesk-calc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.navdesk-calc__actions .btn {
  width: auto;
}

.navdesk-calc__status {
  margin: 0;
  min-height: 22px;
  color: var(--color-muted);
  line-height: 1.45;
}

.navdesk-calc__summary {
  margin: 0;
  padding: 11px 13px;
  border-radius: 14px;
  background: rgba(27, 55, 88, 0.05);
  color: var(--color-brand);
  line-height: 1.45;
  font-size: 0.94rem;
}

.navdesk-calc__summary:empty {
  display: none;
}

.navdesk-calc__field input.is-calculated {
  background: #f5f7fa;
  color: #6c7380;
  cursor: not-allowed;
}

.navdesk-calc__field input#calcFuelTotal.is-calculated,
.navdesk-calc__field input#calcFuelTotalReserve.is-calculated {
  background: rgba(27, 55, 88, 0.08);
  border-color: rgba(27, 55, 88, 0.22);
  color: var(--color-brand);
  font-weight: 700;
}

.navdesk-side .section-heading h2 {
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  max-width: 8ch;
}

.navdesk-side .section-heading p:last-child {
  max-width: 30ch;
}

.navdesk-main .section-heading h2 {
  max-width: 12ch;
}

.navdesk-results {
  display: grid;
  gap: 14px;
}

.navdesk-results__meta {
  display: grid;
  gap: 6px;
}

.navdesk-results__meta p {
  margin: 0;
  line-height: 1.4;
}

.navdesk-results__meta strong {
  color: var(--color-brand);
}

.navdesk-window-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(27, 55, 88, 0.06);
  border: 1px solid rgba(27, 55, 88, 0.1);
}

.navdesk-window-card__eyebrow {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.navdesk-window-card__title {
  margin: 0;
  line-height: 1.08;
}

.navdesk-window-card__status {
  margin: 0;
  font-weight: 800;
  color: var(--color-brand);
  font-size: 1rem;
}

.navdesk-window-card__text {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.45;
}

.navdesk-table-section {
  display: grid;
  gap: 10px;
}

.navdesk-table-section__heading {
  display: grid;
  gap: 4px;
}

.navdesk-table-section__heading h3 {
  margin: 0;
}

.navdesk-tides-placeholder {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(27, 55, 88, 0.04);
  color: var(--color-muted);
  line-height: 1.45;
  font-size: 0.94rem;
}

.navdesk-table-wrap {
  overflow-x: auto;
}

.navdesk-table {
  width: 100%;
  border-collapse: collapse;
}

.navdesk-table thead th {
  color: var(--color-brand);
  font-weight: 700;
}

.navdesk-table th,
.navdesk-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
}

@media (max-width: 1180px) {
  .navdesk-tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .navdesk-layout {
    grid-template-columns: 370px minmax(0, 1fr);
  }
}

@media (max-width: 1100px) {
  .navdesk-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navdesk-learning-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navdesk-layout {
    grid-template-columns: 1fr;
  }

  .navdesk-side {
    position: static;
  }

  .navdesk-side .section-heading h2,
  .navdesk-main .section-heading h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .navdesk-page {
    gap: 16px;
  }

  .navdesk-hero {
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .navdesk-dashboard {
    gap: 10px;
  }

  .navdesk-dashboard__heading {
    gap: 5px;
  }

  .navdesk-dashboard__heading h2 {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .navdesk-dashboard__heading p:last-child {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .navdesk-tool-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .navdesk-tool-card {
    min-height: 0;
    padding: 14px 14px 14px 16px;
    border-radius: 14px;
  }

  .navdesk-learning-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .navdesk-calc__grid,
  .navdesk-tides__grid {
    grid-template-columns: 1fr;
  }

  .navdesk-calc__actions,
  .navdesk-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .navdesk-calc__actions .btn,
  .navdesk-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .navdesk-side .section-heading h2 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
    max-width: none;
  }
}

.navdesk-window-card__status:not(:empty) {
  letter-spacing: -0.01em;
}


.navdesk-place-field {
  position: relative;
}

.navdesk-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  display: grid;
  gap: 4px;
  max-height: 280px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 34, 56, 0.08);
}

.navdesk-suggestions[hidden] {
  display: none;
}

.navdesk-suggestion {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--color-brand);
  font: inherit;
}

.navdesk-suggestion:hover,
.navdesk-suggestion:focus,
.navdesk-suggestion.is-active {
  background: rgba(27, 55, 88, 0.06);
  outline: none;
}

.navdesk-suggestion__label {
  font-weight: 700;
}

.navdesk-suggestion__detail,
.navdesk-suggestion-state {
  color: rgba(16, 36, 58, 0.68);
  font-size: 0.86rem;
  line-height: 1.35;
}

.navdesk-suggestion-state {
  padding: 10px 12px;
}

.navdesk-suggestion-state.is-loading,
.navdesk-suggestion-state.is-fallback {
  color: #7a5a10;
}

.navdesk-suggestion-state.is-error,
.navdesk-suggestion-state.is-empty {
  color: #8c3228;
}

.navdesk-state {
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.45;
  font-size: 0.94rem;
}

.navdesk-state.is-loading {
  background: rgba(27, 55, 88, 0.05);
  color: var(--color-brand);
}

.navdesk-state.is-error {
  background: rgba(160, 56, 44, 0.08);
  color: #8c3228;
}

.navdesk-window-card.is-idle {
  background: rgba(27, 55, 88, 0.06);
  border-color: rgba(27, 55, 88, 0.1);
}

.navdesk-window-card.is-passable {
  background: rgba(43, 120, 76, 0.08);
  border-color: rgba(43, 120, 76, 0.18);
}

.navdesk-window-card.is-not-passable {
  background: rgba(160, 56, 44, 0.08);
  border-color: rgba(160, 56, 44, 0.18);
}

.navdesk-window-card.is-loading {
  background: rgba(27, 55, 88, 0.08);
  border-color: rgba(27, 55, 88, 0.16);
}

.navdesk-window-card.is-passable .navdesk-window-card__status {
  color: #1f6a42;
}

.navdesk-window-card.is-not-passable .navdesk-window-card__status {
  color: #8c3228;
}

.navdesk-window-card.is-loading .navdesk-window-card__status {
  color: var(--color-brand);
}


.navdesk-tides-disclaimer {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(160, 56, 44, 0.06);
  color: #7b372f;
  font-size: 0.9rem;
  line-height: 1.45;
}











@media (max-width: 720px) {
  
  }


@media (min-width: 1024px) {
  
  }


.site-shell {
  position: relative;
}

@media (max-width: 720px) {
  }


@media (min-width: 1024px) {
  }


.navdesk-window-card__formula {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.navdesk-window-card__meta {
  display: grid;
  gap: 6px;
}

.navdesk-window-card__meta p {
  margin: 0;
  color: var(--color-brand);
}


.navdesk-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.navdesk-modal.is-open {
  display: flex;
}

.navdesk-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 38, 44, 0.72);
  backdrop-filter: blur(3px);
}

.navdesk-modal__dialog {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  max-width: 560px;
  padding: 24px 22px;
  border-radius: 20px;
  background: rgba(44, 48, 54, 0.94);
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 14px;
}

.navdesk-modal__title {
  margin: 0;
  color: #fff;
}

.navdesk-modal__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
}

.navdesk-modal__accept {
  appearance: none;
  border: 0;
  border-radius: 14px;
  min-height: 46px;
  padding: 11px 18px;
  background: #e7d37a;
  color: #2b2b2b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  justify-self: start;
}

.navdesk-modal__accept:hover,
.navdesk-modal__accept:focus {
  outline: none;
  filter: brightness(0.98);
}

body.navdesk-locked {
  overflow: hidden;
}

@media (min-width: 721px) {
  .site-shell {
    position: relative;
  }

  .navdesk-modal {
    position: absolute;
    inset: 0;
  }

  .navdesk-modal__dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(560px, calc(100vw - 48px));
    max-width: 560px;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 720px) {
  .navdesk-modal {
    position: fixed;
    inset: 0;
  }

  .navdesk-modal__dialog {
    width: min(100%, calc(100vw - 20px));
    padding: 20px 18px;
    border-radius: 18px;
  }

  .navdesk-modal__accept {
    width: 100%;
    justify-self: stretch;
  }
}


.navdesk-route {
  display: grid;
  gap: 18px;
}

.navdesk-route__mode,
.navdesk-route__preset,
.navdesk-route__section {
  display: grid;
  gap: 12px;
}

.navdesk-route__section-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.navdesk-route__coord-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.navdesk-route__coord-grid--decimal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.navdesk-route__results {
  display: grid;
  gap: 18px;
}

.navdesk-route__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.navdesk-route__summary-card {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(27, 55, 88, 0.05);
  border: 1px solid rgba(27, 55, 88, 0.08);
  display: grid;
  gap: 8px;
}

.navdesk-route__summary-card p {
  margin: 0;
}

.navdesk-route__summary-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.navdesk-route__print-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 720px) {
  .navdesk-route__coord-grid,
  .navdesk-route__coord-grid--decimal,
  .navdesk-route__summary {
    grid-template-columns: 1fr;
  }

  .navdesk-route__print-btn {
    width: 100%;
  }
}


/* Mobile typography fix for Nav Desk cards */
@media (max-width: 720px) {
  .navdesk-side .section-heading,
  .navdesk-main .section-heading {
    gap: 8px;
  }

  .navdesk-side .section-heading__eyebrow,
  .navdesk-main .section-heading__eyebrow {
    margin-bottom: 6px;
    font-size: 0.82rem;
    line-height: 1.2;
    letter-spacing: 0.16em;
  }

  .navdesk-side .section-heading h2,
  .navdesk-main .section-heading h2 {
    font-size: clamp(1.45rem, 6.6vw, 2rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    max-width: none;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .navdesk-side .section-heading p:last-child,
  .navdesk-main .section-heading p:last-child {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .navdesk-card {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .navdesk-side .section-heading h2,
  .navdesk-main .section-heading h2 {
    font-size: clamp(1.32rem, 6.2vw, 1.72rem);
    line-height: 1.04;
  }

  .navdesk-side .section-heading p:last-child,
  .navdesk-main .section-heading p:last-child {
    font-size: 0.94rem;
    line-height: 1.42;
  }
}

/* Collapsible Nav Desk cards */
.navdesk-card-shell {
  display: grid;
  gap: 14px;
}

.navdesk-card-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  align-items: start;
}

.navdesk-card-toggle .section-heading {
  margin: 0;
}

.navdesk-card-toggle__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  border-radius: 999px;
  background: rgba(27, 55, 88, 0.06);
  color: var(--color-brand);
  font-size: 1rem;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform .18s ease;
  margin-top: 4px;
}

.navdesk-card-shell.is-open .navdesk-card-toggle__chevron {
  transform: rotate(180deg);
}

.navdesk-card-body[hidden] {
  display: none !important;
}

.navdesk-card-body {
  display: grid;
  gap: 14px;
}

@media (max-width: 720px) {
  .navdesk-card-toggle {
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 10px;
  }

  .navdesk-card-toggle__chevron {
    min-width: 32px;
    min-height: 32px;
    margin-top: 2px;
  }
}


/* Clean bottom toggle button */
.navdesk-card-toggle--bottom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  margin: 16px auto 0;
  border: 1px solid rgba(27, 55, 88, 0.14);
  border-radius: 999px;
  background: rgba(27, 55, 88, 0.04);
  color: var(--color-brand);
  width: auto;
  min-width: 180px;
  text-align: center;
}

.navdesk-card-toggle--bottom .navdesk-card-toggle__label {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
}

.navdesk-card-toggle--bottom .navdesk-card-toggle__label--close {
  display: none;
}

.navdesk-card-shell.is-open .navdesk-card-toggle--bottom .navdesk-card-toggle__label--open {
  display: none;
}

.navdesk-card-shell.is-open .navdesk-card-toggle--bottom .navdesk-card-toggle__label--close {
  display: inline;
}

/* kill old circular chevron look */
.navdesk-card-toggle--bottom .navdesk-card-toggle__chevron {
  position: relative;
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0;
  line-height: 0;
  transform: none;
}

.navdesk-card-toggle--bottom .navdesk-card-toggle__chevron::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 10px;
  height: 10px;
  margin: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transform-origin: center;
}

.navdesk-card-shell.is-open .navdesk-card-toggle--bottom .navdesk-card-toggle__chevron::before {
  transform: rotate(-135deg) translateY(-1px);
}

/* stronger visual separation between right-column cards */
.navdesk-card--route {
  margin-top: 18px;
}

.navdesk-card--ukv {
  margin-top: 18px;
}

@media (max-width: 720px) {
  .navdesk-card-toggle--bottom {
    min-width: 164px;
    padding: 11px 18px;
  }

  .navdesk-card--route,
  .navdesk-card--ukv {
    margin-top: 16px;
  }
}

/* Card composition tuning after collapsible layout */

/* left card title should not break ugly on desktop */
.navdesk-side .navdesk-card-shell > .section-heading h2 {
  font-size: clamp(1.7rem, 2.2vw, 2.3rem);
  line-height: 0.98;
  max-width: 10ch;
}

/* right column cards: calmer vertical rhythm */
.navdesk-main .navdesk-card-shell {
  gap: 10px;
}

.navdesk-main .navdesk-card-shell > .section-heading p:last-child {
  max-width: 42ch;
}

/* buttons closer to text, less dead air */
.navdesk-card-toggle--bottom {
  margin: 10px auto 0;
  min-width: 170px;
  padding: 11px 20px;
  gap: 10px;
}

/* modern arrow a touch larger and cleaner */
.navdesk-card-toggle--bottom .navdesk-card-toggle__chevron {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
}

.navdesk-card-toggle--bottom .navdesk-card-toggle__chevron::before {
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

/* long right-column titles need a smaller scale */
.navdesk-main .navdesk-card-shell > .section-heading h2 {
  font-size: clamp(2rem, 4.1vw, 3.2rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  max-width: 11ch;
}

/* route and ukv cards: slightly tighter body */
.navdesk-card--route .section-heading,
.navdesk-card--ukv .section-heading {
  gap: 6px;
}

/* mobile: long headings were too aggressive */
@media (max-width: 720px) {
  .navdesk-side .navdesk-card-shell > .section-heading h2 {
    font-size: clamp(1.38rem, 6vw, 1.9rem);
    line-height: 1.02;
    max-width: none;
  }

  .navdesk-main .navdesk-card-shell > .section-heading h2 {
    font-size: clamp(1.8rem, 8.2vw, 2.7rem);
    line-height: 0.98;
    max-width: none;
  }

  .navdesk-main .navdesk-card-shell > .section-heading p:last-child,
  .navdesk-side .navdesk-card-shell > .section-heading p:last-child {
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .navdesk-card-toggle--bottom {
    margin-top: 12px;
    min-width: 156px;
    padding: 11px 18px;
  }
}

@media (max-width: 480px) {
  .navdesk-main .navdesk-card-shell > .section-heading h2 {
    font-size: clamp(1.58rem, 7.3vw, 2.15rem);
    line-height: 1;
  }

  .navdesk-side .navdesk-card-shell > .section-heading h2 {
    font-size: clamp(1.26rem, 5.8vw, 1.58rem);
  }

  .navdesk-card-toggle--bottom {
    min-width: 148px;
    padding: 10px 16px;
  }
}

/* Unified card title typography */
.navdesk-card-shell > .section-heading h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 700;
  max-width: 12ch;
}

.navdesk-side .navdesk-card-shell > .section-heading h2,
.navdesk-main .navdesk-card-shell > .section-heading h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 700;
  max-width: 12ch;
}

@media (max-width: 720px) {
  .navdesk-card-shell > .section-heading h2,
  .navdesk-side .navdesk-card-shell > .section-heading h2,
  .navdesk-main .navdesk-card-shell > .section-heading h2 {
    font-size: clamp(1.5rem, 6.2vw, 2rem);
    line-height: 1.03;
    letter-spacing: -0.02em;
    font-weight: 700;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .navdesk-card-shell > .section-heading h2,
  .navdesk-side .navdesk-card-shell > .section-heading h2,
  .navdesk-main .navdesk-card-shell > .section-heading h2 {
    font-size: clamp(1.34rem, 5.8vw, 1.72rem);
    line-height: 1.04;
    font-weight: 700;
  }
}

/* Card text balance refinement */
.navdesk-card-shell > .section-heading {
  max-width: 100%;
  padding-right: 18px;
}

.navdesk-card-shell > .section-heading h2,
.navdesk-side .navdesk-card-shell > .section-heading h2,
.navdesk-main .navdesk-card-shell > .section-heading h2 {
  font-size: clamp(1.55rem, 2.15vw, 2.1rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 11ch;
}

.navdesk-card-shell > .section-heading p:last-child,
.navdesk-side .navdesk-card-shell > .section-heading p:last-child,
.navdesk-main .navdesk-card-shell > .section-heading p:last-child {
  max-width: 34ch;
  line-height: 1.52;
}

.navdesk-main .navdesk-card-shell > .section-heading p:last-child {
  max-width: 42ch;
}

@media (min-width: 1101px) {
  .navdesk-side .navdesk-card-shell > .section-heading {
    padding-right: 26px;
  }

  .navdesk-main .navdesk-card-shell > .section-heading {
    padding-right: 42px;
  }

  .navdesk-side .navdesk-card-shell > .section-heading h2 {
    max-width: 9ch;
  }

  .navdesk-main .navdesk-card-shell > .section-heading h2 {
    max-width: 10ch;
  }

  .navdesk-side .navdesk-card-shell > .section-heading p:last-child {
    max-width: 30ch;
  }

  .navdesk-main .navdesk-card-shell > .section-heading p:last-child {
    max-width: 46ch;
  }
}

@media (max-width: 720px) {
  .navdesk-card-shell > .section-heading,
  .navdesk-side .navdesk-card-shell > .section-heading,
  .navdesk-main .navdesk-card-shell > .section-heading {
    padding-right: 0;
  }

  .navdesk-card-shell > .section-heading h2,
  .navdesk-side .navdesk-card-shell > .section-heading h2,
  .navdesk-main .navdesk-card-shell > .section-heading h2 {
    font-size: clamp(1.38rem, 5.6vw, 1.82rem);
    line-height: 1.05;
    max-width: none;
  }

  .navdesk-card-shell > .section-heading p:last-child,
  .navdesk-side .navdesk-card-shell > .section-heading p:last-child,
  .navdesk-main .navdesk-card-shell > .section-heading p:last-child {
    max-width: none;
    line-height: 1.46;
  }
}

@media (max-width: 480px) {
  .navdesk-card-shell > .section-heading h2,
  .navdesk-side .navdesk-card-shell > .section-heading h2,
  .navdesk-main .navdesk-card-shell > .section-heading h2 {
    font-size: clamp(1.24rem, 5.1vw, 1.58rem);
    line-height: 1.06;
  }

  .navdesk-card-shell > .section-heading p:last-child,
  .navdesk-side .navdesk-card-shell > .section-heading p:last-child,
  .navdesk-main .navdesk-card-shell > .section-heading p:last-child {
    font-size: 0.94rem;
  }
}

/* Unified full-width text layout inside cards */
.navdesk-card-shell > .section-heading,
.navdesk-side .navdesk-card-shell > .section-heading,
.navdesk-main .navdesk-card-shell > .section-heading {
  width: 100%;
  max-width: none;
  padding-right: 0;
}

.navdesk-card-shell > .section-heading h2,
.navdesk-side .navdesk-card-shell > .section-heading h2,
.navdesk-main .navdesk-card-shell > .section-heading h2 {
  width: 100%;
  max-width: none;
  font-size: clamp(1.48rem, 2vw, 1.92rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.navdesk-card-shell > .section-heading p:last-child,
.navdesk-side .navdesk-card-shell > .section-heading p:last-child,
.navdesk-main .navdesk-card-shell > .section-heading p:last-child {
  width: 100%;
  max-width: none;
  line-height: 1.5;
}

.navdesk-side .navdesk-card-shell,
.navdesk-main .navdesk-card-shell {
  gap: 12px;
}

@media (min-width: 1101px) {
  .navdesk-card-shell > .section-heading h2,
  .navdesk-side .navdesk-card-shell > .section-heading h2,
  .navdesk-main .navdesk-card-shell > .section-heading h2 {
    font-size: clamp(1.42rem, 1.75vw, 1.82rem);
    line-height: 1.08;
  }

  .navdesk-card-shell > .section-heading p:last-child,
  .navdesk-side .navdesk-card-shell > .section-heading p:last-child,
  .navdesk-main .navdesk-card-shell > .section-heading p:last-child {
    font-size: 0.98rem;
  }
}

@media (max-width: 720px) {
  .navdesk-card-shell > .section-heading h2,
  .navdesk-side .navdesk-card-shell > .section-heading h2,
  .navdesk-main .navdesk-card-shell > .section-heading h2 {
    font-size: clamp(1.34rem, 5.2vw, 1.68rem);
    line-height: 1.08;
  }

  .navdesk-card-shell > .section-heading p:last-child,
  .navdesk-side .navdesk-card-shell > .section-heading p:last-child,
  .navdesk-main .navdesk-card-shell > .section-heading p:last-child {
    font-size: 0.95rem;
    line-height: 1.46;
  }
}

@media (max-width: 480px) {
  .navdesk-card-shell > .section-heading h2,
  .navdesk-side .navdesk-card-shell > .section-heading h2,
  .navdesk-main .navdesk-card-shell > .section-heading h2 {
    font-size: clamp(1.22rem, 4.8vw, 1.48rem);
    line-height: 1.08;
  }
}

/* Final polish for open/close card button */
.navdesk-card-toggle--bottom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 172px;
  padding: 10px 18px;
  margin: 14px auto 0;
  border: 1px solid rgba(16, 36, 58, 0.16);
  border-radius: 999px;
  background: #f6f8fa;
  color: var(--color-brand);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  transition: border-color .18s ease, background .18s ease, transform .12s ease, box-shadow .18s ease;
}

.navdesk-card-toggle--bottom:hover,
.navdesk-card-toggle--bottom:focus-visible {
  background: #eef3f7;
  border-color: rgba(16, 36, 58, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 4px 14px rgba(16, 36, 58, 0.06);
}

.navdesk-card-toggle--bottom:active {
  transform: translateY(1px);
}

.navdesk-card-toggle--bottom .navdesk-card-toggle__label {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}

.navdesk-card-toggle--bottom .navdesk-card-toggle__chevron {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  opacity: 0.92;
}

.navdesk-card-toggle--bottom .navdesk-card-toggle__chevron::before {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.navdesk-card-shell.is-open .navdesk-card-toggle--bottom {
  background: #eef3f7;
  border-color: rgba(16, 36, 58, 0.24);
}

@media (max-width: 720px) {
  .navdesk-card-toggle--bottom {
    min-width: 164px;
    padding: 10px 16px;
    margin-top: 12px;
  }

  .navdesk-card-toggle--bottom .navdesk-card-toggle__label {
    font-size: 0.95rem;
  }
}

/* Pin-open control */
.navdesk-card-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -2px;
}

.navdesk-card-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(16, 36, 58, 0.12);
  border-radius: 999px;
  background: rgba(16, 36, 58, 0.03);
  color: var(--color-brand);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.navdesk-card-pin:hover,
.navdesk-card-pin:focus-visible {
  background: rgba(16, 36, 58, 0.07);
  border-color: rgba(16, 36, 58, 0.18);
}

.navdesk-card-pin__label--on {
  display: none;
}

.navdesk-card-shell.is-pinned .navdesk-card-pin {
  background: #eef3f7;
  border-color: rgba(16, 36, 58, 0.24);
}

.navdesk-card-shell.is-pinned .navdesk-card-pin__label--off {
  display: none;
}

.navdesk-card-shell.is-pinned .navdesk-card-pin__label--on {
  display: inline;
}

@media (max-width: 720px) {
  .navdesk-card-toolbar {
    justify-content: flex-start;
    margin-bottom: 2px;
  }

  .navdesk-card-pin {
    min-height: 30px;
    padding: 6px 11px;
    font-size: 0.78rem;
  }
}

/* Show pin only for opened cards */
.navdesk-card-toolbar {
  display: none;
}

.navdesk-card-shell.is-open .navdesk-card-toolbar,
.navdesk-card-shell.is-pinned .navdesk-card-toolbar {
  display: flex;
}

/* Manual tide mode */
.navdesk-tides__mode {
  gap: 10px;
}

.navdesk-tides__mode-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.navdesk-tides__mode-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: #fff;
  color: var(--color-brand);
  cursor: pointer;
}

.navdesk-tides__mode-option input {
  margin: 0;
}

.navdesk-tides__manual {
  margin-top: -2px;
}

.navdesk-tides__manual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

@media (max-width: 720px) {
  .navdesk-tides__manual-grid {
    grid-template-columns: 1fr;
  }

  .navdesk-tides__mode-switch {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Tide mode visual polish only */
.navdesk-tides__mode-option {
  position: relative;
  gap: 12px;
}

.navdesk-tides__mode-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 0;
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: #d8e6f8;
  box-shadow: inset 0 0 0 5px #1f5fa8;
}

.navdesk-tides__mode-option input[type="radio"]:not(:checked) {
  background: #eef2f6;
  box-shadow: inset 0 0 0 2px rgba(16, 36, 58, 0.14);
}

.navdesk-tides__mode-option:has(input#tideModeManual:checked) {
  background: #fff4d6;
  border-color: rgba(184, 134, 11, 0.28);
}

.navdesk-tides__mode-option:has(input#tideModeManual:checked) input[type="radio"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  background: #f2c94c;
  box-shadow: inset 0 0 0 6px #b7791f;
}

.navdesk-tides__mode-option:has(input#tideModeAuto:checked) {
  background: #f4f8fd;
  border-color: rgba(31, 95, 168, 0.18);
}

.navdesk-tides__mode-option span {
  color: var(--color-brand);
}

@media (max-width: 720px) {
  .navdesk-tides__mode-option:has(input#tideModeManual:checked) input[type="radio"] {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
  }
}

/* Manual tide fields visibility block */
.navdesk-tides__manual[hidden] {
  display: none !important;
}

/* Stronger visual result for tide window card */
.navdesk-window-card {
  gap: 8px;
  padding: 18px 20px;
  border-width: 1px;
  box-shadow: 0 10px 28px rgba(16, 36, 58, 0.06);
}

.navdesk-window-card__status {
  font-size: 1.08rem;
  line-height: 1.15;
}

.navdesk-window-card__text {
  color: var(--color-brand);
  font-weight: 500;
}

.navdesk-window-card__meta {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(16, 36, 58, 0.08);
}

.navdesk-window-card.is-idle {
  background: rgba(27, 55, 88, 0.07);
  border-color: rgba(27, 55, 88, 0.14);
}

.navdesk-window-card.is-passable {
  background: rgba(58, 120, 87, 0.12);
  border-color: rgba(58, 120, 87, 0.22);
  box-shadow: 0 12px 28px rgba(58, 120, 87, 0.08);
}

.navdesk-window-card.is-not-passable {
  background: rgba(154, 67, 67, 0.11);
  border-color: rgba(154, 67, 67, 0.22);
  box-shadow: 0 12px 28px rgba(154, 67, 67, 0.08);
}

.navdesk-window-card.is-loading {
  background: rgba(184, 134, 11, 0.12);
  border-color: rgba(184, 134, 11, 0.24);
}

.navdesk-window-card.is-passable .navdesk-window-card__status {
  color: #24553c;
}

.navdesk-window-card.is-not-passable .navdesk-window-card__status {
  color: #8b2f2f;
}

.navdesk-window-card.is-loading .navdesk-window-card__status {
  color: #8a6110;
}

/* Stronger tide window result */
.navdesk-window-card {
  gap: 10px;
  padding: 20px 22px;
  border-radius: 20px;
}

.navdesk-window-card__title {
  font-size: 1.45rem;
  font-weight: 800;
}

.navdesk-window-card__status {
  font-size: 1.18rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.navdesk-window-card__text {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--color-brand);
  font-weight: 600;
}

.navdesk-window-card__formula {
  font-size: 0.95rem;
  opacity: 0.82;
}

.navdesk-window-card__meta {
  gap: 8px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(16, 36, 58, 0.10);
}

.navdesk-window-card__meta p {
  font-size: 1rem;
  line-height: 1.45;
}

.navdesk-window-card.is-passable {
  background: linear-gradient(180deg, rgba(80, 146, 104, 0.18) 0%, rgba(80, 146, 104, 0.11) 100%);
  border-color: rgba(58, 120, 87, 0.28);
  box-shadow: 0 14px 34px rgba(58, 120, 87, 0.10);
}

.navdesk-window-card.is-not-passable {
  background: linear-gradient(180deg, rgba(170, 77, 77, 0.18) 0%, rgba(170, 77, 77, 0.10) 100%);
  border-color: rgba(154, 67, 67, 0.28);
  box-shadow: 0 14px 34px rgba(154, 67, 67, 0.10);
}

.navdesk-window-card.is-loading {
  background: linear-gradient(180deg, rgba(196, 150, 45, 0.18) 0%, rgba(196, 150, 45, 0.10) 100%);
  border-color: rgba(184, 134, 11, 0.28);
}

@media (max-width: 720px) {
  .navdesk-window-card {
    padding: 18px 18px;
  }

  .navdesk-window-card__title {
    font-size: 1.25rem;
  }

  .navdesk-window-card__status {
    font-size: 1.08rem;
  }

  .navdesk-window-card__text,
  .navdesk-window-card__meta p {
    font-size: 0.96rem;
  }
}

/* Manual result emphasis */
.navdesk-window-card {
  padding: 24px 24px;
  gap: 12px;
  border-radius: 22px;
  border-width: 1px;
  box-shadow: 0 16px 38px rgba(16, 36, 58, 0.08);
}

.navdesk-window-card__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.navdesk-window-card__title {
  font-size: 1.58rem;
  font-weight: 800;
  line-height: 1.04;
}

.navdesk-window-card__status {
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.navdesk-window-card__text {
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--color-brand);
  font-weight: 700;
}

.navdesk-window-card__formula {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--color-muted);
  opacity: 0.78;
}

.navdesk-window-card__meta {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 36, 58, 0.10);
}

.navdesk-window-card__meta p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.45;
}

.navdesk-window-card__meta strong {
  display: inline-block;
  min-width: 20ch;
}

.navdesk-window-card.is-idle {
  background: linear-gradient(180deg, rgba(27, 55, 88, 0.08) 0%, rgba(27, 55, 88, 0.05) 100%);
  border-color: rgba(27, 55, 88, 0.16);
}

.navdesk-window-card.is-passable {
  background: linear-gradient(180deg, rgba(75, 140, 98, 0.20) 0%, rgba(75, 140, 98, 0.11) 100%);
  border-color: rgba(58, 120, 87, 0.32);
  box-shadow: 0 18px 42px rgba(58, 120, 87, 0.12);
}

.navdesk-window-card.is-not-passable {
  background: linear-gradient(180deg, rgba(170, 77, 77, 0.20) 0%, rgba(170, 77, 77, 0.11) 100%);
  border-color: rgba(154, 67, 67, 0.32);
  box-shadow: 0 18px 42px rgba(154, 67, 67, 0.12);
}

.navdesk-window-card.is-loading {
  background: linear-gradient(180deg, rgba(196, 150, 45, 0.20) 0%, rgba(196, 150, 45, 0.11) 100%);
  border-color: rgba(184, 134, 11, 0.32);
}

.navdesk-window-card.is-passable .navdesk-window-card__status {
  color: #214d38;
}

.navdesk-window-card.is-not-passable .navdesk-window-card__status {
  color: #8a2f2f;
}

.navdesk-window-card.is-loading .navdesk-window-card__status {
  color: #8a6110;
}

@media (max-width: 720px) {
  .navdesk-window-card {
    padding: 18px 18px;
    gap: 10px;
  }

  .navdesk-window-card__title {
    font-size: 1.3rem;
  }

  .navdesk-window-card__status {
    font-size: 1.1rem;
  }

  .navdesk-window-card__text,
  .navdesk-window-card__meta p {
    font-size: 0.96rem;
  }

  .navdesk-window-card__meta strong {
    min-width: 0;
  }
}


/* === Clean revision package overrides === */
.navdesk-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.navdesk-hero__description {
  margin: 4px 0 0;
  max-width: 58ch;
}

.navdesk-hero__side {
  display: grid;
  gap: 14px;
  justify-items: stretch;
}

.navdesk-time-stack {
  position: relative;
  display: grid;
  gap: 10px;
}

.navdesk-time-card {
  position: relative;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(16,36,58,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(240,244,248,0.92) 100%);
  box-shadow: 0 12px 28px rgba(16,36,58,0.08);
}

.navdesk-time-card--utc {
  margin-left: 22px;
  background: linear-gradient(180deg, rgba(245,247,250,0.98) 0%, rgba(230,236,242,0.94) 100%);
}

.navdesk-time-card__label {
  margin: 0 0 6px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.navdesk-time-card__value {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-brand);
}

.navdesk-hero__actions {
  display: grid;
  gap: 10px;
}

.navdesk-hero__actions .btn {
  width: 100%;
  justify-content: center;
}

.navdesk-tides__time-note {
  margin: -2px 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--color-muted);
}

/* Strong final emphasis for passage-window result */
.navdesk-window-card {
  padding: 24px 24px !important;
  gap: 12px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(16,36,58,0.16) !important;
  box-shadow: 0 16px 36px rgba(16,36,58,0.10) !important;
}

.navdesk-window-card__title {
  font-size: 1.56rem !important;
  font-weight: 800 !important;
  line-height: 1.03 !important;
}

.navdesk-window-card__status {
  font-size: 1.28rem !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.015em !important;
}

.navdesk-window-card__text {
  font-size: 1.08rem !important;
  line-height: 1.55 !important;
  color: var(--color-brand) !important;
  font-weight: 700 !important;
}

.navdesk-window-card__formula {
  font-size: 0.94rem !important;
  line-height: 1.45 !important;
  color: var(--color-muted) !important;
  opacity: 0.8 !important;
}

.navdesk-window-card__meta {
  display: grid !important;
  gap: 10px !important;
  margin-top: 6px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(16,36,58,0.10) !important;
}

.navdesk-window-card__meta p {
  margin: 0 !important;
  font-size: 1.03rem !important;
  line-height: 1.45 !important;
}

.navdesk-window-card__meta strong {
  display: inline-block;
  min-width: 20ch;
}

.navdesk-window-card.is-idle {
  background: linear-gradient(180deg, rgba(27,55,88,0.09) 0%, rgba(27,55,88,0.05) 100%) !important;
  border-color: rgba(27,55,88,0.18) !important;
}

.navdesk-window-card.is-passable {
  background: linear-gradient(180deg, rgba(75,140,98,0.24) 0%, rgba(75,140,98,0.12) 100%) !important;
  border-color: rgba(58,120,87,0.34) !important;
  box-shadow: 0 18px 42px rgba(58,120,87,0.13) !important;
}

.navdesk-window-card.is-not-passable {
  background: linear-gradient(180deg, rgba(170,77,77,0.22) 0%, rgba(170,77,77,0.11) 100%) !important;
  border-color: rgba(154,67,67,0.34) !important;
  box-shadow: 0 18px 42px rgba(154,67,67,0.13) !important;
}

.navdesk-window-card.is-loading {
  background: linear-gradient(180deg, rgba(196,150,45,0.22) 0%, rgba(196,150,45,0.11) 100%) !important;
  border-color: rgba(184,134,11,0.34) !important;
}

.navdesk-window-card.is-passable .navdesk-window-card__status { color: #214d38 !important; }
.navdesk-window-card.is-not-passable .navdesk-window-card__status { color: #8a2f2f !important; }
.navdesk-window-card.is-loading .navdesk-window-card__status { color: #8a6110 !important; }

@media (max-width: 960px) {
  .navdesk-hero__grid { grid-template-columns: 1fr; }
  .navdesk-time-card--utc { margin-left: 0; }
}

@media (max-width: 720px) {
  .navdesk-window-card { padding: 18px 18px !important; gap: 10px !important; }
  .navdesk-window-card__title { font-size: 1.28rem !important; }
  .navdesk-window-card__status { font-size: 1.08rem !important; }
  .navdesk-window-card__text,
  .navdesk-window-card__meta p { font-size: 0.96rem !important; }
  .navdesk-window-card__meta strong { min-width: 0; }
}

/* === Hero tidy pass 20260422 === */
.navdesk-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 20px;
  align-items: stretch;
}

.navdesk-hero__copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.navdesk-hero__heading {
  gap: 10px;
}

.navdesk-hero__heading h1 {
  margin: 0;
}

.navdesk-hero__heading p {
  margin: 0;
  max-width: 64ch;
}

.navdesk-hero__description {
  margin-top: 2px;
}

.navdesk-hero__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
}

.navdesk-hero__actions .btn {
  width: auto;
  min-width: 220px;
  justify-content: center;
}

.navdesk-hero__side {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 12px;
}

.navdesk-time-stack {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 220px;
}

.navdesk-time-card,
.navdesk-time-card--utc {
  margin-left: 0;
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(16, 36, 58, 0.06);
}

.navdesk-time-card__label {
  margin: 0 0 4px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.navdesk-time-card__value {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1;
}

@media (max-width: 920px) {
  .navdesk-hero__grid {
    grid-template-columns: 1fr;
  }

  .navdesk-hero__side {
    justify-items: start;
  }

  .navdesk-time-stack {
    max-width: 240px;
  }

  .navdesk-hero__actions {
    margin-top: 14px;
  }
}

@media (max-width: 640px) {
  .navdesk-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .navdesk-hero__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .navdesk-time-stack {
    max-width: 100%;
  }
}

/* tighten time cards */
.navdesk-hero__grid {
  grid-template-columns: minmax(0, 1fr) 168px;
}

.navdesk-time-stack {
  max-width: 168px;
  justify-self: end;
}

.navdesk-time-card,
.navdesk-time-card--utc {
  max-width: 168px;
  padding: 10px 12px;
}

.navdesk-time-card__value {
  font-size: 1.42rem;
}

@media (max-width: 920px) {
  .navdesk-hero__grid {
    grid-template-columns: 1fr;
  }

  .navdesk-time-stack,
  .navdesk-time-card,
  .navdesk-time-card--utc {
    max-width: 188px;
  }
}

/* emphasize main safety-window message */
.navdesk-window-card__text {
  font-size: 1.16rem;
  line-height: 1.62;
  font-weight: 800;
  color: var(--color-brand);
}

@media (max-width: 720px) {
  .navdesk-window-card__text {
    font-size: 1.02rem;
    line-height: 1.56;
  }
}

/* === clock cards alignment fix 20260422 === */
.navdesk-hero__side {
  align-self: stretch;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.navdesk-time-stack {
  width: 176px;
  max-width: 176px;
  margin: 12px 12px 12px 0;
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: stretch;
}

.navdesk-time-card,
.navdesk-time-card--utc {
  width: 176px;
  max-width: 176px;
  min-height: 92px;
  padding: 14px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.navdesk-time-card__label {
  margin: 0 0 8px;
  width: 100%;
  text-align: center;
}

.navdesk-time-card__value {
  margin: 0;
  width: 100%;
  text-align: center;
  line-height: 1;
}

@media (max-width: 920px) {
  .navdesk-hero__side {
    justify-content: flex-start;
  }

  .navdesk-time-stack {
    margin: 12px 0 0 0;
  }
}

/* === clock cards desktop/mobile final layout === */
.navdesk-time-card__value {
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 800;
}

@media (max-width: 920px) {
  .navdesk-time-stack {
    width: 100%;
    max-width: none;
    margin: 12px 0 0 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    justify-self: stretch;
  }

  .navdesk-time-card,
  .navdesk-time-card--utc {
    width: 100%;
    max-width: none;
    min-height: 96px;
  }
}

@media (max-width: 640px) {
  .navdesk-time-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: none;
  }

  .navdesk-time-card,
  .navdesk-time-card--utc {
    width: 100%;
    max-width: none;
    min-height: 92px;
    padding: 14px 12px;
  }

  .navdesk-time-card__label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .navdesk-time-card__value {
    font-size: 1.72rem;
  }
}

/* === hero text full-width tidy === */
.navdesk-hero__grid {
  grid-template-columns: minmax(0, 1fr) 176px;
  column-gap: 24px;
}

.navdesk-hero__copy {
  min-width: 0;
  width: 100%;
}

.navdesk-hero__heading {
  width: 100%;
  max-width: none;
}

.navdesk-hero__heading p,
.navdesk-hero__description {
  max-width: none;
  width: 100%;
}

@media (max-width: 920px) {
  .navdesk-hero__grid {
    grid-template-columns: 1fr;
  }
}

/* === UKV spelling module === */
.navdesk-ukv {
  display: grid;
  gap: 18px;
}

.navdesk-ukv-module {
  display: grid;
  gap: 14px;
  padding: 18px 18px;
  border-radius: 20px;
  background: rgba(27, 55, 88, 0.05);
  border: 1px solid rgba(27, 55, 88, 0.10);
}

.navdesk-ukv-module__heading {
  gap: 6px;
}

.navdesk-ukv-module__heading h3,
.navdesk-ukv-module__heading p {
  margin: 0;
}

.navdesk-ukv-spelling {
  display: grid;
  gap: 14px;
}

.navdesk-ukv-spelling__result {
  min-height: 64px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--color-line);
  color: var(--color-brand);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 600;
  white-space: pre-wrap;
}

.navdesk-ukv-spelling__result:empty::before {
  content: "—";
  color: var(--color-muted);
  font-weight: 500;
}

@media (max-width: 720px) {
  .navdesk-ukv-module {
    padding: 16px 16px;
  }

  .navdesk-ukv-spelling__result {
    font-size: 0.96rem;
  }
}

/* === UKV communications module === */
.navdesk-ukv-comms {
  display: grid;
  gap: 18px;
}

.navdesk-ukv-vessel,
.navdesk-ukv-order,
.navdesk-ukv-scenarios {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(27, 55, 88, 0.10);
}

.navdesk-ukv-subheading {
  gap: 6px;
}

.navdesk-ukv-subheading h4,
.navdesk-ukv-subheading p {
  margin: 0;
}

.navdesk-ukv-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.navdesk-ukv-spellline {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.45;
  font-style: italic;
}

.navdesk-ukv-order-list {
  display: grid;
  gap: 10px;
}

.navdesk-ukv-order-item {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(27, 55, 88, 0.04);
  line-height: 1.45;
}

.navdesk-ukv-order-item strong {
  margin-right: 8px;
  color: var(--color-brand);
}

.navdesk-ukv-scenarios {
  gap: 10px;
}

.navdesk-ukv-scenario {
  display: grid;
  gap: 0;
}

.navdesk-ukv-scenario__toggle {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(27, 55, 88, 0.10);
  border-radius: 16px;
  background: rgba(27, 55, 88, 0.04);
  color: var(--color-brand);
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.navdesk-ukv-scenario__body {
  padding: 12px 14px 0;
  color: var(--color-muted);
}

@media (max-width: 720px) {
  .navdesk-ukv-vessel,
  .navdesk-ukv-order,
  .navdesk-ukv-scenarios {
    padding: 16px;
  }

  .navdesk-ukv-form-grid {
    grid-template-columns: 1fr;
  }
}

/* === UKV marina templates === */
.navdesk-ukv-template-list {
  display: grid;
  gap: 14px;
}

.navdesk-ukv-template-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(27, 55, 88, 0.04);
  border: 1px solid rgba(27, 55, 88, 0.10);
}

.navdesk-ukv-template-card__eyebrow {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.navdesk-ukv-template-card h5 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.2;
  color: var(--color-brand);
}

.navdesk-ukv-template-card__intro {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.45;
}

.navdesk-ukv-template-card__output {
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--color-line);
  color: var(--color-brand);
  line-height: 1.6;
  white-space: pre-wrap;
}

.navdesk-ukv-template-card__output:empty::before {
  content: "—";
  color: var(--color-muted);
}

/* === UKV smart pick dropdowns === */
.navdesk-smart-pick {
  position: relative;
}

.navdesk-smart-pick__inputwrap {
  position: relative;
}

.navdesk-smart-pick__inputwrap input {
  padding-right: 52px;
}

.navdesk-smart-pick__toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(27, 55, 88, 0.14);
  background: rgba(27, 55, 88, 0.04);
  color: var(--color-brand);
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.navdesk-smart-pick__menu {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 240px;
  overflow: auto;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(27, 55, 88, 0.14);
  background: #fff;
  box-shadow: 0 14px 28px rgba(14, 32, 53, 0.10);
}

.navdesk-smart-pick__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  color: var(--color-brand);
  font: inherit;
  line-height: 1.35;
}

.navdesk-smart-pick__item:hover,
.navdesk-smart-pick__item:focus {
  background: rgba(27, 55, 88, 0.06);
  outline: none;
}

/* === UKV smart pick polish 20260423 === */
.navdesk-smart-pick__inputwrap input {
  padding-right: 56px;
}

.navdesk-smart-pick__toggle {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(27, 55, 88, 0.12);
  background: #f7f8f6;
  color: var(--color-brand);
  box-shadow: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.navdesk-smart-pick__toggle:hover,
.navdesk-smart-pick__toggle:focus {
  background: #eef2ee;
  border-color: rgba(27, 55, 88, 0.22);
  outline: none;
}

.navdesk-smart-pick__menu {
  top: calc(100% + 8px);
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(27, 55, 88, 0.10);
  background: #fbfbf8;
  box-shadow: 0 18px 34px rgba(14, 32, 53, 0.10);
  max-height: 260px;
}

.navdesk-smart-pick__item {
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 0.96rem;
  line-height: 1.38;
}

.navdesk-smart-pick__item + .navdesk-smart-pick__item {
  margin-top: 2px;
}

.navdesk-smart-pick__item:hover,
.navdesk-smart-pick__item:focus {
  background: rgba(27, 55, 88, 0.055);
}

.navdesk-calc__field .navdesk-smart-pick {
  margin-top: 4px;
}

.navdesk-calc__field--full .navdesk-smart-pick__menu {
  left: 0;
  right: 0;
}

@media (max-width: 768px) {
  .navdesk-smart-pick__toggle {
    width: 28px;
    height: 28px;
    right: 8px;
  }

  .navdesk-smart-pick__inputwrap input {
    padding-right: 50px;
  }

  .navdesk-smart-pick__item {
    font-size: 0.94rem;
    padding: 10px 11px;
  }
}

/* === UKV smart pick refined controls 20260423 === */
.navdesk-smart-pick__toggle {
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(16, 36, 58, 0.16);
  background: linear-gradient(180deg, #f8f8f4 0%, #eef1eb 100%);
  color: transparent;
  position: absolute;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.navdesk-smart-pick__toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.8px solid rgba(16, 36, 58, 0.82);
  border-bottom: 1.8px solid rgba(16, 36, 58, 0.82);
  transform: translate(-50%, -62%) rotate(45deg);
}

.navdesk-smart-pick__toggle:hover,
.navdesk-smart-pick__toggle:focus {
  background: linear-gradient(180deg, #f2f4ef 0%, #e7ece4 100%);
  border-color: rgba(16, 36, 58, 0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 0 0 2px rgba(16, 36, 58, 0.03);
}

.navdesk-smart-pick__inputwrap input {
  padding-right: 58px;
}

.navdesk-smart-pick__menu {
  top: calc(100% + 7px);
  padding: 7px;
  border-radius: 12px;
  border: 1px solid rgba(16, 36, 58, 0.11);
  background: #fcfcf9;
  box-shadow: 0 12px 26px rgba(16, 36, 58, 0.08);
}

.navdesk-smart-pick__item {
  padding: 9px 11px;
  border-radius: 9px;
  font-size: 0.94rem;
  line-height: 1.32;
}

.navdesk-smart-pick__item:hover,
.navdesk-smart-pick__item:focus {
  background: rgba(16, 36, 58, 0.05);
}

@media (max-width: 768px) {
  .navdesk-smart-pick__toggle {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .navdesk-smart-pick__inputwrap input {
    padding-right: 54px;
  }
}

/* === UKV profile collapse/save 20260423 === */
.navdesk-ukv-vessel.is-collapsed .navdesk-ukv-subheading,
.navdesk-ukv-vessel.is-collapsed .navdesk-ukv-form-grid,
.navdesk-ukv-vessel.is-collapsed .navdesk-calc__actions,
.navdesk-ukv-vessel.is-collapsed #ukvProfileStatus {
  display: none;
}

.navdesk-ukv-profile-summary {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(27, 55, 88, 0.04);
  border: 1px solid rgba(27, 55, 88, 0.10);
}

.navdesk-ukv-profile-summary__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.navdesk-ukv-profile-summary__line {
  margin: 0;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.35;
}

.navdesk-ukv-profile-summary__spell {
  display: grid;
  gap: 4px;
}

.navdesk-ukv-profile-summary__spell p {
  margin: 0;
}

@media (max-width: 720px) {
  .navdesk-ukv-profile-summary__top {
    flex-direction: column;
    align-items: stretch;
  }
}

/* === Nav Desk print engine 20260423 === */
.navdesk-print-root {
  display: none;
}

.navdesk-print-sheet {
  background: #ffffff;
  color: #10243a;
  font-family: "Inter", system-ui, sans-serif;
}

.navdesk-print-sheet__page {
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  padding: 14mm 13mm 12mm;
  box-sizing: border-box;
  background: #ffffff;
}

.navdesk-print-sheet__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(16, 36, 58, 0.14);
  margin-bottom: 12px;
}

.navdesk-print-sheet__brand {
  display: grid;
  gap: 4px;
}

.navdesk-print-sheet__eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(16, 36, 58, 0.62);
}

.navdesk-print-sheet__title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  color: #10243a;
}

.navdesk-print-sheet__subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(16, 36, 58, 0.78);
  max-width: 120mm;
}

.navdesk-print-sheet__motto {
  margin: 0;
  align-self: flex-end;
  text-align: right;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(16, 36, 58, 0.86);
  font-style: italic;
  white-space: nowrap;
}

.navdesk-print-sheet__body {
  display: grid;
  gap: 10px;
}

.navdesk-print-block {
  border: 1px solid rgba(16, 36, 58, 0.12);
  border-radius: 10px;
  padding: 10px 11px;
  break-inside: avoid;
}

.navdesk-print-block__title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: #10243a;
}

.navdesk-print-block__text,
.navdesk-print-block p,
.navdesk-print-block li {
  font-size: 12px;
  line-height: 1.42;
  color: #10243a;
}

.navdesk-print-block p {
  margin: 0 0 4px;
}

.navdesk-print-block ul {
  margin: 0;
  padding-left: 18px;
}

.navdesk-print-sheet__footer {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(16, 36, 58, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  color: rgba(16, 36, 58, 0.68);
}

@page {
  size: A4 portrait;
  margin: 0;
}

@media print {
  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  body * {
    visibility: hidden !important;
  }

  #navdeskPrintRoot,
  #navdeskPrintRoot * {
    visibility: visible !important;
  }

  #navdeskPrintRoot {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  .navdesk-print-sheet {
    display: block !important;
  }

  .navdesk-print-sheet__page {
    margin: 0 !important;
    box-shadow: none !important;
  }
}

/* === Nav Desk print layout fix 20260423 === */
.navdesk-print-sheet {
  display: block;
  margin: 0;
  padding: 0;
  background: #fff;
}

.navdesk-print-sheet__page {
  width: 210mm;
  min-height: auto;
  margin: 0 auto;
  padding: 10mm 10mm 9mm;
  box-sizing: border-box;
  background: #fff;
  display: block;
  overflow: visible;
}

.navdesk-print-sheet__header {
  display: block;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.navdesk-print-sheet__brand {
  display: block;
}

.navdesk-print-sheet__motto {
  display: block;
  margin-top: 6px;
  text-align: left;
  white-space: normal;
}

.navdesk-print-sheet__body {
  display: block;
}

.navdesk-print-sheet__body > * + * {
  margin-top: 8px;
}

.navdesk-print-sheet__footer {
  margin-top: 10px;
  padding-top: 6px;
  display: block;
}

.navdesk-print-sheet__footer span {
  display: inline-block;
  margin-right: 12px;
}

@media print {
  html,
  body {
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  #navdeskPrintRoot {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 210mm !important;
    min-height: auto !important;
    position: static !important;
    overflow: visible !important;
    background: #fff !important;
  }

  .navdesk-print-sheet {
    margin: 0 !important;
    padding: 0 !important;
    break-inside: auto;
    page-break-inside: auto;
  }

  .navdesk-print-sheet__page {
    width: 210mm !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 10mm 10mm 9mm !important;
    page-break-after: auto;
    break-after: auto;
  }
}


/* === UKV print sheet action 20260423 === */
.navdesk-ukv-module__actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.navdesk-ukv-print-btn {
  min-height: 44px;
}

@media (max-width: 720px) {
  .navdesk-ukv-module__actions {
    margin-top: 6px;
  }

  .navdesk-ukv-print-btn {
    width: 100%;
  }
}

/* === Route inline search 20260424 === */
.navdesk-route-inline-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(180px, 1fr);
  gap: 10px;
  align-items: center;
  margin: 10px 0 14px;
}

.navdesk-route-inline-search__input {
  width: 100%;
}

.navdesk-route-inline-search__result {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(16, 36, 58, 0.10);
  border-radius: 12px;
  background: rgba(16, 36, 58, 0.04);
  font-size: 13px;
  line-height: 1.35;
  color: var(--color-text);
}

.navdesk-route-inline-search__result.is-error {
  color: #8b3a2e;
}

.navdesk-route-inline-search__result.is-ok {
  color: var(--color-brand);
  font-weight: 600;
}

@media (max-width: 860px) {
  .navdesk-route-inline-search {
    grid-template-columns: 1fr;
  }
}

/* === Route autocomplete 20260424 === */
.navdesk-route-inline-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(210px, 1fr);
  gap: 10px;
  align-items: start;
  margin: 10px 0 14px;
}

.navdesk-route-inline-search__searchbox {
  position: relative;
}

.navdesk-route-inline-search__input {
  width: 100%;
}

.navdesk-route-inline-search__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  border: 1px solid rgba(16, 36, 58, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 36, 58, 0.10);
  overflow: hidden;
}

.navdesk-route-inline-search__option {
  width: 100%;
  border: 0;
  background: #fff;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid rgba(16, 36, 58, 0.08);
}

.navdesk-route-inline-search__option:last-child {
  border-bottom: 0;
}

.navdesk-route-inline-search__option:hover,
.navdesk-route-inline-search__option.is-active {
  background: rgba(16, 36, 58, 0.05);
}

.navdesk-route-inline-search__option-name {
  display: block;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 2px;
}

.navdesk-route-inline-search__option-meta {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: var(--color-text);
}

.navdesk-route-inline-search__result {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(16, 36, 58, 0.10);
  border-radius: 12px;
  background: rgba(16, 36, 58, 0.04);
  font-size: 13px;
  line-height: 1.35;
  color: var(--color-text);
}

.navdesk-route-inline-search__result.is-error {
  color: #8b3a2e;
}

.navdesk-route-inline-search__result.is-ok {
  color: var(--color-brand);
  font-weight: 600;
}

@media (max-width: 860px) {
  .navdesk-route-inline-search {
    grid-template-columns: 1fr;
  }
}

/* === Route inline search polish 20260424 === */
.navdesk-route-inline-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(240px, 1fr);
  gap: 10px;
  align-items: start;
  margin: 10px 0 14px;
}

.navdesk-route-inline-search__searchbox {
  position: relative;
}

.navdesk-route-inline-search__input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(16, 36, 58, 0.14);
  background: #fff;
}

.navdesk-route-inline-search__btn {
  min-height: 46px;
  padding-inline: 18px;
  border-radius: 14px;
}

.navdesk-route-inline-search__result {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(16, 36, 58, 0.10);
  border-radius: 14px;
  background: rgba(16, 36, 58, 0.04);
  font-size: 13px;
  line-height: 1.35;
  color: var(--color-text);
}

.navdesk-route-inline-search__result.is-ok {
  color: var(--color-brand);
  font-weight: 600;
}

.navdesk-route-inline-search__result.is-error {
  color: #8b3a2e;
}

.navdesk-route-inline-search__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  border: 1px solid rgba(16, 36, 58, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(16, 36, 58, 0.12);
  overflow: hidden;
}

.navdesk-route-inline-search__option {
  width: 100%;
  border: 0;
  background: #fff;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid rgba(16, 36, 58, 0.08);
}

.navdesk-route-inline-search__option:last-child {
  border-bottom: 0;
}

.navdesk-route-inline-search__option:hover,
.navdesk-route-inline-search__option.is-active {
  background: rgba(16, 36, 58, 0.05);
}

.navdesk-route-inline-search__option-name {
  display: block;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 2px;
}

.navdesk-route-inline-search__option-meta {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: var(--color-text);
}

@media (max-width: 860px) {
  .navdesk-route-inline-search {
    grid-template-columns: 1fr;
  }
}

/* === UKV print button polish 20260424-06 === */
.navdesk-ukv-print-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding-inline: 18px;
  font-weight: 800;
  border-width: 2px;
  box-shadow: 0 10px 22px rgba(16, 36, 58, 0.10);
}

.navdesk-ukv-print-btn::before {
  content: "🖨";
  font-size: 1.05em;
  line-height: 1;
}

.navdesk-ukv-print-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(16, 36, 58, 0.14);
}

/* === UKV print button clean icon 20260424-08 === */
.navdesk-ukv-print-btn {
  background: #dff1fb !important;
  color: #10243a !important;
  border-color: rgba(16, 36, 58, 0.22) !important;
  box-shadow: 0 10px 22px rgba(16, 36, 58, 0.10);
}

.navdesk-ukv-print-btn::before {
  content: "" !important;
  width: 18px;
  height: 15px;
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 3px;
  box-sizing: border-box;
  background:
    linear-gradient(currentColor, currentColor) 50% 3px / 8px 2px no-repeat,
    linear-gradient(#fff, #fff) 50% 11px / 10px 6px no-repeat;
}

.navdesk-ukv-print-btn::after {
  content: "";
  width: 10px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
  position: absolute;
  left: 18px;
  top: 9px;
  opacity: 0.95;
}

/* === UKV screen flag spelling 20260424-09 === */
.navdesk-ukv-spellline,
.navdesk-ukv-template-spelling {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
}

.navdesk-ukv-flagchip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 2px 7px 2px 3px;
  border: 1px solid rgba(16, 36, 58, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: #10243a;
  font-size: 0.76rem;
  line-height: 1.1;
  font-weight: 700;
}

.navdesk-ukv-flagchip__flag {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  border: 1px solid rgba(16, 36, 58, 0.28);
  background:
    linear-gradient(135deg, rgba(199, 161, 74, 0.95) 0 50%, #fff 50% 100%);
  font-size: 0.68rem;
  font-weight: 900;
  color: #10243a;
}

.navdesk-ukv-flagchip--digit .navdesk-ukv-flagchip__flag {
  background:
    linear-gradient(90deg, #10243a 0 33%, #fff 33% 66%, rgba(199, 161, 74, 0.95) 66% 100%);
  color: #10243a;
}

.navdesk-ukv-flagchip__word {
  white-space: nowrap;
}

.navdesk-ukv-flagspelling__sep {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 2px;
  color: rgba(16, 36, 58, 0.48);
  font-weight: 800;
}

.navdesk-ukv-flagspelling__empty {
  color: rgba(16, 36, 58, 0.48);
}

/* === UKV radio spelling flags only 20260424-10 === */
.navdesk-ukv-spelling__result {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.navdesk-ukv-spelling__result .navdesk-ukv-flagchip {
  min-height: 30px;
  padding: 3px 9px 3px 4px;
  border-radius: 9px;
  background: #fff;
  border-color: rgba(16, 36, 58, 0.22);
  box-shadow: 0 4px 10px rgba(16, 36, 58, 0.05);
  font-size: 0.86rem;
}

.navdesk-ukv-spelling__result .navdesk-ukv-flagchip__flag {
  width: 24px;
  height: 22px;
  border-radius: 4px 4px 3px 3px;
  font-size: 0.76rem;
}

.navdesk-ukv-spelling__result .navdesk-ukv-flagchip__word {
  font-weight: 800;
}

.navdesk-ukv-spelling__result .navdesk-ukv-flagspelling__sep {
  min-height: 30px;
}

/* === UKV readable signal flag patterns 20260424-11 === */
.navdesk-ukv-spelling__result .navdesk-ukv-flagchip {
  gap: 8px;
  padding: 4px 10px 4px 5px;
}

.navdesk-ukv-spelling__result .navdesk-ukv-flagchip__flag {
  width: 30px;
  height: 24px;
  border: 2px solid #10243a;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
  color: #10243a;
  text-shadow:
    0 1px 0 rgba(255,255,255,.9),
    1px 0 0 rgba(255,255,255,.8),
    -1px 0 0 rgba(255,255,255,.8);
}

/* Letters — simplified International Code of Signals inspired patterns */
.navdesk-ukv-flagchip[data-flag="A"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#fff 0 50%,#1f5fa8 50% 100%); }
.navdesk-ukv-flagchip[data-flag="B"] .navdesk-ukv-flagchip__flag { background: #c62828; color:#fff; text-shadow:0 1px 1px #000; }
.navdesk-ukv-flagchip[data-flag="C"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#1f5fa8 0 33%,#fff 33% 66%,#c62828 66% 100%); }
.navdesk-ukv-flagchip[data-flag="D"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#f2c230 0 33%,#1f5fa8 33% 66%,#f2c230 66% 100%); }
.navdesk-ukv-flagchip[data-flag="E"] .navdesk-ukv-flagchip__flag { background: linear-gradient(180deg,#1f5fa8 0 50%,#c62828 50% 100%); color:#fff; text-shadow:0 1px 1px #000; }
.navdesk-ukv-flagchip[data-flag="F"] .navdesk-ukv-flagchip__flag { background: linear-gradient(135deg,#fff 0 50%,#c62828 50% 100%); }
.navdesk-ukv-flagchip[data-flag="G"] .navdesk-ukv-flagchip__flag { background: repeating-linear-gradient(90deg,#f2c230 0 6px,#1f5fa8 6px 12px); }
.navdesk-ukv-flagchip[data-flag="H"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#fff 0 50%,#c62828 50% 100%); }
.navdesk-ukv-flagchip[data-flag="I"] .navdesk-ukv-flagchip__flag { background: #f2c230; }
.navdesk-ukv-flagchip[data-flag="J"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#1f5fa8 0 33%,#fff 33% 66%,#1f5fa8 66% 100%); }
.navdesk-ukv-flagchip[data-flag="K"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#f2c230 0 50%,#1f5fa8 50% 100%); }
.navdesk-ukv-flagchip[data-flag="L"] .navdesk-ukv-flagchip__flag { background: repeating-linear-gradient(45deg,#f2c230 0 6px,#000 6px 12px); color:#fff; text-shadow:0 1px 1px #000; }
.navdesk-ukv-flagchip[data-flag="M"] .navdesk-ukv-flagchip__flag { background: #1f5fa8; color:#fff; text-shadow:0 1px 1px #000; }
.navdesk-ukv-flagchip[data-flag="N"] .navdesk-ukv-flagchip__flag { background: repeating-conic-gradient(#1f5fa8 0 25%,#fff 0 50%) 0 0 / 12px 12px; }
.navdesk-ukv-flagchip[data-flag="O"] .navdesk-ukv-flagchip__flag { background: linear-gradient(135deg,#f2c230 0 50%,#c62828 50% 100%); }
.navdesk-ukv-flagchip[data-flag="P"] .navdesk-ukv-flagchip__flag { background: #1f5fa8; color:#fff; text-shadow:0 1px 1px #000; box-shadow: inset 0 0 0 6px #fff; }
.navdesk-ukv-flagchip[data-flag="Q"] .navdesk-ukv-flagchip__flag { background: #f2c230; }
.navdesk-ukv-flagchip[data-flag="R"] .navdesk-ukv-flagchip__flag { background: linear-gradient(180deg,#c62828 0 50%,#f2c230 50% 100%); }
.navdesk-ukv-flagchip[data-flag="S"] .navdesk-ukv-flagchip__flag { background: #fff; box-shadow: inset 0 0 0 7px #1f5fa8; }
.navdesk-ukv-flagchip[data-flag="T"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#c62828 0 33%,#fff 33% 66%,#1f5fa8 66% 100%); }
.navdesk-ukv-flagchip[data-flag="U"] .navdesk-ukv-flagchip__flag { background: repeating-conic-gradient(#c62828 0 25%,#fff 0 50%) 0 0 / 12px 12px; }
.navdesk-ukv-flagchip[data-flag="V"] .navdesk-ukv-flagchip__flag { background: linear-gradient(135deg,#fff 0 25%,#c62828 25% 50%,#fff 50% 75%,#c62828 75% 100%); }
.navdesk-ukv-flagchip[data-flag="W"] .navdesk-ukv-flagchip__flag { background: linear-gradient(135deg,#1f5fa8 0 33%,#fff 33% 66%,#c62828 66% 100%); }
.navdesk-ukv-flagchip[data-flag="X"] .navdesk-ukv-flagchip__flag { background: linear-gradient(135deg,#fff 0 35%,#1f5fa8 35% 65%,#fff 65% 100%); }
.navdesk-ukv-flagchip[data-flag="Y"] .navdesk-ukv-flagchip__flag { background: repeating-linear-gradient(135deg,#f2c230 0 6px,#c62828 6px 12px); }
.navdesk-ukv-flagchip[data-flag="Z"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#000 0 25%,#f2c230 25% 50%,#1f5fa8 50% 75%,#c62828 75% 100%); color:#fff; text-shadow:0 1px 1px #000; }

/* Digits — readable numeric pennant style */
.navdesk-ukv-flagchip--digit .navdesk-ukv-flagchip__flag {
  background: #fff;
  color: #10243a;
}

.navdesk-ukv-flagchip[data-flag="0"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#f2c230 0 25%,#c62828 25% 50%,#f2c230 50% 75%,#c62828 75% 100%); }
.navdesk-ukv-flagchip[data-flag="1"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#fff 0 50%,#c62828 50% 100%); }
.navdesk-ukv-flagchip[data-flag="2"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#1f5fa8 0 50%,#fff 50% 100%); }
.navdesk-ukv-flagchip[data-flag="3"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#c62828 0 33%,#fff 33% 66%,#1f5fa8 66% 100%); }
.navdesk-ukv-flagchip[data-flag="4"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#c62828 0 50%,#fff 50% 100%); }
.navdesk-ukv-flagchip[data-flag="5"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#f2c230 0 50%,#1f5fa8 50% 100%); }
.navdesk-ukv-flagchip[data-flag="6"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#000 0 50%,#fff 50% 100%); color:#fff; text-shadow:0 1px 1px #000; }
.navdesk-ukv-flagchip[data-flag="7"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#f2c230 0 50%,#c62828 50% 100%); }
.navdesk-ukv-flagchip[data-flag="8"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#fff 0 33%,#c62828 33% 66%,#fff 66% 100%); }
.navdesk-ukv-flagchip[data-flag="9"] .navdesk-ukv-flagchip__flag { background: linear-gradient(90deg,#fff 0 33%,#000 33% 66%,#fff 66% 100%); }

/* === UKV signal flags no inner letter 20260424-12 === */
.navdesk-ukv-spelling__result .navdesk-ukv-flagchip__flag {
  font-size: 0 !important;
  text-shadow: none !important;
}

.navdesk-ukv-spelling__result .navdesk-ukv-flagchip__flag::after {
  content: "";
}

/* === Nav Abbrev card 20260424-13 === */
.navdesk-abbrev {
  display: grid;
  gap: 14px;
}

.navdesk-abbrev__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.navdesk-abbrev__tab {
  border: 1px solid rgba(16, 36, 58, 0.16);
  background: rgba(255, 255, 255, 0.74);
  color: #10243a;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 800;
  cursor: pointer;
}

.navdesk-abbrev__tab.is-active {
  background: #10243a;
  color: #fff;
}

.navdesk-abbrev__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.navdesk-abbrev__quick button {
  border: 1px solid rgba(16, 36, 58, 0.14);
  background: #fff;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.navdesk-abbrev__results {
  display: grid;
  gap: 10px;
}

.navdesk-abbrev-card {
  border: 1px solid rgba(16, 36, 58, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  padding: 14px;
}

.navdesk-abbrev-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.navdesk-abbrev-card__code {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
  color: #10243a;
  letter-spacing: 0.04em;
}

.navdesk-abbrev-card__full {
  margin: 0 0 4px;
  font-weight: 800;
  color: #10243a;
}

.navdesk-abbrev-card__ru {
  margin: 0 0 8px;
  color: rgba(16, 36, 58, 0.76);
  font-weight: 700;
}

.navdesk-abbrev-card__def {
  margin: 0;
  line-height: 1.45;
  color: rgba(16, 36, 58, 0.86);
}

.navdesk-abbrev-card__badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navdesk-abbrev-card__badge {
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(199, 161, 74, 0.16);
  color: #10243a;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.navdesk-abbrev__empty {
  border: 1px dashed rgba(16, 36, 58, 0.18);
  border-radius: 14px;
  padding: 12px;
  color: rgba(16, 36, 58, 0.64);
  line-height: 1.4;
}

/* === Nav Abbrev hint polish 20260425-01 === */
.navdesk-abbrev-card__hint {
  margin: 8px 0;
  padding: 9px 10px;
  border-left: 3px solid rgba(199, 161, 74, 0.9);
  border-radius: 10px;
  background: rgba(199, 161, 74, 0.10);
  color: #10243a;
  line-height: 1.42;
  font-weight: 700;
}

.navdesk-abbrev-card__hint span {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
  color: rgba(16, 36, 58, 0.62);
  margin-right: 4px;
}

/* === Nav Abbrev quick rows 20260425-02 === */
.navdesk-abbrev__quick {
  display: grid;
  gap: 8px;
}

.navdesk-abbrev__quick-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.navdesk-abbrev__quick-label {
  min-width: 58px;
  color: rgba(16, 36, 58, 0.62);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.navdesk-abbrev__quick-row button {
  min-width: 46px;
  text-align: center;
}

/* === Nav Abbrev quick labels removed 20260425-03 === */
.navdesk-abbrev__quick-label {
  display: none !important;
}

.navdesk-abbrev__quick-row {
  gap: 8px;
}

/* === Nav Desk card spacing polish 20260425-06 === */
.navdesk-side,
.navdesk-main {
  display: grid;
  gap: 24px;
  align-content: start;
}

.navdesk-card {
  margin: 0;
}

@media (max-width: 860px) {
  .navdesk-side,
  .navdesk-main {
    gap: 18px;
  }
}

/* === Text readability polish 20260425-07 === */
.section-heading p {
  max-width: 52ch;
}

.navdesk-abbrev-card__def,
.navdesk-abbrev-card__hint {
  max-width: 44ch;
  line-height: 1.45;
}

/* === Nav Abbrev result readability 20260425-17 === */
.navdesk-abbrev-card__hint {
  font-size: 0.95rem;
  font-weight: 800;
}

.navdesk-abbrev-card__def {
  font-size: 0.86rem;
  color: rgba(16, 36, 58, 0.68);
}

.navdesk-abbrev-card__full {
  margin-top: 2px;
}

.navdesk-abbrev-card__ru {
  margin-bottom: 6px;
}

/* === Nav Abbrev quick button grid 20260425-19 === */
.navdesk-abbrev__quick {
  display: grid;
  gap: 7px;
}

.navdesk-abbrev__quick-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}

.navdesk-abbrev__quick-row button {
  min-width: 0;
  width: 100%;
  padding: 6px 4px;
  font-size: 0.72rem;
  line-height: 1;
  text-align: center;
}

/* === Nav Abbrev field hint 20260425-24 === */
.navdesk-abbrev__field-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  line-height: 1.25;
  color: rgba(16, 36, 58, 0.58);
}

/* === Nav Abbrev tabs segmented control 20260425-26 === */
#navdesk-abbrev-card .navdesk-abbrev__tabs {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
  margin: 14px 0 12px;
  padding: 4px;
  border: 1px solid rgba(16, 36, 58, 0.12);
  border-radius: 18px;
  background: rgba(16, 36, 58, 0.035);
}

#navdesk-abbrev-card [data-abbrev-scope] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: 100%;
  border-radius: 14px;
  padding: 0 10px;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

#navdesk-abbrev-card [data-abbrev-scope].is-active {
  background: var(--color-brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(16, 36, 58, 0.16);
}

#navdesk-abbrev-card .navdesk-card-toggle {
  margin-bottom: 12px;
}

/* === Nav Desk day/night watch mode 20260425-27 === */
.navdesk-theme-card {
  gap: 18px;
}

.navdesk-hero__side {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  justify-items: end;
}

.navdesk-hero__side .navdesk-theme-compact {
  justify-self: end;
}

.navdesk-theme-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  width: auto;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.navdesk-theme-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 0 0 auto;
  width: 78px;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(16, 36, 58, 0.12);
  border-radius: 999px;
  background: rgba(16, 36, 58, 0.055);
  box-shadow: 0 10px 24px rgba(17, 36, 58, 0.10);
}

.navdesk-theme-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  width: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-brand);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.navdesk-theme-switch__btn.is-active {
  background: var(--color-brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(16, 36, 58, 0.16);
}

.navdesk-theme-card__note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(16, 36, 58, 0.64);
}

@media (max-width: 920px) {
  .navdesk-hero__side {
    width: 100%;
    justify-self: stretch;
    justify-items: stretch;
  }

  .navdesk-hero__side .navdesk-time-stack {
    width: 100%;
    max-width: none;
  }

  .navdesk-hero__side .navdesk-theme-compact {
    max-width: none;
  }
}

/* Night watch palette */
body.navdesk-theme-night {
  background:
    radial-gradient(circle at top left, rgba(126, 34, 34, 0.16), transparent 34%),
    linear-gradient(180deg, #071014 0%, #0b1115 48%, #080b0d 100%);
  color: #d8d2c5;
}

body.navdesk-theme-night .site-page,
body.navdesk-theme-night main,
body.navdesk-theme-night .navdesk-page {
  background: transparent;
}

body.navdesk-theme-night .section--paper,
body.navdesk-theme-night .navdesk-card,
body.navdesk-theme-night .navdesk-card-shell,
body.navdesk-theme-night .navdesk-hero,
body.navdesk-theme-night .navdesk-time-card {
  background: rgba(15, 22, 24, 0.88);
  border-color: rgba(198, 63, 48, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

body.navdesk-theme-night .navdesk-theme-compact {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

body.navdesk-theme-night .navdesk-tool-card {
  background:
    linear-gradient(145deg, rgba(16, 27, 34, 0.96), rgba(26, 32, 30, 0.88)),
    #111b22;
  border-color: rgba(224, 231, 235, 0.14);
  color: #f3f5f1;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

body.navdesk-theme-night .navdesk-tool-card__kicker {
  background: rgba(217, 119, 6, 0.18);
  color: #f4d58d;
}

body.navdesk-theme-night .navdesk-tool-card span:last-child {
  color: rgba(229, 235, 238, 0.72);
}

body.navdesk-theme-night .navdesk-learning-card {
  background: rgba(16, 27, 34, 0.88);
  border-color: rgba(224, 231, 235, 0.14);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.30);
}

body.navdesk-theme-night .navdesk-learning-card h3 {
  color: #f3f5f1;
}

body.navdesk-theme-night .navdesk-learning-card p {
  color: rgba(229, 235, 238, 0.72);
}

body.navdesk-theme-night .site-header,
body.navdesk-theme-night .navdesk-header {
  background: rgba(11, 16, 18, 0.92);
  border-color: rgba(198, 63, 48, 0.20);
}

body.navdesk-theme-night h1,
body.navdesk-theme-night h2,
body.navdesk-theme-night h3,
body.navdesk-theme-night h4,
body.navdesk-theme-night .section-heading__eyebrow,
body.navdesk-theme-night .navdesk-card-toggle,
body.navdesk-theme-night .navdesk-card-pin,
body.navdesk-theme-night .navdesk-time-card__value {
  color: #f0dec7;
}

body.navdesk-theme-night p,
body.navdesk-theme-night span,
body.navdesk-theme-night label,
body.navdesk-theme-night .navdesk-theme-card__note {
  color: rgba(226, 215, 198, 0.78);
}

body.navdesk-theme-night .section-heading__eyebrow {
  color: #d68a3a;
}

body.navdesk-theme-night input,
body.navdesk-theme-night select,
body.navdesk-theme-night textarea {
  background: rgba(2, 7, 8, 0.72);
  border-color: rgba(214, 138, 58, 0.26);
  color: #f1dec7;
}

body.navdesk-theme-night input::placeholder,
body.navdesk-theme-night textarea::placeholder {
  color: rgba(226, 215, 198, 0.42);
}

body.navdesk-theme-night .btn,
body.navdesk-theme-night button {
  border-color: rgba(214, 138, 58, 0.26);
}

body.navdesk-theme-night .btn--primary,
body.navdesk-theme-night .navdesk-theme-switch__btn.is-active,
body.navdesk-theme-night .navdesk-abbrev__tabs .is-active,
body.navdesk-theme-night [data-abbrev-scope].is-active {
  background: #7f1d1d;
  color: #ffe7d6;
  box-shadow: 0 10px 22px rgba(127, 29, 29, 0.28);
}

body.navdesk-theme-night .btn--secondary,
body.navdesk-theme-night .navdesk-card-toggle,
body.navdesk-theme-night .navdesk-card-pin,
body.navdesk-theme-night .navdesk-theme-switch,
body.navdesk-theme-night .navdesk-abbrev__quick button,
body.navdesk-theme-night [data-abbrev-example] {
  background: rgba(10, 18, 18, 0.68);
  color: #e6d3bd;
  border-color: rgba(214, 138, 58, 0.24);
}

body.navdesk-theme-night .navdesk-abbrev-card,
body.navdesk-theme-night .navdesk-abbrev__empty,
body.navdesk-theme-night .navdesk-abbrev-card__hint {
  background: rgba(6, 12, 13, 0.68);
  border-color: rgba(83, 120, 76, 0.28);
}

body.navdesk-theme-night .navdesk-abbrev-card__badge {
  background: rgba(83, 120, 76, 0.18);
  color: #a9c48f;
  border-color: rgba(83, 120, 76, 0.26);
}

body.navdesk-theme-night .navdesk-abbrev-card__hint {
  color: #ead4b8;
}

body.navdesk-theme-night .navdesk-abbrev-card__hint span {
  color: #d68a3a;
}

body.navdesk-theme-night .navdesk-route-inline-search__result.is-ok,
body.navdesk-theme-night .navdesk-calc__status.is-ok {
  color: #a9c48f;
}

body.navdesk-theme-night .navdesk-route-inline-search__result.is-error,
body.navdesk-theme-night .navdesk-calc__status.is-error {
  color: #e56f5d;
}

body.navdesk-theme-night a {
  color: #d68a3a;
}

body.navdesk-theme-night img {
  filter: brightness(0.82) contrast(0.96);
}

/* === Nav Desk night polish 20260425-28 === */
body.navdesk-theme-night .site-header,
body.navdesk-theme-night .navdesk-header,
body.navdesk-theme-night header {
  background: rgba(12, 18, 19, 0.94) !important;
  border-color: rgba(214, 138, 58, 0.18) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

body.navdesk-theme-night .site-header img,
body.navdesk-theme-night .navdesk-header img,
body.navdesk-theme-night header img {
  filter: brightness(0.72) contrast(0.9) saturate(0.78);
  opacity: 0.88;
}

body.navdesk-theme-night h1,
body.navdesk-theme-night h2,
body.navdesk-theme-night h3,
body.navdesk-theme-night h4 {
  color: #dbc9ae;
  text-shadow: none;
}

body.navdesk-theme-night p,
body.navdesk-theme-night span,
body.navdesk-theme-night label,
body.navdesk-theme-night small,
body.navdesk-theme-night .navdesk-abbrev__field-hint,
body.navdesk-theme-night .navdesk-abbrev__empty,
body.navdesk-theme-night .navdesk-calc__status,
body.navdesk-theme-night .navdesk-theme-card__note {
  color: rgba(211, 196, 171, 0.72) !important;
}

body.navdesk-theme-night .section-heading__eyebrow {
  color: #b97835 !important;
}

body.navdesk-theme-night .btn--primary,
body.navdesk-theme-night .navdesk-theme-switch__btn.is-active,
body.navdesk-theme-night [data-abbrev-scope].is-active {
  background: linear-gradient(180deg, #8f302a 0%, #6f231f 100%) !important;
  color: #ead8c1 !important;
  border-color: rgba(214, 138, 58, 0.28) !important;
  box-shadow: 0 8px 18px rgba(80, 18, 15, 0.28);
}

body.navdesk-theme-night .btn--primary:hover,
body.navdesk-theme-night .navdesk-theme-switch__btn.is-active:hover {
  background: linear-gradient(180deg, #9a382f 0%, #762720 100%) !important;
}

body.navdesk-theme-night .btn--secondary,
body.navdesk-theme-night .navdesk-card-toggle,
body.navdesk-theme-night .navdesk-card-pin,
body.navdesk-theme-night .navdesk-theme-switch__btn,
body.navdesk-theme-night [data-abbrev-example] {
  background: rgba(12, 19, 19, 0.72) !important;
  color: rgba(219, 201, 174, 0.82) !important;
  border-color: rgba(185, 120, 53, 0.28) !important;
}

body.navdesk-theme-night input,
body.navdesk-theme-night select,
body.navdesk-theme-night textarea {
  background: rgba(5, 10, 10, 0.72) !important;
  color: #dcc8ad !important;
  border-color: rgba(185, 120, 53, 0.32) !important;
}

body.navdesk-theme-night input::placeholder,
body.navdesk-theme-night textarea::placeholder {
  color: rgba(211, 196, 171, 0.50) !important;
}

body.navdesk-theme-night .navdesk-abbrev-card__def,
body.navdesk-theme-night .navdesk-abbrev-card__ru,
body.navdesk-theme-night .navdesk-route-inline-search__result,
body.navdesk-theme-night .navdesk-print-block__text {
  color: rgba(211, 196, 171, 0.70) !important;
}

body.navdesk-theme-night .navdesk-abbrev-card__hint {
  background: rgba(185, 120, 53, 0.08) !important;
  border-color: rgba(185, 120, 53, 0.18) !important;
  color: rgba(226, 211, 187, 0.82) !important;
}

body.navdesk-theme-night .navdesk-time-card {
  background: rgba(9, 15, 16, 0.78) !important;
}

/* === Nav Desk night refine 20260425-29 === */

/* 1. Header / logo: меньше прожектора, больше приборной панели */
body.navdesk-theme-night header,
body.navdesk-theme-night .site-header,
body.navdesk-theme-night .navdesk-header {
  background: linear-gradient(180deg, rgba(13, 20, 21, 0.96), rgba(9, 15, 16, 0.94)) !important;
  border-color: rgba(181, 125, 64, 0.22) !important;
}

body.navdesk-theme-night header img,
body.navdesk-theme-night .site-header img,
body.navdesk-theme-night .navdesk-header img {
  filter: sepia(0.22) saturate(0.72) brightness(0.92) contrast(1.05) !important;
  opacity: 0.82 !important;
}

/* 2. Общий текст: мягче, но читаемо */
body.navdesk-theme-night {
  color: #d6c5aa;
}

body.navdesk-theme-night h1,
body.navdesk-theme-night h2,
body.navdesk-theme-night h3,
body.navdesk-theme-night h4,
body.navdesk-theme-night strong {
  color: #ead6b7 !important;
}

body.navdesk-theme-night p,
body.navdesk-theme-night label,
body.navdesk-theme-night span {
  color: rgba(222, 206, 178, 0.78) !important;
}

body.navdesk-theme-night small,
body.navdesk-theme-night .navdesk-calc__status,
body.navdesk-theme-night .navdesk-abbrev__field-hint,
body.navdesk-theme-night .navdesk-route-inline-search__result,
body.navdesk-theme-night .navdesk-theme-card__note {
  color: rgba(222, 206, 178, 0.66) !important;
}

body.navdesk-theme-night .section-heading__eyebrow {
  color: #c78643 !important;
}

/* 3. Карточки: чуть больше глубины, меньше плоской серости */
body.navdesk-theme-night .section--paper,
body.navdesk-theme-night .navdesk-card,
body.navdesk-theme-night .navdesk-card-shell {
  background: linear-gradient(180deg, rgba(18, 29, 30, 0.94), rgba(11, 19, 20, 0.94)) !important;
  border-color: rgba(181, 125, 64, 0.22) !important;
}

/* 4. Кнопки: красный не аварийный прожектор, а ночной action */
body.navdesk-theme-night .btn--primary,
body.navdesk-theme-night .navdesk-theme-switch__btn.is-active,
body.navdesk-theme-night [data-abbrev-scope].is-active {
  background: linear-gradient(180deg, #8a332c, #67231f) !important;
  color: #f0d9bd !important;
  border-color: rgba(211, 143, 79, 0.35) !important;
  box-shadow: 0 8px 18px rgba(70, 18, 14, 0.24) !important;
}

body.navdesk-theme-night .btn--secondary,
body.navdesk-theme-night .navdesk-card-toggle,
body.navdesk-theme-night .navdesk-card-pin,
body.navdesk-theme-night button:not(.btn--primary) {
  background: rgba(9, 16, 17, 0.72) !important;
  color: rgba(232, 211, 181, 0.84) !important;
  border-color: rgba(181, 125, 64, 0.30) !important;
}

/* 5. Формы и поля */
body.navdesk-theme-night input,
body.navdesk-theme-night select,
body.navdesk-theme-night textarea {
  background: rgba(4, 10, 11, 0.72) !important;
  color: #e6d0b2 !important;
  border-color: rgba(181, 125, 64, 0.34) !important;
}

body.navdesk-theme-night .navdesk-page input,
body.navdesk-theme-night .navdesk-page select,
body.navdesk-theme-night .navdesk-page textarea {
  color-scheme: dark;
  accent-color: #d6a35d;
  caret-color: #f4dfbd;
}

body.navdesk-theme-night .navdesk-page input:hover,
body.navdesk-theme-night .navdesk-page select:hover,
body.navdesk-theme-night .navdesk-page textarea:hover {
  border-color: rgba(214, 155, 82, 0.58) !important;
  background-color: rgba(7, 15, 15, 0.88) !important;
}

body.navdesk-theme-night .navdesk-page input:focus,
body.navdesk-theme-night .navdesk-page select:focus,
body.navdesk-theme-night .navdesk-page textarea:focus {
  border-color: rgba(226, 169, 94, 0.72) !important;
  box-shadow: 0 0 0 3px rgba(214, 138, 58, 0.16) !important;
}

body.navdesk-theme-night .navdesk-calc__field select {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23e6d0b2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px 14px !important;
}

body.navdesk-theme-night .navdesk-page input[type="date"]::-webkit-calendar-picker-indicator,
body.navdesk-theme-night .navdesk-page input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.84;
  filter: invert(87%) sepia(18%) saturate(463%) hue-rotate(344deg) brightness(98%) contrast(91%);
}

body.navdesk-theme-night .navdesk-page input[type="date"]::-webkit-calendar-picker-indicator:hover,
body.navdesk-theme-night .navdesk-page input[type="time"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  filter: invert(91%) sepia(24%) saturate(544%) hue-rotate(340deg) brightness(103%) contrast(94%);
}

body.navdesk-theme-night .navdesk-page input[type="number"]::-webkit-inner-spin-button,
body.navdesk-theme-night .navdesk-page input[type="number"]::-webkit-outer-spin-button {
  cursor: pointer;
  opacity: 0.72;
  filter: invert(86%) sepia(18%) saturate(444%) hue-rotate(344deg) brightness(96%) contrast(90%);
}

body.navdesk-theme-night .navdesk-page input[type="number"]:hover::-webkit-inner-spin-button,
body.navdesk-theme-night .navdesk-page input[type="number"]:focus::-webkit-inner-spin-button,
body.navdesk-theme-night .navdesk-page input[type="number"]:hover::-webkit-outer-spin-button,
body.navdesk-theme-night .navdesk-page input[type="number"]:focus::-webkit-outer-spin-button {
  opacity: 1;
  filter: invert(92%) sepia(22%) saturate(586%) hue-rotate(340deg) brightness(104%) contrast(96%);
}

body.navdesk-theme-night input::placeholder,
body.navdesk-theme-night textarea::placeholder {
  color: rgba(222, 206, 178, 0.46) !important;
}

/* 6. UKV / radio: убрать белые “Word-документы” внутри ночного режима */
body.navdesk-theme-night [class*="ukv"],
body.navdesk-theme-night [class*="radio"],
body.navdesk-theme-night [class*="template"],
body.navdesk-theme-night .navdesk-ukv-profile-summary,
body.navdesk-theme-night .navdesk-ukv-template,
body.navdesk-theme-night .navdesk-ukv-profile,
body.navdesk-theme-night .navdesk-ukv-spellline {
  border-color: rgba(181, 125, 64, 0.20) !important;
}

body.navdesk-theme-night [class*="ukv"] .section--paper,
body.navdesk-theme-night [class*="ukv"] .navdesk-card,
body.navdesk-theme-night [class*="ukv"] .navdesk-card-shell,
body.navdesk-theme-night [class*="ukv"] article,
body.navdesk-theme-night [class*="ukv"] .template,
body.navdesk-theme-night [class*="radio"] article,
body.navdesk-theme-night [class*="template"] {
  background: rgba(8, 15, 16, 0.70) !important;
  color: rgba(226, 209, 181, 0.78) !important;
}

/* Белые внутренние блоки в UKV */
body.navdesk-theme-night .navdesk-card-body [style*="background"],
body.navdesk-theme-night .navdesk-card-body article,
body.navdesk-theme-night .navdesk-card-body .navdesk-ukv-profile-summary,
body.navdesk-theme-night .navdesk-card-body .navdesk-ukv-profile,
body.navdesk-theme-night .navdesk-card-body .navdesk-ukv-template {
  background-color: rgba(8, 15, 16, 0.72) !important;
}

/* 7. Таблицы / подсказки / вторичные области */
body.navdesk-theme-night table,
body.navdesk-theme-night thead,
body.navdesk-theme-night tbody,
body.navdesk-theme-night tr,
body.navdesk-theme-night td,
body.navdesk-theme-night th {
  color: rgba(222, 206, 178, 0.70) !important;
  border-color: rgba(181, 125, 64, 0.16) !important;
}

body.navdesk-theme-night th {
  color: rgba(199, 134, 67, 0.86) !important;
}

/* 8. Инфо-плашки */
body.navdesk-theme-night .navdesk-abbrev-card__hint,
body.navdesk-theme-night .navdesk-window-card,
body.navdesk-theme-night .navdesk-route-summary,
body.navdesk-theme-night .navdesk-tides__summary,
body.navdesk-theme-night .navdesk-tides__events,
body.navdesk-theme-night .navdesk-calc__summary {
  background: rgba(19, 36, 34, 0.56) !important;
  border-color: rgba(82, 124, 88, 0.24) !important;
}

/* 9. Статусы */
body.navdesk-theme-night .is-ok {
  color: #a9c48f !important;
}

body.navdesk-theme-night .is-error {
  color: #d97865 !important;
}

body.navdesk-theme-night .navdesk-suggestions {
  background: rgba(8, 15, 16, 0.96);
  border-color: rgba(181, 125, 64, 0.28);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

body.navdesk-theme-night .navdesk-suggestion {
  color: rgba(232, 215, 186, 0.88);
}

body.navdesk-theme-night .navdesk-suggestion:hover,
body.navdesk-theme-night .navdesk-suggestion:focus,
body.navdesk-theme-night .navdesk-suggestion.is-active {
  background: rgba(181, 125, 64, 0.14);
}

body.navdesk-theme-night .navdesk-suggestion__detail,
body.navdesk-theme-night .navdesk-suggestion-state {
  color: rgba(222, 206, 178, 0.68);
}

body.navdesk-theme-night .navdesk-suggestion-state.is-loading,
body.navdesk-theme-night .navdesk-suggestion-state.is-fallback {
  color: rgba(233, 190, 111, 0.86);
}

body.navdesk-theme-night .navdesk-suggestion-state.is-error,
body.navdesk-theme-night .navdesk-suggestion-state.is-empty {
  color: #d97865;
}

/* === Nav Desk night UKV hard fix 20260425-30 === */

/* UKV: убираем белые внутренние острова */
body.navdesk-theme-night [class*="ukv"],
body.navdesk-theme-night [class*="radio"],
body.navdesk-theme-night [class*="template"] {
  color: rgba(232, 215, 186, 0.82) !important;
}

body.navdesk-theme-night [class*="ukv"] article,
body.navdesk-theme-night [class*="ukv"] section,
body.navdesk-theme-night [class*="ukv"] fieldset,
body.navdesk-theme-night [class*="ukv"] .section--paper,
body.navdesk-theme-night [class*="ukv"] .navdesk-card,
body.navdesk-theme-night [class*="ukv"] .navdesk-card-shell,
body.navdesk-theme-night [class*="ukv"] .navdesk-calc__field,
body.navdesk-theme-night [class*="ukv"] .navdesk-ukv-profile-summary,
body.navdesk-theme-night [class*="ukv"] .navdesk-ukv-template,
body.navdesk-theme-night [class*="ukv"] .navdesk-ukv-template-card,
body.navdesk-theme-night [class*="ukv"] .navdesk-ukv-order,
body.navdesk-theme-night [class*="ukv"] .navdesk-ukv-profile,
body.navdesk-theme-night [class*="radio"] article,
body.navdesk-theme-night [class*="template"] article {
  background: rgba(8, 15, 16, 0.76) !important;
  border-color: rgba(181, 125, 64, 0.22) !important;
  box-shadow: none !important;
}

/* Белые/кремовые поля внутри UKV */
body.navdesk-theme-night [class*="ukv"] input,
body.navdesk-theme-night [class*="ukv"] select,
body.navdesk-theme-night [class*="ukv"] textarea,
body.navdesk-theme-night [class*="radio"] input,
body.navdesk-theme-night [class*="radio"] select,
body.navdesk-theme-night [class*="radio"] textarea,
body.navdesk-theme-night [class*="template"] input,
body.navdesk-theme-night [class*="template"] select,
body.navdesk-theme-night [class*="template"] textarea {
  background: rgba(5, 10, 11, 0.78) !important;
  color: #e8d6ba !important;
  border-color: rgba(181, 125, 64, 0.34) !important;
}

/* Тексты внутри белых бывших блоков */
body.navdesk-theme-night [class*="ukv"] p,
body.navdesk-theme-night [class*="ukv"] span,
body.navdesk-theme-night [class*="ukv"] small,
body.navdesk-theme-night [class*="ukv"] label,
body.navdesk-theme-night [class*="radio"] p,
body.navdesk-theme-night [class*="radio"] span,
body.navdesk-theme-night [class*="radio"] small,
body.navdesk-theme-night [class*="radio"] label,
body.navdesk-theme-night [class*="template"] p,
body.navdesk-theme-night [class*="template"] span,
body.navdesk-theme-night [class*="template"] small,
body.navdesk-theme-night [class*="template"] label {
  color: rgba(226, 209, 181, 0.76) !important;
}

/* Заголовки UKV */
body.navdesk-theme-night [class*="ukv"] h2,
body.navdesk-theme-night [class*="ukv"] h3,
body.navdesk-theme-night [class*="ukv"] h4,
body.navdesk-theme-night [class*="radio"] h2,
body.navdesk-theme-night [class*="radio"] h3,
body.navdesk-theme-night [class*="radio"] h4,
body.navdesk-theme-night [class*="template"] h2,
body.navdesk-theme-night [class*="template"] h3,
body.navdesk-theme-night [class*="template"] h4 {
  color: #ecd7b7 !important;
}

/* Кнопки копирования / шаблонов */
body.navdesk-theme-night [class*="ukv"] button,
body.navdesk-theme-night [class*="radio"] button,
body.navdesk-theme-night [class*="template"] button {
  background: rgba(10, 17, 18, 0.78) !important;
  color: rgba(232, 215, 186, 0.86) !important;
  border-color: rgba(181, 125, 64, 0.32) !important;
}

body.navdesk-theme-night [class*="ukv"] .btn--primary,
body.navdesk-theme-night [class*="radio"] .btn--primary,
body.navdesk-theme-night [class*="template"] .btn--primary {
  background: linear-gradient(180deg, #8a332c, #67231f) !important;
  color: #f0d9bd !important;
}

/* Принудительно давим inline/старые светлые фоны внутри body карточек */
body.navdesk-theme-night .navdesk-card-body [style*="background: #"],
body.navdesk-theme-night .navdesk-card-body [style*="background:#"],
body.navdesk-theme-night .navdesk-card-body [style*="background-color: #"],
body.navdesk-theme-night .navdesk-card-body [style*="background-color:#"] {
  background: rgba(8, 15, 16, 0.76) !important;
}

/* === Nav Desk night UKV exact fix 20260425-31 === */
body.navdesk-theme-night .navdesk-ukv-module,
body.navdesk-theme-night .navdesk-ukv-vessel,
body.navdesk-theme-night .navdesk-ukv-order,
body.navdesk-theme-night .navdesk-ukv-scenarios,
body.navdesk-theme-night .navdesk-ukv-template-card,
body.navdesk-theme-night .navdesk-ukv-profile-summary {
  background: rgba(8, 15, 16, 0.76) !important;
  border-color: rgba(181, 125, 64, 0.22) !important;
  color: rgba(232, 215, 186, 0.82) !important;
}

body.navdesk-theme-night .navdesk-ukv-spelling__result,
body.navdesk-theme-night .navdesk-ukv-template-card__output {
  background: rgba(5, 10, 11, 0.78) !important;
  border-color: rgba(181, 125, 64, 0.28) !important;
  color: rgba(232, 215, 186, 0.84) !important;
}

body.navdesk-theme-night .navdesk-ukv-order-item,
body.navdesk-theme-night .navdesk-ukv-scenario__toggle {
  background: rgba(12, 22, 22, 0.70) !important;
  border-color: rgba(181, 125, 64, 0.22) !important;
  color: rgba(232, 215, 186, 0.84) !important;
}

body.navdesk-theme-night .navdesk-ukv-template-card__eyebrow,
body.navdesk-theme-night .navdesk-ukv-template-card__intro,
body.navdesk-theme-night .navdesk-ukv-spellline,
body.navdesk-theme-night .navdesk-ukv-profile-summary__spell,
body.navdesk-theme-night .navdesk-ukv-profile-summary__line {
  color: rgba(222, 206, 178, 0.68) !important;
}

body.navdesk-theme-night .navdesk-ukv-template-card h5,
body.navdesk-theme-night .navdesk-ukv-subheading h4 {
  color: #ead6b7 !important;
}

body.navdesk-theme-night .navdesk-ukv-scenario__body {
  color: rgba(222, 206, 178, 0.72) !important;
}

body.navdesk-theme-night .navdesk-ukv-form-grid .navdesk-calc__field {
  background: transparent !important;
}

/* === Nav Desk night tide mode buttons fix 20260425-32 === */
body.navdesk-theme-night .navdesk-tides__mode-switch {
  gap: 8px;
}

body.navdesk-theme-night .navdesk-tides__mode-option {
  background: rgba(8, 15, 16, 0.78) !important;
  border-color: rgba(181, 125, 64, 0.30) !important;
  color: rgba(232, 215, 186, 0.82) !important;
}

body.navdesk-theme-night .navdesk-tides__mode-option span {
  color: rgba(232, 215, 186, 0.82) !important;
}

body.navdesk-theme-night .navdesk-tides__mode-option:has(input#tideModeAuto:checked),
body.navdesk-theme-night .navdesk-tides__mode-option:has(input#tideModeManual:checked) {
  background: rgba(30, 48, 47, 0.86) !important;
  border-color: rgba(181, 125, 64, 0.42) !important;
}

body.navdesk-theme-night .navdesk-tides__mode-option input[type="radio"] {
  background: rgba(8, 15, 16, 0.9) !important;
  box-shadow: inset 0 0 0 2px rgba(181, 125, 64, 0.48) !important;
}

body.navdesk-theme-night .navdesk-tides__mode-option input[type="radio"]:checked {
  background: #c78643 !important;
  box-shadow: inset 0 0 0 5px rgba(8, 15, 16, 0.92) !important;
}

/* === Night logo integration 20260425 === */
.navdesk-logo {
  height: 42px;
  width: auto;
  transition: opacity 0.2s ease;
}

body.navdesk-night .navdesk-logo {
  content: url('/brand/logo-vetus-nauta-night-outline.png');
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(180,220,180,0.08));
}

body.navdesk-night .navdesk-header {
  background: linear-gradient(
    180deg,
    rgba(12,18,16,0.92),
    rgba(12,18,16,0.78)
  );
  backdrop-filter: blur(6px);
  border: 1px solid rgba(180,200,180,0.12);
}


/* === Night logo integration 20260425-33 === */
.navdesk-logo {
  height: 42px;
  width: auto;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

body.navdesk-theme-night .navdesk-logo {
  content: url('/brand/logo-vetus-nauta-night-outline.png');
  opacity: 0.86;
  filter: drop-shadow(0 0 5px rgba(232, 215, 186, 0.08));
}

/* === Night logo size polish 20260425-34 === */
body.navdesk-theme-night .navdesk-logo {
  height: 58px !important;
  max-height: 58px !important;
}

/* === Night logo FINAL 20260425-36 === */
.navdesk-logo {
  height: 48px;
  width: auto;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

body.navdesk-theme-night .navdesk-logo {
  content: url('/brand/logo-vetus-nauta-night-outline-fit.png');
  height: 48px;
  opacity: 0.92;
  filter: drop-shadow(0 0 4px rgba(200,220,200,0.06));
}


/* === Night logo clean final 20260425-37 === */
body.navdesk-theme-night .brand__logo-image.navdesk-logo {
  content: url('/brand/logo-vetus-nauta-night-clean.png') !important;
  height: 58px !important;
  width: auto !important;
  opacity: 0.92 !important;
  filter: drop-shadow(0 0 5px rgba(230, 216, 184, 0.10)) !important;
  transform: none !important;
  margin-left: 0 !important;
}

/* === Nav Desk header final balance 20260425-38 === */

/* Общий хедер */
.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

/* Ночь: хедер как единая приборная панель */
body.navdesk-theme-night .brand {
  min-height: 92px;
  padding: 18px 24px !important;
  border-radius: 22px !important;
  background:
    linear-gradient(90deg, rgba(12, 27, 25, 0.96), rgba(19, 44, 40, 0.92)) !important;
  border: 1px solid rgba(230, 216, 184, 0.20) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.025),
    0 10px 26px rgba(0,0,0,0.22) !important;
}

/* Логотип */
.brand__logo-image.navdesk-logo {
  display: block;
  object-fit: contain;
}

body.navdesk-theme-night .brand__logo-image.navdesk-logo {
  height: 62px !important;
  max-height: 62px !important;
  width: auto !important;
  opacity: 0.94 !important;
  filter: drop-shadow(0 0 4px rgba(230, 216, 184, 0.10)) !important;
}

/* Правая группа хедера */
.brand__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

body.navdesk-theme-night .brand__actions {
  padding: 6px 8px;
  border-radius: 18px;
  background: rgba(5, 12, 13, 0.18);
  border: 1px solid rgba(230, 216, 184, 0.10);
}

/* Instagram */
body.navdesk-theme-night .brand__actions img[src*="instagram"],
body.navdesk-theme-night img[src*="instagram"] {
  width: 22px;
  height: 22px;
  opacity: 0.72 !important;
  filter:
    invert(88%)
    sepia(22%)
    saturate(300%)
    hue-rotate(8deg)
    brightness(1.02)
    contrast(0.92) !important;
  transition: opacity .18s ease, filter .18s ease, transform .18s ease;
}

body.navdesk-theme-night .brand__actions a:hover img[src*="instagram"],
body.navdesk-theme-night a:hover img[src*="instagram"] {
  opacity: 0.94 !important;
  transform: translateY(-1px);
}

/* Mobile/tablet не ломаем */
@media (max-width: 720px) {
  body.navdesk-theme-night .brand {
    min-height: 76px;
    padding: 14px 16px !important;
    gap: 12px;
  }

  body.navdesk-theme-night .brand__logo-image.navdesk-logo {
    height: 48px !important;
    max-height: 48px !important;
  }

  body.navdesk-theme-night .brand__actions {
    gap: 8px;
    padding: 4px 6px;
  }
}


/* === Remove sticky header for Nav Desk (work mode) 20260425-39 === */

.brand {
  position: relative !important;
  top: auto !important;
  z-index: auto !important;
}

body.navdesk-theme-night .brand {
  position: relative !important;
}

/* если где-то был sticky */
.brand,
.header,
.navdesk-header {
  position: relative !important;
}

/* убираем возможный отступ под фиксированный хедер */
body {
  padding-top: 0 !important;
}


/* === Header static work mode 20260425-39 === */
header,
.site-header,
.page-header,
.main-header,
.brand,
.navdesk-header,
.navdesk-topbar,
.navdesk-hero-header,
.navdesk-page-header {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  transform: none !important;
}

body,
html,
main,
.navdesk-page,
.page,
.site-page {
  padding-top: 0 !important;
  scroll-padding-top: 0 !important;
}

body.navdesk-theme-night header,
body.navdesk-theme-night .site-header,
body.navdesk-theme-night .page-header,
body.navdesk-theme-night .main-header,
body.navdesk-theme-night .brand,
body.navdesk-theme-night .navdesk-header,
body.navdesk-theme-night .navdesk-topbar,
body.navdesk-theme-night .navdesk-hero-header,
body.navdesk-theme-night .navdesk-page-header {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  transform: none !important;
}

/* === Watch log screen skeleton 20260425-40 === */
.navdesk-watch-section {
  margin: 0 0 24px;
}

.navdesk-watch-card {
  width: 100%;
}

.navdesk-watch-toolbar {
  justify-content: flex-end;
}

#navdesk-watch-card.is-collapsed .navdesk-watch-toolbar {
  display: none;
}

.navdesk-watch-heading p {
  max-width: 68ch;
}

.navdesk-watch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.navdesk-watch-actions--closed {
  margin-top: 16px;
}

.navdesk-watch-actions--open {
  justify-content: flex-end;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(16, 36, 58, 0.10);
}

.navdesk-watch-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 1fr;
  gap: 16px;
}

.navdesk-watch-panel {
  border: 1px solid rgba(16, 36, 58, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  padding: 16px;
}

.navdesk-watch-panel__eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(16, 36, 58, 0.58);
}

.navdesk-watch-panel h3 {
  margin: 0 0 12px;
}

.navdesk-watch-current p {
  margin: 0 0 8px;
}

.navdesk-watch-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.navdesk-watch-form label {
  display: grid;
  gap: 5px;
}

.navdesk-watch-form span {
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(16, 36, 58, 0.68);
}

.navdesk-watch-form input,
.navdesk-watch-form textarea {
  width: 100%;
}

.navdesk-watch-form__wide {
  grid-column: 1 / -1;
}

.navdesk-watch-timeline article {
  border-left: 3px solid rgba(199, 161, 74, 0.75);
  padding-left: 10px;
}

.navdesk-watch-timeline article + article {
  margin-top: 14px;
}

.navdesk-watch-timeline time {
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  color: rgba(16, 36, 58, 0.58);
}

.navdesk-watch-timeline p {
  margin: 4px 0 0;
}

.navdesk-watch-entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.navdesk-watch-entry__meta span {
  border: 1px solid rgba(16, 36, 58, 0.10);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(246, 248, 250, 0.82);
  color: rgba(16, 36, 58, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
}

.navdesk-watch-status {
  width: 100%;
  margin-top: 2px;
  color: rgba(16, 36, 58, 0.66);
  font-size: 0.82rem;
  font-weight: 800;
}

body.navdesk-theme-night .navdesk-watch-panel {
  background: rgba(8, 15, 16, 0.76) !important;
  border-color: rgba(181, 125, 64, 0.22) !important;
}

body.navdesk-theme-night .navdesk-watch-actions--open {
  border-color: rgba(181, 125, 64, 0.18);
}

body.navdesk-theme-night .navdesk-watch-panel__eyebrow,
body.navdesk-theme-night .navdesk-watch-form span,
body.navdesk-theme-night .navdesk-watch-timeline time {
  color: rgba(222, 206, 178, 0.62) !important;
}

body.navdesk-theme-night .navdesk-watch-entry__meta span {
  border-color: rgba(181, 125, 64, 0.22);
  background: rgba(24, 33, 30, 0.72);
  color: rgba(240, 229, 210, 0.74);
}

body.navdesk-theme-night .navdesk-watch-status {
  color: rgba(222, 206, 178, 0.66);
}

@media (max-width: 980px) {
  .navdesk-watch-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .navdesk-watch-form {
    grid-template-columns: 1fr;
  }

  .navdesk-watch-actions {
    align-items: stretch;
  }

  .navdesk-watch-actions .btn {
    flex: 1 1 auto;
  }
}

/* === Watch planner clean logic UI 20260425-42 === */
.navdesk-watch-panel--setup {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

.navdesk-watch-panel__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.navdesk-watch-panel__top h3 {
  margin: 0;
}

.navdesk-watch-setup {
  display: grid;
  grid-template-columns: 1fr 0.45fr 1fr 1fr 0.7fr 0.75fr 0.85fr;
  gap: 10px;
}

.navdesk-watch-setup__wide {
  grid-column: 1 / -1;
}

.navdesk-watch-setup label {
  display: grid;
  gap: 5px;
}

.navdesk-watch-setup span {
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(16, 36, 58, 0.68);
}

.navdesk-watch-setup input,
.navdesk-watch-setup select {
  width: 100%;
}

.navdesk-watch-setup-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(16, 36, 58, 0.045);
  color: rgba(16, 36, 58, 0.72);
  font-weight: 700;
  line-height: 1.45;
}

.navdesk-watch-schedule,
.navdesk-watch-rest {
  margin-top: 14px;
}

.navdesk-watch-schedule__head,
.navdesk-watch-rest__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.navdesk-watch-schedule__head h4,
.navdesk-watch-rest__head h4 {
  margin: 0;
}

.navdesk-watch-schedule__head p,
.navdesk-watch-rest__head p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(16, 36, 58, 0.62);
}

.navdesk-watch-shifts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.navdesk-watch-shift {
  border: 1px solid rgba(16, 36, 58, 0.10);
  border-radius: 14px;
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.68);
}

.navdesk-watch-shift time {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  color: rgba(16, 36, 58, 0.58);
  margin-bottom: 5px;
}

.navdesk-watch-shift p {
  margin: 2px 0;
  font-size: 0.86rem;
  line-height: 1.3;
}

.navdesk-watch-rest-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.navdesk-watch-rest-card {
  border: 1px solid rgba(16, 36, 58, 0.10);
  border-radius: 14px;
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.68);
}

.navdesk-watch-rest-card strong {
  display: block;
  margin-bottom: 4px;
}

.navdesk-watch-rest-card p {
  margin: 2px 0;
  font-size: 0.84rem;
  line-height: 1.3;
}

.navdesk-watch-rest-card.is-ok {
  border-color: rgba(83, 120, 76, 0.34);
}

.navdesk-watch-rest-card.is-warn {
  border-color: rgba(199, 161, 74, 0.46);
}

.navdesk-watch-rest-card.is-bad {
  border-color: rgba(139, 58, 46, 0.44);
}

.navdesk-watch-rest-card.is-ok strong {
  color: #53784c;
}

.navdesk-watch-rest-card.is-warn strong {
  color: #9a6f16;
}

.navdesk-watch-rest-card.is-bad strong {
  color: #8b3a2e;
}

body.navdesk-theme-night .navdesk-watch-setup span,
body.navdesk-theme-night .navdesk-watch-schedule__head p,
body.navdesk-theme-night .navdesk-watch-rest__head p {
  color: rgba(222, 206, 178, 0.62) !important;
}

body.navdesk-theme-night .navdesk-watch-setup-note,
body.navdesk-theme-night .navdesk-watch-shift,
body.navdesk-theme-night .navdesk-watch-rest-card {
  background: rgba(8, 15, 16, 0.72) !important;
  border: 1px solid rgba(181, 125, 64, 0.20) !important;
  color: rgba(232, 215, 186, 0.76) !important;
}

body.navdesk-theme-night .navdesk-watch-shift time {
  color: rgba(222, 206, 178, 0.58) !important;
}

body.navdesk-theme-night .navdesk-watch-rest-card.is-ok strong {
  color: #a9c48f !important;
}

body.navdesk-theme-night .navdesk-watch-rest-card.is-warn strong {
  color: #d6a94c !important;
}

body.navdesk-theme-night .navdesk-watch-rest-card.is-bad strong {
  color: #d97865 !important;
}

@media (max-width: 1180px) {
  .navdesk-watch-setup {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .navdesk-watch-shifts,
  .navdesk-watch-rest-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .navdesk-watch-setup,
  .navdesk-watch-shifts,
  .navdesk-watch-rest-list {
    grid-template-columns: 1fr;
  }

  .navdesk-watch-panel__top,
  .navdesk-watch-schedule__head,
  .navdesk-watch-rest__head {
    display: grid;
  }
}

/* === Watch UTC + keeper period display 20260425-43 === */
.navdesk-watch-setup {
  grid-template-columns: 1fr 0.45fr 0.7fr 1fr 1fr 0.7fr 0.8fr 0.75fr 0.75fr 0.85fr;
}

.navdesk-watch-day {
  margin-top: 12px;
}

.navdesk-watch-day h5 {
  margin: 0 0 8px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navdesk-watch-display-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 0;
}

.navdesk-watch-display-controls button {
  border: 1px solid rgba(16, 36, 58, 0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  padding: 7px 11px;
  font-weight: 800;
  cursor: pointer;
}

.navdesk-watch-display-controls button.is-active {
  background: #10243a;
  color: #fff;
}

.navdesk-watch-shift__utc {
  opacity: .72;
  font-size: .78rem !important;
}

body.navdesk-theme-night .navdesk-watch-day h5 {
  color: rgba(232, 215, 186, 0.86);
}

body.navdesk-theme-night .navdesk-watch-display-controls button {
  background: rgba(8, 15, 16, 0.72);
  color: rgba(232, 215, 186, 0.78);
  border-color: rgba(181, 125, 64, 0.22);
}

body.navdesk-theme-night .navdesk-watch-display-controls button.is-active {
  background: rgba(217, 102, 83, 0.78);
  color: #fff4df;
}

@media (max-width: 1180px) {
  .navdesk-watch-setup {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* === Watch planner layout fix 20260425-44 === */
.navdesk-watch-setup select,
.navdesk-watch-setup input {
  font-size: 0.82rem;
  min-width: 0;
}

.navdesk-watch-setup label {
  min-width: 0;
}

.navdesk-watch-setup {
  grid-template-columns:
    minmax(110px, 1fr)
    minmax(58px, .42fr)
    minmax(90px, .7fr)
    minmax(110px, 1fr)
    minmax(110px, 1fr)
    minmax(90px, .72fr)
    minmax(120px, .95fr)
    minmax(92px, .7fr)
    minmax(92px, .7fr)
    minmax(95px, .75fr);
}

@media (max-width: 1180px) {
  .navdesk-watch-setup {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .navdesk-watch-setup {
    grid-template-columns: 1fr;
  }
}

/* === Watch risk colors + live watch 20260425-45 === */

.navdesk-watch-rest-card {
  position: relative;
  overflow: hidden;
}

.navdesk-watch-rest-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: 14px 0 0 14px;
}

.navdesk-watch-rest-card.is-ok {
  background: rgba(83, 120, 76, 0.08);
  border-color: rgba(83, 120, 76, 0.42);
}

.navdesk-watch-rest-card.is-ok::before {
  background: rgba(83, 120, 76, 0.78);
}

.navdesk-watch-rest-card.is-warn {
  background: rgba(199, 161, 74, 0.12);
  border-color: rgba(199, 161, 74, 0.58);
}

.navdesk-watch-rest-card.is-warn::before {
  background: rgba(199, 161, 74, 0.90);
}

.navdesk-watch-rest-card.is-bad {
  background: rgba(139, 58, 46, 0.12);
  border-color: rgba(139, 58, 46, 0.60);
}

.navdesk-watch-rest-card.is-bad::before {
  background: rgba(139, 58, 46, 0.92);
}

.navdesk-watch-live {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(16, 36, 58, 0.045);
  border: 1px solid rgba(16, 36, 58, 0.10);
}

.navdesk-watch-live p {
  margin: 4px 0;
}

.navdesk-watch-live__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 900;
}

.navdesk-watch-live__status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #53784c;
}

.navdesk-watch-live.is-waiting .navdesk-watch-live__status::before {
  background: #c7a14a;
}

.navdesk-watch-live.is-ended .navdesk-watch-live__status::before {
  background: #8b3a2e;
}

body.navdesk-theme-night .navdesk-watch-rest-card.is-ok {
  background: rgba(83, 120, 76, 0.16) !important;
}

body.navdesk-theme-night .navdesk-watch-rest-card.is-warn {
  background: rgba(199, 161, 74, 0.18) !important;
}

body.navdesk-theme-night .navdesk-watch-rest-card.is-bad {
  background: rgba(139, 58, 46, 0.20) !important;
}

body.navdesk-theme-night .navdesk-watch-live {
  background: rgba(8, 15, 16, 0.62);
  border-color: rgba(181, 125, 64, 0.22);
  color: rgba(232, 215, 186, 0.86);
}


/* === Live Watch central block 20260425-46 === */

.navdesk-watch-live {
  margin: 0 0 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(16, 36, 58, 0.055);
  border: 1px solid rgba(16, 36, 58, 0.12);
}

.navdesk-watch-live--central {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.navdesk-watch-live__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.navdesk-watch-live__status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #53784c;
  box-shadow: 0 0 0 4px rgba(83, 120, 76, 0.12);
}

.navdesk-watch-live.is-waiting .navdesk-watch-live__status::before {
  background: #c7a14a;
  box-shadow: 0 0 0 4px rgba(199, 161, 74, 0.14);
}

.navdesk-watch-live.is-ended .navdesk-watch-live__status::before {
  background: #8b3a2e;
  box-shadow: 0 0 0 4px rgba(139, 58, 46, 0.14);
}

.navdesk-watch-live__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.navdesk-watch-live__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 10px;
}

.navdesk-watch-live__meta p {
  margin: 0;
  font-weight: 750;
}

.navdesk-watch-live__timer {
  min-width: 170px;
  padding: 14px 16px;
  border-radius: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 36, 58, 0.10);
}

.navdesk-watch-live__timer span {
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.68;
}

.navdesk-watch-live__timer strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

body.navdesk-theme-night .navdesk-watch-live {
  background: rgba(8, 15, 16, 0.72) !important;
  border-color: rgba(181, 125, 64, 0.24) !important;
  color: rgba(232, 215, 186, 0.90) !important;
}

body.navdesk-theme-night .navdesk-watch-live__timer {
  background: rgba(5, 12, 13, 0.66);
  border-color: rgba(181, 125, 64, 0.22);
}

@media (max-width: 760px) {
  .navdesk-watch-live--central {
    grid-template-columns: 1fr;
  }

  .navdesk-watch-live__timer {
    min-width: 0;
    width: 100%;
  }
}


/* === Watch setup balanced 2-row grid 20260425-47 === */
.navdesk-watch-panel--setup .navdesk-watch-panel__top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 16px;
}

.navdesk-watch-setup {
  display: grid !important;
  grid-template-columns:
    minmax(130px, 1fr)
    minmax(70px, .55fr)
    minmax(105px, .75fr)
    minmax(105px, .85fr)
    minmax(130px, 1fr)
    minmax(150px, auto);
  gap: 10px 12px;
  align-items: end;
}

#watchCaptain,
#watchFirstMate,
#watchCrewInput {
  min-width: 0;
}

.navdesk-watch-setup label {
  min-width: 0;
}

.navdesk-watch-setup input,
.navdesk-watch-setup select {
  width: 100%;
  min-height: 36px;
  font-size: 0.88rem;
}

#watchCaptain,
#watchFirstMate {
  min-width: 130px;
}

#watchKeeperMode {
  min-width: 125px;
}

#watchKeeperFrom,
#watchKeeperTo {
  min-width: 96px;
}

#watchType {
  min-width: 140px;
}

.navdesk-watch-setup__wide {
  grid-column: span 3;
}

@media (max-width: 1180px) {
  .navdesk-watch-setup {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .navdesk-watch-setup__wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .navdesk-watch-panel--setup .navdesk-watch-panel__top,
  .navdesk-watch-setup {
    grid-template-columns: 1fr !important;
  }

  .navdesk-watch-setup__wide {
    grid-column: auto;
  }
}

/* === Watch setup blind fill / tab focus 20260425-48 === */
.navdesk-watch-setup input:focus,
.navdesk-watch-setup select:focus,
.navdesk-watch-panel--setup button:focus {
  outline: 3px solid rgba(199, 161, 74, 0.45);
  outline-offset: 2px;
  border-color: rgba(16, 36, 58, 0.45);
  box-shadow: 0 0 0 4px rgba(199, 161, 74, 0.12);
}

.navdesk-watch-setup input,
.navdesk-watch-setup select {
  scroll-margin-top: 120px;
}

body.navdesk-theme-night .navdesk-watch-setup input:focus,
body.navdesk-theme-night .navdesk-watch-setup select:focus,
body.navdesk-theme-night .navdesk-watch-panel--setup button:focus {
  outline-color: rgba(217, 102, 83, 0.55);
  box-shadow: 0 0 0 4px rgba(217, 102, 83, 0.16);
}

/* === Nav Desk autofill skin 20260525-01 === */
.navdesk-page input:-webkit-autofill,
.navdesk-page input:-webkit-autofill:hover,
.navdesk-page input:-webkit-autofill:focus,
.navdesk-page textarea:-webkit-autofill,
.navdesk-page textarea:-webkit-autofill:hover,
.navdesk-page textarea:-webkit-autofill:focus {
  border-color: rgba(16, 36, 58, 0.22) !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.94) inset !important;
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.94) inset !important;
  -webkit-text-fill-color: #10243a !important;
  caret-color: #10243a !important;
  transition: background-color 9999s ease-out 0s;
}

body.navdesk-theme-night .navdesk-page input:-webkit-autofill,
body.navdesk-theme-night .navdesk-page input:-webkit-autofill:hover,
body.navdesk-theme-night .navdesk-page input:-webkit-autofill:focus,
body.navdesk-theme-night .navdesk-page textarea:-webkit-autofill,
body.navdesk-theme-night .navdesk-page textarea:-webkit-autofill:hover,
body.navdesk-theme-night .navdesk-page textarea:-webkit-autofill:focus {
  border-color: rgba(181, 125, 64, 0.42) !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(4, 10, 11, 0.98) inset !important;
  box-shadow: 0 0 0 1000px rgba(4, 10, 11, 0.98) inset !important;
  -webkit-text-fill-color: #e6d0b2 !important;
  caret-color: #e6d0b2 !important;
}

/* === Manual watch editor 20260425-49 === */
.navdesk-watch-manual {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(16, 36, 58, 0.10);
  background: rgba(16, 36, 58, 0.035);
}

.navdesk-watch-manual__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.navdesk-watch-manual__head h4,
.navdesk-watch-manual__head p {
  margin: 0;
}

.navdesk-watch-manual__head p {
  color: rgba(16, 36, 58, 0.62);
  font-size: 0.84rem;
  font-weight: 700;
}

.navdesk-watch-manual__form {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.navdesk-watch-manual__form label {
  display: grid;
  gap: 5px;
}

.navdesk-watch-manual__form span {
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(16, 36, 58, 0.68);
}

.navdesk-watch-manual__form input,
.navdesk-watch-manual__form select {
  width: 100%;
  min-height: 36px;
}

.navdesk-watch-manual__list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.navdesk-watch-manual__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(16, 36, 58, 0.10);
  background: rgba(255,255,255,0.62);
}

.navdesk-watch-manual__item p {
  margin: 2px 0;
  line-height: 1.3;
}

.navdesk-watch-manual__remove {
  border: 1px solid rgba(139, 58, 46, 0.30);
  border-radius: 999px;
  background: rgba(139, 58, 46, 0.08);
  padding: 7px 10px;
  font-weight: 900;
  cursor: pointer;
}

body.navdesk-theme-night .navdesk-watch-manual {
  background: rgba(8, 15, 16, 0.62);
  border-color: rgba(181, 125, 64, 0.20);
}

body.navdesk-theme-night .navdesk-watch-manual__head p,
body.navdesk-theme-night .navdesk-watch-manual__form span {
  color: rgba(232, 215, 186, 0.68);
}

body.navdesk-theme-night .navdesk-watch-manual__item {
  background: rgba(8, 15, 16, 0.72);
  border-color: rgba(181, 125, 64, 0.18);
}

@media (max-width: 980px) {
  .navdesk-watch-manual__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .navdesk-watch-manual__head,
  .navdesk-watch-manual__form,
  .navdesk-watch-manual__item {
    grid-template-columns: 1fr;
  }
}

/* === Manual watch cleanup + warnings 20260425-51 === */
.navdesk-watch-manual__item.has-warning {
  border-color: rgba(199, 161, 74, 0.58);
  background: rgba(199, 161, 74, 0.08);
}

.navdesk-watch-manual__item.has-error {
  border-color: rgba(139, 58, 46, 0.58);
  background: rgba(139, 58, 46, 0.08);
}

.navdesk-watch-manual-alerts {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.navdesk-watch-manual-alert {
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.navdesk-watch-manual-alert.is-warning {
  background: rgba(199, 161, 74, 0.12);
  border: 1px solid rgba(199, 161, 74, 0.42);
  color: #7a560c;
}

.navdesk-watch-manual-alert.is-error {
  background: rgba(139, 58, 46, 0.12);
  border: 1px solid rgba(139, 58, 46, 0.42);
  color: #7f3328;
}

body.navdesk-theme-night .navdesk-watch-manual-alert.is-warning {
  background: rgba(199, 161, 74, 0.16);
  color: #e5c16a;
}

body.navdesk-theme-night .navdesk-watch-manual-alert.is-error {
  background: rgba(139, 58, 46, 0.18);
  color: #e08b7c;
}


/* === Watch manual/live hard reset 20260425-53 === */

/* убираем старый дублирующий live-блок внутри маленькой карточки */
#watchLiveStatus {
  display: none !important;
}

.navdesk-watch-manual-alerts {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.navdesk-watch-manual-alert {
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.navdesk-watch-manual-alert.is-error {
  background: rgba(139, 58, 46, 0.12);
  border: 1px solid rgba(139, 58, 46, 0.46);
  color: #7f3328;
}

.navdesk-watch-manual-alert.is-warning {
  background: rgba(199, 161, 74, 0.12);
  border: 1px solid rgba(199, 161, 74, 0.46);
  color: #7a560c;
}

.navdesk-watch-manual__item.has-error {
  border-color: rgba(139, 58, 46, 0.62) !important;
  background: rgba(139, 58, 46, 0.08) !important;
}

.navdesk-watch-manual__item.has-warning {
  border-color: rgba(199, 161, 74, 0.62) !important;
  background: rgba(199, 161, 74, 0.08) !important;
}

.navdesk-watch-live.is-error {
  border-color: rgba(139, 58, 46, 0.56) !important;
  background: rgba(139, 58, 46, 0.10) !important;
}

.navdesk-watch-live.is-error .navdesk-watch-live__status::before {
  background: #8b3a2e !important;
  box-shadow: 0 0 0 4px rgba(139, 58, 46, 0.16) !important;
}

body.navdesk-theme-night .navdesk-watch-manual-alert.is-error {
  color: #e08b7c;
  background: rgba(139, 58, 46, 0.18);
}

body.navdesk-theme-night .navdesk-watch-manual-alert.is-warning {
  color: #e5c16a;
  background: rgba(199, 161, 74, 0.16);
}

/* Site header alignment: keep Nav Desk night logo separate. */
.brand__picture--home .navdesk-logo {
  transform: none !important;
}

.brand__picture--home .brand__logo-image--desktop.navdesk-logo {
  display: block !important;
}

.brand__picture--home .brand__logo-image--mobile.navdesk-logo {
  display: none !important;
}

body.navdesk-theme-night .brand__picture--home .navdesk-logo {
  content: url('/brand/logo-vetus-nauta-night-clean.png') !important;
}

@media (max-width: 720px) {
  .brand__picture--home .brand__logo-image--desktop.navdesk-logo {
    display: none !important;
  }

  .brand__picture--home .brand__logo-image--mobile.navdesk-logo {
    display: block !important;
    width: auto !important;
    height: 54px !important;
    max-width: min(58vw, 230px) !important;
    margin: 0 !important;
  }

  body.navdesk-theme-night .brand__picture--home .brand__logo-image--mobile.navdesk-logo {
    height: 48px !important;
    max-height: 48px !important;
  }
}

/* Nav Desk header and night footer polish 20260520. */
.navdesk-header-card {
  max-width: 1188px;
  margin: 0 auto 16px;
  padding: 16px 18px;
  border: 1px solid rgba(16,36,58,.10);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.90), rgba(255,255,255,.70)),
    rgba(255,255,255,.78);
  box-shadow:
    0 18px 48px rgba(16,36,58,.10),
    inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.navdesk-header-card .topbar {
  position: static !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  width: auto !important;
  max-width: none !important;
  min-height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.navdesk-header-card .brand.brand--image,
.navdesk-header-card .brand {
  flex: 0 1 auto !important;
  width: auto !important;
  margin: 0 !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

.navdesk-header-card .topbar__actions {
  width: auto !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  justify-content: flex-end !important;
}

.navdesk-header-card .language-hint {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-color: rgba(16,36,58,.09);
  border-radius: 16px;
  background: rgba(16,36,58,.035);
}

body.navdesk-theme-night .navdesk-header-card {
  border-color: rgba(214,197,170,.20);
  background:
    linear-gradient(145deg, rgba(18,30,34,.92), rgba(7,16,18,.86)),
    rgba(7,16,18,.92);
  box-shadow:
    0 18px 48px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(214,197,170,.08);
}

body.navdesk-theme-night .navdesk-header-card .topbar {
  background: transparent !important;
  border-color: transparent !important;
}

body.navdesk-theme-night .navdesk-header-card .language-hint {
  color: rgba(232,221,199,.82);
  border-color: rgba(214,197,170,.16);
  background: rgba(0,0,0,.18);
}

body.navdesk-theme-night .footer.footer--site {
  color: rgba(232,221,199,.84);
}

body.navdesk-theme-night .footer.footer--site .footer__brandline,
body.navdesk-theme-night .footer.footer--site .footer__map-card {
  border-color: rgba(214,197,170,.16);
  background:
    linear-gradient(145deg, rgba(18,30,34,.92), rgba(7,16,18,.88)),
    rgba(7,16,18,.92);
  box-shadow:
    0 18px 42px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(214,197,170,.06);
}

body.navdesk-theme-night .footer.footer--site strong,
body.navdesk-theme-night .footer.footer--site h2 {
  color: #f0d5a8;
}

body.navdesk-theme-night .footer.footer--site p,
body.navdesk-theme-night .footer.footer--site .footer__copy {
  color: rgba(232,221,199,.72);
}

body.navdesk-theme-night .footer.footer--site .footer__links a {
  border-color: rgba(214,197,170,.14);
  background: rgba(0,0,0,.18);
  color: #e1a15c;
}

body.navdesk-theme-night .footer.footer--site .footer__links a:hover,
body.navdesk-theme-night .footer.footer--site .footer__links a:focus-visible {
  border-color: rgba(224,139,58,.32);
  background: rgba(224,139,58,.10);
  color: #f1c48a;
}

body.navdesk-theme-night .site-menu-modal .management-modal__backdrop {
  background: rgba(2,8,10,.76);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body.navdesk-theme-night .site-menu-modal .management-modal__dialog {
  border: 1px solid rgba(214,197,170,.18);
  background:
    linear-gradient(145deg, rgba(18,30,34,.96), rgba(7,16,18,.94)),
    rgba(7,16,18,.96);
  color: rgba(232,221,199,.86);
  box-shadow:
    0 24px 70px rgba(0,0,0,.54),
    inset 0 1px 0 rgba(214,197,170,.08);
}

body.navdesk-theme-night .site-menu-modal .management-modal__header h3 {
  color: #f0d5a8;
}

body.navdesk-theme-night .site-menu-modal .section-heading__eyebrow {
  color: #d68a3a;
}

body.navdesk-theme-night .site-menu-modal .management-modal__close {
  border-color: rgba(214,197,170,.18);
  background: rgba(0,0,0,.20);
  color: rgba(232,221,199,.86);
}

body.navdesk-theme-night .site-menu-modal .management-modal__close:hover,
body.navdesk-theme-night .site-menu-modal .management-modal__close:focus-visible {
  border-color: rgba(224,139,58,.34);
  background: rgba(224,139,58,.12);
  color: #f1c48a;
}

body.navdesk-theme-night .site-menu-modal .management-modal-nav a,
body.navdesk-theme-night .site-menu-modal .site-menu-settings {
  border-color: rgba(214,197,170,.14);
  background: rgba(0,0,0,.18);
  color: #e1a15c;
}

body.navdesk-theme-night .site-menu-modal .management-modal-nav a:hover,
body.navdesk-theme-night .site-menu-modal .management-modal-nav a:focus-visible {
  border-color: rgba(224,139,58,.34);
  background: rgba(224,139,58,.10);
  color: #f1c48a;
}

body.navdesk-theme-night .site-menu-modal .site-menu-settings__label,
body.navdesk-theme-night .site-menu-modal .site-menu-future {
  color: rgba(232,221,199,.62);
}

body.navdesk-theme-night .site-menu-modal .site-menu-settings .instagram-link {
  border-color: rgba(214,197,170,.16);
  background: rgba(0,0,0,.16);
}

@media (max-width: 720px) {
  .navdesk-header-card {
    width: auto;
    max-width: none;
    margin-left: 6px;
    margin-right: 6px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 20px;
  }

  .navdesk-header-card .brand.brand--image,
  .navdesk-header-card .brand {
    flex: 1 1 auto !important;
  }

  .navdesk-header-card .language-hint {
    align-items: flex-start;
    margin: 10px 0 0;
    padding: 10px 12px;
  }
}

/* === Nav Desk header display toggle and compact clocks 20260525 === */
.navdesk-header-card .topbar.topbar--site-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
}

.navdesk-header-card .topbar.topbar--site-menu .brand,
.navdesk-header-card .topbar.topbar--site-menu .brand.brand--image {
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 auto 0 0 !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

.navdesk-header-card .topbar.topbar--site-menu .brand__picture,
.navdesk-header-card .topbar.topbar--site-menu .brand__picture--home {
  display: inline-flex !important;
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

.navdesk-header-card .topbar.topbar--site-menu .topbar__actions {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: auto !important;
  margin: 0 !important;
  gap: 10px !important;
}

.navdesk-header-theme.navdesk-theme-compact {
  flex: 0 0 auto;
  height: 48px;
}

.navdesk-header-theme .navdesk-theme-switch {
  width: 82px;
  height: 48px;
  gap: 4px;
  padding: 4px;
  box-sizing: border-box;
  border-color: rgba(16, 36, 58, 0.12);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 10px 22px rgba(16, 36, 58, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.navdesk-header-theme .navdesk-theme-switch__btn {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  font-size: 1.02rem;
}

.navdesk-page .navdesk-hero__grid {
  grid-template-columns: minmax(0, 1fr) 154px;
  column-gap: 20px;
  align-items: start;
}

.navdesk-page .navdesk-hero__grid--single {
  grid-template-columns: 1fr;
}

.navdesk-page .navdesk-hero__side {
  display: flex;
  align-self: start;
  align-items: flex-start;
  justify-content: flex-end;
}

.navdesk-page .navdesk-time-stack {
  width: 154px;
  max-width: 154px;
  margin: 0;
  gap: 8px;
  align-content: start;
}

.navdesk-page .navdesk-time-card,
.navdesk-page .navdesk-time-card--utc {
  width: 154px;
  max-width: 154px;
  min-height: 72px;
  padding: 9px 12px;
  border-radius: 16px;
}

.navdesk-page .navdesk-time-card__label {
  margin: 0 0 5px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.navdesk-page .navdesk-time-card__value {
  font-size: 1.55rem;
  line-height: 1;
}

body.navdesk-theme-night .navdesk-header-theme .navdesk-theme-switch {
  border-color: rgba(214, 197, 170, 0.16);
  background: rgba(0, 0, 0, 0.18);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(214, 197, 170, 0.08);
}

.navdesk-header-card .topbar.topbar--site-menu .brand,
.navdesk-header-card .topbar.topbar--site-menu .brand.brand--image {
  min-height: 92px !important;
  padding: 18px 24px !important;
  border: 1px solid rgba(16, 36, 58, 0.10) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 251, 0.90)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 10px 26px rgba(16, 36, 58, 0.10) !important;
}

.navdesk-header-card .topbar.topbar--site-menu .brand__logo-image.navdesk-logo {
  height: 62px !important;
  max-height: 62px !important;
  width: auto !important;
  opacity: 1 !important;
  filter: none !important;
}

body.navdesk-theme-night .navdesk-header-card .topbar.topbar--site-menu .brand,
body.navdesk-theme-night .navdesk-header-card .topbar.topbar--site-menu .brand.brand--image {
  border-color: rgba(230, 216, 184, 0.20) !important;
  background:
    linear-gradient(90deg, rgba(12, 27, 25, 0.96), rgba(19, 44, 40, 0.92)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 10px 26px rgba(0, 0, 0, 0.22) !important;
}

body.navdesk-theme-night .navdesk-header-card .topbar.topbar--site-menu .brand__logo-image.navdesk-logo {
  content: url('/brand/logo-vetus-nauta-night-clean.png') !important;
  height: 62px !important;
  max-height: 62px !important;
  opacity: 0.94 !important;
  filter: drop-shadow(0 0 4px rgba(230, 216, 184, 0.10)) !important;
}

@media (max-width: 920px) {
  .navdesk-page .navdesk-hero__grid {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .navdesk-page .navdesk-hero__side {
    width: 100%;
    justify-content: stretch;
  }

  .navdesk-page .navdesk-time-stack {
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .navdesk-page .navdesk-time-card,
  .navdesk-page .navdesk-time-card--utc {
    width: 100%;
    max-width: none;
    min-height: 68px;
    padding: 9px 10px;
  }

  .navdesk-page .navdesk-time-card__value {
    font-size: 1.42rem;
  }
}

@media (max-width: 720px) {
  .navdesk-header-card .topbar.topbar--site-menu {
    gap: 10px !important;
  }

  .navdesk-header-card .topbar.topbar--site-menu .brand,
  .navdesk-header-card .topbar.topbar--site-menu .brand.brand--image {
    width: auto !important;
    flex: 0 1 auto !important;
    max-width: calc(100% - 142px) !important;
    margin: 0 auto 0 0 !important;
    justify-content: flex-start !important;
  }

  .navdesk-header-card .topbar.topbar--site-menu .brand__picture,
  .navdesk-header-card .topbar.topbar--site-menu .brand__picture--home {
    width: auto !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
  }

  .navdesk-header-card .topbar.topbar--site-menu .brand__picture--home .brand__logo-image--mobile,
  .navdesk-header-card .topbar.topbar--site-menu .brand__logo-image {
    height: 54px !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: none !important;
  }

  .navdesk-header-card .topbar.topbar--site-menu .topbar__actions {
    gap: 8px !important;
  }

  .navdesk-header-theme .navdesk-theme-switch {
    width: 80px;
  }

  .navdesk-header-card .topbar.topbar--site-menu .brand,
  .navdesk-header-card .topbar.topbar--site-menu .brand.brand--image {
    min-height: 76px !important;
    padding: 14px 16px !important;
  }

  .navdesk-header-card .topbar.topbar--site-menu .brand__logo-image.navdesk-logo {
    height: 48px !important;
    max-height: 48px !important;
  }

  body.navdesk-theme-night .navdesk-header-card .topbar.topbar--site-menu .brand__logo-image.navdesk-logo {
    height: 48px !important;
    max-height: 48px !important;
  }
}

@media (max-width: 520px) {
  .navdesk-header-card .topbar.topbar--site-menu {
    gap: 8px !important;
  }

  .navdesk-header-card .topbar.topbar--site-menu .brand,
  .navdesk-header-card .topbar.topbar--site-menu .brand.brand--image {
    max-width: calc(100% - 132px) !important;
  }

  .navdesk-header-card .topbar.topbar--site-menu .brand__picture--home .brand__logo-image--mobile,
  .navdesk-header-card .topbar.topbar--site-menu .brand__logo-image {
    height: 50px !important;
    max-width: 100% !important;
  }

  .navdesk-header-theme .navdesk-theme-switch {
    width: 76px;
    height: 46px;
  }

  .navdesk-header-theme .navdesk-theme-switch__btn {
    min-height: 36px;
    font-size: 0.96rem;
  }

  .navdesk-page .navdesk-time-card,
  .navdesk-page .navdesk-time-card--utc {
    min-height: 64px;
    padding: 8px 9px;
  }

  .navdesk-page .navdesk-time-card__label {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .navdesk-page .navdesk-time-card__value {
    font-size: 1.32rem;
  }
}

/* === Watch log compact operations layer 20260527 === */
.navdesk-watch-page .navdesk-hero {
  padding-block: 18px;
  margin-bottom: 14px;
}

.navdesk-watch-page .navdesk-hero__description,
.navdesk-watch-page .navdesk-watch-heading p {
  display: none;
}

.navdesk-watch-page .navdesk-watch-heading {
  margin-bottom: 12px;
}

.navdesk-watch-page .navdesk-watch-heading h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem) !important;
  line-height: 1.08 !important;
}

.navdesk-watch-page .navdesk-watch-actions--open {
  margin-bottom: 12px;
  padding-bottom: 10px;
}

.navdesk-watch-page .navdesk-watch-actions--open .btn,
.navdesk-watch-page .navdesk-watch-current__actions .btn {
  min-height: 40px;
  padding: 9px 13px;
}

.navdesk-watch-page .navdesk-watch-panel {
  border-radius: 12px;
  padding: 12px;
}

.navdesk-watch-page .navdesk-watch-panel h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.navdesk-watch-page .navdesk-watch-panel__eyebrow {
  margin-bottom: 4px;
  font-size: 0.66rem;
}

.navdesk-watch-page .navdesk-watch-panel--setup {
  margin-top: 12px;
  margin-bottom: 12px;
}

.navdesk-watch-page .navdesk-watch-panel__top {
  margin-bottom: 10px;
}

.navdesk-watch-page .navdesk-watch-setup {
  grid-template-columns:
    minmax(180px, 1.35fr)
    minmax(126px, .85fr)
    minmax(96px, .62fr)
    minmax(68px, .42fr)
    minmax(96px, .58fr)
    minmax(130px, .9fr) !important;
  gap: 8px 10px;
}

.navdesk-watch-page .navdesk-watch-setup__route {
  grid-column: span 2;
}

.navdesk-watch-page .navdesk-watch-setup__wide {
  grid-column: span 3;
}

.navdesk-watch-page .navdesk-watch-setup input,
.navdesk-watch-page .navdesk-watch-setup select,
.navdesk-watch-page .navdesk-watch-manual__form input,
.navdesk-watch-page .navdesk-watch-manual__form select,
.navdesk-watch-page .navdesk-watch-form input,
.navdesk-watch-page .navdesk-watch-form textarea {
  min-height: 34px;
  font-size: 0.86rem;
}

.navdesk-watch-page .navdesk-watch-setup-note {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 0.86rem;
}

.navdesk-watch-page .navdesk-watch-grid {
  grid-template-columns: minmax(210px, .72fr) minmax(360px, 1.28fr) minmax(290px, 1fr);
  gap: 12px;
}

.navdesk-watch-page .navdesk-watch-live {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
}

.navdesk-watch-page .navdesk-watch-live__title {
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
}

.navdesk-watch-page .navdesk-watch-live__timer {
  min-width: 140px;
  padding: 10px 12px;
  border-radius: 12px;
}

.navdesk-watch-page .navdesk-watch-live__timer strong {
  font-size: clamp(1.32rem, 2.2vw, 1.85rem);
}

.navdesk-watch-page .navdesk-watch-current p {
  margin-bottom: 6px;
}

.navdesk-watch-current__actions,
.navdesk-watch-field-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navdesk-watch-current__actions {
  flex-wrap: wrap;
  margin-top: 10px;
}

.navdesk-watch-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.navdesk-watch-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #10243a;
}

.navdesk-watch-field {
  display: grid;
  gap: 5px;
}

.navdesk-watch-field label {
  margin: 0;
}

.navdesk-watch-field-row input {
  min-width: 0;
  flex: 1 1 auto;
}

.navdesk-watch-mini-btn {
  flex: 0 0 auto;
  min-height: 34px;
  min-width: 52px;
  border: 1px solid rgba(16, 36, 58, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  color: #10243a;
  font-size: 0.73rem;
  font-weight: 900;
  cursor: pointer;
}

.navdesk-watch-mini-btn.is-active {
  background: #10243a;
  color: #fff;
}

.navdesk-watch-mini-status {
  margin: 6px 0 0;
  color: rgba(16, 36, 58, 0.60);
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.35;
}

.navdesk-watch-sign-status {
  margin-top: 8px;
}

.navdesk-watch-signed {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(16, 36, 58, 0.10);
}

.navdesk-watch-signed__title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navdesk-watch-signed article {
  display: grid;
  gap: 2px;
}

.navdesk-watch-signed time,
.navdesk-watch-signed span {
  color: rgba(16, 36, 58, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
}

.navdesk-watch-page .navdesk-watch-shifts {
  grid-template-columns: 1fr;
  gap: 8px;
}

.navdesk-watch-page .navdesk-watch-shift,
.navdesk-watch-page .navdesk-watch-rest-card,
.navdesk-watch-page .navdesk-watch-manual__item {
  border-radius: 10px;
  padding: 8px 10px;
}

.navdesk-watch-page .navdesk-watch-shift {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(150px, 0.72fr) minmax(140px, 0.8fr) minmax(130px, 0.76fr);
  gap: 3px 12px;
  align-items: start;
}

.navdesk-watch-page .navdesk-watch-shift time,
.navdesk-watch-page .navdesk-watch-shift__utc {
  margin: 0;
}

.navdesk-watch-page .navdesk-watch-shift__badges {
  grid-column: 1 / -1;
}

.navdesk-watch-page .navdesk-watch-shift.is-night-solo {
  border-color: rgba(82, 103, 128, 0.30);
  background: linear-gradient(180deg, rgba(233, 238, 243, 0.82), rgba(255, 255, 255, 0.68));
}

.navdesk-watch-page .navdesk-watch-shift.is-pre-dawn-watch {
  box-shadow: inset 3px 0 0 rgba(138, 106, 53, 0.56);
}

.navdesk-watch-shift__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.navdesk-watch-shift__badges span {
  border: 1px solid rgba(16, 36, 58, 0.14);
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(16, 36, 58, 0.70);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1;
}

body.navdesk-theme-night .navdesk-watch-toggle,
body.navdesk-theme-night .navdesk-watch-mini-status,
body.navdesk-theme-night .navdesk-watch-signed time,
body.navdesk-theme-night .navdesk-watch-signed span {
  color: rgba(232, 215, 186, 0.68);
}

body.navdesk-theme-night .navdesk-watch-mini-btn {
  border-color: rgba(181, 125, 64, 0.26);
  background: rgba(5, 12, 13, 0.70);
  color: rgba(240, 229, 210, 0.82);
}

body.navdesk-theme-night .navdesk-watch-mini-btn.is-active {
  background: rgba(217, 102, 83, 0.78);
  color: #fff4df;
}

body.navdesk-theme-night .navdesk-watch-signed {
  border-top-color: rgba(181, 125, 64, 0.18);
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-shift.is-night-solo {
  border-color: rgba(155, 184, 213, 0.28) !important;
  background: linear-gradient(180deg, rgba(13, 25, 30, 0.88), rgba(8, 15, 16, 0.72)) !important;
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-shift.is-pre-dawn-watch {
  box-shadow: inset 3px 0 0 rgba(214, 169, 76, 0.54);
}

body.navdesk-theme-night .navdesk-watch-shift__badges span {
  border-color: rgba(222, 206, 178, 0.18);
  background: rgba(5, 12, 13, 0.52);
  color: rgba(232, 215, 186, 0.74);
}

@media (max-width: 1180px) {
  .navdesk-watch-page .navdesk-watch-setup {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .navdesk-watch-page .navdesk-watch-setup__route,
  .navdesk-watch-page .navdesk-watch-setup__wide {
    grid-column: 1 / -1;
  }

  .navdesk-watch-page .navdesk-watch-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .navdesk-watch-page .navdesk-hero {
    padding-block: 14px;
  }

  .navdesk-watch-page .navdesk-watch-heading h2 {
    font-size: 1.42rem !important;
  }

  .navdesk-watch-page .navdesk-watch-actions--open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navdesk-watch-page .navdesk-watch-actions--open .btn,
  .navdesk-watch-page .navdesk-watch-current__actions .btn {
    width: 100%;
  }

  .navdesk-watch-page .navdesk-watch-panel,
  .navdesk-watch-page .navdesk-watch-live {
    padding: 10px;
  }

  .navdesk-watch-page .navdesk-watch-setup,
  .navdesk-watch-page .navdesk-watch-form,
  .navdesk-watch-page .navdesk-watch-shifts,
  .navdesk-watch-page .navdesk-watch-rest-list {
    grid-template-columns: 1fr !important;
  }

  .navdesk-watch-page .navdesk-watch-shift {
    grid-template-columns: 1fr !important;
  }

  .navdesk-watch-field-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
  }
}

@media (max-width: 420px) {
  .navdesk-watch-page .navdesk-watch-actions--open {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navdesk-watch-current__actions,
  .navdesk-watch-field-row {
    grid-template-columns: 1fr;
  }
}

/* === Watch log professional workbench layer 20260527 === */
.navdesk-watch-page .navdesk-watch-grid {
  position: relative;
  grid-template-columns: minmax(220px, 0.82fr) minmax(420px, 1.52fr) minmax(280px, 0.94fr);
  gap: 0;
  align-items: stretch;
  margin-bottom: 14px;
  border: 1px solid rgba(16, 36, 58, 0.11);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 249, 251, 0.72));
  box-shadow: 0 16px 38px rgba(16, 36, 58, 0.08);
  overflow: hidden;
}

.navdesk-watch-page .navdesk-watch-grid .navdesk-watch-panel {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 16px 18px;
}

.navdesk-watch-page .navdesk-watch-grid .navdesk-watch-panel + .navdesk-watch-panel {
  border-left: 1px solid rgba(16, 36, 58, 0.09);
}

.navdesk-watch-page .navdesk-watch-panel--current,
.navdesk-watch-page .navdesk-watch-panel--timeline {
  display: flex;
  flex-direction: column;
}

.navdesk-watch-page .navdesk-watch-panel--current {
  background: rgba(255, 255, 255, 0.34);
}

.navdesk-watch-page .navdesk-watch-panel--timeline {
  background: rgba(250, 252, 253, 0.54);
}

.navdesk-watch-page .navdesk-watch-grid .navdesk-watch-panel__eyebrow {
  margin-bottom: 5px;
}

.navdesk-watch-page .navdesk-watch-grid .navdesk-watch-panel h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.navdesk-watch-page .navdesk-watch-current {
  display: grid;
  gap: 7px;
}

.navdesk-watch-page .navdesk-watch-current p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  color: rgba(16, 36, 58, 0.82);
  line-height: 1.25;
}

.navdesk-watch-page .navdesk-watch-current strong {
  flex: 0 0 auto;
}

.navdesk-watch-page .navdesk-watch-current span {
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.navdesk-watch-page .navdesk-watch-toggle {
  margin-top: 14px;
  padding: 9px 10px;
  border: 1px solid rgba(16, 36, 58, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
}

.navdesk-watch-page .navdesk-watch-current__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.navdesk-watch-page .navdesk-watch-current__actions .btn {
  justify-content: center;
  width: 100%;
  min-height: 42px;
}

.navdesk-watch-page .navdesk-watch-form {
  grid-template-columns: minmax(96px, 0.62fr) minmax(96px, 0.62fr) minmax(210px, 1fr);
  gap: 9px 10px;
  align-items: start;
}

.navdesk-watch-page .navdesk-watch-position-field {
  grid-row: span 2;
}

.navdesk-watch-page .navdesk-watch-form__wide {
  grid-column: 1 / -1;
}

.navdesk-watch-page .navdesk-watch-form label,
.navdesk-watch-page .navdesk-watch-field {
  min-width: 0;
}

.navdesk-watch-page .navdesk-watch-form span,
.navdesk-watch-page .navdesk-watch-field label span {
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.navdesk-watch-page .navdesk-watch-form input,
.navdesk-watch-page .navdesk-watch-form textarea {
  border: 1px solid rgba(16, 36, 58, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: #10243a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.navdesk-watch-page .navdesk-watch-form input {
  height: 38px;
  padding: 8px 10px;
}

.navdesk-watch-page .navdesk-watch-form textarea {
  min-height: 64px;
  max-height: 128px;
  padding: 9px 10px;
  resize: vertical;
}

.navdesk-watch-page .navdesk-watch-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px 52px;
  gap: 6px;
}

.navdesk-watch-page .navdesk-watch-mini-btn {
  min-width: 0;
  min-height: 38px;
  padding: 0 7px;
  border-radius: 10px;
  font-size: 0.66rem;
}

.navdesk-watch-page #watchEntrySave {
  display: flex;
  justify-content: center;
  min-width: 142px;
  min-height: 42px;
  margin-top: 10px;
  margin-left: auto;
}

.navdesk-watch-page .navdesk-watch-timeline {
  display: grid;
  gap: 10px;
  max-height: 335px;
  overflow: auto;
  padding-right: 2px;
}

.navdesk-watch-page .navdesk-watch-timeline article {
  margin: 0;
  border-left-width: 2px;
  padding: 1px 0 1px 11px;
}

.navdesk-watch-page .navdesk-watch-timeline article + article {
  margin-top: 0;
}

.navdesk-watch-page .navdesk-watch-timeline p {
  line-height: 1.32;
}

.navdesk-watch-page .navdesk-watch-entry__meta {
  gap: 5px;
  margin-top: 7px;
}

.navdesk-watch-page .navdesk-watch-entry__meta span {
  padding: 3px 7px;
  font-size: 0.68rem;
}

.navdesk-watch-page .navdesk-watch-actions--open {
  justify-content: flex-start;
  gap: 8px;
}

.navdesk-watch-page .navdesk-watch-actions--open .btn {
  min-height: 38px;
  padding-inline: 12px;
  box-shadow: none;
}

.navdesk-watch-page .navdesk-watch-actions--open #navdesk_watch_save {
  order: -1;
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-grid {
  border-color: rgba(181, 125, 64, 0.22);
  background: linear-gradient(180deg, rgba(10, 18, 20, 0.90), rgba(7, 13, 14, 0.76));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-grid .navdesk-watch-panel + .navdesk-watch-panel {
  border-left-color: rgba(181, 125, 64, 0.16);
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-panel--current {
  background: rgba(10, 18, 20, 0.38) !important;
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-panel--timeline {
  background: rgba(5, 12, 13, 0.44) !important;
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-current p {
  color: rgba(240, 229, 210, 0.82);
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-toggle {
  border-color: rgba(181, 125, 64, 0.18);
  background: rgba(5, 12, 13, 0.52);
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-form input,
body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-form textarea {
  border-color: rgba(181, 125, 64, 0.22);
  background: rgba(5, 12, 13, 0.72);
  color: rgba(240, 229, 210, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (max-width: 1180px) {
  .navdesk-watch-page .navdesk-watch-grid {
    grid-template-columns: minmax(220px, 0.8fr) minmax(360px, 1.4fr);
  }

  .navdesk-watch-page .navdesk-watch-panel--timeline {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(16, 36, 58, 0.09);
  }

  .navdesk-watch-page .navdesk-watch-grid .navdesk-watch-panel--timeline {
    border-left: 0;
  }

  .navdesk-watch-page .navdesk-watch-timeline {
    max-height: 220px;
  }
}

@media (max-width: 820px) {
  .navdesk-watch-page .navdesk-watch-grid {
    grid-template-columns: 1fr;
  }

  .navdesk-watch-page .navdesk-watch-grid .navdesk-watch-panel + .navdesk-watch-panel {
    border-left: 0;
    border-top: 1px solid rgba(16, 36, 58, 0.09);
  }

  .navdesk-watch-page .navdesk-watch-panel--timeline {
    grid-column: auto;
  }

  .navdesk-watch-page .navdesk-watch-current__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
  }

  .navdesk-watch-page .navdesk-watch-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navdesk-watch-page .navdesk-watch-position-field {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 520px) {
  .navdesk-watch-page .navdesk-watch-grid {
    border-radius: 14px;
  }

  .navdesk-watch-page .navdesk-watch-grid .navdesk-watch-panel {
    padding: 13px 12px;
  }

  .navdesk-watch-page .navdesk-watch-actions--open {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navdesk-watch-page .navdesk-watch-actions--open .btn {
    width: 100%;
    padding-inline: 8px;
  }

  .navdesk-watch-page .navdesk-watch-current p {
    display: grid;
    gap: 2px;
  }

  .navdesk-watch-page .navdesk-watch-current span {
    text-align: left;
  }

  .navdesk-watch-page .navdesk-watch-current__actions,
  .navdesk-watch-page .navdesk-watch-form {
    grid-template-columns: 1fr;
  }

  .navdesk-watch-page .navdesk-watch-field-row {
    grid-template-columns: minmax(0, 1fr) 42px 50px;
  }

  .navdesk-watch-page #watchEntrySave {
    width: 100%;
  }
}

/* === Watch setup professional grouping 20260527 === */
.navdesk-watch-page .navdesk-watch-panel--setup {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(16, 36, 58, 0.11);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 251, 0.74));
  box-shadow: 0 16px 40px rgba(16, 36, 58, 0.07);
}

.navdesk-watch-page .navdesk-watch-panel--setup .navdesk-watch-panel__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 15px 16px 12px;
  border-bottom: 1px solid rgba(16, 36, 58, 0.08);
}

.navdesk-watch-page .navdesk-watch-panel--setup .navdesk-watch-panel__top h3 {
  margin: 0;
}

.navdesk-watch-page #watchSetupApply {
  min-width: 154px;
  min-height: 42px;
  border-radius: 14px;
  padding-inline: 20px;
}

.navdesk-watch-page .navdesk-watch-setup--professional {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr) minmax(250px, 0.9fr) !important;
  gap: 12px;
  align-items: stretch;
  padding: 14px 16px 12px;
}

.navdesk-watch-page .navdesk-watch-setup__group {
  display: grid;
  min-width: 0;
  gap: 9px;
  align-content: start;
  padding: 12px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.56);
}

.navdesk-watch-page .navdesk-watch-setup__group--passage {
  grid-template-rows: auto 1fr;
}

.navdesk-watch-page .navdesk-watch-setup__row {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.navdesk-watch-page .navdesk-watch-setup__row--period {
  grid-template-columns: minmax(120px, 1fr) minmax(96px, 0.78fr) minmax(74px, 0.48fr) minmax(74px, 0.48fr) minmax(104px, 0.72fr);
}

.navdesk-watch-page .navdesk-watch-setup__group--crew {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.navdesk-watch-page .navdesk-watch-setup__group--crew .navdesk-watch-setup__wide {
  grid-column: 1 / -1;
}

.navdesk-watch-page .navdesk-watch-setup__group--rotation {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.navdesk-watch-page .navdesk-watch-setup__group--rotation label:nth-last-child(-n + 2) {
  min-width: 0;
}

.navdesk-watch-page .navdesk-watch-setup label {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.navdesk-watch-page .navdesk-watch-setup span {
  overflow: hidden;
  color: rgba(16, 36, 58, 0.62);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navdesk-watch-page .navdesk-watch-setup input,
.navdesk-watch-page .navdesk-watch-setup select {
  min-width: 0;
  min-height: 38px;
  border: 1px solid rgba(16, 36, 58, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.88);
  color: #10243a;
  font-size: 0.88rem;
  font-weight: 600;
}

.navdesk-watch-page .navdesk-watch-setup-note {
  margin: 0 16px 14px;
  border: 1px solid rgba(16, 36, 58, 0.06);
  background: rgba(16, 36, 58, 0.045);
}

.navdesk-watch-page .navdesk-watch-manual,
.navdesk-watch-page .navdesk-watch-schedule,
.navdesk-watch-page .navdesk-watch-rest {
  margin-inline: 16px;
}

.navdesk-watch-page .navdesk-watch-rest {
  margin-bottom: 16px;
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-panel--setup {
  border-color: rgba(181, 125, 64, 0.22);
  background: linear-gradient(180deg, rgba(10, 18, 20, 0.88), rgba(7, 13, 14, 0.74));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.30);
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-panel--setup .navdesk-watch-panel__top {
  border-bottom-color: rgba(181, 125, 64, 0.16);
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-setup__group {
  border-color: rgba(181, 125, 64, 0.16);
  background: rgba(5, 12, 13, 0.42);
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-setup input,
body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-setup select {
  border-color: rgba(181, 125, 64, 0.24);
  background: rgba(5, 12, 13, 0.70);
  color: rgba(240, 229, 210, 0.92);
}

@media (max-width: 1260px) {
  .navdesk-watch-page .navdesk-watch-setup--professional {
    grid-template-columns: 1fr 1fr !important;
  }

  .navdesk-watch-page .navdesk-watch-setup__group--rotation {
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .navdesk-watch-page .navdesk-watch-panel--setup .navdesk-watch-panel__top {
    grid-template-columns: 1fr;
  }

  .navdesk-watch-page #watchSetupApply {
    width: 100%;
  }

  .navdesk-watch-page .navdesk-watch-setup--professional {
    grid-template-columns: 1fr !important;
  }

  .navdesk-watch-page .navdesk-watch-setup__group--rotation {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .navdesk-watch-page .navdesk-watch-panel--setup {
    border-radius: 14px;
  }

  .navdesk-watch-page .navdesk-watch-panel--setup .navdesk-watch-panel__top,
  .navdesk-watch-page .navdesk-watch-setup--professional {
    padding-inline: 12px;
  }

  .navdesk-watch-page .navdesk-watch-setup__row--period,
  .navdesk-watch-page .navdesk-watch-setup__group--crew,
  .navdesk-watch-page .navdesk-watch-setup__group--rotation {
    grid-template-columns: 1fr;
  }

  .navdesk-watch-page .navdesk-watch-setup-note {
    margin-inline: 12px;
  }

  .navdesk-watch-page .navdesk-watch-manual,
  .navdesk-watch-page .navdesk-watch-schedule,
  .navdesk-watch-page .navdesk-watch-rest {
    margin-inline: 12px;
  }
}

/* === Watch setup professional card layer 20260527 === */
.navdesk-watch-page .navdesk-watch-panel--setup {
  padding: 0;
  overflow: hidden;
  border-color: rgba(16, 36, 58, 0.10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 250, 251, 0.76));
  box-shadow: 0 14px 34px rgba(16, 36, 58, 0.07);
}

.navdesk-watch-page .navdesk-watch-panel--setup .navdesk-watch-panel__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  margin: 0;
  padding: 15px 16px 12px;
  border-bottom: 1px solid rgba(16, 36, 58, 0.08);
}

.navdesk-watch-page .navdesk-watch-panel--setup .navdesk-watch-panel__top h3 {
  margin: 0;
}

.navdesk-watch-page #watchSetupApply {
  min-width: 164px;
  min-height: 44px;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(16, 36, 58, 0.14);
}

.navdesk-watch-page .navdesk-watch-setup--professional {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr) !important;
  gap: 10px;
  padding: 14px 16px 0;
}

.navdesk-watch-page .navdesk-watch-setup__group {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  min-width: 0;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
}

.navdesk-watch-page .navdesk-watch-setup__group--passage {
  grid-column: 1 / -1;
}

.navdesk-watch-page .navdesk-watch-setup__group-head {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 100%;
  padding-right: 10px;
  border-right: 1px solid rgba(16, 36, 58, 0.08);
}

.navdesk-watch-page .navdesk-watch-setup__group-head span {
  color: rgba(16, 36, 58, 0.44);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.navdesk-watch-page .navdesk-watch-setup__group-head h4 {
  margin: 0;
  color: #10243a;
  font-size: 0.88rem;
  line-height: 1.15;
}

.navdesk-watch-page .navdesk-watch-setup__row {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.navdesk-watch-page .navdesk-watch-setup__row--passage {
  grid-template-columns:
    minmax(260px, 1.42fr)
    minmax(130px, 0.72fr)
    minmax(110px, 0.58fr)
    minmax(76px, 0.38fr)
    minmax(76px, 0.38fr)
    minmax(118px, 0.60fr);
}

.navdesk-watch-page .navdesk-watch-setup__row--crew {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.navdesk-watch-page .navdesk-watch-setup__row--rotation {
  grid-template-columns:
    minmax(110px, 0.74fr)
    minmax(140px, 0.92fr)
    minmax(150px, 1fr)
    minmax(112px, 0.72fr)
    minmax(112px, 0.72fr);
}

.navdesk-watch-page .navdesk-watch-setup--professional .navdesk-watch-setup__route,
.navdesk-watch-page .navdesk-watch-setup--professional .navdesk-watch-setup__wide {
  grid-column: 1 / -1;
}

.navdesk-watch-page .navdesk-watch-setup--professional label {
  min-width: 0;
}

.navdesk-watch-page .navdesk-watch-setup--professional span {
  min-height: 16px;
  color: rgba(16, 36, 58, 0.66);
  font-size: 0.73rem;
  letter-spacing: 0.01em;
}

.navdesk-watch-page .navdesk-watch-setup--professional .navdesk-watch-setup__group-head span {
  min-height: 0;
  color: rgba(16, 36, 58, 0.44);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.navdesk-watch-page .navdesk-watch-setup--professional input,
.navdesk-watch-page .navdesk-watch-setup--professional select {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border-color: rgba(16, 36, 58, 0.15);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.90);
}

.navdesk-watch-page .navdesk-watch-setup-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px 14px;
}

.navdesk-watch-page .navdesk-watch-panel--setup .navdesk-watch-setup-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(16, 36, 58, 0.06);
  background: rgba(16, 36, 58, 0.035);
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-panel--setup {
  border-color: rgba(181, 125, 64, 0.20);
  background: linear-gradient(180deg, rgba(10, 18, 20, 0.86), rgba(6, 12, 13, 0.78));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.30);
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-panel--setup .navdesk-watch-panel__top {
  border-bottom-color: rgba(181, 125, 64, 0.16);
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-setup__group {
  border-color: rgba(181, 125, 64, 0.16);
  background: rgba(5, 12, 13, 0.42);
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-setup__group-head {
  border-right-color: rgba(181, 125, 64, 0.14);
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-setup__group-head span,
body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-setup__group-head h4 {
  color: rgba(240, 229, 210, 0.86);
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-setup--professional input,
body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-setup--professional select {
  border-color: rgba(181, 125, 64, 0.22);
  background: rgba(5, 12, 13, 0.72);
  color: rgba(240, 229, 210, 0.92);
}

@media (max-width: 1180px) {
  .navdesk-watch-page .navdesk-watch-setup--professional {
    grid-template-columns: 1fr !important;
  }

  .navdesk-watch-page .navdesk-watch-setup__group--passage {
    grid-column: auto;
  }

  .navdesk-watch-page .navdesk-watch-setup__row--passage,
  .navdesk-watch-page .navdesk-watch-setup__row--rotation {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .navdesk-watch-page .navdesk-watch-panel--setup .navdesk-watch-panel__top {
    grid-template-columns: 1fr;
  }

  .navdesk-watch-page #watchSetupApply {
    width: 100%;
  }

  .navdesk-watch-page .navdesk-watch-setup-footer {
    grid-template-columns: 1fr;
    padding: 10px 12px 12px;
  }

  .navdesk-watch-page .navdesk-watch-setup--professional {
    padding: 12px 12px 0;
  }

  .navdesk-watch-page .navdesk-watch-setup__group {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .navdesk-watch-page .navdesk-watch-setup__group-head {
    display: flex;
    gap: 8px;
    align-items: baseline;
    padding: 0 0 7px;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 36, 58, 0.08);
  }

  .navdesk-watch-page .navdesk-watch-setup__row--passage,
  .navdesk-watch-page .navdesk-watch-setup__row--crew,
  .navdesk-watch-page .navdesk-watch-setup__row--rotation {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 460px) {
  .navdesk-watch-page .navdesk-watch-setup__row--passage,
  .navdesk-watch-page .navdesk-watch-setup__row--crew,
  .navdesk-watch-page .navdesk-watch-setup__row--rotation {
    grid-template-columns: 1fr;
  }
}

/* === Watch setup final layout reconcile 20260527 === */
.navdesk-watch-page .navdesk-watch-panel--setup .navdesk-watch-panel__top {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.navdesk-watch-page .navdesk-watch-setup--professional {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr) !important;
  gap: 10px;
}

.navdesk-watch-page .navdesk-watch-setup--professional .navdesk-watch-setup__group {
  grid-template-columns: 1fr !important;
  gap: 9px;
}

.navdesk-watch-page .navdesk-watch-setup--professional .navdesk-watch-setup__group-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 0;
  padding: 0 0 8px;
  border-right: 0;
  border-bottom: 1px solid rgba(16, 36, 58, 0.08);
}

body.navdesk-theme-night .navdesk-watch-page .navdesk-watch-setup--professional .navdesk-watch-setup__group-head {
  border-bottom-color: rgba(181, 125, 64, 0.14);
}

.navdesk-watch-page .navdesk-watch-setup__group--passage {
  grid-column: 1 / -1;
}

.navdesk-watch-page .navdesk-watch-setup__row--passage {
  grid-template-columns:
    minmax(220px, 1.44fr)
    minmax(122px, 0.78fr)
    minmax(104px, 0.66fr)
    minmax(76px, 0.44fr)
    minmax(76px, 0.44fr)
    minmax(112px, 0.68fr);
}

.navdesk-watch-page .navdesk-watch-setup__row--passage .navdesk-watch-setup__route {
  grid-column: auto;
}

.navdesk-watch-page .navdesk-watch-setup__row--crew {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.navdesk-watch-page .navdesk-watch-setup__row--crew .navdesk-watch-setup__wide {
  grid-column: 1 / -1;
}

.navdesk-watch-page .navdesk-watch-setup__row--rotation {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.navdesk-watch-page .navdesk-watch-setup__row--rotation label {
  min-width: 0;
}

.navdesk-watch-page .navdesk-watch-setup--professional #watchType,
.navdesk-watch-page .navdesk-watch-setup--professional #watchKeeperMode,
.navdesk-watch-page .navdesk-watch-setup--professional #watchKeeperFrom,
.navdesk-watch-page .navdesk-watch-setup--professional #watchKeeperTo {
  min-width: 0;
}

.navdesk-watch-page .navdesk-watch-setup-footer .navdesk-watch-setup-note {
  margin: 0;
}

@media (max-width: 1180px) {
  .navdesk-watch-page .navdesk-watch-setup--professional {
    grid-template-columns: 1fr !important;
  }

  .navdesk-watch-page .navdesk-watch-setup__row--passage,
  .navdesk-watch-page .navdesk-watch-setup__row--rotation {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .navdesk-watch-page .navdesk-watch-panel--setup .navdesk-watch-panel__top {
    grid-template-columns: 1fr;
  }

  .navdesk-watch-page .navdesk-watch-setup__row--passage,
  .navdesk-watch-page .navdesk-watch-setup__row--crew,
  .navdesk-watch-page .navdesk-watch-setup__row--rotation {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 460px) {
  .navdesk-watch-page .navdesk-watch-setup__row--passage,
  .navdesk-watch-page .navdesk-watch-setup__row--crew,
  .navdesk-watch-page .navdesk-watch-setup__row--rotation {
    grid-template-columns: 1fr !important;
  }
}

/* === NavDesk tides weekly graph / print 20260527 === */
.navdesk-weekly {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(27, 55, 88, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(17, 36, 58, 0.06);
  overflow: hidden;
}

.navdesk-weekly[hidden] {
  display: none !important;
}

.navdesk-weekly__print-title {
  display: none;
}

.navdesk-weekly__head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}

.navdesk-weekly__title,
.navdesk-weekly__meta,
.navdesk-weekly__summary p,
.navdesk-weekly__source {
  margin: 0;
}

.navdesk-weekly__title {
  color: var(--color-brand);
  font-size: 1.2rem;
  line-height: 1.15;
}

.navdesk-weekly__meta,
.navdesk-weekly__source {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.42;
}

.navdesk-weekly__settings,
.navdesk-weekly__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.navdesk-weekly__chip,
.navdesk-weekly__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 7px 9px;
  border: 1px solid rgba(27, 55, 88, 0.10);
  border-radius: 10px;
  background: rgba(27, 55, 88, 0.04);
  color: var(--color-brand);
  font-size: 0.86rem;
  line-height: 1.25;
}

.navdesk-weekly__chip strong {
  color: var(--color-brand);
}

.navdesk-weekly__summary {
  display: grid;
  gap: 5px;
  color: var(--color-brand);
  font-size: 0.92rem;
  line-height: 1.42;
}

.navdesk-weekly__chart {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(27, 55, 88, 0.10);
  border-radius: 14px;
  background: #ffffff;
}

.navdesk-weekly__svg {
  display: block;
  width: 100%;
  min-width: 980px;
  height: auto;
}

.navdesk-weekly__legend-mark {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: #235f85;
  flex: 0 0 auto;
}

.navdesk-weekly__legend-item.is-required .navdesk-weekly__legend-mark {
  border-top: 2px dashed #7a4c19;
  background: transparent;
}

.navdesk-weekly__legend-item.is-safe .navdesk-weekly__legend-mark {
  height: 10px;
  background: rgba(42, 122, 77, 0.22);
}

.navdesk-weekly__legend-item.is-below .navdesk-weekly__legend-mark {
  height: 10px;
  background: rgba(166, 83, 44, 0.22);
}

.navdesk-weekly__legend-item.is-marker .navdesk-weekly__legend-mark {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #235f85;
}

.navdesk-weekly-svg__paper {
  fill: #ffffff;
}

.navdesk-weekly-svg__grid,
.navdesk-weekly-svg__day {
  stroke: rgba(27, 55, 88, 0.12);
  stroke-width: 1;
}

.navdesk-weekly-svg__day {
  stroke-dasharray: 3 7;
}

.navdesk-weekly-svg__safe-band {
  fill: rgba(42, 122, 77, 0.12);
}

.navdesk-weekly-svg__below-band {
  fill: rgba(166, 83, 44, 0.13);
}

.navdesk-weekly-svg__available {
  fill: none;
  stroke: #235f85;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.navdesk-weekly-svg__required {
  stroke: #7a4c19;
  stroke-width: 2;
  stroke-dasharray: 8 7;
}

.navdesk-weekly-svg__marker {
  fill: #ffffff;
  stroke: #235f85;
  stroke-width: 2;
}

.navdesk-weekly-svg__marker.is-low {
  stroke: #6b7785;
}

.navdesk-weekly-svg__axis,
.navdesk-weekly-svg__date,
.navdesk-weekly-svg__required-label,
.navdesk-weekly-svg__marker-label,
.navdesk-weekly-svg__caption {
  fill: rgba(16, 36, 58, 0.72);
  font: 600 12px/1.2 Inter, system-ui, sans-serif;
}

.navdesk-weekly-svg__required-label,
.navdesk-weekly-svg__caption {
  fill: #10243a;
  font-weight: 800;
}

.navdesk-weekly-svg__marker-label {
  font-size: 10px;
  fill: rgba(16, 36, 58, 0.64);
}

body.navdesk-theme-night .navdesk-weekly {
  background: rgba(8, 15, 16, 0.76) !important;
  border-color: rgba(181, 125, 64, 0.22) !important;
  box-shadow: none;
}

body.navdesk-theme-night .navdesk-weekly__title,
body.navdesk-theme-night .navdesk-weekly__summary,
body.navdesk-theme-night .navdesk-weekly__chip,
body.navdesk-theme-night .navdesk-weekly__chip strong,
body.navdesk-theme-night .navdesk-weekly__legend-item {
  color: rgba(232, 215, 186, 0.88) !important;
}

body.navdesk-theme-night .navdesk-weekly__meta,
body.navdesk-theme-night .navdesk-weekly__source {
  color: rgba(222, 206, 178, 0.68) !important;
}

body.navdesk-theme-night .navdesk-weekly__chip,
body.navdesk-theme-night .navdesk-weekly__legend-item,
body.navdesk-theme-night .navdesk-weekly__chart {
  background: rgba(5, 10, 11, 0.64) !important;
  border-color: rgba(181, 125, 64, 0.22) !important;
}

body.navdesk-theme-night .navdesk-weekly-svg__paper {
  fill: #081011;
}

body.navdesk-theme-night .navdesk-weekly-svg__grid,
body.navdesk-theme-night .navdesk-weekly-svg__day {
  stroke: rgba(222, 206, 178, 0.16);
}

body.navdesk-theme-night .navdesk-weekly-svg__safe-band {
  fill: rgba(74, 128, 85, 0.16);
}

body.navdesk-theme-night .navdesk-weekly-svg__below-band {
  fill: rgba(181, 125, 64, 0.16);
}

body.navdesk-theme-night .navdesk-weekly-svg__available {
  stroke: #7aa3b9;
}

body.navdesk-theme-night .navdesk-weekly-svg__required {
  stroke: #d4a35d;
}

body.navdesk-theme-night .navdesk-weekly-svg__marker {
  fill: #081011;
  stroke: #7aa3b9;
}

body.navdesk-theme-night .navdesk-weekly-svg__marker.is-low {
  stroke: #b8aa93;
}

body.navdesk-theme-night .navdesk-weekly-svg__axis,
body.navdesk-theme-night .navdesk-weekly-svg__date,
body.navdesk-theme-night .navdesk-weekly-svg__required-label,
body.navdesk-theme-night .navdesk-weekly-svg__marker-label,
body.navdesk-theme-night .navdesk-weekly-svg__caption {
  fill: rgba(232, 215, 186, 0.76);
}

@media (max-width: 720px) {
  .navdesk-weekly {
    padding: 14px;
    border-radius: 16px;
  }

  .navdesk-weekly__head {
    display: grid;
    gap: 10px;
  }

  .navdesk-weekly__print {
    width: 100%;
    justify-content: center;
  }

  .navdesk-weekly__svg {
    min-width: 900px;
  }
}

/* === NavDesk MVP polish 20260527 === */
body.navdesk-theme-night .navdesk-dashboard {
  gap: 12px;
}

body.navdesk-theme-night .navdesk-tool-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(181, 125, 64, 0.10), transparent 30%),
    linear-gradient(145deg, rgba(13, 24, 27, 0.98), rgba(8, 15, 17, 0.94)) !important;
  border-color: rgba(181, 125, 64, 0.20) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26) !important;
}

body.navdesk-theme-night .navdesk-tool-card:hover,
body.navdesk-theme-night .navdesk-tool-card:focus-visible {
  border-color: rgba(214, 155, 82, 0.34) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34) !important;
}

body.navdesk-theme-night .navdesk-tool-card::before {
  opacity: 0.82;
}

body.navdesk-theme-night .navdesk-tool-card::after {
  background: rgba(8, 16, 18, 0.78) !important;
  border-color: rgba(181, 125, 64, 0.26) !important;
  color: rgba(232, 205, 166, 0.72) !important;
  box-shadow: inset 0 1px 0 rgba(232, 215, 186, 0.05);
}

body.navdesk-theme-night .navdesk-tool-card__kicker {
  background: rgba(181, 125, 64, 0.12) !important;
  color: rgba(232, 205, 166, 0.78) !important;
}

body.navdesk-theme-night .navdesk-tool-card strong {
  color: #ead6b7 !important;
}

body.navdesk-theme-night .navdesk-tool-card span:last-child {
  color: rgba(222, 206, 178, 0.64) !important;
}

body.navdesk-theme-night .navdesk-ukv-page .navdesk-ukv-spelling__result {
  background:
    linear-gradient(180deg, rgba(6, 13, 15, 0.92), rgba(5, 10, 11, 0.88)) !important;
  border-color: rgba(181, 125, 64, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(232, 215, 186, 0.04) !important;
}

body.navdesk-theme-night .navdesk-ukv-page .navdesk-ukv-flagchip,
body.navdesk-theme-night .navdesk-ukv-page .navdesk-ukv-spelling__result .navdesk-ukv-flagchip {
  background:
    linear-gradient(180deg, rgba(14, 28, 32, 0.96), rgba(8, 17, 19, 0.94)) !important;
  border-color: rgba(181, 125, 64, 0.28) !important;
  color: rgba(237, 218, 188, 0.88) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22) !important;
}

body.navdesk-theme-night .navdesk-ukv-page .navdesk-ukv-flagchip__word {
  color: rgba(237, 218, 188, 0.90) !important;
}

body.navdesk-theme-night .navdesk-ukv-page .navdesk-ukv-flagchip__flag,
body.navdesk-theme-night .navdesk-ukv-page .navdesk-ukv-spelling__result .navdesk-ukv-flagchip__flag {
  border-color: rgba(4, 10, 11, 0.86) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.26),
    0 0 0 1px rgba(181, 125, 64, 0.18) !important;
}

body.navdesk-theme-night .navdesk-ukv-page .navdesk-ukv-flagspelling__sep,
body.navdesk-theme-night .navdesk-ukv-page .navdesk-ukv-flagspelling__empty {
  color: rgba(222, 206, 178, 0.52) !important;
}

/* === UKV night radio spelling tokens 20260527-01 === */
body.navdesk-theme-night .navdesk-ukv-spelling__result .navdesk-ukv-flagchip {
  align-items: center;
  min-height: 32px;
  background:
    linear-gradient(180deg, rgba(14, 28, 32, 0.98), rgba(7, 16, 18, 0.96)) !important;
  border-color: rgba(210, 154, 92, 0.32) !important;
  color: rgba(242, 224, 196, 0.92) !important;
  box-shadow:
    inset 0 1px 0 rgba(242, 224, 196, 0.05),
    0 6px 14px rgba(0, 0, 0, 0.22) !important;
}

body.navdesk-theme-night .navdesk-ukv-spelling__result .navdesk-ukv-flagchip__flag {
  flex: 0 0 auto;
  width: 30px;
  height: 24px;
  min-width: 30px;
  min-height: 24px;
  line-height: 1;
  border-color: rgba(3, 9, 10, 0.88) !important;
}

body.navdesk-theme-night .navdesk-ukv-spelling__result .navdesk-ukv-flagchip__word {
  color: rgba(242, 224, 196, 0.94) !important;
  line-height: 1.15;
}

body.navdesk-theme-night .navdesk-ukv-spelling__result .navdesk-ukv-flagspelling__sep {
  align-items: center;
  min-height: 32px;
  color: rgba(222, 206, 178, 0.56) !important;
}

@media (max-width: 900px) {
  .navdesk-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .navdesk-tool-grid {
    grid-template-columns: 1fr;
  }

  body.navdesk-theme-night .navdesk-tool-card {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24) !important;
  }

  .navdesk-ukv-spelling__result {
    gap: 5px;
    padding: 12px;
  }

  .navdesk-ukv-spelling__result .navdesk-ukv-flagchip {
    gap: 6px;
    padding: 4px 8px 4px 5px;
  }
}

@media print {
  @page navdesk-tides-weekly {
    size: A4 landscape;
    margin: 8mm 9mm;
  }

  body.navdesk-tides-printing {
    page: navdesk-tides-weekly;
    background: #ffffff !important;
    color: #10243a !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body.navdesk-tides-printing * {
    visibility: hidden !important;
  }

  body.navdesk-tides-printing .navdesk-weekly,
  body.navdesk-tides-printing .navdesk-weekly * {
    visibility: visible !important;
  }

  body.navdesk-tides-printing .navdesk-header-card,
  body.navdesk-tides-printing .navdesk-hero,
  body.navdesk-tides-printing .footer,
  body.navdesk-tides-printing .navdesk-modal,
  body.navdesk-tides-printing .navdesk-tides__grid,
  body.navdesk-tides-printing .navdesk-calc__actions,
  body.navdesk-tides-printing .navdesk-results__meta,
  body.navdesk-tides-printing .navdesk-window-card,
  body.navdesk-tides-printing .navdesk-table-section,
  body.navdesk-tides-printing .navdesk-card-toolbar,
  body.navdesk-tides-printing .navdesk-card-toggle,
  body.navdesk-tides-printing .navdesk-card-shell > .section-heading {
    display: none !important;
  }

  body.navdesk-tides-printing .site-shell,
  body.navdesk-tides-printing .navdesk-page,
  body.navdesk-tides-printing .navdesk-main,
  body.navdesk-tides-printing #navdesk-tides-print-section,
  body.navdesk-tides-printing .navdesk-tool-section,
  body.navdesk-tides-printing .navdesk-card,
  body.navdesk-tides-printing .navdesk-card-shell,
  body.navdesk-tides-printing .navdesk-card-body,
  body.navdesk-tides-printing .navdesk-tides,
  body.navdesk-tides-printing .navdesk-results {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  body.navdesk-tides-printing .navdesk-weekly {
    page: navdesk-tides-weekly;
    display: block !important;
    position: static !important;
    width: 279mm !important;
    max-width: 279mm !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #10243a !important;
    overflow: visible !important;
  }

  body.navdesk-tides-printing .navdesk-weekly__print-title {
    display: block !important;
    margin: 0 0 3.5mm !important;
    padding-bottom: 2.4mm !important;
    border-bottom: 1px solid rgba(16, 36, 58, 0.18) !important;
    color: #10243a !important;
    font: 800 13.5pt/1.16 Inter, Arial, sans-serif !important;
  }

  body.navdesk-tides-printing .navdesk-weekly__head {
    display: block !important;
    margin-bottom: 3mm !important;
  }

  body.navdesk-tides-printing .navdesk-window-card__eyebrow {
    color: rgba(16, 36, 58, 0.62) !important;
    font-size: 8pt !important;
  }

  body.navdesk-tides-printing .navdesk-weekly__title {
    color: #10243a !important;
    font-size: 12.5pt !important;
  }

  body.navdesk-tides-printing .navdesk-weekly__meta,
  body.navdesk-tides-printing .navdesk-weekly__source,
  body.navdesk-tides-printing .navdesk-weekly__summary {
    color: rgba(16, 36, 58, 0.82) !important;
    font-size: 8pt !important;
    line-height: 1.28 !important;
  }

  body.navdesk-tides-printing .navdesk-weekly__print {
    display: none !important;
  }

  body.navdesk-tides-printing .navdesk-weekly__settings,
  body.navdesk-tides-printing .navdesk-weekly__legend {
    gap: 4px !important;
    margin: 2.2mm 0 !important;
  }

  body.navdesk-tides-printing .navdesk-weekly__chip,
  body.navdesk-tides-printing .navdesk-weekly__legend-item {
    padding: 1.5mm 2mm !important;
    border-radius: 2mm !important;
    background: rgba(27, 55, 88, 0.04) !important;
    color: #10243a !important;
    font-size: 7.5pt !important;
  }

  body.navdesk-tides-printing .navdesk-weekly__chart {
    overflow: visible !important;
    margin: 3mm 0 2.2mm !important;
    border-color: rgba(16, 36, 58, 0.16) !important;
    background: #ffffff !important;
  }

  body.navdesk-tides-printing .navdesk-weekly__svg {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: 96mm !important;
  }

body.navdesk-tides-printing .navdesk-weekly-svg__paper {
    fill: #ffffff !important;
  }
}

/* === NavDesk main-page card hierarchy polish 20260527 === */
@media (min-width: 1181px) {
  .navdesk-tool-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
  }

  .navdesk-tool-card {
    min-height: 156px;
    padding: 17px 58px 17px 18px;
  }

  .navdesk-tool-card--simple,
  .navdesk-tool-card--calc,
  .navdesk-tool-card--route-link {
    grid-column: span 4;
  }

  .navdesk-tool-card--cashbox,
  .navdesk-tool-card--operations,
  .navdesk-tool-card--learning {
    grid-column: span 4;
    min-height: 142px;
  }

  .navdesk-tool-card--cashbox { grid-column: 1 / span 4; grid-row: 1; }
  .navdesk-tool-card--simple { grid-column: 5 / span 4; grid-row: 1; }
  .navdesk-tool-card--calc { grid-column: 9 / span 4; grid-row: 1; }
  .navdesk-tool-card--route-link { grid-column: 1 / span 4; grid-row: 2; }
  .navdesk-tool-card--operations { grid-column: 5 / span 4; grid-row: 2; }
  .navdesk-tool-card--learning { grid-column: 9 / span 4; grid-row: 2; }
}

.navdesk-tool-card--cashbox {
  border-color: rgba(54, 112, 86, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(228, 243, 235, 0.92)),
    #fff;
  box-shadow: 0 18px 42px rgba(24, 61, 45, 0.12);
}

.navdesk-tool-card--cashbox:hover,
.navdesk-tool-card--cashbox:focus-visible {
  border-color: rgba(54, 112, 86, 0.4);
  box-shadow: 0 22px 48px rgba(24, 61, 45, 0.16);
}

.navdesk-tool-card--cashbox .navdesk-tool-card__kicker {
  background: rgba(54, 112, 86, 0.12);
  color: rgba(24, 61, 45, 0.88);
}

body.navdesk-theme-night .navdesk-tool-card--cashbox {
  background: linear-gradient(160deg, rgba(20, 30, 40, 0.95), rgba(18, 40, 33, 0.96));
  border-color: rgba(90, 168, 126, 0.28);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

body.navdesk-theme-night .navdesk-tool-card--cashbox .navdesk-tool-card__kicker {
  background: rgba(90, 168, 126, 0.12);
  color: rgba(203, 235, 217, 0.92);
}

@media (min-width: 721px) and (max-width: 1180px) {
  .navdesk-tool-grid {
    gap: 12px;
  }

  .navdesk-tool-card--cashbox { order: 1; }
  .navdesk-tool-card--simple { order: 2; }
  .navdesk-tool-card--calc { order: 3; }
  .navdesk-tool-card--route-link { order: 4; }
  .navdesk-tool-card--operations { order: 5; }
  .navdesk-tool-card--learning { order: 6; }

  .navdesk-tool-card {
    min-height: 140px;
    padding: 16px 56px 16px 17px;
  }
}

@media (max-width: 720px) {
  .navdesk-dashboard {
    gap: 12px;
  }

  .navdesk-dashboard__heading h2 {
    font-size: clamp(1.65rem, 7.2vw, 2.08rem);
    line-height: 1.02;
  }

  .navdesk-tool-card {
    gap: 8px;
    min-height: 132px;
    padding-right: 54px;
  }

  .navdesk-tool-card--cashbox {
    order: -1;
  }
}

/* === NavDesk hub visual reconcile 20260530 === */
.navdesk-header-card {
  width: 100%;
  max-width: none;
  margin: 0 0 16px;
  padding: 16px;
}

.navdesk-header-card .topbar.topbar--site-menu .topbar__actions {
  align-items: center !important;
  gap: 10px !important;
  min-height: 48px;
}

.navdesk-header-theme.navdesk-theme-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.navdesk-header-theme .navdesk-theme-switch {
  display: grid;
  grid-template-columns: repeat(2, 38px);
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 48px;
  gap: 4px;
  padding: 4px;
}

.navdesk-header-theme .navdesk-theme-switch__btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-height: 0;
  padding: 0;
  line-height: 1;
  font-family: Arial, sans-serif;
  font-size: 0;
}

.navdesk-header-theme .navdesk-theme-switch__btn::before {
  display: block;
  line-height: 1;
}

.navdesk-header-theme .navdesk-theme-switch__btn[data-navdesk-theme="day"]::before {
  content: "☀";
  font-size: 15px;
}

.navdesk-header-theme .navdesk-theme-switch__btn[data-navdesk-theme="night"]::before {
  content: "☾";
  font-size: 18px;
  transform: translateY(-1px);
}

.navdesk-tool-grid {
  gap: 14px;
  grid-auto-rows: 1fr;
}

.navdesk-tool-card {
  min-height: 142px;
  padding: 18px 20px;
  border-radius: 12px;
}

.navdesk-tool-card::after {
  content: none;
}

.navdesk-tool-card::before {
  width: 3px;
}

@media (min-width: 1181px) {
  .navdesk-tool-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
  }

  .navdesk-tool-card,
  .navdesk-tool-card--cashbox,
  .navdesk-tool-card--operations,
  .navdesk-tool-card--learning {
    min-height: 142px;
    padding: 18px 20px;
  }

  .navdesk-tool-card--simple,
  .navdesk-tool-card--calc,
  .navdesk-tool-card--route-link {
    grid-column: span 4;
  }

  .navdesk-tool-card--cashbox,
  .navdesk-tool-card--operations,
  .navdesk-tool-card--learning {
    grid-column: span 4;
  }

  .navdesk-tool-card--simple { grid-column: 1 / span 4; grid-row: 1; }
  .navdesk-tool-card--calc { grid-column: 5 / span 4; grid-row: 1; }
  .navdesk-tool-card--route-link { grid-column: 9 / span 4; grid-row: 1; }
  .navdesk-tool-card--cashbox { grid-column: 1 / span 4; grid-row: 2; }
  .navdesk-tool-card--operations { grid-column: 5 / span 4; grid-row: 2; }
  .navdesk-tool-card--learning { grid-column: 9 / span 4; grid-row: 2; }
}

.navdesk-layout.navdesk-layout--compact {
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  gap: 0;
  width: 100%;
}

.navdesk-layout--compact .navdesk-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.navdesk-layout--compact .navdesk-side > .navdesk-card,
.navdesk-layout--compact .navdesk-side .navdesk-card-shell {
  min-width: 0;
  height: 100%;
}

.navdesk-layout--compact .navdesk-card-shell.is-collapsed {
  display: flex;
  flex-direction: column;
  min-height: 226px;
}

.navdesk-layout--compact .navdesk-card-toggle--bottom {
  align-self: center;
  margin-top: auto;
}

body.navdesk-theme-night .footer.footer--site .footer-social-link {
  border-color: rgba(214,197,170,.16);
  background: rgba(0,0,0,.18);
  color: #e1a15c;
}

body.navdesk-theme-night .footer.footer--site .footer-social-link:hover,
body.navdesk-theme-night .footer.footer--site .footer-social-link:focus-visible {
  border-color: rgba(224,139,58,.32);
  background: rgba(224,139,58,.10);
  color: #f1c48a;
}

@media (max-width: 720px) {
  .navdesk-header-card {
    margin: 0 0 12px;
    padding: 10px 12px;
  }

  .navdesk-header-theme .navdesk-theme-switch {
    grid-template-columns: repeat(2, 36px);
    width: 80px;
    height: 46px;
    gap: 2px;
    padding: 4px;
  }

  .navdesk-header-theme .navdesk-theme-switch__btn {
    width: 36px;
    height: 36px;
  }

  .navdesk-tool-grid,
  .navdesk-layout--compact .navdesk-side {
    gap: 12px;
  }

  .navdesk-layout--compact .navdesk-side {
    grid-template-columns: 1fr;
  }

  .navdesk-tool-card {
    min-height: 132px;
    padding: 16px 17px;
  }
}

/* === NavDesk header controls final optical alignment 20260530 === */
.navdesk-header-card .topbar.topbar--site-menu .topbar__actions {
  align-items: center !important;
  gap: 12px !important;
}

.navdesk-header-card .site-menu-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  line-height: 1 !important;
}

.navdesk-header-card .site-menu-button__icon {
  display: grid !important;
  grid-template-rows: repeat(3, 2px);
  align-content: center !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 20px !important;
  height: 18px !important;
  flex: 0 0 20px !important;
  color: currentColor !important;
}

.navdesk-header-card .site-menu-button__icon span {
  display: block !important;
  width: 20px !important;
  min-width: 20px !important;
  height: 2px !important;
  border-radius: 99px !important;
  background: currentColor !important;
  opacity: 1 !important;
}

.navdesk-header-card .site-menu-button > span:last-child {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 20px !important;
  line-height: 1 !important;
  transform: translateY(0) !important;
}

.navdesk-header-theme.navdesk-theme-compact {
  height: 52px !important;
}

.navdesk-header-theme .navdesk-theme-switch {
  grid-template-columns: repeat(2, 44px) !important;
  place-items: center !important;
  width: 104px !important;
  height: 52px !important;
  gap: 6px !important;
  padding: 4px !important;
  border-radius: 999px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(237, 243, 244, 0.58)),
    rgba(255, 255, 255, 0.64) !important;
  box-shadow:
    0 14px 28px rgba(16, 36, 58, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -10px 22px rgba(16, 36, 58, 0.05) !important;
}

.navdesk-header-theme .navdesk-theme-switch__btn {
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 0 !important;
  text-align: center !important;
}

.navdesk-header-theme .navdesk-theme-switch__btn::before {
  display: block !important;
  width: 1em;
  height: 1em;
  color: currentColor;
  font-family: Arial, sans-serif;
  font-weight: 800;
  line-height: 1 !important;
  text-align: center;
}

.navdesk-header-theme .navdesk-theme-switch__btn[data-navdesk-theme="day"]::before {
  font-size: 21px !important;
  transform: translateY(0) !important;
}

.navdesk-header-theme .navdesk-theme-switch__btn[data-navdesk-theme="night"]::before {
  font-size: 25px !important;
  transform: translateY(-1px) !important;
}

body.navdesk-theme-night .navdesk-header-card .site-menu-button__icon span {
  background: currentColor !important;
}

body.navdesk-theme-night .navdesk-header-theme .navdesk-theme-switch {
  background:
    linear-gradient(180deg, rgba(16, 28, 30, 0.88), rgba(5, 12, 14, 0.82)),
    rgba(0, 0, 0, 0.22) !important;
  border-color: rgba(214, 197, 170, 0.22) !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(230, 216, 184, 0.10),
    inset 0 -12px 24px rgba(0, 0, 0, 0.20) !important;
}

@media (max-width: 720px) {
  .navdesk-header-card .topbar.topbar--site-menu .topbar__actions {
    gap: 8px !important;
  }

  .navdesk-header-card .site-menu-button {
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
  }

  .navdesk-header-card .site-menu-button > span:last-child {
    display: none !important;
  }

  .navdesk-header-card .site-menu-button__icon,
  .navdesk-header-card .site-menu-button__icon span {
    width: 19px !important;
    min-width: 19px !important;
  }

  .navdesk-header-theme.navdesk-theme-compact {
    height: 50px !important;
  }

  .navdesk-header-theme .navdesk-theme-switch {
    grid-template-columns: repeat(2, 40px) !important;
    width: 92px !important;
    height: 50px !important;
    gap: 4px !important;
  }

  .navdesk-header-theme .navdesk-theme-switch__btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  .navdesk-header-theme .navdesk-theme-switch__btn[data-navdesk-theme="day"]::before {
    font-size: 19px !important;
  }

  .navdesk-header-theme .navdesk-theme-switch__btn[data-navdesk-theme="night"]::before {
    font-size: 23px !important;
  }
}

/* === NavDesk header controls rebuild 20260530 === */
.navdesk-header-card .topbar.topbar--site-menu .topbar__actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  min-height: 54px !important;
}

.navdesk-header-card .navdesk-header-theme.navdesk-theme-compact,
.navdesk-header-card .site-menu-button {
  align-self: center !important;
  flex: 0 0 auto !important;
}

.navdesk-header-card .navdesk-header-theme.navdesk-theme-compact {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 54px !important;
}

.navdesk-header-card .navdesk-theme-switch {
  --navdesk-control-track: rgba(7, 16, 18, 0.82);
  --navdesk-control-line: rgba(214, 197, 170, 0.24);
  --navdesk-control-ink: #ead6b7;
  --navdesk-control-active: #8c352e;
  --navdesk-control-active-2: #6f2722;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 112px !important;
  height: 54px !important;
  padding: 5px !important;
  gap: 6px !important;
  border: 1px solid var(--navdesk-control-line) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(180deg, rgba(18, 30, 32, 0.92), rgba(4, 11, 13, 0.88)),
    var(--navdesk-control-track) !important;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(230, 216, 184, 0.10),
    inset 0 -12px 24px rgba(0, 0, 0, 0.18) !important;
}

.navdesk-header-card .navdesk-theme-switch__btn {
  --navdesk-theme-btn-bg: transparent;
  position: relative !important;
  display: block !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  height: 42px !important;
  min-width: 46px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--navdesk-theme-btn-bg) !important;
  color: var(--navdesk-control-ink) !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-shadow: none !important;
}

.navdesk-header-card .navdesk-theme-switch__btn.is-active {
  --navdesk-theme-btn-bg: linear-gradient(180deg, var(--navdesk-control-active), var(--navdesk-control-active-2));
  color: #f5dfc2 !important;
  box-shadow:
    0 10px 18px rgba(105, 35, 30, 0.34),
    inset 0 1px 0 rgba(255, 239, 213, 0.12) !important;
}

.navdesk-header-card .navdesk-theme-switch__btn::before,
.navdesk-header-card .navdesk-theme-switch__btn::after {
  content: "" !important;
  position: absolute !important;
  pointer-events: none;
}

.navdesk-header-card .navdesk-theme-switch__btn[data-navdesk-theme="day"]::before {
  left: 50% !important;
  top: 50% !important;
  width: 11px !important;
  height: 11px !important;
  border: 2px solid currentColor !important;
  border-radius: 50% !important;
  background: transparent !important;
  transform: translate(-50%, -50%) !important;
}

.navdesk-header-card .navdesk-theme-switch__btn[data-navdesk-theme="day"]::after {
  left: 50% !important;
  top: 50% !important;
  width: 3px !important;
  height: 3px !important;
  border-radius: 50% !important;
  background: currentColor !important;
  transform: translate(-50%, -50%) !important;
  box-shadow:
    0 -13px 0 currentColor,
    0 13px 0 currentColor,
    13px 0 0 currentColor,
    -13px 0 0 currentColor,
    9px 9px 0 currentColor,
    -9px 9px 0 currentColor,
    9px -9px 0 currentColor,
    -9px -9px 0 currentColor !important;
}

.navdesk-header-card .navdesk-theme-switch__btn[data-navdesk-theme="night"]::before {
  left: 50% !important;
  top: 50% !important;
  width: 19px !important;
  height: 19px !important;
  border-radius: 50% !important;
  background: currentColor !important;
  transform: translate(-50%, -50%) !important;
}

.navdesk-header-card .navdesk-theme-switch__btn[data-navdesk-theme="night"]::after {
  left: calc(50% + 6px) !important;
  top: calc(50% - 2px) !important;
  width: 17px !important;
  height: 17px !important;
  border-radius: 50% !important;
  background: var(--navdesk-control-active) !important;
  transform: translate(-50%, -50%) !important;
}

.navdesk-header-card .navdesk-theme-switch__btn[data-navdesk-theme="night"]:not(.is-active)::after {
  background: #071012 !important;
}

.navdesk-header-card .site-menu-button {
  position: relative !important;
  display: inline-grid !important;
  grid-template-columns: 22px auto !important;
  align-items: center !important;
  justify-content: center !important;
  column-gap: 10px !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  line-height: 1 !important;
}

.navdesk-header-card .site-menu-button__icon {
  position: relative !important;
  display: block !important;
  width: 22px !important;
  height: 18px !important;
  flex: 0 0 22px !important;
}

.navdesk-header-card .site-menu-button__icon span {
  position: absolute !important;
  left: 50% !important;
  display: block !important;
  width: 22px !important;
  min-width: 22px !important;
  height: 2px !important;
  border-radius: 99px !important;
  background: currentColor !important;
  opacity: 1 !important;
  transform: translateX(-50%) !important;
}

.navdesk-header-card .site-menu-button__icon span:nth-child(1) {
  top: 2px !important;
}

.navdesk-header-card .site-menu-button__icon span:nth-child(2) {
  top: 8px !important;
}

.navdesk-header-card .site-menu-button__icon span:nth-child(3) {
  top: 14px !important;
}

.navdesk-header-card .site-menu-button > span:last-child {
  display: block !important;
  min-height: 0 !important;
  line-height: 1 !important;
  transform: translateY(0) !important;
}

@media (max-width: 720px) {
  .navdesk-header-card .topbar.topbar--site-menu .topbar__actions {
    gap: 8px !important;
    min-height: 50px !important;
  }

  .navdesk-header-card .navdesk-header-theme.navdesk-theme-compact {
    height: 50px !important;
  }

  .navdesk-header-card .navdesk-theme-switch {
    width: 96px !important;
    height: 50px !important;
    padding: 5px !important;
    gap: 4px !important;
  }

  .navdesk-header-card .navdesk-theme-switch__btn {
    flex-basis: 41px !important;
    width: 41px !important;
    height: 40px !important;
    min-width: 41px !important;
    min-height: 40px !important;
  }

  .navdesk-header-card .site-menu-button {
    grid-template-columns: 22px !important;
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
  }

  .navdesk-header-card .site-menu-button > span:last-child {
    display: none !important;
  }
}

/* === Mobile heading calm layer 20260530 === */
@media (max-width: 720px) {
  .navdesk-page h1,
  .navdesk-page h2,
  .navdesk-page h3,
  .navdesk-hero__heading h1,
  .navdesk-dashboard__heading h2,
  .navdesk-card-shell > .section-heading h2,
  .navdesk-side .section-heading h2,
  .navdesk-main .section-heading h2,
  .navdesk-watch-page .navdesk-watch-heading h2,
  .navdesk-window-card__title {
    max-width: 100% !important;
    font-weight: 720 !important;
    letter-spacing: 0 !important;
    line-height: 1.12 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: auto !important;
    text-wrap: balance;
  }

  .navdesk-hero__heading h1 {
    font-size: clamp(1.82rem, 7.6vw, 2.35rem) !important;
  }

  .navdesk-dashboard__heading h2 {
    font-size: clamp(1.62rem, 6.6vw, 2.05rem) !important;
  }

  .navdesk-card-shell > .section-heading h2,
  .navdesk-side .section-heading h2,
  .navdesk-main .section-heading h2,
  .navdesk-watch-page .navdesk-watch-heading h2 {
    font-size: clamp(1.34rem, 5.8vw, 1.72rem) !important;
  }

  .navdesk-tool-card strong {
    font-size: 1rem !important;
    line-height: 1.24 !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
  }
}

@media (max-width: 390px) {
  .navdesk-hero__heading h1 {
    font-size: clamp(1.68rem, 7vw, 2.08rem) !important;
  }

  .navdesk-dashboard__heading h2 {
    font-size: clamp(1.48rem, 6.1vw, 1.82rem) !important;
  }

  .navdesk-card-shell > .section-heading h2,
  .navdesk-side .section-heading h2,
  .navdesk-main .section-heading h2,
  .navdesk-watch-page .navdesk-watch-heading h2 {
    font-size: clamp(1.22rem, 5.3vw, 1.52rem) !important;
  }
}

/* === Unified site menu button override for NavDesk 20260531 === */
.navdesk-header-card .site-menu-button {
  --site-menu-button-height: 54px;
  --site-menu-button-icon: 20px;
  appearance: none;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  gap: 10px !important;
  width: auto !important;
  min-width: 0 !important;
  height: var(--site-menu-button-height) !important;
  min-height: var(--site-menu-button-height) !important;
  padding: 0 22px !important;
  box-sizing: border-box !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
  transform: none !important;
}

.navdesk-header-card .site-menu-button__icon {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 var(--site-menu-button-icon) !important;
  width: var(--site-menu-button-icon) !important;
  min-width: var(--site-menu-button-icon) !important;
  height: var(--site-menu-button-icon) !important;
  min-height: var(--site-menu-button-icon) !important;
  margin: 0 !important;
  color: currentColor !important;
  transform: none !important;
}

.navdesk-header-card .site-menu-button__icon span {
  position: absolute !important;
  left: 50% !important;
  display: block !important;
  width: var(--site-menu-button-icon) !important;
  min-width: var(--site-menu-button-icon) !important;
  height: 2px !important;
  border-radius: 99px !important;
  background: currentColor !important;
  opacity: 1 !important;
  transform: translate(-50%, -50%) !important;
}

.navdesk-header-card .site-menu-button__icon span:nth-child(1) {
  top: calc(50% - 6px) !important;
}

.navdesk-header-card .site-menu-button__icon span:nth-child(2) {
  top: 50% !important;
}

.navdesk-header-card .site-menu-button__icon span:nth-child(3) {
  top: calc(50% + 6px) !important;
}

.navdesk-header-card .site-menu-button > span:last-child {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 1em !important;
  min-height: 1em !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  transform: none !important;
}

@media (max-width: 720px) {
  .navdesk-header-card .site-menu-button {
    --site-menu-button-height: 50px;
    --site-menu-button-icon: 20px;
    width: 50px !important;
    min-width: 50px !important;
    padding: 0 !important;
  }

  .navdesk-header-card .site-menu-button > span:last-child {
    display: none !important;
  }
}

/* === Game promo modal 20260531 === */
body.game-promo-modal-open {
  overflow: hidden;
}

.game-promo-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.game-promo-modal.is-open {
  display: flex;
}

.game-promo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 14, .76);
  backdrop-filter: blur(12px);
}

.game-promo-modal__panel {
  position: relative;
  width: min(1180px, calc(100vw - 56px));
  max-height: min(860px, calc(100vh - 56px));
  overflow: auto;
  border: 1px solid rgba(238, 197, 128, .28);
  border-radius: 26px;
  padding: 28px;
  background:
    radial-gradient(circle at 16% 0%, rgba(126, 210, 221, .22), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(236, 183, 103, .18), transparent 34%),
    linear-gradient(135deg, #07111b 0%, #0f2533 56%, #071018 100%);
  color: #f7efe1;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .42);
}

.game-promo-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(247, 239, 225, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #f7efe1;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.game-promo-modal__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 22px;
  align-items: end;
  padding-right: 44px;
}

.game-promo-modal__eyebrow,
.game-promo-card__kicker {
  margin: 0 0 9px;
  color: #e7b866;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.game-promo-modal h2 {
  margin: 0;
  color: #fff7e7;
  font-size: clamp(2.35rem, 4.6vw, 5rem);
  line-height: .98;
  letter-spacing: 0;
}

.game-promo-modal__hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(247, 239, 225, .78);
  font-size: 1.04rem;
  line-height: 1.62;
}

.game-promo-modal__eta {
  border: 1px solid rgba(238, 197, 128, .3);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, .08);
  text-align: center;
}

.game-promo-modal__eta span,
.game-promo-modal__eta small {
  display: block;
  color: rgba(247, 239, 225, .68);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.game-promo-modal__eta strong {
  display: block;
  margin: 8px 0 5px;
  color: #fff7e7;
  font-size: 1.34rem;
}

.game-promo-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.game-promo-card {
  overflow: hidden;
  display: block;
  border: 1px solid rgba(247, 239, 225, .16);
  border-radius: 22px;
  background: rgba(2, 8, 14, .42);
  color: inherit;
  text-decoration: none;
}

.game-promo-card--featured {
  border-color: rgba(126, 210, 221, .34);
  background:
    linear-gradient(180deg, rgba(24, 96, 112, .22), rgba(2, 8, 14, .42)),
    rgba(2, 8, 14, .42);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .24);
}

a.game-promo-card {
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

a.game-promo-card:hover,
a.game-promo-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(126, 210, 221, .58);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .32);
  outline: none;
}

.game-promo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.game-promo-card__body {
  padding: 18px;
}

.game-promo-card h3 {
  margin: 0;
  color: #fff7e7;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.game-promo-card p:last-child {
  margin: 12px 0 0;
  color: rgba(247, 239, 225, .74);
  line-height: 1.56;
}

.game-promo-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 22px;
}

.game-promo-modal__actions .btn {
  border-color: rgba(247, 239, 225, .28);
}

@media (max-width: 980px) {
  .game-promo-modal {
    padding: 18px;
  }

  .game-promo-modal__panel {
    width: calc(100vw - 36px);
    max-height: calc(100vh - 36px);
    padding: 22px;
    border-radius: 22px;
  }

  .game-promo-modal__hero {
    grid-template-columns: 1fr;
    padding-right: 46px;
  }

  .game-promo-modal__eta {
    width: min(280px, 100%);
    text-align: left;
  }

  .game-promo-modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-promo-card--featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .game-promo-modal {
    align-items: stretch;
    padding: 10px;
  }

  .game-promo-modal__panel {
    width: 100%;
    max-height: calc(100vh - 20px);
    padding: 16px;
    border-radius: 18px;
  }

  .game-promo-modal__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 1.7rem;
  }

  .game-promo-modal__hero {
    padding-right: 44px;
  }

  .game-promo-modal h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .game-promo-modal__grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
  }

  .game-promo-card--featured {
    grid-column: auto;
  }

  .game-promo-card__body {
    padding: 15px;
  }

  .game-promo-modal__actions {
    display: grid;
    justify-content: stretch;
  }

  .game-promo-modal__actions .btn {
    width: 100%;
  }
}

/* === Nav Desk header polish 20260531 === */
.navdesk-header-card .topbar.topbar--site-menu .brand,
.navdesk-header-card .topbar.topbar--site-menu .brand.brand--image,
body.navdesk-theme-night .navdesk-header-card .topbar.topbar--site-menu .brand,
body.navdesk-theme-night .navdesk-header-card .topbar.topbar--site-menu .brand.brand--image {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.navdesk-header-card .topbar.topbar--site-menu .brand__picture--home {
  width: auto !important;
  justify-content: flex-start !important;
}

.navdesk-header-card .topbar.topbar--site-menu .brand__logo-image.navdesk-logo {
  height: 74px !important;
  max-height: 74px !important;
  max-width: min(38vw, 360px) !important;
  margin: 0 !important;
  transform: none !important;
}

body.navdesk-theme-night .navdesk-header-card .topbar.topbar--site-menu .brand__logo-image.navdesk-logo {
  content: url('/brand/logo-vetus-nauta-night-clean.png') !important;
  height: 74px !important;
  max-height: 74px !important;
  opacity: 1 !important;
  filter: none !important;
}

@media (max-width: 720px) {
  .navdesk-header-card {
    padding: 12px !important;
  }

  .navdesk-header-card .topbar.topbar--site-menu {
    gap: 10px !important;
    flex-wrap: wrap !important;
  }

  .navdesk-header-card .topbar.topbar--site-menu .brand,
  .navdesk-header-card .topbar.topbar--site-menu .brand.brand--image {
    flex: 1 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .navdesk-header-card .topbar.topbar--site-menu .brand__picture--home {
    width: 100% !important;
    justify-content: center !important;
  }

  .navdesk-header-card .topbar.topbar--site-menu .brand__picture--home .brand__logo-image--desktop.navdesk-logo {
    display: block !important;
  }

  .navdesk-header-card .topbar.topbar--site-menu .brand__picture--home .brand__logo-image--mobile.navdesk-logo {
    display: none !important;
  }

  .navdesk-header-card .topbar.topbar--site-menu .brand__logo-image.navdesk-logo,
  body.navdesk-theme-night .navdesk-header-card .topbar.topbar--site-menu .brand__logo-image.navdesk-logo {
    height: 68px !important;
    max-height: 68px !important;
    max-width: min(82vw, 320px) !important;
    margin: 0 auto !important;
  }

  .navdesk-header-card .topbar.topbar--site-menu .topbar__actions {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (orientation: landscape) and (max-height: 520px) and (hover: none) and (pointer: coarse) {
  .navdesk-header-card .topbar,
  .navdesk-page .topbar {
    position: static !important;
    top: auto !important;
  }
}
