.ltba { max-width: 760px; }
.ltba-panel { display: flex; flex-direction: column; gap: 12px; }
.ltba-panel label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: #27331f; }
.ltba-panel input, .ltba-panel select, .ltba-panel textarea {
  padding: 9px 11px; font-size: 14.5px; border: 1px solid #d9e0d4; border-radius: 6px; font-family: inherit;
}
.ltba-panel textarea { font-family: ui-monospace, monospace; font-size: 13px; resize: vertical; min-height: 56px; }
.ltba-panel input:focus, .ltba-panel select:focus, .ltba-panel textarea:focus { outline: 2px solid #19616a; outline-offset: 1px; }

.ltba-row2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ltba-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ltba-check-row { display: flex; flex-wrap: wrap; gap: 14px; }
.ltba-check { flex-direction: row !important; align-items: center; gap: 6px !important; font-weight: 700; }
.ltba-check input[type="checkbox"] { width: auto; padding: 0; }

/* Top-level list of pools */
.ltba-list { display: flex; flex-direction: column; gap: 14px; }

/* Nested visual "cards" — one level of indent + accent border per depth */
.ltba-card {
  border: 1px solid #d9e0d4; border-radius: 8px; background: #fff; padding: 14px; display: flex;
  flex-direction: column; gap: 10px;
}
.ltba-card-pool { border-left: 4px solid #19616a; }
.ltba-card-entry { border-left: 4px solid #5b6b56; background: #f3f4f8; margin-left: 4px; }
.ltba-card-sub { border-left: 3px solid #d9e0d4; background: #fff; margin-left: 4px; padding: 10px 12px; }

.ltba-card-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
}
.ltba-card-title { font-size: 13.5px; font-weight: 700; color: #27331f; }
.ltba-card-title .ltba-card-sub-title { color: #5b6b56; font-weight: 600; }

.ltba-sub-heading {
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: #5b6b56;
  margin-top: 4px;
}

.ltba-sub-list { display: flex; flex-direction: column; gap: 8px; }

.ltba-btn-add {
  align-self: flex-start; padding: 7px 12px; font-size: 12.5px; font-weight: 700; border: 1px solid #19616a;
  border-radius: 6px; background: #fff; color: #19616a; cursor: pointer;
}
.ltba-btn-add:hover { background: #19616a; color: #fff; }
.ltba-btn-add-pool { padding: 8px 14px; font-size: 13px; }

.ltba-btn-remove {
  flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid #d9e0d4; border-radius: 6px; background: #fff;
  color: #27331f; cursor: pointer; font-size: 15px; line-height: 1; font-weight: 700;
}
.ltba-btn-remove:hover { border-color: #b23b3b; color: #b23b3b; }

.ltba-inline { display: flex; align-items: center; gap: 8px; }
.ltba-inline label { flex: 1; }

/* JSON output block, matching the reference tools' command/JSON blocks */
.ltba-out { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ltba-json {
  margin: 0; padding: 12px 14px; background: #f3f4f8; border: 1px solid #d9e0d4; border-radius: 6px;
  font-family: ui-monospace, monospace; font-size: 13px; color: #19616a; font-weight: 600;
  white-space: pre-wrap; word-break: break-word; overflow-x: auto;
}
.ltba-hint { font-size: 12.5px; color: #5b6b56; margin: 2px 0 0; }
.ltba-note { margin-top: 16px; font-size: 13px; color: #5b6b56; }

@media (max-width: 480px) {
  .ltba-row3 { grid-template-columns: 1fr; }
  .ltba-row2 { grid-template-columns: 1fr; }
}
