#lfe-feedback {
  --fb-bg: #fff;
  --fb-text: #182235;
  --fb-muted: #536176;
  --fb-line: #c5cdd8;
  --fb-field: #f5f7fa;
  --fb-accent: #125e59;
  font:
    14px/1.5 Inter,
    system-ui,
    sans-serif;
  color: var(--fb-text);
}
#lfe-feedback[data-theme="office"] {
  --fb-bg: #172337;
  --fb-text: #eef3fa;
  --fb-muted: #adbbcd;
  --fb-line: #52657e;
  --fb-field: #0d1422;
  --fb-accent: #6ce5dc;
  color-scheme: dark;
}
#lfe-feedback * {
  box-sizing: border-box;
}
#lfe-feedback button,
#lfe-feedback input,
#lfe-feedback textarea {
  font: inherit;
  color: inherit;
  letter-spacing: normal;
}
#lfe-feedback button {
  cursor: pointer;
  min-height: 44px;
  transition: background 0.15s ease-out;
}
#lfe-feedback :focus-visible {
  outline: 2px solid var(--fb-accent);
  outline-offset: 3px;
}
#lfe-feedback ::selection {
  background: var(--fb-accent);
  color: var(--fb-bg);
}
#lfe-feedback .lfe-fb-launch {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--fb-bg);
  color: var(--fb-text);
  border: 1px solid var(--fb-line);
  border-radius: 8px;
  padding: 8px 14px;
  box-shadow: none;
  font-weight: 600;
}
#lfe-feedback .lfe-fb-launch:hover {
  background: var(--fb-field);
}
#lfe-feedback .lfe-fb-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(440px, calc(100vw - 28px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 24px;
  background: var(--fb-bg);
  color: var(--fb-text);
  border: 1px solid var(--fb-line);
  border-radius: 10px;
  box-shadow: none;
  font:
    14px/1.5 Inter,
    system-ui,
    sans-serif;
  text-align: left;
  scrollbar-color: var(--fb-line) var(--fb-bg);
}
#lfe-feedback dialog::backdrop {
  background: rgb(0 0 0 / 0.55);
}
#lfe-feedback header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  position: static;
  background: none;
}
#lfe-feedback h2 {
  font:
    700 22px/1.2 Inter,
    system-ui,
    sans-serif;
  margin: 0;
  color: inherit;
  text-transform: none;
  letter-spacing: -0.02em;
}
#lfe-feedback .lfe-fb-close {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  padding: 10px;
  min-width: 44px;
}
#lfe-feedback fieldset {
  border: 0;
  margin: 0 0 16px;
  padding: 0;
  min-width: 0;
}
#lfe-feedback .lfe-fb-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
#lfe-feedback .lfe-fb-types label {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--fb-line);
  border-radius: 8px;
  min-height: 44px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}
#lfe-feedback .lfe-fb-types label:has(input:checked) {
  color: var(--fb-accent);
  border-color: var(--fb-accent);
  background: var(--fb-field);
}
#lfe-feedback input[type="radio"] {
  accent-color: var(--fb-accent);
  width: 14px;
  height: 14px;
  margin: 0;
}
#lfe-feedback .lfe-fb-field {
  display: block;
  font-weight: 600;
  margin: 0 0 14px;
}
#lfe-feedback .lfe-fb-field > span {
  font-weight: 400;
  color: var(--fb-muted);
}
#lfe-feedback textarea,
#lfe-feedback input[name="name"] {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  background: var(--fb-field);
  border: 1px solid var(--fb-line);
  border-radius: 8px;
  min-height: 44px;
  caret-color: var(--fb-accent);
  font-size: 16px;
  font-weight: 400;
  resize: vertical;
}
#lfe-feedback textarea::placeholder {
  color: var(--fb-muted);
}
#lfe-feedback .lfe-fb-page,
#lfe-feedback .lfe-fb-private {
  font-size: 12px;
  color: var(--fb-muted);
  margin: 6px 0;
  overflow-wrap: anywhere;
}
#lfe-feedback .lfe-fb-send,
#lfe-feedback .lfe-fb-done {
  width: 100%;
  background: var(--fb-accent);
  color: var(--fb-bg);
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  margin-top: 14px;
  font-weight: 700;
}
#lfe-feedback button:disabled {
  opacity: 0.6;
  cursor: wait;
}
#lfe-feedback .lfe-fb-error {
  color: var(--fb-text);
  border: 1px solid var(--fb-line);
  padding: 10px;
  margin: 12px 0 0;
  border-radius: 8px;
}
#lfe-feedback .lfe-fb-success h3 {
  font-size: 16px;
  margin: 8px 0;
  color: inherit;
}
#lfe-feedback [hidden] {
  display: none !important;
}
#lfe-feedback .lfe-fb-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 720px) {
  #lfe-feedback .lfe-fb-launch {
    bottom: calc(76px + env(safe-area-inset-bottom));
    right: 12px;
    padding: 8px 12px;
  }
  #lfe-feedback .lfe-fb-dialog {
    padding: 18px;
  }
  #lfe-feedback .lfe-fb-private {
    max-width: 34ch;
  }
}
@media (prefers-reduced-motion: reduce) {
  #lfe-feedback button {
    transition: none;
  }
}
