/* Eigenständiger WhatsApp-Kasten: Das vorhandene manuelle Laufband bleibt unberührt. */
.mcnwa-panel, .mcnwa-panel * { box-sizing: border-box; }
.mcnwa-panel {
  width: 100%; max-width: 780px; margin: 8px auto 26px;
  padding: 17px 19px 18px; border-radius: 22px;
  background: #142b3e; color: #f5f8fc;
  font-family: Arial, Helvetica, sans-serif; text-align: left;
}
.mcnwa-header { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mcnwa-title { margin: 0 !important; padding: 0 !important; font-size: clamp(19px, 2.3vw, 25px) !important; line-height: 1.25 !important; color: #fff !important; font-weight: 700 !important; }
.mcnwa-symbol { color: #57edb0; margin-right: 5px; }
.mcnwa-status { flex-shrink: 0; border-radius: 20px; padding: 7px 12px; background: #294f56; color: #bfe8d7; font-weight: 700; font-size: 12px; letter-spacing: .03em; }
.mcnwa-status.mcnwa-active { background: #074d40; color: #44e49a; }
.mcnwa-status.mcnwa-preview { background: #3e5171; color: #fff; }
.mcnwa-content { border-radius: 15px; padding: 14px; background: #24445e; }
.mcnwa-message {
  min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 16px 18px; border-radius: 8px; background: #19364e;
  color: #fff; font-size: clamp(16px, 2.15vw, 21px); line-height: 1.42;
  font-weight: 600; text-align: center; white-space: pre-wrap; overflow-wrap: anywhere;
}
.mcnwa-message-text { width: 100%; }
.mcnwa-image-link { display: block; width: 100%; cursor: zoom-in; }
.mcnwa-image { display: block; max-height: 320px; max-width: 100%; width: auto; height: auto; object-fit: contain; margin: 0 auto; border-radius: 5px; }
.mcnwa-message.mcnwa-has-image { padding: 12px; font-size: clamp(14px, 1.8vw, 18px); }
.mcnwa-image-hint { font-size: 12px; color: #c8dce9; font-weight: 400; margin-top: 2px; }
.mcnwa-navigation { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; }
.mcnwa-nav-button {
  border: 1px solid #84bcae; background: #0d5447; color: #fff;
  font: inherit; font-size: 14px; font-weight: 700; padding: 10px 14px;
  border-radius: 9px; cursor: pointer; min-width: 92px;
}
.mcnwa-nav-button:hover:not(:disabled), .mcnwa-nav-button:focus-visible:not(:disabled) { background: #167b65; }
.mcnwa-nav-button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.mcnwa-nav-button:disabled { opacity: .4; cursor: not-allowed; }
.mcnwa-count { color: #e3f0f7; font-size: 13px; white-space: nowrap; }
.mcnwa-details { margin-top: 12px; color: #c1d6e5; font-size: 13px; text-align: center; }
.mcnwa-message [hidden], .mcnwa-panel [hidden] { display: none !important; }
@media (max-width: 600px) {
  .mcnwa-panel { margin: 8px auto 22px; padding: 13px; border-radius: 15px; }
  .mcnwa-header { gap: 8px; }
  .mcnwa-title { font-size: 17px !important; }
  .mcnwa-status { font-size: 10px; padding: 6px 8px; }
  .mcnwa-content { padding: 10px; }
  .mcnwa-message { min-height: 130px; padding: 12px; font-size: 16px; }
  .mcnwa-image { max-height: 250px; }
  .mcnwa-nav-button { min-width: 80px; padding: 9px 10px; font-size: 13px; }
  .mcnwa-count, .mcnwa-details { font-size: 11px; }
}

/* Navigation auch bei abweichenden CSS-Regeln des Seitenlayouts anklickbar */
.mcnwa-panel { position: relative; isolation: isolate; }
.mcnwa-panel .mcnwa-navigation { position: relative; z-index: 4; }
.mcnwa-panel .mcnwa-nav-button { position: relative; z-index: 5; pointer-events: auto; touch-action: manipulation; appearance: none; -webkit-appearance: none; }
