/* Lotus Jade · compact email enquiries */
.lotus-contact-launcher,
.lotus-contact-dialog {
  --contact-jade: #2d4a3e;
  --contact-paper: #f8f7f3;
  --contact-line: #e4e2d9;
  font-family: var(--sans, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
}
.lotus-contact-launcher {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 300;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid #ffffff25;
  border-radius: 28px;
  background: var(--contact-jade);
  color: #fff;
  box-shadow: 0 5px 22px #172e2424;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
}
.lotus-contact-launcher svg { width: 22px; height: 22px; flex: 0 0 22px; }
.lotus-contact-launcher:hover { background: #3a6355; }
.lotus-contact-dialog {
  position: fixed;
  inset: auto max(22px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) auto;
  width: min(382px, calc(100vw - 32px));
  max-width: none;
  max-height: min(720px, calc(100vh - 40px));
  max-height: min(720px, calc(100dvh - 40px));
  margin: 0;
  padding: 0;
  border: 1px solid var(--contact-line);
  border-radius: 16px;
  background: var(--contact-paper);
  color: #273b31;
  box-shadow: 0 18px 65px #14271e30;
  overflow: hidden;
  text-align: left;
}
.lotus-contact-dialog:not([open]) { display: none; }
.lotus-contact-dialog[open] { display: flex; flex-direction: column; }
.lotus-contact-dialog::backdrop { background: #15231b16; }
.lotus-contact-dialog *, .lotus-contact-dialog *::before, .lotus-contact-dialog *::after { box-sizing: border-box; }
.lotus-contact-dialog [hidden] { display: none !important; }
.lotus-contact-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 20px 17px;
  background: var(--contact-jade);
  color: #fff;
}
.lotus-contact-brand { margin: 0 0 6px; font-size: 10px; line-height: 1.3; letter-spacing: .14em; color: #dedfcf; }
.lotus-contact-dialog h2 { margin: 0; font-family: inherit; font-size: 17px; font-style: normal; font-weight: 500; line-height: 1.4; color: inherit; }
.lotus-contact-close {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #ffffff12;
  color: #fff;
  font: 300 27px/1 sans-serif;
  cursor: pointer;
}
.lotus-contact-close:hover { background: #ffffff25; }
.lotus-contact-body { min-height: 0; padding: 18px 20px 16px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.lotus-contact-intro { margin: 0 0 15px; color: #576259; font-size: 13px; line-height: 1.6; }
.lotus-contact-references { display: grid; gap: 7px; max-height: 158px; overflow-y: auto; overscroll-behavior: contain; }
.lotus-contact-reference { display: grid; grid-template-columns: 42px minmax(0, 1fr) 32px; align-items: center; gap: 10px; padding: 7px; border: 1px solid var(--contact-line); border-radius: 8px; background: #fff; }
.lotus-contact-thumb { width: 42px; height: 46px; overflow: hidden; border-radius: 4px; background: #f0f0e9; }
.lotus-contact-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lotus-contact-reference strong { display: block; font-size: 11px; line-height: 1.5; font-weight: 600; }
.lotus-contact-reference span:not(.lotus-contact-thumb) { display: block; font-size: 11px; line-height: 1.4; color: #6a716b; overflow-wrap: anywhere; }
.lotus-contact-reference button { width: 32px; height: 36px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #6a716b; font-size: 22px; cursor: pointer; }
.lotus-contact-reference button:hover { background: #f2f2eb; }
.lotus-contact-small { margin: 8px 0 12px; font-size: 11px; line-height: 1.6; color: #6a716b; overflow-wrap: anywhere; }
.lotus-contact-dialog form { margin: 0; padding: 0; }
.lotus-contact-dialog label { display: block; margin: 13px 0 6px; font-size: 12px; line-height: 1.5; font-weight: 500; color: #394a3e; }
.lotus-contact-dialog input:not([name="_honey"]), .lotus-contact-dialog textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px 11px;
  border: 1px solid #d3d8cf;
  border-radius: 7px;
  background: #fff;
  color: #26382d;
  font: 400 16px/1.5 var(--sans, 'Inter', -apple-system, sans-serif);
  box-shadow: none;
}
.lotus-contact-dialog textarea { min-height: 96px; max-height: 200px; resize: vertical; }
.lotus-contact-dialog input::placeholder, .lotus-contact-dialog textarea::placeholder { color: #7b827d; opacity: 1; }
.lotus-contact-dialog input:disabled, .lotus-contact-dialog textarea:disabled { opacity: .75; color: #394a3e; -webkit-text-fill-color: #394a3e; }
.lotus-contact-note { margin: 12px 0; color: #6a716b; font-size: 11px; line-height: 1.6; }
.lotus-contact-submit { display: block; width: 100%; min-height: 43px; padding: 11px 16px; border: 0; border-radius: 7px; background: var(--contact-jade); color: #fff; font: 500 13px/1.5 var(--sans, 'Inter', sans-serif); cursor: pointer; }
.lotus-contact-submit:hover:not(:disabled) { background: #3a6355; }
.lotus-contact-dialog button:disabled { opacity: .55; cursor: default; }
.lotus-contact-status { margin: 13px 0 0; padding: 11px 12px; border-radius: 7px; background: #eaf0e6; color: #2d4a3e; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.lotus-contact-status:empty { display: none; }
.lotus-contact-status.lotus-contact-error { background: #f3eae2; color: #824b2e; }
.lotus-contact-new { margin: 4px 0 10px; padding: 4px 0; border: 0; background: transparent; color: #2d4a3e; font: 500 12px/1.5 var(--sans, 'Inter', sans-serif); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lotus-contact-footer { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--contact-line); font-size: 10px; line-height: 1.6; color: #71776e; }
.lotus-contact-footer p { margin: 0 0 4px; }
.lotus-contact-footer a { color: #4c6250; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.lotus-contact-honey { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.lotus-contact-launcher:focus-visible, .lotus-contact-dialog :is(button, a, input, textarea):focus-visible { outline: 3px solid #c9a96e; outline-offset: 3px; }
@media (max-width: 480px) {
  .lotus-contact-launcher { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); min-height: 48px; padding: 11px 17px; }
  .lotus-contact-dialog { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100vw - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 13px; }
  .lotus-contact-header { padding: 16px; }
  .lotus-contact-body { padding: 15px 16px; }
}
@media (prefers-reduced-motion: reduce) { .lotus-contact-launcher, .lotus-contact-dialog, .lotus-contact-dialog * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
