/* Marina Porto Santo — CSS global do tema filho.
   Destino: templates/yootheme_mpxo/css/custom.css
   Módulos progressivos e elementos nativos YOOtheme. */
.mps-progressivo {
  --mps-accent: #b4603f;
  --mps-text: #edf2f5;
  --mps-muted: #c3d1d9;
  --mps-line: rgba(255, 255, 255, .16);
  box-sizing: border-box;
  width: 100%;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--mps-line);
  border-radius: 10px;
  background: #0f2836;
  color: var(--mps-text);
}
/* Categorias expansíveis: uma coluna por categoria no YOOtheme.
   Título: mps-tariff-toggle; módulo/conteúdo: mps-tariff-panel. */
.mps-tariff-accordion {
  box-sizing: border-box;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: #0f2836;
  color: #edf2f5;
  scroll-margin-top: 100px;
}
/* A grelha UIkit usa uma margem negativa para compensar o padding das
   colunas. O cartão tem padding próprio, por isso anulamos essa margem. */
.uk-grid:has(> .mps-tariff-accordion) { margin-left: 0; }
.uk-section:has(.mps-tariff-accordion) {
  padding-top: 20px;
  padding-bottom: 20px;
  background: #07131d;
}
.mps-tariff-accordion > h2,
.mps-tariff-accordion > h3 { margin: 0; color: #edf2f5; }
.mps-tariff-accordion .mps-tariff-toggle { margin: 0; }
.mps-tariff-toggle:has(.mps-tariff-trigger),
.mps-tariff-toggle h2:has(.mps-tariff-trigger),
.mps-tariff-toggle h3:has(.mps-tariff-trigger),
.mps-tariff-toggle h4:has(.mps-tariff-trigger) { margin: 0; }
.mps-tariff-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #edf2f5;
  font: inherit;
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
.mps-tariff-trigger::after {
  content: '';
  flex: 0 0 10px;
  height: 10px;
  border-right: 2px solid #d9aa95;
  border-bottom: 2px solid #d9aa95;
  transform: rotate(45deg);
}
.mps-tariff-trigger[aria-expanded="true"]::after { transform: rotate(225deg); }
.mps-tariff-trigger:hover { background: rgba(255, 255, 255, .04); }
.mps-tariff-trigger:focus-visible {
  outline: 3px solid #f0c3ad;
  outline-offset: -4px;
}
.mps-tariff-accordion .mps-tariff-body[hidden],
.mps-tariff-accordion .mps-tariff-panel[hidden] { display: none !important; }
.mps-tariff-body {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: #c3d1d9;
  line-height: 1.65;
}
.mps-tariff-body > .uk-panel { margin-top: 16px; }
.mps-tariff-body .mps-progressivo { padding: 0; border: 0; background: transparent; }
.mps-tariff-accordion .mps-tariff-panel { margin: 0; }
.mps-tariff-panel .mps-progressivo { border: 0; background: transparent; }
@media (max-width: 480px) {
  .mps-tariff-trigger { padding: 18px 16px; }
  .mps-tariff-body { padding: 0 16px 18px; }
}
.mps-progressivo *,
.mps-progressivo *::before,
.mps-progressivo *::after { box-sizing: border-box; }
.mps-progressivo > h3 {
  margin: 0 0 14px;
  color: var(--mps-text);
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.3;
}
.mps-progressivo > p {
  margin: 16px 0 0;
  color: var(--mps-muted);
  font-size: 14px;
  line-height: 1.65;
}
.mps-progressivo > h3 + p {
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 3px solid var(--mps-accent);
}
.mps-progressivo > table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--mps-text);
  font-size: 16px;
}
.mps-progressivo caption {
  padding: 0 0 12px;
  text-align: left;
  color: var(--mps-muted);
  font-size: 13px;
  line-height: 1.5;
}
.mps-progressivo th,
.mps-progressivo td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--mps-line);
  vertical-align: middle;
}
.mps-progressivo thead th {
  background: #193641;
  color: var(--mps-text);
  font-size: 13px;
  font-weight: 600;
}
.mps-progressivo th:first-child {
  width: 60%;
  text-align: left;
  overflow-wrap: anywhere;
}
.mps-progressivo tbody th { font-weight: 400; }
.mps-progressivo thead th:last-child,
.mps-progressivo tbody td {
  text-align: right;
  white-space: nowrap;
}
.mps-progressivo tbody td {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.mps-progressivo tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, .025);
}
.mps-progressivo tbody tr:last-child > * { border-bottom: 0; }
.mps-progressivo__notice {
  padding: 16px;
  border-left: 3px solid #b4603f;
  background: #fff0d2;
  color: #3c2a0b;
  line-height: 1.6;
}
/* Compensa o cabeçalho ao navegar através dos botões de categoria. */
#local, #tourism { scroll-margin-top: 100px; }
@media (max-width: 480px) {
  .mps-progressivo { padding: 16px; }
  .mps-progressivo > table { font-size: 14px; }
  .mps-progressivo th,
  .mps-progressivo td { padding: 12px 8px; }
  .mps-progressivo th:first-child { width: 58%; }
}
/* Acrescentar a css/custom.css. Atribuir as classes no campo CSS Class
   dos elementos YOOtheme, sem ponto inicial. */
.mps-tariff-section {
  background: #07131d;
  color: #edf2f5;
  padding-block: clamp(32px, 5vw, 64px);
}
.mps-tariff-section .uk-container { max-width: 1200px; }
.mps-tariff-hero { max-width: 820px; }
.mps-tariff-hero .el-meta {
  color: #d9aa95;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
}
.mps-tariff-hero .el-title {
  color: #edf2f5;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
}
.mps-tariff-hero .el-content {
  color: #c3d1d9;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}
.mps-tariff-date {
  background: #193641;
  border: 1px solid #41606b;
  border-radius: 6px;
  color: #edf2f5;
  padding: 12px 16px;
}
.mps-tariff-date .el-title,
.mps-tariff-date .el-content {
  margin: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.6;
}
.mps-tariff-nav,
.mps-tariff-nav > .uk-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mps-tariff-nav > * { margin: 0; }
.mps-tariff-nav > .uk-subnav > li { padding: 0; }
.mps-tariff-nav a.el-content,
.mps-tariff-nav a.el-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #68808b;
  border-radius: 6px;
  color: #edf2f5;
  background: transparent;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
  transition: background-color .15s, border-color .15s;
}
.mps-tariff-nav a.el-content:hover,
.mps-tariff-nav a.el-link:hover {
  background: #244653;
  border-color: #d9aa95;
  color: #fff;
}
.mps-tariff-nav a.el-content:focus-visible,
.mps-tariff-nav a.el-link:focus-visible {
  outline: 3px solid #f0c3ad;
  outline-offset: 3px;
}
.mps-tariff-heading,
.mps-tariff-heading .el-title {
  color: #edf2f5;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
}
.mps-tariff-copy,
.mps-tariff-copy .el-content {
  color: #c3d1d9;
  font-size: 16px;
  line-height: 1.7;
}
@media (max-width: 640px) {
  .mps-tariff-hero { text-align: left; }
  .mps-tariff-nav { gap: 8px; }
  .mps-tariff-nav a.el-content {
    padding: 11px 14px;
    font-size: 14px;
  }
}

/* Versão 3 — acordeão nativo e correção da grelha do YOOtheme. */
.uk-grid:has(> .mps-tariff-accordion) { margin-left: 0 !important; }
.uk-grid > .mps-tariff-accordion { padding-left: 0 !important; }
.mps-native-accordion > summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 24px; cursor: pointer; list-style: none;
  color: #edf2f5;
}
.mps-native-accordion > summary::-webkit-details-marker { display: none; }
.mps-native-accordion > summary > h2,
.mps-native-accordion > summary > h3,
.mps-native-accordion > summary > h4 {
  margin: 0; color: inherit; font-size: clamp(20px, 2.5vw, 26px); line-height: 1.35;
}
/* Cabeçalho completo: número, título e subtítulo sempre visíveis. */
.mps-native-accordion > summary { justify-content: flex-start; }
.mps-category-number {
  flex: 0 0 28px;
  color: #d9aa95;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.mps-category-heading { flex: 1; min-width: 0; }
.mps-category-heading > h2,
.mps-category-heading > h3,
.mps-category-heading > h4 {
  margin: 0;
  color: #edf2f5;
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.35;
}
.mps-category-heading > .mps-category-subtitle {
  margin: 6px 0 0;
  color: #c3d1d9;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.mps-native-accordion > summary::after {
  content: '+'; flex: 0 0 24px; font-size: 28px; text-align: center; color: #d9aa95;
}
.mps-native-accordion[open] > summary::after { content: '−'; }
.mps-native-accordion > summary:focus-visible {
  outline: 3px solid #f0c3ad; outline-offset: -4px; border-radius: 9px;
}
.mps-native-body {
  padding: 0 24px 24px; border-top: 1px solid rgba(255,255,255,.16);
  color: #c3d1d9; line-height: 1.65;
}
.mps-native-body > div { margin-top: 16px; }
.mps-native-body .mps-progressivo { padding: 0; border: 0; background: transparent; }
@media(max-width:480px) {
  .mps-native-accordion > summary { padding: 18px 16px; }
  .mps-native-body { padding: 0 16px 18px; }
}

/* Estaleiro: tabela única em ecrãs largos, cartões em ecrãs estreitos. */
.mps-boatyard,
.mps-boatyard * { box-sizing: border-box; }
.mps-boatyard { width: 100%; min-width: 0; color: #edf2f5; }
.mps-boatyard > table {
  width: 100%; margin: 0; border-collapse: collapse;
  table-layout: fixed; color: #edf2f5; font-size: 15px;
}
.mps-boatyard caption {
  padding: 16px 0; text-align: left; color: #c3d1d9;
  font-size: 14px; line-height: 1.6;
}
.mps-boatyard th,
.mps-boatyard td {
  padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,.16);
  vertical-align: middle; line-height: 1.5;
}
.mps-boatyard thead th {
  background: #193641; color: #edf2f5;
  font-size: 13px; font-weight: 600; text-align: right;
  white-space: normal; overflow-wrap: anywhere;
}
.mps-boatyard tr > :first-child { width: 24%; text-align: left; }
.mps-boatyard tbody th { font-weight: 400; overflow-wrap: anywhere; }
.mps-boatyard td {
  text-align: right; white-space: nowrap;
  font-weight: 600; font-variant-numeric: tabular-nums;
}
.mps-boatyard tbody tr:nth-child(even) { background: rgba(255,255,255,.025); }
.mps-boatyard tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 959px) {
  .mps-boatyard > table { display: block; table-layout: auto; }
  .mps-boatyard caption { display: block; }
  .mps-boatyard tbody { display: block; }
  .mps-boatyard thead {
    position: absolute; width: 1px; height: 1px; padding: 0;
    overflow: hidden; clip-path: inset(50%);
  }
  .mps-boatyard tbody tr {
    display: block; margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px; overflow: hidden; background: #0f2836;
  }
  .mps-boatyard tbody th {
    display: block; width: auto; padding: 14px;
    background: #193641; color: #edf2f5; font-weight: 600;
  }
  .mps-boatyard tbody td {
    display: grid; grid-template-columns: minmax(0,1fr) max-content;
    align-items: center; gap: 12px; padding: 12px 14px;
  }
  .mps-boatyard tbody td::before {
    content: attr(data-label); color: #c3d1d9;
    font-size: 13px; font-weight: 400;
    text-align: left; white-space: normal; overflow-wrap: anywhere;
  }
  .mps-boatyard tbody td:last-child { border-bottom: 0; }
  .mps-boatyard tbody tr:last-child { margin-bottom: 0; }
}

/* Passantes: épocas e descontos. */
.mps-visiting { color: #edf2f5; }
.mps-season-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.mps-season-grid > .mps-progressivo { min-width: 0; margin: 0; }
.mps-season-grid > .mps-progressivo > h3 {
  min-height: 2.6em;
  font-size: clamp(19px, 2vw, 24px);
}
.mps-season-grid > .mps-progressivo > h3 + p { min-height: 3.3em; }
.mps-visiting .mps-visiting-note { margin: 20px 0; color: #c3d1d9; font-size: 14px; }
.mps-discounts { margin-top: 32px; }
.mps-discounts > h3 { margin: 0 0 10px; color: #edf2f5; font-size: 24px; }
.mps-discounts > p { margin: 0 0 20px; color: #c3d1d9; }
.mps-discount-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mps-discount-grid > li {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px;
  padding: 24px 12px;
  background: #193641;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  text-align: center;
}
.mps-discount-grid strong {
  color: #f0c3ad; font-size: clamp(30px, 4vw, 42px); line-height: 1.1;
}
.mps-discount-grid span { color: #edf2f5; font-size: 14px; line-height: 1.5; }
.mps-ram-offer {
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px solid rgba(217,170,149,.3);
  border-left: 4px solid #b4603f;
  border-radius: 6px;
  background: rgba(180,96,63,.12);
}
.mps-ram-offer > h4 { margin: 0 0 8px; color: #edf2f5; font-size: 20px; }
.mps-ram-offer > p { margin: 8px 0 0; color: #edf2f5; line-height: 1.6; }
.mps-ram-offer strong { color: #f0c3ad; }
.mps-ram-offer > .mps-ram-conditions { color: #c3d1d9; font-size: 13px; }
@media (max-width: 767px) {
  .mps-season-grid { grid-template-columns: 1fr; gap: 28px; }
  .mps-season-grid > .mps-progressivo > h3,
  .mps-season-grid > .mps-progressivo > h3 + p { min-height: 0; }
  .mps-discount-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mps-discount-grid > li { padding: 20px 10px; }
  .mps-ram-offer { padding: 18px 16px; }
}


/* Destaque automático da época em vigor. */
.mps-visiting .mps-season-grid > .mps-progressivo {
  padding: 18px;
  border: 2px solid transparent;
  border-radius: 9px;
  background: rgba(255,255,255,.025);
}
.mps-visiting .mps-season-grid > .mps-progressivo.mps-season-current {
  border-color: #b4603f;
  background: linear-gradient(135deg, rgba(180,96,63,.16), #0f2836);
}
.mps-season-status {
  display: block;
  margin-bottom: 16px;
  color: #c3d1d9;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.mps-season-current > .mps-season-status { color: #f0c3ad; }
.mps-season-current > .mps-season-status::before {
  content: '●';
  margin-right: 7px;
}

/* Navegação mobile: duas colunas; o último item ímpar ocupa a linha. */
@media (max-width: 767px) {
  .mps-tariff-section .uk-subnav,
  .mps-tariff-nav .uk-subnav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
    width: 100%;
    margin: 0 !important;
    padding: 0;
  }
  .mps-tariff-section .uk-subnav > li,
  .mps-tariff-nav .uk-subnav > li {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
  }
  .mps-tariff-section .uk-subnav > li:last-child:nth-child(odd),
  .mps-tariff-nav .uk-subnav > li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .mps-tariff-section .uk-subnav > li > a,
  .mps-tariff-nav .uk-subnav > li > a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #68808b;
    border-radius: 6px;
    background: #0f2836;
    color: #edf2f5;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: none;
  }
}

/* Notas comerciais: fundo discreto e linha em cobre em todas as categorias.
   mps-tariff-note permite aplicar o mesmo aspeto a outros elementos. */
.mps-native-body .mps-progressivo > p:not(h3 + p),
.mps-native-body .mps-visiting-note,
.mps-native-body > div > p,
.mps-native-body .mps-tariff-note,
.mps-native-body .mps-ram-conditions {
  box-sizing: border-box;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 3px solid #b4603f;
  background: rgba(255, 255, 255, .045);
  color: #e2e9ee;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}
.mps-native-body .mps-tariff-note > :first-child { margin-top: 0; }
.mps-native-body .mps-tariff-note > :last-child { margin-bottom: 0; }
@media (max-width: 480px) {
  .mps-native-body .mps-progressivo > p:not(h3 + p),
  .mps-native-body .mps-visiting-note,
  .mps-native-body > div > p,
  .mps-native-body .mps-tariff-note,
  .mps-native-body .mps-ram-conditions {
    padding: 12px 14px;
  }
}

/* Contrato anual e regime diário: duas colunas no mesmo acordeão. */
.mps-native-accordion:not([open]) > .mps-native-body { display: none; }
.mps-contract-accordion { width: 100%; }
.mps-contract-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.mps-contract-grid > div {
  width: 100%;
  min-width: 0;
  padding-left: 0;
  margin-top: 20px;
}
.mps-native-body.mps-contract-grid {
  align-items: stretch;
  padding-top: 24px;
}
.mps-contract-grid > div { margin-top: 0; }
.mps-native-body.mps-contract-grid .mps-progressivo {
  box-sizing: border-box;
  height: 100%;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-top: 3px solid #b4603f;
  border-radius: 8px;
  background: #122e3d;
}
.mps-contract-grid .mps-progressivo > h3 {
  margin-top: 0;
  color: #edf2f5;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.35;
}
.mps-contract-grid > div > hr { display: none; }
@media (max-width: 959px) {
  .mps-contract-grid { grid-template-columns: 1fr; gap: 20px; }
  .mps-native-body.mps-contract-grid .mps-progressivo { padding: 18px 14px; }
}

/* Mês tarifário: parágrafo separado, com data automática do módulo. */
.mps-progressivo > p.mps-reference,
.mps-native-body .mps-progressivo > p.mps-reference {
  display: block;
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid rgba(217,170,149,.35);
  border-left: 3px solid #b4603f;
  border-radius: 5px;
  background: #193641;
  color: #edf2f5;
  font-size: 14px;
  line-height: 1.6;
}
.mps-reference strong { color: #f0c3ad; font-weight: 600; }

/* Fundeadouro e Estaleiro: cartões com linha superior em cobre. */
.mps-native-body .mps-anchorage-grid > .mps-progressivo,
.mps-boatyard {
  box-sizing: border-box;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-top: 3px solid #b4603f;
  border-radius: 8px;
  background: #122e3d;
}
.mps-anchorage-grid { align-items: stretch; }
@media (max-width: 767px) {
  .mps-native-body .mps-anchorage-grid > .mps-progressivo,
  .mps-boatyard { padding: 18px 14px; }
}

/* Mobile do estaleiro: anula a largura de 24% da primeira coluna desktop. */
@media (max-width: 959px) {
  .mps-boatyard tbody tr > th[scope="row"] {
    display: block;
    width: 100%;
    max-width: none;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* Botão final de contacto: aplicar mps-contact-cta ao elemento Button. */
a.mps-contact-cta,
.mps-contact-cta a.uk-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid #b4603f;
  border-radius: 7px;
  background: #b4603f;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.14);
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}
a.mps-contact-cta:hover,
.mps-contact-cta a.uk-button:hover {
  background: #944b30;
  border-color: #d9aa95;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
}
a.mps-contact-cta:focus-visible,
.mps-contact-cta a.uk-button:focus-visible {
  outline: 3px solid #f0c3ad;
  outline-offset: 4px;
}
@media (max-width: 640px) {
  a.mps-contact-cta,
  .mps-contact-cta a.uk-button { width: 100%; padding: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  a.mps-contact-cta,
  .mps-contact-cta a.uk-button { transition: none; }
}

/* Fundeadouro: interior e exterior lado a lado em desktop. */
.mps-anchorage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.mps-anchorage-grid > .mps-progressivo {
  min-width: 0;
  margin: 0;
}
.mps-anchorage-grid > .mps-progressivo > h3 {
  min-height: 2.6em;
}
@media (max-width: 767px) {
  .mps-anchorage-grid { grid-template-columns: 1fr; }
  .mps-anchorage-grid > .mps-progressivo > h3 { min-height: 0; }
}

/* Simulador de estadia — Passantes. */
.mps-simulator {
  padding:clamp(20px,4vw,36px);
  border:1px solid rgba(125,158,170,.32);
  border-top:3px solid #b4603f;
  border-radius:12px;
  background:
    radial-gradient(ellipse at 100% 0%,rgba(180,96,63,.22) 0%,rgba(180,96,63,0) 58%),
    radial-gradient(ellipse at 0% 100%,rgba(49,112,132,.25) 0%,rgba(49,112,132,0) 62%),
    linear-gradient(135deg,#142f3e 0%,#0c202d 48%,#07131d 100%);
  box-shadow:0 18px 45px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.04);
  color:#edf2f5;
  margin:0 0 32px;
}
.mps-simulator * { box-sizing:border-box; }
.mps-sim-eyebrow { color:#d9aa95; font-size:11px; font-weight:700; letter-spacing:.14em; }
.mps-sim-header h2, .mps-sim-header h3 { color:#edf2f5; font-size:clamp(26px,3vw,36px); line-height:1.2; margin:12px 0; }
.mps-sim-header p { color:#c3d1d9; margin:0 0 28px; line-height:1.6; }
.mps-sim-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.9fr); gap:28px; }
.mps-sim-form label:not(.mps-sim-vat) { display:block; color:#edf2f5; font-size:14px; font-weight:600; }
.mps-sim-form select,.mps-sim-form input[type=date] { display:block; width:100%; min-width:0; height:50px; margin:8px 0 20px; padding:10px 12px; border:1px solid #68808b; border-radius:6px; background:#193641; color:#fff; font:inherit; font-size:15px; color-scheme:dark; }
.mps-sim-dates { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.mps-sim-shortcuts { display:flex; flex-wrap:wrap; gap:8px; }
.mps-sim-shortcuts button { min-height:42px; padding:8px 14px; border:1px solid #68808b; border-radius:24px; background:transparent; color:#edf2f5; font:inherit; font-size:13px; cursor:pointer; }
.mps-sim-shortcuts button:hover { background:#244653; border-color:#d9aa95; }
.mps-sim-form .mps-sim-help { color:#c3d1d9; font-size:12px; line-height:1.6; margin:14px 0 20px; }
.mps-sim-vat { display:flex; align-items:center; gap:12px; padding:16px; border:1px solid #41606b; border-radius:7px; background:rgba(255,255,255,.025); cursor:pointer; }
.mps-sim-vat input { width:22px; height:22px; margin:0; accent-color:#b4603f; }
.mps-sim-vat span { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.mps-sim-vat strong { padding:2px 8px; border-radius:4px; background:#244653; color:#f0c3ad; font-size:13px; }
.mps-sim-result { padding:26px; border:1px solid rgba(217,170,149,.4); border-radius:9px; background:radial-gradient(ellipse at top right,rgba(180,96,63,.17),transparent 75%),#122e3d; }
.mps-sim-result-label { color:#d9aa95; font-size:11px; letter-spacing:.13em; font-weight:700; }
.mps-simulator .mps-sim-total { color:#f0c3ad; font-size:clamp(34px,4vw,48px); font-weight:700; line-height:1.2; margin:12px 0 4px; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.mps-sim-tax-label { color:#c3d1d9; font-size:13px; margin:0 0 18px; }
.mps-sim-duration { color:#edf2f5; font-size:14px; margin:0 0 20px; }
.mps-sim-breakdown { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px 16px; margin:0 0 24px; font-size:13px; line-height:1.6; }
.mps-sim-breakdown dt { color:#c3d1d9; margin:0; font-weight:400; }
.mps-sim-breakdown dd { color:#edf2f5; margin:0; text-align:right; font-variant-numeric:tabular-nums; }
.mps-sim-breakdown .mps-sim-subtotal { border-top:1px solid rgba(255,255,255,.16); padding-top:12px; font-weight:600; }
.mps-sim-contact { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:12px 16px; border-radius:6px; background:#b4603f; color:#fff; text-decoration:none; font-size:14px; font-weight:600; }
.mps-sim-contact:hover { background:#944b30; color:#fff; text-decoration:none; }
/* Ligação dos Passantes ao simulador: botão compacto, distinto das notas. */
a.mps-sim-contact[href="#simulador-passantes"] {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  gap: 14px;
  padding: 13px 22px;
  min-height: 50px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .01em;
  text-align: center;
  border: 1px solid #ce8261;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,.15);
}
a.mps-sim-contact[href="#simulador-passantes"] span { font-size: 21px; }
a.mps-sim-contact[href="#simulador-passantes"]:focus-visible { outline: 3px solid #f0c3ad; outline-offset: 3px; }
@media (max-width: 640px) {
  a.mps-sim-contact[href="#simulador-passantes"] { font-size: 16px; padding: 12px 18px; }
}
.mps-simulator :is(input,select,button,a):focus-visible { outline:3px solid #f0c3ad; outline-offset:3px; }
.mps-simulator .mps-sim-footnote { margin:22px 0 0; color:#c3d1d9; font-size:12px; line-height:1.7; }
.mps-sim-error { color:#ffd4c4; padding:12px; border-left:3px solid #b4603f; font-size:13px; }
.mps-sim-error[hidden] { display:none; }
@media(max-width:767px) { .mps-sim-grid { grid-template-columns:1fr; gap:22px; } .mps-sim-result { padding:20px; } }
@media(max-width:380px) { .mps-sim-dates { grid-template-columns:1fr; gap:0; } }

/* Ajustes finais de hierarquia e condições. */
.mps-tariff-section:has(.mps-tariff-hero) {
  padding-bottom: 24px;
  background-color: #07131d;
  background-image:
    radial-gradient(ellipse 85% 230px at 75% 0%, rgba(180,96,63,.16), rgba(180,96,63,0) 100%),
    linear-gradient(180deg, #122b38 0%, #0b1d28 120px, #07131d 300px);
  background-repeat: no-repeat;
}
.uk-section:has([data-mps-simulator]) { padding-top: 24px; padding-bottom: 32px; }
.mps-general-conditions {
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-top: 3px solid #b4603f;
  border-radius: 8px;
  background: #122e3d;
  color: #edf2f5;
}
.mps-general-conditions > summary {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 20px 24px;
  list-style: none; cursor: pointer; font-size: 20px; font-weight: 600;
}
/* Nota pública sobre o acréscimo para multicascos. */
.mps-multihull-note {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
  padding: 18px 22px;
  border: 2px solid #b4603f;
  border-radius: 10px;
  background: #fff4ef;
  color: #102c3d;
}
.mps-multihull-note__badge {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 6px;
  background: #b4603f;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}
.mps-multihull-note p { margin: 0; color: #102c3d; font-size: 16px; line-height: 1.6; }
.mps-multihull-note strong { color: inherit; }
@media (max-width: 640px) {
  .mps-multihull-note { align-items: flex-start; flex-direction: column; gap: 12px; padding: 16px; }
}
.mps-general-conditions > summary::-webkit-details-marker { display: none; }
.mps-general-conditions > summary::after { content: '+'; color: #d9aa95; font-size: 26px; }
.mps-general-conditions[open] > summary::after { content: '−'; }
.mps-general-conditions > summary:focus-visible { outline: 3px solid #f0c3ad; outline-offset: -4px; }
.mps-general-conditions > div { padding: 0 24px 24px; border-top: 1px solid rgba(255,255,255,.16); }
.mps-general-conditions h3 { color: #edf2f5; font-size: 18px; margin: 24px 0 10px; }
.mps-general-conditions p { color: #c3d1d9; font-size: 14px; line-height: 1.7; }
@media(max-width:640px) {
  .mps-general-conditions > summary { padding: 18px 16px; }
  .mps-general-conditions > div { padding: 0 16px 20px; }
}

/* Nota de IVA comum a todas as tabelas de tarifas. */
.mps-vat-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 3px solid #b4603f;
  background: #202f38;
  color: #edf2f5;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}


/* MPS TARIFARIOS — regras originais centralizadas, 14-11-2026.
   Comuns a PT/EN/FR/DE. Nao alterar o calculador. */
#tm-main .mps-tariff-icon-section .el-image {
    display: flex;
    align-items: flex-start;
    width: 44px;
    height: 44px;
    flex: 0 0 64px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 4px;
    object-fit: contain;
}
#tm-main .mps-tariff-contact-button .uk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid #b4603f;
  border-radius: 7px;
  background: #b4603f;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: none;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
}

#tm-main .mps-tariff-contact-button .uk-button:hover {
  background: #944b30;
  border-color: #d9aa95;
  color: #fff;
}

#tm-main .mps-tariff-contact-button .uk-button:focus-visible {
  outline: 3px solid #f0c3ad;
  outline-offset: 4px;
}

@media (max-width: 640px) {
  #tm-main .mps-tariff-contact-button .uk-button {
    width: 100%;
    padding: 14px 20px;
  }
}
#tm-main .mps-tariff-inset { padding-left: clamp(16px, 3vw, 32px); padding-right: clamp(16px, 3vw, 32px); }
#tm-main .mps-tariff-inset-bottom { padding-bottom: 24px; }
/* A navegacao ja e definida em .mps-tariff-nav neste ficheiro. */


/* Reservas RSForm 5: o Bootstrap aplica underline global aos links.
   Preservar apenas a navegacao relacionada do tema; nao alterar campos nem links do formulario. */
body:has(#rsform_5_page_0) .mps-updates-bar .uk-subnav > li > a.el-link {
  text-decoration: none;
}


/* MPS — feedback de envio; apenas o formulário real de reservas (5). */
body:has(#rsform_5_page_0) #enviar.mps-is-sending,
body:has(#rsform_5_page_0) #enviar.mps-is-sending:disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    max-width: 100%;
    white-space: normal;
    background-color: #173f68;
    border-color: #173f68;
    color: #fff;
    opacity: 1;
    cursor: wait;
}
body:has(#rsform_5_page_0) .mps-send-spinner {
    display: inline-block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mps-reservation-spin .8s linear infinite;
}
body:has(#rsform_5_page_0) .mps-reservation-send-status {
    margin: 10px 0 0;
    color: #173f68;
    font-size: .95rem;
    line-height: 1.5;
}
@keyframes mps-reservation-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    body:has(#rsform_5_page_0) .mps-send-spinner { animation: none; }
}


/* MPS 14/11/2026: impedir underline global do Bootstrap nos acessos
   do cabecalho e seletor de idioma, apenas nas reservas RSForm 5.
   Preserva cores, foco, layout e todos os links internos do formulario. */
body:has(#rsform_5_page_0) header .uk-subnav > li > a,
body:has(#rsform_5_page_0) header .mod-languages a,
body:has(#rsform_5_page_0) .tm-header-mobile .uk-subnav > li > a,
body:has(#rsform_5_page_0) .tm-header-mobile .mod-languages a {
    text-decoration: none;
}

/* Impressão interna: regras limitadas ao documento exportado. */
body.mps-print-document{font:12px/1.3 Arial,sans-serif;color:#153347;background:#edf3f8;margin:0}
.mps-print-document *{box-sizing:border-box}
.mps-print-document main{width:190mm;max-width:100%;margin:20px auto;background:white;padding:8mm}
.mps-print-header{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;border-bottom:1px solid #173f68;padding-bottom:2mm;margin-bottom:2mm}
.mps-print-header img{width:32mm;height:auto}
.mps-print-document h1{font-size:15px;margin:1mm 0;color:#173f68}
.mps-print-document h2{font-size:10px;text-transform:uppercase;color:#173f68;margin:2mm 0 1mm;break-after:avoid}
.mps-print-document h2 small{font-size:inherit;text-transform:none;font-weight:normal}
.mps-print-document p{margin:1mm 0}
.mps-print-data,.mps-print-wide{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9px;line-height:1.2}
.mps-print-data col.label{width:20%}
.mps-print-data th,.mps-print-data td,.mps-print-wide th,.mps-print-wide td{border:1px solid #cfdae4;padding:1mm;vertical-align:top;text-align:left;overflow-wrap:anywhere}
.mps-print-data th,.mps-print-wide th{background:#f0f5fa;color:#173f68;font-weight:600}
.mps-print-wide th{width:20%}
.mps-print-documents{columns:2;column-gap:5mm;margin:1mm 0;padding-left:4mm;font-size:9px}
.mps-print-documents li{break-inside:avoid;overflow-wrap:anywhere;margin-bottom:.5mm}
.mps-print-signatures{break-inside:avoid}
.mps-print-signatures>div{display:grid;grid-template-columns:1fr 1fr;border:1px solid #cfdae4}
.mps-print-signatures section{padding:2mm;font-size:9px}
.mps-print-signatures p{margin:2mm 0}
.mps-print-document footer{font-size:8px;color:#526975;margin-top:2mm}
.mps-print-toolbar{display:flex;justify-content:center;gap:12px;margin:15px;flex-wrap:wrap}
.mps-print-toolbar button,.mps-print-toolbar a{background:#173f68;color:white;padding:12px 16px;border:0;border-radius:6px;text-decoration:none;font:14px Arial;cursor:pointer}
@media print{@page{size:A4;margin:10mm}body.mps-print-document{background:white}.mps-print-document main{width:auto;margin:0;padding:0}.mps-print-toolbar{display:none}.mps-print-document h2{font-size:7.5pt}.mps-print-document h1{font-size:11pt}.mps-print-data,.mps-print-wide,.mps-print-documents{font-size:7pt}.mps-print-data th,.mps-print-data td,.mps-print-wide th,.mps-print-wide td{padding:.7mm}.mps-print-document tr{break-inside:avoid}.mps-print-signatures section{font-size:7pt}.mps-print-header p,.mps-print-document p{font-size:7pt}.mps-print-document footer{font-size:6pt}.mps-print-billing{break-before:page;page-break-before:always}*{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.mps-billing-document{font:16px/1.5 Arial,sans-serif;background:#edf3f8;color:#153347;margin:0}
.mps-billing-document main{box-sizing:border-box;width:calc(100% - 32px);max-width:1600px;margin:20px auto;padding:20px;background:white;border-radius:12px}
.mps-billing-document h1{color:#173f68}.mps-billing-head{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.mps-billing-document label{display:block;font-weight:600}.mps-billing-document input,.mps-billing-document textarea{font:inherit;width:100%;padding:10px;border:1px solid #a5bdcf;border-radius:5px;box-sizing:border-box;background:white;color:#153347}
.mps-billing-notice{padding:14px;background:#eaf2fa;border-left:4px solid #245d94}.mps-billing-error{color:#a31d22;background:#fff1f1;padding:14px}.mps-billing-success{background:#eaf4f9;padding:14px;border:1px solid #92b6d4}
.mps-billing-table-wrap{overflow:auto;border:1px solid #cfdae4;margin:16px 0}.mps-billing-document table{border-collapse:collapse;table-layout:fixed;min-width:960px;width:100%;font-size:13px}.mps-billing-document td,.mps-billing-document th{padding:6px;border:1px solid #d6e1e9;text-align:left}.mps-billing-document th{background:#eaf2fa}.mps-billing-document td input{min-width:0;max-width:100%;padding:8px 5px;font-size:13px;min-height:36px}.mps-billing-document table th{overflow-wrap:anywhere}.mps-billing-document td,.mps-billing-document th{padding:4px}.mps-billing-document th:nth-child(1){width:3%}.mps-billing-document th:nth-child(2){width:20%}.mps-billing-document th:nth-child(3),.mps-billing-document th:nth-child(4){width:10%}.mps-billing-document th:nth-child(5),.mps-billing-document th:nth-child(6){width:5%}.mps-billing-document th:nth-child(7){width:8%}.mps-billing-document th:nth-child(8),.mps-billing-document th:nth-child(9),.mps-billing-document th:nth-child(10){width:10%}.mps-billing-document th:nth-child(11){width:9%}.mps-billing-document td:nth-child(5) input,.mps-billing-document td:nth-child(6) input,.mps-billing-document td:nth-child(7) input{text-align:right}@media screen and (min-width:1024px){.mps-billing-document table{min-width:0}}.mps-billing-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.mps-billing-actions button,.mps-billing-actions a{font:inherit;padding:12px 18px;min-height:44px;border:0;border-radius:6px;background:#173f68;color:white;text-decoration:none;cursor:pointer}.mps-billing-document :focus-visible{outline:3px solid #79a8d4;outline-offset:2px}
.mps-print-bill-head,.mps-print-bill-lines{border-collapse:collapse;width:100%;table-layout:fixed;font-size:8px}.mps-print-bill-head th,.mps-print-bill-head td,.mps-print-bill-lines td,.mps-print-bill-lines th{border:1px solid #aebdca;padding:1mm;overflow-wrap:anywhere;vertical-align:top;text-align:left}.mps-print-bill-head th,.mps-print-bill-lines th{background:#e6eef7;color:#153347}.mps-print-bill-lines col.service{width:19%}.mps-print-bill-lines col.small{width:4%}.mps-print-bill-lines td{height:6mm}.mps-print-bill-notes{border:1px solid #aebdca;min-height:13mm;padding:2mm;white-space:pre-wrap;overflow-wrap:anywhere;font-size:9px}.mps-print-bill-sign{margin-top:4mm!important}
@media print{.mps-print-bill-head,.mps-print-bill-lines{font-size:6pt}.mps-print-bill-lines th{font-size:5.5pt}.mps-print-bill-lines td{height:5.5mm;padding:.6mm}.mps-print-bill-notes{font-size:7pt}.mps-print-billing h2{margin-top:2mm}}
@media(max-width:600px){.mps-billing-document main{width:100%;margin:0;padding:16px}.mps-billing-actions>*{width:100%;text-align:center}}

/* MPS: fichas do painel de atendimento - azul do site, 16/11/2026. */
#mps-operations.mps-card-panel{max-width:1320px;width:100%;padding:clamp(18px,2.5vw,32px);background:#edf3f8;color:#153347;border:1px solid #d6e2ed;border-radius:18px}
#mps-operations.mps-card-panel h1{color:#173f68}
#mps-operations.mps-card-panel .eyebrow,#mps-operations.mps-card-panel .muted{color:#526b80}
#mps-operations.mps-card-panel .primary{background:#173f68;border-color:#173f68;color:white}
#mps-operations.mps-card-panel .search{border-color:#d1dfeb;background:#fff}
#mps-operations.mps-card-panel input{border-color:#b7cbdc;color:#153347}
#mps-operations.mps-card-panel .list{gap:22px}
#mps-operations.mps-card-panel .reservation.mps-reservation-card{display:block;padding:0;border:1px solid #cbdce9;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 4px 15px rgba(23,63,104,.045)}
#mps-operations.mps-card-panel .mps-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 18px;border-bottom:1px solid #e0e9f1;background:linear-gradient(110deg,#fff,#f5f8fc)}
#mps-operations.mps-card-panel .mps-card-identity{min-width:0}
#mps-operations.mps-card-panel .reference{display:inline-block;font-size:12px;line-height:1.4;font-weight:700;letter-spacing:.6px;color:#245d94;text-transform:uppercase}
#mps-operations.mps-card-panel .boat{font-size:25px;line-height:1.2;font-weight:700;color:#173f68;margin:6px 0}
#mps-operations.mps-card-panel .mps-card-contact{font-size:14px;color:#526b80;margin:0;overflow-wrap:anywhere}
#mps-operations.mps-card-panel .mps-card-badges{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap;max-width:40%}
#mps-operations.mps-card-panel .mps-card-badge{padding:5px 10px;border-radius:20px;border:1px solid #cbddea;background:#edf4fb;color:#245176;font-size:12px;line-height:1.5;font-weight:600}
#mps-operations.mps-card-panel .mps-card-badge.is-closed{background:#173f68;color:#fff;border-color:#173f68}
#mps-operations.mps-card-panel .mps-card-dates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:16px 24px;gap:16px;background:#f7fafd;border-bottom:1px solid #e0e9f1}
#mps-operations.mps-card-panel .mps-card-dates dt{font-size:12px;color:#60788d;margin-bottom:3px}
#mps-operations.mps-card-panel .mps-card-dates dd{font-size:15px;line-height:1.4;font-weight:600;color:#173f68;margin:0}
#mps-operations.mps-card-panel .mps-card-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:20px 24px}
#mps-operations.mps-card-panel .mps-card-actions>section{min-width:0;padding:0 18px;border-left:1px solid #dfE8f0}
#mps-operations.mps-card-panel .mps-card-actions>section:first-child{padding-left:0;border-left:0}
#mps-operations.mps-card-panel .mps-card-actions>section:last-child{padding-right:0}
#mps-operations.mps-card-panel .mps-card-actions h3{font-size:14px;line-height:1.4;color:#173f68;font-weight:700;margin:0 0 6px}
#mps-operations.mps-card-panel .mps-card-actions p{font-size:12px;line-height:1.5;color:#60788d;margin:0 0 12px}
#mps-operations.mps-card-panel .mps-card-actions .action,#mps-operations.mps-card-panel .mps-card-actions button{width:100%;margin:0 0 7px;font-size:13px;min-height:42px;padding:9px 10px;border:1px solid #b7ccde;border-radius:7px;color:#173f68;background:white;text-decoration:none;line-height:1.4}
#mps-operations.mps-card-panel .mps-card-actions .mps-card-main-action{background:#173f68;border-color:#173f68;color:#fff}
#mps-operations.mps-card-panel .mps-card-actions .action:hover,#mps-operations.mps-card-panel .mps-card-actions button:hover{background:#eaf2fa;border-color:#6e98bb;color:#173f68}
#mps-operations.mps-card-panel .mps-export-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0}
#mps-operations.mps-card-panel .mps-card-actions .mps-export-actions .action{font-size:12px;height:100%;margin:0}
#mps-operations.mps-card-panel .mps-card-control{padding:0 24px 18px;margin:0;border:0}
#mps-operations.mps-card-panel .mps-card-control .mps-checkin-state{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 18px;align-items:center;margin:0;padding:13px 16px;background:#f1f6fb;border:1px solid #d7e3ee;border-radius:9px}
#mps-operations.mps-card-panel .mps-card-control .mps-checkin-state>strong{font-size:13px;color:#173f68}
#mps-operations.mps-card-panel .mps-card-control .mps-checkin-state>p{grid-column:1;font-size:12px;color:#60788d;margin:0}
#mps-operations.mps-card-panel .mps-card-control .mps-checkin-state>button{grid-column:2;grid-row:1/3;width:auto;min-width:154px;margin:0;min-height:44px}
#mps-operations.mps-card-panel .mps-card-control .mps-checkin-state>details{grid-column:1/-1;margin-top:6px;font-size:11px;color:#526b80}
#mps-operations.mps-card-panel .mps-card-actions .copy-state:empty{display:none}
#mps-operations.mps-card-panel .mps-card-actions .copy-state{color:#245d94;font-size:12px;margin:3px 0 0}
@media(max-width:800px){#mps-operations.mps-card-panel .mps-card-header{padding:18px}#mps-operations.mps-card-panel .mps-card-actions{grid-template-columns:1fr;gap:16px;padding:18px}#mps-operations.mps-card-panel .mps-card-actions>section{padding:0 0 16px;border-left:0;border-bottom:1px solid #e0e9f1}#mps-operations.mps-card-panel .mps-card-actions>section:last-child{padding-bottom:0;border-bottom:0}#mps-operations.mps-card-panel .mps-card-dates{padding:14px 18px;gap:10px}#mps-operations.mps-card-panel .mps-card-control{padding:0 18px 18px}}
@media(max-width:480px){#mps-operations.mps-card-panel{border-radius:10px;padding:14px 10px}#mps-operations.mps-card-panel .mps-card-header{flex-direction:column;gap:10px}#mps-operations.mps-card-panel .mps-card-badges{max-width:100%;justify-content:flex-start}#mps-operations.mps-card-panel .boat{font-size:23px}#mps-operations.mps-card-panel .mps-card-dates{grid-template-columns:1fr 1fr}#mps-operations.mps-card-panel .mps-card-dates>div:last-child{grid-column:1/-1}#mps-operations.mps-card-panel .mps-card-control .mps-checkin-state{grid-template-columns:1fr}#mps-operations.mps-card-panel .mps-card-control .mps-checkin-state>button{grid-column:1;grid-row:auto;width:100%;margin-top:8px;min-height:48px}#mps-operations.mps-card-panel .mps-card-actions .action,#mps-operations.mps-card-panel .mps-card-actions button{min-height:46px;font-size:14px}}

/* Equipa: navegação persistente e aviso de saída, limitado ao check-in. */
#mps-staff-navigation{position:sticky;top:var(--mps-staff-nav-offset,72px);z-index:900;width:100%;max-width:1160px;margin:16px auto 12px;padding:10px 16px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;box-sizing:border-box;font:15px/1.4 system-ui,sans-serif;color:#526b80;background:#fff;border:1px solid #cbdce9;border-radius:10px;box-shadow:0 3px 12px rgba(23,63,104,.08)}
#mps-staff-navigation a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 18px;border:1px solid #94b0cc;border-radius:8px;background:#e3edf7;color:#173f68;font-weight:600;text-decoration:none}
#mps-staff-navigation a:hover{background:#d3e3f2}
#mps-staff-navigation a:focus-visible,#mps-unsaved-dialog button:focus-visible{outline:3px solid #245d94;outline-offset:3px}
body:has(#mps-staff-navigation) #mps-checkin-demo [data-step]{scroll-margin-top:150px}
#mps-unsaved-dialog{box-sizing:border-box;width:calc(100% - 32px);max-width:500px;padding:28px;border:1px solid #cbdce9;border-radius:14px;background:#fff;color:#153347;font:16px/1.55 system-ui,sans-serif;box-shadow:0 20px 80px rgba(7,19,29,.25)}
#mps-unsaved-dialog::backdrop{background:rgba(7,19,29,.55)}
#mps-unsaved-dialog h2{font-size:22px;line-height:1.25;color:#173f68;margin:0 0 14px}
#mps-unsaved-dialog p{margin:0 0 22px}
#mps-unsaved-dialog .mps-unsaved-actions{display:flex;gap:10px;flex-wrap:wrap}
#mps-unsaved-dialog button{font:600 15px/1.4 system-ui,sans-serif;min-height:48px;padding:12px 15px;border-radius:8px;cursor:pointer;flex:1}
#mps-continue-checkin{background:#173f68;border:1px solid #173f68;color:white}
#mps-leave-checkin{background:#fff;border:1px solid #94b0cc;color:#173f68}
@media(max-width:600px){#mps-staff-navigation{padding:8px 12px;font-size:14px;margin:12px 0;border-radius:8px}#mps-staff-navigation a{min-height:46px;font-size:15px;padding:10px 12px}#mps-unsaved-dialog{padding:22px}#mps-unsaved-dialog .mps-unsaved-actions{flex-direction:column}#mps-unsaved-dialog button{width:100%}}
@media print{#mps-staff-navigation,#mps-unsaved-dialog{display:none!important}}

/* Idioma da impressão: apenas na barra de ferramentas do documento interno. */
.mps-print-document .mps-print-toolbar form{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:0}
.mps-print-document .mps-print-toolbar label{font:14px Arial,sans-serif;color:#173f68}
.mps-print-document .mps-print-toolbar select{font:14px Arial,sans-serif;min-height:44px;padding:8px 12px;border:1px solid #9cb7cb;border-radius:6px;background:#fff;color:#173f68;max-width:100%}
.mps-print-document .mps-print-toolbar button,.mps-print-document .mps-print-toolbar a{min-height:44px;box-sizing:border-box}
.mps-print-document .mps-print-toolbar :focus-visible{outline:3px solid #79a8d4;outline-offset:2px}
@media(max-width:600px){.mps-print-document .mps-print-toolbar{margin:12px}.mps-print-document .mps-print-toolbar form{width:100%}.mps-print-document .mps-print-toolbar form label{width:100%;text-align:center}}
