/**
 * 19/11/2026 17:45 @filipemontt — UI app Marinheiro (mobile-first, cards suaves)
 */
:root {
  --mh-bg: #f4f5f7;
  --mh-card: #ffffff;
  --mh-text: #12141a;
  --mh-muted: #6b7280;
  --mh-border: rgba(18, 20, 26, 0.08);
  --mh-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  --mh-radius: 22px;
  --mh-radius-sm: 14px;
  --mh-primary: #12141a;
  --mh-fuel-ok: #3d6b6e;
  --mh-fuel-low: #ea5455;
  --mh-safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.mh-app,
body.mh-auth {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--mh-text);
  background: var(--mh-bg);
  -webkit-font-smoothing: antialiased;
}

.mh-auth {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.mh-auth__card {
  width: 100%;
  max-width: 400px;
  background: var(--mh-card);
  border-radius: var(--mh-radius);
  padding: 32px 28px;
  box-shadow: var(--mh-shadow);
}

.mh-auth__card h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
}

.mh-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 245, 247, 0.92);
  backdrop-filter: blur(12px);
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--mh-border);
}

.mh-header__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mh-header__brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.mh-header__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--mh-border);
}

.mh-header__tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--mh-border);
  background: #fff;
  color: var(--mh-primary);
}

.mh-header__tab-icon i {
  font-size: 1.45rem;
}

.mh-header__tab-icon--marina {
  background: linear-gradient(145deg, #e8f4f5 0%, #d4e8ea 100%);
  border-color: #b8d4d7;
  color: var(--mh-primary);
}

.mh-header__tab-icon--mar {
  background: linear-gradient(145deg, #e3f2fd 0%, #bbdefb 100%);
  border-color: #90caf9;
  color: #1565c0;
}

.mh-header__tab-icon--lavagem {
  background: linear-gradient(145deg, #e0f7fa 0%, #b2ebf2 100%);
  border-color: #80deea;
  color: #00838f;
}

.mh-header__tab-icon--abastecimento {
  background: linear-gradient(145deg, #e8f5e9 0%, #c8e6c9 100%);
  border-color: #a5d6a7;
  color: #2e7d32;
}

.mh-header__tab-icon[hidden],
.mh-header__logo[hidden] {
  display: none !important;
}

.mh-header__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mh-muted);
  font-weight: 600;
}

.mh-header__title {
  margin: 2px 0 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.mh-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--mh-border);
  background: var(--mh-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mh-text);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mh-search-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mh-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--mh-card);
  border: 1px solid var(--mh-border);
  border-radius: 999px;
  padding: 0 16px;
  min-height: 48px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.mh-search i {
  color: var(--mh-muted);
  font-size: 1.1rem;
}

.mh-search input {
  border: none;
  background: transparent;
  flex: 1;
  font-size: 0.95rem;
  outline: none;
  min-width: 0;
}

.mh-add-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--mh-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(18, 20, 26, 0.25);
}

.mh-main {
  padding: 12px 16px calc(108px + var(--mh-safe-bottom));
  max-width: 560px;
  margin: 0 auto;
}

.mh-page-foot {
  margin-top: 8px;
  padding: 16px 0 8px;
  text-align: center;
}

.mh-page-foot[hidden] {
  display: none !important;
}

.mh-logoff-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mh-muted);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--mh-border);
  background: var(--mh-card);
}

.mh-logoff-link i {
  font-size: 1.05rem;
}

.mh-view {
  display: none;
}

.mh-view--active {
  display: block;
}

.mh-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mh-card-boat {
  display: flex;
  align-items: stretch;
  gap: 14px;
  background: var(--mh-card);
  border-radius: var(--mh-radius);
  padding: 14px;
  border: 1px solid var(--mh-border);
  box-shadow: var(--mh-shadow);
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
}

.mh-card-boat:active {
  transform: scale(0.99);
}

.mh-card-boat__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--mh-radius-sm);
  object-fit: cover;
  background: #eef0f4;
  flex-shrink: 0;
}

.mh-card-boat__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.mh-card-boat__apelido {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mh-muted);
}

.mh-card-boat__nome {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.mh-card-boat__cliente {
  font-size: 0.82rem;
  color: var(--mh-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mh-card-boat__meta {
  font-size: 0.78rem;
  color: var(--mh-muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mh-fuel {
  width: 12px;
  align-self: stretch;
  min-height: 72px;
  border-radius: 999px;
  background: #eceef2;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.mh-fuel__fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 999px;
  transition: height 0.35s ease;
}

.mh-fuel--low .mh-fuel__fill {
  background: var(--mh-fuel-low);
}

.mh-fuel--ok .mh-fuel__fill {
  background: var(--mh-fuel-ok);
}

.mh-empty {
  text-align: center;
  color: var(--mh-muted);
  padding: 48px 16px;
}

.mh-back-round {
  width: 48px;
  height: 48px;
  min-width: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--mh-border);
  background: var(--mh-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mh-text);
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.mh-back-round i {
  font-size: 1.25rem;
}

.mh-sticky-actions__main {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.mh-sticky-actions__confirm {
  flex: 1;
  min-width: 0;
  min-height: 48px;
}

.mh-detail-hero {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--mh-card);
  border-radius: var(--mh-radius);
  padding: 20px;
  box-shadow: var(--mh-shadow);
  margin-bottom: 12px;
}

.mh-detail-hero img {
  width: 88px;
  height: 88px;
  border-radius: var(--mh-radius-sm);
  object-fit: cover;
}

.mh-detail-hero h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.mh-detail-meta {
  background: var(--mh-card);
  border-radius: var(--mh-radius);
  padding: 16px 18px;
  margin-bottom: 16px;
  border: 1px solid var(--mh-border);
  font-size: 0.88rem;
  line-height: 1.6;
}

.mh-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.mh-btn--block {
  width: 100%;
}

.mh-btn--primary {
  background: var(--mh-primary);
  color: #fff;
}

.mh-btn--ghost {
  background: var(--mh-card);
  border-color: var(--mh-border);
  color: var(--mh-text);
}

.mh-btn--outline {
  background: transparent;
  border-color: var(--mh-border);
}

.mh-btn:disabled,
.mh-btn.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.mh-busy {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 20, 26, 0.38);
  backdrop-filter: blur(4px);
}

.mh-busy[hidden] {
  display: none !important;
}

.mh-busy__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 200px;
  max-width: 280px;
  padding: 22px 24px;
  border-radius: var(--mh-radius);
  background: var(--mh-card);
  border: 1px solid var(--mh-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.mh-busy__spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #e4e6eb;
  border-top-color: var(--mh-primary);
  animation: mh-busy-spin 0.75s linear infinite;
}

.mh-busy__text {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mh-text);
  text-align: center;
  line-height: 1.35;
}

@keyframes mh-busy-spin {
  to {
    transform: rotate(360deg);
  }
}

.mh-card {
  background: var(--mh-card);
  border-radius: var(--mh-radius);
  padding: 18px;
  margin-bottom: 12px;
  border: 1px solid var(--mh-border);
}

.mh-card__title {
  margin: 0 0 12px;
  font-size: 1rem;
}

.mh-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--mh-muted);
}

.mh-input,
.mh-textarea {
  width: 100%;
  border: 1px solid var(--mh-border);
  border-radius: var(--mh-radius-sm);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  margin-bottom: 12px;
  background: #fff;
}

.mh-textarea {
  resize: vertical;
  min-height: 80px;
}

.mh-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mh-check-row > span {
  flex: 1;
  line-height: 1.35;
}

.mh-check-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  order: 2;
  width: 50px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #cfd4dc;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease;
}

.mh-check-row input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.mh-check-row input[type="checkbox"]:checked {
  background: var(--mh-primary);
}

.mh-check-row input[type="checkbox"]:checked::before {
  transform: translateX(20px);
}

.mh-check-row input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--mh-primary);
  outline-offset: 2px;
}

.mh-checklist-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.mh-checklist-head .mh-card__title {
  margin-bottom: 0;
}

.mh-checklist-autosave {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mh-muted);
  min-height: 1em;
}

.mh-checklist-autosave--busy {
  color: var(--mh-primary);
}

.mh-checklist-autosave--ok {
  color: #2e7d32;
}

.mh-checklist-autosave--err {
  color: #c62828;
}

.mh-checklist-item {
  padding: 4px 0;
  border-bottom: 1px solid var(--mh-border);
}

.mh-checklist-item:last-child {
  border-bottom: none;
}

.mh-muted {
  color: var(--mh-muted);
  font-size: 0.88rem;
  margin: 0 0 12px;
}

.mh-req {
  color: var(--mh-fuel-low);
}

.mh-section-title {
  margin: 0 0 16px;
  font-size: 1.25rem;
}

.mh-form .mh-label {
  margin-top: 12px;
}

.mh-error {
  color: var(--mh-fuel-low);
  font-size: 0.85rem;
  margin: 8px 0;
}

.mh-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mh-sheet[hidden] {
  display: none !important;
}

.mh-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.mh-sheet__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 88dvh;
  overflow: auto;
  background: var(--mh-card);
  border-radius: var(--mh-radius) var(--mh-radius) 0 0;
  padding: 12px 20px calc(20px + var(--mh-safe-bottom));
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
  touch-action: pan-y;
  transition: transform 0.22s ease;
  will-change: transform;
}

.mh-sheet__panel.mh-sheet__panel--dragging {
  transition: none;
}

.mh-sheet__handle {
  position: relative;
  width: 48px;
  height: 5px;
  border-radius: 4px;
  background: #d1d5db;
  margin: 10px auto 16px;
  touch-action: none;
  cursor: grab;
}

.mh-sheet__handle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  height: 44px;
  transform: translate(-50%, -50%);
}

.mh-sheet__title {
  margin: 0 0 16px;
  font-size: 1.15rem;
}

.mh-search--inner {
  margin-bottom: 12px;
}

.mh-proprias-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  max-height: 50dvh;
  overflow: auto;
}

.mh-proprias-list li button {
  width: 100%;
  text-align: left;
  padding: 14px;
  border: 1px solid var(--mh-border);
  border-radius: var(--mh-radius-sm);
  background: #fff;
  margin-bottom: 8px;
  font: inherit;
  cursor: pointer;
}

.mh-proprias-list li button strong {
  display: block;
  font-size: 0.95rem;
}

.mh-proprias-list li button span {
  font-size: 0.82rem;
  color: var(--mh-muted);
}

.mh-proprias-list li button.mh-proprias-item--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f6f7f9;
}

.mh-proprias-item__tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.72rem !important;
  font-weight: 700;
  color: #b45309 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mh-swal-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-family: inherit;
  margin: 4px;
  cursor: pointer;
}

.mh-swal-btn--primary {
  background: var(--mh-primary);
  color: #fff;
}

.mh-swal-btn--ghost {
  background: #eef0f4;
  color: var(--mh-text);
}

.mh-oper-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.mh-oper-top > .mh-back-round {
  margin-bottom: 0;
}

.mh-oper-top__text {
  flex: 1;
  min-width: 0;
  padding-top: 6px;
}

.mh-oper-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--mh-text);
}

.mh-oper-subtitle {
  margin: 5px 0 0;
  font-size: 0.88rem;
  color: var(--mh-muted);
  font-weight: 600;
  line-height: 1.35;
}

.mh-fuel-h__hint {
  margin-top: 0;
}

.mh-fuel-h {
  padding-bottom: 20px;
}

.mh-fuel-h__track {
  position: relative;
  width: calc(100% + 8px);
  margin-left: -4px;
  height: 58px;
  margin-top: 8px;
  border-radius: 999px;
  background: #eceef2;
  border: 1px solid var(--mh-border);
  touch-action: none;
  cursor: pointer;
  overflow: hidden;
}

.mh-fuel-h__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 999px;
  background: var(--mh-fuel-ok);
  transition: width 0.08s linear;
}

.mh-fuel-h--low .mh-fuel-h__fill {
  background: var(--mh-fuel-low);
}

.mh-fuel-h__label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  pointer-events: none;
  white-space: nowrap;
}

.mh-fuel-h--disabled .mh-fuel-h__track {
  opacity: 0.5;
  pointer-events: none;
}

.mh-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mh-subfields .mh-subfield + .mh-subfield {
  margin-top: 8px;
}

.mh-file-input {
  width: 100%;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.mh-fotos-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.mh-fotos-preview__img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--mh-border);
}

.mh-signature {
  width: 100%;
  max-width: 100%;
  height: 160px;
  border-radius: var(--mh-radius-sm);
  border: 1px solid var(--mh-border);
  background: #fff;
  touch-action: none;
  display: block;
  margin-bottom: 10px;
}

.mh-sticky-actions {
  position: sticky;
  bottom: calc(8px + var(--mh-safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
  background: linear-gradient(180deg, transparent, var(--mh-bg) 24%);
}

.mh-plano-ponto {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.mh-plano-ponto .mh-input {
  margin-bottom: 0;
  flex: 1;
}

.mh-plano-ponto__rm {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--mh-border);
  background: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.mh-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mh-card__title i {
  font-size: 1.1rem;
  opacity: 0.85;
}

.mh-card__title--danger {
  color: #c62828;
}

.mh-card--danger {
  border-color: #ffcdd2;
  background: #fff8f8;
}

.mh-card--danger-outline {
  border: 1px dashed #e57373;
  background: #fff;
}

.mh-multa-horario-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.mh-multa-horario-copy__line {
  margin: 0;
}

.mh-multa-horario-copy__valor {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
  color: #c62828;
}

.mh-multa-horario-copy__valor strong {
  font-weight: 700;
}

.mh-abs-posterior-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px 4px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.mh-abs-posterior-btn.is-active .mh-abs-posterior-btn__text strong {
  color: #c62828;
}

.mh-abs-posterior-btn i {
  font-size: 1.35rem;
  margin-top: 2px;
}

.mh-abs-posterior-btn__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mh-abs-posterior-btn__text strong {
  font-size: 0.95rem;
}

.mh-abs-posterior-footnote {
  margin: 4px 4px 8px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #c62828;
  font-weight: 500;
}

.text-danger {
  color: #c62828;
}

.mh-card-boat-wrap {
  list-style: none;
  background: var(--mh-card);
  border-radius: var(--mh-radius);
  border: 1px solid var(--mh-border);
  box-shadow: var(--mh-shadow);
  overflow: hidden;
}

.mh-card-boat-wrap--lavagem {
  border-color: #f0d78c;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 48%);
}

.mh-card-boat-wrap--mar {
  border-color: #a8c4f0;
  background: linear-gradient(180deg, #f0f6ff 0%, #fff 50%);
}

.mh-card-boat-wrap--abs {
  border-color: #8fd4b8;
  background: linear-gradient(180deg, #f0fff8 0%, #fff 50%);
}

.mh-card-boat-wrap .mh-card-boat {
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.mh-card-boat__pier {
  display: block;
  font-size: 0.76rem;
  color: var(--mh-muted);
}

.mh-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 6px;
}

.mh-badge--fuel {
  background: #e8f5e9;
  color: #2e7d32;
}

.mh-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 12px;
  border-top: 1px solid var(--mh-border);
  margin-top: -2px;
}

.mh-card-actions:empty {
  display: none;
}

.mh-card-act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--mh-border);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--mh-text);
  cursor: pointer;
}

.mh-card-act i {
  font-size: 1rem;
}

.mh-card-act--primary {
  background: var(--mh-primary);
  border-color: var(--mh-primary);
  color: #fff;
}

.mh-card-act--success {
  border-color: #2e7d32;
  color: #2e7d32;
}

.mh-card-act[data-action="abastecer"] {
  display: flex;
  flex: 1 1 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 16px;
  border-radius: var(--mh-radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  box-sizing: border-box;
  text-align: center;
}

.mh-card-act[data-action="abastecer"] i {
  font-size: 1.15rem;
}

.mh-card-act--danger {
  border-color: #ffcdd2;
  background: #fff5f5;
  color: #c62828;
}

.mh-card-act--outline {
  border-color: rgba(18, 20, 26, 0.15);
}

.mh-card-actions:has(.mh-card-act--block) {
  flex-direction: column;
  align-items: stretch;
}

.mh-card-act--block {
  width: 100%;
  justify-content: center;
  padding: 15px 16px;
  min-height: 52px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--mh-radius-sm);
  box-sizing: border-box;
}

.mh-card-act--block i {
  font-size: 1.15rem;
}

/* 21/11/2026 12:40 @filipemontt - 3 ou 4 colunas conforme switch Abastecimento do /move */
.mh-footer-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 10px 10px calc(10px + var(--mh-safe-bottom));
  background: #fff;
  border-top: 1px solid var(--mh-border);
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.06);
  max-width: 560px;
  margin: 0 auto;
}

.mh-footer-nav[hidden] {
  display: none !important;
}

.mh-footer-nav--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.mh-footer-nav__item[hidden] {
  display: none !important;
}

.mh-footer-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 2px 4px;
  border: none;
  background: transparent;
  font: inherit;
  color: var(--mh-muted);
  cursor: pointer;
  border-radius: 14px;
  min-width: 0;
}

.mh-footer-nav__icon {
  position: relative;
  width: 44px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f0f2f5;
  transition: background 0.15s, color 0.15s;
}

.mh-footer-nav__icon i {
  font-size: 1.25rem;
  line-height: 1;
}

.mh-footer-nav__label {
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
}

.mh-footer-nav__badge {
  font-style: normal;
  position: absolute;
  top: -4px;
  right: -6px;
  font-size: 0.58rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--mh-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
}

.mh-footer-nav__item--active {
  color: var(--mh-primary);
}

.mh-footer-nav__item--active .mh-footer-nav__icon {
  background: var(--mh-primary);
  color: #fff;
}

.mh-footer-nav__item--active .mh-footer-nav__badge {
  background: #3d6b6e;
}

.mh-hint-bar {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: var(--mh-radius-sm);
  background: #e8f4f8;
  border: 1px solid #c5e4ec;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #1a4a52;
}

.mh-hint-bar i {
  margin-right: 6px;
  vertical-align: -2px;
}

.mh-upload-zone {
  position: relative;
  border: 2px dashed #cfd4dc;
  border-radius: var(--mh-radius);
  padding: 28px 20px;
  text-align: center;
  background: #fafbfc;
  margin-bottom: 16px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.mh-upload-zone--drag,
.mh-upload-zone:focus-visible {
  border-color: var(--mh-fuel-ok);
  background: #f0f9f9;
}

.mh-upload-zone--has-files {
  padding: 16px;
  margin-bottom: 10px;
}

.mh-upload-zone__input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.mh-upload-zone__icon {
  font-size: 2.5rem;
  color: var(--mh-fuel-ok);
  display: block;
  margin-bottom: 8px;
}

.mh-upload-zone__title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 0.95rem;
}

.mh-upload-zone__hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--mh-muted);
  line-height: 1.4;
}

.mh-upload-grid__label {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mh-muted);
}

.mh-fotos-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.mh-upload-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--mh-border);
  background: #eef0f4;
}

.mh-upload-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mh-upload-thumb__rm {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
}