.lf-help {
  --ink: #20382c;
  --pine: #214d3a;
  --deep: #17392b;
  --paper: #fcfaf5;
  --leaf: #e9efe7;
  --line: #cbd7c9;
  --clearance: calc(86px + env(safe-area-inset-bottom, 0px));
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: var(--clearance);
  z-index: 80;
  color: var(--ink);
  font: 400 15px/1.45 system-ui, sans-serif;
}
.lf-help *, .lf-help *::before { box-sizing: border-box; }
.lf-help [hidden] { display: none !important; }
.lf-help button, .lf-help input, .lf-help select { font: inherit; }
.lf-help button { cursor: pointer; }
.lf-help :focus-visible { outline: 2px solid #ac6500; outline-offset: 2px; }
.lf-help .lf-open {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 9px;
  min-height: 48px;
  border: 1px solid #54725e;
  border-radius: 40px;
  background: var(--deep);
  color: white;
  font-weight: 650;
  box-shadow: 0 6px 22px #17392b40;
}
.lf-help .lf-launch-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: contain;
}
.lf-help section {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: flex;
  flex-direction: column;
  gap: 0;
  width: min(410px, calc(100vw - 36px));
  max-height: calc(100dvh - var(--clearance) - 72px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 14px 58px #11281940;
}
.lf-help header {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  padding: 11px 14px;
  background: var(--deep);
  color: white;
}
.lf-help .lf-brand { display: flex; align-items: center; gap: 10px; }
.lf-help .lf-mark { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; object-fit: contain; }
.lf-help h2 { margin: 0; color: inherit; font-size: 19px; line-height: 1.2; }
.lf-help .lf-brand p { margin: 2px 0 0; color: #d8e6d9; font-size: 12px; }
.lf-help .lf-close {
  min-width: 40px;
  min-height: 40px;
  color: inherit;
  border: 1px solid #8aa18f;
  background: transparent;
  border-radius: 11px;
  font-size: 23px;
}
.lf-help .lf-summary {
  flex: 0 0 auto;
  margin: 0;
  padding: 7px 14px;
  background: #eee6d3;
  font-size: 13px;
  font-weight: 650;
}
.lf-help .lf-history {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 9px;
  min-height: 125px;
  max-height: min(520px, 60dvh);
  padding: 12px 14px;
  overflow: auto;
  overscroll-behavior: contain;
}
.lf-help .lf-message {
  align-self: start;
  max-width: 94%;
  padding: 8px 11px;
  border: 1px solid #d8e2d6;
  border-radius: 4px 14px 14px;
  background: var(--leaf);
  overflow-wrap: anywhere;
}
.lf-help .lf-user {
  align-self: end;
  color: white;
  background: var(--pine);
  border-color: var(--pine);
  border-radius: 14px 4px 14px 14px;
}
.lf-help .lf-message p { margin: 2px 0; white-space: pre-line; }
.lf-help .lf-speaker { font-size: 11px; font-weight: 750; }
.lf-help .lf-pending { border-left: 3px solid #6a846b; }
.lf-help .lf-alternatives button {
  color: var(--ink);
  background: white;
  border: 1px solid #9daf9e;
  min-height: 38px;
}
.lf-help .lf-alternatives { display: grid; gap: 5px; margin-top: 8px; }
.lf-help .lf-alternatives button { text-align: left; padding: 8px 10px; border-radius: 9px; }
.lf-help .lf-alternatives strong, .lf-help .lf-alternatives span { display: block; font-size: 13px; }
.lf-help .lf-alternatives span { margin-top: 2px; }
.lf-help .lf-question, .lf-help .lf-date-entry, .lf-help footer { flex: 0 0 auto; margin: 0; padding: 5px 14px; }
.lf-help form { display: grid; gap: 6px; }
.lf-help form div { display: flex; align-items: end; gap: 7px; }
.lf-help form div > * { min-width: 0; }
.lf-help label { display: grid; gap: 3px; font-size: 13px; font-weight: 650; }
.lf-help input, .lf-help select {
  width: 100%;
  min-height: 42px;
  padding: 7px;
  border: 1px solid #829485;
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font-size: 16px;
}
.lf-help .lf-contact, .lf-help form button {
  padding: 8px 11px;
  min-height: 42px;
  border: 1px solid var(--pine);
  border-radius: 9px;
  background: var(--pine);
  color: white;
  font-weight: 650;
  text-decoration: none;
}
.lf-help .lf-contact, .lf-help .lf-review-link { display: inline-block; margin-top: 6px; }
.lf-help .lf-review-link { color: var(--ink); font-weight: 650; }
.lf-help .lf-dates label { flex: 1; }
.lf-help .lf-dates { margin-top: 7px; }
.lf-help summary { cursor: pointer; font-size: 13px; }
.lf-help footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
  padding-bottom: 8px;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}
.lf-help footer a { color: inherit; text-decoration: underline; }
.lf-help footer button { min-height: 34px; padding: 4px; border: 0; background: transparent; color: inherit; text-decoration: underline; }
@media (max-width: 820px) {
  .lf-help { --clearance: calc(78px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 520px) {
  .lf-help { right: max(10px, env(safe-area-inset-right)); }
  .lf-help section { width: min(410px, calc(100vw - 20px)); border-radius: 17px; }
  .lf-help .lf-history { max-height: 56dvh; }
}
.lf-help .lf-refine {
  margin-top: 8px;
  min-height: 38px;
  padding: 5px 9px;
  border: 1px solid #9daf9e;
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font-size: 13px;
}
.lf-help .lf-visit-list { display: grid; gap: 6px; margin: 8px 0; }
.lf-help .lf-visit-list > div {
  padding: 8px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.lf-help .lf-visit-list a, .lf-help .lf-plan-actions a {
  color: var(--pine);
  font-weight: 700;
  text-underline-offset: 3px;
}
.lf-help .lf-visit-list p, .lf-help .lf-plan-actions { font-size: 13px; }
.lf-help .lf-plan-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; }
.lf-help .lf-plan-actions button {
  min-height: 38px;
  padding: 5px 9px;
  border: 1px solid #9daf9e;
  border-radius: 9px;
  background: white;
  color: var(--ink);
}
.lf-help .lf-price-detail { color: var(--pine); font-weight: 650; }
.lf-help .lf-refine + .lf-more { margin-inline-start: 6px; }
.lf-help .lf-question-notice { margin: 0 0 6px; color: #465d51; font-size: 12px; line-height: 1.35; }
.lf-help .lf-question-notice a { color: inherit; text-decoration: underline; }
