.land-chat {
  font-family: "Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  color: #0c1a3a;
  font-size: 15px;
  line-height: 1.7;
  position: relative;
  z-index: 50;
}
.land-chat *, .land-chat *::before, .land-chat *::after { box-sizing: border-box; }
.land-chat [hidden] { display: none !important; }
.land-chat button, .land-chat textarea, .land-chat input { font: inherit; }
.land-chat button { cursor: pointer; }
.land-chat button:disabled { cursor: default; opacity: .55; }
.land-chat button:focus-visible, .land-chat textarea:focus-visible, .land-chat input:focus-visible { outline: 2px solid #1456d8; outline-offset: 2px; }
.land-chat-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 100px; height: 100px; padding: 0; border-radius: 50%; border: 0;
  background: #1456d8; color: white; font-size: 15px;
  box-shadow: 0 0 0 1px #00d4ff, 0 0 24px rgba(0,212,255,.35);
}
.land-chat-window {
  position: fixed; right: 20px; bottom: 128px; z-index: 50;
  width: 360px; height: 560px; max-height: min(80vh, calc(100dvh - 136px));
  display: flex; flex-direction: column; overflow: hidden;
  background: white; border: 1px solid #d5def0; border-radius: 16px;
  box-shadow: 0 0 24px rgba(12,26,58,.15);
}
.land-chat-header { display: flex; align-items: flex-start; gap: 8px; padding: 16px; background: #050b1f; color: white; flex-shrink: 0; }
.land-chat-heading { flex: 1; min-width: 0; }
.land-chat h2 { font-size: 15px; line-height: 1.7; margin: 0; font-weight: bold; }
.land-chat-demo { margin: 8px 0 0; color: #eef4ff; font-size: 12px; }
.land-chat-close { border: 1px solid #d5def0; border-radius: 8px; color: white; background: #050b1f; padding: 4px 8px; flex-shrink: 0; }
.land-chat .land-chat-close:focus-visible { outline-color: #00d4ff; }
.land-chat-transcript { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px; }
.land-chat-message { width: fit-content; max-width: 100%; margin: 0 0 16px; padding: 8px 12px; border-radius: 14px; overflow-wrap: anywhere; white-space: pre-wrap; font-size: 15px; line-height: 1.7; }
.land-chat-assistant { background: #eef4ff; color: #0c1a3a; margin-right: 20px; }
.land-chat-user { background: #1456d8; color: white; margin-left: auto; max-width: calc(100% - 20px); }
.land-chat-form { padding: 12px 16px; border-top: 1px solid #d5def0; flex-shrink: 0; }
.land-chat-input-row { display: flex; gap: 8px; align-items: stretch; }
.land-chat-input { min-width: 0; width: 100%; resize: none; padding: 8px; border: 1px solid #d5def0; border-radius: 8px; color: #0c1a3a; background: white; }
.land-chat-send, .land-chat-submit { border: 0; border-radius: 8px; padding: 8px 12px; color: white; background: #1456d8; }
.land-chat-send { flex-shrink: 0; }
.land-chat-note { margin: 8px 0 0; font-size: 12px; line-height: 1.7; color: #5b6785; }
.land-chat-confirm { border: 1px solid #d5def0; border-radius: 14px; padding: 12px; margin-bottom: 16px; background: white; }
.land-chat h3 { font-size: 15px; margin: 0 0 12px; }
.land-chat-details { margin: 0 0 16px; overflow-wrap: anywhere; }
.land-chat-details dt { color: #5b6785; font-size: 12px; }
.land-chat-details dd { margin: 0 0 8px; white-space: pre-wrap; }
.land-chat-consent { display: flex; align-items: flex-start; gap: 8px; }
.land-chat-consent input { flex-shrink: 0; margin-top: 8px; accent-color: #1456d8; }
.land-chat-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.land-chat-edit { border: 1px solid #d5def0; border-radius: 8px; padding: 8px 12px; color: #0c1a3a; background: #eef4ff; }
@media (max-width: 480px) {
  .land-chat-window { right: 8px; left: 8px; bottom: 8px; width: auto; max-height: 80vh; max-height: 80dvh; }
  .land-chat-window:not([hidden]) + .land-chat-toggle { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .land-chat *, .land-chat *::before, .land-chat *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
