/* AA Spacetree Drag & Drop (Summary only) */
.aa-dd-bank{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:10px 12px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
  margin:10px 0 16px 0;
}
.aa-dd-item{
  min-width:36px;
  min-height:36px;
  padding:6px 12px;
  border-radius:10px;
  border:1px solid #d1d5db;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  cursor:grab;
  user-select:none;
  touch-action:manipulation;
  background:#f9fafb;
  text-align:center;
  line-height:1.15;
  white-space:normal;
}
.aa-dd-item[aria-disabled="true"]{
  opacity:.45;
  cursor:not-allowed;
}
.aa-dd-item.aa-dd-selected{
  outline:2px solid #16a34a;
  outline-offset:2px;
}
.aa-dd-blank{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:180px;
  height:34px;
  padding:0 10px;
  border:2px dashed #cbd5e1;
  border-radius:10px;
  /* Some themes place inline-flex a bit high relative to text; force it slightly down */
  vertical-align:middle !important;
  /*position:relative;*/
  top:0px !important;
  margin:0 4px;
  font-weight:700;
  background:#ffffff;
}
/* Only move EMPTY blank slightly down; keep filled aligned */
.aa-dd-blank:not(.aa-dd-filled){
  top:6px !important;
}

.aa-dd-blank.aa-dd-filled{
  border-style:solid;
  border-color:#16a34a;
  background:#f0fdf4;
}
.aa-dd-blank .aa-dd-x{
  margin-left:6px;
  font-weight:900;
  opacity:.65;
  cursor:pointer;
}
.aa-dd-hide{
  display:none !important;
}

/* Mobile spacing */
@media (max-width: 640px){
  .aa-dd-bank{ gap:8px; }
  .aa-dd-item{ min-width:34px;min-height:34px;border-radius:10px;padding:6px 10px; }
  .aa-dd-blank{ min-width:180px;height:34px; }
}


/* Bigger chips for phrase-style option banks (e.g., 'A. constant conflict') */
.aa-dd-item--phrase{
  min-width:160px;
  padding:8px 16px;
  min-height:40px;
  font-size:14px;
  line-height:1.2;
}

@media (max-width: 768px){
  .aa-dd-item--phrase{ min-width: 140px; }
}


/* Bank positioning under headings */
.aa-dd-bank{margin: 10px 0 14px 0 !important;}
