/* Long-Lead Item Hunter (tool 49) */
.lli-board { display: flex; flex-direction: column; gap: 1rem; }
.lli-section-title { margin: 0.25rem 0 0; font-size: 0.95rem; color: var(--text, #1b2a33); }
.lli-timeline { background: var(--surface-2, #f4f7f9); border: 1px solid var(--line, #d5dee5); border-radius: 10px; padding: 0.85rem 1rem 1.15rem; }
.lli-timeline-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.lli-timeline-range { font-size: 0.8rem; color: var(--text-2, #4a5d68); }
.lli-fallback-note { margin: 0.45rem 0 0; font-size: 0.8rem; color: #8a4b00; background: #fff4e0; border-radius: 6px; padding: 0.4rem 0.6rem; }
.lli-timeline-hint { margin: 0.7rem 0 0; font-size: 0.75rem; }
.lli-timeline-track { position: relative; height: 118px; margin: 1.1rem 8px 0.4rem; }
.lli-timeline-bar { position: absolute; left: 0; right: 0; top: 28px; height: 6px; border-radius: 99px; background: linear-gradient(90deg, #1e4d6b, #3d7ea6); }
.lli-tick { position: absolute; top: 0; width: 0; z-index: 1; }
.lli-tick-line { position: absolute; left: 0; width: 1px; background: #7e93a0; }
.lli-tick-today .lli-tick-line, .lli-tick-end .lli-tick-line, .lli-tick-close .lli-tick-line { background: #1e4d6b; width: 2px; }
.lli-tick-label {
  position: absolute; left: 0; box-sizing: border-box;
  font-size: 0.68rem; line-height: 1.2; color: var(--text-2, #4a5d68);
  text-align: center; white-space: normal; overflow: visible;
  overflow-wrap: break-word; word-break: break-word;
}
.lli-label-left { text-align: left; }
.lli-label-right { text-align: right; }
.lli-label-center { text-align: center; }
.lli-marker { position: absolute; top: 10px; transform: translateX(-50%); border: 0; background: none; padding: 0; cursor: default; z-index: 2; }
.lli-marker-glyph {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.55rem; height: 1.55rem; padding: 0 0.28rem;
  border-radius: 99px; font-weight: 700; font-size: 0.78rem; color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.lli-marker-green .lli-marker-glyph, .lli-letter-green { background: #1f7a46; }
.lli-marker-red .lli-marker-glyph, .lli-letter-red { background: #c0342b; }
.lli-marker.is-clamped-before, .lli-marker.is-clamped-after { z-index: 3; }
.lli-letter { display: inline-flex; align-items: center; justify-content: center; min-width: 1.4rem; height: 1.4rem; border-radius: 99px; font-weight: 700; font-size: 0.75rem; color: #fff; }
.lli-letter-empty { background: transparent; min-width: 0; }
.lli-letter-cell { width: 36px; text-align: center; vertical-align: middle; }
.lli-table { width: 100%; table-layout: fixed; }
.lli-table th, .lli-table td { vertical-align: top; min-width: 0; }
.lli-table td.lli-wrap-cell {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.lli-table textarea {
  display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 36px;
  resize: none; overflow: hidden;
  white-space: pre-wrap; overflow-wrap: break-word; word-break: break-word;
  line-height: 1.35;
  box-sizing: border-box; padding: 0.35rem 0.45rem;
}
.lli-table input[type="date"], .lli-table select {
  width: 100%; box-sizing: border-box; min-height: 36px;
}
.lli-empty { margin: 0.35rem 0 0; font-size: 0.8rem; }
.tool-form .form-group[data-field="long_lead_items"] { grid-column: 1 / -1; }
