/* RechnerHub LinkedIn Parser — Module 1 (v1.2.2) */

#rh-li-tool.rh { font-family: Arial, sans-serif; }

#rh-li-tool .rh-card {
  max-width: 980px;
  margin: 18px auto;
  padding: 16px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #fff;
}

#rh-li-tool .rh-title {
  margin: 0 0 6px;
  font-size: 20px;
}

#rh-li-tool .rh-sub {
  margin: 0 0 14px;
  color: #333;
  font-size: 14px;
  line-height: 1.4;
}

#rh-li-tool .rh-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 920px) {
  #rh-li-tool .rh-grid { grid-template-columns: 1fr 1fr; }
}

#rh-li-tool .rh-panel {
  padding: 12px;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  background: #fafafa;
}

#rh-li-tool .rh-label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin: 10px 0 6px;
}

#rh-li-tool .rh-input {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
}

#rh-li-tool .rh-textarea {
  width: 100%;
  min-height: 170px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

#rh-li-tool .rh-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

#rh-li-tool .rh-btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #cfcfcf;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

#rh-li-tool .rh-btn-primary {
  border-color: #111;
  background: #111;
  color: #fff;
}

#rh-li-tool .rh-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#rh-li-tool .rh-note {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px dashed #ddd;
  font-size: 13px;
  color: #333;
}

#rh-li-tool .rh-output {
  margin: 8px 0 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  overflow: auto;
  max-height: 520px;
  font-size: 12px;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
}

#rh-li-tool .rh-output-sm {
  max-height: 260px;
}

#rh-li-tool .rh-details summary {
  cursor: pointer;
  font-size: 13px;
  margin-top: 10px;
}

#rh-li-tool .rh-error {
  margin-top: 8px;
  color: #b00020;
  font-size: 13px;
  min-height: 18px;
}

#rh-li-tool .rh-status {
  margin-top: 8px;
  color: #333;
  font-size: 13px;
  min-height: 18px;
}

/* Simple, visible focus for accessibility */
#rh-li-tool .rh-btn:focus,
#rh-li-tool .rh-input:focus,
#rh-li-tool .rh-textarea:focus {
  outline: 2px solid #111;
  outline-offset: 2px;
}
/* v1.2.3 UX: clearer disabled state */
#rh-li-tool .rh-btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

/* v1.2.3 UX: better error readability */
#rh-li-tool .rh-error {
  font-weight: 600;
}

