/* Claim Lane help/feedback widget — paper/ink, IBM Plex.
   Capture-only: two short forms (Ask a question / Send feedback).
   No chat. No fake AI. No blocking modal. */

#cl-help-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  background: #1A1818;
  color: #F7F5F0;
  border: 1px solid #1A1818;
  border-radius: 999px;
  padding: 9px 16px 9px 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(26, 24, 24, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
#cl-help-launcher:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(26,24,24,0.24); }
#cl-help-launcher:focus-visible { outline: 2px solid #C8001A; outline-offset: 2px; }
#cl-help-launcher .cl-dot { width: 7px; height: 7px; background: #C8001A; border-radius: 50%; display: inline-block; }

#cl-help-panel {
  position: fixed;
  right: 20px;
  bottom: 70px;
  width: 360px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 100px);
  background: #F7F5F0;
  border: 1px solid #1A1818;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(26, 24, 24, 0.2);
  display: none;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
  font-family: 'IBM Plex Serif', Georgia, serif;
  color: #1A1818;
}
#cl-help-panel.open { display: flex; }

.cl-help-header {
  background: #1A1818;
  color: #F7F5F0;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cl-help-header .cl-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cl-help-header .cl-close {
  background: none; border: none;
  color: #F7F5F0;
  font-size: 20px; line-height: 1;
  cursor: pointer; padding: 0 4px;
}
.cl-help-header .cl-close:focus-visible { outline: 1px solid #F7F5F0; outline-offset: 2px; }

.cl-help-tabs {
  display: flex;
  border-bottom: 1px solid #E0DCD4;
  background: #F1EDE5;
}
.cl-help-tab {
  flex: 1;
  padding: 10px 8px;
  border: none;
  background: transparent;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B6560;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.cl-help-tab.active {
  color: #1A1818;
  background: #F7F5F0;
  border-bottom-color: #C8001A;
}
.cl-help-tab:focus-visible { outline: 1px solid #1A1818; outline-offset: -2px; }

.cl-help-body {
  overflow-y: auto;
  padding: 14px;
  background: #F7F5F0;
  max-height: 420px;
}
.cl-help-pane { display: none; }
.cl-help-pane.active { display: block; }

.cl-help-intro {
  font-size: 13px;
  line-height: 1.5;
  color: #3A3838;
  margin: 0 0 14px;
}
.cl-help-intro.cl-context {
  border-left: 2px solid #C8001A;
  padding-left: 10px;
}
.cl-help-helper {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #6B6560;
  line-height: 1.6;
  margin: -6px 0 12px;
  padding: 8px 10px;
  background: #FDFCFA;
  border-left: 2px solid #C8C2B8;
}

.cl-help-pane label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B6560;
  margin-bottom: 5px;
  font-weight: 700;
}
.cl-help-pane input[type="text"],
.cl-help-pane input[type="email"],
.cl-help-pane select,
.cl-help-pane textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #C8C2B8;
  border-radius: 3px;
  background: #FFFFFF;
  color: #1A1818;
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 14px;
  margin-bottom: 12px;
  box-sizing: border-box;
}
.cl-help-pane textarea {
  min-height: 110px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}
.cl-help-pane input:focus,
.cl-help-pane select:focus,
.cl-help-pane textarea:focus {
  outline: none;
  border-color: #1A1818;
}

.cl-priv-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #6B6560;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  line-height: 1.5;
}

.cl-btn {
  background: #1A1818;
  color: #F7F5F0;
  border: 1px solid #1A1818;
  border-radius: 3px;
  padding: 9px 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.cl-btn:hover { background: #2A2828; }
.cl-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.cl-btn.cl-btn-accent { background: #C8001A; border-color: #C8001A; }
.cl-btn.cl-btn-accent:hover { background: #A80016; }
.cl-btn-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.cl-help-status {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #6B6560;
  margin-top: 10px;
  letter-spacing: 0.04em;
}
.cl-help-status.ok { color: #1A1818; }
.cl-help-status.err { color: #C8001A; }

.cl-help-thanks {
  text-align: left;
}
.cl-help-thanks h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: #1A1818;
}
.cl-help-thanks p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 12px;
  color: #3A3838;
}

@media (max-width: 480px) {
  #cl-help-panel { right: 8px; left: 8px; width: auto; bottom: 64px; }
  #cl-help-launcher { right: 12px; bottom: 12px; }
}
