
.boat-help-panel.hidden {
  display: none;
}

@keyframes helpPanelSlideIn {
  from {
    opacity: 0;
    transform: translateX(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.boat-help-header {
  padding: 14px 14px 12px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.boat-help-header h3 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 18px;
}

.boat-help-header .icon-button {
  width: 30px;
  min-height: 30px;
  padding: 0;
  border-radius: 9px;
  font-size: 13px;
}

.boat-help-body {
  min-height: 0;
  overflow-y: auto;
  padding: 13px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.boat-help-current,
.boat-help-answer {
  padding: 12px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #f8fbff;
}

.boat-help-current strong,
.boat-help-answer b {
  color: #063b77;
}

.boat-help-current ul,
.boat-help-answer ol {
  margin: 8px 0 0;
  padding-left: 18px;
}

.boat-help-current li,
.boat-help-answer li,
.boat-help-answer p {
  color: #40516b;
  font-size: 12px;
  line-height: 1.42;
}

.boat-help-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.boat-help-chips button {
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #edf6ff;
  color: #0f4c8a;
  font-size: 11px;
}

.boat-help-go {
  margin-top: 10px;
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
}

.boat-help-report {
  justify-self: start;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.boat-help-query {
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.boat-help-query input {
  min-height: 38px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
}

.boat-help-query button {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 10px;
}

.boat-help-match-list {
  display: grid;
  gap: 10px;
}

.boat-help-match-card {
  border: 1px solid rgba(15, 98, 254, 0.14);
  border-radius: 10px;
  background: #ffffff;
  padding: 10px;
}

.boat-help-match-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary-700);
}

.boat-help-match-card p {
  margin: 0 0 6px;
}

.boat-help-match-card ol {
  margin-bottom: 8px;
}

.bug-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: rgba(6, 17, 43, 0.36);
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(6, 17, 43, 0.42);
}

.legal-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(880px, calc(100vw - 36px));
  max-height: min(86vh, 760px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(6, 17, 43, 0.24);
  overflow: hidden;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.legal-header h3 {
  margin: 0;
  color: var(--ink);
}

.legal-content {
  display: grid;
  gap: 18px;
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
  color: #24324a;
}

.legal-content section {
  display: grid;
  gap: 10px;
}

.legal-content h4 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 15px;
  text-transform: uppercase;
}

.legal-content p {
  font-size: 13px;
  line-height: 1.6;
}

.bug-card {
  width: min(460px, calc(100vw - 32px));
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(6, 17, 43, 0.22);
}

.bug-card textarea {
  margin-top: 16px;
}

.credential-recovery-card {
  width: min(430px, calc(100vw - 32px));
}
